Merge pull request #318 from antmicro/umarcor/json-counter
xc7/counter_test: use 'f4pga build'
This commit is contained in:
commit
10a963b081
|
@ -2,9 +2,7 @@ current_dir := ${CURDIR}
|
||||||
TOP := top
|
TOP := top
|
||||||
SOURCES := ${current_dir}/counter.v
|
SOURCES := ${current_dir}/counter.v
|
||||||
|
|
||||||
ifeq ($(TARGET),arty_35)
|
ifeq ($(TARGET),arty_100)
|
||||||
XDC := ${current_dir}/arty.xdc
|
|
||||||
else ifeq ($(TARGET),arty_100)
|
|
||||||
XDC := ${current_dir}/arty.xdc
|
XDC := ${current_dir}/arty.xdc
|
||||||
else ifeq ($(TARGET),nexys4ddr)
|
else ifeq ($(TARGET),nexys4ddr)
|
||||||
XDC := ${current_dir}/nexys4ddr.xdc
|
XDC := ${current_dir}/nexys4ddr.xdc
|
||||||
|
@ -17,5 +15,9 @@ else
|
||||||
XDC := ${current_dir}/basys3.xdc
|
XDC := ${current_dir}/basys3.xdc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include ${current_dir}/../../common/common.mk
|
ifeq ($(TARGET),arty_35)
|
||||||
|
build:
|
||||||
|
f4pga build --flow ./flow.json
|
||||||
|
endif
|
||||||
|
|
||||||
|
include ${current_dir}/../../common/common.mk
|
||||||
|
|
|
@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue