# US 2025/0165687 A1 · Design method for flip-flop unit

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

- Number: US 2025/0165687 A1
- Document ID: US20250165687A1
- Status: Published application
- Kind: A1
- Application number: 18/832,270
- Filed: 2023-03-09
- Published: 2025-05-22
- Earliest claimed: 2022-01-28
- Assignees: Hangzhou Silan Microelectronics Co., Ltd.
- Applicants: Hangzhou Silan Microelectronics Co., Ltd.
- Inventors: Weiquan Song; Xiangdong Chen
- Web page: https://patentgrep.com/patent/US20250165687A1

## CPC

- G06F 30/327: Logic synthesis; Behaviour synthesis, e.g. mapping logic, HDL to netlist, high-level language to RTL or netlist
- G06F 30/33: Design verification, e.g. functional simulation or model checking
- G06F 30/3312: Timing analysis
- H03K 3/037: Bistable circuits
- H03K 19/0016: {by using a control or a clock signal, e.g. in order to apply power supply}
- G06F 2117/04: Clock gating
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

Disclosed is a flip-flop unit design method comprising: analyzing signal delay of a clock control signal in a digital circuit; selecting a clock gating circuit among a plurality of types of clock gating circuits according to the signal delay, and coupling at least one edge-triggered flip-flop and the selected clock gating circuit to be a flip-flop unit, wherein the plurality of types of clock gating circuits enable or disable a first clock signal according to the clock control signal to generate a second clock signal, and the edge-triggered flip-flop transmits data at an edge of the second clock signal. The design method eliminates the glitch in the clock signal generated by the clock gating circuit, reduces the number of logic devices of the clock gating circuit, reduces the power consumption of the clock gating circuit. The design method is applicable to a flip-flop group with any number of edge-triggered flip-flops.

## Claims

### Claim 1

A design method for a flip-flop unit, comprising:
analyzing signal delay of a clock control signal in a digital circuit;
selecting a clock gating circuit among a plurality of types of clock gating circuits according to the signal delay of the clock control signal, and
coupling at least one edge-triggered flip-flop and the selected clock gating circuit to be a flip-flop unit,
wherein the plurality of types of clock gating circuits enable or disable a first clock signal according to the clock control signal to generate a second clock signal, and the edge-triggered flip-flop transmits data at an edge of the second clock signal.

### Claim 2 (depends on 1)

The design method according to claim 1, wherein the plurality of types of clock gating circuits include at least one of a first clock gating circuit and a second clock gating circuit, wherein the first clock gating circuit and the second clock gating circuit maintain the second clock signal at a predetermined level at least in a clock cycle during which the clock control signal is flipped from a valid state to an invalid state.

### Claim 3 (depends on 2)

The design method according to claim 2, wherein the first clock gating circuit and the second clock gating circuit maintain the second clock signal at the predetermined level in clock cycles during which the clock control signal maintains an invalid state.

### Claim 4 (depends on 2)

The design method according to claim 2, wherein the first clock gating circuit and the second clock gating circuit copy the first clock signal as the second clock signal in a clock cycle during which the clock control signal is flipped from an invalid state to a valid state.

### Claim 5 (depends on 2)

The design method according to claim 2, wherein the first clock gating circuit and the second clock gating circuit copy the first clock signal as the second clock signal in clock cycles during which the clock control signal maintains a valid state.

### Claim 6 (depends on 2)

The design method according to claim 2, wherein the first clock gating circuit performs a logical OR operation on an inverted signal of the clock control signal and the first clock signal to generate the second clock signal.

### Claim 7 (depends on 2)

The design method according to claim 2, wherein the second clock gating circuit performs a logical AND operation on the clock control signal and the first clock signal to generate the second clock signal.

### Claim 8 (depends on 2)

The design method according to claim 2, wherein the plurality of types of clock gating circuits further comprises a third clock gating circuit,
wherein the third clock gating circuit maintains the second clock signal at a predetermined level at least in a next clock cycle following the clock cycle during which the clock control signal is flipped from a valid state to an invalid state.

### Claim 9 (depends on 8)

The design method according to claim 8, wherein the third clock gating circuit performs a logical AND operation on a latched signal of the clock control signal and the first clock signal to generate the second clock signal.

### Claim 10 (depends on 8)

The design method according to claim 8, wherein the signal delay of the clock control signal varies within a range between a minimum delay and a maximum delay.

### Claim 11 (depends on 10)

The design method according to claim 10, wherein in a case that both the minimum delay and the maximum delay occur in a first-level phase of the first clock signal, one of the first clock gating circuit and the second clock gating circuit is selected according to a starting edge at the first-level phase.

### Claim 12 (depends on 11)

The design method according to claim 11, wherein the selected clock gating circuit is the first clock gating circuit in a case that the starting edge at the first-level phase is a rising edge.

### Claim 13 (depends on 11)

The design method according to claim 11, wherein the selected clock gating circuit is the second clock gating circuit in a case that the starting edge at the first-level phase is a falling edge.

### Claim 14 (depends on 11)

The design method according to claim 11, wherein the predetermined level is a level of the first-level phase.

### Claim 15 (depends on 10)

The design method according to claim 10, wherein in a case that the minimum delay and the maximum delay occur respectively in a first-level phase and a second-level phase of the first clock signal, the selected clock gating circuit is the third clock gating circuit.

### Claim 16 (depends on 15)

The design method according to claim 15, wherein the predetermined level is a level of the second-level phase.

### Claim 17 (depends on 2)

The design method according to claim 2, wherein the step of coupling to be the flip-flop unit comprises selecting clock cycles during which the edge-triggered flip-flop transmits data according to the type of the selected clock gating circuit and the type of the edge-triggered flip-flop.

### Claim 18 (depends on 17)

The design method according to claim 17, wherein the second clock signal provides a triggering edge of the edge-triggered flip-flop in a clock cycle during which the clock control signal is flipped, in a case that a starting edge at the first-level phase is the same as the triggering edge of the edge-triggered flip-flop.

### Claim 19 (depends on 17)

The design method according to claim 17, wherein the second clock signal provides a triggering edge of the edge-triggered flip-flop in a clock cycle preceding a clock cycle during which the clock control signal is flipped, in a case that a starting edge at the first-level phase is opposite to the triggering edge of the edge-triggered flip-flop.

### Claim 20 (depends on 2)

The design method according to claim 2, wherein the step of coupling to be the flip-flop unit comprises inverting the second clock signal to generate a third clock signal.

### Claim 21 (depends on 20)

The design method according to claim 20, wherein the second clock signal provides a triggering edge of the edge-triggered flip-flop in a clock cycle during which the clock control signal is flipped, in a case that a starting edge at the first-level phase is the same as the triggering edge of the edge-triggered flip-flop.

### Claim 22 (depends on 20)

The design method according to claim 20, wherein the third clock signal provides a triggering edge of the edge-triggered flip-flop in a clock cycle during which the clock control signal is flipped, in a case that a starting edge at the first-level phase is opposite to the triggering edge of the edge-triggered flip-flop.

### Claim 23 (depends on 1)

The design method according to claim 1, wherein a high level of the clock control signal indicates a valid state, and a low level of the clock control signal indicates an invalid state.
