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

Adding basic placement constraints

Specify the attribute (* LOC="bel_name" *) on any cell to constrain its
placement to that bel.

Signed-off-by: David Shah <davey1576@gmail.com>
This commit is contained in:
David Shah
2018-06-09 19:38:37 +02:00
parent e15620ccd4
commit 72f5e640af
4 changed files with 119 additions and 7 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 not cinfo.bel.nil():
if cinfo.bel != -1:
print("\tBel: {}".format(chip.getBelName(cinfo.bel)))
print()