Skip to content

Commit 563f389

Browse files
authored
Update Makefile
1 parent 7b2b2ba commit 563f389

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ build:
3333
ifeq ($(SIM), verilator)
3434
$(SIM) --binary $(SRC_FILES) --trace -I$(SRC_DIR) -I$(TB_DIR) --top $(TOP)_tb
3535
else ifeq ($(SIM), iverilog)
36-
$(SIM) -o $(TOP_NAME) $(SRC_FILES)
36+
$(SIM) -o $(TOP) $(SRC_FILES)
3737
else ifeq ($(SIM), questa)
3838
vsim -do $(TB_DIR)$(MACRO_FILE)
3939
endif
@@ -42,7 +42,7 @@ run:
4242
ifeq ($(SIM), verilator)
4343
./obj_dir/V$(TOP)_tb
4444
else ifeq ($(SIM), iverilog)
45-
vvp $(TOP_NAME)
45+
vvp $(TOP)
4646
endif
4747

4848
wave:

0 commit comments

Comments
 (0)