git clone --recursive -b super_scalar [email protected]:dzwduan/Trigger.git
If the submodule repository clone fails, you will try
git submodule update --init --recursive
cd libraries/NEMU
make menuconfig
make riscv64-xs-ref_defconfig
make -j
cd ../..
vim libraries/difftest/config/verilator.mk
-# WITH_DRAMSIM3 ?= 1
+WITH_DRAMSIM3 ?= 1
vim libraries/difftest/src/test/csrc/common/axi4.h
-memcpy(dest, src, sizeof(uint64_t)*AXI_DATA_WIDTH_64);
+memcpy(&dest, &src, sizeof(uint64_t)*AXI_DATA_WIDTH_64);
./build.sh -e chisel_cpu_diff -d -s -a "-i inst_diff.bin" -m "EMU_TRACE=1" -b