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
------------------------------------------------------------------------------------------------------

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值