# XS-YunSuan **Repository Path**: mingyuncode/XS-YunSuan ## Basic Information - **Project Name**: XS-YunSuan - **Description**: https://github.com/OpenXiangShan/YunSuan.git - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-01-15 - **Last Updated**: 2026-01-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## 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`