build/microsemi/libero_soc: pass timing constraints to synthesis, place & route and timing verification tools
This commit is contained in:
parent
4c966114f8
commit
e3c6bd5846
|
@ -113,12 +113,13 @@ def _build_tcl(platform, sources, build_dir, build_name):
|
||||||
|
|
||||||
# import timing constraints
|
# import timing constraints
|
||||||
tcl.append("import_files -convert_EDN_to_HDL 0 -sdc {{{}}}".format(build_name + ".sdc"))
|
tcl.append("import_files -convert_EDN_to_HDL 0 -sdc {{{}}}".format(build_name + ".sdc"))
|
||||||
tcl.append(" ".join(["organize_tool_files",
|
for tool in ["{SYNTHESIZE}", "{PLACEROUTE}", "{VERIFYTIMING}"]:
|
||||||
"-tool {VERIFYTIMING}",
|
tcl.append(" ".join(["organize_tool_files",
|
||||||
"-file impl/constraint/{}.sdc".format(build_name),
|
"-tool " + tool,
|
||||||
"-module {}".format(build_name),
|
"-file impl/constraint/{}.sdc".format(build_name),
|
||||||
"-input_type {constraint}"
|
"-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