rocket-chip verilator@ubuntu20.04验证环境操作指南
========================================================
rocket-tools版本号
* (HEAD detached at 2022.12.26)
export RISCV=/home/cad/RISCV
./build.sh
./build-rv32ima.sh
========================================================
rocket-chip版本号:
commit 281e5c8f2e1cca68439fe04799d7be855db92517
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date: Tue Jul 25 16:55:52 2023 +0800
PTW: set ae_ptw for out-of-range non-leaf PTEs (#3407) (#3410)
For PTEs whose physical address is out-of-range, we need to set
`ae_ptw` instead of `ae_final` to raise access-fault.
Because non-leaf PTEs will not have R or X bits set, `ae_final`
will be overrided by page-fault exceptions.
(cherry picked from commit b8dad7f5a73396f95e68a4dd2b4bdab171ba28e5)
Co-authored-by: Yinan Xu <xuyinan@ict.ac.cn>
git checkout 281e5c8f -f
git submodule update
git show
cd rocket-chip
cd emulator
make
it will automatically donwload verilator-4.226.tar.gz and use it for compile tools
it will generate
emulator-freechips.rocketchip.system-freechips.rocketchip.system.DefaultConfig
then
make run-asm-tests
make run-bmark-tests