From: Luke Kenneth Casson Leighton Date: Thu, 24 Jun 2021 15:04:09 +0000 (+0100) Subject: use PowerOp copy of PowerDecodeSubset in get_op X-Git-Tag: xlen-bcd~392 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=431196d5b500c962e2d7fae31aef8e88e0648909;p=openpower-isa.git use PowerOp copy of PowerDecodeSubset in get_op not the one in the "main" decoder. in preparation for MUXing onto self.op --- diff --git a/src/openpower/decoder/power_decoder2.py b/src/openpower/decoder/power_decoder2.py index 5deb4316..1bc711ce 100644 --- a/src/openpower/decoder/power_decoder2.py +++ b/src/openpower/decoder/power_decoder2.py @@ -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: