From a4d804e3b9eef99d0fd3eff54ee0cdfcff1eb806 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 3 Feb 2021 21:26:15 +0000 Subject: [PATCH] nope - need it to be zero if not identified as svp64 --- src/soc/decoder/power_decoder2.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.30.2