From 4b13e61dc87fb0865d8e9a4972de9d08bcf87e14 Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Fri, 26 May 2023 16:47:53 -0700 Subject: [PATCH] Remove recursively-expanded macros for module parameters in makefiles Signed-off-by: Alex Forencich --- tests/xgmii/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/xgmii/Makefile b/tests/xgmii/Makefile index 7ed82f6..e4dd131 100644 --- a/tests/xgmii/Makefile +++ b/tests/xgmii/Makefile @@ -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