1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-01-25 19:57:13 +00:00

ice40: Debugging the packer

Signed-off-by: David Shah <davey1576@gmail.com>
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

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()