From 46ace521c63bacdd1d9b405f8d5ac802b541b38c Mon Sep 17 00:00:00 2001 From: Rose Thompson Date: Wed, 19 Jun 2024 16:25:31 -0500 Subject: [PATCH] Updated verilator makefile. --- sim/verilator/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/sim/verilator/Makefile b/sim/verilator/Makefile index ba8470548..576ecf2b7 100644 --- a/sim/verilator/Makefile +++ b/sim/verilator/Makefile @@ -44,8 +44,8 @@ default: run run: wkdir/$(WALLYCONF)_$(TEST)/V${TESTBENCH} mkdir -p $(VERILATOR_DIR)/logs - wkdir/$(WALLYCONF)_$(TEST)/V${TESTBENCH} ${ARGTEST} - + wkdir/$(WALLYCONF)_$(TEST)/V${TESTBENCH} ${ARGTEST} $(EXTRA_ARGS) + profile: obj_dir_profiling/V${TESTBENCH}_$(WALLYCONF) $(VERILATOR_DIR)/obj_dir_profiling/V${TESTBENCH}_$(WALLYCONF) ${ARGTEST} mv gmon.out gmon_$(WALLYCONF).out @@ -61,7 +61,6 @@ wkdir/$(WALLYCONF)_$(TEST)/V${TESTBENCH}: $(DEPENDENCIES) --Mdir wkdir/$(WALLYCONF)_$(TEST) -o V${TESTBENCH} \ --binary --trace \ $(OPT) $(PARAMS) $(NONPROF) \ - $(EXTRA_ARGS) \ --top-module ${TESTBENCH} --relative-includes \ $(INCLUDE_PATH) \ ${WRAPPER} \ @@ -74,7 +73,6 @@ obj_dir_profiling/V${TESTBENCH}_$(WALLYCONF): $(DEPENDENCIES) --Mdir obj_dir_profiling -o V${TESTBENCH}_$(WALLYCONF) \ --binary \ --prof-cfuncs $(OPT) $(PARAMS) \ - $(EXTRA_ARGS) \ --top-module ${TESTBENCH} --relative-includes \ $(INCLUDE_PATH) \ ${WRAPPER} \ @@ -82,4 +80,4 @@ obj_dir_profiling/V${TESTBENCH}_$(WALLYCONF): $(DEPENDENCIES) $(SOURCES) clean: - rm -rf $(VERILATOR_DIR)/wkdir $(VERILATOR_DIR)/obj_dir_profiling $(VERILATOR_DIR)/logs $(VERILATOR_DIR)/logs_profiling \ No newline at end of file + rm -rf $(VERILATOR_DIR)/wkdir $(VERILATOR_DIR)/obj_dir_profiling $(VERILATOR_DIR)/logs $(VERILATOR_DIR)/logs_profiling