# US 2021/0341962 A1 · Apparatus for adjusting skew of circuit signal and adjusting method thereof

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

- Number: US 2021/0341962 A1
- Document ID: US20210341962A1
- Status: Published application
- Kind: A1
- Application number: 16/921,950
- Filed: 2020-07-07
- Published: 2021-11-04
- Earliest claimed: 2020-04-30
- Assignees: Global Unichip Corporation; Taiwan Semiconductor Manufacturing Company, Ltd.
- Applicants: Global Unichip Corporation; Taiwan Semiconductor Manufacturing Co., Ltd.
- Inventors: Tse-Wei Wu; Chen-Yuan Kao; Min-Hsiu Tsai
- Web page: https://patentgrep.com/patent/US20210341962A1

## CPC

- G06F 1/10: Distribution of clock signals {, e.g. skew}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An apparatus for adjusting skew of circuit signal and an adjusting method thereof are provided. The adjusting method includes: providing a controller for executing: based on each of a plurality of clock signals, dividing a circuit to generate a plurality of circuit partitions according to a netlist of the circuit; grouping the circuit partitions to respectively generate a plurality of circuit groups; identifying adjacent states of layout areas of the circuit groups; and, adjusting a skew value of each of the circuit groups according to the adjacent states.

## Claims

### Claim 1

A circuit signal skew adjusting method, comprising:
providing a controller to perform:
dividing, according to a netlist of a circuit, the circuit to generate a plurality of circuit partitions based on each of a plurality of clock signals;
grouping the plurality of circuit partitions respectively to obtain a plurality of circuit groups;
identifying an adjacent state of a layout area of the plurality of circuit groups; and
adjusting a skew value of each of the plurality of circuit groups according to the adjacent state.

### Claim 2 (depends on 1)

The adjusting method according to claim 1, wherein the circuit is divided according to a clock signal network of the netlist of the circuit to generate the plurality of circuit partitions.

### Claim 3 (depends on 1)

The adjusting method according to claim 1, wherein the step of dividing the circuit according to the netlist of the circuit to generate the plurality of circuit partitions comprises:
tracking each of the clock signals to find a plurality of branch ports, and establishing a plurality of branch nodes of the corresponding circuit partition according to the number of control registers or power consumption of the control registers of the plurality of branch ports.

### Claim 4 (depends on 3)

The adjusting method according to claim 3, wherein the step of establishing the plurality of branch nodes of the corresponding circuit partition according to the number of the control registers or power consumption of the control registers of the plurality of branch ports comprises:
comparing to determine whether the number of the control registers or the power consumption of the control registers of a first branch port is greater than a predetermined threshold; and
when the number of the control registers or the power consumption of the control registers of the first branch port is greater than the predetermined threshold, establishing a first branch node corresponding to the first branch port.

### Claim 5 (depends on 4)

The adjusting method according to claim 4, further comprising:
tracking at least one second branch port corresponding to the first branch port;
comparing to determine whether the number of control registers or power consumption of control registers of the at least one second branch port is greater than the predetermined threshold, when the number of the control registers or the power consumption of the control registers of the at least one second branch port is greater than the predetermined threshold, establishing at least one second branch node corresponding to the at least one second branch port.

### Claim 6 (depends on 1)

The adjusting method according to claim 1, wherein the step of grouping the plurality of circuit partitions respectively to obtain the plurality of circuit groups comprises:
establishing a corresponding partition tree for each of the circuit partitions, wherein the partition tree has a plurality of branch nodes, a plurality of branch nodes at bottom among the plurality of branch nodes respectively record a plurality of values, each of the values represents the number of control registers or power consumption of the control registers corresponding to each of the branch nodes; and
grouping the plurality of branch nodes based on uniformity of a sum of multiple group values of the plurality of circuit groups according to a partition algorithm.

### Claim 7 (depends on 6)

The adjusting method according to claim 6, wherein the uniformity of the sum of the multiple group values can be obtained according to a standard deviation of the sum of the multiple group values.

### Claim 8 (depends on 1)

The adjusting method according to claim 1, wherein the step of identifying the adjacent state of the layout area of the plurality of circuit groups comprises:
establishing a plurality of physical layout areas of a plurality of corresponding registers in the plurality of circuit groups in the circuit; and
executing a clustering analysis algorithm to generate multiple clusters based on the plurality of physical layout areas; and
establishing the adjacent state according to a distribution range of each of the multiple clusters.

### Claim 9 (depends on 8)

The adjusting method according to claim 8, wherein the step of adjusting the skew value of each of the plurality of circuit groups according to the adjacent state comprises:
calculating a plurality of maximum possible skew values of the plurality of circuit groups respectively;
creating a plurality of current-time tables based on delay information of the plurality of clock signals and power information;
based on the adjacent state, establishing a plurality of value matrices corresponding to a plurality of reference skew values according to the plurality of maximum possible skew values and the plurality of current-time tables; and
determining an adjustment value of the skew value of each of the plurality of circuit groups according to the plurality of value matrices.

### Claim 10 (depends on 9)

The adjusting method according to claim 9, wherein the plurality of value matrices respectively correspond to the adjustment reference values, and each of the value matrices records a total current value generated corresponding to each of the plurality of reference skew values between any two of the plurality of circuit groups.

### Claim 11 (depends on 9)

The adjusting method according to claim 9, wherein the step of establishing the plurality of value matrices corresponding to the plurality of reference skew values respectively according to the plurality of maximum possible skew values and the plurality of current-time tables comprises:
generating a plurality of total current values according to a comparison between the plurality of translated reference skew values based on any two of the current-time tables of the plurality of circuit groups; and
adjusting the plurality of total current values according to the adjacent state.

### Claim 12 (depends on 8)

The adjusting method according to claim 8, wherein the step of determining the adjustment value of the skew value of each of the plurality of circuit groups according to the plurality of value matrices comprises:
in the plurality of value matrices, adding the total current values corresponding to the plurality of circuit groups respectively, and obtaining a plurality of total area sums corresponding to the plurality of circuit groups respectively; and
determining a priority of an adjusting operation for the skew values of the plurality of circuit groups according to the magnitude of the total current values.

### Claim 13 (depends on 11)

The adjusting method according to claim 11, wherein the step of determining the adjustment value of the skew value of each of the plurality of circuit groups according to the plurality of value matrices further comprises:
based on the priority, calculating a plurality of partition sums of the total current values of each of the plurality of circuit groups respectively corresponding to the plurality of reference skew values; and
adjusting the skew value of each of the plurality of circuit groups according to the reference skew value corresponding to the lowest of the plurality of partition sums.

### Claim 14 (depends on 1)

The adjusting method according to claim 1, wherein the step of adjusting the skew value of each of the plurality of circuit groups according to the adjacent state further comprises:
adding at least one delay element to each of the plurality of circuit groups to adjust the skew value.

### Claim 15

A circuit signal skew adjusting apparatus, comprising:
a memory element; and
a controller, coupled to the memory element, and configured to:
divide, according to a netlist of a circuit, the circuit to generate a plurality of circuit partitions based on each of a plurality of clock signals;
group the plurality of circuit partitions respectively to obtain a plurality of circuit groups;
identify an adjacent state of a layout area of the plurality of circuit groups; and
adjust a skew value of each of the plurality of circuit groups according to the adjacent state.
