xc7/counter_test: use 'f4pga build'

Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
This commit is contained in:
Unai Martinez-Corral 2022-06-07 12:54:07 +02:00
parent 69268da8ed
commit bb928af976
2 changed files with 31 additions and 4 deletions

View File

@ -2,9 +2,7 @@ current_dir := ${CURDIR}
TOP := top
SOURCES := ${current_dir}/counter.v
ifeq ($(TARGET),arty_35)
XDC := ${current_dir}/arty.xdc
else ifeq ($(TARGET),arty_100)
ifeq ($(TARGET),arty_100)
XDC := ${current_dir}/arty.xdc
else ifeq ($(TARGET),nexys4ddr)
XDC := ${current_dir}/nexys4ddr.xdc
@ -17,5 +15,9 @@ else
XDC := ${current_dir}/basys3.xdc
endif
include ${current_dir}/../../common/common.mk
ifeq ($(TARGET),arty_35)
build:
f4pga build --flow ./flow.json
endif
include ${current_dir}/../../common/common.mk

View File

@ -0,0 +1,25 @@
{
"default_part": "XC7A35TCSG324-1",
"values": {
"top": "top"
},
"dependencies": {
"sources": [
"counter.v"
],
"synth_log": "synth.log",
"pack_log": "pack.log"
},
"XC7A35TCSG324-1": {
"default_target": "bitstream",
"dependencies": {
"build_dir": "build/arty_35",
"xdc": [
"arty.xdc"
]
},
"values": {
"part": "xc7a35tcpg236-1"
}
}
}