Insights from Basilisk: Are Open-Source EDA Tools Ready for a Multi-Million-Gate, Linux-Booting RV64 SoC Design?

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

Executive Summary

Researchers have developed Basilisk, a multi-million-gate, Linux-booting RISC-V SoC implemented entirely with an open-source Electronic Design Automation (EDA) flow. By systematically optimizing synthesis scripts and physical design strategies, the team achieved a 2.3x increase in clock frequency and a 1.6x reduction in area compared to previous open-source baselines. This work demonstrates that open-source tools are nearing "tapeout-ready" maturity for complex, industrial-scale designs.

The Challenge: Scaling Open-Source EDA

While open-source EDA tools like Yosys and OpenROAD have gained traction, they have historically struggled with complex designs exceeding 150k gates. When applied to multi-million-gate projects like a 64-bit RISC-V SoC, these tools often suffer from poor Quality of Results (QoR), including sluggish timing, bloated area, excessive memory consumption, and unroutable layouts riddled with Design Rule Check (DRC) violations. The Basilisk project aims to bridge this gap without simplifying the original hardware description.

Methodology and Toolchain

The authors improved the Yosys+OpenROAD flow through several targeted interventions across the synthesis and physical design stages.

The integrated open-source EDA pipeline used for the Basilisk SoC design, spanning from RTL preprocessing to final physical routing.

Key Technical Optimizations

  • Part-Select Synthesis (MUX) Optimization: The team identified that Yosys inefficiently implemented SystemVerilog part-select operations as massive barrel shifters. They introduced a new optimization pass that converts these into efficient block-multiplexer trees.
Detailed transformation of part-select operations from SystemVerilog source through high-level Yosys representations to generic cell implementation.
  • ABC Script Overhaul: They overhauled the scripts for ABC (the logic optimization engine) by implementing "Lazy Man’s Synthesis" (LMS) and providing accurate delay models (slew and gain) that the tool previously ignored.
  • Library of Arithmetic Units (LAU): They created a library of hand-optimized arithmetic macro-operators, such as Booth-encoded multipliers, and extended Yosys to automatically map RTL descriptions to these high-performance units.
  • Routability-Driven Physical Design: In the OpenROAD Place and Route (P&R) stage, they tuned global placement hyperparameters to trigger routability-driven modes earlier and adjusted metal utilization to reduce congestion near standard cells.

Benchmarking the Basilisk SoC

The primary benchmark is the Basilisk SoC, an evolution of the Cheshire platform. It features an RV64GC (CVA6) core with an FPU and various peripherals, totaling approximately 1.1 Million Gate Equivalents (MGE). The design was implemented using IHP’s open 130 nm Process Design Kit (PDK) and compared against the Iguana SoC, a previous iteration using an unoptimized open-source flow.

Key Results and Insights

The optimizations led to dramatic improvements across all performance and efficiency metrics:

  • Performance: Operating frequency increased from 33 MHz to 77 MHz (2.3x improvement), with a timing-optimized variant reaching 97 MHz.
  • Area Efficiency: Logic area was reduced from 1.8 MGE to 1.1 MGE (1.6x reduction).
  • Tool Efficiency: Synthesis runtime dropped from 5.4 hours to 2.2 hours, and peak RAM usage plummeted from 217 GB to 75 GB.
  • Manufacturability: The design achieved zero DRC violations, a critical requirement for a successful tapeout.

Philosophical Takeaways

The researchers emphasize a Human-in-the-Loop (HITL) philosophy. Rather than seeking a "push-button" solution, they advocate for a flow that is tunable by expert designers. Furthermore, they argue against "dumbing down" RTL to accommodate tool weaknesses; instead, the tools themselves should be improved to handle industry-standard SystemVerilog.

Limitations and Future Outlook

Despite these significant gains, a QoR gap remains. Commercial EDA tools still produce results roughly 50% better in area and timing for the same design. Future work will focus on integrating tighter timing-driven feedback loops between synthesis and P&R, automating arithmetic speed grade selection, and standardizing data formats to improve tool interoperability.

Summary updated

BibTeX
@misc{sauter2024insights,
  author = {Philippe Sauter and Thomas Benz and Paul Scheffler and Frank K. Gürkaynak and Luca Benini},
  title = {{Insights from Basilisk: Are Open-Source EDA Tools Ready for a Multi-Million-Gate, Linux-Booting RV64 SoC Design?}},
  year = {2024},
  eprint = {2405.04257},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.04257},
}
Figure