Skip to content

Commit f33cf85

Browse files
committed
Fix make sim
1 parent 2aee781 commit f33cf85

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

common/Makefile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,6 @@ build/%.bin: build/%.asc
7575

7676
# Simulation
7777

78-
build/%.vcd: build/%.out
79-
cd build && ./$<
80-
8178
build/%.out: %.v build/%.d
8279
$(IVERILOG) -o $@ $<
8380

@@ -93,8 +90,8 @@ flash:: build/$(V:.v=.$(BOARD).bin)
9390
$(PROG) $<
9491

9592
.PHONY: sim
96-
sim:: build/$(V:.v=.vcd)
97-
$(GTKWAVE) $<
93+
sim:: run
94+
$(GTKWAVE) $(V:.v=.vcd)
9895

9996
.PHONY: run
10097
run:: build/$(V:.v=.out)

0 commit comments

Comments
 (0)