Files
lowobservable.coax/interface2/tests/Makefile
Andrew Kay 293609fc6c wip
2020-06-23 20:27:12 -05:00

21 lines
339 B
Makefile

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