2021-08-10 19:00:16 -04:00
|
|
|
current_dir := ${CURDIR}
|
|
|
|
TOP := top
|
|
|
|
SOURCES := ${current_dir}/counter.v
|
2020-04-20 11:02:06 -04:00
|
|
|
|
2022-06-07 06:54:07 -04:00
|
|
|
ifeq ($(TARGET),arty_100)
|
2021-08-10 19:00:16 -04:00
|
|
|
XDC := ${current_dir}/arty.xdc
|
|
|
|
else ifeq ($(TARGET),nexys4ddr)
|
|
|
|
XDC := ${current_dir}/nexys4ddr.xdc
|
|
|
|
else ifeq ($(TARGET),zybo)
|
|
|
|
XDC := ${current_dir}/zybo.xdc
|
|
|
|
SOURCES:=${current_dir}/counter_zynq.v
|
|
|
|
else ifeq ($(TARGET),nexys_video)
|
|
|
|
XDC := ${current_dir}/nexys_video.xdc
|
|
|
|
else
|
|
|
|
XDC := ${current_dir}/basys3.xdc
|
|
|
|
endif
|
|
|
|
|
2022-06-07 06:54:07 -04:00
|
|
|
ifeq ($(TARGET),arty_35)
|
|
|
|
build:
|
|
|
|
f4pga build --flow ./flow.json
|
|
|
|
endif
|
2021-08-10 18:47:29 -04:00
|
|
|
|
2022-06-07 06:54:07 -04:00
|
|
|
include ${current_dir}/../../common/common.mk
|