Merge pull request #318 from antmicro/umarcor/json-counter

xc7/counter_test: use 'f4pga build'
This commit is contained in:
Tomasz Michalak 2022-06-09 10:51:32 +02:00 committed by GitHub
commit 10a963b081
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"
}
}
}