SOURCES=processor.v testbench.v memory.v registers.v alu.v INCLUDES=proc_state_def.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} ${INCLUDES} iverilog -g2012 ${SOURCES} -o $@ .PHONY: clean clean: rm -f ${VVP} test.lx2