Latch circuit, dynamic latch, dynamic D flip-flop and related devices
By using multiple conductivity type transistor groups and clock buffers in the dynamic latch, the dynamic leakage problem is solved, stable data latching at low frequencies is achieved, the power consumption of the computing chip is reduced and the scope of use is expanded. .
Patent Information
- Application Number
- CN202410758098.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-06-13
AI Technical Summary
Dynamic latches are prone to functional errors at low frequencies, which limits the use range of computing chips. Especially in sleep or idle states, dynamic leakage causes data loss and affects the overall performance of the chip.
By introducing multiple transistor groups with different conductivity types into the latch circuit and connecting them in series to reduce leakage current, ensuring that dynamic leakage can be effectively suppressed at low frequencies, a clock buffer is used to provide mutually inverted clock signals for control Operation of latch unit and inverting drive unit.
It effectively reduces the minimum operating frequency of the dynamic latch and reduces power consumption. Especially when used on a large scale in computing chips, it significantly reduces the overall power consumption and expands the use scope of the chip.
Smart Images

Figure CN118337187B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates generally to the field of integrated circuit technology, and more particularly to a latch circuit, a dynamic latch, a dynamic D flip-flop, a register, a processor, and a computing device. Background Art
[0002] As high-performance computing is widely used in exploration, climate change, transportation, artificial intelligence and other fields, the requirements for power consumption, computing speed, and area (cost) of computing chips are getting higher and higher. Computing chips need to use latches to latch data, and as the amount of calculation increases, the more latches the computing chip uses. Therefore, the performance of the latch directly affects the performance of the computing chip.
[0003] Compared with static latches, dynamic latches greatly simplify their circuit structure because they reduce the feedback circuit used to maintain the working state, which not only reduces the chip area but also reduces power consumption. With these advantages, dynamic latches are widely used in computing chips. However, since there are nodes in the dynamic latch whose potential is floating for part of the time, the parasitic capacitance at the node needs to maintain the correct voltage state during the part of the time.
[0004] In order to prevent device leakage from affecting the voltage of the node, the dynamic latch must operate at a higher frequency to reduce the leakage time to prevent functional errors. This greatly limits the scope of chip use. For example, in some states of the processor such as sleep or idle, the dynamic latch may operate at a relatively low frequency, and functional errors are likely to occur at this time. Summary of the invention
[0005] According to a first aspect of the present disclosure, a latch circuit is provided, the latch circuit comprising: an input terminal; an output terminal; and a first transistor group having a first conductivity type, a second transistor group having a first conductivity type, a third transistor group having a second conductivity type different from the first conductivity type, and a fourth transistor group having a second conductivity type connected in series between a power supply and a ground in sequence. A node between the second transistor group and the third transistor group is connected to the output terminal. A control terminal of one of the first transistor group and the second transistor group and a control terminal of one of the third transistor group and the fourth transistor group are commonly connected to the input terminal. A control terminal of another of the first transistor group and the second transistor group is configured to receive a first clock signal. A control terminal of another of the third transistor group and the fourth transistor group is configured to receive a second clock signal inversely phased to the first clock signal. The first conductivity type is configured to turn on the transistor when its control terminal is at a low level. The second conductivity type is configured to turn on the transistor when its control terminal is at a high level. At least one of the first transistor group to the fourth transistor group includes a plurality of transistors connected in series.
[0006] According to a second aspect of the present disclosure, a dynamic latch is provided, which includes: a data input terminal configured to receive a data signal; a data output terminal configured to output a data signal; a clock control terminal configured to receive a clock signal; and a latch unit and an inverting drive unit sequentially connected in series between the data input terminal and the data output terminal. The latch unit is configured to latch or transmit a data signal from the data input terminal under the control of a clock signal. The inverting drive unit is configured to invert and transmit a data signal from the latch unit. The latch unit includes the latch circuit according to the first aspect of the present disclosure.
[0007] According to a third aspect of the present disclosure, a dynamic D flip-flop is provided, which includes: a data input terminal configured to receive a data signal; a data output terminal configured to output a data signal; a clock control terminal configured to receive a clock signal; and a first latch unit, a second latch unit and an inverting drive unit connected in series between the data input terminal and the data output terminal. The first latch unit is configured to latch or transmit a data signal from the data input terminal under the control of a clock signal. The second latch unit is configured to latch or transmit a data signal from the first latch unit under the control of a clock signal. The inverting drive unit is configured to invert and transmit a data signal from the second latch unit.
[0008] In some embodiments, the first latch unit includes the latch circuit according to the first aspect of the present disclosure.
[0009] In some embodiments, the second latch unit includes the latch circuit according to the first aspect of the present disclosure.
[0010] According to a fourth aspect of the present disclosure, a register is provided, the register comprising: a plurality of data input terminals configured to receive data signals; a plurality of data output terminals configured to output data signals; a clock control terminal configured to receive clock signals; a clock buffer configured to buffer the clock signals received by the clock control terminal and provide clock signals to a plurality of register units; and the plurality of register units are connected in parallel between the plurality of data input terminals and the plurality of data output terminals, and are configured to write and / or read data under the control of the clock signals. The register units in the plurality of register units are the dynamic latches according to the second aspect of the present disclosure, or the dynamic D flip-flops according to the third aspect of the present disclosure.
[0011] According to a fifth aspect of the present disclosure, a processor is provided, which includes the dynamic latch according to the second aspect of the present disclosure, or the dynamic D flip-flop according to the third aspect of the present disclosure, or the register according to the fourth aspect of the present disclosure.
[0012] According to a sixth aspect of the present disclosure, a computing device is provided, which includes the processor according to the fifth aspect of the present disclosure.
[0013] Other features and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The accompanying drawings, which constitute a part of the specification, describe embodiments of the present disclosure and, together with the specification, are used to explain the principles of the present disclosure. With reference to the accompanying drawings, the present disclosure can be more clearly understood according to the following detailed description, in which:
[0015] Figure 1 A circuit diagram of a dynamic latch according to a comparative example of the present disclosure is shown;
[0016] Figure 2 A dynamic latch according to some embodiments of the present disclosure is shown;
[0017] Figure 3 A clock buffer according to some embodiments of the present disclosure is shown;
[0018] Figure 4 A dynamic latch and its associated clock circuit according to some embodiments of the present disclosure are shown;
[0019] Figures 5 to 18 Schematic diagrams of circuits of dynamic latches according to some embodiments of the present disclosure are respectively shown;
[0020] Fig.19 A dynamic D flip-flop according to some embodiments of the present disclosure is shown;
[0021] Figure 20 to Figure 25 Schematic diagrams of circuits of dynamic D flip-flops according to some embodiments of the present disclosure are respectively shown;
[0022] Fig.26 shows registers according to some embodiments of the present disclosure;
[0023] Fig. 27 Shows Figure 7 An example timing diagram of a circuit of a dynamic latch is shown;
[0024] Fig.28 Shows Fig.10 An example timing diagram of a dynamic latch circuit is shown.
[0025] Note that in the embodiments described below, the same reference numerals are sometimes used in common between different drawings to represent the same parts or parts with the same functions, and their repeated descriptions are omitted. In this specification, similar reference numerals and letters are used to represent similar items, so once an item is defined in one drawing, it does not need to be further discussed in other drawings unless otherwise specified.
[0026] For ease of understanding, the positions, sizes, and ranges of various structures shown in the drawings and the like sometimes do not represent actual positions, sizes, and ranges, etc. Therefore, the disclosed invention is not limited to the positions, sizes, and ranges, etc. disclosed in the drawings and the like. In addition, the drawings are not necessarily drawn to scale, and some features may be exaggerated to show details of specific components. DETAILED DESCRIPTION
[0027] Various exemplary embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure.
[0028] The following description of at least one exemplary embodiment is in fact merely illustrative and is in no way intended to limit the present disclosure and its application or use. That is, the structures and methods herein are shown in an exemplary manner to illustrate different embodiments of the structures and methods in the present disclosure. However, those skilled in the art will appreciate that they merely illustrate exemplary ways of the present disclosure that can be implemented, rather than exhaustive ways. In addition, the drawings need not be drawn to scale, and some features may be enlarged to illustrate the details of specific components.
[0029] In addition, technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.
[0030] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0031] It should be understood that although the drawings in this document mainly use metal oxide semiconductor (MOS) transistors as examples for illustration, the present disclosure is not limited thereto, but may also adopt any other suitable transistors, including but not limited to bipolar junction (BJT) transistors, etc.
[0032] It should also be understood that, in this article, the control terminal of a transistor may refer to a port used to control the current flow and switch state of the transistor, and the transmission terminal of a transistor may refer to a port for current or signal input and output of the transistor. For example, specifically, for a MOS transistor, the control terminal is the gate, and the transmission terminal is the source and drain; for a BJT transistor, the control terminal is the base, and the transmission terminal is the emitter and collector.
[0033] It should also be understood that, in this article, the first conductivity type can be configured so that the transistor is turned on when its control terminal is at a low level, and the second conductivity type can be configured so that the transistor is turned on when its control terminal is at a high level. For example, specifically, for a MOS transistor, the first conductivity type is a P type, and the second conductivity type is an N type; for a BJT transistor, the first conductivity type is a PNP type, and the second conductivity type is an NPN type.
[0034] It should also be understood that in this article, power and ground are relative concepts, which exist relative to each other and are used to describe the polarity and direction of voltage in a circuit. For example, power can represent a high level and ground can represent a low level.
[0035] Figure 1A dynamic latch 10 according to a comparative example of the present disclosure is shown. The dynamic latch 10 includes a tri-state gate 11 and an inverter 12 which are sequentially connected in series between a data input terminal D and a data output terminal Q. Specifically, the tri-state gate 11 includes a P-type metal oxide semiconductor (PMOS) transistor P1, a PMOS transistor P2, an N-type metal oxide semiconductor (NMOS) transistor N1, and an NMOS transistor N2 which are sequentially connected in series between a power supply VDD and a ground VSS. The gates of the PMOS transistor P1 and the NMOS transistor N2 are connected in common to form an input terminal of the tri-state gate 11. The drains of the PMOS transistor P2 and the NMOS transistor N1 are connected in common to form an output terminal of the tri-state gate 11. The clock signals received by the gates of the PMOS transistor P2 and the NMOS transistor N1 are inverted to each other. The inverter 12 includes a PMOS transistor P0 and an NMOS transistor N0 connected in series between a power supply VDD and a ground VSS, the gates of the two transistors are connected together to form an input terminal of the inverter 12, and the drains of the two transistors are connected together to form an output terminal of the inverter 12. Therefore, assuming that the data input terminal D receives a data signal S, when the clock signal CLKP is at a high level and the clock signal CLKN is at a low level, the tri-state gate 11 is turned on, and the data signal S is inverted by the tri-state gate 11 and transmitted to the inverter 12, and then inverted by the inverter 12, so that the same-phase version of the data signal S is output at the data output terminal Q. That is, the dynamic latch 10 is a dynamic latch for providing a same-phase output.
[0036] like Figure 1 As shown, a node A is formed between the tri-state gate 11 and the inverter 12. Data is temporarily stored on the node A through the parasitic capacitance of the inverter 12. However, in the operation of the dynamic latch 10, the potential of the node A may be floating during a portion of the clock cycle. Dynamic leakage will cause the data temporarily stored on the node A to be lost.
[0037] Specifically, when CLKP is at a high level and CLKN is at a low level, the tri-state gate 11 is turned on, thereby transmitting the inverted version of the data from the data input terminal D to the node A, so as to write the inverted version of the data into the parasitic capacitor C of the node A. When CLKP becomes a low level and CLKN becomes a high level, the tri-state gate 11 is closed, and the inverted version of the data previously transmitted by the tri-state gate 11 is maintained in the parasitic capacitor C of the node A.
[0038] Ideally, during the period when CLKP is low and CLKN is high (referred to as the off period), the tri-state gate 11 is off, and the output of the dynamic latch 10 maintains the original state, and the node A is in a floating state. The leakage current of the PMOS transistor P2 and the NMOS transistor N1 itself will charge and discharge the floating node A. When one of the PMOS transistor P2 and the NMOS transistor N1 has a more serious leakage than the other, the voltage state of the node A may be discharged to the opposite state (i.e., the node A cannot maintain the correct voltage state), thereby undesirably changing the output state of the dynamic latch 10, causing the dynamic latch 10 to have a functional error.
[0039] For example, assuming that the data input terminal D originally provides data "1", the tri-state gate 11 is turned on so that the node A maintains the data "0", and thus the output of the dynamic latch 10 is "1". Subsequently, CLKP becomes a low level and CLKN becomes a high level, so that the PMOS transistor P2 and the NMOS transistor N1 are turned off. If the data input terminal D provides data "0" at this time, the PMOS transistor P1 is turned on and the NMOS transistor N2 is turned off. Ideally, even if the PMOS transistor P1 is turned on so that the level at the source end of the PMOS transistor P2 is controlled to a high level by the power supply VDD, since the PMOS transistor P2 is turned off, the data at the node A cannot be rewritten to "1", and the output state of the dynamic latch 10 will not be changed. However, if the PMOS transistor P2 has leakage and cannot be completely turned off ideally, the power supply VDD is equivalent to charging the parasitic capacitance of the node A. On the other hand, ideally, both NMOS transistors N1 and N2 are turned off. However, if the NMOS transistors N1 and N2 have leakage and cannot be completely turned off ideally, the ground VSS is equivalent to discharging the parasitic capacitance of node A. The charging process and the discharging process compete with each other. Once the leakage of the PMOS transistor P2 is more serious than the leakage of the NMOS transistors N1 and N2 connected in series, the data of node A will gradually be rewritten to "1", causing the data "0" that should be maintained in node A to be lost, and thus the output of the dynamic latch 10 unexpectedly becomes "0". Generally speaking, the leakage of a single PMOS transistor P2 is more serious than the leakage of the NMOS transistors N1 and N2 connected in series. Of course, in some processes, the leakage of the NMOS transistor is much more serious than that of the PMOS transistor, which may lead to the opposite situation.
[0040] Similarly, assuming that the data input terminal D originally provides data "0", the tri-state gate 11 is turned on so that the node A maintains the data "1", and thus the output of the dynamic latch 10 is "0". Subsequently, CLKP becomes a low level and CLKN becomes a high level, so that the PMOS transistor P2 and the NMOS transistor N1 are turned off. If the data input terminal D provides data "1" at this time, the PMOS transistor P1 is turned off and the NMOS transistor N2 is turned on. Ideally, even if the NMOS transistor N2 is turned on so that the level at the source end of the NMOS transistor N1 is controlled to a low level by the ground VSS, since the NMOS transistor N1 is turned off, the data at the node A cannot be rewritten to "0", and the output state of the dynamic latch 10 will not be changed. However, if the NMOS transistor N1 has leakage and cannot be completely turned off ideally, the ground VSS is equivalent to discharging the parasitic capacitance of the node A. On the other hand, ideally, both the PMOS transistors P1 and P2 are turned off. However, if the PMOS transistors P1 and P2 have leakage and cannot be completely turned off ideally, the power supply VDD is equivalent to charging the parasitic capacitance of node A. The discharge process and the charging process compete with each other. Once the leakage of the NMOS transistor N1 is more serious than the leakage of the PMOS transistors P1 and P2 connected in series, the data of node A will gradually be rewritten to "0", causing the data "1" that should be maintained in node A to be lost, and thus the output of the dynamic latch 10 unexpectedly becomes "1". Generally speaking, the leakage of a single NMOS transistor N1 is more serious than the leakage of the PMOS transistors P1 and P2 connected in series. Of course, in some processes, the leakage of the PMOS transistor is much more serious than that of the NMOS transistor, which may lead to the opposite situation.
[0041] That is to say, when CLKP is at a low level and CLKN is at a high level, the tri-state gate 11 may not be ideally kept closed, but there is a certain leakage path, especially as the closed period increases, the risk of data loss increases. However, as the process node continues to shrink (for example, 7 nanometers, 5 nanometers, etc.), the leakage of NMOS transistors and PMOS transistors increases, and the leakage imbalance between the two may also be amplified, which requires that the closed period has to be shortened.
[0042] Specifically, assuming that the charge stored on the parasitic capacitor C is Q, the capacitance value of the parasitic capacitor C is C, and the voltage across the parasitic capacitor C is V, then Q=C*V. If the leakage current is I leakage , then the leakage time T (corresponding to the off period) is T=Q / I leakage =C*V / I leakage The leakage time is proportional to the clock period, that is, the clock frequency F clk ∝1 / T=I leakage / (C*V). Therefore, dynamic leakage limits the minimum operating frequency of the dynamic latch. If the operating frequency of the dynamic latch is too low, functional errors may occur.
[0043] To this end, the present disclosure provides a dynamic latch that can effectively suppress dynamic leakage, so that it can operate normally at a lower operating frequency. This is conducive to reducing power consumption, especially when such a dynamic latch is widely used in a computing chip, the overall power consumption of the computing chip can be significantly reduced. The dynamic latch according to various embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings. It should be understood that the actual dynamic latch may also include other components, and in order to avoid blurring the main points of the present disclosure, these other components are not discussed herein and are not shown in the accompanying drawings.
[0044] Figure 2 A dynamic latch 100 according to some embodiments of the present disclosure is shown. The dynamic latch 100 includes a data input terminal 101, a data output terminal 102, a clock control terminal 103, and a latch unit 104 and an inverting drive unit 105 connected in series between the data input terminal 101 and the data output terminal 102. The data input terminal 101 is configured to receive a data signal. The data output terminal 102 is configured to output a data signal. The clock control terminal 103 is configured to receive a clock signal. The latch unit 104 is configured to latch or transmit the data signal from the data input terminal 101 under the control of the clock signal. The inverting drive unit 105 is configured to invert and transmit the data signal from the latch unit 104.
[0045] Figure 3 The clock buffer 200 for providing a clock signal is shown. The clock buffer 200 is composed of two stages of inverters 201 and 202 connected in series. The clock buffer 200 buffers the input clock signal CK and provides mutually inverted clock signals CLKN and CLKP. Figure 3 Only two inverters are shown in FIG. 1 , but the number of inverters is not limited to two, and can be more. The clock buffer 200 can be used to provide a clock signal for the dynamic latch 100. Figure 4 As shown, the clock signal CK is buffered by the clock buffer 200 and provides mutually inverted clock signals CLKN and CLKP to the dynamic latch 100. Similarly, the clock buffer 200 can be used to provide mutually inverted clock signals CLKN and CLKP to the dynamic D flip-flops, registers, etc. described below.
[0046] Exemplarily, the latch unit 104 may include a latch circuit according to various embodiments of the present disclosure. Such a latch circuit may be configured as a latch circuit for providing an inverted output. Specifically, the latch circuit may include: an input terminal; an output terminal; and a first transistor group having a first conductivity type, a second transistor group having a first conductivity type, a third transistor group having a second conductivity type different from the first conductivity type, and a fourth transistor group having a second conductivity type, which are sequentially connected in series between a power supply and a ground. As described above, the first conductivity type is configured to turn on the transistor when its control terminal is at a low level, and the second conductivity type is configured to turn on the transistor when its control terminal is at a high level.
[0047] The node between the second transistor group and the third transistor group is connected to the output terminal for outputting the data signal. The control terminal of one of the first transistor group and the second transistor group and the control terminal of one of the third transistor group and the fourth transistor group are connected to the input terminal for receiving the data signal. The control terminal of the other transistor group in the first transistor group and the second transistor group is configured to receive a first clock signal. The control terminal of the other transistor group in the third transistor group and the fourth transistor group is configured to receive a second clock signal that is inverted to the first clock signal. In this article, the transistor or transistor group for receiving the data signal may be referred to as a data transistor or a data transistor group, and the transistor or transistor group for receiving the clock signal may be referred to as a clock transistor or a clock transistor group. In addition, the circuit portion from the power supply to the output terminal may be referred to as a first sub-circuit, which includes the first transistor group and the second transistor group; the circuit portion from the ground to the output terminal may be referred to as a second sub-circuit, which includes the third transistor group and the fourth transistor group.
[0048] In particular, at least one transistor group among the first to fourth transistor groups includes a plurality of transistors connected in series, so that leakage at the at least one transistor group can be reduced, thereby achieving a reduced minimum operating frequency.
[0049] In some embodiments, the at least one transistor group may be a clock transistor group, for example, including one or two clock transistor groups. In some embodiments, the at least one transistor group may be a data transistor group, for example, including one or two data transistor groups. In some embodiments, the transistor groups in the at least one transistor group include at least one data transistor group and at least one clock transistor group. In most cases, it may be more advantageous to have the clock transistor group include a plurality of transistors connected in series rather than having the data transistor group include a plurality of transistors connected in series, because as described above with respect to Figure 1As analyzed, leakage of the clock transistor is more likely to cause data loss (the data transistor is connected in series with the corresponding clock transistor in a corresponding leakage path. Compared with a single clock transistor in another leakage path, on the one hand, the corresponding leakage path may have less leakage due to having more transistors, and on the other hand, the corresponding leakage path is more likely to proceed in the direction of repairing the data held by the node A than the other leakage path). Of course, making the clock transistor group include a plurality of transistors connected in series and further making the data transistor group include a plurality of transistors connected in series can be advantageous in some aspects, because leakage can be further suppressed, but too many transistors may also cause problems such as excessive chip area occupation and slow operation speed.
[0050] As a non-limiting embodiment, the control terminal of the first transistor group and the control terminal of the fourth transistor group can be connected to the input terminal together, the control terminal of the second transistor group is configured to receive a first clock signal, and the control terminal of the third transistor group is configured to receive a second clock signal. In such an embodiment, the first transistor group and the fourth transistor group act as data transistor groups, and the second transistor group and the third transistor group act as clock transistor groups. In some examples, at least one transistor group in the second transistor group and the third transistor group includes a plurality of transistors connected in series. Further, in some examples, at least one transistor group in the first transistor group and the fourth transistor group includes a plurality of transistors connected in series.
[0051] For example, refer to Figure 5 , which shows a circuit 300 of a dynamic latch 100 according to some embodiments of the present disclosure. Figure 5 As shown, the circuit 300 includes a latch circuit 310 (which serves as the latch unit 104 (specifically, the inverting latch unit) of the dynamic latch 100) and an inverter 330 (which serves as the inverting driving unit 105 of the dynamic latch 100) which are sequentially connected in series between the data input terminal D and the data output terminal Q.
[0052] The inverter 330 includes a PMOS transistor 331 and an NMOS transistor 332 which are sequentially connected in series between a power supply VDD and a ground VSS, the control terminals (here, gates) of the two transistors are commonly connected to form an input terminal of the inverter 330, and the transmission terminals (here, drains) of the two transistors are commonly connected to form an output terminal of the inverter 330. The output terminal of the inverter 330 can directly provide a data output terminal Q of the circuit 300.
[0053] The latch circuit 310 has an input terminal 3101 and an output terminal 3102. The input terminal 3101 of the latch circuit 310 can directly provide the data input terminal D of the circuit 300. The output terminal 3102 of the latch circuit 310 is connected to the input terminal of the inverter 330, forming a node A whose potential floats during part of the time.
[0054] like Figure 5 As shown, the latch circuit 310 includes a PMOS transistor group 311, a PMOS transistor group 312, an NMOS transistor group 313, and an NMOS transistor group 314 which are sequentially connected in series between a power supply VDD and a ground VSS. The control terminal (here, the gate) of the PMOS transistor group 311 and the control terminal (here, the gate) of the NMOS transistor group 314 are commonly connected to an input terminal 3101. The node between the PMOS transistor group 312 and the NMOS transistor group 313 is connected to an output terminal 3102. In particular, the PMOS transistor group 311 includes a PMOS transistor 3111, the PMOS transistor group 312 includes two PMOS transistors 3121 and 3122 connected in series, the NMOS transistor group 313 includes an NMOS transistor 3131, and the NMOS transistor group 314 includes an NMOS transistor 3141. Generally, the bulk of these transistors are not suspended, wherein the bulk of the PMOS transistor can be connected to the power supply, and the bulk of the NMOS transistor can be connected to the ground.
[0055] exist Figure 5 In the example of , the PMOS transistor group 312 is configured to receive the clock signal CLKN, and the NMOS transistor group 313 is configured to receive the clock signal CLKP which is inverse to the clock signal CLKN. Specifically, the control terminals (here, gates) of the PMOS transistors 3121 and 3122 can be connected together to receive the clock signal CLKN, and the control terminal (here, gate) of the NMOS transistor 3131 receives the clock signal CLKP.
[0056] and Figure 1 Compared with the dynamic latch 10, Figure 5 By including a plurality of PMOS transistors connected in series in the PMOS transistor group for receiving the clock signal, it is equivalent to realizing a PMOS transistor with a channel extension for receiving the clock signal, thereby reducing leakage current and achieving a reduced minimum operating frequency.
[0057] This is especially advantageous in digital circuits, because digital circuits cannot design transistor sizes as arbitrarily as analog circuits, but usually use transistors from the Standard Cell Library. The channel length size selection of transistors in the Standard Cell Library is limited, and can usually include two levels, one of which is 1 unit length and the other is 1.2 unit length. The channel extension caused by simply replacing a transistor with a 1 unit length channel with a 1.2 unit length channel cannot fully suppress dynamic leakage. By increasing the threshold voltage V TH It can also reduce its leakage current, but the choice of threshold voltage of transistors in the standard cell library is also limited, and the change caused by increasing the threshold voltage is too large, which will also make the transistor more difficult to turn on (for example, the power supply voltage needs to be increased), and it is not possible to accurately suppress dynamic leakage. Therefore, by controlling the number of transistors connected in series in the transistor group, the desired channel extension effect can be achieved according to specific needs, thereby fully suppressing dynamic leakage. Of course, the number of transistors should not be too many, otherwise it will slow down the speed of the dynamic latch. In some examples, the number of transistors in each of the at least one transistor group from the first transistor group to the fourth transistor group does not exceed three, for example, two.
[0058] Figure 6 FIG. 3 shows a circuit 300 of a dynamic latch 100 according to some other embodiments of the present disclosure. Figure 5 In comparison, Figure 6 In the embodiment, the PMOS transistor group 312 includes a PMOS transistor 3121, and the NMOS transistor group 313 includes two NMOS transistors 3131 and 3132 connected in series. The control terminal (here, the gate) of the PMOS transistor 3121 receives the clock signal CLKN, and the control terminals (here, the gates) of the NMOS transistors 3131 and 3132 can be connected together to receive the clock signal CLKP. Figure 1 Compared with the dynamic latch 10, Figure 6 By including a plurality of NMOS transistors connected in series in the NMOS transistor group for receiving the clock signal, it is equivalent to realizing an NMOS transistor with a channel extension for receiving the clock signal, thereby reducing leakage current and achieving a reduced minimum operating frequency.
[0059] Figure 7 FIG. 3 shows a circuit 300 of a dynamic latch 100 according to some other embodiments of the present disclosure. Figure 5 In comparison, Figure 7 In the embodiment, the NMOS transistor group 313 includes two NMOS transistors 3131 and 3132 connected in series. Figure 1 Compared with the dynamic latch 10, Figure 7By including a plurality of PMOS transistors connected in series in a PMOS transistor group for receiving a clock signal and a plurality of NMOS transistors connected in series in an NMOS transistor group for receiving a clock signal, it is equivalent to realizing a channel-extended PMOS transistor for receiving a first clock signal and a channel-extended NMOS transistor for receiving a second clock signal, thereby reducing leakage current and achieving a lower minimum operating frequency.
[0060] Figure 8 FIG. 3 shows a circuit 300 of a dynamic latch 100 according to some other embodiments of the present disclosure. Figure 7 In comparison, Figure 8 In the embodiment, the PMOS transistor group 312 includes three PMOS transistors 3121, 3122, and 3123 connected in series, and the NMOS transistor group 313 includes three NMOS transistors 3131, 3132, and 3133 connected in series. The control terminals (here gates) of the PMOS transistors 3121, 3122, and 3123 can be connected together to receive the clock signal CLKN, and the control terminals (here gates) of the NMOS transistors 3131, 3132, and 3133 can be connected together to receive the clock signal CLKP. Figure 7 In comparison, Figure 8 In the embodiment of the present invention, the number of transistors connected in series in each clock transistor group is changed from two to three. As mentioned above, this can further suppress leakage and thus further reduce the minimum operating frequency.
[0061] Fig. 9 FIG. 3 shows a circuit 300 of a dynamic latch 100 according to some other embodiments of the present disclosure. Figure 7 In comparison, Fig. 9 In the embodiment, the PMOS transistor group 311 includes two PMOS transistors 3111 and 3112 connected in series, and the NMOS transistor group 314 includes two NMOS transistors 3141 and 3142 connected in series. The control terminals (here gates) of the PMOS transistors 3111 and 3112 and the NMOS transistors 3141 and 3142 can be connected to the input terminal 3101 in common. Figure 7 compared to, Fig. 9 By including a plurality of PMOS transistors connected in series in a PMOS transistor group for receiving data signals and a plurality of NMOS transistors connected in series in an NMOS transistor group for receiving data signals, it is equivalent to realizing a PMOS transistor with a channel extension for receiving data signals and an NMOS transistor with a channel extension for receiving data signals, thereby reducing leakage current and achieving a lower minimum operating frequency.
[0062] The number of transistors in the two transistor groups can be adjusted according to actual needs. For example, when the transistor process determines that the leakage of the NMOS transistor is more serious than the leakage of the PMOS transistor, the number of transistors included in the NMOS transistor group can be greater than the number of transistors included in the PMOS transistor group. Conversely, when the transistor process determines that the leakage of the PMOS transistor is more serious than the leakage of the NMOS transistor, the number of transistors included in the PMOS transistor group can be greater than the number of transistors included in the NMOS transistor group. In general, the more balanced the leakage of the first sub-circuit and the second sub-circuit, the less likely it is to discharge the voltage state of the floating node A to the opposite state, thereby preventing functional errors.
[0063] Therefore, in some embodiments, the total number of transistors in the first transistor group and the second transistor group may be greater than the total number of transistors in the third transistor group and the fourth transistor group. Additionally or alternatively, in some embodiments, the number of transistors in the clock transistor group in the first transistor group and the second transistor group may be greater than the number of transistors in the clock transistor group in the third transistor group and the fourth transistor group. This is for example Figure 5 In such an embodiment, the transistor of the first conductivity type may have a more severe leakage level than the transistor of the second conductivity type.
[0064] In other embodiments, the total number of transistors in the first transistor group and the second transistor group may be less than the total number of transistors in the third transistor group and the fourth transistor group. Additionally or alternatively, in some embodiments, the number of transistors in the clock transistor group in the first transistor group and the second transistor group may be less than the number of transistors in the clock transistor group in the third transistor group and the fourth transistor group. This is for example Figure 6 In such an embodiment, the transistor of the second conductivity type may have a more severe leakage level than the transistor of the first conductivity type.
[0065] In some other embodiments, the total number of transistors in the first transistor group and the second transistor group may be equal to the total number of transistors in the third transistor group and the fourth transistor group. Additionally or alternatively, in some embodiments, the number of transistors in the clock transistor group in the first transistor group and the second transistor group may be equal to the number of transistors in the clock transistor group in the third transistor group and the fourth transistor group. This is for example Figure 7 and Figure 8 In such an embodiment, the transistor of the first conductivity type and the transistor of the second conductivity type may have substantially the same leakage level. For example, in this document, "substantially the same leakage level" may mean that the difference in leakage level does not exceed 20%, or 15%, or 10%, or 5%.
[0066] Although Figures 5 to 9 The embodiments shown all depict the number of transistors in the P-type data transistor group (e.g., PMOS transistor group 311) and the N-type data transistor group (e.g., NMOS transistor group 314) as being the same, but this is merely illustrative and not restrictive. The number of transistors in the data transistor group may also be adjusted individually or in combination with the number of transistors in the clock transistor group according to the above teachings, which will not be elaborated herein.
[0067] In the above circuit 300, the dynamic latch is high level active. For example, in combination with Figure 7 and Fig. 27 , at the beginning, the input data at the data input terminal D is "0", and the data output terminal Q provides the same-phase output data "0". Then, the input data at the data input terminal D changes from "0" to "1", but because CLKP is low and CLKN is high at this time, the latch circuit 310 is turned off, so the data output terminal Q still remains "0". As CLKP becomes high and CLKN becomes low, the latch circuit 310 is turned on, and the input data "1" at the data input terminal D is inverted by the latch circuit 310 and then inverted by the inverter 330, so that the data output terminal Q provides the same-phase output data "1".
[0068] In addition, the application of the clock signals CLKP and CLKN in any embodiment of this invention can be reversed. Fig.10 , and Figure 7 In contrast, the application of the clock signals CLKP and CLKN is swapped, so that the PMOS transistor group 312 receives the clock signal CLKP and the NMOS transistor group 313 receives the clock signal CLKN, thereby realizing a low-level active dynamic latch. Fig.10 and Fig.28 , at the beginning, the input data at the data input terminal D is "0", and the data output terminal Q provides the same-phase output data "0". Then, the input data at the data input terminal D changes from "0" to "1", but because CLKP is high and CLKN is low at this time, the latch circuit 310 is turned off, so the data output terminal Q still remains "0". As CLKP becomes low and CLKN becomes high, the latch circuit 310 is turned on, and the input data "1" at the data input terminal D is inverted by the latch circuit 310 and then inverted by the inverter 330, so that the data output terminal Q provides the same-phase output data "1".
[0069] As another non-limiting embodiment, the control terminal of the second transistor group and the control terminal of the third transistor group can be connected to the input terminal together, the control terminal of the first transistor group is configured to receive a first clock signal, and the control terminal of the fourth transistor group is configured to receive a second clock signal. In such an embodiment, the first transistor group and the fourth transistor group act as clock transistor groups, and the second transistor group and the third transistor group act as data transistor groups. In some examples, at least one transistor group in the first transistor group and the fourth transistor group includes a plurality of transistors connected in series. Further, in some examples, at least one transistor group in the second transistor group and the third transistor group includes a plurality of transistors connected in series.
[0070] For example, refer to Fig.11 , which shows a circuit 400 of a dynamic latch 100 according to some embodiments of the present disclosure. Fig.11 As shown, the circuit 400 includes a latch circuit 410 (which serves as the latch unit 104 (specifically, the inverting latch unit) of the dynamic latch 100) and an inverter 430 (which serves as the inverting driving unit 105 of the dynamic latch 100) which are sequentially connected in series between the data input terminal D and the data output terminal Q.
[0071] Similar to the inverter 330, the inverter 430 includes a PMOS transistor 431 and an NMOS transistor 432 connected in series between a power source VDD and a ground VSS. The output terminal of the inverter 430 can directly provide a data output terminal Q of the circuit 400.
[0072] Similar to latch circuit 310, latch circuit 410 has input terminal 4101 and output terminal 4102. Input terminal 4101 of latch circuit 410 can directly provide data input terminal D of circuit 400. Output terminal 4102 of latch circuit 410 is connected to input terminal of inverter 430, forming node A whose potential floats for part of the time.
[0073] like Fig.11As shown, the latch circuit 410 includes a PMOS transistor group 411, a PMOS transistor group 412, an NMOS transistor group 413, and an NMOS transistor group 414, which are sequentially connected in series between a power supply VDD and a ground VSS. The control end (here, the gate) of the PMOS transistor group 412 and the control end (here, the gate) of the NMOS transistor group 413 are commonly connected to an input terminal 4101. The node between the PMOS transistor group 412 and the NMOS transistor group 413 is connected to an output terminal 4102. The PMOS transistor group 411 includes two PMOS transistors 4111 and 4112 connected in series, the PMOS transistor group 412 includes a PMOS transistor 4121, the NMOS transistor group 413 includes an NMOS transistor 4131, and the NMOS transistor group 414 includes an NMOS transistor 4141. Generally, the substrate regions (bulks) of these transistors are not suspended, wherein the substrate region of the PMOS transistor can be connected to the power supply, and the substrate region of the NMOS transistor can be connected to the ground.
[0074] exist Fig.11 In the example of FIG. 4 , the PMOS transistor group 411 is configured to receive a clock signal CLKN, and the NMOS transistor group 414 is configured to receive a clock signal CLKP that is inverted with respect to the clock signal CLKN.
[0075] and Figure 1 Compared with the dynamic latch 10, Fig.11 By including a plurality of PMOS transistors connected in series in the PMOS transistor group for receiving the clock signal, it is equivalent to realizing a PMOS transistor with a channel extension for receiving the clock signal, thereby reducing the leakage current and achieving a reduced minimum operating frequency.
[0076] Fig.12 FIG. 4 shows a circuit 400 of a dynamic latch 100 according to some other embodiments of the present disclosure. Fig.11 In comparison, Fig.12 In the embodiment, the PMOS transistor group 411 includes a PMOS transistor 4111, and the NMOS transistor group 414 includes two NMOS transistors 4141 and 4142 connected in series. Figure 1 Compared with the dynamic latch 10, Fig.12 By including a plurality of NMOS transistors connected in series in the NMOS transistor group for receiving the clock signal, it is equivalent to realizing an NMOS transistor with a channel extension for receiving the clock signal, thereby reducing leakage current and achieving a reduced minimum operating frequency.
[0077] Fig.13 FIG. 4 shows a circuit 400 of a dynamic latch 100 according to some other embodiments of the present disclosure. Fig.11In comparison, Fig.13 In the embodiment, the NMOS transistor group 414 includes two NMOS transistors 4141 and 4142 connected in series. Figure 1 Compared with the dynamic latch 10, Fig.13 By including a plurality of PMOS transistors connected in series in a PMOS transistor group for receiving a clock signal and a plurality of NMOS transistors connected in series in an NMOS transistor group for receiving a clock signal, it is equivalent to realizing a channel-extended PMOS transistor for receiving a first clock signal and a channel-extended NMOS transistor for receiving a second clock signal, thereby reducing leakage current and achieving a lower minimum operating frequency.
[0078] Fig.14 FIG. 4 shows a circuit 400 of a dynamic latch 100 according to some other embodiments of the present disclosure. Fig.13 In comparison, Fig.14 In the embodiment, the PMOS transistor group 411 includes three PMOS transistors 4111, 4112, and 4113 connected in series, and the NMOS transistor group 414 includes three NMOS transistors 4141, 4142, and 4143 connected in series. Fig.13 In comparison, Fig.14 In the embodiment of the present invention, the number of transistors connected in series in each clock transistor group is changed from two to three. As mentioned above, this can further suppress leakage and thus further reduce the minimum operating frequency.
[0079] Fig.15 FIG. 4 shows a circuit 400 of a dynamic latch 100 according to some other embodiments of the present disclosure. Fig.13 In comparison, Fig.15 In the embodiment, the PMOS transistor group 412 includes two PMOS transistors 4121 and 4122 connected in series, and the NMOS transistor group 413 includes two NMOS transistors 4131 and 4132 connected in series. Fig.13 compared to, Fig.15 By including a plurality of PMOS transistors connected in series in a PMOS transistor group for receiving data signals and a plurality of NMOS transistors connected in series in an NMOS transistor group for receiving data signals, it is equivalent to realizing a PMOS transistor with a channel extension for receiving data signals and an NMOS transistor with a channel extension for receiving data signals, thereby reducing leakage current and achieving a lower minimum operating frequency.
[0080] Fig.16 FIG. 4 shows a circuit 400 of a dynamic latch 100 according to some other embodiments of the present disclosure. Fig.13In contrast, the application of the clock signals CLKP and CLKN are swapped, so that the PMOS transistor group 411 receives the clock signal CLKP and the NMOS transistor group 414 receives the clock signal CLKN, thereby realizing a low-level active dynamic latch.
[0081] As another non-limiting embodiment, the control terminal of the first transistor group and the control terminal of the third transistor group can be connected to the input terminal together, the control terminal of the second transistor group is configured to receive a first clock signal, and the control terminal of the fourth transistor group is configured to receive a second clock signal. In such an embodiment, the second transistor group and the fourth transistor group act as clock transistor groups, and the first transistor group and the third transistor group act as data transistor groups. In some examples, at least one transistor group in the second transistor group and the fourth transistor group includes a plurality of transistors connected in series. Further, in some examples, at least one transistor group in the first transistor group and the third transistor group includes a plurality of transistors connected in series.
[0082] For example, refer to Fig.17 , which shows a circuit 500 of a dynamic latch 100 according to some embodiments of the present disclosure. Fig.17 As shown, the circuit 500 includes a latch circuit 510 (which serves as the latch unit 104 (specifically, the inverting latch unit) of the dynamic latch 100) and an inverter 530 (which serves as the inverting driving unit 105 of the dynamic latch 100) which are sequentially connected in series between the data input terminal D and the data output terminal Q.
[0083] Similar to the inverter 330, the inverter 530 includes a PMOS transistor 531 and an NMOS transistor 532 connected in series between a power source VDD and a ground VSS. The output terminal of the inverter 530 can directly provide a data output terminal Q of the circuit 500.
[0084] Similar to latch circuit 310, latch circuit 510 has input terminal 5101 and output terminal 5102. Input terminal 5101 of latch circuit 510 can directly provide data input terminal D of circuit 500. Output terminal 5102 of latch circuit 510 is connected to input terminal of inverter 530, forming node A whose potential floats for part of the time.
[0085] like Fig.17As shown, the latch circuit 510 includes a PMOS transistor group 511, a PMOS transistor group 512, an NMOS transistor group 513, and an NMOS transistor group 514, which are sequentially connected in series between a power supply VDD and a ground VSS. The PMOS transistor group 511 includes a PMOS transistor 5111, the PMOS transistor group 512 includes two PMOS transistors 5121 and 5122 connected in series, the NMOS transistor group 513 includes two NMOS transistors 5131 and 5132 connected in series, and the NMOS transistor group 514 includes an NMOS transistor 5141. Generally, the bulk of these transistors are not suspended, wherein the bulk of the PMOS transistor can be connected to the power supply, and the bulk of the NMOS transistor can be connected to the ground.
[0086] exist Fig.17 In the example of FIG. 5 , the PMOS transistor group 512 is configured to receive a clock signal CLKN, and the NMOS transistor group 514 is configured to receive a clock signal CLKP that is inverted from the clock signal CLKN. Figure 1 Compared with the dynamic latch 10, Fig.17 By including a plurality of PMOS transistors connected in series in the PMOS transistor group for receiving the clock signal, it is equivalent to realizing a PMOS transistor with a channel extension for receiving the clock signal, thereby reducing the leakage current and achieving a reduced minimum operating frequency.
[0087] As another non-limiting embodiment, the control terminal of the second transistor group and the control terminal of the fourth transistor group can be connected to the input terminal together, the control terminal of the first transistor group is configured to receive a first clock signal, and the control terminal of the third transistor group is configured to receive a second clock signal. In such an embodiment, the second transistor group and the fourth transistor group act as data transistor groups, and the first transistor group and the third transistor group act as clock transistor groups. In some examples, at least one transistor group in the first transistor group and the third transistor group includes a plurality of transistors connected in series. Further, in some examples, at least one transistor group in the second transistor group and the fourth transistor group includes a plurality of transistors connected in series.
[0088] For example, refer to Fig.18 , which shows a circuit 500 ′ of a dynamic latch 100 according to some embodiments of the present disclosure. Fig.17 Compared to the circuit 500, the circuit 500' configures the PMOS transistor group 511 to receive the clock signal CLKN, configures the NMOS transistor group 513 to receive the clock signal CLKP which is inverted from the clock signal CLKN, and configures the PMOS transistor group 512 and the NMOS transistor group 514 to receive the data signal.
[0089] Compared with circuit 300, circuits 400, 500, 500' configure different transistor groups in the first to fourth transistor groups as clock transistor groups and data transistor groups, and are similar to circuit 300 in other aspects. Therefore, relevant parts can refer to various embodiments of circuit 300 and will not be described in detail here.
[0090] On the other hand, the present disclosure also provides a dynamic D flip-flop, which can effectively suppress dynamic leakage, so that it can operate normally at a lower operating frequency. This is conducive to reducing power consumption, especially when such a dynamic D flip-flop is widely used in a computing chip, the overall power consumption of the computing chip can be significantly reduced. The dynamic D flip-flop according to various embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings. It should be understood that the actual dynamic D flip-flop may also include other components, and in order to avoid blurring the main points of the present disclosure, these other components are not discussed herein and are not shown in the accompanying drawings. It should also be understood that the latch circuit included in the dynamic D flip-flop depicted in the subsequent drawings is merely exemplary and non-restrictive, and can be replaced by the latch circuit described in any embodiment of the present disclosure.
[0091] Fig.19 A dynamic D flip-flop 600 according to some embodiments of the present disclosure is shown. The dynamic D flip-flop 600 includes a data input terminal 601, a data output terminal 602, a clock control terminal 603, and a first latch unit 604, a second latch unit 605, and an inverting drive unit 606 connected in series between the data input terminal 601 and the data output terminal 602. The data input terminal 601 is configured to receive a data signal. The data output terminal 602 is configured to output a data signal. The clock control terminal 603 is configured to receive a clock signal. The first latch unit 604 is configured to latch or transmit the data signal from the data input terminal 601 under the control of the clock signal. The second latch unit 605 is configured to latch or transmit the data signal from the first latch unit 604 under the control of the clock signal. The inverting drive unit 606 is configured to invert the data signal from the second latch unit 605.
[0092] Compared with the static D flip-flop, the dynamic D flip-flop has a greatly simplified circuit structure due to the reduction of the feedback circuit used to maintain the working state, which not only reduces the chip area but also reduces the power consumption. With these advantages, the dynamic D flip-flop is used on a large scale in computing chips. However, since there are nodes in the dynamic D flip-flop whose potential floats during part of the time (for example, the node formed between the first latch unit 604 and the second latch unit 605, and the node formed between the second latch unit 605 and the inverting drive unit 606), the parasitic capacitance at the node needs to maintain the correct voltage state during the part of the time. In order to avoid the device leakage affecting the voltage of the node, the dynamic D flip-flop must operate at a higher frequency, thereby reducing the leakage time to prevent functional errors. This greatly limits the scope of chip use. For example, in some states of the processor such as sleep or idle, the dynamic D flip-flop may operate at a relatively low frequency, and functional errors are likely to occur at this time.
[0093] In some embodiments, the first latch unit 604 may include a latch circuit according to any embodiment of the present disclosure. The input end of such a latch circuit may directly provide the data input end 601 of the dynamic D flip-flop, for example. As described above, by using the latch circuit of the present disclosure in the first latch unit 604, leakage current can be effectively suppressed, thereby reducing the minimum operating frequency of the dynamic D flip-flop.
[0094] In some examples, the second latch unit 605 may include a tri-state gate. Fig. 20 , which shows a circuit 700 of a dynamic D flip-flop 600 according to some embodiments of the present disclosure. Fig. 20 As shown, the circuit 700 includes a latch circuit 710 (which serves as the first latch unit 604 (specifically, the inverting latch unit) of the dynamic D flip-flop 600), a tri-state gate 720 (which serves as the second latch unit 605 (specifically, the inverting latch unit) of the dynamic D flip-flop 600), and an inverter 760 (which serves as the inverting driving unit 606 of the dynamic D flip-flop 600) which are sequentially connected in series between the data input terminal D and the data output terminal Q. The potential of the node A formed between the latch circuit 710 and the tri-state gate 720, and the node B formed between the tri-state gate 720 and the inverter 760 floats in part of the time.
[0095] The latch circuit 710 includes PMOS transistors 7111, 7121, 7122 and NMOS transistors 7131, 7132, 7141, which are non-limitingly configured as follows: Figure 7The example arrangement shown. The inverter 760 includes a PMOS transistor 761 and an NMOS transistor 762 connected in series between a power supply VDD and a ground VSS. The tri-state gate 720 includes a PMOS transistor 721, a PMOS transistor 722, an NMOS transistor 723, and an NMOS transistor 724 connected in series between a power supply VDD and a ground VSS. In particular, the NMOS transistors 7131, 7132, and the PMOS transistor 722 receive a clock signal CLKP, and the PMOS transistors 7121, 7122, and the NMOS transistor 723 receive a clock signal CLKN. In this way, the clock signal can turn on the tri-state gate 720 when the latch circuit 710 is turned off, and turn off the tri-state gate 720 when the latch circuit 710 is turned on. Thus, when CLKP is at a high level and CLKN is at a low level, the latch circuit 710 is turned on and the tri-state gate 720 is turned off, and the data from the data input terminal D is inverted and transmitted by the latch circuit 710 and output to the node A (for example, rewriting the data of the node A), but cannot continue to pass through the tri-state gate 720. When CLKP becomes a low level and CLKN becomes a high level, the latch circuit 710 is turned off and the tri-state gate 720 is turned on, and the data from the data input terminal D cannot pass through the latch circuit 710, and the data of the node A is retained, while the data from the node A is inverted and transmitted by the tri-state gate 720 and output to the node B (for example, rewriting the data of the node B), and further inverted and transmitted by the inverter 760 and output to the data output terminal Q. When CLKP becomes high again and CLKN becomes low again, the latch circuit 710 is turned on and the tri-state gate 720 is turned off. The data from the data input terminal D is output to the node A (for example, the data of the node A is rewritten) after being inverted by the latch circuit 710, but cannot continue to pass through the tri-state gate 720, and the data of the node B is maintained. Similar to the above, the application of the clock signals CLKP and CLKN can also be reversed, so that the effective level will also change accordingly. In addition, the arrangement of the tri-state gate 720 is not limited to this, and it can also be replaced by the gates of the PMOS transistor 721 and the NMOS transistor 724 receiving the corresponding clock signal and the gates of the PMOS transistor 722 and the NMOS transistor 723 being connected together to receive the data signal. The tri-state gates mentioned elsewhere in this article are also similar and will not be repeated hereafter.
[0096] In some examples, the second latch unit 605 may include a latch circuit according to any embodiment of the present disclosure. Fig.21 , and Fig. 20 In contrast, the tri-state gate 720 is replaced by a latch circuit 730, which serves as the second latch unit 605 (specifically, an inverting latch unit) of the dynamic D flip-flop 600. The latch circuit 730 includes PMOS transistors 7311, 7312, 7321 and NMOS transistors 7331, 7341, 7342, which are non-limitingly configured as follows: Fig.13 Thus, latch circuit 710 can alleviate the influence of dynamic leakage of node A, and latch circuit 730 can alleviate the influence of dynamic leakage of node B, so that the minimum working efficiency of the dynamic D flip-flop can be further reduced. Fig.21 The timing control is similar to Fig. 20 , I won’t go into details here.
[0097] In some examples, the second latch unit 605 may include an inverter and a transmission gate sequentially connected in series between the first latch unit 604 and the inverting driving unit 606. Fig. 22 , and Fig. 20 In contrast, the tri-state gate 720 is replaced by a combination of an inverter 740 and a transmission gate 750, which acts as a second latch unit 605 (specifically, an inverting latch unit) of the dynamic D flip-flop 600. The inverter 740 includes a PMOS crystal 741 and an NMOS transistor 742 connected in series between the power supply VDD and the ground VSS. The transmission gate 750 includes an NMOS transistor 751 and a PMOS transistor 752 connected in parallel between the inverter 740 and the inverter 760. The inverter 740 can provide driving capability for the transmission gate 750. Fig. 22 The timing control is similar to Fig. 20 , I won’t go into details here.
[0098] In some other embodiments, the second latch unit 605 may include a latch circuit according to any embodiment of the present disclosure. In such an embodiment, the first latch unit 604 may include, for example, one of the following: a transmission gate; a tri-state gate; an inverter and a transmission gate connected in series between the data input terminal 601 and the second latch unit 605.
[0099] For example, Fig.23 FIG. 8 is a circuit 800 of a dynamic D flip-flop 600 according to some embodiments of the present disclosure. Fig.23 As shown, the circuit 800 includes a tri-state gate 810 (which serves as the first latch unit 604 (specifically, the inverting latch unit) of the dynamic D flip-flop 600), a latch circuit 850 (which serves as the second latch unit 605 (specifically, the inverting latch unit) of the dynamic D flip-flop 600), and an inverter 860 (which serves as the inverting driving unit 606 of the dynamic D flip-flop 600) which are sequentially connected in series between the data input terminal D and the data output terminal Q. The tri-state gate 810 includes a PMOS transistor 811, a PMOS transistor 812, an NMOS transistor 813, and an NMOS transistor 814 which are sequentially connected in series between the power supply VDD and the ground VSS. The latch circuit 850 includes PMOS transistors 8511, 8521, 8522 and NMOS transistors 8531, 8532, 8541, which are non-limitingly taken as follows: Figure 7 The inverter 860 includes a PMOS transistor 861 and an NMOS transistor 862 which are sequentially connected in series between a power supply VDD and a ground VSS. Fig.23 The timing control is similar to Fig. 20 , I won’t go into details here.
[0100] Fig.24 and Fig.23 In contrast, the tri-state gate 810 is replaced by a combination of an inverter 820 and a transmission gate 830, which serves as a first latch unit 604 (specifically, an inverting latch unit) of the dynamic D flip-flop 600. The inverter 820 includes a PMOS transistor 821 and an NMOS transistor 822 connected in series between a power supply VDD and a ground VSS. The transmission gate 830 includes an NMOS transistor 831 and a PMOS transistor 832 connected in parallel between the inverter 820 and the latch circuit 850. Fig.24 The timing control is similar to Fig. 20 , I won’t go into details here.
[0101] Fig.25 and Fig.24 In contrast, the combination of the inverter 820 and the transmission gate 830 is replaced by a transmission gate 840, which serves as the first latch unit 604 (specifically, the in-phase latch unit) of the dynamic D flip-flop 600. The transmission gate 840 includes an NMOS transistor 841 and a PMOS transistor 842 connected in parallel between the data input terminal D and the latch circuit 850. Fig.25 The timing control is similar to Fig. 20 , I won’t go into details here.
[0102] The present disclosure provides a register in another aspect. Fig.26 As shown, the register 900 includes: a plurality of data input terminals D[n:0], configured to receive data signals; a plurality of data output terminals Q[n:0], configured to output data signals; a clock control terminal CK, configured to receive clock signals. The register 900 also includes a clock buffer 902, which is configured to buffer the clock signal received by the clock control terminal CK and provide clock signals (CLKP, CLKN) to a plurality of register units 901. The clock buffer 902 is similar to the aforementioned clock buffer 200 and is not described in detail here. The register 900 also includes a plurality of register units 901, which are connected in parallel between the plurality of data input terminals D[n:0] and the plurality of data output terminals Q[n:0], and are configured to write and / or read data under the control of the clock signal. In particular, the register units in the plurality of register units 901 may be the dynamic latch according to any embodiment of the present disclosure, or the dynamic D flip-flop according to any embodiment of the present disclosure.
[0103] Usually, an independent latch or D flip-flop requires a clock buffer to generate mutually inverted clock signals for timing control. If an independent clock buffer is configured for each latch or D flip-flop, the clock buffer will consume a considerable chip area and power consumption in applications that require the use of multiple latches or D flip-flops. To this end, the register according to the embodiment of the present disclosure uses a clock buffer to simultaneously drive multiple dynamic latches or dynamic D flip-flops, which can effectively reduce the area and power consumption.
[0104] On the other hand, the present disclosure provides a processor, which may include the dynamic latch according to any embodiment of the present disclosure, or the dynamic D flip-flop according to any embodiment of the present disclosure, or the register according to any embodiment of the present disclosure.
[0105] The present disclosure further provides a computing device in another aspect, which may include a processor according to any embodiment of the present disclosure. Such a computing device may include, for example, but is not limited to, a computing chip used in fields such as exploration, climate change, transportation, and artificial intelligence, or an electronic device including such a computing chip.
[0106] The words "left", "right", "front", "back", "top", "bottom", "up", "down", "high", "low", etc., in the specification and claims, if present, are used for descriptive purposes and are not necessarily used to describe an unchanging relative position. It should be understood that the words used in this way are interchangeable under appropriate circumstances, so that the embodiments of the present disclosure described herein, for example, can operate in other orientations than those shown or otherwise described herein. For example, when the device in the drawings is turned over, features previously described as being "above" other features may now be described as being "below" the other features. The device may also be oriented in other ways (rotated 90 degrees or in other orientations), and the relative spatial relationships will be interpreted accordingly.
[0107] In the specification and claims, when an element is referred to as being "on", "attached", "connected", "coupled", or "contacting" another element, the element may be directly on, directly attached, directly connected, directly coupled, or directly contacting another element, or one or more intermediate elements may be present. In contrast, when an element is referred to as being "directly" "on", "directly attached", "directly connected", "directly coupled", or "directly contacting" another element, there will be no intermediate elements. In the specification and claims, a feature being arranged "adjacent" to another feature may refer to a feature having a portion that overlaps with an adjacent feature or a portion that is located above or below an adjacent feature.
[0108] As used herein, the word "exemplary" means "serving as an example, instance, or illustration" rather than as a "model" to be exactly copied. Any implementation described as exemplary herein is not necessarily to be construed as preferred or advantageous over other implementations. Furthermore, the present disclosure is not to be limited by any expressed or implied theory given in the technical field, background, summary, or detailed description.
[0109] As used herein, the term "substantially" is intended to include any minor variations due to design or manufacturing imperfections, device or component tolerances, environmental influences, and / or other factors. The term "substantially" also allows for deviations from a perfect or ideal condition due to parasitic effects, noise, and other practical considerations that may exist in actual implementations.
[0110] In addition, the terms "first", "second" and the like may also be used herein for reference purposes only, and thus are not intended to be limiting. For example, the terms "first", "second" and other such numerical terms referring to structures or elements do not imply a sequence or order unless the context clearly indicates otherwise.
[0111] It should also be understood that the term "including / comprising" when used herein indicates the presence of the indicated features, integral bodies, steps, operations, units and / or components, but does not exclude the presence or addition of one or more other features, integral bodies, steps, operations, units and / or components and / or combinations thereof. In the present disclosure, the term "providing" is used in a broad sense to cover all ways of obtaining an object, so "providing an object" includes but is not limited to "purchasing", "preparing / manufacturing", "arranging / setting", "installing / assembling", and / or "ordering" an object, etc.
[0112] As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items. The terms used herein are for the purpose of describing specific embodiments only and are not intended to limit the present disclosure. As used herein, the singular forms "a", "an", and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise.
[0113] The same or similar parts between the various embodiments of the present disclosure can refer to each other, and each embodiment focuses on the differences from other embodiments. In the description of the present disclosure, the description of reference terms "one embodiment", "some embodiments", "example", "specific example", or "some examples", "exemplary", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In the present disclosure, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine the different embodiments or examples described in the present disclosure and the features of the different embodiments or examples without contradiction.
[0114] In addition, when used in the present disclosure, the words "herein," "above," "below," "herein," "herein below," "herein," "above," and words of similar meaning shall refer to the present disclosure as a whole rather than to any particular portion of the present disclosure. Furthermore, unless expressly stated otherwise or understood otherwise in the context of use, conditional language used herein, such as "may," "might," "for example," "such as," and the like, is generally intended to express that certain embodiments include, while other embodiments do not include, certain features, elements, and / or states. Thus, such conditional language is generally not intended to imply that one or more embodiments require features, elements, and / or states in any way, or whether such features, elements, and / or states are included or performed in any particular embodiment.
[0115] Those skilled in the art will appreciate that the boundaries between the above operations are merely illustrative. Multiple operations can be combined into a single operation, which can be distributed in additional operations, and operations can be performed at least partially overlapping in time. Moreover, alternative embodiments can include multiple instances of specific operations, and the order of operations can be changed in various other embodiments. However, other modifications, variations, and replacements are equally possible. Aspects and elements of all embodiments disclosed above can be combined in any manner and / or in combination with aspects or elements of other embodiments to provide multiple additional embodiments. Therefore, this specification and accompanying drawings should be considered illustrative, not restrictive.
[0116] Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. The various embodiments disclosed herein may be combined in any manner without departing from the spirit and scope of the present disclosure. It should also be understood by those skilled in the art that various modifications may be made to the embodiments without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.
Claims
1. A latch circuit, characterized in that: The latch circuit comprises: Input terminal; output terminal; and A first transistor group with a first conductivity type, a second transistor group with the first conductivity type, a third transistor group with a second conductivity type different from the first conductivity type, and a fourth transistor group with the second conductivity type are sequentially connected in series between a power supply and a ground, a node between the second transistor group and the third transistor group is connected to the output terminal, a control terminal of one of the first transistor group and the second transistor group and a control terminal of one of the third transistor group and the fourth transistor group are commonly connected to the input terminal, a control terminal of the other of the first transistor group and the second transistor group is configured to receive a first clock signal, and a control terminal of the other of the third transistor group and the fourth transistor group is configured to receive a second clock signal that is inverted to the first clock signal, The first conductivity type is configured to turn on the transistor when its control terminal is at a low level, and the second conductivity type is configured to turn on the transistor when its control terminal is at a high level, and At least one of the first to fourth transistor groups includes a plurality of transistors connected in series.
2. The latch circuit according to claim 1, characterized in that: The control end of the first transistor group and the control end of the fourth transistor group are commonly connected to the input end, the control end of the second transistor group is configured to receive the first clock signal, and the control end of the third transistor group is configured to receive the second clock signal.
3. The latch circuit according to claim 2, characterized in that: At least one of the second transistor group and the third transistor group includes a plurality of transistors connected in series.
4. The latch circuit according to claim 3, characterized in that: At least one of the first transistor group and the fourth transistor group includes a plurality of transistors connected in series.
5. The latch circuit according to claim 1, wherein: The control end of the second transistor group and the control end of the third transistor group are commonly connected to the input end, the control end of the first transistor group is configured to receive the first clock signal, and the control end of the fourth transistor group is configured to receive the second clock signal.
6. The latch circuit according to claim 5, characterized in that: At least one of the first transistor group and the fourth transistor group includes a plurality of transistors connected in series.
7. The latch circuit according to claim 6, characterized in that: At least one of the second transistor group and the third transistor group includes a plurality of transistors connected in series.
8. The latch circuit according to claim 1, wherein: The number of transistors in each of the at least one transistor group among the first to fourth transistor groups is two.
9. The latch circuit according to claim 1, wherein: The total number of transistors of the first transistor group and the second transistor group is greater than the total number of transistors of the third transistor group and the fourth transistor group, or The number of transistors of the other transistor group among the first transistor group and the second transistor group is greater than the number of transistors of the other transistor group among the third transistor group and the fourth transistor group.
10. The latch circuit according to claim 1, wherein: The total number of transistors of the first transistor group and the second transistor group is less than the total number of transistors of the third transistor group and the fourth transistor group, or The number of transistors of the other transistor group among the first transistor group and the second transistor group is smaller than the number of transistors of the other transistor group among the third transistor group and the fourth transistor group.
11. The latch circuit according to claim 1, wherein: The total number of transistors of the first transistor group and the second transistor group is equal to the total number of transistors of the third transistor group and the fourth transistor group, or The number of transistors of the other transistor group among the first transistor group and the second transistor group is equal to the number of transistors of the other transistor group among the third transistor group and the fourth transistor group.
12. The latch circuit according to any one of claims 1 to 11, characterized in that: The transistor in the latch circuit is a metal oxide semiconductor (MOS) transistor, the first conductivity type is P type, and the second conductivity type is N type.
13. A dynamic latch, characterized in that: The dynamic latch comprises: A data input terminal configured to receive a data signal; A data output terminal configured to output a data signal; A clock control terminal configured to receive a clock signal; and A latch unit and an inverting driving unit are sequentially connected in series between the data input terminal and the data output terminal, the latch unit is configured to latch or transmit a data signal from the data input terminal under the control of a clock signal, and the inverting driving unit is configured to invert and transmit the data signal from the latch unit, Wherein, the latch unit comprises a latch circuit according to any one of claims 1 to 12.
14. A dynamic D flip-flop, characterized in that: The dynamic D flip-flop comprises: A data input terminal configured to receive a data signal; A data output terminal configured to output a data signal; A clock control terminal configured to receive a clock signal; and A first latch unit, a second latch unit and an inverting drive unit are sequentially connected in series between the data input terminal and the data output terminal, wherein the first latch unit is configured to latch or transmit a data signal from the data input terminal under the control of a clock signal, the second latch unit is configured to latch or transmit a data signal from the first latch unit under the control of a clock signal, and the inverting drive unit is configured to invert and transmit a data signal from the second latch unit, Wherein, the first latch unit comprises a latch circuit according to any one of claims 1 to 12.
15. The dynamic D flip-flop according to claim 14, characterized in that: The second latch unit includes one of the following: tri-state gate; or The latch circuit according to any one of claims 1 to 11; or An inverter and a transmission gate are sequentially connected in series between the first latch unit and the inverting driving unit.
16. A dynamic D flip-flop, characterized in that: The dynamic D flip-flop comprises: A data input terminal configured to receive a data signal; A data output terminal configured to output a data signal; A clock control terminal configured to receive a clock signal; and A first latch unit, a second latch unit and an inverting drive unit are sequentially connected in series between the data input terminal and the data output terminal, wherein the first latch unit is configured to latch or transmit a data signal from the data input terminal under the control of a clock signal, the second latch unit is configured to latch or transmit a data signal from the first latch unit under the control of a clock signal, and the inverting drive unit is configured to invert and transmit a data signal from the second latch unit, Wherein, the second latch unit comprises a latch circuit according to any one of claims 1 to 12.
17. The dynamic D flip-flop according to claim 16, wherein: The first latch unit includes one of the following: transmission gate; or tri-state gate; or An inverter and a transmission gate are sequentially connected in series between the data input terminal and the second latch unit.
18. A register, characterized in that: The registers include: A plurality of data input terminals configured to receive data signals; A plurality of data output terminals configured to output data signals; A clock control terminal configured to receive a clock signal; a clock buffer configured to buffer a clock signal received by the clock control terminal and provide the clock signal to a plurality of register units; and The plurality of register units are connected in parallel between the plurality of data input terminals and the plurality of data output terminals, and are configured to write and / or read data under the control of a clock signal, Wherein, a register unit among the plurality of register units is a dynamic latch according to claim 13, or a dynamic D flip-flop according to any one of claims 14 to 17.
19. A processor, characterized in that: The processor comprises a dynamic latch according to claim 13 , or a dynamic D flip-flop according to any one of claims 14 to 17 , or a register according to claim 18 .
20. A computing device, characterized in that: The computing device comprises a processor according to claim 19.
