Beyond Flat Netlist: Hierarchical Graph Representation Learning for Scalable Analysis of Sequential Circuits
Organizations: The Chinese University of Hong Kong, Hong Kong, China · Tsinghua University, Beijing, China
Abstract
Circuit Representation Learning (CRL) offers a powerful paradigm to guide and optimize core Electronic Design Automation (EDA) tasks, but its practical adoption is hindered by the immense scale of industrial netlists and a failure to explicitly model register-level temporal dynamics. To overcome these barriers, we introduce DeepSeq3, a novel hierarchical framework that abstracts circuits into a two-level representation: fine-grained combinational subgraphs partitioned by flip-flops (FFs), and a high-level Super-Node Graph (SNG) that models the register-transfer structure. A dual Graph Neural Network (GNN) architecture learns representations at both levels, capturing local Boolean logic and global state transitions. Crucially, we introduce a state-centric pre-training scheme that predicts the reachability between FF states, endowing the model with a deep understanding of temporal behavior. Demonstrated on large-scale benchmarks, DeepSeq3's approach yields superior scalability and richer representations, reducing bounded model checking (BMC) solving time by 18% while guaranteeing correctness.
Figures & tables
| Model | Stage 1: Combinational Subgraph | Stage 2: Register-Level Evaluation | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| IR | OT | Time (s) | ||||||||||
| R 2 | MAE | R 2 | MAE | Recall | F1 | Accuracy | R | MAE | ||||
| GCN ( Kipf and Welling, 2017 ) | 0.7996 | 0.0785 | 0.7910 | 0.0902 | - | - | - | - | - | - | ||
| GAT ( Veličković et al., 2018 ) | 0.6073 | 0.1117 | 0.5573 | 0.1156 | - | - | - | - | - | - | ||
| GraphSAGE ( Hamilton et al., 2017 ) | 0.9552 | 0.0367 | 0.9565 | 0.0403 | - | - | - | - | - | - | - | |
| HOGA-3 ( Deng et al., 2024 ) | 0.6066 | 0.1179 | 0.6038 | 0.1186 | - | - | - | - | - | - | ||
| Circuit | Nodes | Power | DeepSeq2 | DeepSeq3 | ||
| Power | Error | Power | Error | |||
| ptc | 2,024 | 0.0677 | 0.0710 | 4.89% | 0.0717 | 5.92% |
| noc_router | 5,246 | 0.2184 | 0.2288 | 4.76% | 0.2196 | 0.55% |
| mem_ctrl1 | 10,733 | 0.3148 | 0.3800 | 20.70% | 0.3641 | 15.66% |
| ac97_ctrl | 14,004 | 0.5512 | 0.5391 | 2.24% | 0.5517 | 0.09% |
| pll | 18,208 | 0.7787 | 0.7428 | 4.61% | 0.7735 | 0.67% |
| Circuit | Nodes | Raw BMC ( Brayton and Mishchenko, 2010 ) | Guided BMC | ||
|---|---|---|---|---|---|
| Time (s) | SolveTime (s) | InferTime (s) | Total (s) | ||
| eijks208o | 172 | 15.63 | 11.97 | 0.74(0.5+0.24) | 12.71 |
| pdtvispeterson | 712 | 22.92 | 18.27 | 1.01(0.75+0.26) | 19.28 |
| pdtvisgigamax0 | 1,107 | 13.99 | 14.61 | 2.25(2.00+0.25) | 16.86 |
| float_reg_b1_1071 | 2,066 | 11.02 | 10.93 | 1.30(1+0.30) | 12.23 |
| float8 | 10,590 | 71.05 | 61.37 | 7.81(7.5+0.31) | 69.18 |