XiangShan is an open-source, high-performance RISC-V processor project that implements out-of-order superscalar cores using Chisel for hardware construction. The design targets modern performance goals—deep pipelines, speculative execution, multi-issue decode/execute, and sophisticated branch prediction—while remaining synthesizable for ASIC flows and portable to FPGAs for research. A modular microarchitecture separates frontend, backend, and memory subsystems with coherent caches and scalable interconnects, enabling multi-core configurations. The project invests heavily in verification: differential testing against reference models, extensive random instruction tests, and full software stacks (bootloaders, Linux) to validate correctness under realistic workloads. Tooling around the core (build scripts, simulators, waveform/debug support) lowers the barrier for academics and industry contributors to experiment and extend.

Features

  • Supports RV64GCBVH RISC-V ISA (general + compressed + bit/byte vector + hypervisor etc)
  • Modular design of pipeline, vector units, co-processor / accelerator support etc
  • Agile development methodology with tools for functional verification, debugging, performance validation
  • Extensive documentation, user guide, design documents, with translation/localization support (English / Chinese etc)
  • Capability to integrate or target actual silicon or tape-out flows, and use real synthesis toolchains etc
  • Benchmarks and performance oriented work: pushing for high frequency, efficient vector processing etc to match or exceed performance of ARM Cortex-A76 etc.

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow XiangShan

XiangShan Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of XiangShan!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Scala

Related Categories

Scala Software Development Software

Registered

2025-09-18