# US 8,578,306 B2 · Method and apparatus for performing asynchronous and synchronous reset removal during synthesis

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

- Number: US 8,578,306 B2
- Document ID: US8578306B2
- Status: Granted
- Kind: B2
- Application number: 12/800,227
- Filed: 2010-05-11
- Published: 2011-11-17
- Granted: 2013-11-05
- Earliest claimed: 2010-05-11
- Assignees: Altera Corporation
- Applicants: Valavan Manohararajah
- Inventors: Valavan Manohararajah
- Web page: https://patentgrep.com/patent/US8578306B2

## CPC

- G06F 30/327: Logic synthesis; Behaviour synthesis, e.g. mapping logic, HDL to netlist, high-level language to RTL or netlist
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for designing a system on a target device is disclosed. A system is synthesized by converting a high level description of the system into gates, registers, and reset circuitry. An analysis is performed to identify and remove redundant reset circuitry. The system is optimized after the redundant reset circuitry has been removed. Other embodiments are disclosed.

## Claims

### Claim 1

A method for designing a system on a target device, comprising:
identifying a register set in the system with a common reset signal;
for each register in the register set, identifying a corresponding redundant portion of the system upon applying a reset condition on the register;
determining a cost for each register based on an amount of redundancy of the system reflected in the redundant portion of the system identified; and
for each register in the register set that does not correspond to a reset that has been removed, from highest to lowest cost order, remove the reset signal coupled to the identified corresponding redundant portion to the register.

### Claim 2 (depends on 1)

The method of claim 1, wherein the reset signal is an asynchronous reset signal.

### Claim 3 (depends on 1)

The method of claim 1, wherein the reset signal is a synchronous reset signal.

### Claim 4 (depends on 1)

The method of claim 1, wherein identifying the register set comprises identifying at least a predetermined number of registers.

### Claim 5 (depends on 4)

The method of claim 4 wherein the predetermined number is in the magnitude of a hundred thousand.

### Claim 6 (depends on 1)

The method of claim 1, wherein determining a cost for each register based on the redundant portion of the system identified comprises accounting for a fraction of the system that becomes redundant.

### Claim 7 (depends on 1)

The method of claim 1, wherein determining a cost for each register based on the redundant portion of the system identified comprises accounting for a number of logic gates, registers, and wires that become redundant.

### Claim 8 (depends on 1)

The method of claim 1, wherein determining a cost for each register based on the redundant portion of the system identified comprises accounting for a depth of circuitry that becomes redundant.

### Claim 9 (depends on 3)

The method of claim 3, further comprising identifying a synchronous reset signal.

### Claim 10 (depends on 9)

The method of claim 9, wherein identifying a synchronous reset signal comprises:
identify a signal with a fanout greater than a first threshold value;
identify a first number of registers with inputs that are constant when assigning a value of 1 to the signal;
identify a second number of registers with inputs that are constant when assigning a value of 0 to the signal; and
if either the first number or second number is larger than a second threshold value, designate the signal as a synchronous reset signal.

### Claim 11 (depends on 3)

The method of claim 3, wherein removing the reset signal comprises tracing backwards from a register through single fanout nodes to a synchronous reset signal and setting the reset signal to an opposite value.

### Claim 12 (depends on 1)

The method of claim 1, further comprising performing optimizations on the system after removing the reset signal.

### Claim 13 (depends on 12)

The method of claim 12, further comprising:
placing the system on the target device; and
routing the system on the target device.

### Claim 14

A non-transitory computer-readable medium having stored thereon sequences of instructions, the sequences of instructions when executed by a processor causes the processor to perform:
synthesizing a system by converting a high level description of the system into gates, registers, and reset circuitry;
identifying a register set in the system with a common reset signal;
for each register in the register set, identifying a corresponding redundant portion of the system upon applying a reset condition on the register;
determining a cost for each register based on the redundant portion of the system identified; and
for each register in the register set that does not correspond to a reset that has been removed, from highest to lowest cost order, remove the reset signal coupled to the identified corresponding redundant portion to the register; and
optimizing the system after the redundant reset circuitry has been removed.

### Claim 15 (depends on 14)

The non-transitory computer-readable medium of claim 14, wherein reset circuitry associated with asynchronous reset signals are identified and removed before reset circuitry associated with synchronous reset signals.

### Claim 16 (depends on 14)

The non-transitory computer-readable medium of claim 14, wherein identifying the register set comprises identifying at least a predetermined number of registers.

### Claim 17 (depends on 14)

The non-transitory computer-readable medium of claim 14, wherein determining a cost for each register based on the redundant portion of the system identified comprises accounting for a fraction of the system that becomes redundant.

### Claim 18 (depends on 14)

The non-transitory computer-readable medium of claim 14, wherein determining a cost for each register based on the redundant portion of the system identified comprises accounting for a depth of circuitry that becomes redundant.

### Claim 19 (depends on 14)

The non-transitory computer-readable medium of claim 14, further comprising identifying a synchronous reset signal.

### Claim 20 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein identifying a synchronous reset signal comprises:
identify a signal with a fanout greater than a first threshold value;
identify a first number of registers with inputs that are constant when assigning a value of 1 to the signal;
identify a second number of registers with inputs that are constant when assigning a value of 0 to the signal; and
if either the first number or second number is larger than a second threshold value, designate the signal as a synchronous reset signal.

### Claim 21 (depends on 14)

The non-transitory computer-readable medium of claim 14, further comprising:
placing the system on the target device; and
routing the system on the target device.

### Claim 22

A system designer, comprising:
a redundant portion identification unit operable to identify a plurality of registers in the system with a common reset signal, and operable to identify for each register in the plurality of registers a corresponding redundant portion of the system upon applying a reset condition on the register;
a cost computation unit operable to determine a cost for each register based on an amount of redundancy of the system reflected in the redundant portion of the system identified; and
a reset removal unit operable to remove the reset signal coupled to the identified corresponding redundant portion to the register for each register in the plurality of registers that does not correspond to a reset that has been removed, from highest to lowest cost order.

### Claim 23 (depends on 22)

The system designer of claim 22, wherein the cost comprises a cost value based upon a fraction of the system that becomes redundant.

### Claim 24 (depends on 22)

The system designer of claim 22, wherein the cost comprises a cost value based upon a number of logic gates, registers, and wires that become redundant.

### Claim 25 (depends on 22)

The system designer of claim 22, wherein the cost comprises a cost value based upon a depth of circuitry that becomes redundant.

### Claim 26 (depends on 22)

The system designer of claim 22, further comprising a reset identification unit to identify a synchronous reset signal.

### Claim 27 (depends on 22)

The system designer of claim 22, wherein the redundant portion identification unit, cost computation unit, and reset removal unit reside in a synthesis unit that performs optimizations on the system after resets have been removed.
