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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user