Disclosure of Invention
In order to solve the problems, the invention provides a dynamic latch which can effectively compensate the dynamic leakage current of a node and improve the safety and the accuracy of data.
In order to achieve the above object, the present invention provides a dynamic latch, which comprises an input end for inputting a data, an in-phase output end for outputting the data in-phase, an opposite-phase output end for outputting the data in-phase, a clock signal end for providing a clock signal, a data transmission unit for transmitting the data under the control of the clock signal, a first data holding unit for holding the data transmitted by the data transmission unit in opposite phase, a second data holding unit for holding the data transmitted by the data transmission unit in-phase, wherein the data transmission unit, the first data holding unit and the second data holding unit are sequentially connected in series between the input end and the in-phase output end, a first node is arranged between the data transmission unit and the first data holding unit, a second node is arranged between the first data holding unit and the second data holding unit, and the opposite-phase output end is electrically connected to the second node, and the dynamic latch further comprises a leakage compensation unit electrically connected between the input end and the first node and the second node.
The dynamic latch described above, wherein the leakage compensation unit has a first end, a second end, and a control end, the first end is electrically connected to the in-phase output end, and the second end is electrically connected to the first node.
The dynamic latch described above, wherein the leakage compensation unit includes a PMOS transistor and an NMOS transistor, and the PMOS transistor and the NMOS transistor are connected in series between the non-inverting output terminal and the first node.
In the dynamic latch, the PMOS transistor has a source terminal, a drain terminal, and a gate terminal, the NMOS transistor has a source terminal, a drain terminal, and a gate terminal, the source terminal of the PMOS transistor is electrically connected to the in-phase output terminal, the drain terminal is electrically connected to the drain terminal of the NMOS transistor, and the source terminal of the NMOS transistor is electrically connected to the first node.
The dynamic latch described above, wherein the PMOS transistor and the NMOS transistor are connected in parallel and electrically connected to the first node.
The dynamic latch described above, wherein the PMOS transistor and the NMOS transistor are connected in parallel and electrically connected to the second node.
In the dynamic latch, the gate terminals of the PMOS transistor and the NMOS transistor are connected in parallel and electrically connected to a ground.
In the dynamic latch, the PMOS transistor and the NMOS transistor are connected in parallel and electrically connected to a power supply.
In the above dynamic latch, the leakage compensation unit includes an NMOS transistor having a source terminal, a drain terminal, and a gate terminal, wherein the drain terminal of the NMOS transistor is electrically connected to the in-phase output terminal, the source terminal is electrically connected to the first node, and the gate terminal is electrically connected to a ground.
The dynamic latch described above, wherein the leakage compensation unit includes a PMOS transistor having a source terminal, a drain terminal, and a gate terminal, the source terminal of the PMOS transistor is electrically connected to the in-phase output terminal, the drain terminal is electrically connected to the first node, and the gate terminal is electrically connected to a power supply.
The dynamic latch described above, wherein the clock signal includes a first clock signal and a second clock signal, and the first clock signal is inverted from the second clock signal.
The dynamic latch described above, wherein the data transmission unit is a transmission gate.
The dynamic latch described above, wherein the first data holding unit and/or the second data holding unit is an inverter.
The dynamic latch of the invention can feed back the leakage current to the node from the output end, compensate the dynamic leakage current of the node, improve the stability of data storage, and further enhance the safety and the accuracy of the data.
In order to better achieve the above purpose, the invention also provides a data operation unit, which comprises a control circuit, an operation circuit and a plurality of dynamic latches which are connected in series and/or in parallel, wherein the plurality of dynamic latches are any one of the dynamic latches.
In order to better achieve the above object, the present invention further provides a chip, which includes at least one data operation unit as described above.
To better achieve the above object, the present invention also provides a computing pad for a computing device, comprising at least one chip as described above.
In order to better achieve the above object, the present invention further provides a computing device, including a power panel, a control panel, a connection board, a heat radiator, and a plurality of power boards, where the control panel is connected to the power boards through the connection board, the heat radiator is disposed around the power boards, and the power panel is used to provide power to the connection board, the control panel, the heat radiator, and the power boards are the power boards.
The invention will now be described in more detail with reference to the drawings and specific examples, which are not intended to limit the invention thereto.
Drawings
FIG. 1 is a schematic diagram of a circuit configuration of a conventional dynamic latch;
FIG. 2 is a schematic diagram of a dynamic latch according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a dynamic latch according to another embodiment of the present invention;
FIG. 4 is a schematic diagram of a dynamic latch according to another embodiment of the present invention;
FIG. 5 is a schematic diagram of a dynamic latch according to another embodiment of the present invention;
FIG. 6 is a schematic diagram of a dynamic latch according to an exemplary embodiment of the present invention;
FIG. 7 is a schematic diagram of a dynamic latch according to another embodiment of the present invention;
FIG. 8 is a schematic diagram of a data operation unit according to the present invention;
FIG. 9 is a schematic diagram of a chip according to the present invention;
FIG. 10 is a schematic view of the structure of the force plate of the present invention;
FIG. 11 is a schematic diagram of a computing device of the present invention.
Wherein, the reference numerals:
100. 200 dynamic latch
101 Transmission gate
102. 103 Inverter
201 Data transmission unit
202 First data holding unit
203 A second data holding unit
204 Leakage compensation unit
201P, 204P: PMOS transistor
201N, 204N: NMOS transistors
800 Data arithmetic unit
801 Control circuit
802 Arithmetic circuit
900 Chip
901 Control unit
1000 Force calculating plate
1100 Computing device
1101 Connecting plate
1102 Control panel
1103 Radiator
1104 Power panel
D input terminal
Q in-phase output terminal
QN reverse phase output terminal
CKP, CKN clock signal
S0, S1 node
Detailed Description
The structural and operational principles of the present invention are described in detail below with reference to the accompanying drawings:
Certain terms are used throughout the description and following claims to refer to particular components. It will be appreciated by those of ordinary skill in the art that manufacturers may refer to a component by different names. The present specification and the following claims do not take the form of an element or a component, but rather take the form of an element or a component, a function, or a combination thereof.
In the following description and in the claims, the terms "include" and "comprise" are used in an open-ended fashion, and thus should be interpreted to mean "include, but not limited to. The term "coupled," as used herein, includes any direct or indirect electrical connection. Indirect electrical connection means include connection via other devices.
Embodiment one:
FIG. 2 is a schematic diagram of a dynamic latch according to an embodiment of the present invention. As shown in fig. 2, the dynamic latch 200 includes an input terminal D, an in-phase output terminal Q, an anti-phase output terminal QN, a clock signal terminal CKN, a clock signal terminal CKP, a data transmission unit 201, a first data holding unit 202, a second data holding unit 203, and a leakage compensation unit 204. The data transmission unit 201, the first data holding unit 202, and the second data holding unit 203 are sequentially connected in series between the input terminal D and the in-phase output terminal Q, a first node S0 is formed between the data transmission unit 201 and the first data holding unit 202, a second node S1 is formed between the first data holding unit 202 and the second data holding unit 203, and the inverted output terminal QN is electrically connected to the second node S1. The leakage compensation unit 204 is electrically connected between the first node S0 and the in-phase output terminal Q. The input terminal D is used for inputting data, the in-phase output terminal Q is used for in-phase outputting data, the anti-phase output terminal QN is used for anti-phase outputting data, the clock signal terminal CKN and the clock signal terminal CKP are used for providing clock signals CKN and CKP, and the clock signals CKN and CKP are anti-phase clock signals.
Specifically, as shown in fig. 2, the data transmission unit 201 of the dynamic latch 200 has a transmission gate structure, and the data transmission unit 201 includes a PMOS transistor 201P and an NMOS transistor 201N connected in parallel. The source terminal of the PMOS transistor 201P is connected in parallel with the source terminal of the NMOS transistor 201N and is electrically connected to the input terminal D of the dynamic latch 200, and the drain terminal of the PMOS transistor 201P is connected in parallel with the drain terminal of the NMOS transistor 201N and is electrically connected to the first node S0. The gate terminal of the NMOS transistor 201N is electrically connected to the clock signal CKN, and the gate terminal of the PMOS transistor 201P is electrically connected to the clock signal CKP. When CKP is low, CKN is high, and both PMOS transistor 201P and NMOS transistor 201N are turned on, the data at the input D of the dynamic latch 200 is transferred to the first node S0 through the data transfer unit 201. When CKP is high, CKN is low, both PMOS transistor 201P and NMOS transistor 201N are turned off, and the data at input D of dynamic latch 200 cannot be transferred to first node S0 through data transfer unit 201. In the present embodiment, the data transmission unit 201 is exemplified by a transmission gate structure, and of course, other forms of data transmission units are also possible, as long as the switching function can be realized under the control of the clock signal, and the invention is not limited thereto.
With continued reference to fig. 2, the first data holding unit 202 and the second data holding unit 203 of the dynamic latch 200 are both in an inverter structure, and the first data holding unit 202 may temporarily store the data transmitted from the data transmission unit 201, that is, the data at the first node S0, by using its parasitic capacitance, and may invert the data at the first node S0 and transmit the inverted data to the second data holding unit 203. The second data holding unit 203 also uses its parasitic capacitance to temporarily store the data transmitted from the first data holding unit 202, i.e. the data at the second node S1, and can invert the data at the second node S1 and transmit the data to the in-phase output terminal Q. It can be seen that the data at the first node S0 and the second node S1 are inverted data, and the inverted output terminal QN is electrically connected to the second node S1, so that the data output by the in-phase output terminal Q and the inverted output terminal QN are also inverted data.
It can be seen that the data transmission unit 201 is controlled by the clock signal to transmit data to the first data holding unit 202 and the second data holding unit 203, and the data at the input terminal D of the dynamic latch 200 is inverted by the first data holding unit 202 and the second data holding unit 203, so that the data at the in-phase output terminal Q is in phase with the data at the input terminal D, and the data at the inverted output terminal QN is in phase with the data at the input terminal D. Meanwhile, the first data holding unit 202 and the second data holding unit 203 may also function to improve data driving force.
As shown in fig. 2, the dynamic latch 200 further includes a leakage compensation unit 204. In the present embodiment, the leakage compensation unit 204 includes a PMOS transistor 204P and an NMOS transistor 204N, and the PMOS transistor 204P and the NMOS transistor 204N are connected in series between the non-inverting output terminal Q and the first node S0. The source terminal of the PMOS transistor 204P is electrically connected to the in-phase output terminal Q, the drain terminal of the PMOS transistor 204P is electrically connected to the drain terminal of the NMOS transistor 204N, the source terminal of the NMOS transistor 204N is electrically connected to the first node S0, and the gate terminals of the PMOS transistor 204P and the NMOS transistor 204N are connected in parallel and electrically connected to the first node S0.
Since the gate terminals of the PMOS transistor 204P and the NMOS transistor 204N are electrically connected to the first node S0, the PMOS transistor 204P and the NMOS transistor 204N are not turned on at the same time, and only one of them is turned on and the other is turned off under the same-level signal driving. For example, when the potential at the first node S0 is high, the PMOS transistor 204P is in an off state and the NMOS transistor 204N is in an on state, and when the potential at the first node S0 is low, the PMOS transistor 204P is in an on state and the NMOS transistor 204N is in an off state. At this time, the leakage compensation unit 204 may feed back the leakage current of the in-phase output terminal Q to the first node S0, compensate the dynamic leakage current at the first node S0, improve the stability of data storage at the first node S0, and enhance the correctness and safety of data.
Embodiment two:
FIG. 3 is a schematic diagram of a dynamic latch according to another embodiment of the present invention. As shown in fig. 3, the difference from the embodiment shown in fig. 2 is that, in the present embodiment, the gate terminals of the PMOS transistor 204P and the NMOS transistor 204N are connected in parallel and electrically connected to the second node S1 in the leakage compensation unit 204.
Since the gate terminals of the PMOS transistor 204P and the NMOS transistor 204N are electrically connected to the second node S1, the PMOS transistor 204P and the NMOS transistor 204N are not turned on at the same time, and only one of them is turned on and the other is turned off under the same-level signal driving. For example, when the potential at the second node S1 is high, the PMOS transistor 204P is in an off state and the NMOS transistor 204N is in an on state, and when the potential at the second node S1 is low, the PMOS transistor 204P is in an on state and the NMOS transistor 204N is in an off state. At this time, the leakage compensation unit 204 may feed back the leakage current of the in-phase output terminal Q to the first node S0, compensate the dynamic leakage current at the first node S0, improve the stability of data storage at the first node S0, and enhance the correctness and safety of data.
Modification examples:
FIG. 4 is a schematic diagram illustrating a circuit structure of a leakage compensation dynamic register according to another embodiment of the present invention. As shown in fig. 2 and 4, the difference from the embodiment shown in fig. 2 is that, in the leakage compensation unit 204 of the present embodiment, the gate terminals of the PMOS transistor 204P and the NMOS transistor 204N are connected in parallel and electrically connected to the ground VSS.
Since the gate terminals of the PMOS transistor 203P and the NMOS transistor 203N are electrically connected to the ground VSS, the PMOS transistor 203P is in an on state and the NMOS transistor 203N is in an off state under the signal driving of the ground VSS low level. At this time, the leakage compensation unit 204 may feed back the leakage current of the in-phase output terminal Q to the first node S0, compensate the dynamic leakage current at the first node S0, improve the stability of data storage at the first node S0, and enhance the correctness and safety of data.
FIG. 5 is a schematic diagram of a circuit structure of a dynamic register with leakage compensation according to another embodiment of the present invention. As shown in fig. 2 and fig. 5, the difference from the embodiment shown in fig. 2 is that, in the leakage compensation unit 204 of the present embodiment, the gate terminals of the PMOS transistor 204P and the NMOS transistor 204N are connected in parallel and electrically connected to the power supply VDD.
Since the gate terminals of the PMOS transistor 203P and the NMOS transistor 203N are electrically connected to the power supply VDD, the PMOS transistor 203P is turned off and the NMOS transistor 203N is turned on under the high-level signal driving of the power supply VDD. At this time, the leakage compensation unit 204 may feed back the leakage current of the in-phase output terminal Q to the first node S0, compensate the dynamic leakage current at the first node S0, improve the stability of data storage at the first node S0, and enhance the correctness and safety of data.
FIG. 6 is a schematic diagram of a leakage compensation dynamic register according to an embodiment of the present invention. As shown in fig. 6, the leakage compensation unit 204 of the leakage compensation dynamic register 200 includes an NMOS transistor 204N, wherein a source terminal of the NMOS transistor 204N is electrically connected to the first node S0, a drain terminal of the NMOS transistor 204N is electrically connected to the in-phase output terminal Q, and a gate terminal of the NMOS transistor 204N is electrically connected to the ground VSS.
Since the gate terminal of the NMOS transistor 204N is electrically connected to the ground VSS, the NMOS transistor 204N is turned off under the driving of the ground VSS low signal. At this time, the leakage compensation unit 204 may feed back the leakage current of the in-phase output terminal Q to the first node S0, compensate the dynamic leakage current at the first node S0, improve the stability of data storage at the first node S0, and enhance the correctness and safety of data.
Fig. 7 is a schematic circuit diagram of a leakage compensation dynamic register according to another embodiment of the present invention. As shown in fig. 7, the leakage compensation unit 204 of the leakage compensation dynamic register 200 includes a PMOS transistor 204P, wherein a source terminal of the PMOS transistor 204P is electrically connected to the in-phase output terminal, a drain terminal of the PMOS transistor 204P is electrically connected to the first node S0, and a gate terminal of the PMOS transistor 204P is electrically connected to the power supply VDD.
Since the gate terminal of the PMOS transistor 204P is electrically connected to the power supply VDD, the PMOS transistor 204P is turned off under the driving of the high level signal of the power supply VDD. At this time, the leakage compensation unit 204 may feed back the leakage current of the in-phase output terminal Q to the first node S0, compensate the dynamic leakage current at the first node S0, improve the stability of data storage at the first node S0, and enhance the correctness and safety of data.
The invention also provides a data operation unit, and fig. 8 is a schematic structural diagram of the data operation unit. As shown in fig. 8, the data operation unit 800 includes a control circuit 801, an operation circuit 802, and a plurality of dynamic latches 200. The control circuit 801 refreshes data in the dynamic latch 200, reads data from the dynamic latch 200, and the arithmetic circuit 802 operates on the read data and outputs the result of the operation by the control circuit 801.
The invention also provides a chip, and fig. 9 is a schematic structural diagram of the chip. As shown in fig. 9, the chip 900 includes a control unit 901, and one or more data operation units 900. The control unit 901 inputs data to the data operation unit 900 and processes the data output from the data operation unit 900.
The invention also provides a force calculating plate, and fig. 10 is a schematic structural diagram of the force calculating plate. As shown in fig. 10, each computing pad 1000 includes one or more chips 900 thereon for performing large-scale operations on the operational data issued by the computing device.
The present invention also provides a computing device that can be used for any mass operation. FIG. 11 is a schematic diagram of a computing device of the present invention. As shown in fig. 11, each computing device 1100 includes a connection board 1101, a control board 1102, a heat sink 1103, a power supply board 1104, and one or more computing boards 1000. The control board 1102 is connected to the power board 1000 through a connection board 1101, and a heat sink 1103 is provided around the power board 1000. The power panel 1104 is used to supply power to the connection board 1101, the control board 1102, the heat sink 1103, and the power board 1000.
It should be noted that, in the description of the present invention, the terms "transverse", "longitudinal", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, merely for convenience in describing the present invention and simplifying the description, and do not indicate or imply that the apparatus or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention.
In other words, the present invention is capable of other various embodiments, and various changes and modifications can be made by one skilled in the art without departing from the spirit and the spirit of the invention, and these changes and modifications are intended to fall within the scope of the appended claims.