rocket-chip [email protected]验证环境操作指南

rocket-chip [email protected]验证环境操作指南

========================================================

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 <[email protected]>


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


相关推荐
思尔芯S2C1 天前
思尔芯携手Andes晶心科技,加速先进RISC-V 芯片开发
人工智能·科技·fpga开发·risc-v·debugging·prototyping·soc validation
禾仔仔6 天前
RISC-V特权模式及切换
linux·risc-v
CCF ODC6 天前
【2025CCF中国开源大会】RISC-V 开源生态的挑战与机遇分论坛重磅来袭!共探开源芯片未来
开源·risc-v
禾仔仔6 天前
RISC-V PMA、PMP机制深入分析
risc-v·pmp·pma
LitchiCheng9 天前
RISC-V 开发板 MUSE Pi Pro 搭建 Spacengine AI模型部署环境
人工智能·risc-v
被制作时长两年半的个人练习生10 天前
qemu安装risc-V 64
risc-v
LitchiCheng12 天前
RISC-V 开发板 MUSE Pi Pro OpenCV结合Gstreamer实时显示CSI摄像头
人工智能·opencv·risc-v
LitchiCheng12 天前
RISC-V 开发板 MUSE Pi Pro cpufp测试算力
risc-v
LitchiCheng14 天前
RISC-V 开发板 MUSE Pi Pro USB 测试(3.0 U盘,2.0 UVC摄像头)
linux·运维·risc-v
MounRiver_Studio14 天前
RISC-V IDE MRS2 开发笔记一:volatile关键字的使用
ide·笔记·risc-v