aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-06-12 12:46:30 +0200
committerDavid Shah <davey1576@gmail.com>2018-06-12 12:46:30 +0200
commitf72807f790e8d3f3f2a630f461bfe086e8d0e108 (patch)
tree35db29466053dc941abc5e74de72718be96339b4 /python
parent2f61a9b98a621a35aa4763abaaf27ca12bfbbefa (diff)
downloadnextpnr-f72807f790e8d3f3f2a630f461bfe086e8d0e108.tar.gz
nextpnr-f72807f790e8d3f3f2a630f461bfe086e8d0e108.tar.bz2
nextpnr-f72807f790e8d3f3f2a630f461bfe086e8d0e108.zip
ice40: Debugging the packer
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'python')
-rw-r--r--python/dump_design.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/dump_design.py b/python/dump_design.py
index 3972f4dc..3408ef9d 100644
--- a/python/dump_design.py
+++ b/python/dump_design.py
@@ -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()