use PowerOp copy of PowerDecodeSubset in get_op
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 24 Jun 2021 15:04:09 +0000 (16:04 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 24 Jun 2021 15:04:09 +0000 (16:04 +0100)
not the one in the "main" decoder.
in preparation for MUXing onto self.op

src/openpower/decoder/power_decoder2.py

index 5deb43162df1e5294323f3ad2e98a24fc191f229..1bc711ce3bc15e54b4ac1f74700e79623fd4c4d5 100644 (file)
@@ -853,7 +853,7 @@ class PowerDecodeSubset(Elaboratable):
         return []
 
     def op_get(self, op_field):
-        return getattr(self.dec.op, op_field, None)
+        return getattr(self.op, op_field, None)
 
     def elaborate(self, platform):
         if self.regreduce_en: