f4pga-examples/xc7/picosoc_demo/Makefile
Joshua Fife 4a818ebf9a fixed documentation and makefiles. Renamed common makefile.
Signed-off-by: Joshua Fife <jpfife17@gmail.com>
2021-11-11 13:47:47 -07:00

24 lines
No EOL
665 B
Makefile

current_dir := ${CURDIR}
TOP := top
SOURCES := ${current_dir}/picosoc_noflash.v \
${current_dir}/picorv32.v \
${current_dir}/simpleuart.v \
${current_dir}/progmem.v
SDC := ${current_dir}/picosoc.sdc
ifeq ($(TARGET),arty_35)
SOURCES += ${current_dir}/arty.v
PCF := ${current_dir}/arty.pcf
else ifeq ($(TARGET),arty_100)
SOURCES += ${current_dir}/arty.v
PCF := ${current_dir}/arty.pcf
else ifeq ($(TARGET),nexys4ddr)
SOURCES += ${current_dir}/nexys4ddr.v
PCF := ${current_dir}/nexys4ddr.pcf
else
SOURCES += ${current_dir}/basys3.v
PCF := ${current_dir}/basys3.pcf
endif
include ${current_dir}/../../common/common.mk