Skip to content

Commit

Permalink
vcs: add dpic memory define
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaokamikami committed Feb 28, 2024
1 parent 62bc714 commit 93b627a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -344,5 +344,5 @@ jobs:
make clean
echo "./ready-to-run/microbench.bin 10000" > list.txt
echo "./ready-to-run/linux.bin 20000" >> list.txt
make simv VCS=verilator WORKLOAD_SWITCH=1 -j2
make simv VCS=verilator WORKLOAD_SWITCH=1 DIFFTEST_RAM_DPIC=1 -j2
./build/simv +e=0 +diff=./ready-to-run/riscv64-nemu-interpreter-so +workload-list=./list.txt
5 changes: 4 additions & 1 deletion palladium.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ PLDM_MACRO_FLAGS += +define+RANDOMIZE_DELAY=0
ifeq ($(SYNTHESIS), 1)
PLDM_MACRO_FLAGS += +define+SYNTHESIS +define+TB_NO_DPIC
else
PLDM_MACRO_FLAGS += +define+DIFFTEST +define+DISABLE_DIFFTEST_RAM_DPIC +define+DISABLE_SIMJTAG_DPIC
PLDM_MACRO_FLAGS += +define+DIFFTEST +define+DISABLE_SIMJTAG_DPIC
endif
ifneq ($(DIFFTEST_RAM_DPIC), 1)
PLDM_MACRO_FLAGS += +define+DISABLE_DIFFTEST_RAM_DPIC
endif
PLDM_MACRO_FLAGS += $(PLDM_EXTRA_MACRO)

Expand Down

0 comments on commit 93b627a

Please sign in to comment.