# US 2023/0267260 A1 · Method for layout placement and routing, circuit layout, electronic device, and storage medium

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

- Number: US 2023/0267260 A1
- Document ID: US20230267260A1
- Status: Published application
- Kind: A1
- Application number: 17/844,727
- Filed: 2022-06-21
- Published: 2023-08-24
- Earliest claimed: 2022-02-18
- Assignees: Changxin Memory Technologies, Inc.
- Applicants: Changxin Memory Technologies, Inc.
- Inventors: Li TANG; Chuanjiang CHEN; Li BAI
- Web page: https://patentgrep.com/patent/US20230267260A1

## CPC

- G06F 30/392: Floor-planning or layout, e.g. partitioning or placement
- G06F 30/394: Routing (G06F30/396 takes precedence)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments relate to the field of semiconductors, and provide a method for layout placement and routing, a circuit layout, an electronic device, and a storage medium. The method includes: generating a plurality of layout units (100) arranged along a preset direction (X) based on a schematic circuit diagram, each of the plurality of layout units (100) having a plurality of connection nodes (101), and two connection nodes (101) at two ends of each of the plurality of layout units (100) being defined as assessment nodes; determining any one of the plurality of layout units (100) as a target layout unit, and obtaining a positional relationship between the connection nodes (101) in rest of the plurality of layout units having same node information as the assessment nodes in the target layout unit and the assessment nodes; and performing routing to electrically connect the connection nodes (101) having the same node information.

## Claims

### Claim 1

A method for layout placement and routing, comprising:
generating a plurality of layout units arranged along a preset direction based on a schematic circuit diagram, each of the plurality of layout units having a plurality of connection nodes, each of the plurality of connection nodes having corresponding node information, and two of the plurality of connection nodes at two ends of each of the plurality of layout units being defined as assessment nodes;
determining any one of the plurality of layout units as a target layout unit, and obtaining position information of the assessment nodes in the target layout unit, the position information being configured for representing a positional relationship between the connection nodes in rest of the plurality of layout units having same node information as the assessment nodes in the target layout unit and the assessment nodes;
determining whether to perform a position flip on the target layout unit based on the positional relationship, and flipping the target layout unit if the determination result is YES, such that the position information of the target layout unit flipped satisfies a preset condition; and
performing routing to electrically connect the connection nodes having the same node information.

### Claim 2 (depends on 1)

The method for layout placement and routing according to claim 1, wherein in the preset direction, the connection nodes in the rest of the plurality of layout units having the same node information as a given one of the assessment nodes in the target layout unit are defined as a homogeneous node group, the preset condition comprising:
all the connection nodes in the homogeneous node group being distributed on one side of the given assessment node away from the other assessment node in the target layout unit, or the connection nodes in the homogeneous node group being distributed on two sides of the given assessment node.

### Claim 3 (depends on 1)

The method for layout placement and routing according to claim 1, wherein in the preset direction, the connection nodes in the rest of the plurality of layout units having the same node information as a given one of the assessment nodes in the target layout unit are defined as a homogeneous node group, the determining whether to perform a position flip on the target layout unit based on the positional relationship comprising:
determining whether at least one of the assessment nodes in the target layout unit satisfies a first condition;
not flipping the target layout unit if the determination result is YES; and
flipping the target layout unit to exchange positions of the two assessment nodes if the determination result is NO;
wherein the first condition is that in the preset direction, the connection nodes in the homogeneous node group are distributed on one side of the given assessment node away from the other assessment node in the target layout unit.

### Claim 4 (depends on 3)

The method for layout placement and routing according to claim 3, wherein the determining whether to perform a position flip on the target layout unit based on the positional relationship comprises:
determining whether the assessment nodes at two ends of the target layout unit satisfy a second condition; and
not flipping the target layout unit if the determination result is YES;
wherein the second condition is that the connection nodes in the homogeneous node group are distributed on two sides of the given assessment node.

### Claim 5 (depends on 3)

The method for layout placement and routing according to claim 3, wherein the determining whether to perform a position flip on the target layout unit based on the positional relationship comprises:
determining whether the assessment nodes at the two ends of the target layout unit satisfy a second condition, wherein the second condition is that the connection nodes in the homogeneous node group are distributed on two sides of the given assessment node;
flipping the target layout unit if the determination result is YES;
determining whether a length of the routing in a layout before flip is less than or equal to that of the routing in the layout after the flip;
flipping the target layout unit again if the determination result is YES; and
not flipping the target layout unit if the determination result is NO.

### Claim 6 (depends on 3)

The method for layout placement and routing according to claim 3, wherein before performing the routing, the method further comprises:
traversing all the plurality of layout units until each of the plurality of layout units completes the step of determining whether to perform a position flip on the target layout unit.

### Claim 7 (depends on 6)

The method for layout placement and routing according to claim 6, wherein all the plurality of layout units are traversed in sequence in the preset direction.

### Claim 8 (depends on 1)

