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: mergifybot <37929162+mergifybot@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


相关推荐
国科安芯13 小时前
星载通信载荷信号处理中抗辐射微控制器的选型与适应性分析
人工智能·嵌入式硬件·mcu·信号处理·risc-v·抗辐射·空间信息
RISCV_Explorer1 天前
RISC-V RVV向量编程模型机制解析——vsetvl配置、掩码与尾元素策略及长度无关编程
后端·risc-v
RISCV_Explorer1 天前
RISC-V电源管理与低功耗实战——WFI指令、电源域划分与唤醒路径设计
单片机·嵌入式硬件·risc-v
ChipCamp2 天前
Spike-pk在RISC-V RTL开发验证中的应用:黄金参考基准
risc-v·spike·difftest·co-simulation·spike-pk·riscv-pk
Hi202402172 天前
Vortex CUDA 生态适配:让 CUDA C、CUTLASS 与 Triton 在 RISC-V GPGPU 上运行
人工智能·risc-v·gpgpu
国科安芯2 天前
用 AS32X601 做一块关节电机驱动板:三相桥、电流采样、封波保护、FOC 代码一次讲透
risc-v·foc·bldc·关节电机·机器人关节·as32x601·三相逆变桥
硅基手札2 天前
【risc-v专栏 07】启动与 bare-metal 流程
risc-v
硅基手札3 天前
【risc-v专栏 08】扩展生态与 -march/-mabi 匹配
risc-v
硅基手札3 天前
【risc-v专栏 06b】内存架构深挖:PMA / ePMP / Cache / CMO / MMU 细节 / RVWMO 形式化
架构·risc-v
硅基手札4 天前
【risc-v专栏03】CSR 速查与特权架构 M/S/U
单片机·架构·risc-v