Skip to content

Commit 453e4cc

Browse files
authored
Merge pull request #117 from efabless/fix-GL-simulation
Update sim.makefile
2 parents dc4c190 + ef6adb9 commit 453e4cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

verilog/dv/make/sim.makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ endif
7777
## GL
7878
ifeq ($(SIM),GL)
7979
ifeq ($(CONFIG),caravel_user_project)
80-
iverilog -Ttyp -DFUNCTIONAL -DGL -DUSE_POWER_PINS -DUNIT_DELAY=#1 \
80+
iverilog -Ttyp -DFUNCTIONAL -DGL -DSIM -DUSE_POWER_PINS -DUNIT_DELAY=#1 \
8181
-f$(VERILOG_PATH)/includes/includes.gl.caravel \
8282
-f$(USER_PROJECT_VERILOG)/includes/includes.gl.$(CONFIG) -o $@ $<
8383
else
84-
iverilog -Ttyp -DFUNCTIONAL -DGL -DUSE_POWER_PINS -DUNIT_DELAY=#1 \
84+
iverilog -Ttyp -DFUNCTIONAL -DGL -DSIM -DUSE_POWER_PINS -DUNIT_DELAY=#1 \
8585
-f$(VERILOG_PATH)/includes/includes.gl.$(CONFIG) \
8686
-o $@ $(CARAVEL_PATH)/gl/__user_project_wrapper.v $<
8787
endif

0 commit comments

Comments
 (0)