# US 2024/0403527 A1 · Automatic compilation method and framework for generating a layout of integrated memory-compute circuit

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

- Number: US 2024/0403527 A1
- Document ID: US20240403527A1
- Status: Published application
- Kind: A1
- Application number: 18/327,041
- Filed: 2023-05-31
- Published: 2024-12-05
- Earliest claimed: 2023-05-31
- Assignees: AI Chip Center for Emerging Smart Systems Limited
- Applicants: AI Chip Center for Emerging Smart Systems Limited
- Inventors: Jia CHEN; Fengbin TU; Xiao HUO
- Web page: https://patentgrep.com/patent/US20240403527A1

## CPC

- G06F 30/3323: using formal methods, e.g. equivalence checking or property checking
- G06F 30/327: Logic synthesis; Behaviour synthesis, e.g. mapping logic, HDL to netlist, high-level language to RTL or netlist
- G06F 30/347: Physical level, e.g. placement or routing
- G06F 30/337: Design optimisation
- G06F 30/367: Design verification, e.g. using simulation, simulation program with integrated circuit emphasis [SPICE], direct methods or relaxation methods
- G06F 30/373: Design optimisation
- G06F 30/394: Routing (G06F30/396 takes precedence)
- G06F 30/398: Design verification or optimisation, e.g. using design rule check [DRC], layout versus schematics [LVS] or finite element methods [FEM] (optical proximity correction [OPC] design processes G03F1/36)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An automatic compilation method and framework for generating a layout for an integrated memory-compute circuit design is provided. The automatic compilation method comprises: constructing a design database with at least one basic design library and a collection of referencing architecture templates; receiving a user specification associated with the integrated memory-compute circuit design; selecting a referencing architecture template from the design database and parameterizing the selected architecture template according to the received user specification to generate an architecture for the integrated memory-compute circuit design; generating a physical layout based on the generated architecture according to one or more placement-and-routing algorithms; iterating a design exploration loop on the generated layout with one or more expertise experience-based optimization schemes to obtain one or more explored physical layouts; and evaluating hardware metrics of the one or more explored physical layouts to determine an optimal physical layout.

## Claims

### Claim 1

An automatic compilation method for generating a layout for an integrated memory-compute circuit design, the method comprising:
constructing a design database with at least one basic design library and a collection of referencing architecture templates;
receiving a user specification associated with the integrated memory-compute circuit design;
selecting a referencing architecture template from the design database and parameterizing the selected architecture template according to the received user specification to generate an architecture for the integrated memory-compute circuit design;
generating a physical layout based on the generated architecture according to one or more placement-and-routing algorithms;
iterating a design exploration loop on the generated layout with one or more expertise experience-based optimization schemes to obtain one or more explored physical layouts; and
evaluating hardware metrics of the one or more explored physical layouts under one or more constraint conditions to determine an optimal physical layout.

### Claim 2 (depends on 1)

The automatic compilation method according to claim 1, wherein the basic design library includes designs of memory cells, local logic elements and peripheral circuits.

### Claim 3 (depends on 2)

The automatic compilation method according to claim 2, wherein the memory cells are volatile memory cells or non-volatile memory cells.

### Claim 4 (depends on 2)

The automatic compilation method according to claim 2, wherein the local logic elements include multiplier and/or partial-sum adder.

### Claim 5 (depends on 2)

The automatic compilation method according to claim 2, wherein the peripheral circuits include row/column driver, shift accumulator, precision fusion unit, and/or controller.

### Claim 6 (depends on 1)

The automatic compilation method according to claim 1, wherein the referencing architecture templates include architecture templates abstracted from expert experience-based or user-defined architecture designs.

### Claim 7 (depends on 1)

The automatic compilation method according to claim 1, wherein the user specification includes a computer readable code and one or more constraints on the integrated memory-compute circuit design.

### Claim 8 (depends on 1)

The automatic compilation method according to claim 1, wherein the expertise experience-based optimization schemes include one or more memory cell array partitioning schemes.

### Claim 9 (depends on 8)

The automatic compilation method according to claim 8, wherein the one or more memory cell array partitioning schemes have different subarray granularities of partitioning or different orientation of partitioning.

### Claim 10 (depends on 1)

The automatic compilation method according to claim 1, wherein the one or more constraint conditions include area-priority condition or critical path latency-priority condition.

### Claim 11

An automatic compilation framework for generating a layout for an integrated memory-compute circuit design, the framework comprising:
a database constructed with at least one basic design library and a collection of referencing architecture templates;
an automatic layout generator comprising:
an architecture generator configured to: receive a user specification associated with the integrated memory-compute circuit design; select a referencing architecture template from the design database and parameterize the selected architecture template according to the received user specification to generate an architecture for the integrated memory-compute circuit design; and
a placement & routing processor configured to: generate a physical layout based on the generated architecture according to one or more placement-and-routing algorithms;
a design explorer configured to iterate a design exploration loop on the generated layout with one or more expertise experience-based optimization schemes to obtain one or more explored physical layouts; and
a hardware performance evaluator configured to evaluate hardware metrics of the one or more explored physical layouts under one or more constraint conditions to determine an optimal physical layout.

### Claim 12 (depends on 11)

The automatic compilation framework according to claim 11, wherein the basic design library includes designs of memory cells, local logic elements and peripheral circuits.

### Claim 13 (depends on 12)

The automatic compilation framework according to claim 12, wherein the memory cells are volatile memory cells or non-volatile memory cells.

### Claim 14 (depends on 12)

The automatic compilation framework according to claim 12, wherein the local logic elements include multiplier and/or partial-sum adder.

### Claim 15 (depends on 12)

The automatic compilation framework according to claim 12, wherein the peripheral circuits include row/column driver, shift accumulator, precision fusion unit, and/or controller.

### Claim 16 (depends on 11)

The automatic compilation framework according to claim 11, wherein the referencing architecture templates include architecture templates abstracted from expert experience-based or user-defined architecture designs.

### Claim 17 (depends on 11)

The automatic compilation framework according to claim 11, wherein the user specification includes a computer readable code and one or more constraints on the integrated memory-compute circuit design.

### Claim 18 (depends on 11)

The automatic compilation framework according to claim 11, wherein the expertise experience-based optimization schemes include one or more memory cell array partitioning schemes.

### Claim 19 (depends on 18)

The automatic compilation framework according to claim 18, wherein the one or more memory cell array partitioning schemes have different subarray granularities of partitioning or different orientation of partitioning.

### Claim 20 (depends on 11)

The automatic compilation framework according to claim 11, wherein the one or more constraint conditions include area-priority condition or critical path latency-priority condition.
