From: Luke Kenneth Casson Leighton Date: Wed, 3 Feb 2021 21:26:15 +0000 (+0000) Subject: nope - need it to be zero if not identified as svp64 X-Git-Tag: convert-csv-opcode-to-binary~263 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a4d804e3b9eef99d0fd3eff54ee0cdfcff1eb806;p=soc.git nope - need it to be zero if not identified as svp64 --- diff --git a/src/soc/decoder/power_decoder2.py b/src/soc/decoder/power_decoder2.py index a5fab3da..2f6c0bde 100644 --- a/src/soc/decoder/power_decoder2.py +++ b/src/soc/decoder/power_decoder2.py @@ -1307,7 +1307,8 @@ class SVP64PowerDecoder(Elaboratable): l = [] for idx in rmfields: l.append(self.opcode_in[32-idx]) - comb += self.svp64_rm.eq(Cat(*l)) + with m.If(self.is_svp64_mode): + comb += self.svp64_rm.eq(Cat(*l)) return m