ice40: Debugging the packer

Signed-off-by: David Shah <[email protected]>
This commit is contained in:
David Shah
2018-06-12 12:46:30 +02:00
parent 2f61a9b98a
commit f72807f790
5 changed files with 37 additions and 4 deletions
+1 -1
View File
@@ -20,6 +20,6 @@ for cell, cinfo in sorted(design.cells, key=lambda x: x.first):
val = "{}'b{}".format(len(val), val)
print("\t\t{}: {}".format(param, val))
if cinfo.bel != -1:
if cinfo.bel.index != -1:
print("\tBel: {}".format(chip.getBelName(cinfo.bel)))
print()