From 422f54f6d99f1831b6fe8fe49018941f30852b02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Czarnecki?= Date: Wed, 15 Jun 2022 16:07:02 +0200 Subject: [PATCH] platforms: eos-s3: add place constraints generation 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 | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/f4pga/platforms/ql-eos-s3.json b/f4pga/platforms/ql-eos-s3.json index fcd8d09..7f9899a 100644 --- a/f4pga/platforms/ql-eos-s3.json +++ b/f4pga/platforms/ql-eos-s3.json @@ -5,6 +5,7 @@ "prepare_sdc": "common:generic_script_wrapper", "pack": "common:pack", "ioplace": "common:generic_script_wrapper", + "place_constraints": "common:generic_script_wrapper", "place": "common:place", "route": "common:route", "fasm": "common:fasm", @@ -101,7 +102,7 @@ "params": { "stage_name": "ioplace", "interpreter": "${python3}", - "script": "${binDir}/python/ql_pp3_create_ioplace.py", + "script": "${binDir}/python/pp3_create_ioplace.py", "outputs": { "io_place": { "mode": "stdout", @@ -117,6 +118,25 @@ } } }, + "place_constraints": { + "params": { + "stage_name": "place_constraints", + "interpreter": "${python3}", + "script": "${binDir}/python/pp3_create_place_constraints.py", + "outputs": { + "place_constraints": { + "mode": "stdout", + "target": "${:eblif[noext]}_constraints.place" + } + }, + "inputs": { + "blif": "${:eblif}", + "map": "${shareDir}/arch/ql-eos-s3_wlcsp/clkmap_PD64.csv", + "i": "${:io_place}", + "$PYTHONPATH": "${binDir}/python/" + } + } + }, "bitstream": { "params": { "stage_name": "bitstream",