Files
lowobservable.coax/interface2/tests/Makefile
2020-02-04 22:11:14 -06:00

20 lines
221 B
Makefile

IVERILOG ?= iverilog
VVP ?= vvp
RTL = ../rtl
all: coax_tx_tb.vcd
coax_tx_tb: coax_tx_tb.v $(RTL)/coax_tx.v
clean:
rm -f *_tb *.vcd
%_tb:
$(IVERILOG) -o $@ $^
%_tb.vcd: %_tb
$(VVP) -N $< -lxt2
.PHONY: all, clean