Skip to content

Commit 2de684a

Browse files
committed
improve makefile
1 parent a915b2d commit 2de684a

File tree

4 files changed

+10
-920
lines changed

4 files changed

+10
-920
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ I = "put file path here"
99
T = "put test file path here"
1010
E = "put entity name here"
1111

12+
S_TIME = 1us
13+
1214
compile:
1315
$(GHDL_CMD) -a $(GHDL_FLAGS) $(I) $(T)
1416
$(GHDL_CMD) -e $(GHDL_FLAGS) $(E)
15-
$(GHDL_CMD) -r $(GHDL_FLAGS) $(E) --vcd=$(dir $(I))$(E).vcd --wave=$(dir $(I))$(E).ghw --stop-time=1us
16-
17+
$(GHDL_CMD) -r $(GHDL_FLAGS) $(E) --vcd=$(dir $(I))$(E).vcd --wave=$(dir $(I))$(E).ghw --stop-time=$(S_TIME)
1718

test/counter_tb.ghw

-2.12 KB
Binary file not shown.

0 commit comments

Comments
 (0)