mirror of
https://github.com/lowobservable/coax.git
synced 2026-02-27 09:28:56 +00:00
21 lines
339 B
Makefile
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
|