From: Cesar Strauss Date: Sat, 3 Apr 2021 18:48:50 +0000 (-0300) Subject: Disallow unknown encmodes in SVP64 Assembly X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd2929980140087668167abe252b5f5c0d8f706b;p=soc.git Disallow unknown encmodes in SVP64 Assembly --- diff --git a/src/soc/sv/trans/svp64.py b/src/soc/sv/trans/svp64.py index 6bdfb98a..5df66ce1 100644 --- a/src/soc/sv/trans/svp64.py +++ b/src/soc/sv/trans/svp64.py @@ -482,6 +482,8 @@ class SVP64Asm: mapreduce_crm = True elif encmode == 'svm': # sub-vector mode mapreduce_svm = True + else: + raise AssertionError("unknown encmode %s" % encmode) if ptype == '2P': # since m=xx takes precedence (overrides) sm=xx and dm=xx,