Skip to content

Commit 5614f5c

Browse files
committed
Correct iverilog arg ordering for max compatibilty
1 parent 09ee69b commit 5614f5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tb/tb_core_icarus/makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ $(BUILD_DIR)/tcm.bin: $(ELF_FILE) | $(BUILD_DIR)
4949

5050
$(BUILD_DIR)/$(EXE): $(SRC_V) | $(BUILD_DIR)
5151
@echo "# Compiling verilog"
52-
iverilog -o $@ $(SRC_V) $(VFLAGS)
52+
iverilog $(VFLAGS) -o $@ $(SRC_V)
5353

5454
run: $(BUILD_DIR)/$(EXE) $(BUILD_DIR)/tcm.bin
5555
vvp $(BUILD_DIR)/$(EXE) -vcd

0 commit comments

Comments
 (0)