GSIM accepts chirrtl, and compiles it to C++
- Install GMP, clang 19(+).
-
GSIM provides 4 RISC-V cores ready for simulation: ysyx3, Rocket, BOOM, XiangShan.
-
To try GSIM, using
$ make init $ make run dutName=core -
Set core to
ysyx3,rocket,small-boom,large-boom,minimal-xiangshanordefault-xiangshan
- Run
make build-gsimto build GSIM - Build a static binary locally with
make STATIC=1 build-gsim(CI artifacts are built statically). - Run
build/gsim/gsim $(chirrtl-file)to compile chirrtl to C++ - Refer to
build/gsim/gsim --helpfor more information - See C++ harness example to know how it interacts with the emitted C++ code.
Lu Chen, Dingyi Zhao, Zihao Yu, Ninghui Sun, Yungang Bao
Design Automation Conference (DAC), 2025