mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-01-26 04:02:25 +00:00
ice40: Don't deduplicate local tracks when counting
Signed-off-by: David Shah <davey1576@gmail.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Run ./nextpnr-ice40 --json ice40/blinky.json --run python/dump_design.py
|
||||
for cell, cinfo in sorted(design.cells, key=lambda x: x.first):
|
||||
for cell, cinfo in sorted(ctx.cells, key=lambda x: x.first):
|
||||
print("Cell {} : {}".format(cell, cinfo.type))
|
||||
print("\tPorts:")
|
||||
for port, pinfo in sorted(cinfo.ports, key=lambda x: x.first):
|
||||
@@ -21,5 +21,5 @@ for cell, cinfo in sorted(design.cells, key=lambda x: x.first):
|
||||
print("\t\t{}: {}".format(param, val))
|
||||
|
||||
if cinfo.bel.index != -1:
|
||||
print("\tBel: {}".format(chip.getBelName(cinfo.bel)))
|
||||
print("\tBel: {}".format(ctx.getBelName(cinfo.bel)))
|
||||
print()
|
||||
|
||||
Reference in New Issue
Block a user