Skip to content

Commit 390dec8

Browse files
committed
fix: make file
1 parent 1e4f84b commit 390dec8

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Makefile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
VHDLEX = .vhd
2-
31
# using gtkwave to show simulations
42
WAVEFORM_VIEWER = gtkwave
53

64
# ghdl
75
GHDL_CMD = ghdl
8-
GHDL_FLAGS = --ieee=synopsys --warn-no-vital-generic
6+
GHDL_FLAGS = -fsynopsys --std=08
97

10-
I = "inputFile"
11-
T = "inputTestFile"
12-
O = "outputFile"
8+
I = "put file path here"
9+
T = "put test file path here"
10+
E = "put entity name here"
1311

1412
compile:
15-
$(GHDL_CMD) $(GHDL_FLAGS) -a $(I)
16-
$(GHDL_CMD) $(GHDL_FLAGS) -a $(T)
17-
$(GHDL_CMD) -r $(basename $(T)) — vcd=$(O)
13+
$(GHDL_CMD) -a $(GHDL_FLAGS) $(I) $(T)
14+
$(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+

0 commit comments

Comments
 (0)