build/microsemi/libero_soc: associate .pdc to place and route tool.

For constraint to be applied, we also to associate them with the tool that will use it.
This commit is contained in:
Florent Kermarrec 2018-11-19 08:06:29 +01:00
parent 5137c2bf88
commit 8e07e1a099
1 changed files with 6 additions and 0 deletions

View File

@ -104,6 +104,12 @@ def _build_tcl(platform, sources, build_dir, build_name):
# import constraints # import constraints
tcl.append("import_files -io_pdc {{{}}}".format(build_name + ".pdc")) tcl.append("import_files -io_pdc {{{}}}".format(build_name + ".pdc"))
tcl.append(" ".join(["organize_tool_files",
"-tool {PLACEROUTE}",
"-file impl/constraint/io/{}.pdc".format(build_name),
"-module {}".format(build_name),
"-input_type {constraint}"
]))
# build flow # build flow
tcl.append("run_tool -name {CONSTRAINT_MANAGEMENT}") tcl.append("run_tool -name {CONSTRAINT_MANAGEMENT}")