Skip to content

Commit

Permalink
Remove recursively-expanded macros for module parameters in makefiles
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Forencich <[email protected]>
  • Loading branch information
alexforencich committed May 26, 2023
1 parent 72f7290 commit 4b13e61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/xgmii/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ MODULE = $(DUT)
VERILOG_SOURCES += $(DUT).v

# module parameters
export PARAM_DATA_WIDTH ?= 64
export PARAM_CTRL_WIDTH ?= $(shell expr $(PARAM_DATA_WIDTH) / 8 )
export PARAM_DATA_WIDTH := 64
export PARAM_CTRL_WIDTH := $(shell expr $(PARAM_DATA_WIDTH) / 8 )

ifeq ($(SIM), icarus)
PLUSARGS += -fst
Expand Down

0 comments on commit 4b13e61

Please sign in to comment.