File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change 1
- TOP_NAME := transceiver
2
- IVERILOG := iverilog
3
- GTKWAVE := gtkwave
1
+ TOP_NAME := transceiver
4
2
5
3
SRC_FILES += top/transceiver_top.v
6
4
SRC_FILES += top/tb/transceiver_tb.v
@@ -12,19 +10,19 @@ SRC_FILES += modules/bpsk/sin_generator.v
12
10
SRC_FILES += modules/uart/UART/Verilog/source/UART_RX.v
13
11
SRC_FILES += modules/uart/UART/Verilog/source/UART_TX.v
14
12
15
- .PHONY : all clean
13
+ .PHONY : all wave clean
16
14
17
- all : build execute simulate
15
+ all : build run
18
16
19
17
build :
20
- $( IVERILOG ) -o $(TOP_NAME ) $(SRC_FILES )
18
+ iverilog -o $(TOP_NAME ) $(SRC_FILES )
21
19
22
- execute :
20
+ run :
23
21
vvp $(TOP_NAME )
24
22
25
- simulate :
26
- $( GTKWAVE ) $(TOP_NAME ) _tb.vcd
23
+ wave :
24
+ gtkwave $(TOP_NAME ) _tb.vcd
27
25
28
26
clean :
29
27
rm $(TOP_NAME )
30
- rm $(TOP_NAME ) _tb.vcd
28
+ rm $(TOP_NAME ) _tb.vcd
You can’t perform that action at this time.
0 commit comments