# US 2022/0292335 A1 · Reinforcement driven standard cell placement

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0292335 A1
- Document ID: US20220292335A1
- Status: Published application
- Kind: A1
- Application number: 17/679,681
- Filed: 2022-02-24
- Published: 2022-09-15
- Earliest claimed: 2021-03-09
- Assignees: NVIDIA Corporation
- Applicants: NVIDIA Corp.
- Inventors: Haoxing Ren
- Web page: https://patentgrep.com/patent/US20220292335A1

## CPC

- G06N 3/063: using electronic means
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06N 3/092: Reinforcement learning
- G06N 3/126: Evolutionary algorithms, e.g. genetic algorithms or genetic programming
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

An automatic standard cell layout generator that generates circuit layouts for an industry standard cell library on an advanced technology node leverages reinforcement learning (RL) to generate device placements in the layouts and also to fix design rule violations during routing. A genetic algorithm is utilized to generate routing candidates to which a reinforcement learning model is applied to correct the design rule constraint violations incrementally. A design rule checker provides feedback on the violations to the reinforcement learning model and the model learns how to fix the violations. A layout device placer based upon a simulated annealing method may also be utilized.

## Claims

### Claim 1

A method for generating device placements on a circuit layout, the method comprising:
applying a machine learning model to generate a routability estimation for a poly on the circuit layout;
utilizing the routability estimation in a reinforcement learning model to generate an action probability distribution for placement of device pairs on the poly; and
based on the action probability distribution, selecting a placement action on the poly; and
executing the action to place a particular device pair of the device pairs on the poly.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
embedding devices and pins of the circuit in a graph neural network.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
generating next embeddings for the graph neural network and applying the next embeddings to a policy network to generate the action probability distribution.

### Claim 4 (depends on 1)

The method of claim 1, where the particular device pair comprises a dummy device.

### Claim 5 (depends on 1)

The method of claim 1, wherein the action comprises placing the particular device pair with a shared diffusion region.

### Claim 6 (depends on 1)

The method of claim 1, wherein the action comprises inserting a cut on the poly.

### Claim 7 (depends on 1)

The method of claim 1, wherein the action comprises placing a pin on the circuit layout.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
executing a simulated annealing algorithm to perform device pair swapping in the circuit layout.

### Claim 9

A system comprising:
one or more processors; and
logic that when applied to the one or more processors:
operates a first reinforcement learning model to generate device placements on a circuit layout;
operates a genetic routing algorithm on the circuit layout to generate a plurality of candidate routed circuit layouts; and
operates a second reinforcement learning model to correct design rule constraint errors in the candidate routed circuit layouts.

### Claim 10 (depends on 9)

The system of claim 9, the first reinforcement learning model comprising a graph neural network.

### Claim 11 (depends on 9)

The system of claim 9, further comprising a machine learning model to generate routing estimations input to the first reinforcement learning model.

### Claim 12 (depends on 11)

The system of claim 11, the machine learning model comprising a convolutional neural network.

### Claim 13 (depends on 9)

The system of claim 9, further comprising feedback of a number of the design rule constraint errors to evolve the genetic routing algorithm.

### Claim 14 (depends on 13)

The system of claim 13, wherein the design rule constraint errors are applied to a fitness function of the genetic routing algorithm.

### Claim 15 (depends on 14)

The system of claim 14, wherein a number of unrouted terminal pairs is also applied to the fitness function of the genetic routing algorithm.

### Claim 16 (depends on 9)

The system of claim 9, wherein the second reinforcement learning model comprises a convolutional neural network generating embeddings for a plurality of policy neural networks and a state value neural network.

### Claim 17 (depends on 16)

The system of claim 16, wherein the policy neural network comprises a plurality of fully connected layers and an operation mask.

### Claim 18 (depends on 16)

The system of claim 16, further comprising:
a pooling layer; and
the state value neural network comprising a plurality of fully connected layers coupled to receive an output of the pooling layer.

### Claim 19 (depends on 9)

The system of claim 9, the reinforcement learning model configured to:
receive stick depiction images the candidate routed circuit layouts; and
transform the stick depiction images into action probabilities for correcting the design rule constraint errors.

### Claim 20 (depends on 19)

The system of claim 19, wherein the transformation into the action probabilities is invariant in relation to a width of the stick depiction images.

### Claim 21 (depends on 9)

The system of claim 9, the genetic routing algorithm further comprising:
a fitness function comprising a reciprocal of a weighted sum of a number of unrouted terminal pairs in the candidate routed circuit layouts and a number of the design rule constraint errors in the candidate routed circuit layouts.

### Claim 22

A method comprising:
executing a simulated annealing-based placement and routing algorithm on a set of training circuits;
selecting resulting placements that produce routable cell layouts;
converting the placements into reinforced learning trajectories;
processing the reinforced learning trajectories through a machine learning model;
providing a current observation to the machine learning model to produce a probability distribution of a placement action to take; and
sampling the probability distribution to select one or more devices and pins to place on a circuit layout.
