Update paths | Allow sed overrides

This commit is contained in:
abejgonzalez
2022-10-14 10:58:03 -07:00
committed by joey0320
parent 821735af0d
commit bd0b3e8f1d
4 changed files with 10 additions and 12 deletions

View File

@@ -9,7 +9,7 @@ SIM_CXXFLAGS = \
-std=c++17 \
-I$(RISCV)/include \
-I$(dramsim_dir) \
-I$(build_dir) \
-I$(OUT_DIR) \
$(EXTRA_SIM_CXXFLAGS)
SIM_LDFLAGS = \

View File

@@ -143,7 +143,7 @@ CHIPYARD_VERILATOR_FLAGS := \
# options dependent on whether external IP (cva6/NVDLA) or just chipyard is used
# NOTE: defer the evaluation of this until it is used!
PLATFORM_OPTS = $(shell \
if grep -qiP "module\s+(CVA6|NVDLA)" $(build_dir)/*.*v; \
if grep -qiP "module\s+(CVA6|NVDLA)" $(OUT_DIR)/*.*v; \
then echo "$(VERILOG_IP_VERILATOR_FLAGS)"; \
else echo "$(CHIPYARD_VERILATOR_FLAGS)"; fi)