ece5960-physical-design icon indicating copy to clipboard operation
ece5960-physical-design copied to clipboard

Assertion Error with checker.py

Open McKayMower opened this issue 2 years ago • 0 comments

Hello all,

When running your output through the checker, you might get an assertion error. If you are not, you can skip reading this. If you do, it might be that line 31:

net.append(f.readline()[:-1]

is cutting off the last letter of the last block in *.nets. If you get an error, change line 31 to:

line = f.readline()
if(line[len(line)-1] is '\n'):
  net.append(line[:-1])
else:
  net.append(line)

If that does not fix it, do the same where the checker is reading terminals or blocks as well.

McKayMower avatar Nov 17 '22 01:11 McKayMower