Skip to content

Commit 524dfb6

Browse files
authored
Merge pull request #348 from antmicro/pcza/eos-s3-use-f4pga-build
eos-s3: btn_counter: use F4PGA build flow by default
2 parents 17ccd04 + 4001679 commit 524dfb6

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

eos-s3/btn_counter/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,10 @@ DEVICE := ql-eos-s3
66
PARTNAME := PD64
77
PCF:=chandalar.pcf
88

9+
ifdef F4PGA_USE_DEPRECATED
910
all:
1011
ql_symbiflow -compile -d ${DEVICE} -P ${PARTNAME} -v ${VERILOG} -t ${TOP} -p ${PCF}
12+
else
13+
all:
14+
f4pga -vvv build --flow ./flow.json
15+
endif

eos-s3/btn_counter/flow.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"default_part": "EOS3FF512-PDN64",
3+
"values": {
4+
"top": "top"
5+
},
6+
"dependencies": {
7+
"sources": [
8+
"./btn_counter.v"
9+
],
10+
"synth_log": "synth.log",
11+
"pack_log": "pack.log",
12+
"analysis_log": "analysis.log"
13+
},
14+
"EOS3FF512-PDN64": {
15+
"default_target": "bitstream",
16+
"dependencies": {
17+
"build_dir": "build",
18+
"pcf": "./chandalar.pcf",
19+
"sdc-in": "./dummy.sdc"
20+
},
21+
"values": {
22+
"part": "ql-eos-s3",
23+
"package": "PD64"
24+
}
25+
}
26+
}

0 commit comments

Comments
 (0)