Skip to content

Commit

Permalink
cpu: Open enable_difftest_inst_trace by default (#220)
Browse files Browse the repository at this point in the history
* cpu: Open enable_difftest_inst_trace by default

Change-Id: Id5e8e807017c5cde445d724577013f2f8bd6625d

* cpu: change memory check ref_so_path

Change-Id: Ic8b3733e37eae0635fa56b5b50916c58c2d8b291
  • Loading branch information
jueshiwenli authored Dec 4, 2024
1 parent 8afb8ea commit 92c006e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cpu/BaseCPU.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def takeOverFrom(self, old_cpu):
arch_db = Param.ArchDBer(Parent.any, "Arch DB")
enable_riscv_vector = Param.Bool(False, "Enable riscv vector extension")
enable_riscv_h = Param.Bool(True, "Enable riscv vector extension")
enable_difftest_inst_trace = Param.Bool(False, "Enable difftest inst trace")
enable_difftest_inst_trace = Param.Bool(True, "Enable difftest inst trace")
enable_mem_dedup = Param.Bool(False, "Enable memory deduplication for difftest and golden memory")

def createInterruptController(self):
Expand Down
2 changes: 1 addition & 1 deletion util/memory_check/run-xs-with-valgrind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ set -x

gem5_home=$(pwd)
gcpt_restore_path=/nfs/home/share/gem5_shared_tools/normal-gcb-restorer.bin
ref_so_path=/nfs/home/share/gem5_shared_tools/riscv64-nemu-4332a525-so
ref_so_path=/nfs-nvme/home/share/zhenhao/ref-h/build/riscv64-nemu-interpreter-so
test_cpt=/nfs/home/share/jiaxiaoyu/simpoint_checkpoint_archive/spec06_rv64gcb_O3_20m_gcc12.2.0-intFpcOff-jeMalloc/checkpoint-0-0-0/GemsFDTD/30385/_30385_0.268180_.gz

export NEMU_HOME=$ref_so_path # dummy
Expand Down

0 comments on commit 92c006e

Please sign in to comment.