drat, a test inverting the instruction made it into the git history
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 12 Dec 2021 19:10:36 +0000 (19:10 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 12 Dec 2021 19:10:36 +0000 (19:10 +0000)
src/soc/simple/issuer.py

index 48cc6b7e3bfa988717f20df230f3dbf5df0f2114..3d285baabcd17d51b5a89640c2e8a342888d09fa 100644 (file)
@@ -281,7 +281,7 @@ class FetchFSM(ControlBase):
                         # not busy (or fetch failed!): instruction fetched
                         # when fetch failed, the instruction gets ignored
                         # by the decoder
-                        insn = ~get_insn(self.imem.f_instr_o, cur_state.pc)
+                        insn = get_insn(self.imem.f_instr_o, cur_state.pc)
                         if self.svp64_en:
                             svp64 = self.svp64
                             # decode the SVP64 prefix, if any