The method for layout placement and routing according to claim 1, wherein any one of the plurality of layout units is determined as the target layout unit, the two assessment nodes in the target layout unit being determined as a first assessment node and a second assessment node respectively; in the preset direction, rest of the plurality of connection nodes having the same node information as the first assessment node being defined as a first homogeneous node group, and rest of the plurality of connection nodes having the same node information as the second assessment node being defined as a second homogeneous node group;
the obtaining position information of the assessment nodes in the target layout unit comprises:
obtaining first position information of the first assessment node, and obtaining second position information of the second assessment node;
the determining whether to perform a position flip on the target layout unit based on the positional relationship comprises:
determining whether the position information conforms to at least one of the first position information representing that the connection nodes in the first homogeneous node group being distributed on one side of the first assessment node away from the second assessment node and the second position information representing that the connection nodes in the second homogeneous node group being distributed on one side of the second assessment node away from the first assessment node; and
not flipping the target layout unit if the determination result is YES.

### Claim 9 (depends on 8)

The method for layout placement and routing according to claim 8, wherein the determining whether to perform a position flip on the target layout unit based on the positional relationship further comprises:
determining whether the position information conforms to the first position information representing that the connection nodes in the first homogeneous node group being distributed on two sides of the first assessment node and the connection nodes in the second homogeneous node group being distributed on two sides of the second assessment node; and
not flipping the target layout unit if the determination result is YES.

### Claim 10 (depends on 8)

The method for layout placement and routing according to claim 8, wherein the determining whether to perform a position flip on the target layout unit based on the positional relationship further comprises:
flipping the target layout unit to exchange positions of the first assessment node and the second assessment node if the determination result is NO.

### Claim 11 (depends on 1)

The method for layout placement and routing according to claim 1, wherein the generating a plurality of layout units arranged along a preset direction comprises:
dividing the schematic circuit diagram into a plurality of circuit units according to functions; and
generating a given one of the plurality of layout units corresponding to each of the plurality of circuit units by means of a physical layout unit library.

### Claim 12 (depends on 11)

The method for layout placement and routing according to claim 11, wherein the generating a given one of the plurality of layout units corresponding to each of the plurality of circuit units by means of a physical layout unit library comprises:
obtaining circuit data and layout data based on the circuit unit;
obtaining all circuit node information based on the circuit data;
obtaining all layout node information based on the layout data; and
generating the given layout unit based on the circuit node information and the layout node information, and the node information of the plurality of connection node being generated based on the circuit node information and the layout node information.

### Claim 13 (depends on 1)

The method for layout placement and routing according to claim 1, wherein the node information comprises an input port and/or an output port.

### Claim 14

A circuit layout, comprising:
a plurality of circuit units arranged along a preset direction, each of the plurality of circuit units having a plurality of connection nodes arranged along the preset direction, each of the plurality of connection nodes having corresponding node information, and two of the plurality of connection nodes at two ends of each of the plurality of circuit units being defined as assessment nodes;
wherein at least one of the plurality of circuit units serves as a first target circuit unit, and in the preset direction, the connection nodes in rest of the plurality of circuit units having same node information as a given one of the assessment nodes in the first target circuit unit being defined as a homogeneous node group, and the homogeneous node group being distributed on one side of the given assessment node away from the other assessment node in the first target circuit unit; and
a routing configured to electrically connect the connection nodes having the same node information.

### Claim 15 (depends on 14)

The circuit layout according to claim 14, further comprising: at least one of the plurality of circuit units serving as a second target circuit unit, for the second target circuit unit, in the preset direction, the connection nodes in the rest of the plurality of circuit units having the same node information as the given assessment node in the second target circuit unit being distributed on two sides of the given assessment node.

### Claim 16 (depends on 14)

The circuit layout according to claim 14, wherein the node information comprises an input port and/or an output port.

### Claim 17

An electronic device, comprising:
at least one processor; and
a memory communicatively connected to the at least one processor; wherein
the memory stores instructions executable by the at least one processor, and the instructions are executable by the at least one processor, whereby the at least one processor is configured to perform a method for layout placement and routing, wherein the method comprises:
generating a plurality of layout units arranged along a preset direction based on a schematic circuit diagram, each of the plurality of layout units having a plurality of connection nodes, each of the plurality of connection nodes having corresponding node information, and two of the plurality of connection nodes at two ends of each of the plurality of layout units being defined as assessment nodes;
determining any one of the plurality of layout units as a target layout unit, and obtaining position information of the assessment nodes in the target layout unit, the position information being configured for representing a positional relationship between the connection nodes in rest of the plurality of layout units having same node information as the assessment nodes in the target layout unit and the assessment nodes;
determining whether to perform a position flip on the target layout unit based on the positional relationship, and flipping the target layout unit if the determination result is YES, such that the position information of the target layout unit flipped satisfies a preset condition; and
performing routing to electrically connect the connection nodes having the same node information.

### Claim 18 (depends on 1)

A computer-readable storage medium storing a computer program thereon, wherein the computer program is configured to be executable by a processor to implement the method for layout placement and routing according to claim 1.
