From: Florent Kermarrec Date: Mon, 19 Nov 2018 07:06:29 +0000 (+0100) Subject: build/microsemi/libero_soc: associate .pdc to place and route tool. X-Git-Tag: 24jan2021_ls180~1485 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8e07e1a099e086acfeadfbabbd6ccfdbcb4aee3d;p=litex.git 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. --- diff --git a/litex/build/microsemi/libero_soc.py b/litex/build/microsemi/libero_soc.py index acef2c4d..32fa4093 100644 --- a/litex/build/microsemi/libero_soc.py +++ b/litex/build/microsemi/libero_soc.py @@ -104,6 +104,12 @@ def _build_tcl(platform, sources, build_dir, build_name): # import constraints 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 tcl.append("run_tool -name {CONSTRAINT_MANAGEMENT}")