Skip to content

Commit 91f3f17

Browse files
committed
Added passing NISP data to nextpnr
Signed-off-by: Maciej Kurc <[email protected]>
1 parent 591b915 commit 91f3f17

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

toolchains/nextpnr.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,14 @@ def __init__(self, rootdir):
699699

700700
def configure(self):
701701
super().configure()
702+
703+
nisp_data = os.path.join(
704+
self.rootdir, 'env', 'interchange', 'devices', self.chip,
705+
'{}_site_routability.json'.format(self.chip)
706+
)
707+
702708
self.tool_options['binary_path'] = self.toolchain_bin
709+
self.tool_options['site-routing-graph'] = nisp_data
703710

704711

705712
class NextpnrXilinx(NextpnrGeneric):

0 commit comments

Comments
 (0)