Clock gating circuit and operation method thereof

By designing optimized clock gating circuits in semiconductor integrated circuits, using NOR logic gates, transmission gates and cross-coupled transistors, the clock signal delay difference and power consumption issues are solved, achieving more efficient clock control and smaller area occupation. .

CN113141177BActive Publication Date: 2024-09-06TAIWAN SEMICONDUCTOR MANUFACTURING CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202110057326.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-11-11
Filing Date
2021-01-15
Publication Date
2024-09-06
Estimated Expiration
2041-01-15

AI Technical Summary

Technical Problem

In semiconductor integrated circuits, the delay difference of clock signals and the power consumption of the clock tree affect the performance and area of ​​the IC. As the IC shrinks and its complexity increases, the efficiency and density of the clock gating circuit become a bottleneck.

Method used

A clock gating circuit is designed, including NOR logic gates, transmission gates, cross-coupled transistors and inverters. By optimizing the configuration and connection of transistors, it reduces the number of transistors switched by the inverted input clock signal and reduces the dynamic clock power consumption, and reduces the total number of transistors and the area occupied.

Benefits of technology

It achieves lower dynamic clock power consumption and smaller area occupation, improves the efficiency and density of clock gating circuits, and is suitable for high-performance and low-power integrated circuit applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113141177B_ABST
    Figure CN113141177B_ABST
Patent Text Reader

Abstract

A clock gating circuit includes a NOR logic gate, a transmission gate, a cross-coupled pair of transistors, and a first transistor. The NOR logic gate is coupled to a first node, receives a first enable signal and a second enable signal, and outputs a first control signal. The transmission gate is coupled between the first node and the second node, receives a first control signal, an inverted clock input signal, and a clock output signal. The cross-coupled pair of transistors is coupled between the second node and the output node, and receives at least the second control signal. The first transistor includes: a first gate terminal configured to receive an inverted clock input signal; a first drain terminal coupled to the output node; and a first source terminal coupled to a reference power supply. The first transistor adjusts the clock output signal in response to the inverted clock input signal. Embodiments of the present invention also relate to a method of operating a clock gating circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to clock gating circuits and methods of operating the same. Background Art

[0002] The semiconductor integrated circuit (IC) industry has produced a wide variety of digital devices to solve problems in many different fields. Some of these digital devices, such as clock trees, are used to distribute common clock signals to various circuits in order to synchronize the operation of the various circuits. In some cases, the difference in the arrival time of the clock signal in two or more different circuits within the IC can cause errors that affect the performance of the IC. In addition, as ICs become smaller and more complex, the power consumption of the clock tree also affects the performance and area of ​​the IC. Summary of the invention

[0003] According to one aspect of an embodiment of the present invention, a clock gating circuit is provided, comprising: a NOR logic gate coupled to a first node and configured to receive a first enable signal and a second enable signal and output a first control signal; a transmission gate coupled between the first node and the second node, the transmission gate being configured to receive a first control signal, an inverted clock input signal and a clock output signal; a cross-coupled pair of transistors coupled between the second node and the output node and configured to receive at least the second control signal; and a first transistor of a first type, the first transistor comprising a first gate terminal, a first drain terminal and a first source terminal, the first gate terminal being configured to receive an inverted clock input signal, the first drain terminal being coupled to at least the output node, and the first source terminal being coupled to a reference power supply, the first transistor being configured to adjust the clock output signal in response to the inverted clock input signal.

[0004] According to another aspect of an embodiment of the present invention, a clock gating circuit includes: a NAND logic gate coupled to a first node and configured to receive a first enable signal and a second enable signal and output a first control signal; a transmission gate coupled to the NAND logic gate, the second node and the third node, the transmission gate configured to receive at least a clock input signal or a second control signal; a first inverter coupled between the third node and the output node and configured to generate a clock output signal in response to the second control signal; and a first transistor of a first type, the first transistor including a first gate terminal, a first drain terminal and a first source terminal, the first gate terminal configured to receive the clock input signal, the first source terminal coupled to a power supply, the first drain terminal coupled to at least the third node or the first inverter, and the first transistor configured to adjust at least the second control signal or the clock output signal in response to the clock input signal.

[0005] According to another aspect of an embodiment of the present invention, a method for operating a clock gating circuit comprises: disabling the clock gating circuit in response to at least a first enable signal or a second enable signal, wherein disabling the clock gating circuit comprises: generating a first control signal; enabling a first path between a first node and a second node by a transmission gate in response to at least a clock input signal or a second control signal; disabling a second path between a third node and a fourth node by a first transistor in response to a third control signal; enabling a third path between a second node and a fourth node by at least a second transistor in response to at least a third control signal; and setting a second control signal by a third transistor or a fourth transistor in response to at least the clock input signal; and outputting an output clock signal through an output node in response to at least the first enable signal or the second control signal; wherein the clock input signal does not correspond to the output clock signal. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] When read in conjunction with the accompanying drawings, various aspects of the present invention can be best understood from the following detailed description. It should be noted that, in accordance with standard practice in the industry, the various components are not drawn to scale. In fact, the size of the various components may be arbitrarily increased or reduced for clarity of discussion.

[0007] Figure 1A is a block diagram of an integrated circuit according to some embodiments.

[0008] Figure 1B According to some embodiments Figure 1A Figure 1 is a diagram of the waveform of the clock gating unit of an integrated circuit.

[0009] Figure 2A is a circuit diagram of a clock gating circuit according to some embodiments.

[0010] Figure 2B According to some embodiments Figure 2A Figure 2. Waveform diagram of a clock gating circuit.

[0011] Figure 3A is a circuit diagram of a clock gating circuit according to some embodiments.

[0012] Figure 3B According to some embodiments Figure 3A Figure 2. Waveform diagram of a clock gating circuit.

[0013] Figure 4 is a circuit diagram of an inverter 400 according to some embodiments.

[0014] Figure 5A is a circuit diagram of a clock gating circuit according to some embodiments.

[0015] Figure 5B According to some embodiments Figure 5A Figure 2. Waveform diagram of a clock gating circuit.

[0016] Fig. 6A is a circuit diagram of a clock gating circuit according to some embodiments.

[0017] Figure 6B According to some embodiments Fig. 6A Figure 2. Waveform diagram of a clock gating circuit.

[0018] Fig. 7A is a circuit diagram of a clock gating circuit according to some embodiments.

[0019] Figure 7B According to some embodiments Fig. 7A Figure 2. Waveform diagram of a clock gating circuit.

[0020] Figure 8A-8B is a flow chart of a method of operating a circuit according to some embodiments. DETAILED DESCRIPTION

[0021] The following disclosure provides different embodiments or examples for realizing the features of the provided subject matter. Specific examples of components, materials, values, steps, arrangements, etc. are described below to simplify the present invention. Of course, these are merely examples and are not restrictive. Other components, materials, values, steps, arrangements, etc. are also contemplated. For example, in the following description, forming a first component above or on a second component may include an embodiment in which the first component and the second component are directly contacted to form, and may also include an embodiment in which additional components may be formed between the first component and the second component, so that the first component and the second component may not be in direct contact. In addition, the present invention may repeat reference numerals and / or characters in various examples. This repetition is for the purpose of simplicity and clarity, and does not itself indicate the relationship between the various embodiments and / or configurations discussed.

[0022] Furthermore, for ease of description, spatially relative terms such as "below," "beneath," "lower," "above," "upper," etc. may be used herein to describe the relationship of one element or component to another (or additional) elements or components as shown in the figures. The spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. The device may be otherwise oriented (rotated 90 degrees or at other orientations), and the spatially relative descriptors used herein should likewise be interpreted accordingly.

[0023] According to some embodiments, a clock gating circuit includes a NOR logic gate, a transmission gate, a cross-coupled pair of transistors, and a first transistor. The NOR logic gate is coupled to a first node and is configured to receive a first enable signal and a second enable signal and output a first control signal. The transmission gate is coupled between the first node and the second node and is configured to receive a first control signal, an inverted clock input signal, and a clock output signal.

[0024] The transistors of the cross-coupled pair are coupled between the second node and the output node and are configured to receive at least a second control signal. The first transistor is configured to adjust the clock output signal in response to an inverted clock input signal. In some embodiments, the first transistor is of a first type. The first transistor includes a first gate terminal, a first drain terminal, and a first source terminal. The first gate terminal is configured to receive an inverted clock input signal. The first drain terminal is coupled to at least the output node. The first source terminal is coupled to a reference power supply.

[0025] By utilizing the clock gating circuit, the number of transistors switched by the inverted input clock signal is reduced compared to other clock gating circuits, resulting in the clock gating circuit consuming less dynamic clock power than other clock gating cells. In some embodiments, by utilizing the clock gating circuit, the total number of transistors is reduced compared to other clock gating cells, resulting in the clock gating circuit occupying less area than other clock gating cells.

[0026] integrated circuit

[0027] Figure 1A is a block diagram of an integrated circuit 100A according to some embodiments.

[0028] Integrated circuit 100A includes clock gating cell 102 , clock gating cell 104 , logic cell 106 , and logic cell 108 .

[0029] The clock gating cell 102 is coupled to the clock gating cell 104 and the logic cell 106. The clock gating cell 104 is coupled to the clock gating cell 102 and the logic cell 108.

[0030] The clock gating unit 102 is configured to receive an input clock signal CP0, a test enable signal TE0, and an enable signal E0. The clock gating unit 102 is configured to output an output clock signal Q0 at an output terminal. In some embodiments, the input clock signal CP0 is an oscillating signal having an oscillation frequency F0in. In some embodiments, the input clock signal CP0 is a single-phase clock. In some embodiments, the output clock signal Q0 is an oscillating signal having an oscillation frequency F0out.

[0031] In some embodiments, if the clock gating unit 102 is enabled or activated by the enable signal E0 or the test enable signal TE0, the output clock signal Q0 switches or oscillates at the oscillation frequency F0out, and the output clock signal Q0 is substantially equal to the input clock signal CP0. In some embodiments, substantially equal includes a value within a certain range of a reference value (e.g., ±5% of the reference value).

[0032] In some embodiments, if the clock gating unit 102 is disabled or deactivated by the enable signal E0 or the test enable signal TE0 , the output clock signal Q0 is fixed to a logic low signal or a logic high signal.

[0033] An input terminal of clock gating cell 104 is coupled to an output terminal of clock gating cell 102 and is configured to receive output clock signal Q0. In some embodiments, output clock signal Q0 corresponds to input clock signal CP1.

[0034] The clock gating unit 104 is configured to receive an input clock signal CP1, a test enable signal TE1, and an enable signal E1. The clock gating unit 104 is configured to output an output clock signal Q1 at an output terminal. In some embodiments, the input clock signal CP1 is an oscillating signal having an oscillation frequency F1in. In some embodiments, the input clock signal CP1 is a single-phase clock. In some embodiments, the output clock signal Q1 is an oscillating signal having an oscillation frequency F1out.

[0035] In some embodiments, if the clock gating unit 104 is enabled or activated by the enable signal E1 or the test enable signal TE1 , the output clock signal Q1 switches or oscillates at an oscillation frequency F1out and is substantially equal to the input clock signal CP1 .

[0036] In some embodiments, if the clock gating unit 104 is disabled or deactivated by the enable signal E1 or the test enable signal TE1 , the output clock signal Q1 is fixed to a logic low signal or a logic high signal.

[0037] In some embodiments, at least the clock gating cell 102 or 104 is an integrated clock gating (ICG) cell. Figure 1A Other numbers of clock gating cells 102 or 104 or clock tree branches are within the scope of the present invention.

[0038] Logic unit 106 is coupled to an output terminal of clock gating unit 102 and is configured to receive an output clock signal Q0 from clock gating unit 102. In some embodiments, logic unit 106 includes at least one or more flip-flops or one or more multi-bit flip-flops (MBFFs).

[0039] The logic unit 108 is coupled to the output terminal of the clock gating unit 104 and is configured to receive the output clock signal Q1 from the clock gating unit 104. In some embodiments, the logic unit 108 includes at least one or more flip-flops or one or more MBFFs.

[0040] Figure 1A Other numbers of logic cells 106 or 108 or other types of logic cells are within the scope of the present invention.

[0041] Figure 1B According to some embodiments Figure 1A FIG. 1 is a diagram of a waveform 100B of a clock gating cell 102 or 104 of an integrated circuit 100A.

[0042] Waveform 100B includes curves 120 , 122 , and 124 of signals in integrated circuit 100A.

[0043] In some embodiments, at least curve 120 represents Figure 1A The input clock signal CP0 or CP1; at least the curve 122 represents Figure 1A The enable signal E0 or E1; and curve 124 represents Figure 1A The output clock signal Q0 or Q1.

[0044] Before time T1 , curve 122 is logic 0 and therefore clock gating cell 102 or 104 is disabled or deactivated and curve 124 is fixed at logic 0. In other words, clock gating cell 102 or 104 is disabled by enable signal E0 or E1 and output clock signal Q0 or Q1 is fixed at logic 0.

[0045] At time T1 , curve 120 transitions to a logical 1.

[0046] At time T2, curve 120 completes the transition to logic 1, thereby enabling or activating the clock gating unit 102 or 104, and thus allowing the output clock signal Q0 or Q1 (e.g., curve 124) to switch or oscillate. In other words, the clock gating unit 102 or 104 is enabled by the enable signal E0 or E1, and the output clock signal Q0 or Q1 (curve 124) is substantially equal to the input clock signal CP0 or CP1 (curve 120) after time T2.

[0047] After time T3, the output clock signal Q0 or Q1 (curve 124) is substantially equal to the input clock signal CP0 or CP1 (curve 120) after time T2.

[0048] Figure 2A is a circuit diagram of a clock gating circuit 200A according to some embodiments.

[0049] The clock gating circuit 200A is at least Figure 1A In some embodiments, the clock gating circuit 200A is enabled or activated by a logic high enable signal E.

[0050] The clock gating circuit 200A includes p-type transistors M1 , M2 , M5 , M6 , M9 , M10 , and M13 , n-type transistors M3 , M4 , M7 , M8 , M11 , M12 , and M14 , and inverters 204 and 206 .

[0051] In some embodiments, at least one n-type transistor of the present invention comprises an n-type metal oxide semiconductor (NMOS) transistor, an n-type fin field effect transistor (FinFET), or another suitable n-type transistor. In some embodiments, at least one p-type transistor of the present invention comprises a p-type metal oxide semiconductor (PMOS) transistor, a p-type FinFET, or another suitable p-type transistor. Other transistor types are also within the scope of the present invention.

[0052] The input clock signal CP is at least Figure 1A In an embodiment of the input clock signal CP0 or CP1, the output clock signal Q is at least Figure 1A In an embodiment of the output clock signal Q0 or Q1, the enable signal E is at least Figure 1A In an embodiment of the enable signal E0 or E1, the test enable signal TE is at least Figure 1A The embodiment of the test enable signal TE0 or TE1 is described below, and similar detailed description is omitted.

