diff --git a/osaca/eu_sched.py b/osaca/eu_sched.py index 7e942d7..34710f3 100755 --- a/osaca/eu_sched.py +++ b/osaca/eu_sched.py @@ -58,8 +58,9 @@ class Scheduler(object): # Count the number of store instr if we schedule for an architecture with par ld/st if(self.en_par_ldst): for i, instrForm in enumerate(self.instrList): - if(isinstance(instrForm[1], MemAddr) and len(instrForm) > 3): - #print('({}) is st --> par_ldst = {}'.format(i, par_ldst + 1)) + if(isinstance(instrForm[1], MemAddr) and len(instrForm) > 3 + and not instrForm[0].startswith('cmp')): + #print('({}, {}) is st --> par_ldst = {}'.format(i, instrForm[0], par_ldst + 1)) par_ldst += 1 # Check if there's a port occupation stored in the CSV, otherwise leave the # occ_port list item empty