Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/OpenXiangShan/YunSuan
This repo includes XiangShan's function units
https://github.com/OpenXiangShan/YunSuan
Last synced: 2 months ago
JSON representation
This repo includes XiangShan's function units
- Host: GitHub
- URL: https://github.com/OpenXiangShan/YunSuan
- Owner: OpenXiangShan
- License: mulanpsl-2.0
- Created: 2022-12-12T09:20:28.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-10-24T08:40:16.000Z (3 months ago)
- Last Synced: 2024-10-24T20:56:13.052Z (3 months ago)
- Language: Scala
- Size: 815 KB
- Stars: 13
- Watchers: 5
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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`