settting pushed_to_decode true
authorShriya Sharma <shriya@redsemiconductor.com>
Wed, 18 Oct 2023 14:47:51 +0000 (15:47 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 22 Dec 2023 19:26:21 +0000 (19:26 +0000)
src/openpower/cyclemodel/inorder.py

index 2da84bcdc0d751b71c30049e2e7543e02344bbe6..485b488ed74669f9429a850f199a9b453cd0c501 100644 (file)
@@ -192,6 +192,7 @@ class Fetch:
             return stall
         insn = self.stages[0] # get current instruction
         if insn is not None:
+            self.pushed_to_decode = True
             self.cpu.decode.add_instruction(insn) # pass on instruction
         # read from log file, write into self.stages[0]
         self.stages[0] = insn_trace