diff options
author | David Shah <davey1576@gmail.com> | 2018-06-12 12:46:30 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-06-12 12:46:30 +0200 |
commit | f72807f790e8d3f3f2a630f461bfe086e8d0e108 (patch) | |
tree | 35db29466053dc941abc5e74de72718be96339b4 /python/dump_design.py | |
parent | 2f61a9b98a621a35aa4763abaaf27ca12bfbbefa (diff) | |
download | nextpnr-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/dump_design.py')
-rw-r--r-- | python/dump_design.py | 2 |
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() |