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


相关推荐
论迹复利4 小时前
设计 RISC-V PLIC 中断嵌套:threshold 一个寄存器当“优先级闸门“
risc-v·freertos 移植
右耳朵猫AI2 天前
Python周刊2026W36 | Python 3.15候选版、RISC-V获CPython支持、PEP 843、asyncio修复
python·sqlite·risc-v
hongmai6668886 天前
ESP32-WROVER-IE-N4R8:外接天线+8MB内存,专治信号焦虑
笔记·单片机·嵌入式硬件·microsoft·risc-v
花 满 楼7 天前
RISC-V APLIC 中断模块总结——第二篇
单片机·嵌入式硬件·mcu·risc-v
论迹复利8 天前
FreeRTOS 在 RISC-V 上是如何“点火“的 —— 从 main() 到第一个任务的完整链路
java·开发语言·risc-v
花 满 楼8 天前
RISC-V APLIC 中断模块总结——第一篇
mcu·risc-v·中断·aplic
国科安芯9 天前
小卫星综合电子系统中功能安全与抗辐射加固的协同设计研究
嵌入式硬件·安全·架构·risc-v·抗辐射·小卫星·综合电子系统
国科安芯14 天前
小卫星综合电子系统中RISC-V抗辐射MCU的功能安全与多接口集成架构分析
单片机·嵌入式硬件·安全·fpga开发·架构·risc-v
论迹复利14 天前
PendSV与RISC-V trap——上下文切换的两种设计哲学
内核·freertos·risc-v
hongmai66688816 天前
竖插专用:ESP8684-WROOM-07-H2X模组上手记录
笔记·单片机·嵌入式硬件·物联网·risc-v