[0053] The test enable signal TE is a logic low signal or a logic high signal. In some embodiments, the test enable signal TE is an external enable signal generated by an external circuit. In some embodiments, during the scan test, at least the clock gating circuit 200A or the clock gating circuit 200B, 300A, 400A, 500A, or 600A ( Figure 2B , Figure 3A , Figure 4 , Figure 5A or Fig. 6A ) is configured to be enabled or activated in response to a test enable signal TE.

[0054] The enable signal E is a logic low signal or a logic high signal. In some embodiments, the enable signal E is an external enable signal generated by an external circuit. In some embodiments, the enable signal E is generated by an external circuit different from the test enable signal TE. In some embodiments, the enable signal E is generated by the same external circuit as the test enable signal TE.

[0055] In some embodiments, the clock gating circuit 200A is configured to be enabled or activated in response to an enable signal E. In some embodiments, the enable signal E has the same function as the test enable signal TE, such as allowing the input clock signal CP to pass to at least the clock gating circuit 200A or the clock gating circuit 200B, 300A, 400A, 500A, or 600A ( Figure 2B , Figure 3A , Figure 4 , Figure 5A or Fig. 6A ) is used as the output clock signal Q.

[0056] The clock gating circuit 200A includes a NOR logic gate 202. The NOR logic gate 202 includes p-type transistors M1 and M2 and n-type transistors M3 and M4. The source terminal of the p-type transistor M1 is coupled to the power supply VDD. The drain terminal of the p-type transistor M1 is coupled to the source terminal of the p-type transistor M2. Each of the gate terminals of the p-type transistor M1 and the n-type transistor M4 are coupled together and configured to receive a test enable signal TE.

[0057] The source terminal of the p-type transistor M2 is coupled to the drain terminal of the p-type transistor M1. Each of the gate terminal of the p-type transistor M2 and the gate terminal of the n-type transistor M3 is coupled together and configured to receive the enable signal E. Each of the drain terminal of the p-type transistor M2, the drain terminal of the n-type transistor M3, the drain terminal of the n-type transistor M4, the gate terminal of the p-type transistor M5, the gate terminal of the n-type transistor M8 and the node ND1 is coupled together. In some embodiments, the signal of the node ND1 corresponds to the control signal NET2.

[0058] The p-type transistors M1 and M2 are configured to selectively couple the power supply VDD to the node ND1. In some embodiments, the p-type transistors M1 and M2 are configured to generate a control signal NET2. In some embodiments, the control signal NET2 is a logic low signal or a logic high signal.

[0059] The source terminal of the n-type transistor M3 and the source terminal of the n-type transistor M4 are coupled to a reference power supply VSS. In some embodiments, the reference power supply VSS is different from the power supply VDD. In some embodiments, the source terminal of the n-type transistor M3 is coupled to the source terminal of the n-type transistor M4.

[0060] N-type transistors M3 and M4 are configured to selectively couple a reference power supply VSS to node ND1. In some embodiments, n-type transistors M4 and M3 are configured to generate a control signal NET2. In some embodiments, the control signal NET2 is inverted to the test enable signal TE or the enable signal E.

[0061] N-type transistors M3 and M4 and p-type transistors M1 and M2 are arranged as an exemplary NOR logic gate 202. In some embodiments, control signal NET2 is a NOR output signal and is generated based on performing a NOR operation on enable signal E and test enable signal TE. Other logic types are also within the scope of the present invention. For example, in some embodiments, NOR logic gate 202 is replaced by a different logic type, such as an OR logic gate, an AND logic gate, a NAND logic gate, or other suitable logic gates, and transistors M1, M2, M3, and M4 are arranged to be consistent with these other logic types.

[0062] A source terminal of the p-type transistor M5 is coupled to a power supply VDD. A drain terminal of the p-type transistor M5 is coupled to a source terminal of the p-type transistor M6. A gate terminal of the p-type transistor M5 is coupled to a gate terminal of the n-type transistor M8 at a node ND1. Each of the gate terminal of the p-type transistor M5 and the gate terminal of the n-type transistor M8 is configured to receive a control signal NET2 from the node ND1.

[0063] The source terminal of the p-type transistor M6 is coupled to the drain terminal of the p-type transistor M5. Each of the drain terminal of the p-type transistor M6, the drain terminal of the n-type transistor M7, the drain terminal of the p-type transistor M9, the drain terminal of the n-type transistor M11, the gate terminal of the n-type transistor M14, the gate terminal of the p-type transistor M10, the input terminal of the inverter 204 and the node ND2 is coupled together. The gate terminal of the p-type transistor M6 is configured to receive the input clock signal CP. The input clock signal CP selectively enables or turns on the p-type transistor M6. In some embodiments, the p-type transistors M5 and M6 are configured to generate a control signal NET0 in response to the control signal NET2 and the clock input signal CP. In some embodiments, the signal of the node ND2 corresponds to the control signal NET0.

[0064] The drain terminal of n-type transistor M7 is coupled to the drain terminal of at least p-type transistor M6. The source terminal of n-type transistor M7 is coupled to the drain terminal of n-type transistor M8. The gate terminal of n-type transistor M7, the gate terminal of p-type transistor M9, the drain terminal of p-type transistor M10, the drain terminal of p-type transistor M13, the drain terminal of n-type transistor M14, the input terminal of inverter 206 and node ND3 are each coupled together. In some embodiments, the signal of node ND3 corresponds to control signal NET1. The gate terminal of n-type transistor M7 is configured to receive control signal NET1.

[0065] The source terminal of the n-type transistor M8 is coupled to the reference power supply VSS. The gate terminal of the n-type transistor M8 is configured to receive the control signal NET2. In some embodiments, the n-type transistors M7 and M8 are configured to generate the control signal NET0 in response to the control signals NET1 and NET2.

[0066] A source terminal of the p-type transistor M9 is coupled to the power supply VDD. A gate terminal of the p-type transistor M9 is configured to receive a control signal NET1.

[0067] A source terminal of the p-type transistor M10 is coupled to a power supply VDD. A gate terminal of the p-type transistor M10 is configured to receive a control signal NET0.

[0068] The p-type transistors M9 and M10 are cross-coupled with each other. For example, the gate terminal of the p-type transistor M9 is coupled to at least the drain of the p-type transistor M10 and the node ND3. Similarly, the gate terminal of the p-type transistor M10 is coupled to at least the drain of the p-type transistor M9 and the node ND2. In some embodiments, the p-type transistor M9 is configured to generate the control signal NET0 in response to the control signal NET1. In some embodiments, the p-type transistor M9 is configured to pull the node ND2 to the voltage of the power supply VDD in response to the control signal NET1.

[0069] In some embodiments, the p-type transistor M10 is configured to generate the control signal NET1 in response to the control signal NET0. In some embodiments, the p-type transistor M10 is configured to pull the node ND3 toward the voltage of the power supply VDD in response to the control signal NET0.

[0070] The drain terminal of the n-type transistor M11 is coupled to at least the node ND2, the input terminal of the inverter 204, and the gate terminal of the n-type transistor M14. Each of the source terminal of the n-type transistor M11, the drain terminal of the n-type transistor M12, the source terminal of the n-type transistor M14, and the node ND4 is coupled together. The gate terminal of the n-type transistor M11 is coupled to the output terminal of the inverter 204. The gate terminal of the n-type transistor M11 is configured to receive the inverted control signal NET0B. In some embodiments, the n-type transistor M11 is configured to electrically couple the node ND2 and the node ND4 in response to the inverted control signal NET0B.

[0071] The source terminal of the n-type transistor M12 is coupled to the reference power supply VSS. The drain terminal of the n-type transistor M12 is coupled to at least the node ND4. The gate terminal of the n-type transistor M12 is coupled to the source of the input clock signal CP. The gate terminal of the n-type transistor M12 is configured to receive the input clock signal CP. The input clock signal CP selectively enables or disables the n-type transistor M12. In some embodiments, the n-type transistor M12 is configured to pull the node ND4 to the voltage of the reference power supply VSS in response to the input clock signal CP.

[0072] The source terminal of the p-type transistor M13 is coupled to the power supply VDD. The drain terminal of the p-type transistor M13 is coupled to the gate terminal of at least the n-type transistor M7, the gate terminal of the p-type transistor M9, the input terminal of the inverter 206, and the node ND3. The gate terminal of the p-type transistor M13 is configured to receive the input clock signal CP. The input clock signal CP selectively enables or disables the p-type transistor M13. In some embodiments, the p-type transistor M13 is configured to pull the node ND3 to the voltage of the power supply VDD in response to the input clock signal CP. In some embodiments, each of the gate terminal of the p-type transistor M13, the gate terminal of the p-type transistor M6, and the gate terminal of the n-type transistor M12 is coupled together.

