From: Dmitry Selyutin Date: Mon, 15 May 2023 19:38:08 +0000 (+0000) Subject: cyclemodel/inorder.py: fix syntax error X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=78555dc0a97cfbd8c35531b7fbf64d147629a0ab;p=openpower-isa.git cyclemodel/inorder.py: fix syntax error --- diff --git a/src/openpower/cyclemodel/inorder.py b/src/openpower/cyclemodel/inorder.py index 99512458..8dad20b8 100644 --- a/src/openpower/cyclemodel/inorder.py +++ b/src/openpower/cyclemodel/inorder.py @@ -65,7 +65,7 @@ class Execute: for instruction in instructions: to_write.update(instruction['writes']) # see if all writes can be done, otherwise stall - writes_possible = self.cpu.writes_possible(to_write): + writes_possible = self.cpu.writes_possible(to_write) if writes_possible != to_write: stall = True # retire the writes that are possible in this cycle (regfile writes) @@ -122,7 +122,7 @@ class Decode: # get current instruction insn, writeregs, readregs = self.stages[0] # check that the readregs are all available - reads_possible = self.cpu.reads_possible(readregs): + reads_possible = self.cpu.reads_possible(readregs) stall = reads_possible != readregs # perform the "reads" that are possible in this cycle readregs.difference_update(reads_possible)