From 40016790ef59bf4aee424cdc91d99d5f9104176a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Czarnecki?= Date: Mon, 1 Aug 2022 15:06:07 +0200 Subject: [PATCH] eos-s3: btn_counter: use F4PGA build flow by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Paweł Czarnecki --- eos-s3/btn_counter/Makefile | 5 +++++ eos-s3/btn_counter/flow.json | 26 ++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 eos-s3/btn_counter/flow.json diff --git a/eos-s3/btn_counter/Makefile b/eos-s3/btn_counter/Makefile index abdc9bd..a8c52b6 100644 --- a/eos-s3/btn_counter/Makefile +++ b/eos-s3/btn_counter/Makefile @@ -6,5 +6,10 @@ DEVICE := ql-eos-s3 PARTNAME := PD64 PCF:=chandalar.pcf +ifdef F4PGA_USE_DEPRECATED all: ql_symbiflow -compile -d ${DEVICE} -P ${PARTNAME} -v ${VERILOG} -t ${TOP} -p ${PCF} +else +all: + f4pga -vvv build --flow ./flow.json +endif diff --git a/eos-s3/btn_counter/flow.json b/eos-s3/btn_counter/flow.json new file mode 100644 index 0000000..8aef0c6 --- /dev/null +++ b/eos-s3/btn_counter/flow.json @@ -0,0 +1,26 @@ +{ + "default_part": "EOS3FF512-PDN64", + "values": { + "top": "top" + }, + "dependencies": { + "sources": [ + "./btn_counter.v" + ], + "synth_log": "synth.log", + "pack_log": "pack.log", + "analysis_log": "analysis.log" + }, + "EOS3FF512-PDN64": { + "default_target": "bitstream", + "dependencies": { + "build_dir": "build", + "pcf": "./chandalar.pcf", + "sdc-in": "./dummy.sdc" + }, + "values": { + "part": "ql-eos-s3", + "package": "PD64" + } + } +}