[0073] In some embodiments, p-type transistor M13 is located between p-type transistor M15 and at least p-type transistor M10 or p-type transistor M9. In some embodiments, p-type transistor M13 is located closer to p-type transistor M15 than at least p-type transistor M10 or p-type transistor M9. In some embodiments, each transistor coupled to node ND3 is not a dummy transistor. In some embodiments, dummy transistors are not coupled to node ND3, so the capacitance on node ND3 is minimized. In some embodiments, at least clock gating circuit 200A or clock gating circuit 300A, 500A, 600A, or 700A (hereinafter referred to as Figure 3A , Figure 5A , Fig. 6Aand Fig. 7A The size of one or more transistors of the method described in the accompanying drawings can be increased by at least additional fingers in the corresponding transistors, so that compared with other methods, not only the drive strength is improved and the clock skew delay is improved, but also the occupied area is increased.

[0074] The source terminal of the n-type transistor M14 is coupled to at least the node ND4. The drain terminal of the n-type transistor M14 is coupled to at least the node ND3. The gate terminal of the n-type transistor M14 is coupled to at least the node ND2. The gate terminal of the n-type transistor M14 is configured to receive a control signal NET0 from the node ND2. The control signal NET0 selectively enables or disables the n-type transistor M14. In some embodiments, the n-type transistor M14 is configured to electrically couple the node ND3 and the node ND4 in response to the control signal NET0.

[0075] The input terminal of the inverter 204 is coupled to at least the node ND2. The input terminal of the inverter 204 is configured to receive the control signal NET0. The output terminal of the inverter 204 is coupled to the gate of the n-type transistor M11. The output terminal of the inverter 204 is configured to generate an inverted control signal NET0B. In some embodiments, the inverted control signal NET0B is inverted to the control signal NET0. The inverted control signal NET0B selectively enables or disables the n-type transistor M11.

[0076] The inverter 204 includes a p-type transistor M17 and an n-type transistor M18.

[0077] The source terminal of the p-type transistor M17 is coupled to the power supply VDD. The drain terminal of the p-type transistor M17, the drain terminal of the n-type transistor M18 and the gate terminal of the n-type transistor M11 are each coupled together. The source terminal of the n-type transistor M18 is coupled to the reference power supply VSS.

[0078] Each of the gate terminals of the p-type transistor M17 and the n-type transistor M18 is coupled together and configured to receive the control signal NET0 from the node ND2. Each of the gate terminals of the p-type transistor M17 and the n-type transistor M18 is coupled to the drain terminal of the n-type transistor M7, the drain terminal of the p-type transistor M6, the drain terminal of the p-type transistor M9, the drain terminal of the n-type transistor M11, the gate terminal of the n-type transistor M14, the gate terminal of the p-type transistor M10, and the node ND2.

[0079] The input terminal of the inverter 206 is coupled to at least the node ND3. The input terminal of the inverter 206 is configured to receive the control signal NET1. The output terminal of the inverter 206 is configured to generate an output clock signal Q. In some embodiments, the output clock signal Q is inverted with the control signal NET1. In some embodiments, the output terminal of the inverter 206 is coupled to a circuit (not shown) configured to receive the output clock signal Q.

[0080] The inverter 206 includes a p-type transistor M15 and an n-type transistor M16.

[0081] The source terminal of the p-type transistor M15 is coupled to the power supply VDD. The drain terminal of the p-type transistor M15, the drain terminal of the n-type transistor M16 and each of the output terminals of the clock gating circuit 200A are coupled together. The source terminal of the n-type transistor M16 is coupled to the reference power supply VSS.

[0082] Each of the gate terminals of the p-type transistor M15 and the n-type transistor M16 are coupled together and configured to receive the control signal NET1 from the node ND3. Each of the gate terminals of the p-type transistor M15 and the n-type transistor M16 are coupled to the drain terminal of the p-type transistor M10, the gate terminal of the n-type transistor M7, the gate terminal of the p-type transistor M9, the drain terminal of the p-type transistor M13, the drain terminal of the n-type transistor M14, and the node ND3.

[0083] By using the clock gating circuit 200A, the number of transistors (e.g., p-type transistors M6 and M13 and n-type transistor M12) switched by the input clock signal CP is three. In some embodiments, by using the clock gating circuit 200A, the total number of transistors switched by the input clock signal CP is reduced compared to other clock gating cells, resulting in the clock gating circuit 200A consuming less dynamic clock power than other clock gating cells.

[0084] In some embodiments, by using the clock gating circuit 200A, the total number of transistors is reduced compared to other clock gating cells, resulting in the clock gating circuit 200A occupying less area than other clock gating cells. For example, in some embodiments, by using the clock gating circuit 200A, the total number of transistors is less than twenty. In some embodiments, by using the clock gating circuit 200A, the total number of transistors is eighteen.

[0085] Figure 2B According to some embodiments Figure 2A FIG. 200B is a diagram of a waveform of a clock gating circuit 200A.

[0086] Waveform 200B includes waveforms of signals when clock gating circuit 200A is initially disabled (e.g., E=0), then enabled (e.g., E=1), and then disabled again (e.g., E=0). In the figure, first, test enable signal TE is a low logic value, enable signal E is a low logic value, and output clock signal Q is a low logic value.

[0087] In some embodiments, curve 202 represents Figure 2A curve 206 represents the enable signal E; curve 207 represents the control signal NET2; curve 208 represents the control signal NET0; curve 209 represents the control signal NET1; curve 210 represents the output clock signal Q; and curve 212 represents the test enable signal TE.

[0088] Between time T0 and T5, curve 202 will oscillate from a low logic level to a high logic level, and vice versa. Between time T0 and T5, curve 210 will not oscillate because clock gating circuit 200A is disabled by enabling signal E to be a low logic value. In other words, clock gating circuit 200A will not pass input clock signal CP as output clock signal Q.

[0089] At time T1, the enable signal E (e.g., curve 206) switches from a low logic value to a high logic value, thereby enabling the clock gating circuit 200A. However, the output clock signal Q (e.g., curve 210) of the clock gating circuit 200A does not reflect the input clock signal CP (e.g., curve 202) until the next positive rising edge (e.g., at time T5).

[0090] Between time T5 and T9, at least curve 202 or 210 oscillates in the opposite direction from curve 209. Between time T5 and T9, since clock gating circuit 200A is enabled by enabling signal E to be a high logic value, curves 202 and 210 are similar to each other. In other words, clock gating circuit 200A will pass input clock signal CP as output clock signal Q.

[0091] After time T9, curve 202 will oscillate from a low logic level to a high logic level, and vice versa. After time T9, since clock gating circuit 200A is disabled by enabling signal E to be a low logic value, curve 210 will not oscillate. In other words, clock gating circuit 200A will not pass input clock signal CP as output clock signal Q.

[0092] Figure 3A is a circuit diagram of a clock gating circuit 300A according to some embodiments. The clock gating circuit 300A is at least Figure 1AIn some embodiments, the clock gating circuit 300A is enabled or activated by a logic high enable signal E.

[0093] and Figure 1A-1B , Figure 2A-2B , Figure 3A-3B , Figure 4 , Figure 5A-Figure 5B , Fig. 6A - Figure 6B , Figure 7A-7B and Figure 8A-8B One or more identical or similar components (shown below) are given the same reference numerals, and thus a detailed description thereof is omitted.

[0094] The clock gating circuit 300A is Figure 2A The clock gating circuit 200A is a variant of the clock gating circuit 200A, and thus similar detailed description is omitted. Figure 2A Compared with the clock gating circuit 200A, Figure 2A The input clock signal CP is replaced by the inverted clock signal CPB, and thus similar detailed description is omitted.

[0095] and Figure 2A Compared with the clock gating circuit 200A, Figure 2A The p-type transistors M9 and M10 are replaced by corresponding n-type transistors M9' and M10', Figure 2A The n-type transistors M11 and M14 are replaced by corresponding p-type transistors M11' and M14', the inverter 204 is replaced by the inverter 204', the nodes ND1 and ND2 are replaced by corresponding nodes ND1' and ND2', and thus similar detailed descriptions are omitted. Figure 3A , the node ND1 ′ is directly coupled to the node ND2 ′, and thus the node ND2 ′ may replace the node ND1 ′, and vice versa, and similar detailed description is omitted for the sake of brevity.

[0096] and Figure 2A Compared to the clock gating circuit 200A, the clock gating circuit 300A does not include the inverter 206, the p-type transistors M5, M6, M9 and M10, and the n-type transistors M7, M8, M11 and M14.

[0097] The clock gating circuit 300A includes p-type transistors M1, M2, M11', M13, M14' and M19, n-type transistors M3, M4, M9', M10', M12 and M20, and an inverter 204'.

[0098] and Figure 2ACompared to the clock gating circuit 200A of FIG. 1 , the p-type transistor M19 is coupled between the power supply VDD and the p-type transistor M1. The p-type transistors M1, M2, and M19 are configured to selectively couple the power supply VDD to the node ND1'. In some embodiments, the p-type transistors M1, M2, and M19 are configured to generate a control signal NET0.

[0099] A source terminal of the p-type transistor M19 is coupled to the power supply VDD. A drain terminal of the p-type transistor M19 is coupled to the source terminal of the p-type transistor M1. A gate terminal of the p-type transistor M19 is configured to receive the output clock signal Q from the node ND4. Each of the gate terminal of the p-type transistor M19, the node ND4, the gate terminal of the n-type transistor M9', the drain terminal of the n-type transistor M10', the drain terminal of the n-type transistor M12, and the drain terminal of the p-type transistor M14' are coupled together.

[0100] and Figure 2A Compared to the clock gating circuit 200A of FIG. 1 , the n-type transistor M20 is coupled between the node ND1′ and the n-type transistors M3 and M4. The n-type transistors M3, M4, and M20 are configured to selectively couple the reference power supply VSS to the node ND1′. In some embodiments, the n-type transistor M20 and at least the n-type transistor M3 or the n-type transistor M4 are configured to generate the control signal NET2.

[0101] The source terminal of the n-type transistor M20 is coupled to the drain terminal of the n-type transistor M3 and the drain terminal of the n-type transistor M4. The gate terminal of the n-type transistor M20 is configured to receive the inverted clock signal CPB. In some embodiments, the gate terminal of the n-type transistor M20 is coupled to Figure 4 The output terminal of the inverter 400 is coupled to the output terminal of the inverter 400. In some embodiments, each of the gate terminal of the n-type transistor M20, the gate terminal of the p-type transistor M13, and the gate terminal of the n-type transistor M12 are coupled together.

[0102] exist Figure 3A , the drain terminal of n-type transistor M20, the drain terminal of p-type transistor M2, the drain terminal of n-type transistor M9', the gate terminal of n-type transistor M10', the drain terminal of p-type transistor M11', the gate terminal of p-type transistor M14', the input terminal of inverter 204' (e.g., the gate terminal of p-type transistor M17' and the gate terminal of n-type transistor M18') and node ND2' are coupled together. In some embodiments, Figure 3A The signal of the node ND1' or ND2' corresponds to the control signal NET0.

[0103] By including a p-type transistor M19 between the power supply VDD and the p-type transistor M1, and including an n-type transistor M20 between the node ND1′ and the n-type transistor M20, the p-type transistors M1 and M2 and the N-type transistors M3 and M4 are no longer arranged as Figure 2A In some embodiments, when the p-type transistor M19 and the n-type transistor M20 are turned on, the p-type transistors M1 and M2 and the n-type transistors M3 and M4 are arranged to be connected to the NOR logic gate 202. Figure 2A The NOR logic gate 202 is similar to a NOR logic gate.

[0104] The source terminal of the n-type transistor M9' is coupled to the reference power supply VSS. The gate terminal of the n-type transistor M9' is coupled to the node ND4, the drain terminal of the n-type transistor M10', the drain terminal of the n-type transistor M12, the drain terminal of the p-type transistor M14', the gate terminal of the p-type transistor M19, and is configured to receive the output clock signal Q. The drain terminal of the n-type transistor M9' is coupled to at least the gate terminal of the n-type transistor M10' and the node ND2' or ND1'.

[0105] The source terminal of the n-type transistor M10' is coupled to the reference power supply VSS. The gate terminal of the n-type transistor M10' is coupled to at least the drain terminal of the n-type transistor M9' and the node ND1' or ND2', and is configured to receive the control signal NET0. The drain terminal of the n-type transistor M10' is coupled to the node ND4, the gate terminal of the n-type transistor M9', the drain terminal of the n-type transistor M12, the drain terminal of the p-type transistor M14', and the gate terminal of the p-type transistor M19.

[0106] N-type transistors M9' and M10' are cross-coupled with each other. For example, the gate terminal of n-type transistor M9' is coupled to at least the drain of n-type transistor M10' and node ND4. Similarly, the gate terminal of n-type transistor M10' is coupled to at least the drain of n-type transistor M9' and node ND2'. In some embodiments, n-type transistor M9' is configured to generate control signal NET0 in response to output clock signal Q. In some embodiments, n-type transistor M9' is configured to pull node ND2' to the voltage of reference power supply VSS in response to output clock signal Q.

[0107] In some embodiments, the n-type transistor M10' is configured to generate an output clock signal Q in response to the control signal NET0. In some embodiments, the n-type transistor M10' is configured to pull the node ND4 toward the voltage of the reference power supply VSS in response to the control signal NET0.

[0108] The drain terminal of the p-type transistor M11' is coupled to at least the node ND2', the input terminal of the inverter 204', and the gate terminal of the n-type transistor M14'. Each of the source terminal of the p-type transistor M11', the drain terminal of the n-type transistor M13, the source terminal of the p-type transistor M14', and the node ND3 is coupled together. The gate terminal of the p-type transistor M11' is coupled to the output terminal of the inverter 204' and is configured to receive the inverted control signal NET0B. In some embodiments, the p-type transistor M11' is configured to electrically couple the node ND3 and the node ND2' or ND1' in response to the inverted control signal NET0B.

[0109] The source terminal of the n-type transistor M12 is coupled to the reference power supply VSS. The drain terminal of the n-type transistor M12 is coupled to at least the node ND4. The gate terminal of the n-type transistor M12 is coupled to the source of the inverted clock signal CPB. The gate terminal of the n-type transistor M12 is configured to receive the inverted clock signal CPB. The inverted clock signal CPB selectively enables or disables the n-type transistor M12. In some embodiments, the n-type transistor M12 is configured to pull the node ND4 to the voltage of the reference power supply VSS in response to the inverted clock signal CPB.

[0110] The source terminal of the p-type transistor M13 is coupled to the power supply VDD. The drain terminal of the p-type transistor M13 is coupled to the source terminal of the p-type transistor M11', the source terminal of the p-type transistor M14' and the node ND3. The gate terminal of the p-type transistor M13 is configured to receive the inverted clock signal CPB. The inverted clock signal CPB selectively enables or disables the p-type transistor M13. In some embodiments, the p-type transistor M13 is configured to pull the node ND3 to the voltage of the power supply VDD in response to the inverted clock signal CPB. In some embodiments, each of the gate terminal of the p-type transistor M13, the gate terminal of the n-type transistor M20 and the gate terminal of the n-type transistor M12 is coupled together.

[0111] The source terminal of the p-type transistor M14' is coupled to at least the node ND3. The drain terminal of the p-type transistor M14' is coupled to at least the node ND4. The gate terminal of the p-type transistor M14' is coupled to at least the node ND2'. The gate terminal of the p-type transistor M14' is configured to receive a control signal NET0 from the node ND2'. The control signal NET0 selectively enables or disables the p-type transistor M14'. In some embodiments, the p-type transistor M14' is configured to electrically couple the node ND3 and the node ND4 in response to the control signal NET0.

[0112] The input terminal of the inverter 204' is coupled to at least the node ND2'. The input terminal of the inverter 204' is configured to receive the control signal NET0. The output terminal of the inverter 204' is coupled to the gate of the p-type transistor M11'. The output terminal of the inverter 204' is configured to generate an inverted control signal NET0B. In some embodiments, the inverted control signal NET0B is inverted to the control signal NET0. The inverted control signal NET0B selectively enables or disables the p-type transistor M11'.

[0113] The inverter 204' includes a p-type transistor M17' and an n-type transistor M18'.

[0114] The source terminal of the p-type transistor M17' is coupled to the power supply VDD. The drain terminal of the p-type transistor M17', the drain terminal of the n-type transistor M18' and the gate terminal of the p-type transistor M11' are each coupled together. The source terminal of the n-type transistor M18' is coupled to the reference power supply VSS.

[0115] Each of the gate terminals of the p-type transistor M17' and the n-type transistor M18' is coupled together and is configured to receive a control signal NET0 from at least the node ND2'. Each of the gate terminals of the p-type transistor M17' and the n-type transistor M18' is coupled to a drain terminal of the n-type transistor M9', a drain terminal of the p-type transistor M11', a gate terminal of the p-type transistor M14', a gate terminal of the n-type transistor M10', a drain terminal of the n-type transistor M20, a drain terminal of the p-type transistor M2, and the node ND2'.

[0116] By using the clock gating circuit 300A, the number of transistors (e.g., n-type transistors M20 and M12 and p-type transistor M13) switched by the inverted clock signal CPB is three. In some embodiments, by using the clock gating circuit 300A, the total number of transistors switched by the inverted clock signal CPB is reduced compared to other clock gating cells, resulting in the clock gating circuit 300A consuming less dynamic clock power than other clock gating cells.

[0117] In some embodiments, by using the clock gating circuit 300A, the total number of transistors is reduced compared to other clock gating cells, resulting in the clock gating circuit 300A occupying less area than other clock gating cells. For example, in some embodiments, by using the clock gating circuit 300A, the total number of transistors is less than twenty. In some embodiments, by using the clock gating circuit 300A, the total number of transistors is fourteen.

[0118] Figure 3B According to some embodiments Figure 3AFIG. 300B is a diagram of a waveform 300B of a clock gating circuit 300A.

[0119] Waveform 300B includes waveforms of signals when clock gating circuit 300A is initially disabled (e.g., E=0), then enabled (e.g., E=1), and then disabled again (e.g., E=0). In the figure, first, test enable signal TE is a low logic value, enable signal E is a low logic value, and output clock signal Q is a low logic value.

[0120] In some embodiments, curve 302 represents Figure 3A The input clock signal CP; Curve 304 represents Figure 3A curve 306 represents the enable signal E; curve 308 represents the control signal NET0; curve 310 represents the output clock signal Q; and curve 612 represents the test enable signal TE.

[0121] Before time T0, curve 302 is a low logic value and curve 304 is a high logic value. Before time T0, curves 306, 310 and 312 are low logic values, so that the corresponding p-type transistors M2, M19 and M1 are turned on. Therefore, node ND1' and curve 308 are high logic values. In response to curve 308 being a high logic value, n-type transistor M10' is turned on, thereby pulling node ND4 to a low logic value and setting the output clock signal Q (curve 310) to a low logic value.

[0122] At time T0, curve 302 has a rising edge and starts to convert to a high logic value, and curve 304 has a falling edge and starts to convert to a low logic value, so that the p-type transistor M13 is turned on to keep curve 308 at a high logic value. In other words, the curve 308 is a high logic value, so that the n-type transistor M18' is turned on and the gate of the p-type transistor M11' is pulled low, thereby turning on the p-type transistor M11'.

[0123] At time T1 , curve 302 is a high logic value and curve 304 is a low logic value.

[0124] At time T1 , curve 306 switches from a low logic value to a high logic value, so that the p-type transistor M2 begins to turn off and the n-type transistor M3 begins to turn on.

[0125] At time T2 , curve 306 is at a high logic value, so that the p-type transistor M2 is turned off and the n-type transistor M3 is turned on.

[0126] At time T3, curve 302 switches from a high logic value to a low logic value, and curve 304 switches from a low logic value to a high logic value, so that n-type transistor M20 begins to conduct, thereby electrically coupling node ND1′ to the drain of n-type transistor M3, and thus causing curve 308 to switch from a high logic value to a low logic value.

[0127] At time T4, curve 302 is a low logic value and curve 304 is a high logic value, so that n-type transistor M20 is turned on. By turning on n-type transistors M20 and M3, curve 308 is a low logic value. In response to curve 308 being a low logic value, n-type transistors M10' and M18' are turned off, and p-type transistor M14' is turned on, thereby electrically coupling node ND3 to node ND4.

[0128] At time T5, curve 302 is converted from a low logic value to a high logic value, and curve 304 is converted from a high logic value to a low logic value, so that n-type transistor M20 begins to be turned off. At time T5, in response to curve 302 being converted from a low logic value to a high logic value, and curve 304 being converted from a high logic value to a low logic value, n-type transistor M12 is further turned off, and p-type transistor M13 is turned on, so that p-type transistor M13 pulls node ND4 and curve 310 to a high logic value. Afterwards, in response to curve 310 being a high logic value, n-type transistor M9' is turned on, so that node ND2' and curve 308 maintain a low logic value.

[0129] Between time T5 and T6, curve 302 and curve 304 oscillate inversely with each other. Between time T5 and T6, since clock gating circuit 300A is enabled by enabling signal EN to be a high logic value, curves 302 and 310 are similar to each other. In other words, clock gating circuit 300A will pass input clock signal CP as output clock signal Q.

[0130] At time T6 , curve 306 switches from a high logic value to a low logic value, so that the p-type transistor M2 starts to turn on and the n-type transistor M3 starts to turn off.

[0131] At time T7 , curve 306 is at a low logic value, so that the p-type transistor M2 is turned on and the n-type transistor M3 is turned off.

[0132] At time T8, curve 302 is converted from a high logic value to a low logic value, and curve 304 is converted from a low logic value to a high logic value, so that n-type transistor M12 begins to conduct, thereby causing curve 310 to convert from a high logic value to a low logic value. In response to the conversion of curve 310 to a low logic value, p-type transistor M19 begins to conduct, thereby causing node ND1' and curve 308 to begin to convert from a low logic value to a high logic value.

[0133] At time T9, curve 302 is a low logic value, curve 304 is a high logic value, curve 310 is a low logic value, and curve 308 is a high logic value.

[0134] Figure 4 is a circuit diagram of an inverter 400 according to some embodiments.

[0135] Inverter 400 can be used to Figure 3A The clock gating circuit 300A or Figure 5A In the clock gating circuit 500A.

[0136] The inverter 400 is configured to generate an inverted clock signal CPB in response to an input clock signal CP. In some embodiments, the inverted clock signal CPB is inverted to the input clock signal CP. The input terminal of the inverter 400 is configured to receive the input clock signal CP. The output terminal of the inverter 400 is configured to output the inverted clock signal CPB.

[0137] The inverter 400 includes a p-type transistor M21 and an n-type transistor M22 .

[0138] The source terminal of the p-type transistor M21 is coupled to the power supply VDD. The source terminal of the p-type transistor M21 is coupled to the drain terminal of the n-type transistor M22. In some embodiments, the drain terminal of the p-type transistor M21 and the drain terminal of the n-type transistor M22 are configured as output terminals of the inverter 400. The source terminal of the n-type transistor M22 is coupled to the reference power supply VSS.

[0139] Each of the gate terminals of the p-type transistor M21 and the n-type transistor M22 are coupled together and configured to receive the input clock signal CP. In some embodiments, the gate terminals of the p-type transistor M21 and the n-type transistor M22 are configured as input terminals of the inverter 400 .

[0140] In some embodiments, inverter 400 may be used to Figure 3A In the clock gating circuit 300A of FIG. 4 , for example, in these embodiments, the output terminal of the inverter 400 is coupled to the p-type transistor M13 and the n-type transistors M12 and M20. For example, in these embodiments, the drain terminal of the p-type transistor M21 and the drain terminal of the n-type transistor M22 are coupled to the gate terminal of the p-type transistor M13 and the gate terminals of the n-type transistors M12 and M20.

[0141] In some embodiments, inverter 400 may be used to Figure 5AIn the clock gating circuit 500A of FIG. 4 , for example, in these embodiments, the output terminal of the inverter 400 is coupled to the p-type transistor M13 and the n-type transistors M12 and M24. For example, in these embodiments, the drain terminal of the p-type transistor M21 and the drain terminal of the n-type transistor M22 are coupled to the gate terminal of the p-type transistor M13 and the gate terminals of the n-type transistors M12 and M24.

[0142] Other transistor types for inverter 400 are also within the scope of the present invention.

[0143] Figure 5A is a circuit diagram of a clock gating circuit 500A according to some embodiments. The clock gating circuit 500A is at least Figure 1A In some embodiments, the clock gating circuit 500A is enabled or activated by a logic high enable signal E.

[0144] The clock gating circuit 500A is Figure 3A The clock gating circuit 300A is a variant of the clock gating circuit 300A, and thus similar detailed description is omitted. Figure 3A Compared to the clock gating circuit 300A, the clock gating circuit 500A further includes a transmission gate 502, and does not include the p-type transistor M19 and the n-type transistor M20, and thus similar detailed descriptions are omitted. In other words, Figure 3A The p-type transistor M19 and the n-type transistor M20 are replaced with corresponding similar transistors (eg, M23 and M24) in the transmission gate 502 between the nodes ND1 and ND2′. By including the transmission gate 502 in the clock gating circuit 500A, the nodes ND1 and ND2′ are electrically isolated or coupled to each other through the transmission gate 502.

[0145] Further with Figure 3A The clock gating circuit 300A is compared by Figure 5A The p-type transistor M19 and the n-type transistor M20 are not included. Figure 5A The p-type transistors M1 and M2 and the n-type transistors M3 and M4 are configured as Figure 2A The NOR logic gate 202 is used Figure 2A Replace the node ND1 with Figure 3A Node ND1', and thus similar detailed description is omitted.

[0146] The transmission gate 502 is coupled between at least the node ND1 and the node ND2'. The transmission gate 502 has a first input terminal configured to receive the output clock signal Q, a second input terminal configured to receive the inverted clock signal CPB, and a third input terminal configured to receive the control signal NET2. The transmission gate 502 has an output terminal configured to output the control signal NET0.

[0147] The transmission gate 502 is configured to couple or decouple the node ND1 and the node ND2'. The transmission gate 502 is enabled (e.g., turned on) or disabled (e.g., turned off) in response to the output clock signal Q and the inverted clock signal CPB. If enabled, the transmission gate 502 is configured to output or pass the control signal NET2 to at least the node ND2', and thus the control signal NET0 is the control signal NET2. If disabled, the transmission gate 502 does not pass or output the control signal NET2 to at least the node ND2', and thus the control signal NET0 is electrically isolated from the control signal NET2.

[0148] The transmission gate 502 includes a p-type transistor M23 and an n-type transistor M24. The gate terminal of the PMOS transistor M23 is configured to receive the output clock signal Q from the node ND4. Figure 5A In the embodiment, each of the gate terminal of the p-type transistor M23, the node ND4, the gate terminal of the n-type transistor M9', the drain terminal of the n-type transistor M10', the drain terminal of the n-type transistor M12, and the drain terminal of the p-type transistor M14' are coupled together. The gate terminal of the n-type transistor M24 is coupled to at least the output terminal of the inverter 400 and is configured to receive the inverted clock signal CPB.

[0149] The P-type transistor M23 is turned on or off based on the output clock signal Q. The N-type transistor M24 is turned on or off based on the inverted clock signal CPB. One of the drain or source terminals of the p-type transistor M23 is coupled to at least one of the drain or source terminals of the n-type transistor M23 and is configured as a third input terminal of the transmission gate 502. The other of the drain or source terminals of the p-type transistor M23 is coupled to at least the other of the drain or source terminals of the n-type transistor M23 and is configured as an output terminal of the transmission gate 502.

[0150] exist Figure 5A In the embodiment, one of the drain or source terminals of the p-type transistor M23, one of the drain or source terminals of the n-type transistor M24, the node ND1, the drain terminal of the p-type transistor M2, the drain terminal of the n-type transistor M3, and the drain terminal of the n-type transistor M4 are each coupled together.

[0151] exist Figure 5AIn the embodiment, the other of the drain or source terminals of the p-type transistor M23, the other of the drain or source terminals of the n-type transistor M24, the node ND2', the drain terminal of the n-type transistor M9', the gate terminal of the n-type transistor M10', the drain terminal of the p-type transistor M11', the gate terminal of the p-type transistor M14', and the input terminals of the inverter 204' (for example, the gate terminal of the p-type transistor M17' and the gate terminal of the n-type transistor M18') are each coupled together.

[0152] By using the clock gating circuit 500A, the number of transistors (e.g., p-type transistor M13 and n-type transistors M12 and M24) switched by the inverted clock signal CPB is three. In some embodiments, by using the clock gating circuit 500A, the total number of transistors switched by the inverted clock signal CPB is reduced compared to other clock gating cells, resulting in the clock gating circuit 500A consuming less dynamic clock power than other clock gating cells.

[0153] In some embodiments, by using the clock gating circuit 500A, the total number of transistors is reduced compared to other clock gating cells, resulting in the clock gating circuit 500A occupying less area than other clock gating cells. For example, in some embodiments, by using the clock gating circuit 500A, the total number of transistors is less than twenty. In some embodiments, by using the clock gating circuit 500A, the total number of transistors is fourteen.

[0154] Figure 5B According to some embodiments Figure 5A FIG. 5 is a diagram of a waveform 500B of a clock gating circuit 500A.

[0155] Waveform 500B includes waveforms of signals when clock gating circuit 500A is initially disabled (e.g., E=0), then enabled (e.g., E=1), and then disabled again (e.g., E=0). In the figure, first, test enable signal TE is a low logic value, enable signal E is a low logic value, and output clock signal Q is a low logic value.

[0156] In some embodiments, curve 502 represents Figure 5A The input clock signal CP; Curve 504 represents Figure 5A The inverted clock signal CPB; curve 506 represents the enable signal E; curve

[0157] Curve 507 represents the control signal NET2; curve 508 represents the control signal NET0; curve 510 represents the output clock signal Q; curve 512 represents the test enable signal TE.

[0158] Before time T0, curve 502 is a low logic value, curve 504 is a high logic value, and curve 510 is a low logic value. Before time T0, curves 506 and 512 are low logic values, so that the corresponding p-type transistors M2 and M1 are turned on. Therefore, node ND1 and curve 507 are high logic values. In response to curve 504 being a high logic value and curve 510 being a low logic value, the corresponding n-type transistor M24 and the corresponding p-type transistor M23 are each turned on, thereby electrically coupling nodes ND1 and ND2' and making curves 507 and 508 equal. In response to curve 508 being a high logic value, n-type transistor M10' is turned on, thereby pulling node ND4 to a low logic value and setting the output clock signal Q (curve 510) to a low logic value.

[0159] At time T0, curve 502 has a rising edge and starts to convert to a high logic value, and curve 504 has a falling edge and starts to convert to a low logic value, so that the p-type transistor M13 is turned on to keep curve 508 at a high logic value. In other words, the curve 508 is a high logic value, so that the n-type transistor M18' is turned on and the gate of the p-type transistor M11' is pulled low, thereby turning on the p-type transistor M11'.

[0160] At time T1 , curve 502 is a high logic value and curve 504 is a low logic value.

[0161] At time T1, curve 506 is converted from a low logic value to a high logic value, so that the p-type transistor M2 begins to be turned off and the n-type transistor M3 begins to be turned on, thereby causing curve 507 to be converted from a high logic value to a low logic value. However, since curve 504 is a low logic value, the n-type transistor M24 is turned off, and curve 508 has not yet converted to a low logic value.

[0162] At time T2 , curve 506 is a high logic value, so that the p-type transistor M2 is turned off, and the n-type transistor M3 is turned on, so that curve 507 is a low logic value.

[0163] At time T3, curve 502 switches from a high logic value to a low logic value, and curve 504 switches from a low logic value to a high logic value, causing n-type transistor M24 to begin conducting, thereby allowing n-type transistor M3 to pull node ND2′ to a low logic value, and thus causing curve 508 to switch from a high logic value to a low logic value.

[0164] At time T4, curve 502 is a low logic value and curve 504 is a high logic value, so that n-type transistor M24 is turned on. By turning on n-type transistors M24 and M3, curve 508 is a low logic value. In response to curve 508 being a low logic value, n-type transistors M10' and M18' are turned off, and p-type transistor M14' is turned on, thereby electrically coupling node ND3 to node ND4.

[0165] At time T5, curve 502 is converted from a low logic value to a high logic value, and curve 504 is converted from a high logic value to a low logic value, so that n-type transistor M24 begins to be cut off. At time T5, in response to curve 502 being converted from a low logic value to a high logic value, and curve 504 being converted from a high logic value to a low logic value, n-type transistor M12 is further cut off, and p-type transistor M13 is turned on, so that p-type transistor M13 pulls node ND4 and curve 510 to a high logic value. Afterwards, in response to curve 510 being a high logic value, n-type transistor M23 is turned on, so that node ND2' and curve 508 maintain a low logic value. Further in response to curve 510 being a high logic value, p-type transistor M23 is cut off.

[0166] Between time T5 and T6, curve 502 and curve 504 oscillate in opposite directions. Between time T5 and T6, since clock gating circuit 500A is enabled by enabling signal EN to be a high logic value, curves 502 and 510 are similar to each other. In other words, clock gating circuit 500A will pass input clock signal CP as output clock signal Q.

[0167] At time T6, curve 506 is converted from a high logic value to a low logic value, so that the p-type transistor M2 starts to conduct and the n-type transistor M3 starts to turn off, thereby causing curve 507 to convert from a low logic value to a high logic value. However, since curve 510 is a high logic value, the p-type transistor M23 is turned off, and curve 508 has not yet converted to a high logic value.

[0168] At time T7 , curve 506 is a low logic value, so that the p-type transistor M2 is turned on, and the n-type transistor M3 is turned off, so that curve 507 is a high logic value.

[0169] At time T8, curve 502 is converted from a high logic value to a low logic value, and curve 504 is converted from a low logic value to a high logic value, so that n-type transistor M12 begins to conduct, thereby causing curve 510 to be converted from a high logic value to a low logic value. In response to the conversion of curve 510 to a low logic value, p-type transistor M23 begins to conduct, thereby causing node ND2' and curve 508 to begin to be converted from a low logic value to a high logic value through p-type transistors M1 and M2.

[0170] At time T9, curve 502 is a low logic value, curve 504 is a high logic value, curve 510 is a low logic value, and curve 508 is a high logic value.

[0171] Fig. 6A is a circuit diagram of a clock gating circuit 600A according to some embodiments. The clock gating circuit 600A is at least Figure 1A The clock gating circuit 102 or 104 of the embodiment is described below, and similar detailed description is omitted.

[0172] The clock gating circuit 600A is Figure 2A The clock gating circuit 600A is a variation of the clock gating circuit 200A, and thus similar detailed description is omitted. In some embodiments, the clock gating circuit 600A is enabled or activated by a logic low enable signal EN. In other words, the clock gating circuit 600A is enabled by an activated low enable signal (eg, enable signal EN). Figure 2A Compared with the clock gating circuit 200A, Figure 2A The enable signal E of the clock gating circuit 600A is replaced by the enable signal EN of the clock gating circuit 600A, and thus similar detailed description is omitted. In some embodiments, the enable signal EN is inverted with the enable signal E. Each of the gate terminal of the p-type transistor M2 and the gate terminal of the n-type transistor M3 is configured to receive the enable signal EN.

[0173] and Figure 2A Compared to the clock gating circuit 200A, the clock gating circuit 600A does not include the p-type transistors M5 and M6 and the n-type transistors M7 and M8, but further includes a p-type transistor M25 and an n-type transistor M26, and thus similar detailed description is omitted.

[0174] By excluding p-type transistors M5 and M6 and n-type transistors M7 and M8, node ND2 is coupled to the drain terminal of p-type transistor M25 and the drain terminal of n-type transistor M26. In some embodiments, the functional components of p-type transistor M6 and n-type transistor M7 are incorporated into the corresponding p-type transistor M25 and the corresponding n-type transistor M26.

[0175] The clock gating circuit 600A includes p-type transistors M1, M2, M9, M10, M13, and M25, n-type transistors M3, M4, M11, M12, M14, and M26, and inverters 204 and 206.

[0176] The P-type transistor M25 is coupled between the node ND2 and the P-type transistor M2. Fig. 6AIn the embodiment, the signal at the node ND2 corresponds to the control signal NET0. The p-type transistors M1, M2 and M25 are configured to selectively couple the power supply VDD to the node ND2 in response to the test enable signal TE, the enable signal EN and the input clock signal CP. In some embodiments, the p-type transistors M1, M2 and M25 are configured to generate the control signal NET0 in response to the test enable signal TE, the enable signal EN and the input clock signal CP.

[0177] The source terminal of the p-type transistor M25 is coupled to the drain terminal of the p-type transistor M2. The gate terminal of the p-type transistor M25 is configured to receive the input clock signal CP. In some embodiments, each of the gate terminal of the p-type transistor M25, the gate terminal of the p-type transistor M13, and the gate terminal of the n-type transistor M12 are coupled together. Fig. 6A , a drain terminal of p-type transistor M25, a drain terminal of n-type transistor M26, a drain terminal of p-type transistor M9, a gate terminal of p-type transistor M10, a drain terminal of p-type transistor M11, a gate terminal of n-type transistor M14, an input terminal of inverter 204, and each of node ND2 are coupled together.

[0178] The N-type transistor M26 is coupled between the node ND2 and at least the node ND1, the n-type transistor M3 or the N-type transistor M4. Fig. 6A In the embodiment, the signal at the node ND1 corresponds to the control signal NET2.

[0179] The control signal NET1 selectively enables or disables the n-type transistor M26. In some embodiments, the n-type transistor M26 is configured to electrically couple the node ND2 and the node ND1 in response to the control signal NET1. Fig. 6A In FIG. 1 , the signal at the node ND3 corresponds to the control signal NET1.

[0180] N-type transistors M3, M4, and M26 are configured to selectively couple a reference power supply VSS to a node ND2 in response to a control signal NET1 and at least a test enable signal TE or an enable signal EN. In some embodiments, n-type transistor M26 and at least n-type transistor M3 or n-type transistor M4 are configured to generate a control signal NET0 in response to a control signal NET1 and at least a test enable signal TE or an enable signal EN.

[0181] exist Fig. 6A In the embodiment, each of the source terminal of the n-type transistor M26, the drain terminal of the n-type transistor M3, the drain terminal of the n-type transistor M4, and the node ND1 are coupled together. The gate terminal of the n-type transistor M26 is configured to receive the control signal NET1.

[0182] exist Fig. 6A , a gate terminal of n-type transistor M26, a gate terminal of p-type transistor M9, a drain terminal of p-type transistor M10, a drain terminal of p-type transistor M13, a drain terminal of n-type transistor M14, an input terminal of inverter 206 (e.g., each of a gate terminal of p-type transistor M15 and a gate terminal of n-type transistor M16), and each of node ND3 are coupled together.

[0183] By including the p-type transistor M25 and the n-type transistor M26 between the p-type transistors M1 and M2 and the n-type transistors M3 and M4, the p-type transistors M1 and M2 and the n-type transistors M3 and M4 are no longer arranged as Figure 2A In some embodiments, when the p-type transistor M25 and the n-type transistor M26 are turned on, Fig. 6A The p-type transistors M1 and M2 and the n-type transistors M3 and M4 are arranged with Figure 2A The NOR logic gate 202 is similar to a NOR logic gate.

[0184] By using the clock gating circuit 600A, the number of transistors (e.g., p-type transistors M25 and M13 and n-type transistor M12) switched by the input clock signal CP is three. In some embodiments, by using the clock gating circuit 600A, the total number of transistors switched by the input clock signal CP is reduced compared to other clock gating cells, resulting in the clock gating circuit 600A consuming less dynamic clock power than other clock gating cells.

[0185] In some embodiments, by using the clock gating circuit 600A, the total number of transistors is reduced compared to other clock gating cells, resulting in the clock gating circuit 600A occupying less area than other clock gating cells. For example, in some embodiments, by using the clock gating circuit 600A, the total number of transistors is less than twenty. In some embodiments, by using the clock gating circuit 600A, the total number of transistors is sixteen.

[0186] Figure 6B According to some embodiments Fig. 6A FIG. 6 is a diagram of a waveform 600B of a clock gating circuit 600A.

[0187] Waveform 600B includes waveforms of signals when clock gating circuit 600A is initially enabled (e.g., EN=0), then disabled (e.g., EN=1), and then enabled again (e.g., EN=0). In the figure, first, test enable signal TE is a low logic value, enable signal EN is a low logic value, and output clock signal Q is a low logic value.

[0188] In some embodiments, curve 602 represents Fig. 6A curve 606 represents the enable signal EN; curve 608 represents the control signal NET0; curve 609 represents the control signal NET1; curve 610 represents the output clock signal Q; and curve 612 represents the test enable signal TE.

[0189] Before time T0, curve 602 is a low logic value, so that p-type transistors M25 and M13 are turned on. Before time T0, curves 606 and 612 are low logic values, so that the corresponding p-type transistors M2 and M1 are turned on. In response to p-type transistors M25, M2 and M1 being turned on, curve 608 is a high logic value. In response to p-type transistor M13 being turned on, curve 609 is a high logic value, thereby setting the output clock signal Q (curve 610) to a low logic value. In response to curve 608 being a high logic value, n-type transistor M14 is turned on, thereby electrically coupling node ND3 to node ND4.

[0190] Between time T0 and T4 (or beyond time T10), at least curve 602 or 610 oscillates in the opposite direction from curve 609. Between time T0 and T4 (or beyond time T10), since clock gating circuit 600A is enabled by enabling signal EN to be a high logic value, curves 602 and 610 are similar to each other. In other words, clock gating circuit 600A will pass input clock signal CP as output clock signal Q.

[0191] At time T0, curve 602 has a rising edge and begins to convert to a high logic value, causing n-type transistor M12 to begin conducting, thereby turning off p-type transistor M13, and thereby causing node ND3 and curve 609 to begin to convert from a high logic value to a low logic value. In response to curve 609 converting from a high logic value to a low logic value, curve 610 begins to convert from a low logic value to a high logic value. In response to curve 609 converting from a high logic value to a low logic value, p-type transistor M9 begins to conduct, thereby keeping curve 608 at a high logic value.

[0192] At time T1, curve 606 switches from a low logic value to a high logic value, so that p-type transistor M2 starts to turn off and n-type transistor M3 starts to turn on. However, since curve 609 is a low logic value, n-type transistor M26 is turned off and curve 608 has not yet switched to a low logic value.

[0193] At time T2 , curve 606 is at a high logic value, so that the p-type transistor M2 is turned off and the n-type transistor M3 is turned on.

[0194] At time T3, curve 602 is converted from a high logic value to a low logic value, so that p-type transistor M13 begins to conduct, thereby causing curve 609 to convert from a low logic value to a high logic value. In response to curve 609 converting from a low logic value to a high logic value, curve 610 begins to convert from a high logic value to a low logic value. In response to curve 609 converting from a low logic value to a high logic value, p-type transistor M9 begins to be cut off, and n-type transistor M26 begins to conduct. In response to n-type transistor M26 beginning to conduct, curve 608 begins to convert from a high logic value to a low logic value.

[0195] In response to curve 608 beginning to transition from a high logic value to a low logic value, p-type transistor M17 is turned on, thereby pulling the gate of p-type transistor M11 to a high logic value, thereby turning on n-type transistor M11 and electrically coupling node ND2 to node ND4 .

[0196] At time T4, curve 602 is a low logic value, curve 609 is a high logic value, curve 610 is a low logic value, and curve 608 is a low logic value.

[0197] At time T5 , the curve 602 starts to transition from a low logic value to a high logic value, but since the clock gating circuit 600A is disabled by the enable signal EN being at a high logic value, the output clock signal Q remains at a low logic value.

[0198] Between times T5 and T6, curve 610 remains at a low logic value.

[0199] At time T6 , curve 606 switches from a high logic value to a low logic value, so that the p-type transistor M2 starts to turn on and the n-type transistor M3 starts to turn off.

[0200] However, since the curve 602 is a high logic value, the p-type transistor M25 is turned off, and the curve 608 has not yet converted to a high logic value.

[0201] At time T7 , curve 606 is at a high logic value, so that the p-type transistor M2 is turned on and the n-type transistor M3 is turned off.

[0202] At time T8, curve 602 switches from a high logic value to a low logic value, so that p-type transistor M25 begins to conduct. In response to p-type transistors M25, M2, and M1 being turned on, curve 608 switches from a low logic value to a high logic value.

[0203] At time T9 , curve 602 is a low logic value, the p-type transistor M25 is turned on, and curve 608 is a high logic value.

[0204] At time T10 , curve 602 switches from a low logic value to a high logic value, similar to the above discussion regarding time T0 , and similar detailed description is omitted.

[0205] Beyond time T10, since the clock gating circuit 600A is enabled by the enable signal EN being at a high logic value, the curves 602 and 610 are similar to each other. In other words, the clock gating circuit 600A will pass the input clock signal CP as the output clock signal Q.

[0206] Fig. 7A is a circuit diagram of a clock gating circuit 700A according to some embodiments. The clock gating circuit 700A is at least Figure 1A The clock gating circuit 102 or 104 of the embodiment is described below, and similar detailed description is omitted.

[0207] The clock gating circuit 700A is Figure 2A The clock gating circuit 700A is a variation of the clock gating circuit 200A, and thus similar detailed description is omitted. In some embodiments, the clock gating circuit 700A is enabled or activated by a logic low enable signal EN. In other words, the clock gating circuit 700A is enabled by an activated low enable signal (eg, enable signal EN). Figure 2A Compared with the clock gating circuit 200A, Figure 2A The enable signal E of the clock gating circuit 700A is replaced by the enable signal EN of the clock gating circuit 700A, and thus similar detailed description is omitted. In some embodiments, the enable signal EN is inverted with the enable signal E.

[0208] and Figure 2A Compared with the clock gating circuit 200A, Fig. 7A The NAND logic gate 702 replaces the NOR logic gate 202, and the transmission gate 704 replaces the p-type transistors M5 and M6 and the n-type transistors M7 and M8, and thus similar detailed descriptions are omitted.

[0209] In some embodiments, the functional components of p-type transistor M6 and n-type transistor M7 are incorporated into transmission gate 704 (eg, corresponding p-type transistor M31 and corresponding n-type transistor M32 ).

[0210] The clock gating circuit 700A includes a NAND logic gate 702 , a transmission gate 704 , p-type transistors M9 , M10 , and M13 , n-type transistors M11 , M12 , and M14 , an inverter 204 , and an inverter 206 .

[0211] NAND logic gate 702 includes p-type transistors M27 and M28 and n-type transistors M29 and M30.

[0212] and Figure 2A Compared with the NOR logic gate 202, Fig. 7A The p-type transistors M27 and M28 and Fig. 7A The n-type transistors M29 and M30 replace the corresponding p-type transistors M1 and M2 and the corresponding n-type transistors M3 and M4, and thus similar detailed descriptions are omitted.

[0213] A source terminal of the p-type transistor M27 is coupled to the power supply VDD. Each of a gate terminal of the p-type transistor M27 and a gate terminal of the n-type transistor M30 are coupled together and configured to receive a test enable signal TE.

[0214] exist Fig. 7A In the embodiment, a drain terminal of the p-type transistor M27, a drain terminal of the p-type transistor M28, a drain terminal of the n-type transistor M29, a node ND1, one of the drain or source terminals of the p-type transistor M31, and one of the drain or source terminals of the n-type transistor M32 are each coupled together.

[0215] A source terminal of the p-type transistor M28 is coupled to the power supply VDD. Each of a gate terminal of the p-type transistor M28 and a gate terminal of the n-type transistor M29 are coupled together and configured to receive an enable signal EN.

[0216] At least p-type transistor M27 or p-type transistor M28 is configured to selectively couple power supply VDD to node ND1 in response to at least test enable signal TE or enable signal EN. In some embodiments, at least p-type transistor M27 or p-type transistor M28 is configured to generate control signal NET2 in response to at least test enable signal TE or enable signal EN.

[0217] A source terminal of the n-type transistor M29 is coupled to a drain terminal of the n-type transistor M30. A source terminal of the n-type transistor M30 is coupled to a reference power supply VSS.

[0218] N-type transistors M29 and M30 are configured to selectively couple reference power supply VSS to node ND1 in response to at least test enable signal TE or enable signal EN. In some embodiments, n-type transistors M29 and M30 are configured to generate control signal NET2 in response to test enable signal TE and enable signal EN.

[0219] P-type transistors M27 and M28 and n-type transistors M29 and M30 are arranged as an exemplary NAND logic gate 702. In some embodiments, control signal NET2 is a NAND output signal, and is generated based on performing a NAND operation on enable signal EN and test enable signal TE. Other logic types are also within the scope of the present invention. For example, in some embodiments, NAND logic gate 702 is replaced by a different logic type, such as an OR logic gate, an AND logic gate, a NOR logic gate or other suitable logic gates, and transistors M27, M28, M29 and M30 are arranged to be consistent with these other logic types.

[0220] The transmission gate 704 is coupled between at least the node ND1 and the node ND2. The transmission gate 704 has a first input terminal configured to receive the input clock signal CP, a second input terminal configured to receive the control signal NET1, and a third input terminal configured to receive the control signal NET2. The transmission gate 704 has an output terminal configured to output the control signal NET0.

[0221] The transmission gate 704 is configured to couple or decouple the node ND1 and the node ND2. The transmission gate 704 is enabled (e.g., turned on) or disabled (e.g., turned off) in response to the input clock signal CP and the control signal NET1. If enabled, the transmission gate 704 is configured to output or pass the control signal NET2 to at least the node ND2, and thus the control signal NET0 is the control signal NET2. If disabled, the transmission gate 704 does not pass or output the control signal NET2 to at least the node ND2, and thus the control signal NET0 is electrically isolated from the control signal NET2.

[0222] The transmission gate 704 includes a p-type transistor M31 and an n-type transistor M32. The gate terminal of the p-type transistor M31 is configured to receive the input clock signal CP. In some embodiments, each of the gate terminal of the p-type transistor M31, the gate terminal of the p-type transistor M13, and the gate terminal of the n-type transistor M12 are coupled together.

[0223] The gate terminal of the n-type transistor M32 is configured to receive the control signal NET1 from the node ND3. Each of the gate terminal of the n-type transistor M32, the gate terminal of the p-type transistor M9, the drain terminal of the p-type transistor M10, the drain terminal of the p-type transistor M13, the drain terminal of the n-type transistor M14, the input terminal of the inverter 206 (e.g., the gate terminal of the p-type transistor M15 and the gate terminal of the n-type transistor M16), and the node ND3 are coupled together.

[0224] The P-type transistor M31 is turned on or off based on the input clock signal CP. The N-type transistor M32 is turned on or off based on the control signal NET1. One of the drain or source terminals of the P-type transistor M31 is coupled to at least one of the drain or source terminals of the N-type transistor M32 and is configured as a third input terminal of the transmission gate 704. The other of the source or drain terminals of the P-type transistor M31 is coupled to at least another of the source or drain terminals of the N-type transistor M32 and is configured as an output terminal of the transmission gate 704.

[0225] exist Fig. 7A In the embodiment, each of the node ND2, the other of the source or drain terminals of the p-type transistor M31, the other of the source or drain terminals of the n-type transistor M32, the drain terminal of the p-type transistor M9, the gate terminal of the p-type transistor M10, the drain terminal of the n-type transistor M11, the gate terminal of the n-type transistor M14, and the input terminals of the inverter 204 (for example, the gate terminal of the p-type transistor M17 and the gate terminal of the n-type transistor M18) are coupled together.

[0226] By using the clock gating circuit 700A, the number of transistors (e.g., p-type transistors M13 and M31 and n-type transistor M12) switched by the input clock signal CP is three. In some embodiments, by using the clock gating circuit 700A, the total number of transistors switched by the input clock signal CP is reduced compared to other clock gating cells, resulting in the clock gating circuit 700A consuming less dynamic clock power than other clock gating cells.

[0227] In some embodiments, by using the clock gating circuit 700A, the total number of transistors is reduced compared to other clock gating cells, resulting in the clock gating circuit 700A occupying less area than other clock gating cells. For example, in some embodiments, by using the clock gating circuit 700A, the total number of transistors is less than twenty. In some embodiments, by using the clock gating circuit 700A, the total number of transistors is sixteen.

[0228] Figure 7B According to some embodiments Fig. 7A FIG. 7 is a diagram of waveforms 700B of clock gating circuit 700A.

[0229] Waveform 700B includes the waveform of a signal when clock gating circuit 700A is initially enabled (eg, EN=0), then disabled (eg, EN=1), and then enabled again (eg, EN=0).

[0230] In the figure, first, the test enable signal TE is a high logic value, the enable signal EN is a low logic value, and the output clock signal Q is a low logic value.

[0231] In some embodiments, curve 702 represents Fig. 7A curve 706 represents the enable signal EN; curve 707 represents the control signal NET2; curve 708 represents the control signal NET0; curve 709 represents the control signal NET1; curve 710 represents the output clock signal Q; and curve 712 represents the test enable signal TE.

[0232] Before time T0, curve 702 is a low logic value, so that p-type transistors M13 and M31 are turned on. Before time T0, curve 706 is a low logic value, so that p-type transistor M28 is turned on, and n-type transistor M29 is turned off. In response to p-type transistor M28 being turned on, curve 707 is a high logic value. In response to p-type transistor M13 being turned on, curve 709 is a high logic value, thereby setting the output clock signal Q (curve 710) to a low logic value.

[0233] In response to the high logic value of curve 709, n-type transistor M32 is turned on. In response to the n-type transistor M32 and p-type transistor M31 being turned on, curve 708 is a high logic value, so that n-type transistor M14 is turned on, thereby electrically coupling node ND3 to node ND4.

[0234] Between time T0 and T4 (or beyond time T10), at least curve 702 or 710 oscillates in the opposite direction from curve 709. Between time T0 and T4 (or beyond time T10), since the clock gating circuit 700A is enabled by the enable signal EN being a high logic value, curves 702 and 710 are similar to each other. In other words, the clock gating circuit 700A will pass the input clock signal CP as the output clock signal Q.

[0235] At time T0, curve 702 has a rising edge and begins to convert to a high logic value, causing n-type transistor M12 to begin conducting, thereby turning off p-type transistor M13, and thereby causing node ND3 and curve 709 to begin to convert from a high logic value to a low logic value. In response to curve 709 converting from a high logic value to a low logic value, curve 710 begins to convert from a low logic value to a high logic value. In response to curve 709 converting from a high logic value to a low logic value, p-type transistor M9 begins to conduct, thereby keeping curve 708 at a high logic value.

[0236] At time T1, curve 706 is converted from a low logic value to a high logic value, so that p-type transistor M28 begins to be turned off, and n-type transistor M29 begins to be turned on. In response to the n-type transistor M29 beginning to be turned on, node ND1 and curve 707 are converted from a high logic value to a low logic value. However, since curve 702 is a high logic value at time T1, p-type transistor M31 is turned off, and since curve 709 is a low logic value, n-type transistor M32 is turned off, and curve 708 has not yet converted to a low logic value.

[0237] At time T2 , curve 706 is a high logic value, so that the p-type transistor M28 is turned off, and the n-type transistor M29 is turned on, so that curve 707 is a low logic value.

[0238] At time T3, curve 702 is converted from a high logic value to a low logic value, so that p-type transistors M13 and M31 begin to conduct. In response to the p-type transistor M13 beginning to conduct, curve 709 is converted from a low logic value to a high logic value. In response to the curve 709 converting from a low logic value to a high logic value, curve 710 begins to convert from a high logic value to a low logic value. In response to the curve 709 converting from a low logic value to a high logic value, p-type transistor M9 begins to be cut off, and n-type transistor M32 begins to conduct.

[0239] In response to the n-type transistor M32 and the p-type transistor M31 starting to turn on, the curve 708 starts to switch from a high logic value to a low logic value. In response to the curve 708 starting to switch from a high logic value to a low logic value, the p-type transistor M17 is turned on, thereby pulling the gate of the p-type transistor M11 to a high logic value, thereby turning on the n-type transistor M11 and electrically coupling the node ND2 to the node ND4.

[0240] At time T4, curve 702 is a low logic value, curve 709 is a high logic value, curve 710 is a low logic value, and curve 708 is a low logic value.

[0241] At time T5 , the curve 702 starts to transition from a low logic value to a high logic value, but since the clock gating circuit 700A is disabled by the enable signal EN being at a high logic value, the output clock signal Q remains at a low logic value.

[0242] Between times T5 and T6, curve 710 remains at a low logic value.

[0243] At time T6, curve 706 is converted from a high logic value to a low logic value, so that p-type transistor M28 starts to conduct, and n-type transistor M29 starts to turn off. In response to p-type transistor M28 starting to conduct, node ND1 and curve 707 are converted from a low logic value to a high logic value. However, since curve 702 is a high logic value at time T1, p-type transistor M31 is turned off, and curve 708 has not yet converted to a high logic value.

[0244] At time T7 , curve 706 is a high logic value, so that the p-type transistor M28 is turned on, and the n-type transistor M29 is turned off, so that curve 707 is a high logic value.

[0245] At time T8, curve 702 switches from a high logic value to a low logic value, so that the p-type transistor M31 starts to conduct. In response to the p-type transistor M31 being conducted, curve 708 switches from a low logic value to a high logic value.

[0246] At time T9 , curve 702 is a low logic value, the p-type transistor M31 is turned on, and curve 708 is a high logic value.

[0247] At time T10 , curve 702 switches from a low logic value to a high logic value, similar to the above discussion regarding time T0 , and similar detailed description is omitted.

[0248] Beyond time T10, since the clock gating circuit 700A is enabled by the enable signal EN being at a high logic value, the curves 702 and 710 are similar to each other. In other words, the clock gating circuit 700A will pass the input clock signal CP as the output clock signal Q.

[0249] method

[0250] Figure 8A-8B is an operating circuit according to some embodiments (such as Figure 1A , Figure 2A , Figure 3A , Figure 4 , Figure 5A , Fig. 6A and Fig. 7A It should be understood that in Figure 8A-8B Additional operations may be performed before, during, and / or after the method 800 depicted in the embodiment, and only some other operations or processes may be briefly described herein. It should be understood that the method 800 utilizes Figure 1A Circuit 100A, Figure 1B The waveform 100B corresponds to Figure 2A , Figure 3A , Figure 5A , Fig. 6A and Fig. 7A The clock gating circuits 200A, 300A, 500A, 600A and 700A, Figure 4 Inverter 400 or corresponding Figure 2B , Figure 3B , Figure 5B , Figure 6B and Figure 7B Characteristics of one or more of waveforms 200B, 300B, 500B, 600B, and 700B.

[0251] In some embodiments, relative to Fig. 7A The circuit 700A and Figure 7B The waveform 700B of FIG. 8B describes the method 800 , but the method 800 is similarly applicable to each circuit described in the present invention (the integrated circuit 100A, the clock gating circuits 200A, 300A, 500A, 600A and 700A, and the inverter 400 ).

[0252] In operation 802 of method 800 , at least a first enable signal, a second enable signal, or a clock input signal CP or CPB is received by a clock gating circuit.

[0253] In some embodiments, for method 800 , the first enable signal includes enable signal E or EN, and the second enable signal includes enable signal TE. In some embodiments, the clock gating circuit of method 800 includes at least integrated gating circuit 100A, clock gating circuit 200A, 300A, 500A and 600A or 700A or inverter 400 .

[0254] In operation 804 of method 800, the clock gating circuit is disabled in response to at least the first enable signal or the second enable signal. In some embodiments, operation 804 of method 800 includes disabling the clock gating circuit in response to at least the first enable signal (e.g., enable signal E=0 or EN=1) having a first logic value (e.g., E=0 or EN=1). In some embodiments, for method 800, the first logic value includes a logic high. In some embodiments, for method 800, the first logic value includes a logic low.

[0255] In some embodiments, operation 804 of method 800 includes disabling the clock gating circuit in response to the second enable signal (TE) having a first logic value or a second logic value. In some embodiments, for method 800, the second logic value is inverted from the first logic value. In some embodiments, for method 800, the second logic value includes a logic low. In some embodiments, for method 800, the second logic value includes a logic high.

[0256] In some embodiments, operation 804 includes one or more of operations 806 , 808 , 810 , 812 , or 814 .

[0257] In operation 806 of method 800, a first control signal is generated. In some embodiments, for method 800, the first control signal comprises control signal NET2. In some embodiments, for method 800, the first control signal comprises control signal NET0, NET1, or NET0B.

[0258] In operation 808 of method 800 , a first path between a first node (eg, node ND1 ) and a second node (eg, node ND2 or ND2 ′) is enabled by transmission gate 502 or 704 in response to at least a clock input signal (eg, CP or CPB) or a second control signal.

[0259] In some embodiments, for method 800, the second control signal includes control signal NET1. In some embodiments, for method 800, the second control signal includes control signal NET0, NET2, or NET0B. In some embodiments, for method 800, the second control signal includes output clock signal Q, such as Figure 5A shown.

[0260] In operation 810 of method 800 , a second path between a third node (eg, node ND3 ) and a fourth node (eg, node ND4 ) is disabled by the first transistor in response to a third control signal.

[0261] In some embodiments, for method 800, the first transistor includes an n-type transistor M14. In some embodiments, for method 800, the first transistor includes Figure 2A-Figure 3A , Figure 4 and Figures 5A-7A One or more transistors other than the n-type transistor M14.

[0262] In some embodiments, for method 800, the third control signal comprises control signal NET0. In some embodiments, for method 800, the third control signal comprises control signal NET0B, NET1, or NET2.

[0263] In operation 812 of method 800 , a third path between the second node and the fourth node is enabled by at least the second transistor in response to at least the third control signal.

[0264] In some embodiments, for method 800, the second transistor includes an n-type transistor M11. In some embodiments, for method 800, the second transistor includes Figure 2A-Figure 3A , Figure 4 and Figures 5A-7A One or more transistors other than the n-type transistor M11.

[0265] In operation 814 of method 800 , a second control signal (eg, net1 ) is set by the third transistor or the fourth transistor in response to at least the clock input signal or the third control signal ( net0 ).

[0266] In some embodiments, for method 800, the third transistor comprises a p-type transistor M13. In some embodiments, for method 800, the third transistor comprises Figure 2A-Figure 3A , Figure 4 and Figures 5A-7A One or more transistors other than the p-type transistor M13.

[0267] In some embodiments, for method 800, the fourth transistor includes a p-type transistor M10. In some embodiments, for method 800, the fourth transistor includes Figure 2A-Figure 3A , Figure 4 and Figures 5A-7A One or more transistors other than the p-type transistor M10.

[0268] In some embodiments, operation 814 includes one or more of operations 814a, 814b, or 814c.

[0269] In some embodiments, in operation 814, setting the second control signal by the third transistor (M13) in response to at least the clock input signal includes operation 814a.

[0270] In operation 814a of method 800, in response to the clock input signal (CP=0 or CPB=0) having a second value (eg, logic 0) different from the first value, a first value (eg, logic 1) of the second control signal (net1) is set by the third transistor (M13).

[0271] In some embodiments, in operation 814, setting the second control signal by the fourth transistor (M10) in response to at least the clock input signal or the third control signal (net0) includes at least operation 814b or 814c.

[0272] In operation 814b of method 800, in response to the clock input signal (CP=1 or CPB=1) having a first value (eg, logic 1), a second value (eg, logic 0) of the third control signal (eg, net0) is set by the fifth transistor (M12).

[0273] In some embodiments, for method 800, the fifth transistor comprises an n-type transistor M12. In some embodiments, for method 800, the fifth transistor comprises Figure 2A-Figure 3A , Figure 4 and Figures 5A-7A One or more transistors other than the n-type transistor M12.

[0274] In operation 814c of method 800, in response to the third control signal (eg, net0) having a second value (eg, logic 0), the first value (eg, logic 1) of the second control signal (eg, net1) is set by the fourth transistor (eg, M10).

[0275] In operation 816 of method 800, the clock gating circuit is enabled in response to at least the first enable signal or the second enable signal. In some embodiments, operation 816 of method 800 includes enabling the clock gating circuit in response to at least the first enable signal (e.g., enable signal E=1 or EN=0) having a second logic value (e.g., E=1 or EN=0). In some embodiments, for method 800, the second logic value includes a logic low or a logic high.

[0276] In some embodiments, operation 816 of method 800 includes enabling the clock gating circuit in response to the second enable signal (TE) having the first logic value or the second logic value.

[0277] In some embodiments, operation 816 includes one or more of operations 818 , 820 , 822 , 824 , or 826 .

[0278] In operation 818 of method 800 , a first control signal is generated.

[0279] In operation 820 of method 800 , a first path between a first node and a second node is disabled by a transmission gate in response to at least the clock input signal CP or CPB or a second control signal.

[0280] In operation 822 of method 800 , a second path between the third node and the fourth node is enabled by the first transistor (eg, n-type transistor M14 ) in response to a third control signal.

[0281] In operation 824 of method 800 , a third path between the second node and the fourth node is disabled by at least the second transistor in response to the at least third control signal.

[0282] In operation 826 of method 800 , a second control signal is set by the third transistor ( M13 ) or the fifth transistor ( M12 ) in response to at least the clock input signal.

[0283] In some embodiments, operation 826 includes one or more of operations 826a, 826b, or 826c.

[0284] In some embodiments, in operation 826, setting the second control signal by the third transistor (M13) in response to at least the clock input signal includes operation 826a.

[0285] In operation 826a of method 800, in response to the clock input signal (CP=0 or CPB=0) having a second value (eg, logic 0) different from the first value, the first value (eg, logic 1) of the second control signal (net1) is set by the third transistor (M13).

[0286] In some embodiments, in operation 826, setting the second control signal by the fifth transistor (M12) in response to at least the clock input signal includes at least operation 826b or 826c.

[0287] In operation 826b of method 800, in response to the clock input signal (CP=1 or CPB=1) having a first value (eg, logic 1), a second value (eg, logic 0) of the second control signal (net1) is set by the fifth transistor (M12).

[0288] In operation 826c of method 800, in response to the second control signal (eg, net1) having a second value (eg, logic 0), the first value (eg, logic 1) of the third control signal (eg, net0) is set by the sixth transistor (eg, M9).

[0289] In some embodiments, for method 800, the sixth transistor comprises a p-type transistor M9. In some embodiments, for method 800, the sixth transistor comprises Figure 2A-Figure 3A , Figure 4 and Figures 5A-7A One or more transistors other than the p-type transistor M9.

[0290] In operation 828 of method 800, an output clock signal Q is generated in response to at least the first enable signal (eg, E or EN) or the second control signal. In some embodiments, operation 828 includes generating the output clock signal by inverter 206 in response to at least the first enable signal (eg, E or EN) or the second control signal.

[0291] In operation 830 of method 800 , an output clock signal (Q) is outputted by an output node (eg, node NDout) in response to at least the first enable signal (EN) or the second control signal ( net1 ).

[0292] In some embodiments, Figure 2A , Fig. 6A and Fig. 7AAs shown, the output node (e.g., node NDout) corresponds to the output terminal of the inverter 206. In some embodiments, as Figure 3A and Figure 5A As shown, the output node (eg, node NDout) corresponds to the fourth node (eg, ND4).

[0293] In some embodiments, the clock input signal CP or CPB does not correspond to the output clock signal Q. In some embodiments, when the clock gating circuit is disabled (eg, operation 804 ), the clock input signal CP or CPB does not correspond to the output clock signal Q.

[0294] In some embodiments, the clock input signal CP or CPB corresponds to the output clock signal Q. In some embodiments, when the clock gating circuit is enabled (eg, operation 816), the clock input signal CP or CPB corresponds to the output clock signal Q.

[0295] Although the above reference Figure 7A-7B Method 800 is described, but it should be understood that method 800 utilizes Figure 1A-1B , Figure 2A-2B , Figure 3A-3B , Figure 4 , Figure 5A-Figure 5B and Fig. 6A - one or more features of Figure 6B. In these embodiments, other operations of method 800 will be performed consistent with the description and operation of integrated circuit 100A, clock gating circuits 200A, 300A, 500A and 600A, inverter 400, and waveforms 100A, 200B, 300B, 500B and 600B.

[0296] In some embodiments, one or more of the operations of method 800 are not performed.

[0297] also, Figure 2A-Figure 7A The various PMOS or NMOS transistors shown in FIG. 1 have specific dopant types (eg, N-type or P-type) for illustrative purposes. Embodiments of the present invention are not limited to specific transistor types, and Figure 2A-Figure 7AOne or more of the p-type or n-type transistors shown in the figure may be replaced with corresponding transistors of different transistor / dopant types. Similarly, the low logic values ​​or high logic values ​​of the various signals used in the above description are also used for illustration. When the signal is activated and / or deactivated, the embodiments of the present invention are not limited to specific logic values. Selecting different logic values ​​is within the scope of various embodiments. Selecting different numbers of inverters in the above description is within the scope of various embodiments. Selecting different numbers of transmission gates in clock gating 500A or 700A is within the scope of various embodiments. Selecting different numbers of transistors in clock gating circuit 200A, 300A, 500A, 600A or 700A or inverter 400 is within the scope of various embodiments.

[0298] One aspect of the present specification relates to a clock gating circuit. The clock gating circuit includes a NOR logic gate, a transmission gate, a cross-coupled pair of transistors, and a first transistor. The NOR logic gate is coupled to a first node, and is configured to receive a first enable signal and a second enable signal, and output a first control signal. The transmission gate is coupled between the first node and the second node, and is configured to receive a first control signal, an inverted clock input signal, and a clock output signal. The cross-coupled pair of transistors is coupled between the second node and the output node, and is configured to receive at least a second control signal. In some embodiments, the first transistor is of a first type. The first transistor includes a first gate terminal, a first drain terminal, and a first source terminal. The first gate terminal is configured to receive an inverted clock input signal. The first drain terminal is coupled to at least the output node. The first source terminal is coupled to a reference power supply. The first transistor is configured to adjust the clock output signal in response to the inverted clock input signal.

[0299] In the above-mentioned clock gating circuit, it also includes: a second transistor of a second type different from the first type, the second transistor includes a second gate terminal, a second drain terminal and a second source terminal, the second gate terminal is coupled to at least the second node and is configured to receive a second control signal, the second drain terminal is coupled to the output node and the first drain terminal, and the second source terminal is coupled to the third node; and a third transistor of the second type, the third transistor includes a third gate terminal, a third drain terminal and a third source terminal, the third gate terminal is configured to receive an inverted clock input signal, the third drain terminal is coupled to the second source terminal and the third node, and the third source terminal is coupled to the power supply, and the third transistor is configured to adjust the clock output signal in response to the inverted clock input signal.

[0300] In the above-mentioned clock gating circuit, it also includes: a fourth transistor of the second type, coupled between the second node and the third node, the fourth transistor includes a fourth gate terminal, a fourth drain terminal and a fourth source terminal, the fourth gate terminal is configured to receive an inverted second control signal, the fourth drain terminal is coupled to the second node and the second gate terminal, and the fourth source terminal is coupled to the third node, the third drain terminal and the second source terminal.

[0301] The clock gating circuit further includes: a first inverter coupled between the second node and the fourth transistor and configured to generate an inverted second control signal in response to the second control signal.

[0302] In the above-mentioned clock gating circuit, the first inverter includes: a fifth transistor of the second type, the fifth transistor includes a fifth gate terminal, a fifth drain terminal and a fifth source terminal, the fifth gate terminal is configured to receive a second control signal, the fifth drain terminal is coupled to at least the fourth gate terminal, and the fifth source terminal is coupled to the power supply; and a sixth transistor of the first type, the sixth transistor includes a sixth gate terminal, a sixth drain terminal and a sixth source terminal, the sixth gate terminal is configured to receive the second control signal, the sixth drain terminal is coupled to the fifth drain terminal and the fourth gate terminal, the sixth source terminal is coupled to the reference power supply, and each of the sixth gate terminal, the fifth gate terminal, the second node and the second gate terminal are coupled together.

[0303] In the above-mentioned clock gating circuit, the cross-coupled transistor pair includes: a second transistor of the first type, the second transistor includes a second gate terminal, a second drain terminal, and a second source terminal, the second gate terminal is configured to receive a clock output signal, and the second source terminal is coupled to a reference power supply; and a third transistor of the first type, the third transistor is configured to adjust the clock output signal in response to a second control signal, the third transistor includes a third gate terminal, a third drain terminal and a third source terminal, the third gate terminal is configured to receive the second control signal, and the third source terminal is coupled to the reference power supply, wherein each of the second gate terminal, the third drain terminal, the first drain terminal and the output node is coupled together, and each of the third gate terminal, the second drain terminal, the transmission gate and the second node is coupled together.

[0304] In the above-mentioned clock gating circuit, the transmission gate includes: a second transistor of a second type different from the first type, the second transistor including a second gate terminal, a second drain terminal and a second source terminal, the second gate terminal is coupled to at least the output node and is configured to receive a clock output signal, the second drain terminal is coupled to the first node and the NOR logic gate, and the second source terminal is coupled to the second node; and a third transistor of the first type, the third transistor including a third gate terminal, a third drain terminal and a third source terminal, the third gate terminal is configured to receive an inverted clock input signal, the third source terminal is coupled to the second source terminal, the first node and the NOR logic gate, and the third drain terminal is coupled to the second node and the second drain terminal.

[0305] Another aspect of the specification relates to a clock gating circuit. The clock gating circuit includes a NAND logic gate, a transmission gate, a first inverter, and a first transistor of a first type. The NAND logic gate is coupled to a first node and is configured to receive a first enable signal and a second enable signal and output a first control signal. The transmission gate is coupled to the NAND logic gate, the second node, and the third node. The transmission gate is configured to receive at least a clock input signal or a second control signal. The first inverter is coupled between the third node and the output node and is configured to generate a clock output signal in response to the second control signal. The first transistor includes a first gate terminal, a first drain terminal, and a first source terminal. The first gate terminal is configured to receive a clock input signal. The first source terminal is coupled to a power supply. The first drain terminal is coupled to at least the third node or the first inverter. The first transistor is configured to adjust at least the second control signal or the clock output signal in response to the clock input signal.

[0306] In the above clock gating circuit, it further includes: a cross-coupled pair of transistors coupled between the second node and the third node and configured to receive at least the second control signal and the third control signal.

[0307] In the above-mentioned clock gating circuit, the transistors of the cross-coupled pair include: a second transistor of the first type, the second transistor is configured to adjust the third control signal in response to the second control signal, the second transistor includes a second gate terminal, a second drain terminal and a second source terminal, the second gate terminal is configured to receive the second control signal, and the second source terminal is coupled to a power supply; and a third transistor of the first type, the third transistor is configured to adjust the second control signal in response to the third control signal, the third transistor includes a third gate terminal, a third drain terminal and a third source terminal, the third gate terminal is configured to receive the third control signal, and the third source terminal is coupled to the power supply, wherein each of the second gate terminal, the third drain terminal, the first drain terminal, the third node and the input terminal of the first inverter are coupled together, and each of the third gate terminal, the second drain terminal, the transmission gate and the second node are coupled together.

[0308] In the above-mentioned clock gating circuit, the first inverter includes: a fourth transistor of the first type, the fourth transistor includes a fourth gate terminal, a fourth drain terminal and a fourth source terminal, the fourth gate terminal is configured to receive a second control signal, and the fourth source terminal is coupled to a power supply; and a fifth transistor of a second type different from the first type, the fifth transistor includes a fifth gate terminal, a fifth drain terminal and a fifth source terminal, the fifth gate terminal is configured to receive a second control signal, and the fifth source terminal is coupled to a reference power supply, wherein the fifth drain terminal, the fourth drain terminal and each of the output nodes are coupled together, and the fifth gate terminal, the fourth gate terminal, the third node, the second gate terminal, the third drain terminal and the first drain terminal are each coupled together.

[0309] In the above-mentioned clock gating circuit, it also includes: a second transistor of a second type different from the first type, the second transistor includes a second gate terminal, a second drain terminal and a second source terminal, the second gate terminal is coupled to at least the second node or the transmission gate, and is configured to receive a third control signal, the second drain terminal is coupled to the third node, the first drain terminal and the input terminal of the first inverter, and the second source terminal is coupled to at least the fourth node; and a third transistor of the second type, the third transistor includes a third gate terminal, a third drain terminal and a third source terminal, the third gate terminal is configured to receive a clock input signal, the third drain terminal is coupled to the second source terminal and the fourth node, and the third source terminal is coupled to a reference power supply, and the third transistor is configured to adjust the second control signal in response to the clock input signal, thereby adjusting the clock output signal.

[0310] In the above-mentioned clock gating circuit, it also includes: a fourth transistor of the second type, coupled between the second node and the fourth node, the fourth transistor includes a fourth gate terminal, a fourth drain terminal and a fourth source terminal, the fourth gate terminal is configured to receive an inverted third control signal, the fourth drain terminal is coupled to the second node, the second gate terminal and the transmission gate, and the fourth source terminal is coupled to the fourth node, the third drain terminal and the second source terminal.

[0311] The clock gating circuit further includes: a second inverter coupled between the second node and the fourth transistor and configured to generate an inverted third control signal in response to the third control signal.

[0312] In the above-mentioned clock gating circuit, the second inverter includes: a fifth transistor of the second type, the fifth transistor including a fifth gate terminal, a fifth drain terminal and a fifth source terminal, the fifth gate terminal is configured to receive a third control signal, the fifth drain terminal is coupled to at least the fourth gate terminal, and the fifth source terminal is coupled to the power supply; and a sixth transistor of the first type, the sixth transistor including a sixth gate terminal, a sixth drain terminal and a sixth source terminal, the sixth gate terminal is configured to receive the third control signal, the sixth drain terminal is coupled to the fifth drain terminal and the fourth gate terminal, the sixth source terminal is coupled to the reference power supply, and each of the sixth gate terminal, the fifth gate terminal, the second node and the second gate terminal are coupled together.

[0313] In the above-mentioned clock gating circuit, the transmission gate includes: a second transistor of a second type different from the first type, the second transistor includes a second gate terminal, a second drain terminal and a second source terminal, the second gate terminal is configured to receive a clock input signal, the second drain terminal is coupled to the first node and the NAND logic gate, and the second source terminal is coupled to at least the second node; and a third transistor of the first type, the third transistor includes a third gate terminal, a third drain terminal and a third source terminal, the third gate terminal is configured to receive a second control signal and is coupled to the third node, the first drain terminal and the input terminal of the first inverter, the third source terminal is coupled to the second source terminal, the first node and the NAND logic gate, and the third drain terminal is coupled to the second node and the second drain terminal.

[0314] Yet another aspect of the present specification relates to a method of operating a circuit. The method includes: disabling a clock gating circuit in response to at least a first enable signal or a second enable signal; and outputting an output clock signal by an output node in response to at least the first enable signal or the second control signal. In some embodiments, disabling the clock gating circuit includes: generating a first control signal; and enabling a first path between a first node and a second node by a transmission gate in response to at least a clock input signal or a second control signal. In some embodiments, disabling the clock gating circuit also includes: disabling a second path between a third node and a fourth node by a first transistor in response to a third control signal. In some embodiments, disabling the clock gating circuit also includes: enabling a third path between a second node and a fourth node by at least a second transistor in response to at least a third control signal. In some embodiments, disabling the clock gating circuit also includes: setting a second control signal by a third transistor or a fourth transistor in response to at least a clock input signal. In some embodiments, the clock input signal does not correspond to the output clock signal.

[0315] In the above method, in response to at least a clock input signal, setting the second control signal through the third transistor or the fourth transistor includes: in response to the clock input signal having a second value different from the first value, setting the first value of the second control signal through the third transistor; or in response to the clock input signal having a first value, setting the second value of the third control signal through the fifth transistor; and in response to the third control signal having a second value, setting the first value of the second control signal through the fourth transistor.

[0316] In the above method, it also includes: enabling the clock gating circuit in response to at least the first enable signal or the second enable signal, wherein enabling the clock gating circuit includes: generating a first control signal; disabling the first path between the first node and the second node by the transmission gate in response to at least the clock input signal or the second control signal; enabling the second path between the third node and the fourth node by the first transistor in response to the third control signal; disabling the third path between the second node and the fourth node by at least the second transistor in response to at least the third control signal; and setting the second control signal by the third transistor or the fifth transistor in response to at least the clock input signal, wherein the clock input signal corresponds to the output clock signal.

[0317] In the above method, in response to at least a clock input signal, setting the second control signal through the third transistor or the fifth transistor includes: in response to the clock input signal having a second value different from the first value, setting the first value of the second control signal through the third transistor; or in response to the clock input signal having a first value, setting the second value of the second control signal through the fifth transistor; and in response to the second control signal having a second value, setting the first value of the third control signal through the sixth transistor.

[0318] A plurality of embodiments have been described. However, it should be understood that various modifications may be made without departing from the spirit and scope of the present invention. For example, various transistors (e.g., N-type or P-type metal oxide semiconductor (NMOS or PMOS)) are shown as specific dopant types for illustrative purposes. Embodiments of the present invention are not limited to specific types. Selecting different dopant types for specific transistors is within the scope of various embodiments. Low logic values ​​or high logic values ​​of various signals used in the above description are also used for illustration. When the signal is activated and / or deactivated, the various embodiments are not limited to specific logic values. Selecting different logic values ​​is within the scope of various embodiments. In various embodiments, the transistor is used as a switch. A switch circuit used instead of a transistor is within the scope of various embodiments. In various embodiments, the source of the transistor may be configured as a drain, and the drain may be configured as a source. Thus, the terms source and drain are used interchangeably. Various signals are generated by corresponding circuits, but for simplicity, the circuit is not shown.

[0319] Various figures show capacitive circuits illustrated using discrete capacitors. Equivalent circuits may be used. For example, a capacitive device, circuit, or network (e.g., a combination of capacitors, capacitive elements, devices, circuits, etc.) may be used instead of a discrete capacitor. The above description includes exemplary steps, but the steps are not necessarily performed in the order shown. Steps may be appropriately added, replaced, the order of steps may be changed, and / or steps may be eliminated, depending on the spirit and scope of the disclosed embodiments.

[0320] The foregoing summarizes the features of several embodiments so that those skilled in the art can better understand the various aspects of the present invention. Those skilled in the art should understand that they can easily use the present invention as a basis to design or modify other processes and structures for implementing the same purpose and / or achieving the same advantages as the embodiments introduced herein. Those skilled in the art should also recognize that such equivalent structures do not deviate from the spirit and scope of the present invention, and that various changes, substitutions and modifications can be made without departing from the spirit and scope of the present invention.

Claims

1. A clock gating circuit, comprising: a NOR logic gate coupled to the first node and configured to receive a first enable signal and a second enable signal and output a first control signal; a transmission gate coupled between the first node and the second node, the transmission gate being configured to receive the first control signal, an inverted clock input signal, and a clock output signal; a cross-coupled transistor pair coupled between the second node and an output node and configured to receive at least a second control signal; as well as a first transistor of a first type, the first transistor comprising a first gate terminal, a first drain terminal and a first source terminal, the first gate terminal being configured to receive the inverted clock input signal, the first drain terminal being coupled to at least the output node, and the first source terminal being coupled to a reference power supply, the first transistor being configured to adjust the clock output signal in response to the inverted clock input signal.

2. The clock gating circuit according to claim 1, further comprising: a second transistor of a second type different from the first type, the second transistor comprising a second gate terminal, a second drain terminal, and a second source terminal, the second gate terminal being coupled to at least the second node and configured to receive the second control signal, the second drain terminal being coupled to the output node and the first drain terminal, and the second source terminal being coupled to a third node; as well as A third transistor of the second type, the third transistor comprising a third gate terminal, a third drain terminal and a third source terminal, the third gate terminal being configured to receive the inverted clock input signal, the third drain terminal being coupled to the second source terminal and the third node, and the third source terminal being coupled to a power supply, the third transistor being configured to adjust the clock output signal in response to the inverted clock input signal.

3. The clock gating circuit according to claim 2, further comprising: A fourth transistor of the second type is coupled between the second node and the third node, the fourth transistor comprising a fourth gate terminal, a fourth drain terminal and a fourth source terminal, the fourth gate terminal being configured to receive an inverted second control signal, the fourth drain terminal being coupled to the second node and the second gate terminal, and the fourth source terminal being coupled to the third node, the third drain terminal and the second source terminal.

4. The clock gating circuit according to claim 3, further comprising: The first inverter is coupled between the second node and the fourth transistor and is configured to generate the inverted second control signal in response to the second control signal.

5. The clock gating circuit according to claim 4, wherein: The first inverter comprises: a fifth transistor of the second type, the fifth transistor comprising a fifth gate terminal configured to receive the second control signal, a fifth drain terminal coupled to at least the fourth gate terminal, and a fifth source terminal coupled to the power supply; and The sixth transistor of the first type includes a sixth gate terminal, a sixth drain terminal and a sixth source terminal, the sixth gate terminal is configured to receive the second control signal, the sixth drain terminal is coupled to the fifth drain terminal and the fourth gate terminal, the sixth source terminal is coupled to the reference power supply, and each of the sixth gate terminal, the fifth gate terminal, the second node and the second gate terminal are coupled together.

6. The clock gating circuit according to claim 1, wherein the cross-coupled transistor pair comprises: a second transistor of the first type, the second transistor comprising a second gate terminal, a second drain terminal, and a second source terminal, the second gate terminal being configured to receive the clock output signal and the second source terminal being coupled to the reference power supply; as well as a third transistor of the first type, the third transistor being configured to adjust the clock output signal in response to the second control signal, the third transistor comprising a third gate terminal, a third drain terminal, and a third source terminal, the third gate terminal being configured to receive the second control signal, the third source terminal being coupled to the reference power supply, wherein each of the second gate terminal, the third drain terminal, the first drain terminal and the output node are coupled together, and Each of the third gate terminal, the second drain terminal, the transfer gate, and the second node are coupled together.

7. The clock gating circuit according to claim 1, wherein: The transmission gate comprises: a second transistor of a second type different from the first type, the second transistor comprising a second gate terminal coupled to at least the output node and configured to receive the clock output signal, a second drain terminal coupled to the first node and the NOR logic gate, and a second source terminal coupled to the second node; and A third transistor of the first type, the third transistor comprising a third gate terminal, a third drain terminal and a third source terminal, the third gate terminal being configured to receive the inverted clock input signal, the third source terminal being coupled to the second source terminal, the first node and the NOR logic gate, and the third drain terminal being coupled to the second node and the second drain terminal.

8. A clock gating circuit, comprising: a NAND logic gate coupled to the first node and configured to receive a first enable signal and a second enable signal and output a first control signal; a transmission gate coupled to the NAND logic gate and coupled between the first node and the second node, the transmission gate being configured to receive at least a clock input signal or a second control signal; a first inverter coupled between the third node and the output node and configured to generate a clock output signal in response to the second control signal; as well as A first transistor of a first type, the first transistor comprising a first gate terminal, a first drain terminal and a first source terminal, the first gate terminal being configured to receive the clock input signal, the first source terminal being coupled to a power supply, the first drain terminal being coupled to at least the third node or the first inverter, and the first transistor being configured to adjust at least the second control signal or the clock output signal in response to the clock input signal.

9. The clock gating circuit according to claim 8, further comprising: The transistors of the cross-coupled pair are coupled between the second node and the third node and are configured to receive at least the second control signal and a third control signal.

10. The clock gating circuit according to claim 9, wherein the transistors of the cross-coupled pair comprise: a second transistor of the first type, the second transistor configured to adjust the third control signal in response to the second control signal, the second transistor comprising a second gate terminal, a second drain terminal, and a second source terminal, the second gate terminal being configured to receive the second control signal, the second source terminal being coupled to the power supply; as well as a third transistor of the first type, the third transistor being configured to adjust the second control signal in response to the third control signal, the third transistor comprising a third gate terminal, a third drain terminal, and a third source terminal, the third gate terminal being configured to receive the third control signal, the third source terminal being coupled to the power supply, wherein each of the second gate terminal, the third drain terminal, the first drain terminal, the third node and the input terminal of the first inverter are coupled together, and Each of the third gate terminal, the second drain terminal, the transfer gate, and the second node are coupled together.

11. The clock gating circuit according to claim 10, wherein: The first inverter comprises: a fourth transistor of the first type, the fourth transistor comprising a fourth gate terminal, a fourth drain terminal, and a fourth source terminal, the fourth gate terminal being configured to receive the second control signal, the fourth source terminal being coupled to the power supply; and a fifth transistor of a second type different from the first type, the fifth transistor comprising a fifth gate terminal, a fifth drain terminal and a fifth source terminal, the fifth gate terminal being configured to receive the second control signal, the fifth source terminal being coupled to a reference power supply, wherein each of the fifth drain terminal, the fourth drain terminal and the output node are coupled together, and Each of the fifth gate terminal, the fourth gate terminal, the third node, the second gate terminal, the third drain terminal, and the first drain terminal are coupled together.

12. The clock gating circuit according to claim 8, further comprising: a second transistor of a second type different from the first type, the second transistor comprising a second gate terminal, a second drain terminal, and a second source terminal, the second gate terminal being coupled to at least the second node or the transmission gate and configured to receive a third control signal, the second drain terminal being coupled to the third node, the first drain terminal, and an input terminal of the first inverter, and the second source terminal being coupled to at least a fourth node; as well as a third transistor of the second type, the third transistor comprising a third gate terminal, a third drain terminal and a third source terminal, the third gate terminal being configured to receive the clock input signal, the third drain terminal being coupled to the second source terminal and the fourth node, and the third source terminal being coupled to a reference power supply, The third transistor is configured to adjust the second control signal in response to the clock input signal, thereby adjusting the clock output signal.

13. The clock gating circuit according to claim 12, further comprising: The fourth transistor of the second type is coupled between the second node and the fourth node, the fourth transistor comprising a fourth gate terminal, a fourth drain terminal and a fourth source terminal, the fourth gate terminal being configured to receive an inverted third control signal, the fourth drain terminal being coupled to the second node, the second gate terminal and the transmission gate, and the fourth source terminal being coupled to the fourth node, the third drain terminal and the second source terminal.

14. The clock gating circuit according to claim 13, further comprising: The second inverter is coupled between the second node and the fourth transistor and is configured to generate the inverted third control signal in response to the third control signal.

15. The clock gating circuit according to claim 14, wherein: The second inverter comprises: a fifth transistor of the second type, the fifth transistor comprising a fifth gate terminal, a fifth drain terminal and a fifth source terminal, the fifth gate terminal being configured to receive the third control signal, the fifth drain terminal being coupled to at least a fourth gate terminal, and the fifth source terminal being coupled to the power supply; and The sixth transistor of the first type includes a sixth gate terminal, a sixth drain terminal and a sixth source terminal, the sixth gate terminal is configured to receive the third control signal, the sixth drain terminal is coupled to the fifth drain terminal and the fourth gate terminal, the sixth source terminal is coupled to the reference power supply, and each of the sixth gate terminal, the fifth gate terminal, the second node and the second gate terminal are coupled together.

16. The clock gating circuit according to claim 8, wherein: The transmission gate comprises: a second transistor of a second type different from the first type, the second transistor comprising a second gate terminal configured to receive the clock input signal, a second drain terminal coupled to the first node and the NAND logic gate, and a second source terminal coupled to at least the second node; and A third transistor of the first type, the third transistor comprising a third gate terminal, a third drain terminal and a third source terminal, the third gate terminal being configured to receive the second control signal and coupled to the third node, the first drain terminal and the input terminal of the first inverter, the third source terminal being coupled to the second source terminal, the first node and the NAND logic gate, and the third drain terminal being coupled to the second node and the second drain terminal.

17. A method of operating a clock gating circuit, the method comprising: disabling a clock gating circuit in response to at least the first enable signal or the second enable signal, wherein disabling the clock gating circuit comprises: generating a first control signal; enabling, by the transmission gate, a first path between the first node and the second node in response to at least a clock input signal or a second control signal; In response to a third control signal, disabling, by the first transistor, a second path between the third node and the fourth node; enabling a third path between the second node and the fourth node by at least a second transistor in response to at least the third control signal; and In response to at least the clock input signal, setting the second control signal through a third transistor or a fourth transistor; and outputting an output clock signal through an output node in response to at least the first enable signal or the second control signal; Wherein, the clock input signal does not correspond to the output clock signal.

18. The method according to claim 17, wherein: In response to at least the clock input signal, setting the second control signal through the third transistor or the fourth transistor comprises: In response to the clock input signal having a second value different from the first value, setting the first value of the second control signal by the third transistor; or In response to the clock input signal having the first value, setting the second value of the third control signal by a fifth transistor; and In response to the third control signal having the second value, the first value of the second control signal is set by the fourth transistor.

19. The method according to claim 17, further comprising: enabling the clock gating circuit in response to at least the first enable signal or the second enable signal, wherein enabling the clock gating circuit comprises: generating the first control signal; disabling, by the transmission gate, the first path between the first node and the second node in response to at least the clock input signal or the second control signal; In response to the third control signal, enabling the second path between the third node and the fourth node by the first transistor; disabling, by at least the second transistor, the third path between the second node and the fourth node in response to at least the third control signal; and In response to at least the clock input signal, setting the second control signal through the third transistor or the fifth transistor, The clock input signal corresponds to the output clock signal.

20. The method according to claim 19, wherein: In response to at least the clock input signal, setting the second control signal through the third transistor or the fifth transistor comprises: In response to the clock input signal having a second value different from the first value, setting the first value of the second control signal by the third transistor; or In response to the clock input signal having the first value, setting the second value of the second control signal by the fifth transistor; and In response to the second control signal having the second value, the first value of the third control signal is set by a sixth transistor.

Citation Information

Patent Citations

  • Programmable static random access memory synchronous clock control module circuit

    CN104882158A

  • Clock generator for integrated circuit

    CN1675610A

  • Clock enabler circuit and flip-flop circuit

    JP2010124059A

  • Clock output circuit

    JP2013066120A

  • Clock Gater with Test Features and Low Setup Time

    US20080180159A1