rocket-chip verilator@ubuntu20.04验证环境操作指南

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


相关推荐
思尔芯S2C1 天前
FPGA原型验证实战:如何应对外设连接问题
fpga开发·risc-v·soc设计·prototyping·原型验证
加强洁西卡1 天前
【RISC-V】从C到可执行文件分析链接重定位的过程
c语言·开发语言·risc-v
硬汉嵌入式1 天前
基于Rust构建的单片机Ariel RTOS,支持Cortex-M、RISC-V 和 Xtensa
单片机·rust·risc-v
MounRiver_Studio1 天前
RISC-V IDE MRS2进阶分享(三):MRS语言服务器
ide·mcu·risc-v·嵌入式开发
加强洁西卡1 天前
【RISC-V】解决链接器加入全局变量优化后操作系统无法启动的问题
risc-v
MounRiver_Studio1 天前
RISC-V IDE MRS2进阶分享(四):CH32H417双核芯片项目开发
ide·mcu·risc-v·嵌入式开发
加强洁西卡2 天前
【RISC-V】区分加载地址、链接地址、运行地址
risc-v
飞凌嵌入式3 天前
1块集成了4核Cortex-A7高性能CPU、1颗RISC-V MCU、多种高速总线、还兼容树莓派的T153低成本开发板
linux·arm开发·嵌入式硬件·risc-v
加强洁西卡3 天前
【RISC-V】riscv64-linux-gnu工具链都有哪些工具
linux·gnu·risc-v
jerwey3 天前
RISC-V VP 中 TLM 精度
risc-v