MICRO 2022: Towards Developing High Performance RISC-V Processors Using Agile Methodology
Our paper introduces XiangShan and the practice of agile development methodology on high performance RISC-V processors.
It covers some representative tools we have developed and used to accelerate the chip development process, including design, functional verification, debugging, performance validation, etc.
This paper is awarded all three available badges for artifact evaluation (Available, Functional, and Reproduced).
The implementation of XiangShan is inspired by several key papers. We list these papers in XiangShan document, see: Acknowledgements. We very much encourage and expect that more academic innovations can be realised based on XiangShan in the future.
XiangShan
XiangShan (香山) is an open-source high-performance RISC-V processor project.
中文说明在此。
Documentation
XiangShan’s documentation is available at docs.xiangshan.cc.
The microarchitecture documentation on docs.xiangshan.cc is currently outdated for the latest version (Kunminghu). An updated version is in progress.
XiangShan User Guide has been published separately. You can find it at XiangShan-User-Guide/releases.
Publications
MICRO 2022: Towards Developing High Performance RISC-V Processors Using Agile Methodology
Our paper introduces XiangShan and the practice of agile development methodology on high performance RISC-V processors. It covers some representative tools we have developed and used to accelerate the chip development process, including design, functional verification, debugging, performance validation, etc. This paper is awarded all three available badges for artifact evaluation (Available, Functional, and Reproduced).
Paper PDF | IEEE Xplore | BibTeX | Presentation Slides | Presentation Video
Follow us
Wechat/微信:香山开源处理器
Zhihu/知乎:香山开源处理器
Weibo/微博:香山开源处理器
You can contact us through our mailing list. All mails from this list will be archived here.
Architecture
The first stable micro-architecture of XiangShan is called Yanqihu (雁栖湖) and is on the yanqihu branch, which has been developed since June 2020.
The second stable micro-architecture of XiangShan is called Nanhu (南湖) and is on the nanhu branch.
The current version of XiangShan, also known as Kunminghu (昆明湖), is still under development on the master branch.
The micro-architecture overview of Kunminghu (昆明湖) is shown below.
Sub-directories Overview
Some of the key directories are shown below.
IDE Support
bsp
IDEA
Generate Verilog
make verilog
to generate verilog code. The output file isbuild/XSTop.v
.Makefile
for more information.Run Programs by Simulation
Prepare environment
NEMU_HOME
to the absolute path of the NEMU project.NOOP_HOME
to the absolute path of the XiangShan project.AM_HOME
to the absolute path of the AM project.mill
. Refer to the Manual section in this guide.make init
to initialize submodules.Run with simulator
make emu
to build the C++ simulator./build/emu
with Verilator../build/emu --help
for run-time arguments of the simulator.Makefile
andverilator.mk
for more information.Example:
Troubleshooting Guide
Troubleshooting Guide
Acknowledgement
The implementation of XiangShan is inspired by several key papers. We list these papers in XiangShan document, see: Acknowledgements. We very much encourage and expect that more academic innovations can be realised based on XiangShan in the future.
LICENSE
Copyright © 2020-2025 Institute of Computing Technology, Chinese Academy of Sciences.
Copyright © 2021-2025 Beijing Institute of Open Source Chip
Copyright © 2020-2022 by Peng Cheng Laboratory.
XiangShan is licensed under Mulan PSL v2.