From c13d6fc6ebf70dc6dbde69d3691fa0d10a7a7bc9 Mon Sep 17 00:00:00 2001 From: Unai Martinez-Corral Date: Tue, 1 Mar 2022 20:23:47 +0100 Subject: [PATCH] ci: add sftest.json Authored-By: Krzysztof Boronski Signed-off-by: Unai Martinez-Corral --- .github/sftest.json | 43 +++++++++++++++++++++++++++++++++++ .github/workflows/pyF4PGA.yml | 2 +- 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 .github/sftest.json diff --git a/.github/sftest.json b/.github/sftest.json new file mode 100644 index 0000000..3870ace --- /dev/null +++ b/.github/sftest.json @@ -0,0 +1,43 @@ +{ + "default_platform": "xc7a50t", + "values": { + "top": "top" + }, + "dependencies": { + "sources": [ + "counter.v" + ], + "synth_log": "synth.log", + "pack_log": "pack.log" + }, + "xc7a200t": { + "default_target": "bitstream", + "dependencies": { + "xdc": [ + "arty200.xdc" + ], + "build_dir": "build/arty_200" + } + }, + "xc7a100t": { + "default_target": "bitstream", + "dependencies": { + "xdc": [ + "arty.xdc" + ], + "build_dir": "build/arty100" + } + }, + "xc7a50t": { + "default_target": "bitstream", + "dependencies": { + "build_dir": "build/arty_35", + "xdc": [ + "arty.xdc" + ] + }, + "values": { + "part": "xc7a35tcpg236-1" + } + } +} diff --git a/.github/workflows/pyF4PGA.yml b/.github/workflows/pyF4PGA.yml index f2dc4f2..c3bccf1 100644 --- a/.github/workflows/pyF4PGA.yml +++ b/.github/workflows/pyF4PGA.yml @@ -28,4 +28,4 @@ jobs: - name: Test py4FPGA build run: | make env - PYTHONPATH=$(pwd)/f4pga python3 f4pga/sfbuild.py build --platform xc7a50t -t bitstream + PYTHONPATH=$(pwd)/f4pga python3 f4pga/sfbuild.py build --flow .github/sftest.json -t bitstream