Fix the testbench

This commit is contained in:
2024-03-04 07:58:08 +01:00
parent 275853931b
commit dd78c0e4e4
4 changed files with 217 additions and 89 deletions

View File

@@ -5,10 +5,10 @@ PARTS = alu
all: $(PARTS)
%: %.vhd tb_%.vhd
%: *.vhd tb_%.vhdl
$(CHDL) -a $(FLAGS) $^
$(CHDL) -e $(FLAGS) $@
$(CHDL) -r $(FLAGS) $@ --wave=$@.ghw --stop-time=$(STOP)
$(CHDL) -e $(FLAGS) $@_tb
$(CHDL) -r $(FLAGS) $@_tb --wave=$@.ghw --stop-time=$(STOP)
clean:
find . -name '*.o' -exec rm -r {} \;