diff --git a/osaca/eu_sched.py b/osaca/eu_sched.py index 0510752..980f7cd 100755 --- a/osaca/eu_sched.py +++ b/osaca/eu_sched.py @@ -267,10 +267,10 @@ class Scheduler(object): port_line += '\n' cyc_line = '| Cycles |' for i in range(len(port_bndg)): - space = ' ' + space = '' cyc = str(round(port_bndg[i], 2)) - if(len(cyc) == 4): - space = '' + if(len(cyc) < 4): + space = ' ' * (4 - len(cyc)) cyc_line += ' {}{}|'.format(cyc, space) cyc_line += '\n' binding = header + horiz_line + port_line + horiz_line + cyc_line + horiz_line diff --git a/osaca/osaca.py b/osaca/osaca.py index 031c3d9..9a13583 100755 --- a/osaca/osaca.py +++ b/osaca/osaca.py @@ -212,7 +212,6 @@ class Osaca(object): False if file does not exist or is not an elf64 file """ - print(self.filepath, os.path.isfile(self.filepath)) if(os.path.isfile(self.filepath)): self.store_src_code_elf() if('file format elf64' in self.srcCode[1].lower()):