Machine learning for netlist design
Abstract
Certain aspects of the present disclosure provide techniques and apparatus for evaluating electronic circuit designs. A directed graph representing a netlist design for an electrical circuit is accessed, the netlist design comprising a plurality of electronic components and a plurality of connections among the plurality of electronic components. A node in the directed graph is selected, the node corresponding to a register that receives input from one or more of the plurality of electronic components in the netlist design. A subgraph is generated for the node, based on the directed graph, comprising identifying a connectivity cone ending at the first register. A functional embedding is generated for the subgraph based on a trained encoder machine learning model. A predicted performance characteristic of the netlist design is generated based at least in part on the functional embedding.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 0.
Claims (30 — 4 Independent, 26 Dependent)
- Claim 1Independent Claim
A processor-implemented method, comprising: accessing a directed graph (DG) representing a netlist design for an electrical circuit, the netlist design comprising a plurality of electronic components and a plurality of connections among the plurality of electronic components; selecting a first node in the DG, the first node corresponding to a first register that receives input from one or more of the plurality of electronic components in the netlist design; generating a first subgraph for the first node, based on the DG, comprising identifying a connectivity cone ending at the first register; generating a first functional embedding for the first subgraph based on a trained encoder machine learning model; and generating a predicted performance characteristic of the netlist design based at least in part on the first functional embedding.
- Claim 2Depends on #1
The processor-implemented method of claim 1, wherein the first subgraph comprises a set of nodes comprising: the first node, one or more input nodes, each respective input node of the one or more input nodes corresponding to a respective preceding register in the netlist design having an output coupled to an input of the first register, and one or more intermediate nodes corresponding to combinational components in the netlist design.
- Claim 3Depends on #2
The processor-implemented method of claim 2, further comprising generating a plurality of pseudo-edges connecting one or more nodes in the set of nodes, which otherwise lack a direct connection to the first node, to the first node, wherein generating the first functional embedding comprises processing the first subgraph and the plurality of pseudo-edges using the trained encoder machine learning model.
- Claim 4Depends on #1
The processor-implemented method of claim 1, wherein generating the predicted performance characteristic comprises: generating a subgraph embedding based on the first subgraph; aggregating the subgraph embedding and the first functional embedding for the first subgraph to generate an aggregated embedding; and processing the aggregated embedding using a trained machine learning model to generate the predicted performance characteristic.
- Claim 5Depends on #4
The processor-implemented method of claim 4, wherein generating the subgraph embedding comprises: processing the first subgraph using a graph machine learning model to generate a respective node embedding for each respective node in the first subgraph; and aggregating the respective node embeddings to generate the subgraph embedding.
- Claim 6Depends on #5
The processor-implemented method of claim 5, further comprising processing a plurality of prediction-related features, along with the first subgraph, using the graph machine learning model to generate the respective node embeddings, wherein the prediction-related features are selected based on the predicted performance characteristic.
- Claim 7Depends on #1
The processor-implemented method of claim 1, further comprising: generating a plurality of subgraphs based on the DG; and generating a respective functional embedding for each respective subgraph of the plurality of subgraphs based on the trained encoder machine learning model, wherein the predicted performance characteristic of the netlist design is generated based further on the respective functional embedding for each respective subgraph of the plurality of subgraphs.
- Claim 8Depends on #1
The processor-implemented method of claim 1, wherein the predicted performance characteristic of the netlist design comprises at least one of a performance metric, a power metric, or an area metric for the netlist design.
- Claim 9Depends on #1
The processor-implemented method of claim 1, wherein the trained encoder machine learning model is trained based on a set of positive exemplars, each positive exemplar corresponding to a plurality of subgraphs having equivalent netlist functionality.
- Claim 10Depends on #9
The processor-implemented method of claim 9, wherein each respective positive exemplar of the set of positive exemplars is generated by processing a respective subgraph using a synthesis tool to generate one or more functionally equivalent subgraphs.
- Claim 11Depends on #9
The processor-implemented method of claim 9, wherein the trained encoder machine learning model is trained based further on a set of negative exemplars, each negative exemplar corresponding to a plurality of subgraphs having non-equivalent netlist functionality.
- Claim 12Independent Claim
A processor-implemented method, comprising: accessing a directed graph (DG) representing a netlist design for an electrical circuit, the netlist design comprising a plurality of electronic components and a plurality of connections among the plurality of electronic components; selecting a first node in the DG, the first node corresponding to a first register that receives input from one or more components in the netlist design; generating a first subgraph for the first node, based on the DG, comprising identifying a connectivity cone ending at the first register; generating a second subgraph that is functionally equivalent to the first subgraph; generating a first functional embedding for the first subgraph based on an encoder machine learning model; generating a second functional embedding for the second subgraph based on the encoder machine learning model; and updating one or more parameters of the encoder machine learning model based on comparing the first and second functional embeddings.
- Claim 13Depends on #12
The processor-implemented method of claim 12, wherein the first subgraph comprises a set of nodes comprising: the first node, one or more input nodes, each respective input node of the one or more input nodes corresponding to a respective preceding register in the netlist design having an output coupled to an input of the first register, and one or more intermediate nodes corresponding to combinational components in the netlist design.
- Claim 14Depends on #13
The processor-implemented method of claim 13, further comprising generating a plurality of pseudo-edges connecting one or more nodes in the set of nodes, which otherwise lack a direct connection to the first node, to the first node, wherein generating the first functional embedding comprises processing the first subgraph and the plurality of pseudo-edges using the encoder machine learning model.
- Claim 15Depends on #12
The processor-implemented method of claim 12, further comprising: generating a plurality of subgraphs based on the DG; and generating a respective functional embedding for each respective subgraph of the plurality of subgraphs based on the encoder machine learning model.
- Claim 16Depends on #12
The processor-implemented method of claim 12, further comprising training the encoder machine learning model based on a set of positive exemplars, each positive exemplar corresponding to a plurality of subgraphs having equivalent netlist functionality.
- Claim 17Depends on #16
The processor-implemented method of claim 16, wherein each respective positive exemplar of the set of positive exemplars is generated by processing a respective subgraph using a synthesis tool to generate one or more functionally equivalent subgraphs.
- Claim 18Depends on #12
The processor-implemented method of claim 12, further comprising training the encoder machine learning model based further on a set of negative exemplars, each negative exemplar corresponding to a plurality of subgraphs having non-equivalent netlist functionality.
- Claim 19Independent Claim
A processing system comprising: a memory comprising computer-executable instructions; and one or more processors configured to execute the computer-executable instructions and cause the processing system to perform an operation, comprising: accessing a directed graph (DG) representing a netlist design for an electrical circuit, the netlist design comprising a plurality of electronic components and a plurality of connections among the plurality of electronic components; selecting a first node in the DG, the first node corresponding to a first register that receives input from one or more of the plurality of electronic components in the netlist design; generating a first subgraph for the first node, based on the DG, comprising identifying a connectivity cone ending at the first register; generating a first functional embedding for the first subgraph based on a trained encoder machine learning model; and generating a predicted performance characteristic of the netlist design based at least in part on the first functional embedding.
- Claim 20Depends on #19
The processing system of claim 19, wherein the first subgraph comprises a set of nodes comprising: the first node, one or more input nodes, each respective input node of the one or more input nodes corresponding to a respective preceding register in the netlist design having an output coupled to an input of the first register, and one or more intermediate nodes corresponding to combinational components in the netlist design.
- Claim 21Depends on #20
The processing system of claim 20, the operation further comprising generating a plurality of pseudo-edges connecting one or more nodes in the set of nodes, which otherwise lack a direct connection to the first node, to the first node, wherein generating the first functional embedding comprises processing the first subgraph and the plurality of pseudo-edges using the trained encoder machine learning model.
- Claim 22Depends on #19
The processing system of claim 19, wherein generating the predicted performance characteristic comprises: generating a subgraph embedding based on the first subgraph; aggregating the subgraph embedding and the first functional embedding for the first subgraph to generate an aggregated embedding; and processing the aggregated embedding using a trained machine learning model to generate the predicted performance characteristic.
- Claim 23Depends on #22
The processing system of claim 22, wherein generating the subgraph embedding comprises: processing the first subgraph using a graph machine learning model to generate a respective node embedding for each respective node in the first subgraph; and aggregating the respective node embeddings to generate the subgraph embedding.
- Claim 24Depends on #23
The processing system of claim 23, further comprising processing a plurality of prediction-related features, along with the first subgraph, using the graph machine learning model to generate the respective node embeddings, wherein the prediction-related features are selected based on the predicted performance characteristic.
- Claim 25Depends on #19
The processing system of claim 19, the operation further comprising: generating a plurality of subgraphs based on the DG; and generating a respective functional embedding for each respective subgraph of the plurality of subgraphs based on the trained encoder machine learning model, wherein the predicted performance characteristic of the netlist design is generated based further on the respective functional embedding for each respective subgraph of the plurality of subgraphs.
- Claim 26Depends on #19
The processing system of claim 19, wherein the predicted performance characteristic of the netlist design comprises at least one of a performance metric, a power metric, or an area metric for the netlist design.
- Claim 27Depends on #19
The processing system of claim 19, wherein the trained encoder machine learning model is trained based on a set of positive exemplars, each positive exemplar corresponding to a plurality of subgraphs having equivalent netlist functionality.
- Claim 28Depends on #27
The processing system of claim 27, wherein each respective positive exemplar of the set of positive exemplars is generated by processing a respective subgraph using a synthesis tool to generate one or more functionally equivalent subgraphs.
- Claim 29Depends on #27
The processing system of claim 27, wherein the trained encoder machine learning model is trained based further on a set of negative exemplars, each negative exemplar corresponding to a plurality of subgraphs having non-equivalent netlist functionality.
- Claim 30Independent Claim
A processing system, comprising: means for accessing a directed graph (DG) representing a netlist design for an electrical circuit, the netlist design comprising a plurality of electronic components and a plurality of connections among the plurality of electronic components; means for selecting a first node in the DG, the first node corresponding to a first register that receives input from one or more of the plurality of electronic components in the netlist design; means for generating a first subgraph for the first node, based on the DG, comprising identifying a connectivity cone ending at the first register; means for generating a first functional embedding for the first subgraph based on a trained encoder machine learning model; and means for generating a predicted performance characteristic of the netlist design based at least in part on the first functional embedding.
Technical Overview & Description
INTRODUCTION Aspects of the present disclosure relate to electronic circuit design. Integrated circuits (ICs) are electronic circuits that may be designed and fabricated to form a complete processing unit, such as a central processing unit (CPU), graphics processing unit (GPU), neural processing unit (NPU), digital signal processor (DSP), application-specific integrated circuit (ASIC), system-on-a-chip (SoC), or the like. To design an integrated circuit, various software modules can be used to design various components of the integrated circuit. For example, a component of an integrated circuit may be defined as a soft macro that specifies the functionality of the component irrespective of a process by which the integrated circuit will be fabricated, or as a hard macro in which the functionality of the component is tied to a specific fabrication process. During the design process, various tests may be performed on an integrated circuit design before the integrated circuit design is finalized and made available to a semiconductor foundry for manufacturing (also known as being “ taped out ” ). These tests may be designed to cover various logic paths within an integrated circuit to verify that the integrated circuit, as designed, generates a correct result along some given logic path and does so according to various timing constraints defined for the integrated circuit. These tests may also cover the performance of an integrated circuit for different variations in fabrication and/or operating parameters (also known as process-voltage-temperature (PVT) test cases). Because there are a large number of tests that can be run to verify the performance of an integrated circuit design, testing integrated circuits using electronic design automation (EDA) tools may be a resource-intensive process. Further, some tests may test multiple coverpoints (also referred to as “ coverage points ” ), and the selection and execution of these tests may result in the duplication of work, whi
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (3)
Non-Patent Literature (10)
- Wang Z., et al.,
- “
- Functionality Matters in Netlist Representation Learning
- ”
- , 6 Pages, 2022.
- Chatterjee D., et al.,
- “
- GCS: High-Performance Gate-Level Simulation with GP-GPUs,
- ”
- Design, Automation