IssuerDecode2ToOperand needs svstate (matching msr and cia)
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 4 May 2021 17:30:44 +0000 (18:30 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 4 May 2021 17:30:44 +0000 (18:30 +0100)
src/openpower/decoder/decode2execute1.py

index 12f584336c6db95af72b8696e17475855eab907f..3e264aabd52d0901d8b7b72544207a23e29258d9 100644 (file)
@@ -42,6 +42,7 @@ class IssuerDecode2ToOperand(RecordObject):
         # current "state" (TODO: this in its own Record)
         self.msr = Signal(64, reset_less=True)
         self.cia = Signal(64, reset_less=True)
+        self.svstate = Signal(32, reset_less=True)
 
         # instruction, type and decoded information
         self.insn = Signal(32, reset_less=True) # original instruction