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
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
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