目录

YunSuan

This repo includes XiangShan’s function units

Unit-Test with Verilator

  • Prepare environment with verilator/mill.
  • make emu [EMU_TRACE=1]
  • ./build/emu [-C MAX_CYCLES] [-O MAX_OPERATIONS] [--dump-wave] [-b begin_dump] [-e end_dump]

Others:

  • make clean to clean build dir.
  • make clean-softfloat to clean softfloat compile dir.

Scripts

  • make emu EMU_TRACE=1
  • cd scripts
  • Run emu parallelly, logs are in ./log, for exeample, run 10 emu with 100 oprations each.
  • python3 emu_parallel.py 10 100
  • Analyse logs, the number of error logs or empty logs, all error logs are summarized in ./log/logs.log.
  • python3 log_analyse.py
关于

Unofficial read-only mirror of https://github.com/OpenXiangShan/YunSuan.git

4.6 MB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802047560号