# US 2019/0243930 A1 · Methods and Apparatus for Transforming the Function of an Integrated Circuit

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

- Number: US 2019/0243930 A1
- Document ID: US20190243930A1
- Status: Published application
- Kind: A1
- Application number: 16/384,962
- Filed: 2019-04-16
- Published: 2019-08-08
- Earliest claimed: 2016-01-22
- Inventors: Yu-Liang WU
- Web page: https://patentgrep.com/patent/US20190243930A1

## CPC

- G06F 30/327: Logic synthesis; Behaviour synthesis, e.g. mapping logic, HDL to netlist, high-level language to RTL or netlist
- G06F 21/554: {involving event detection and direct action}
- G06F 21/568: {eliminating virus, restoring damaged files}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method to transform the function of a circuit is provided. The method provides a first register-transfer level (RTL) document and a second RTL document, provides a first gate level (GTL) netlist and a second GTL netlist, compares the two RTL documents to identify the instances to be modified, locates the instances to be modified in the first GTL netlist, and transforms the function of the circuit by patching the circuit such that the patched first GTL netlist is equivalent to the second GTL netlist. The method improves performance and efficiency of the transformation by reducing the number of instances to be input into the engineering change order (ECO) engine, and also minimizes change in circuit design.

## Claims

### Claim 1

A method executed by a computer system to transform the function of a circuit, the method comprising:
providing a first register-transfer level (RTL) document of the circuit, the first RTL document being of an original specification;
providing a second RTL document of the circuit, the second RTL document being of a revised specification wherein the revised specification is modified from the original specification and has a transformed function from the original specification;
generating a first gate level (GTL) netlist of the circuit from the first RTL document;
generating a second GTL netlist of the circuit from the second RTL document;
identifying, by the computer system, a list of instances in the circuit to be modified by comparing the first RTL document with the second RTL document;
locating, by the computer system, a list of modules in the circuit to be patched based on the list of instances to be modified and the first GTL netlist and a second list of modules to be preserved based on the list of instances to be modified and the first GTL netlist;
transforming, by the computer system and an engineering change order (ECO) engine, the function of the circuit by patching the list of modules, wherein a GTL netlist of the patched circuit is equivalent to the second GTL netlist.

### Claim 2 (depends on 1)

The method of claim 1, wherein the locating step comprises:
searching the first GTL netlist for the list of instances in the first RTL document;
determining a first group of modules to be patched based on the list of instances;
traversing the first group of modules to determine a second group of modules affected by the patching of the first group of modules; and
repeating the traversing step until no more modules are further determined to be affected,
wherein the first list of modules comprises the first group of modules and the second group of modules, and the second list of modules comprises modules determined to be not affected.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
identifying, by the computer system, signals that need to be modified by comparing the first RTL documents with the second RTL documents.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
specifying, by the computer system and using hardware description language, signals to be modified in the first GTL netlist and corresponding signals in the second GTL netlist to locate the first list of modules.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
preserving, by the computer system, multi-bit registers in the circuit in the second list of modules when function of the multi-bit registers are changed.

### Claim 6 (depends on 1)

The method of claim 1, wherein the patching is applied on the first GTL netlist.

### Claim 7 (depends on 1)

The method of claim 1, wherein the patching is applied on the first GTL netlist after placement and routing.

### Claim 8 (depends on 1)

The method of claim 1, wherein the patching comprises at least one of rewiring, rewriting, technology mapping and cut sweeping and one or more logic synthesis techniques.

### Claim 9

A computer system that identifies and locates modules to be patched in a circuit to transforms the function of the circuit, wherein the circuit has a first register-transfer level (RTL) document and a first gate level (GTL) netlist being of an original specification, and has a second RTL document and a second GTL netlist being of a revised specification, the computer system comprising:
a processor;
a non-transitory computer-readable medium having stored therein instructions that when executed cause the processor to:
identify a list of instances in the circuit to be modified by comparing the first RTL document with the second RTL document;
locate a first list of modules in the circuit to be patched and a second list of modules to be preserved based on the list of instances to be modified and the first GTL netlist; and
transform, along with an engineering change order (ECO) engine, the function of the circuit by patching the list of modules, wherein a GTL netlist of the patched circuit is equivalent to the second GTL netlist.

