From a6c2584250994e60d879dc1ef3a4e81298775af4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Czarnecki?= Date: Tue, 14 Jun 2022 17:16:07 +0200 Subject: [PATCH] platforms: eos-s3: add preapre_sdc target MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Paweł Czarnecki --- f4pga/platforms/ql-eos-s3.json | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/f4pga/platforms/ql-eos-s3.json b/f4pga/platforms/ql-eos-s3.json index 8c37d1c..fcd8d09 100644 --- a/f4pga/platforms/ql-eos-s3.json +++ b/f4pga/platforms/ql-eos-s3.json @@ -2,6 +2,7 @@ "stages": { "mk_build_dir": "common:mkdirs", "synth": "common:synth", + "prepare_sdc": "common:generic_script_wrapper", "pack": "common:pack", "ioplace": "common:generic_script_wrapper", "place": "common:place", @@ -52,7 +53,9 @@ "synth": { "params": { "takes": [ "pcf?" ], - "produces": [ "synth_v" ] + "produces": [ + "synth_v" + ] }, "values": { "tcl_scripts": "${shareDir}/scripts/pp3", @@ -72,6 +75,28 @@ } } }, + "prepare_sdc": { + "params": { + "stage_name": "prepare_sdc", + "interpreter": "${python3}", + "script": "${binDir}/python/process_sdc_constraints.py", + "outputs": { + "sdc": { + "mode": "file", + "file": "${:eblif[noext]}.sdc", + "target": "${:eblif[noext]}.sdc" + } + }, + "inputs": { + "eblif": "${:eblif}", + "sdc-in": "${:sdc-in}", + "sdc-out": "${:eblif[noext]}.sdc", + "pcf": "${:pcf}", + "pin-map": "", + "$PYTHONPATH": "${binDir}/python/" + } + } + }, "ioplace": { "params": { "stage_name": "ioplace",