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


相关推荐
国科安芯2 天前
商业卫星多轴步进驱动系统的抗辐照MCU集成方案
运维·网络·单片机·嵌入式硬件·安全·安全威胁分析·risc-v
农民真快落3 天前
【操作系统】手撸xv6操作系统——types.h/param.h/memlayout.h/riscv.h/defs.h头文件解析
操作系统·risc-v·嵌入式软件·xv6
国科安芯5 天前
低轨卫星姿态调整系统的抗辐照设计与工程实现
运维·网络·嵌入式硬件·安全·架构·安全威胁分析·risc-v
高新打工人10 天前
RISC-V(一):RV32I(RISC-V 32 位基础整数指令集)
risc-v·rv32i
高新打工人10 天前
RISC-V(二):RV32E(RISC-V 32 位嵌入式精简扩展)
risc-v·rv32e
^_scv_^11 天前
RISC-V 64架构专题四(xv6操作系统接口机制分析)
risc-v
yuezhilangniao11 天前
信创问题:从CPU到外设的统一- 拥抱 RISC-V
嵌入式硬件·risc-v
国科安芯12 天前
RISC-V 异常中断机制全解析
运维·单片机·嵌入式硬件·安全·risc-v·安全性测试
^_scv_^13 天前
RISC-V 64架构专题三(D1芯片xv6操作系统的移植)
risc-v
MounRiver_Studio14 天前
RISC-V IDE MRS2使用笔记(十三):添加自定义工程模板
ide·mcu·risc-v·嵌入式开发