ece5960-physical-design
ece5960-physical-design copied to clipboard
Assertion Error with checker.py
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.