take XER out of decode, it is from the CR regfile
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 8 Mar 2020 18:27:15 +0000 (18:27 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 8 Mar 2020 18:27:15 +0000 (18:27 +0000)
src/decoder/power_decoder2.py

index 5d706d9386e2f65e666d4a06408d43c1547c3913..c7140a6e7dd90aab56f9a552e05765354f34ecba 100644 (file)
@@ -280,7 +280,7 @@ class Decode2ToExecute1Type:
         self.read_data2 = Signal(64, reset_less=True)
         self.read_data3 = Signal(64, reset_less=True)
         self.cr = Signal(32, reset_less=True)
-        self.xerc = XerBits()
+        #self.xerc = XerBits() # NO: this is from the XER SPR
         self.lk = Signal(reset_less=True)
         self.rc = Signal(reset_less=True)
         self.oe = Signal(reset_less=True)
@@ -309,7 +309,7 @@ class Decode2ToExecute1Type:
                 self.is_32bit, self.is_signed,
                 self.insn,
                 self.data_len, self.byte_reverse , self.sign_extend ,
-                self.update] + self.xerc.ports()
+                self.update] + self.xerc.ports()
 
 
 class PowerDecode2(Elaboratable):