### Claim 10 (depends on 9)

The computer system of claim 9, wherein the instructions when executed further cause the processor to:
search the first GTL netlist for the list of instances in the first RTL document;
determine a first group of modules to be patched based on the list of instances;
traverse the first group of modules to determine a second group of modules affected by patching of the first group of modules; and
repeat the traversal until no more modules are further determined to be affected,
wherein the first list of modules includes the first group of modules and the second group of modules and the second list of modules includes modules determined to be not affected.

### Claim 11 (depends on 9)

The computer system of claim 9, wherein the instructions when executed further cause the processor to:
identify signals that need to be modified by comparing the first RTL documents with the second RTL document.

### Claim 12 (depends on 9)

The computer system of claim 9, wherein the instructions when executed further cause the processor to:
locate a first list of modules in the circuit to be patched based on signals in the first GTL netlist and corresponding signals in the second GTL netlist.

### Claim 13 (depends on 9)

The computer system of claim 9, wherein the instructions when executed further cause the processor to:
preserve multi-bit registers in the circuit in the second list of modules when functions of the multi-bit registers are changed.

### Claim 14 (depends on 9)

The computer system of claim 9, wherein the instructions when executed further cause the processor to:
Specify the list of modules to be patched using hardware description language (HDL).

### Claim 15 (depends on 9)

The computer system of claim 9, wherein the patching includes at least one of rewiring, rewriting, technology mapping and cut sweeping.

### Claim 16

A computer-implemented method that improves performance of a computer system to transform the function of a circuit, the method comprising:
receiving, by the computer system, a first register-transfer level (RTL) document of the circuit, the first RTL document being of an original specification;
receiving, by the computer system, a second RTL document of the circuit, the second RTL document being of a revised specification, where the revised specification is modified from the original specification and has a transformed function from the original specification;
generating, by the computer system, a first gate level (GTL) netlist of the circuit from the first RTL document;
generating, by the computer system, a second GTL netlist of the circuit from the second RTL document;
identifying, by the computer system, a list of instances in the circuit to be modified by comparing the first RTL document with the second RTL document;
improving performance of the computer system by locating, by the computer system, a first list of modules in the circuit to be patched and a second list of modules to be preserved based on the list of instances to be modified and the first GTL netlist; and
transforming, by the computer system and an engineering change order (ECO) engine, the function of the circuit by patching the first list of modules,
wherein a GTL netlist of the patched circuit is equivalent to the second GTL netlist; and the preservation of the second list of modules reduces resource usage of the computer system in the transformation.

### Claim 17 (depends on 16)

The method of claim 16, wherein the locating step comprises:
searching the first GTL netlist for the list of instances in the first RTL document;
determining a first group of modules to be patched based on the list of instances;
traversing the first group of modules to determine a second group of modules affected by the patching of the first group of modules; and
repeating the traversing step until no more modules are further determined to be affected,
wherein the first list of modules includes the first group of modules and the second group of modules; and the second list of modules includes modules determined to be not affected.

### Claim 18 (depends on 16)

The method of claim 16, further comprising:
identifying, by the computer system, signals that need to be modified by comparing the first RTL documents with the second RTL documents.

### Claim 19 (depends on 16)

The method of claim 16, further comprising:
specifying, by the computer system and using hardware description language, a first list of modules in the circuit to be patched based on signals to be modified in the first GTL netlist and corresponding signals in the second GTL netlist.

### Claim 20 (depends on 16)

The method of claim 16, further comprising:
preserving, by the computer system, multi-bit registers in the circuit in the second list of modules when functions of the multi-bit registers are changed.
