inorder.py: Typo fixes.
authorAndrey Miroshnikov <andrey@technepisteme.xyz>
Mon, 29 May 2023 09:51:14 +0000 (09:51 +0000)
committerAndrey Miroshnikov <andrey@technepisteme.xyz>
Mon, 29 May 2023 09:51:14 +0000 (09:51 +0000)
src/openpower/cyclemodel/inorder.py

index 9bf6f88b3f88cfd23400b81aa98c1d3efa62b75c..bb49d8d18bfeb20fbaa8538cf58a933d5b83745b 100644 (file)
@@ -181,7 +181,7 @@ class Fetch:
         if insn is not None:
             self.cpu.decode.add_instruction(insn) # pass on instruction
         # read from log file, write into self.stages[0]
-        self.stages = trace
+        self.stages[0] = trace
         return stall
 
 
@@ -266,7 +266,7 @@ class CPU:
             possible.add(r.pop())
         return possible
 
-    def writess_possible(self, regs):
+    def writes_possible(self, regs):
         # TODO: subdivide this down by GPR FPR CR-field.
         # currently assumes total of 1 reg is possible regardless of what it is
         possible = set()