Basilisk: An End-to-End Open-Source Linux-Capable RISC-V SoC in 130nm CMOS

Paul Scheffler, Philippe Sauter, Thomas Benz, Frank K. Gürkaynak, Luca BeniniarXiv 2024 · DOI

Introduction

The pursuit of fully transparent computing—where every gate and wire can be audited for security—has long been obstructed by the "black box" nature of proprietary design tools and physical blueprints (PDKs). While open-source processors exist, the end-to-end flow from high-level code to physical silicon often relies on closed-source ecosystems. Basilisk represents a significant milestone in open hardware: the first end-to-end open-source, Linux-capable RISC-V System-on-Chip (SoC) taped out in a 130nm CMOS process.

Basilisk is a 64-bit RISC-V SoC that demonstrates the viability of building complex, general-purpose chips using an entirely open-source toolchain. By introducing a new pre-processing tool called SVase and optimizing open-source synthesis flows, the research team achieved a 2.3× boost in clock speeds and a 1.6× reduction in logic area compared to baseline open-source implementations.

Architecture and Methodology

Basilisk is built upon the Cheshire SoC platform, centered around a 64-bit CVA6 RISC-V core. The architecture includes essential components for a modern OS, such as a HyperBus controller, DMA, and various peripherals (UART, SPI, I2C, GPIO) connected via an AXI4 crossbar.

Basilisk SoC Architecture

To bridge the gap between industry-standard hardware description languages and open-source tools, the researchers addressed three primary challenges:

  1. The Language Gap: Industry-grade designs often use complex SystemVerilog (SV) features that open-source tools like Yosys cannot natively parse. The team developed SVase, a pre-elaborator that resolves parameters and flattens dependencies into a simplified Verilog format.
  2. The Quality Gap: Open-source Electronic Design Automation (EDA) tools typically lag behind commercial counterparts in "Quality of Results" (QoR). The team overhauled logic synthesis, specifically improving how multiplexers are handled to prevent inefficient shifter creation.
  3. Physical Design Tuning: Using the OpenROAD tool, the team redesigned the power grid to be routing-friendly and tuned hyperparameters to eliminate Design Rule Check (DRC) violations, ensuring the chip is ready for high-yield manufacturing.

Key Results and Performance

The optimizations transformed Basilisk from a proof-of-concept into a high-performance Linux host. The team evaluated their results against IHP’s Open 130nm PDK and compared them to commercial benchmarks to quantify the remaining performance gap.

Logic Area vs. Critical Path Performance

As shown in the performance analysis, the optimized flow (labeled LAU and Fastest) significantly narrows the gap toward commercial tools. Key achievements include:

  • Frequency: Peak clock frequency increased from 33 MHz to 77 MHz (2.3× improvement).
  • Area Efficiency: Logic area was reduced from 1.8 MGE (Million Gate Equivalents) to 1.1 MGE.
  • Tool Efficiency: Synthesis runtime was cut by 2.5×, and peak RAM usage dropped from 217 GB to 75 GB, making the design flow accessible on more modest hardware.
  • Physical Success: The final die area was reduced by 12%, achieving zero DRC violations.

Conclusion and Future Work

Basilisk proves that open-source EDA tools can produce sophisticated, Linux-capable silicon. While a performance gap of approximately 50% remains compared to commercial tools, the project provides a clear roadmap for the open-source community. Future work will focus on "physically aware" synthesis and the integration of Root of Trust (RoT) IPs to create a fully auditable, secure boot chain from hardware to software.

Summary updated

BibTeX
@misc{scheffler2024basilisk,
  author = {Paul Scheffler and Philippe Sauter and Thomas Benz and Frank K. Gürkaynak and Luca Benini},
  title = {{Basilisk: An End-to-End Open-Source Linux-Capable RISC-V SoC in 130nm CMOS}},
  year = {2024},
  eprint = {2406.15107},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.15107},
}
Figure