9086/cpu/Makefile

22 lines
302 B
Makefile

SOURCES=processor.v testbench.v memory.v
VVP=processor.vvp
.PHONY: run
run: ${VVP}
vvp ${VVP}
.PHONY: build
build: ${VVP}
.PHONY: wave
wave: ${VVP}
vvp ${VVP} -lxt2
gtkwave test.lx2 gtkwave_savefile.gtkw
${VVP} : ${SOURCES}
iverilog -g2012 $^ -o $@
.PHONY: clean
clean:
rm -f ${VVP} test.lx2