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
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Try 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