Skip to content

Commit f8cb831

Browse files
committed
makefile: Show verilator version
1 parent 88fa943 commit f8cb831

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ VERILATOR_FLAGS += -cc --exe
4242
# Generate makefile dependencies (not shown as complicates the Makefile)
4343
#VERILATOR_FLAGS += -MMD
4444
# Optimize
45-
VERILATOR_FLAGS += -x-assign 0
45+
VERILATOR_FLAGS += --x-assign 0
4646
# Warn abount lint issues; may not want this on less solid designs
4747
VERILATOR_FLAGS += -Wall
4848
# Make waveforms
@@ -81,6 +81,7 @@ run:
8181

8282
@echo
8383
@echo "-- VERILATE ----------------"
84+
$(VERILATOR) --version
8485
$(VERILATOR) $(VERILATOR_FLAGS) $(VERILATOR_INPUT)
8586

8687
@echo

0 commit comments

Comments
 (0)