From: Florent Kermarrec Date: Mon, 19 Nov 2018 14:54:33 +0000 (+0100) Subject: build/microsemi/libero_soc: only associate timings constraint to timing check (otherw... X-Git-Tag: 24jan2021_ls180~1479 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5805d630137e6fa4ae39739f7524a6af6db82260;p=litex.git build/microsemi/libero_soc: only associate timings constraint to timing check (otherwise we loose io constraints...), use default settings for place & route --- diff --git a/litex/build/microsemi/libero_soc.py b/litex/build/microsemi/libero_soc.py index 779e6983..f1a5a1c5 100644 --- a/litex/build/microsemi/libero_soc.py +++ b/litex/build/microsemi/libero_soc.py @@ -113,24 +113,16 @@ def _build_tcl(platform, sources, build_dir, build_name): # import timing constraints tcl.append("import_files -convert_EDN_to_HDL 0 -sdc {{{}}}".format(build_name + ".sdc")) - for tool in ["{SYNTHESIZE}", "{PLACEROUTE}", "{VERIFYTIMING}"]: - tcl.append(" ".join(["organize_tool_files", - "-tool " + tool, - "-file impl/constraint/{}.sdc".format(build_name), - "-module {}".format(build_name), - "-input_type {constraint}" - ])) + tcl.append(" ".join(["organize_tool_files", + "-tool {VERIFYTIMING}", + "-file impl/constraint/{}.sdc".format(build_name), + "-module {}".format(build_name), + "-input_type {constraint}" + ])) # build flow tcl.append("run_tool -name {CONSTRAINT_MANAGEMENT}") tcl.append("run_tool -name {SYNTHESIZE}") - tcl.append(" ".join([ - "configure_tool", - "-name {PLACEROUTE}", - "-params {EFFORT_LEVEL:true}", - "-params {REPAIR_MIN_DELAY:true}", - "-params {TDPR:true}" - ])) tcl.append("run_tool -name {PLACEROUTE}") tcl.append("run_tool -name {GENERATEPROGRAMMINGDATA}") tcl.append("run_tool -name {GENERATEPROGRAMMINGFILE}")