From 78555dc0a97cfbd8c35531b7fbf64d147629a0ab Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Mon, 15 May 2023 19:38:08 +0000 Subject: [PATCH] cyclemodel/inorder.py: fix syntax error --- src/openpower/cyclemodel/inorder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.30.2