actually no need to mux in the svp64_rm, just the id "is this svp64" is enough
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 3 Feb 2021 21:24:05 +0000 (21:24 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 3 Feb 2021 21:24:05 +0000 (21:24 +0000)
src/soc/decoder/power_decoder2.py

index 2f6c0bdec572db0ab605e83087ec7b72758e704c..a5fab3da3e5b71d0f9e5df3a06d152fbb090a514 100644 (file)
@@ -1307,8 +1307,7 @@ class SVP64PowerDecoder(Elaboratable):
         l = []
         for idx in rmfields:
             l.append(self.opcode_in[32-idx])
         l = []
         for idx in rmfields:
             l.append(self.opcode_in[32-idx])
-        with m.If(self.is_svp64_mode):
-            comb += self.svp64_rm.eq(Cat(*l))
+        comb += self.svp64_rm.eq(Cat(*l))
 
         return m
 
 
         return m