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:
parent
5137c2bf88
commit
8e07e1a099
|
@ -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}")
|
||||||
|
|
Loading…
Reference in New Issue