Skip to main content
QUICK REVIEW

[Paper Review] MasterRTL: A Pre-Synthesis PPA Estimation Framework for Any RTL Design

Wenji Fang, Yao Lu|arXiv (Cornell University)|Nov 14, 2023
Embedded Systems Design TechniquesComputer Science5 citations
TL;DR

MasterRTL is a pre-synthesis PPA estimation framework that converts RTL designs into a simple operator graph (SOG) representation and uses customized machine learning models to predict timing (TNS, WNS), power, and area with high accuracy across diverse designs. It achieves state-of-the-art correlation improvements of 0.33, 0.22, and 0.15 for TNS, WNS, and power, respectively, while maintaining low runtime overhead and enabling cross-design generalization.

ABSTRACT

In modern VLSI design flow, the register-transfer level (RTL) stage is a critical point, where designers define precise design behavior with hardware description languages (HDLs) like Verilog. Since the RTL design is in the format of HDL code, the standard way to evaluate its quality requires time-consuming subsequent synthesis steps with EDA tools. This time-consuming process significantly impedes design optimization at the early RTL stage. Despite the emergence of some recent ML-based solutions, they fail to maintain high accuracy for any given RTL design. In this work, we propose an innovative pre-synthesis PPA estimation framework named MasterRTL. It first converts the HDL code to a new bit-level design representation named the simple operator graph (SOG). By only adopting single-bit simple operators, this SOG proves to be a general representation that unifies different design types and styles. The SOG is also more similar to the target gate-level netlist, reducing the gap between RTL representation and netlist. In addition to the new SOG representation, MasterRTL proposes new ML methods for the RTL-stage modeling of timing, power, and area separately. Compared with state-of-the-art solutions, the experiment on a comprehensive dataset with 90 different designs shows accuracy improvement by 0.33, 0.22, and 0.15 in correlation for total negative slack (TNS), worst negative slack (WNS), and power, respectively.

Motivation & Objective

  • To address the lack of accurate, generalizable pre-synthesis PPA estimation for any RTL design at scale.
  • To overcome the limitations of existing ML-based PPA models that require retraining for new designs or fail to generalize across design types.
  • To develop a unified, general-purpose RTL representation that captures design semantics while reducing the gap to gate-level netlists.
  • To enable high-accuracy, cross-design prediction of multiple PPA metrics—timing (TNS, WNS), power (vector-less and vector-based), and area—using a single framework.

Proposed method

  • Converts RTL HDL code into a new bit-level representation called the Simple Operator Graph (SOG), which uses only single-bit primitive operators to unify diverse design styles and improve model generalization.
  • Constructs a hierarchical, graph-based SOG representation that preserves RTL semantics while being more similar to gate-level netlists than AST-like structures.
  • Develops separate, specialized machine learning models for timing (TNS, WNS), power, and area estimation, trained on a comprehensive dataset of 90 diverse RTL designs.
  • Employs a data augmentation strategy using synthetic RTL designs generated from real ones to improve model robustness when real training data is limited.
  • Uses a tree-based model to extend predictions to the post-placement physical design stage, leveraging MasterRTL’s pre-synthesis outputs as features.
  • Achieves low inference overhead—less than 0.1 seconds for full PPA prediction and under 0.5% of total synthesis time for the entire pipeline.

Experimental results

Research questions

  • RQ1What is the most appropriate RTL representation that enables high-accuracy, cross-design ML-based PPA estimation?
  • RQ2How can ML models be designed to generalize across diverse RTL designs without requiring retraining?
  • RQ3Can a unified representation reduce the semantic gap between RTL and gate-level netlists to improve prediction accuracy?
  • RQ4How effective is data augmentation using synthetic RTL designs in improving model performance with limited real design data?
  • RQ5Can the framework extend to predict PPA metrics beyond synthesis, such as post-placement physical design results?

Key findings

  • MasterRTL achieves a 0.33 improvement in correlation for total negative slack (TNS), a 0.22 improvement for worst negative slack (WNS), and a 0.15 improvement for power estimation compared to state-of-the-art methods.
  • The framework maintains high accuracy across 90 diverse RTL designs without requiring retraining, demonstrating strong cross-design generalization.
  • The entire PPA prediction inference takes less than 0.1 seconds, and the full pipeline adds less than 0.5% overhead to the logic synthesis time.
  • The SOG representation significantly reduces discrepancies between different design types compared to AST-based representations, enhancing model generalization.
  • Data augmentation using synthetic RTL designs improves path-level timing model accuracy, especially when real training data is scarce.
  • The framework successfully extends to post-placement PPA prediction with accuracy comparable to or better than ground-truth synthesis results.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.