COMS30046_2022_TB-2_playground/verilog_iverilog/clock/Makefile

19 lines
255 B
Makefile

SOURCES=clock.v clock-tb.v
VVP=clock.vvp
.PHONY: run
run: ${VVP}
vvp ${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