Basilisk: Achieving Competitive Performance with Open EDA Tools on an Open-Source Linux-Capable RISC-V SoC

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

Abstract

Basilisk is a high-performance, Linux-capable RISC-V SoC implemented entirely with open-source Electronic Design Automation (EDA) tools. By optimizing synthesis and physical design flows, researchers achieved a 2.3× frequency boost (77 MHz) and a significant reduction in logic area compared to previous open-source baselines. These results demonstrate that open-source silicon design is becoming increasingly competitive with proprietary alternatives.

Introduction

While open-source EDA tools like Yosys and OpenROAD have matured significantly, they often produce a "Quality of Results" (QoR) that lags behind expensive proprietary suites. Previous attempts to build a fully open-source, Linux-capable SoC—most notably the Iguana project—proved the flow was possible but lacked the performance and "tapeout-ready" cleanliness (minimal Design Rule Check violations) required for industry-grade silicon.

The authors of Basilisk set out to bridge this gap. They aimed to show that by identifying and fixing specific bottlenecks within the open-source tools themselves, one could achieve competitive performance on a modern open Process Design Kit (PDK), specifically the IHP 130nm node.

Methodology

The researchers utilized the Cheshire SoC (an RV64GC platform) and applied a series of targeted optimizations across the RTL-to-GDSII flow.

Synthesis Optimization

The synthesis process, primarily using Yosys and ABC, underwent three major improvements:

  1. MUX Trees: Inefficient barrel shifters used for part-select operations were replaced with block-multiplexer trees, drastically reducing area and logic levels.
  2. ABC Script Overhaul: Logic optimization scripts were updated in collaboration with tool developers to leverage recent academic research to improve mapping.
  3. MAC Inference: RTL modifications enabled the automatic inference of Multiply-Accumulate (MAC) operations, integrating adders directly into the multiplier's Carry-Save Adder (CSA) tree.

Physical Design

Using OpenROAD, the team redesigned the power delivery network, moving to thinner but more frequent power stripes on top metal layers to reduce routing congestion. They also manually tuned global placement hyper-parameters to better handle dense modules like the boot ROM, which are prone to routing failures.

Layout comparison between the baseline (left) and optimized Basilisk (right) showing improved core utilization and area efficiency.

Results and Discussion

The improvements over the baseline Iguana design are stark. As shown in the performance comparison below, the transition from the baseline through MUX, ABC, and MAC optimizations shows a steady improvement in all key metrics.

Performance comparison of Basilisk optimizations against the Iguana baseline.

Key outcomes include:

  • Frequency: Increased from 33 MHz to 77 MHz (a 2.3× improvement).
  • Logic Depth: Reduced from 182 to 51 logic levels, indicating a much cleaner and faster critical path.
  • Area Efficiency: Logic area dropped from 1.8 MGE to 1.1 MGE (Million Gate Equivalents).
  • Resource Usage: Peak RAM required for synthesis dropped by nearly 65% (from 217 GB to 75 GB), making the design flow accessible on more modest hardware.
  • Routability: The design achieved 55% core utilization with zero post-routing DRC violations, making it ready for fabrication.

Conclusion

The Basilisk project demonstrates that open-source EDA tools can produce competitive silicon when paired with targeted tool and RTL optimizations. By working directly with tool maintainers to upstream their findings, the authors have improved the baseline for the entire open-source hardware community. Future work will focus on improving native SystemVerilog support and validating performance through the physical tapeout scheduled for mid-2024.

Summary updated

BibTeX
@misc{sauter2024basilisk,
  author = {Philippe Sauter and Thomas Benz and Paul Scheffler and Zerun Jiang and Beat Muheim and Frank K. Gürkaynak and Luca Benini},
  title = {{Basilisk: Achieving Competitive Performance with Open EDA Tools on an Open-Source Linux-Capable RISC-V SoC}},
  year = {2024},
  eprint = {2405.03523},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.03523},
}
Figure