upsilon/firmware/rtl/raster/Makefile

14 lines
355 B
Makefile
Raw Normal View History

2022-12-16 19:46:04 -05:00
# Makefile for tests and hardware verification.
.PHONY: test clean
RAM_FIFO_SRC= ram_fifo.v ram_fifo_sim.cpp
2022-12-16 19:46:04 -05:00
test: obj_dir/Vram_fifo
@./obj_dir/Vram_fifo && echo 'Vram_fifo successful'
2022-12-16 19:46:04 -05:00
obj_dir/Vram_fifo.mk:
verilator --cc --exe -Wall --trace --trace-fst \
${RAM_FIFO_SRC}
obj_dir/Vram_fifo: obj_dir/Vram_fifo.mk
cd obj_dir && make -f Vram_fifo.mk