WO2023160047A1 - Register, central processing unit and electronic device - Google Patents

Register, central processing unit and electronic device Download PDF

Info

Publication number
WO2023160047A1
WO2023160047A1 PCT/CN2022/133307 CN2022133307W WO2023160047A1 WO 2023160047 A1 WO2023160047 A1 WO 2023160047A1 CN 2022133307 W CN2022133307 W CN 2022133307W WO 2023160047 A1 WO2023160047 A1 WO 2023160047A1
Authority
WO
WIPO (PCT)
Prior art keywords
transistor
node
gate
electrode
latch
Prior art date
Application number
PCT/CN2022/133307
Other languages
French (fr)
Chinese (zh)
Inventor
钟建福
李梅
廖家兴
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023160047A1 publication Critical patent/WO2023160047A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/0008Arrangements for reducing power consumption
    • H03K19/0016Arrangements for reducing power consumption by using a control or a clock signal, e.g. in order to apply power supply
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K3/00Circuits for generating electric pulses; Monostable, bistable or multistable circuits
    • H03K3/01Details
    • H03K3/012Modifications of generator to improve response time or to decrease power consumption
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K3/00Circuits for generating electric pulses; Monostable, bistable or multistable circuits
    • H03K3/02Generators characterised by the type of circuit or by the means used for producing pulses
    • H03K3/027Generators characterised by the type of circuit or by the means used for producing pulses by the use of logic circuits, with internal or external positive feedback
    • H03K3/037Bistable circuits
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K3/00Circuits for generating electric pulses; Monostable, bistable or multistable circuits
    • H03K3/02Generators characterised by the type of circuit or by the means used for producing pulses
    • H03K3/027Generators characterised by the type of circuit or by the means used for producing pulses by the use of logic circuits, with internal or external positive feedback
    • H03K3/037Bistable circuits
    • H03K3/0372Bistable circuits of the master-slave type
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K3/00Circuits for generating electric pulses; Monostable, bistable or multistable circuits
    • H03K3/02Generators characterised by the type of circuit or by the means used for producing pulses
    • H03K3/353Generators characterised by the type of circuit or by the means used for producing pulses by the use, as active elements, of field-effect transistors with internal or external positive feedback
    • H03K3/356Bistable circuits
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present application relates to the field of electronic technology, in particular to a register, a central processing unit and electronic equipment.
  • Registers are some small storage areas inside the central processing unit (Central Processing Unit, CPU) used to store data, and are used to temporarily store the data and results involved in the calculation. Registers are also a functional unit that consumes a large proportion of power consumption in the central processing unit, usually accounting for 20% to 30% of the power consumption of digital modules.
  • CPU Central Processing Unit
  • the current register mostly adopts the master-slave latch (master-slave latch) structure as shown in Figure 1.
  • the two latches latch data at the rising and falling edges of the clock signal CP0 respectively.
  • This structure It has the advantage of small area, but it needs to use the clock buffer to generate two-phase clock signals to drive the master latch and the slave latch respectively. Regardless of whether the input data D0 is refreshed, the clock signal CP0 is driving the master latch or the slave latch.
  • the memory is used to sample data, which often does useless work, resulting in consumption of power consumption.
  • the application provides a register, a central processing unit and electronic equipment, which are used to reduce the power consumption of the register.
  • an embodiment of the present application provides a register, and the register may include a first latch, a second latch, a logic gate, a clock signal input terminal, a data input terminal, and a data output terminal.
  • the input end of the first latch is respectively connected with the output end of clock signal input end, data input end and logic gate
  • the output end of the first latch is connected with the input end of the second latch
  • the second latch The output terminal is connected to the data output terminal.
  • the first latch is used to realize data latching or punch-through under the control of the clock signal input terminal
  • the second latch is used to realize data punch-through or latching, thereby realizing the basic function of the register.
  • the input terminals of the logic gate are respectively connected to the data input terminal and the data output terminal, and the output terminals of the logic gate are connected to the first latch; the logic gate can be used to control the first latch when the potentials of the data input terminal and the data output terminal are the same
  • the potential of the register output is the same as the potential of the data output terminal. In this way, when the potentials of the data input terminal and the data output terminal are the same, since the logic gate controls the potential output of the first latch to be the same as the potential of the data output terminal, the signal inversion of the clock signal input terminal will not cause the inversion of the internal nodes of the register, and then it can be Reduce the power consumption of register internal clock signal toggling.
  • connection between two terminals mentioned in this application includes, but is not limited to, direct electrical connection, or coupling through other electrical devices.
  • the logic gate is specifically used to output a signal of a second potential when the potentials of the data input terminal and the data output terminal are both the first potential, so as to control the potential of the output terminal of the first latch to be the first potential, and the first potential and The second potential is a different potential.
  • the logic gate can be specifically used to output a high potential signal from the output terminal of the logic gate to control the output terminal of the first latch when the potentials of the data input terminal and the data output terminal are both low potential. Potential is low potential.
  • the logic gate may include a first NOR gate
  • the first latch may include a second NOR gate
  • the input ends of the first NOR gate are respectively connected to the data input end and the data output end
  • the second OR The input terminals of the NOT gate are respectively connected with the data input terminal and the output terminal of the first NOR gate
  • the output terminals of the second NOR gate are connected with the output terminal of the first latch. In this way, when both the data input terminal and the data output terminal are at low potential, the output terminal of the first NOR gate is at high potential.
  • the output terminal of the first NOR gate When the output terminal of the first NOR gate is at high potential, no matter whether the potential at the data input terminal is high potential or low potential, the output terminal of the second NOR gate will output low potential, so that the potential at the output terminal of the first latch for low potential. In this way, when the signal at the input end of the clock signal is reversed, the signal output from the first latch to the second latch is always kept at a low potential, and the internal nodes of the second latch will not be reversed, thereby reducing the internal clock signal of the register. Flip power consumption.
  • the register may further include a first transistor
  • the first latch may further include a first logic control circuit and an AND gate.
  • the first logic control circuit may include a second transistor, a third transistor, a fourth transistor and a fifth transistor. Wherein, the first transistor, the second transistor and the third transistor are all P-type transistors, and the fourth transistor and the fifth transistor are N-type transistors.
  • the gate of the first transistor is connected to the clock signal input end, the first electrode of the first transistor is connected to the first reference voltage end, the second electrode of the first transistor is connected to the first node of the register; the first electrode of the second transistor connected to the first node, the gate of the second transistor is connected to the second node of the register, the second electrode of the second transistor is connected to the fifth node of the register; the first electrode of the third transistor is connected to the first reference voltage terminal, The gate of the third transistor is connected to the third node of the register, the second electrode of the third transistor is connected to the fifth node; the first electrode of the fourth transistor is connected to the fifth node, and the gate of the fourth transistor is connected to the third node
  • the second electrode of the fourth transistor is connected to the first electrode of the fifth transistor; the gate of the fifth transistor is connected to the second node, and the second electrode of the fifth transistor is connected to the second reference voltage terminal.
  • the input end of the AND gate is connected with the fifth node and the clock signal input end respectively, and the output end of the AND gate is connected with the input end of the second NOR gate; the second node is connected with the data input end, and the third node is connected with the first latch connected to the output of the device.
  • the second reference voltage terminal is grounded, and the potential of the first reference voltage terminal is greater than the potential of the second reference voltage terminal.
  • the second latch can control the circuit and the first inverter with a second logic.
  • the second logic control circuit may include a sixth transistor, a seventh transistor, an eighth transistor and a ninth transistor. Wherein, both the sixth transistor and the seventh transistor are P-type transistors, and the eighth transistor and the ninth transistor are both N-type transistors.
  • the first electrode of the sixth transistor is connected to the first node, the gate of the sixth transistor is connected to the third node, the second electrode of the sixth transistor is connected to the sixth node of the register; the first electrode of the seventh transistor is connected to the first The reference voltage terminal is connected, the gate of the seventh transistor is connected to the fourth node of the register, the second electrode of the seventh transistor is connected to the sixth node of the register; the first electrode of the eighth transistor is connected to the sixth node, and the eighth transistor The gate of the eighth transistor is connected to the fourth node, the second electrode of the eighth transistor is connected to the first electrode of the ninth transistor; the gate of the ninth transistor is connected to the third node, and the second electrode of the ninth transistor is connected to the second reference voltage
  • the input end of the first inverter is connected to the sixth node, the output end of the first inverter is connected to the fourth node, and the fourth node is connected to the data output end.
  • the first latch may further include a tenth transistor, an eleventh transistor and a second inverter.
  • both the tenth transistor and the eleventh transistor are N-type transistors.
  • the input end of the second inverter is connected to the fifth node, and the output end of the second inverter is connected to the gate of the tenth transistor; the first electrode of the tenth transistor is respectively connected to the second electrode of the fourth transistor and the fifth node.
  • the first electrode of the transistor is connected, the second electrode of the tenth transistor is connected with the first electrode of the eleventh transistor; the gate of the eleventh transistor is connected with the clock signal input end, the second electrode of the eleventh transistor is connected with the sixth node connection.
  • the register also includes a third inverter and a fourth inverter; the input end of the third inverter is connected to the data input end, and the third inverter The output end of the fourth inverter is connected to the second node, the input end of the fourth inverter is connected to the fourth node, and the output end of the fourth inverter is connected to the data output end.
  • the clock signal input terminal controls a total of 4 transistors, and the number of transistors controlled by the clock signal input terminal is small, which can reduce the input capacitance of the clock signal input terminal, thereby reducing the impact on the clock tree at the back end, thereby reducing the physical implementation subsequent clock tree power consumption.
  • the transistor when the gate of an N-type transistor is at a high potential, the transistor is in an on state, and when the gate is at a low potential, the transistor is in an off state.
  • the gate of the P-type transistor when the gate of the P-type transistor is at a low potential, the transistor is in an on state, and when the gate is at a high potential, the transistor is in an off state.
  • the first electrode of the transistor may be the source or the drain
  • the second electrode may be the drain or the source, which is not limited herein.
  • the logic gate can be specifically used to output a signal with a low potential at the output terminal of the logic gate to control the potential at the output terminal of the first latch to be high potential.
  • the logic gate may include a first NAND gate
  • the first latch may include a second NAND gate
  • the input terminals of the first NAND gate are respectively connected to the data input terminal and the data output terminal
  • the second The input end of the NAND gate is respectively connected with the data input end and the output end of the first NAND gate
  • the output end of the second NAND gate is connected with the output end of the first latch.
  • the output terminal of the first NOR gate When the output terminal of the first NOR gate is low potential, no matter whether the potential of the data input terminal is high potential or low potential, the output terminal of the second NOR gate will output high potential, so that the potential of the output terminal of the first latch for high potential. In this way, when the signal at the input end of the clock signal is reversed, the signal output from the first latch to the second latch is always kept at a high potential, and the internal nodes of the second latch will not be reversed, thereby reducing the internal clock signal of the register. Flip power consumption.
  • the register may further include a first transistor
  • the first latch may further include a first logic control circuit and an OR gate.
  • the first logic control circuit may include a second transistor, a third transistor, a fourth transistor and a fifth transistor. Wherein, the first transistor, the second transistor and the third transistor are all N-type transistors, and the fourth transistor and the fifth transistor are P-type transistors.
  • the gate of the first transistor is connected to the clock signal input end, the first electrode of the first transistor is connected to the first reference voltage end, the second electrode of the first transistor is connected to the first node of the register; the first electrode of the second transistor connected to the first node, the gate of the second transistor is connected to the second node of the register, the second electrode of the second transistor is connected to the fifth node of the register; the first electrode of the third transistor is connected to the first reference voltage terminal, The gate of the third transistor is connected to the third node of the register, the second electrode of the third transistor is connected to the fifth node; the first electrode of the fourth transistor is connected to the fifth node, and the gate of the fourth transistor is connected to the third node
  • the second electrode of the fourth transistor is connected to the first electrode of the fifth transistor; the gate of the fifth transistor is connected to the second node, and the second electrode of the fifth transistor is connected to the second reference voltage terminal.
  • the input end of the OR gate is connected with the fifth node and the clock signal input end respectively, and the output end of the OR gate is connected with the input end of the second NOR gate; the second node is connected with the data input end, and the third node is connected with the first latch connected to the output of the device.
  • the first reference voltage terminal is grounded, and the potential of the second reference voltage terminal is greater than that of the first reference voltage terminal.
  • the second latch can control the circuit and the first inverter with a second logic.
  • the second logic control circuit may include a sixth transistor, a seventh transistor, an eighth transistor, and a ninth transistor. Wherein, both the sixth transistor and the seventh transistor are N-type transistors, and the eighth transistor and the ninth transistor are both P-type transistors.
  • the first electrode of the sixth transistor is connected to the first node, the gate of the sixth transistor is connected to the third node, the second electrode of the sixth transistor is connected to the sixth node of the register; the first electrode of the seventh transistor is connected to the first The reference voltage terminal is connected, the gate of the seventh transistor is connected to the fourth node of the register, the second electrode of the seventh transistor is connected to the sixth node of the register; the first electrode of the eighth transistor is connected to the sixth node, and the eighth transistor The gate of the eighth transistor is connected to the fourth node, the second electrode of the eighth transistor is connected to the first electrode of the ninth transistor; the gate of the ninth transistor is connected to the third node, and the second electrode of the ninth transistor is connected to the second reference voltage
  • the input end of the first inverter is connected to the sixth node, the output end of the first inverter is connected to the fourth node, and the fourth node is connected to the data output end.
  • the first latch may further include a tenth transistor, an eleventh transistor and a second inverter.
  • both the tenth transistor and the eleventh transistor are P-type transistors.
  • the input end of the second inverter is connected to the fifth node, and the output end of the second inverter is connected to the gate of the tenth transistor; the first electrode of the tenth transistor is respectively connected to the second electrode of the fourth transistor and the fifth node.
  • the first electrode of the transistor is connected, the second electrode of the tenth transistor is connected with the first electrode of the eleventh transistor; the gate of the eleventh transistor is connected with the clock signal input end, the second electrode of the eleventh transistor is connected with the sixth node connection.
  • the register also includes a third inverter, a fourth inverter, and a fifth inverter; the input terminal of the third inverter is connected to the data input terminal , the output terminal of the third inverter is connected to the second node, the input terminal of the fourth inverter is connected to the fourth node, the output terminal of the fourth inverter is connected to the data output terminal, and the input terminal of the fifth inverter terminal is connected to the clock signal input terminal, and the output terminal of the fifth inverter is respectively connected to the gate of the first transistor, the gate of the eleventh transistor and the input terminal of the OR gate.
  • the clock signal input end is connected with the fifth inverter, that is, the clock signal input end is connected with two transistors, the clock signal input end is connected with the eleventh transistor, the first transistor and the OR gate through the fifth inverter, and the OR gate
  • a total of 6 transistors need to be connected to the clock signal and the inverted clock signal, and the number of connected transistors is still small, so the input capacitance of the clock signal can still be reduced, thereby reducing the number of clocks to the back end.
  • the impact caused by the clock tree can reduce the power consumption of the clock tree after physical implementation.
  • first latch and the second latch may be provided in the embodiment of the present application, or may be existing registered latches, which are not limited herein.
  • the embodiment of the present application further provides a central processing unit, and the electronic device may include a circuit board and a register electrically connected to the circuit board as provided in any one of the above-mentioned implementation manners of the first aspect.
  • an embodiment of the present application further provides an electronic device, which may include a housing and a central processing unit as provided in the second aspect above arranged in the housing.
  • FIG. 1 is a schematic structural diagram of a traditional register
  • FIG. 2 is a schematic structural diagram of a register provided by an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of another register provided by the embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of another register provided by the embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a first logic control circuit provided in an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a second logic control circuit provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of another register provided by the embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of the first logic control circuit in the register shown in FIG. 7;
  • FIG. 9a to FIG. 9h are schematic diagrams of states corresponding to the working process of the register shown in FIG. 7;
  • FIG. 10 is a schematic structural diagram of another register provided by the embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of another register provided by the embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a first logic control circuit provided by an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of a second logic control circuit provided in an embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of another register provided by the embodiment of the present application.
  • FIG. 15 is a schematic structural diagram of the first logic control circuit in the register shown in FIG. 14;
  • 16a to 16h are schematic diagrams of states corresponding to the working process of the register shown in FIG. 14 ;
  • FIG. 17 is a schematic structural diagram corresponding to a central processing unit provided by the embodiment of the present application.
  • Registers are some small storage areas used to store data inside the central processing unit, and are used to temporarily store the data involved in the calculation and the results of the calculation.
  • the central processing unit can be applied to electronic devices such as terminal devices or cloud server devices, and of course, can also be applied to other electronic devices, which is not limited here.
  • FIG. 2 is a schematic structural diagram of a register provided by an embodiment of the present application.
  • the register 10 may include a first latch 11 , a second latch 12 , a logic gate 13 , a clock signal input terminal CP, a data input terminal D and a data output terminal Q.
  • the input end of the first latch 11 is connected with the output end of clock signal input end CP, data input end D and logic gate 13 respectively, and the output end of the first latch 11 is connected with the input end of the second latch 12 , the output end of the second latch is connected to the data output end Q.
  • the first latch 11 is used to realize data latching or pass-through under the control of the clock signal input terminal CP
  • the second latch is used to realize data pass-through or latching, so as to realize the basic function of the register.
  • the input terminal of logic gate 13 is connected with data input terminal D and data output terminal Q respectively, and the output terminal of logic gate 13 is connected with first latch 11;
  • This logic gate 13 can be used in data input terminal D
  • the potential output by the first latch 11 is controlled to be the same as the potential of the data output terminal Q.
  • the signal reversal of the clock signal input terminal CP will not occur. This causes the inversion of the internal nodes of the register, thereby reducing the power consumption of the internal clock signal inversion of the register.
  • connection between two terminals mentioned in this application includes, but is not limited to, direct electrical connection, or coupling through other electrical devices.
  • the logic gate is specifically used to output a signal of a second potential when the potentials of the data input terminal and the data output terminal are both the first potential, so as to control the potential of the output terminal of the first latch to be the first potential, and the first potential and The second potential is a different potential.
  • the logic gate 13 can be specifically used to output a high potential signal to control the potential of the output terminal of the first latch 11 to be low when the potentials of the data input terminal D and the data output terminal Q are both low potentials. potential.
  • FIG. 3 is a schematic structural diagram of another register provided by an embodiment of the present application.
  • the logic gate 13 may include a first NOR gate A1, and the first latch 11 may include a second NOR gate A2; the input terminals of the first NOR gate A1 are respectively connected to the data input terminal D and the data output terminal Q,
  • the input terminal of the second NOR gate A2 is respectively connected with the data input terminal D and the output terminal of the first NOR gate A1 , and the output terminal of the second NOR gate A2 is connected with the output terminal of the first latch 11 .
  • the output terminal of the first NOR gate A1 is at high potential.
  • the output terminal of the first NOR gate A1 When the output terminal of the first NOR gate A1 is at a high potential, regardless of whether the potential at the data input terminal D is high or low, the output terminal of the second NOR gate A2 will output a low potential, so that the first latch The potential of the output terminal of 11 is a low potential. In this way, when the signal at the clock signal input terminal CP is reversed, the signal output from the first latch 11 to the second latch 12 is always kept at a low potential, and the internal nodes of the second latch 12 will not be reversed, thereby reducing The power consumption of the internal clock signal flipping of the small register.
  • the register 10 may further include a first transistor M1
  • the first latch 11 may further include a first logic control circuit 111 and an AND gate B.
  • the first logic control circuit 111 may include a second transistor M2 , a third transistor M3 , a fourth transistor M4 and a fifth transistor M5 .
  • the first transistor M1 , the second transistor M2 and the third transistor M3 are all P-type transistors
  • the fourth transistor M4 and the fifth transistor M5 are N-type transistors.
  • the gate of the first transistor M1 is connected to the clock signal input terminal CP, the first electrode of the first transistor M1 is connected to the first reference voltage terminal V1, and the second electrode of the first transistor M1 is connected to the first node 1 of the register 10;
  • the first electrode of the second transistor M2 is connected to the first node 1, the gate of the second transistor M2 is connected to the second node 2 of the register 10, and the second electrode of the second transistor M2 is connected to the fifth node 5 of the register 10;
  • the first electrode of the third transistor M3 is connected to the first reference voltage terminal V1, the gate of the third transistor M3 is connected to the third node 3 of the register 10, and the second electrode of the third transistor M3 is connected to the fifth node 5;
  • the first electrode of the four transistor M4 is connected to the fifth node 5, the gate of the fourth transistor M4 is connected to the third node 3, the second electrode of the fourth transistor M4 is connected to the first electrode of the fifth transistor M5;
  • the fifth transistor The gate of M5 is connected to the
  • the input terminal of the AND gate B is connected with the fifth node 5 and the clock signal input terminal CP respectively, and the output terminal of the AND gate B is connected with the input terminal of the second NOR gate A2; the second node 2 is connected with the data input terminal D, and the second node 2 is connected with the data input terminal D.
  • the three nodes 3 are connected to the output terminal of the first latch 11 .
  • the second reference voltage terminal V2 is grounded, and the potential of the first reference voltage terminal V1 is greater than the potential of the second reference voltage terminal V2.
  • the second latch 12 may control the circuit 121 and the first inverter N1 with a second logic.
  • the second logic control circuit 121 may include a sixth transistor M6 , a seventh transistor M7 , an eighth transistor M8 and a ninth transistor M9 .
  • both the sixth transistor M6 and the seventh transistor M7 are P-type transistors
  • the eighth transistor M8 and the ninth transistor M9 are both N-type transistors.
  • the first electrode of the sixth transistor M6 is connected to the first node 1, the gate of the sixth transistor M6 is connected to the third node 3, the second electrode of the sixth transistor M6 is connected to the sixth node 6 of the register 10; the seventh transistor The first electrode of M7 is connected to the first reference voltage terminal V1, the gate of the seventh transistor M7 is connected to the fourth node 4 of the register 10, and the second electrode of the seventh transistor M7 is connected to the sixth node 6 of the register 10;
  • the first electrode of the eighth transistor M8 is connected to the sixth node 6, the gate of the eighth transistor M8 is connected to the fourth node 4, the second electrode of the eighth transistor M8 is connected to the first electrode of the ninth transistor M9; the ninth transistor M8 The gate of M9 is connected to the third node 3, the second electrode of the ninth transistor M9 is connected to the second reference voltage terminal V2; the input terminal of the first inverter N1 is connected to the sixth node 6, and the first inverter N1 The output terminal of the output terminal is connected to the fourth node 4,
  • the first latch 11 may further include a tenth transistor M10, an eleventh transistor M11 and a second inverter N2.
  • the tenth transistor M10 and the eleventh transistor M11 are N-type transistors.
  • the input end of the second inverter N2 is connected to the fifth node 5, and the output end of the second inverter N2 is connected to the gate of the tenth transistor M10; with reference to FIG.
  • the first electrode of the tenth transistor M10 is respectively connected to the gate of the tenth transistor M10
  • the second electrode of the fourth transistor M4 is connected to the first electrode of the fifth transistor M5, the second electrode of the tenth transistor M10 is connected to the first electrode of the eleventh transistor M11; the gate of the eleventh transistor M11 is connected to the clock signal input
  • the terminal CP is connected, and the second electrode of the eleventh transistor M11 is connected to the sixth node 6.
  • the register 10 also includes a third inverter N3 and a fourth inverter N4; the third inverter The input terminal of N3 is connected to the data input terminal, the output terminal of the third inverter N3 is connected to the second node 2, the input terminal of the fourth inverter N4 is connected to the fourth node 4, and the output of the fourth inverter N4 The terminal is connected with the data output terminal Q.
  • the clock signal input terminal CP controls a total of 4 transistors, and the number of transistors controlled by the clock signal input terminal CP is small, which can reduce the input capacitance of the clock signal input terminal CP, thereby reducing the impact on the rear
  • the impact caused by the end-to-end clock tree can reduce the power consumption of the clock tree after physical implementation.
  • the transistor when the gate of an N-type transistor is at a high potential, the transistor is in an on state, and when the gate is at a low potential, the transistor is in an off state.
  • the gate of the P-type transistor when the gate of the P-type transistor is at a low potential, the transistor is in an on state, and when the gate is at a high potential, the transistor is in an off state.
  • the first electrode of the transistor may be the source or the drain
  • the second electrode may be the drain or the source, which is not limited herein.
  • the working process of the register shown in FIG. 7 is described in detail below by taking the register shown in FIG. 7 as an example.
  • "1" represents a high potential signal
  • "0" represents a low potential signal.
  • the working process of the register has the following two situations:
  • the logic gate 13 can be specifically used to output a low potential signal to control the potential of the output terminal of the first latch 11 to be high when the potentials of the data input terminal D and the data output terminal Q are both high potentials potential.
  • the logic gate 13 may include a first NAND gate C1, and the first latch 11 may include a second NAND gate C2; the input terminals of the first NAND gate C1 are respectively connected to the data input terminal D and the data output terminal Q , the input terminal of the second NAND gate C2 is respectively connected with the data input terminal D and the output terminal of the first NAND gate C1, and the output terminal of the second NAND gate C2 is connected with the output terminal of the first latch.
  • the output terminal of the first NOR gate A1 is at low potential.
  • the output terminal of the first NOR gate A1 When the output terminal of the first NOR gate A1 is low potential, regardless of whether the potential of the data input terminal D is high potential or low potential, the output terminal of the second NOR gate A2 will output a high potential, so that the first latch The potential of the output terminal of 11 is a high potential. In this way, when the signal at the clock signal input terminal CP is reversed, the signal output from the first latch 11 to the second latch 12 is always kept at a high potential, and the internal nodes of the second latch 12 will not be reversed, thereby reducing The power consumption of the internal clock signal flipping of the small register.
  • the register 10 may further include a first transistor M1
  • the first latch 11 may further include a first logic control circuit 111 and an OR gate D1.
  • the first logic control circuit 111 may include a second transistor M2 , a third transistor M3 , a fourth transistor M4 and a fifth transistor M5 .
  • the first transistor M1 , the second transistor M2 and the third transistor M3 are all N-type transistors
  • the fourth transistor M4 and the fifth transistor M5 are P-type transistors.
  • the gate of the first transistor M1 is connected to the clock signal input terminal CP, the first electrode of the first transistor M1 is connected to the first reference voltage terminal V1, and the second electrode of the first transistor M1 is connected to the first node 1 of the register 10;
  • the first electrode of the second transistor M2 is connected to the first node 1, the gate of the second transistor M2 is connected to the second node 2 of the register 10, and the second electrode of the second transistor M2 is connected to the fifth node 5 of the register 10;
  • the first electrode of the third transistor M3 is connected to the first reference voltage terminal V1, the gate of the third transistor M3 is connected to the third node 3 of the register 10, and the second electrode of the third transistor M3 is connected to the fifth node 5;
  • the first electrode of the four transistor M4 is connected to the fifth node 5, the gate of the fourth transistor M4 is connected to the third node 3, the second electrode of the fourth transistor M4 is connected to the first electrode of the fifth transistor M5;
  • the fifth transistor The gate of M5 is connected to the
  • the input end of the OR gate D1 is respectively connected with the fifth node 5 and the clock signal input end CP, the output end of the OR gate D1 is connected with the input end of the second NOR gate A2; the second node 2 is connected with the data input end D, and the second node 2 is connected with the data input end D.
  • the three nodes 3 are connected to the output terminal of the first latch 11 . Wherein, the first reference voltage terminal V1 is grounded, and the potential of the second reference voltage terminal V2 is higher than the potential of the first reference voltage terminal V1.
  • the second latch 12 may control the circuit 121 and the first inverter N1 with a second logic.
  • the second logic control circuit 121 may include a sixth transistor M6 , a seventh transistor M7 , an eighth transistor M8 and a ninth transistor M9 .
  • both the sixth transistor M6 and the seventh transistor M7 are N-type transistors
  • the eighth transistor M8 and the ninth transistor M9 are both P-type transistors.
  • the first electrode of the sixth transistor M6 is connected to the first node 1, the gate of the sixth transistor M6 is connected to the third node 3, the second electrode of the sixth transistor M6 is connected to the sixth node 6 of the register 10; the seventh transistor The first electrode of M7 is connected to the first reference voltage terminal V1, the gate of the seventh transistor M7 is connected to the fourth node 4 of the register 10, and the second electrode of the seventh transistor M7 is connected to the sixth node 6 of the register 10;
  • the first electrode of the eighth transistor M8 is connected to the sixth node 6, the gate of the eighth transistor M8 is connected to the fourth node 4, the second electrode of the eighth transistor M8 is connected to the first electrode of the ninth transistor M9; the ninth transistor M8 The gate of M9 is connected to the third node 3, the second electrode of the ninth transistor M9 is connected to the second reference voltage terminal V2; the input terminal of the first inverter N1 is connected to the sixth node 6, and the first inverter N1 The output terminal of the output terminal is connected to the fourth node 4,
  • the first latch 11 may further include a tenth transistor M10, an eleventh transistor M11 and a second inverter N2.
  • both the tenth transistor M10 and the eleventh transistor M11 are P-type transistors.
  • the input terminal of the second inverter N2 is connected to the fifth node 5, and the output terminal of the second inverter N2 is connected to the gate of the tenth transistor M10; with reference to FIG.
  • the first electrode of the tenth transistor M10 is respectively connected to the gate of the tenth transistor M10
  • the second electrode of the fourth transistor M4 is connected to the first electrode of the fifth transistor M5, the second electrode of the tenth transistor M10 is connected to the first electrode of the eleventh transistor M11; the gate of the eleventh transistor M11 is connected to the clock signal input
  • the terminal CP is connected, and the second electrode of the eleventh transistor M11 is connected to the sixth node 6.
  • the register 10 also includes a third inverter N3, a fourth inverter N4, and a fifth inverter N5; the input terminal of the third inverter N3 is connected to the data input terminal, the output terminal of the third inverter N3 is connected to the second node 2, the input terminal of the fourth inverter N4 is connected to the fourth node 4, and the output terminal of the third inverter N3 is connected to the fourth node 4.
  • the output terminals of the four inverters N4 are connected to the data output terminal Q, the input terminals of the fifth inverter N5 are connected to the clock signal input terminal CP, and the output terminals of the fifth inverter N5 are respectively connected to the gate of the first transistor M1 , the gate of the eleventh transistor M11 and the input terminal of the OR gate D1 are connected.
  • the register provided by this application only a single-phase clock signal is required, that is, no clock buffer is required inside the register, and the first latch 11 and the second latch are directly controlled by the high and low potentials of the clock signal input terminal CP.
  • the clock signal input terminal CP is connected to the fifth inverter N5, that is, the clock signal input terminal CP is connected to two transistors, and the clock signal input terminal CP is connected to the fifth inverter N5 through the fifth inverter N5.
  • the eleventh transistor M11 and the first transistor M1 are connected to the OR gate C, and generally two transistors in the OR gate C are connected to the inverted clock signal input terminal CP.
  • first latch and the second latch may be provided in the embodiment of the present application, or may be existing registered latches, which are not limited herein.
  • FIG. 17 is a schematic structural diagram of a central processing unit provided in the embodiment of the present application, in which the central processing unit 100 includes a circuit board 20 and any of the above-mentioned registers 10 provided in the embodiment of the present application . Since the problem-solving principle of the central processing unit 100 is similar to that of the aforementioned register 10 , the implementation of the central processing unit 100 can refer to the implementation of the aforementioned register 10 , and repeated descriptions will not be repeated here.
  • the present application also provides an electronic device, which may include a housing such as a central processing unit disposed in the housing.
  • the electronic device may be a mobile phone, a tablet computer, a television, a monitor, a notebook computer, and any other product or component with a data processing function.
  • the other essential components of the electronic device should be understood by those of ordinary skill in the art, and will not be repeated here, nor should they be used as limitations on the present application.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Logic Circuits (AREA)

Abstract

Provided in the present application are a register, a central processing unit and an electronic device. The register comprises a first latch, a second latch and a logic gate, wherein an input end of the first latch is connected to a clock signal input end, a data input end, and an output end of the logic gate; an output end of the first latch is connected to an input end of the second latch; and an output end of the second latch is connected to a data output end. An input end of the logic gate is connected to the data input end and the data output end, and the output end of the logic gate is connected to the first latch. When the potential of the data input end is the same as the potential of the data output end, the logic gate can control the output potential of the first latch to be the same as the potential of the data output end, such that signal flipping of the clock signal input end does not cause flipping of a node inside the register, and accordingly the power consumption of the flipping of a clock signal inside the register can be reduced.

Description

一种寄存器、中央处理器及电子设备A kind of register, central processing unit and electronic equipment
相关申请的交叉引用Cross References to Related Applications
本申请要求在2022年02月28日提交中国专利局、申请号为202210188236.7、申请名称为“一种寄存器、中央处理器及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202210188236.7 and the application title "a register, a central processing unit and an electronic device" filed with the China Patent Office on February 28, 2022, the entire contents of which are incorporated herein by reference In this application.
技术领域technical field
本申请涉及电子技术领域,尤其涉及一种寄存器、中央处理器及电子设备。The present application relates to the field of electronic technology, in particular to a register, a central processing unit and electronic equipment.
背景技术Background technique
寄存器是中央处理器(Central Processing Unit,CPU)内部用来存放数据的一些小型存储区域,用来暂时存放参与运算的数据和运算结果。寄存器也是中央处理器中功耗占比较大的一种功能单元,通常占数字模块功耗的20%~30%。Registers are some small storage areas inside the central processing unit (Central Processing Unit, CPU) used to store data, and are used to temporarily store the data and results involved in the calculation. Registers are also a functional unit that consumes a large proportion of power consumption in the central processing unit, usually accounting for 20% to 30% of the power consumption of digital modules.
然而当前寄存器多采用的是如图1所示的主从锁存器(master-slave latch)结构,两个锁存器分别在时钟信号CP0的上升沿和下降沿时锁存数据,这种结构具有面积小的优点,但需要利用时钟缓冲器产生两相时钟信号分别驱动主锁存器和从锁存器,不管输入数据D0有没有刷新,时钟信号CP0都在驱动主锁存器或从锁存器去采样数据,这在很多时候做无用功,从而造成功耗的消耗。有数据表明,在动态功耗上,寄存器内部的时钟信号翻转CP0所消耗的功耗占寄存器动态功耗的80%,因而,减小寄存器内部时钟信号CP0翻转功耗可以有效的降低寄存器所消耗功耗。However, the current register mostly adopts the master-slave latch (master-slave latch) structure as shown in Figure 1. The two latches latch data at the rising and falling edges of the clock signal CP0 respectively. This structure It has the advantage of small area, but it needs to use the clock buffer to generate two-phase clock signals to drive the master latch and the slave latch respectively. Regardless of whether the input data D0 is refreshed, the clock signal CP0 is driving the master latch or the slave latch. The memory is used to sample data, which often does useless work, resulting in consumption of power consumption. Some data show that in terms of dynamic power consumption, the power consumed by the clock signal flipping CP0 inside the register accounts for 80% of the dynamic power consumption of the register. Therefore, reducing the power consumption of the clock signal CP0 flipping inside the register can effectively reduce the power consumption of the register. power consumption.
发明内容Contents of the invention
本申请提供一种寄存器、中央处理器及电子设备,用于降低寄存器的功耗。The application provides a register, a central processing unit and electronic equipment, which are used to reduce the power consumption of the register.
第一方面,本申请实施例提供的一种寄存器,该寄存器可以包括第一锁存器、第二锁存器、逻辑门、时钟信号输入端、数据输入端和数据输出端。第一锁存器的输入端分别与时钟信号输入端、数据输入端和逻辑门的输出端连接,第一锁存器的输出端与第二锁存器的输入端连接,第二锁存器的输出端与数据输出端连接。其中,第一锁存器用于在时钟信号输入端的控制下实现数据锁存或者穿通,而第二锁存器用于实现数据穿通或者锁存,从而实现寄存器的基本功能。逻辑门的输入端分别与数据输入端和数据输出端连接,逻辑门的输出端与第一锁存器连接;该逻辑门可用于在数据输入端和数据输出端的电位相同时,控制第一锁存器输出的电位与数据输出端的电位相同。这样在数据输入端和数据输出端的电位相同时,由于逻辑门控制第一锁存器输出的电位与数据输出端的电位相同,从而时钟信号输入端的信号翻转不会导致寄存器内部节点的翻转,进而可以减小寄存器内部时钟信号翻转的功耗。In a first aspect, an embodiment of the present application provides a register, and the register may include a first latch, a second latch, a logic gate, a clock signal input terminal, a data input terminal, and a data output terminal. The input end of the first latch is respectively connected with the output end of clock signal input end, data input end and logic gate, the output end of the first latch is connected with the input end of the second latch, and the second latch The output terminal is connected to the data output terminal. Wherein, the first latch is used to realize data latching or punch-through under the control of the clock signal input terminal, and the second latch is used to realize data punch-through or latching, thereby realizing the basic function of the register. The input terminals of the logic gate are respectively connected to the data input terminal and the data output terminal, and the output terminals of the logic gate are connected to the first latch; the logic gate can be used to control the first latch when the potentials of the data input terminal and the data output terminal are the same The potential of the register output is the same as the potential of the data output terminal. In this way, when the potentials of the data input terminal and the data output terminal are the same, since the logic gate controls the potential output of the first latch to be the same as the potential of the data output terminal, the signal inversion of the clock signal input terminal will not cause the inversion of the internal nodes of the register, and then it can be Reduce the power consumption of register internal clock signal toggling.
需要说明的是,本申请中提到的两个端相连包括但不限于是直接电连接,也可以是通过其他电器件进行藕接。It should be noted that the connection between two terminals mentioned in this application includes, but is not limited to, direct electrical connection, or coupling through other electrical devices.
下面结合具体实施例,对本申请进行详细说明。需要说明的是,本实施例中是为了更 好的解释本申请,但不限制本申请。The present application will be described in detail below in combination with specific embodiments. It should be noted that, this embodiment is for better explaining the present application, but not limiting the present application.
示例性的,逻辑门具体用于在数据输入端和数据输出端的电位均为第一电位时,输出第二电位的信号以控制第一锁存器输出端的电位为第一电位,第一电位和第二电位为不同的电位。Exemplarily, the logic gate is specifically used to output a signal of a second potential when the potentials of the data input terminal and the data output terminal are both the first potential, so as to control the potential of the output terminal of the first latch to be the first potential, and the first potential and The second potential is a different potential.
在其中一种实施例中,该逻辑门具体可以用于在数据输入端和数据输出端的电位均为低电位时,逻辑门的输出端输出高电位的信号以控制第一锁存器的输出端的电位为低电位。In one of the embodiments, the logic gate can be specifically used to output a high potential signal from the output terminal of the logic gate to control the output terminal of the first latch when the potentials of the data input terminal and the data output terminal are both low potential. Potential is low potential.
示例性的,该逻辑门可以包括第一或非门,第一锁存器可以包括第二或非门;第一或非门的输入端分别与数据输入端和数据输出端连接,第二或非门的输入端分别与数据输入端和第一或非门的输出端连接,第二或非门的输出端与第一锁存器的输出端连接。这样,当数据输入端和数据输出端均为低电位时,第一或非门的输出端为高电位。当第一或非门的输出端为高电位时,不管数据输入端的电位是高电位还是低电位,第二或非门输出端均会输出低电位,从而使第一锁存器的输出端的电位为低电位。这样当时钟信号输入端的信号翻转时,第一锁存器的输出给第二锁存器的信号始终保持为低电位,第二锁存器内部的节点不会翻转,从而减小寄存器内部时钟信号翻转的功耗。Exemplarily, the logic gate may include a first NOR gate, and the first latch may include a second NOR gate; the input ends of the first NOR gate are respectively connected to the data input end and the data output end, and the second OR The input terminals of the NOT gate are respectively connected with the data input terminal and the output terminal of the first NOR gate, and the output terminals of the second NOR gate are connected with the output terminal of the first latch. In this way, when both the data input terminal and the data output terminal are at low potential, the output terminal of the first NOR gate is at high potential. When the output terminal of the first NOR gate is at high potential, no matter whether the potential at the data input terminal is high potential or low potential, the output terminal of the second NOR gate will output low potential, so that the potential at the output terminal of the first latch for low potential. In this way, when the signal at the input end of the clock signal is reversed, the signal output from the first latch to the second latch is always kept at a low potential, and the internal nodes of the second latch will not be reversed, thereby reducing the internal clock signal of the register. Flip power consumption.
在一种可行的实现方式中,该寄存器中还可以包括第一晶体管,而第一锁存器还可以包括第一逻辑控制电路和与门。该第一逻辑控制电路可以包括第二晶体管、第三晶体管、第四晶体管和第五晶体管。其中,第一晶体管、第二晶体管和第三晶体管均为P型晶体管,第四晶体管和第五晶体管为N型晶体管。In a feasible implementation manner, the register may further include a first transistor, and the first latch may further include a first logic control circuit and an AND gate. The first logic control circuit may include a second transistor, a third transistor, a fourth transistor and a fifth transistor. Wherein, the first transistor, the second transistor and the third transistor are all P-type transistors, and the fourth transistor and the fifth transistor are N-type transistors.
第一晶体管的栅极与时钟信号输入端连接,第一晶体管的第一电极与第一参考电压端连接,第一晶体管的第二电极与寄存器的第一节点连接;第二晶体管的第一电极与第一节点连接,第二晶体管的栅极与寄存器的第二节点连接,第二晶体管的第二电极与寄存器的第五节点连接;第三晶体管的第一电极与第一参考电压端连接,第三晶体管的栅极与寄存器的第三节点连接,第三晶体管的第二电极与第五节点连接;第四晶体管的第一电极与第五节点连接,第四晶体管的栅极与第三节点连接,第四晶体管的第二电极与第五晶体管的第一电极连接;第五晶体管的栅极与第二节点连接,第五晶体管的第二电极与第二参考电压端连接。与门的输入端分别与第五节点和时钟信号输入端连接,与门的输出端与第二或非门的输入端连接;第二节点与数据输入端连接,第三节点与第一锁存器的输出端连接。其中,第二参考电压端接地,第一参考电压端的电位大于第二参考电压端的电位。The gate of the first transistor is connected to the clock signal input end, the first electrode of the first transistor is connected to the first reference voltage end, the second electrode of the first transistor is connected to the first node of the register; the first electrode of the second transistor connected to the first node, the gate of the second transistor is connected to the second node of the register, the second electrode of the second transistor is connected to the fifth node of the register; the first electrode of the third transistor is connected to the first reference voltage terminal, The gate of the third transistor is connected to the third node of the register, the second electrode of the third transistor is connected to the fifth node; the first electrode of the fourth transistor is connected to the fifth node, and the gate of the fourth transistor is connected to the third node The second electrode of the fourth transistor is connected to the first electrode of the fifth transistor; the gate of the fifth transistor is connected to the second node, and the second electrode of the fifth transistor is connected to the second reference voltage terminal. The input end of the AND gate is connected with the fifth node and the clock signal input end respectively, and the output end of the AND gate is connected with the input end of the second NOR gate; the second node is connected with the data input end, and the third node is connected with the first latch connected to the output of the device. Wherein, the second reference voltage terminal is grounded, and the potential of the first reference voltage terminal is greater than the potential of the second reference voltage terminal.
进一步地,第二锁存器可以第二逻辑控制电路和第一反相器。该第二逻辑控制电路可以包括第六晶体管、第七晶体管、第八晶体管和第九晶体管。其中,第六晶体管和第七晶体管均为P型晶体管,第八晶体管和第九晶体管均为N型晶体管。第六晶体管的第一电极与第一节点连接,第六晶体管的栅极与第三节点连接,第六晶体管的第二电极与寄存器的第六节点连接;第七晶体管的第一电极与第一参考电压端连接,第七晶体管的栅极与寄存器的第四节点连接,第七晶体管的第二电极与寄存器的第六节点连接;第八晶体管的第一电极与第六节点连接,第八晶体管的栅极与第四节点连接,第八晶体管的第二电极与第九晶体管的第一电极连接;第九晶体管的栅极与第三节点连接,第九晶体管的第二电极与第二参考电压端连接;第一反相器的输入端与第六节点连接,第一反相器的输出端与第四节点连接,第四节点与数据输出端连接。Further, the second latch can control the circuit and the first inverter with a second logic. The second logic control circuit may include a sixth transistor, a seventh transistor, an eighth transistor and a ninth transistor. Wherein, both the sixth transistor and the seventh transistor are P-type transistors, and the eighth transistor and the ninth transistor are both N-type transistors. The first electrode of the sixth transistor is connected to the first node, the gate of the sixth transistor is connected to the third node, the second electrode of the sixth transistor is connected to the sixth node of the register; the first electrode of the seventh transistor is connected to the first The reference voltage terminal is connected, the gate of the seventh transistor is connected to the fourth node of the register, the second electrode of the seventh transistor is connected to the sixth node of the register; the first electrode of the eighth transistor is connected to the sixth node, and the eighth transistor The gate of the eighth transistor is connected to the fourth node, the second electrode of the eighth transistor is connected to the first electrode of the ninth transistor; the gate of the ninth transistor is connected to the third node, and the second electrode of the ninth transistor is connected to the second reference voltage The input end of the first inverter is connected to the sixth node, the output end of the first inverter is connected to the fourth node, and the fourth node is connected to the data output end.
示例性的,为了提升寄存器的稳定性,在该寄存器中,第一锁存器还可以包括第十晶体管、第十一晶体管和第二反相器。其中,第十晶体管和第十一晶体管均为N型晶体管。 第二反相器的输入端与第五节点连接,第二反相器的输出端与第十晶体管的栅极连接;第十晶体管的第一电极分别与第四晶体管的第二电极和第五晶体管的第一电极连接,第十晶体管的第二电极与第十一晶体管的第一电极连接;第十一晶体管的栅极与时钟信号输入端连接,第十一晶体管的第二电极与第六节点连接。Exemplarily, in order to improve the stability of the register, in the register, the first latch may further include a tenth transistor, an eleventh transistor and a second inverter. Wherein, both the tenth transistor and the eleventh transistor are N-type transistors. The input end of the second inverter is connected to the fifth node, and the output end of the second inverter is connected to the gate of the tenth transistor; the first electrode of the tenth transistor is respectively connected to the second electrode of the fourth transistor and the fifth node. The first electrode of the transistor is connected, the second electrode of the tenth transistor is connected with the first electrode of the eleventh transistor; the gate of the eleventh transistor is connected with the clock signal input end, the second electrode of the eleventh transistor is connected with the sixth node connection.
在一种可行的实施例中,为了实现在时钟信号输入端为高电位时,第一锁存器锁存数据,第二锁存器传输数据,而在时钟信号输入端为低电位时,第一锁存器锁存数据,第二锁存器传输数据,寄存器还包括第三反相器和第四反相器;第三反相器的输入端与数据输入端连接,第三反相器的输出端与第二节点连接,第四反相器的输入端与第四节点连接,第四反相器的输出端与数据输出端连接。在该寄存器中,仅需要单相时钟信号即可实现,即寄存器内部不需要时钟缓冲器,直接通过时钟信号输入端的高低电位来控制第一锁存器和第二锁存器的穿通与锁存。且时钟信号输入端总共控制4个晶体管,时钟信号输入端控制的晶体管数量较少,可以降低时钟信号输入端的输入电容,从而可以降低对后端做时钟树时造成的影响,进而可以降低物理实现之后的时钟树功耗。In a feasible embodiment, in order to realize that when the clock signal input terminal is at a high potential, the first latch latches data, and the second latch transmits data, and when the clock signal input terminal is at a low potential, the first latch One latch latches data, the second latch transmits data, and the register also includes a third inverter and a fourth inverter; the input end of the third inverter is connected to the data input end, and the third inverter The output end of the fourth inverter is connected to the second node, the input end of the fourth inverter is connected to the fourth node, and the output end of the fourth inverter is connected to the data output end. In this register, only a single-phase clock signal is required, that is, no clock buffer is required inside the register, and the pass-through and latching of the first latch and the second latch are directly controlled by the high and low potentials of the clock signal input terminal. . And the clock signal input terminal controls a total of 4 transistors, and the number of transistors controlled by the clock signal input terminal is small, which can reduce the input capacitance of the clock signal input terminal, thereby reducing the impact on the clock tree at the back end, thereby reducing the physical implementation subsequent clock tree power consumption.
需要说明的是,在本申请中,N型晶体管在栅极为高电位时,晶体管呈导通态,在栅极为低电位时,晶体管呈截止态。P型晶体管在栅极为低电位时,晶体管呈导通态,在栅极为高电位时,晶体管呈截止态。另外,本申请中晶体管的第一电极可以为源极或漏极,第二电极可以为漏极或源极,在此不作限定。It should be noted that, in this application, when the gate of an N-type transistor is at a high potential, the transistor is in an on state, and when the gate is at a low potential, the transistor is in an off state. When the gate of the P-type transistor is at a low potential, the transistor is in an on state, and when the gate is at a high potential, the transistor is in an off state. In addition, in the present application, the first electrode of the transistor may be the source or the drain, and the second electrode may be the drain or the source, which is not limited herein.
在另一种实施例中,逻辑门具体可以用于在数据输入端和数据输出端的电位均为高电位时,逻辑门的输出端输出低电位的信号以控制第一锁存器输出端的电位为高电位。In another embodiment, the logic gate can be specifically used to output a signal with a low potential at the output terminal of the logic gate to control the potential at the output terminal of the first latch to be high potential.
示例性的,该逻辑门可以包括第一与非门,第一锁存器中可以包括第二与非门;第一与非门的输入端分别与数据输入端和数据输出端连接,第二与非门的输入端分别与数据输入端和第一与非门的输出端连接,第二与非门的输出端与第一锁存器的输出端连接。这样,当数据输入端和数据输出端均为高电位时,第一或非门的输出端为低电位。当第一或非门的输出端为低电位时,不管数据输入端的电位是高电位还是低电位,第二或非门输出端均会输出高电位,从而使第一锁存器的输出端的电位为高电位。这样当时钟信号输入端的信号翻转时,第一锁存器的输出给第二锁存器的信号始终保持为高电位,第二锁存器内部的节点不会翻转,从而减小寄存器内部时钟信号翻转的功耗。Exemplarily, the logic gate may include a first NAND gate, and the first latch may include a second NAND gate; the input terminals of the first NAND gate are respectively connected to the data input terminal and the data output terminal, and the second The input end of the NAND gate is respectively connected with the data input end and the output end of the first NAND gate, and the output end of the second NAND gate is connected with the output end of the first latch. In this way, when both the data input terminal and the data output terminal are at high potential, the output terminal of the first NOR gate is at low potential. When the output terminal of the first NOR gate is low potential, no matter whether the potential of the data input terminal is high potential or low potential, the output terminal of the second NOR gate will output high potential, so that the potential of the output terminal of the first latch for high potential. In this way, when the signal at the input end of the clock signal is reversed, the signal output from the first latch to the second latch is always kept at a high potential, and the internal nodes of the second latch will not be reversed, thereby reducing the internal clock signal of the register. Flip power consumption.
在一种可行的实现方式中,该寄存器中还可以包括第一晶体管,而第一锁存器还可以包括第一逻辑控制电路和或门。该第一逻辑控制电路可以包括第二晶体管、第三晶体管、第四晶体管和第五晶体管。其中,第一晶体管、第二晶体管和第三晶体管均为N型晶体管,第四晶体管和第五晶体管为P型晶体管。第一晶体管的栅极与时钟信号输入端连接,第一晶体管的第一电极与第一参考电压端连接,第一晶体管的第二电极与寄存器的第一节点连接;第二晶体管的第一电极与第一节点连接,第二晶体管的栅极与寄存器的第二节点连接,第二晶体管的第二电极与寄存器的第五节点连接;第三晶体管的第一电极与第一参考电压端连接,第三晶体管的栅极与寄存器的第三节点连接,第三晶体管的第二电极与第五节点连接;第四晶体管的第一电极与第五节点连接,第四晶体管的栅极与第三节点连接,第四晶体管的第二电极与第五晶体管的第一电极连接;第五晶体管的栅极与第二节点连接,第五晶体管的第二电极与第二参考电压端连接。或门的输入端分别与第五节点和时钟信号输入端连接,或门的输出端与第二或非门的输入端连接;第二节点与数据输入端连接,第三节点与第一锁存器的输出端连接。其中,第一参考电压端接地,第二参考电压端的电位大 于第一参考电压端的电位。In a feasible implementation manner, the register may further include a first transistor, and the first latch may further include a first logic control circuit and an OR gate. The first logic control circuit may include a second transistor, a third transistor, a fourth transistor and a fifth transistor. Wherein, the first transistor, the second transistor and the third transistor are all N-type transistors, and the fourth transistor and the fifth transistor are P-type transistors. The gate of the first transistor is connected to the clock signal input end, the first electrode of the first transistor is connected to the first reference voltage end, the second electrode of the first transistor is connected to the first node of the register; the first electrode of the second transistor connected to the first node, the gate of the second transistor is connected to the second node of the register, the second electrode of the second transistor is connected to the fifth node of the register; the first electrode of the third transistor is connected to the first reference voltage terminal, The gate of the third transistor is connected to the third node of the register, the second electrode of the third transistor is connected to the fifth node; the first electrode of the fourth transistor is connected to the fifth node, and the gate of the fourth transistor is connected to the third node The second electrode of the fourth transistor is connected to the first electrode of the fifth transistor; the gate of the fifth transistor is connected to the second node, and the second electrode of the fifth transistor is connected to the second reference voltage terminal. The input end of the OR gate is connected with the fifth node and the clock signal input end respectively, and the output end of the OR gate is connected with the input end of the second NOR gate; the second node is connected with the data input end, and the third node is connected with the first latch connected to the output of the device. Wherein, the first reference voltage terminal is grounded, and the potential of the second reference voltage terminal is greater than that of the first reference voltage terminal.
进一步地,第二锁存器可以第二逻辑控制电路和第一反相器。第二逻辑控制电路可以包括第六晶体管、第七晶体管、第八晶体管和第九晶体管。其中,第六晶体管和第七晶体管均为N型晶体管,第八晶体管和第九晶体管均为P型晶体管。第六晶体管的第一电极与第一节点连接,第六晶体管的栅极与第三节点连接,第六晶体管的第二电极与寄存器的第六节点连接;第七晶体管的第一电极与第一参考电压端连接,第七晶体管的栅极与寄存器的第四节点连接,第七晶体管的第二电极与寄存器的第六节点连接;第八晶体管的第一电极与第六节点连接,第八晶体管的栅极与第四节点连接,第八晶体管的第二电极与第九晶体管的第一电极连接;第九晶体管的栅极与第三节点连接,第九晶体管的第二电极与第二参考电压端连接;第一反相器的输入端与第六节点连接,第一反相器的输出端与第四节点连接,第四节点与数据输出端连接。Further, the second latch can control the circuit and the first inverter with a second logic. The second logic control circuit may include a sixth transistor, a seventh transistor, an eighth transistor, and a ninth transistor. Wherein, both the sixth transistor and the seventh transistor are N-type transistors, and the eighth transistor and the ninth transistor are both P-type transistors. The first electrode of the sixth transistor is connected to the first node, the gate of the sixth transistor is connected to the third node, the second electrode of the sixth transistor is connected to the sixth node of the register; the first electrode of the seventh transistor is connected to the first The reference voltage terminal is connected, the gate of the seventh transistor is connected to the fourth node of the register, the second electrode of the seventh transistor is connected to the sixth node of the register; the first electrode of the eighth transistor is connected to the sixth node, and the eighth transistor The gate of the eighth transistor is connected to the fourth node, the second electrode of the eighth transistor is connected to the first electrode of the ninth transistor; the gate of the ninth transistor is connected to the third node, and the second electrode of the ninth transistor is connected to the second reference voltage The input end of the first inverter is connected to the sixth node, the output end of the first inverter is connected to the fourth node, and the fourth node is connected to the data output end.
示例性的,为了提升寄存器的稳定性,在该寄存器中,第一锁存器还可以包括第十晶体管、第十一晶体管和第二反相器。其中,第十晶体管和第十一晶体管均为P型晶体管。第二反相器的输入端与第五节点连接,第二反相器的输出端与第十晶体管的栅极连接;第十晶体管的第一电极分别与第四晶体管的第二电极和第五晶体管的第一电极连接,第十晶体管的第二电极与第十一晶体管的第一电极连接;第十一晶体管的栅极与时钟信号输入端连接,第十一晶体管的第二电极与第六节点连接。Exemplarily, in order to improve the stability of the register, in the register, the first latch may further include a tenth transistor, an eleventh transistor and a second inverter. Wherein, both the tenth transistor and the eleventh transistor are P-type transistors. The input end of the second inverter is connected to the fifth node, and the output end of the second inverter is connected to the gate of the tenth transistor; the first electrode of the tenth transistor is respectively connected to the second electrode of the fourth transistor and the fifth node. The first electrode of the transistor is connected, the second electrode of the tenth transistor is connected with the first electrode of the eleventh transistor; the gate of the eleventh transistor is connected with the clock signal input end, the second electrode of the eleventh transistor is connected with the sixth node connection.
在一种可行的实施例中,为了实现在时钟信号输入端为高电位时,第一锁存器锁存数据,第二锁存器传输数据,而在时钟信号输入端为低电位时,第一锁存器锁存数据,第二锁存器传输数据,寄存器还包括第三反相器、第四反相器和第五反相器;第三反相器的输入端与数据输入端连接,第三反相器的输出端与第二节点连接,第四反相器的输入端与第四节点连接,第四反相器的输出端与数据输出端连接,第五反相器的输入端与时钟信号输入端连接,第五反相器的输出端分别与第一晶体管的栅极、第十一晶体管的栅极以及或门的输入端连接。在该寄存器中,仅需要单相时钟信号即可实现,即寄存器内部不需要时钟缓冲器,直接通过时钟信号输入端的高低电位来控制第一锁存器和第二锁存器的穿通与锁存。且时钟信号输入端与第五反相器连接,即时钟信号输入端连接两个晶体管,时钟信号输入端通过第五反相器与第十一晶体管、第一晶体管和或门连接,而或门中一般会有两个晶体管与反相后的时钟信号输入端连接。因此在该实施例中,时钟信号和反相后的时钟信号总共需要连接6个晶体管,连接的晶体管数量仍然较少,因此仍是可以降低时钟信号的输入电容,从而可以降低对后端做时钟树时造成的影响,进而可以降低物理实现之后的时钟树功耗。In a feasible embodiment, in order to realize that when the clock signal input terminal is at a high potential, the first latch latches data, and the second latch transmits data, and when the clock signal input terminal is at a low potential, the first latch One latch latches data, the second latch transmits data, and the register also includes a third inverter, a fourth inverter, and a fifth inverter; the input terminal of the third inverter is connected to the data input terminal , the output terminal of the third inverter is connected to the second node, the input terminal of the fourth inverter is connected to the fourth node, the output terminal of the fourth inverter is connected to the data output terminal, and the input terminal of the fifth inverter terminal is connected to the clock signal input terminal, and the output terminal of the fifth inverter is respectively connected to the gate of the first transistor, the gate of the eleventh transistor and the input terminal of the OR gate. In this register, only a single-phase clock signal is required, that is, no clock buffer is required inside the register, and the pass-through and latching of the first latch and the second latch are directly controlled by the high and low potentials of the clock signal input terminal. . And the clock signal input end is connected with the fifth inverter, that is, the clock signal input end is connected with two transistors, the clock signal input end is connected with the eleventh transistor, the first transistor and the OR gate through the fifth inverter, and the OR gate In general, there are two transistors connected to the input terminal of the inverted clock signal. Therefore, in this embodiment, a total of 6 transistors need to be connected to the clock signal and the inverted clock signal, and the number of connected transistors is still small, so the input capacitance of the clock signal can still be reduced, thereby reducing the number of clocks to the back end. The impact caused by the clock tree can reduce the power consumption of the clock tree after physical implementation.
需要说明的是,在本申请中,第一锁存器和第二锁存器可以是本申请实施例提供的,也可以是现有寄存的锁存器,在此不作限定。It should be noted that, in the present application, the first latch and the second latch may be provided in the embodiment of the present application, or may be existing registered latches, which are not limited herein.
第二方面,本申请实施例还提供了一种中央处理器,该电子设备可以包括电路板和与该电路板电连接的如上述第一方面中任意一种实施方式所提供的寄存器。In the second aspect, the embodiment of the present application further provides a central processing unit, and the electronic device may include a circuit board and a register electrically connected to the circuit board as provided in any one of the above-mentioned implementation manners of the first aspect.
第三方面,本申请实施例还提供了一种电子设备,该电子设备可以包括壳体和设置在该壳体内的如上述第二方面所提供的中央处理器。In a third aspect, an embodiment of the present application further provides an electronic device, which may include a housing and a central processing unit as provided in the second aspect above arranged in the housing.
上述第二方面和第三方面可以达到的技术效果可以参照上述第一方面中任一可能设计可以达到的技术效果说明,这里不再重复赘述。The technical effects that can be achieved by the second aspect and the third aspect can be described with reference to the technical effects that can be achieved by any possible design in the first aspect, and will not be repeated here.
附图说明Description of drawings
图1为传统的寄存器的结构示意图;FIG. 1 is a schematic structural diagram of a traditional register;
图2为本申请实施例提供的一种寄存器的结构示意图;FIG. 2 is a schematic structural diagram of a register provided by an embodiment of the present application;
图3为本申请实施例提供的另一种寄存器的结构示意图;FIG. 3 is a schematic structural diagram of another register provided by the embodiment of the present application;
图4为本申请实施例提供的又一种寄存器的结构示意图;FIG. 4 is a schematic structural diagram of another register provided by the embodiment of the present application;
图5为本申请实施例提供的一种第一逻辑控制电路的具体结构示意图;FIG. 5 is a schematic structural diagram of a first logic control circuit provided in an embodiment of the present application;
图6为本申请实施例提供的一种第二逻辑控制电路的具体结构示意图;FIG. 6 is a schematic structural diagram of a second logic control circuit provided by an embodiment of the present application;
图7为本申请实施例提供的又一种寄存器的结构示意图;FIG. 7 is a schematic structural diagram of another register provided by the embodiment of the present application;
图8为图7所示寄存器中第一逻辑控制电路的具体结构示意图;FIG. 8 is a schematic structural diagram of the first logic control circuit in the register shown in FIG. 7;
图9a至图9h分别为图7所示的寄存器的工作过程所对应的状态示意图;FIG. 9a to FIG. 9h are schematic diagrams of states corresponding to the working process of the register shown in FIG. 7;
图10为本申请实施例提供的另一种寄存器的结构示意图;FIG. 10 is a schematic structural diagram of another register provided by the embodiment of the present application;
图11为本申请实施例提供的又一种寄存器的结构示意图;FIG. 11 is a schematic structural diagram of another register provided by the embodiment of the present application;
图12为本申请实施例提供的一种第一逻辑控制电路的具体结构示意图;FIG. 12 is a schematic structural diagram of a first logic control circuit provided by an embodiment of the present application;
图13为本申请实施例提供的一种第二逻辑控制电路的具体结构示意图;FIG. 13 is a schematic structural diagram of a second logic control circuit provided in an embodiment of the present application;
图14为本申请实施例提供的又一种寄存器的结构示意图;FIG. 14 is a schematic structural diagram of another register provided by the embodiment of the present application;
图15为图14所示寄存器中第一逻辑控制电路的具体结构示意图;FIG. 15 is a schematic structural diagram of the first logic control circuit in the register shown in FIG. 14;
图16a至图16h分别为图14所示的寄存器的工作过程所对应的状态示意图;16a to 16h are schematic diagrams of states corresponding to the working process of the register shown in FIG. 14 ;
图17为本申请实施例提供的一种中央处理器对应的结构示意图。FIG. 17 is a schematic structural diagram corresponding to a central processing unit provided by the embodiment of the present application.
附图标记说明:Explanation of reference signs:
100-中央处理器;20-电路板;10-寄存器;11-第一锁存器;12-第二锁存器;13-逻辑门;111-第一逻辑控制电路;121-第二逻辑控制电路;N1-第一反相器;N2-第二反相器;N3-第三反相器;N4-第四反相器;N5-第五反相器;M1-第一晶体管;M2-第二晶体管;M3-第三晶体管;M4-第四晶体管;M5-第五晶体管;M6-第六晶体管;M7-第七晶体管;M8-第八晶体管;M9-第九晶体管;M10-第十晶体管;M11-第十一晶体管;A1-第一或非门;A2-第二或非门;B-与门;C1-第一与非门;C2-第二与非门;D1-或门;CP-时钟信号输入端;D-数据输入端;Q-数据输出端;V1-第一参考电压端;V2-第二参考电压端;①-第一节点;②-第二节点;③-第三节点;④-第四节点;⑤-第五节点;⑥-第六节点。100-central processing unit; 20-circuit board; 10-register; 11-first latch; 12-second latch; 13-logic gate; 111-first logic control circuit; 121-second logic control Circuit; N1-first inverter; N2-second inverter; N3-third inverter; N4-fourth inverter; N5-fifth inverter; M1-first transistor; M2- M3-third transistor; M4-fourth transistor; M5-fifth transistor; M6-sixth transistor; M7-seventh transistor; M8-eighth transistor; M9-ninth transistor; M10-tenth Transistor; M11-the eleventh transistor; A1-the first NOR gate; A2-the second NOR gate; B-AND gate; C1-the first NAND gate; C2-the second NAND gate; D1-OR gate ;CP-clock signal input terminal; D-data input terminal; Q-data output terminal; V1-first reference voltage terminal; V2-second reference voltage terminal;①-first node;②-second node;③- The third node; ④-the fourth node; ⑤-the fifth node; ⑥-the sixth node.
具体实施方式Detailed ways
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的实施方式;相反,提供这些实施方式使得本申请更全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。在图中相同的附图标记表示相同或类似的结构,因而将省略对它们的重复描述。本申请中所描述的表达位置与方向的词,均是以附图为例进行的说明,但根据需要也可以做出改变,所做改变均包含在本申请保护范围内。本申请的附图仅用于示意相对位置关系不代表真实比例。In order to make the purpose, technical solution and advantages of the application clearer, the application will be further described in detail below in conjunction with the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this application will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals denote the same or similar structures in the drawings, and thus their repeated descriptions will be omitted. The words expressing position and direction described in this application are all described by taking the accompanying drawings as an example, but changes can also be made according to needs, and all changes are included in the protection scope of this application. The drawings in this application are only used to illustrate the relative positional relationship and do not represent the true scale.
需要说明的是,在以下描述中阐述了具体细节以便于充分理解本申请。但是本申请能够以多种不同于在此描述的其它方式来实施,本领域技术人员可以在不违背本申请内涵的情况下做类似推广。因此本申请不受下面公开的具体实施方式的限制。说明书后续描述为 实施本申请的较佳实施方式,然所述描述乃以说明本申请的一般原则为目的,并非用以限定本申请的范围。本申请的保护范围当视所附权利要求所界定者为准。It should be noted that specific details are set forth in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways different from those described here, and those skilled in the art can make similar promotions without departing from the connotation of the present application. The present application is therefore not limited by the specific embodiments disclosed below. The subsequent description of the specification is a preferred implementation mode for implementing the application, but the description is for the purpose of illustrating the general principles of the application, and is not intended to limit the scope of the application. The scope of protection of the present application should be defined by the appended claims.
为了方便理解本申请实施例提供的技术方案,下面首先介绍一下其应用场景。寄存器是中央处理器内部用来存放数据的一些小型存储区域,用来暂时存放参与运算的数据和运算结果。而中央处理器可以应用于终端设备或云端服务器设备等电子设备中,当然,也可以应用于其他电子设备中,在此不作限定。In order to facilitate understanding of the technical solutions provided by the embodiments of the present application, the application scenarios thereof are firstly introduced below. Registers are some small storage areas used to store data inside the central processing unit, and are used to temporarily store the data involved in the calculation and the results of the calculation. The central processing unit can be applied to electronic devices such as terminal devices or cloud server devices, and of course, can also be applied to other electronic devices, which is not limited here.
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述。In order to make the purpose, technical solution and advantages of the application clearer, the application will be further described in detail below in conjunction with the accompanying drawings.
参见图2,图2为本申请实施例提供的一种寄存器的结构示意图。如图2所示,该寄存器10可以包括第一锁存器11、第二锁存器12、逻辑门13、时钟信号输入端CP、数据输入端D和数据输出端Q。第一锁存器11的输入端分别与时钟信号输入端CP、数据输入端D和逻辑门13的输出端连接,第一锁存器11的输出端与第二锁存器12的输入端连接,第二锁存器的输出端与数据输出端Q连接。其中,第一锁存器11用于在时钟信号输入端CP的控制下实现数据锁存或者穿通,而第二锁存器用于实现数据穿通或者锁存,从而实现寄存器的基本功能。Referring to FIG. 2 , FIG. 2 is a schematic structural diagram of a register provided by an embodiment of the present application. As shown in FIG. 2 , the register 10 may include a first latch 11 , a second latch 12 , a logic gate 13 , a clock signal input terminal CP, a data input terminal D and a data output terminal Q. The input end of the first latch 11 is connected with the output end of clock signal input end CP, data input end D and logic gate 13 respectively, and the output end of the first latch 11 is connected with the input end of the second latch 12 , the output end of the second latch is connected to the data output end Q. Wherein, the first latch 11 is used to realize data latching or pass-through under the control of the clock signal input terminal CP, and the second latch is used to realize data pass-through or latching, so as to realize the basic function of the register.
继续参见图2,逻辑门13的输入端分别与数据输入端D和数据输出端Q连接,逻辑门13的输出端与第一锁存器11连接;该逻辑门13可用于在数据输入端D和数据输出端Q的电位相同时,控制第一锁存器11输出的电位与数据输出端Q的电位相同。这样在数据输入端D和数据输出端Q的电位相同时,由于逻辑门13控制第一锁存器11输出的电位与数据输出端Q的电位相同,从而时钟信号输入端CP的信号翻转不会导致寄存器内部节点的翻转,进而可以减小寄存器内部时钟信号翻转的功耗。Continue to refer to Fig. 2, the input terminal of logic gate 13 is connected with data input terminal D and data output terminal Q respectively, and the output terminal of logic gate 13 is connected with first latch 11; This logic gate 13 can be used in data input terminal D When the potential is the same as the potential of the data output terminal Q, the potential output by the first latch 11 is controlled to be the same as the potential of the data output terminal Q. In this way, when the potentials of the data input terminal D and the data output terminal Q are the same, since the logic gate 13 controls the potential output of the first latch 11 to be the same as the potential of the data output terminal Q, the signal reversal of the clock signal input terminal CP will not occur. This causes the inversion of the internal nodes of the register, thereby reducing the power consumption of the internal clock signal inversion of the register.
需要说明的是,本申请中提到的两个端相连包括但不限于是直接电连接,也可以是通过其他电器件进行藕接。It should be noted that the connection between two terminals mentioned in this application includes, but is not limited to, direct electrical connection, or coupling through other electrical devices.
示例性的,逻辑门具体用于在数据输入端和数据输出端的电位均为第一电位时,输出第二电位的信号以控制第一锁存器输出端的电位为第一电位,第一电位和第二电位为不同的电位。Exemplarily, the logic gate is specifically used to output a signal of a second potential when the potentials of the data input terminal and the data output terminal are both the first potential, so as to control the potential of the output terminal of the first latch to be the first potential, and the first potential and The second potential is a different potential.
下面结合具体实施例,对本申请进行详细说明。需要说明的是,本实施例中是为了更好的解释本申请,但不限制本申请。The present application will be described in detail below in combination with specific embodiments. It should be noted that this embodiment is for better explaining the present application, but not limiting the present application.
下面先对本申请中逻辑门的第一种实施情况进行说明。The first implementation of the logic gate in this application will be described below.
在该实施例中,逻辑门13具体可以用于在数据输入端D和数据输出端Q的电位均为低电位时,输出高电位的信号以控制第一锁存器11的输出端的电位为低电位。In this embodiment, the logic gate 13 can be specifically used to output a high potential signal to control the potential of the output terminal of the first latch 11 to be low when the potentials of the data input terminal D and the data output terminal Q are both low potentials. potential.
示例性的,参见图3,图3为本申请实施例提供的另一种寄存器的结构示意图。该逻辑门13可以包括第一或非门A1,第一锁存器11可以包括第二或非门A2;第一或非门A1的输入端分别与数据输入端D和数据输出端Q连接,第二或非门A2的输入端分别与数据输入端D和第一或非门A1的输出端连接,第二或非门A2的输出端与第一锁存器11的输出端连接。这样,当数据输入端D和数据输出端Q均为低电位时,第一或非门A1的输出端为高电位。当第一或非门A1的输出端为高电位时,不管数据输入端D的电位是高电位还是低电位,第二或非门A2输出端均会输出低电位,从而使第一锁存器11的输出端的电位为低电位。这样当时钟信号输入端CP的信号翻转时,第一锁存器11的输出给第二锁存器12的信号始终保持为低电位,第二锁存器12内部的节点不会翻转,从而减小寄存器内 部时钟信号翻转的功耗。For example, refer to FIG. 3 . FIG. 3 is a schematic structural diagram of another register provided by an embodiment of the present application. The logic gate 13 may include a first NOR gate A1, and the first latch 11 may include a second NOR gate A2; the input terminals of the first NOR gate A1 are respectively connected to the data input terminal D and the data output terminal Q, The input terminal of the second NOR gate A2 is respectively connected with the data input terminal D and the output terminal of the first NOR gate A1 , and the output terminal of the second NOR gate A2 is connected with the output terminal of the first latch 11 . In this way, when the data input terminal D and the data output terminal Q are both at low potential, the output terminal of the first NOR gate A1 is at high potential. When the output terminal of the first NOR gate A1 is at a high potential, regardless of whether the potential at the data input terminal D is high or low, the output terminal of the second NOR gate A2 will output a low potential, so that the first latch The potential of the output terminal of 11 is a low potential. In this way, when the signal at the clock signal input terminal CP is reversed, the signal output from the first latch 11 to the second latch 12 is always kept at a low potential, and the internal nodes of the second latch 12 will not be reversed, thereby reducing The power consumption of the internal clock signal flipping of the small register.
在一种可行的实现方式中,如图4所示,该寄存器10中还可以包括第一晶体管M1,而第一锁存器11还可以包括第一逻辑控制电路111和与门B。结合图5,该第一逻辑控制电路111可以包括第二晶体管M2、第三晶体管M3、第四晶体管M4和第五晶体管M5。其中,第一晶体管M1、第二晶体管M2和第三晶体管M3均为P型晶体管,第四晶体管M4和第五晶体管M5为N型晶体管。第一晶体管M1的栅极与时钟信号输入端CP连接,第一晶体管M1的第一电极与第一参考电压端V1连接,第一晶体管M1的第二电极与寄存器10的第一节点①连接;第二晶体管M2的第一电极与第一节点①连接,第二晶体管M2的栅极与寄存器10的第二节点②连接,第二晶体管M2的第二电极与寄存器10的第五节点⑤连接;第三晶体管M3的第一电极与第一参考电压端V1连接,第三晶体管M3的栅极与寄存器10的第三节点③连接,第三晶体管M3的第二电极与第五节点⑤连接;第四晶体管M4的第一电极与第五节点⑤连接,第四晶体管M4的栅极与第三节点③连接,第四晶体管M4的第二电极与第五晶体管M5的第一电极连接;第五晶体管M5的栅极与第二节点②连接,第五晶体管M5的第二电极与第二参考电压端V2连接。与门B的输入端分别与第五节点⑤和时钟信号输入端CP连接,与门B的输出端与第二或非门A2的输入端连接;第二节点②与数据输入端D连接,第三节点③与第一锁存器11的输出端连接。其中,第二参考电压端V2接地,第一参考电压端V1的电位大于第二参考电压端V2的电位。In a feasible implementation manner, as shown in FIG. 4 , the register 10 may further include a first transistor M1, and the first latch 11 may further include a first logic control circuit 111 and an AND gate B. Referring to FIG. 5 , the first logic control circuit 111 may include a second transistor M2 , a third transistor M3 , a fourth transistor M4 and a fifth transistor M5 . Wherein, the first transistor M1 , the second transistor M2 and the third transistor M3 are all P-type transistors, and the fourth transistor M4 and the fifth transistor M5 are N-type transistors. The gate of the first transistor M1 is connected to the clock signal input terminal CP, the first electrode of the first transistor M1 is connected to the first reference voltage terminal V1, and the second electrode of the first transistor M1 is connected to the first node ① of the register 10; The first electrode of the second transistor M2 is connected to the first node ①, the gate of the second transistor M2 is connected to the second node ② of the register 10, and the second electrode of the second transistor M2 is connected to the fifth node ⑤ of the register 10; The first electrode of the third transistor M3 is connected to the first reference voltage terminal V1, the gate of the third transistor M3 is connected to the third node ③ of the register 10, and the second electrode of the third transistor M3 is connected to the fifth node ⑤; The first electrode of the four transistor M4 is connected to the fifth node ⑤, the gate of the fourth transistor M4 is connected to the third node ③, the second electrode of the fourth transistor M4 is connected to the first electrode of the fifth transistor M5; the fifth transistor The gate of M5 is connected to the second node ②, and the second electrode of the fifth transistor M5 is connected to the second reference voltage terminal V2. The input terminal of the AND gate B is connected with the fifth node ⑤ and the clock signal input terminal CP respectively, and the output terminal of the AND gate B is connected with the input terminal of the second NOR gate A2; the second node ② is connected with the data input terminal D, and the second node ② is connected with the data input terminal D. The three nodes ③ are connected to the output terminal of the first latch 11 . Wherein, the second reference voltage terminal V2 is grounded, and the potential of the first reference voltage terminal V1 is greater than the potential of the second reference voltage terminal V2.
进一步地,继续参见图4,第二锁存器12可以第二逻辑控制电路121和第一反相器N1。结合图6,第二逻辑控制电路121可以包括第六晶体管M6、第七晶体管M7、第八晶体管M8和第九晶体管M9。其中,第六晶体管M6和第七晶体管M7均为P型晶体管,第八晶体管M8和第九晶体管M9均为N型晶体管。第六晶体管M6的第一电极与第一节点①连接,第六晶体管M6的栅极与第三节点③连接,第六晶体管M6的第二电极与寄存器10的第六节点⑥连接;第七晶体管M7的第一电极与第一参考电压端V1连接,第七晶体管M7的栅极与寄存器10的第四节点④连接,第七晶体管M7的第二电极与寄存器10的第六节点⑥连接;第八晶体管M8的第一电极与第六节点⑥连接,第八晶体管M8的栅极与第四节点④连接,第八晶体管M8的第二电极与第九晶体管M9的第一电极连接;第九晶体管M9的栅极与第三节点③连接,第九晶体管M9的第二电极与第二参考电压端V2连接;第一反相器N1的输入端与第六节点⑥连接,第一反相器N1的输出端与第四节点④连接,第四节点④与数据输出端Q连接。Further, continuing to refer to FIG. 4 , the second latch 12 may control the circuit 121 and the first inverter N1 with a second logic. Referring to FIG. 6 , the second logic control circuit 121 may include a sixth transistor M6 , a seventh transistor M7 , an eighth transistor M8 and a ninth transistor M9 . Wherein, both the sixth transistor M6 and the seventh transistor M7 are P-type transistors, and the eighth transistor M8 and the ninth transistor M9 are both N-type transistors. The first electrode of the sixth transistor M6 is connected to the first node ①, the gate of the sixth transistor M6 is connected to the third node ③, the second electrode of the sixth transistor M6 is connected to the sixth node ⑥ of the register 10; the seventh transistor The first electrode of M7 is connected to the first reference voltage terminal V1, the gate of the seventh transistor M7 is connected to the fourth node ④ of the register 10, and the second electrode of the seventh transistor M7 is connected to the sixth node ⑥ of the register 10; The first electrode of the eighth transistor M8 is connected to the sixth node ⑥, the gate of the eighth transistor M8 is connected to the fourth node ④, the second electrode of the eighth transistor M8 is connected to the first electrode of the ninth transistor M9; the ninth transistor M8 The gate of M9 is connected to the third node ③, the second electrode of the ninth transistor M9 is connected to the second reference voltage terminal V2; the input terminal of the first inverter N1 is connected to the sixth node ⑥, and the first inverter N1 The output terminal of the output terminal is connected to the fourth node ④, and the fourth node ④ is connected to the data output terminal Q.
示例性的,为了提升寄存器的稳定性,参见图7,图7为本申请实施例提供的又一种寄存器的结构示意图。在该寄存器10中,第一锁存器11还可以包括第十晶体管M10、第十一晶体管M11和第二反相器N2。其中,第十晶体管M10和第十一晶体管M11均为N型晶体管。第二反相器N2的输入端与第五节点⑤连接,第二反相器N2的输出端与第十晶体管M10的栅极连接;结合图8,第十晶体管M10的第一电极分别与第四晶体管M4的第二电极和第五晶体管M5的第一电极连接,第十晶体管M10的第二电极与第十一晶体管M11的第一电极连接;第十一晶体管M11的栅极与时钟信号输入端CP连接,第十一晶体管M11的第二电极与第六节点⑥连接。Exemplarily, in order to improve the stability of the register, refer to FIG. 7 , which is a schematic structural diagram of another register provided by an embodiment of the present application. In the register 10, the first latch 11 may further include a tenth transistor M10, an eleventh transistor M11 and a second inverter N2. Wherein, both the tenth transistor M10 and the eleventh transistor M11 are N-type transistors. The input end of the second inverter N2 is connected to the fifth node ⑤, and the output end of the second inverter N2 is connected to the gate of the tenth transistor M10; with reference to FIG. 8, the first electrode of the tenth transistor M10 is respectively connected to the gate of the tenth transistor M10 The second electrode of the fourth transistor M4 is connected to the first electrode of the fifth transistor M5, the second electrode of the tenth transistor M10 is connected to the first electrode of the eleventh transistor M11; the gate of the eleventh transistor M11 is connected to the clock signal input The terminal CP is connected, and the second electrode of the eleventh transistor M11 is connected to the sixth node ⑥.
在一种可行的实施例中,为了实现在时钟信号输入端CP为高电位时,第一锁存器11锁存数据,第二锁存器12传输数据,而在时钟信号输入端CP为低电位时,第一锁存器11 锁存数据,第二锁存器12传输数据,继续参见图7,寄存器10还包括第三反相器N3和第四反相器N4;第三反相器N3的输入端与数据输入端连接,第三反相器N3的输出端与第二节点②连接,第四反相器N4的输入端与第四节点④连接,第四反相器N4的输出端与数据输出端Q连接。In a feasible embodiment, in order to realize that when the clock signal input terminal CP is high potential, the first latch 11 latches data, and the second latch 12 transmits data, while the clock signal input terminal CP is low potential potential, the first latch 11 latches data, and the second latch 12 transmits data. Continue referring to FIG. 7, the register 10 also includes a third inverter N3 and a fourth inverter N4; the third inverter The input terminal of N3 is connected to the data input terminal, the output terminal of the third inverter N3 is connected to the second node ②, the input terminal of the fourth inverter N4 is connected to the fourth node ④, and the output of the fourth inverter N4 The terminal is connected with the data output terminal Q.
在本申请提供的寄存器中,仅需要单相时钟信号即可实现,即寄存器内部不需要时钟缓冲器,直接通过时钟信号输入端CP的高低电位来控制第一锁存器11和第二锁存器12的穿通与锁存。且在图7实施例提供的寄存器中,时钟信号输入端CP总共控制4个晶体管,时钟信号输入端CP控制的晶体管数量较少,可以降低时钟信号输入端CP的输入电容,从而可以降低对后端做时钟树时造成的影响,进而可以降低物理实现之后的时钟树功耗。In the register provided by this application, only a single-phase clock signal is required, that is, no clock buffer is required inside the register, and the first latch 11 and the second latch are directly controlled by the high and low potentials of the clock signal input terminal CP. The punch-through and latch of device 12. And in the register provided by the embodiment of FIG. 7 , the clock signal input terminal CP controls a total of 4 transistors, and the number of transistors controlled by the clock signal input terminal CP is small, which can reduce the input capacitance of the clock signal input terminal CP, thereby reducing the impact on the rear The impact caused by the end-to-end clock tree can reduce the power consumption of the clock tree after physical implementation.
需要说明的是,在本申请中,N型晶体管在栅极为高电位时,晶体管呈导通态,在栅极为低电位时,晶体管呈截止态。P型晶体管在栅极为低电位时,晶体管呈导通态,在栅极为高电位时,晶体管呈截止态。另外,本申请中晶体管的第一电极可以为源极或漏极,第二电极可以为漏极或源极,在此不作限定。It should be noted that, in this application, when the gate of an N-type transistor is at a high potential, the transistor is in an on state, and when the gate is at a low potential, the transistor is in an off state. When the gate of the P-type transistor is at a low potential, the transistor is in an on state, and when the gate is at a high potential, the transistor is in an off state. In addition, in the present application, the first electrode of the transistor may be the source or the drain, and the second electrode may be the drain or the source, which is not limited herein.
下面以图7所示的寄存器为例,对其工作过程进行详细的描述。下述描述中以“1”表示高电位,“0”表示低电位信号。寄存器的工作过程有如下两种情况:The working process of the register shown in FIG. 7 is described in detail below by taking the register shown in FIG. 7 as an example. In the following description, "1" represents a high potential signal, and "0" represents a low potential signal. The working process of the register has the following two situations:
第一种情况、the first case,
状态1:CP=0,D=0;Q可能为0也可能为1。State 1: CP=0, D=0; Q may be 0 or 1.
如图9a所示,当CP=0,D=0,Q=1时,第四晶体管M4、第五晶体管M5、第十晶体管M10、第七晶体管M7、第九晶体管M9和第一晶体管M1均导通,第二晶体管M2、第三晶体管M3、第十一晶体管M11、第六晶体管M6和第八晶体管M8均截止。As shown in Figure 9a, when CP=0, D=0, Q=1, the fourth transistor M4, the fifth transistor M5, the tenth transistor M10, the seventh transistor M7, the ninth transistor M9 and the first transistor M1 are all is turned on, and the second transistor M2, the third transistor M3, the eleventh transistor M11, the sixth transistor M6 and the eighth transistor M8 are all turned off.
第一节点①=1,第二节点②=1,第五节点⑤=0,第三节点③=1,第六节点⑥=1,第四节点④=0,Q=1。The first node ①=1, the second node ②=1, the fifth node ⑤=0, the third node ③=1, the sixth node ⑥=1, the fourth node ④=0, Q=1.
如图9b所示,当CP=0,D=0,Q=0时,第四晶体管M4、第五晶体管M5、第十晶体管M10、第八晶体管M8、第九晶体管M9和第一晶体管M1均导通,第二晶体管M2、第三晶体管M3、第十一晶体管M11、第六晶体管M6和第七晶体管M7均截止。As shown in FIG. 9b, when CP=0, D=0, and Q=0, the fourth transistor M4, the fifth transistor M5, the tenth transistor M10, the eighth transistor M8, the ninth transistor M9 and the first transistor M1 all is turned on, and the second transistor M2, the third transistor M3, the eleventh transistor M11, the sixth transistor M6 and the seventh transistor M7 are all turned off.
第一节点①=1,第二节点②=1,第五节点⑤=0,第三节点③=1,第六节点⑥=0,第四节点④=1,Q=0。The first node ①=1, the second node ②=1, the fifth node ⑤=0, the third node ③=1, the sixth node ⑥=0, the fourth node ④=1, Q=0.
状态2:CP=1(由0跳变为1),D=0;Q=0。State 2: CP=1 (jumps from 0 to 1), D=0; Q=0.
如图9c所示,当CP=1,D=0时,第四晶体管M4、第五晶体管M5、第十晶体管M10、第十一晶体管M11、第八晶体管M8和第九晶体管M9均导通,第二晶体管M2、第三晶体管M3、第六晶体管M6、第七晶体管M7和第一晶体管M1均截止。在该状态下,第十晶体管M10和第十一晶体管M11均导通,第二参考电压端V2通过第五晶体管M5、第十晶体管M10和第十一晶体管M11拉低第六节点⑥的电位。As shown in FIG. 9c, when CP=1 and D=0, the fourth transistor M4, the fifth transistor M5, the tenth transistor M10, the eleventh transistor M11, the eighth transistor M8 and the ninth transistor M9 are all turned on, The second transistor M2, the third transistor M3, the sixth transistor M6, the seventh transistor M7 and the first transistor M1 are all turned off. In this state, both the tenth transistor M10 and the eleventh transistor M11 are turned on, and the second reference voltage terminal V2 pulls down the potential of the sixth node ⑥ through the fifth transistor M5, the tenth transistor M10 and the eleventh transistor M11.
第一节点①=1,第二节点②=1,第五节点⑤=0,第三节点③=1,第六节点⑥=0,第四节点④=1,Q=0。The first node ①=1, the second node ②=1, the fifth node ⑤=0, the third node ③=1, the sixth node ⑥=0, the fourth node ④=1, Q=0.
状态3:CP=1,D=1(由0跳变到1);Q=0。State 3: CP=1, D=1 (jumps from 0 to 1); Q=0.
如图9d所示,当CP=1,D=1时,第二晶体管M2、第四晶体管M4、第十晶体管M10、第十一晶体管M11、第八晶体管M8和第九晶体管M9均导通,第三晶体管M3、第五晶体管M5、第六晶体管M6、第七晶体管M7和第一晶体管M1均截止。在该状态下,第十晶体管M10和第十一晶体管M11均导通,第六节点⑥通过第十晶体管M10、第十一晶体 管M11以及第二晶体管M2和第四晶体管M4拉低第一节点①的电位。As shown in FIG. 9d, when CP=1 and D=1, the second transistor M2, the fourth transistor M4, the tenth transistor M10, the eleventh transistor M11, the eighth transistor M8 and the ninth transistor M9 are all turned on, The third transistor M3, the fifth transistor M5, the sixth transistor M6, the seventh transistor M7 and the first transistor M1 are all turned off. In this state, both the tenth transistor M10 and the eleventh transistor M11 are turned on, and the sixth node ⑥ pulls down the first node ① through the tenth transistor M10, the eleventh transistor M11, the second transistor M2 and the fourth transistor M4 potential.
第一节点①=0,第二节点②=0,第五节点⑤=0,第三节点③=1,第六节点⑥=0,第四节点④=1,Q=0。The first node ①=0, the second node ②=0, the fifth node ⑤=0, the third node ③=1, the sixth node ⑥=0, the fourth node ④=1, Q=0.
第二种情况、the second case,
状态1:CP=0,D=1;Q可能为0也可能为1。State 1: CP=0, D=1; Q may be 0 or 1.
如图9e所示,当CP=0,D=1,Q=0时,第二晶体管M2、第四晶体管M4、第八晶体管M8、第九晶体管M9和第一晶体管M1均导通,第三晶体管M3、第五晶体管M5、第十晶体管M10、第十一晶体管M11、第六晶体管M6和第七晶体管M7均截止。As shown in Figure 9e, when CP=0, D=1, Q=0, the second transistor M2, the fourth transistor M4, the eighth transistor M8, the ninth transistor M9 and the first transistor M1 are all turned on, and the third The transistor M3, the fifth transistor M5, the tenth transistor M10, the eleventh transistor M11, the sixth transistor M6 and the seventh transistor M7 are all turned off.
第一节点①=1,第二节点②=0,第五节点⑤=1,第三节点③=1,第六节点⑥=0,第四节点④=1,Q=0。The first node ①=1, the second node ②=0, the fifth node ⑤=1, the third node ③=1, the sixth node ⑥=0, the fourth node ④=1, Q=0.
如图9f所示,当CP=0,D=1,Q=1时,第二晶体管M2、第四晶体管M4、第六晶体管M6、第七晶体管M7和第一晶体管M1均导通,第三晶体管M3、第五晶体管M5、第十晶体管M10、第十一晶体管M11、第八晶体管M8和第九晶体管M9均截止。As shown in Figure 9f, when CP=0, D=1, Q=1, the second transistor M2, the fourth transistor M4, the sixth transistor M6, the seventh transistor M7 and the first transistor M1 are all turned on, and the third The transistor M3, the fifth transistor M5, the tenth transistor M10, the eleventh transistor M11, the eighth transistor M8 and the ninth transistor M9 are all turned off.
第一节点①=1,第二节点②=0,第五节点⑤=1,第三节点③=0,第六节点⑥=1,第四节点④=0,Q=1。The first node ①=1, the second node ②=0, the fifth node ⑤=1, the third node ③=0, the sixth node ⑥=1, the fourth node ④=0, Q=1.
状态2:CP=1(由0跳变为1),D=1;Q=1。State 2: CP=1 (jumps from 0 to 1), D=1; Q=1.
如图9g所示,当CP=1,D=1时,第二晶体管M2、第三晶体管M3、第十一晶体管M11、第六晶体管M6和第七晶体管M7均导通,第四晶体管M4、第五晶体管M5、第十晶体管M10、第八晶体管M8、第九晶体管M9和第一晶体管M1均截止。As shown in Figure 9g, when CP=1 and D=1, the second transistor M2, the third transistor M3, the eleventh transistor M11, the sixth transistor M6 and the seventh transistor M7 are all turned on, and the fourth transistor M4, The fifth transistor M5, the tenth transistor M10, the eighth transistor M8, the ninth transistor M9 and the first transistor M1 are all turned off.
第一节点①=1,第二节点②=0,第五节点⑤=1,第三节点③=0,第六节点⑥=1,第四节点④=0,Q=1。The first node ①=1, the second node ②=0, the fifth node ⑤=1, the third node ③=0, the sixth node ⑥=1, the fourth node ④=0, Q=1.
状态3:CP=1,D=0(由1跳变到0);Q=1。State 3: CP=1, D=0 (jump from 1 to 0); Q=1.
如图9h所示,当CP=1,D=0时,第三晶体管M3、第五晶体管M5、第十一晶体管M11、第六晶体管M6和第七晶体管M7均导通,第二晶体管M2、第四晶体管M4、第十晶体管M10、第八晶体管M8、第九晶体管M9和第一晶体管M1均截止。As shown in Figure 9h, when CP=1 and D=0, the third transistor M3, the fifth transistor M5, the eleventh transistor M11, the sixth transistor M6 and the seventh transistor M7 are all turned on, and the second transistor M2, The fourth transistor M4, the tenth transistor M10, the eighth transistor M8, the ninth transistor M9 and the first transistor M1 are all turned off.
第一节点①=1,第二节点②=1,第五节点⑤=1,第三节点③=0,第六节点⑥=1,第四节点④=0,Q=1。The first node ①=1, the second node ②=1, the fifth node ⑤=1, the third node ③=0, the sixth node ⑥=1, the fourth node ④=0, Q=1.
综上,本申请中,寄存器10的工作原理如下表1所示:To sum up, in this application, the working principle of the register 10 is shown in Table 1 below:
Figure PCTCN2022133307-appb-000001
Figure PCTCN2022133307-appb-000001
表1Table 1
由上表1可知,在时钟信号输入端CP=0时,第一锁存器11穿通,第五节点⑤的电位跟随第二节点②的电位变化而变化,第二锁存器12锁存数据,第二锁存器12锁存的数据 不随数据输入端D的变化而变化,数据输出端Q的输出保持不变;在时钟信号输入端CP由0变1(即时钟信号的上升沿)时,触发第一锁存器11锁存数据,第三节点③的电位保持与第二节点②的电位相同,第二锁存器12穿通,数据输出端Q输出第一锁存器11锁存的数据;在CP=1时,第一锁存器11锁存的数据不随D的变化而变化,第三节点③的电位保持不变,第二锁存器12穿通,数据输出端Q的输出保持不变。It can be seen from the above table 1 that when the clock signal input terminal CP=0, the first latch 11 passes through, the potential of the fifth node ⑤ changes with the potential change of the second node ②, and the second latch 12 latches the data , the data latched by the second latch 12 does not change with the change of the data input terminal D, and the output of the data output terminal Q remains unchanged; when the clock signal input terminal CP changes from 0 to 1 (that is, the rising edge of the clock signal) , trigger the first latch 11 to latch the data, the potential of the third node ③ remains the same as the potential of the second node ②, the second latch 12 passes through, and the data output terminal Q outputs the value latched by the first latch 11 Data; when CP=1, the data latched by the first latch 11 does not change with the change of D, the potential of the third node ③ remains unchanged, the second latch 12 passes through, and the output of the data output terminal Q remains constant.
下面对本申请中逻辑门的另一种实施情况进行说明。Another implementation of the logic gate in this application will be described below.
在另一种实施例,逻辑门13具体可以用于在数据输入端D和数据输出端Q的电位均为高电位时,输出低电位的信号以控制第一锁存器11输出端的电位为高电位。In another embodiment, the logic gate 13 can be specifically used to output a low potential signal to control the potential of the output terminal of the first latch 11 to be high when the potentials of the data input terminal D and the data output terminal Q are both high potentials potential.
示例性的,参见图10,图10为本申请实施例提供的另一种寄存器的结构示意图。该逻辑门13可以包括第一与非门C1,第一锁存器11中可以包括第二与非门C2;第一与非门C1的输入端分别与数据输入端D和数据输出端Q连接,第二与非门C2的输入端分别与数据输入端D和第一与非门C1的输出端连接,第二与非门C2的输出端与第一锁存器的输出端连接。这样,当数据输入端D和数据输出端Q均为高电位时,第一或非门A1的输出端为低电位。当第一或非门A1的输出端为低电位时,不管数据输入端D的电位是高电位还是低电位,第二或非门A2输出端均会输出高电位,从而使第一锁存器11的输出端的电位为高电位。这样当时钟信号输入端CP的信号翻转时,第一锁存器11的输出给第二锁存器12的信号始终保持为高电位,第二锁存器12内部的节点不会翻转,从而减小寄存器内部时钟信号翻转的功耗。For example, refer to FIG. 10 , which is a schematic structural diagram of another register provided by an embodiment of the present application. The logic gate 13 may include a first NAND gate C1, and the first latch 11 may include a second NAND gate C2; the input terminals of the first NAND gate C1 are respectively connected to the data input terminal D and the data output terminal Q , the input terminal of the second NAND gate C2 is respectively connected with the data input terminal D and the output terminal of the first NAND gate C1, and the output terminal of the second NAND gate C2 is connected with the output terminal of the first latch. In this way, when the data input terminal D and the data output terminal Q are both at high potential, the output terminal of the first NOR gate A1 is at low potential. When the output terminal of the first NOR gate A1 is low potential, regardless of whether the potential of the data input terminal D is high potential or low potential, the output terminal of the second NOR gate A2 will output a high potential, so that the first latch The potential of the output terminal of 11 is a high potential. In this way, when the signal at the clock signal input terminal CP is reversed, the signal output from the first latch 11 to the second latch 12 is always kept at a high potential, and the internal nodes of the second latch 12 will not be reversed, thereby reducing The power consumption of the internal clock signal flipping of the small register.
在一种可行的实现方式中,如图11所示,该寄存器10中还可以包括第一晶体管M1,而第一锁存器11还可以包括第一逻辑控制电路111和或门D1。结合图12,该第一逻辑控制电路111可以包括第二晶体管M2、第三晶体管M3、第四晶体管M4和第五晶体管M5。其中,第一晶体管M1、第二晶体管M2和第三晶体管M3均为N型晶体管,第四晶体管M4和第五晶体管M5为P型晶体管。第一晶体管M1的栅极与时钟信号输入端CP连接,第一晶体管M1的第一电极与第一参考电压端V1连接,第一晶体管M1的第二电极与寄存器10的第一节点①连接;第二晶体管M2的第一电极与第一节点①连接,第二晶体管M2的栅极与寄存器10的第二节点②连接,第二晶体管M2的第二电极与寄存器10的第五节点⑤连接;第三晶体管M3的第一电极与第一参考电压端V1连接,第三晶体管M3的栅极与寄存器10的第三节点③连接,第三晶体管M3的第二电极与第五节点⑤连接;第四晶体管M4的第一电极与第五节点⑤连接,第四晶体管M4的栅极与第三节点③连接,第四晶体管M4的第二电极与第五晶体管M5的第一电极连接;第五晶体管M5的栅极与第二节点②连接,第五晶体管M5的第二电极与第二参考电压端V2连接。或门D1的输入端分别与第五节点⑤和时钟信号输入端CP连接,或门D1的输出端与第二或非门A2的输入端连接;第二节点②与数据输入端D连接,第三节点③与第一锁存器11的输出端连接。其中,第一参考电压端V1接地,第二参考电压端V2的电位大于第一参考电压端V1的电位。In a feasible implementation manner, as shown in FIG. 11 , the register 10 may further include a first transistor M1, and the first latch 11 may further include a first logic control circuit 111 and an OR gate D1. Referring to FIG. 12 , the first logic control circuit 111 may include a second transistor M2 , a third transistor M3 , a fourth transistor M4 and a fifth transistor M5 . Wherein, the first transistor M1 , the second transistor M2 and the third transistor M3 are all N-type transistors, and the fourth transistor M4 and the fifth transistor M5 are P-type transistors. The gate of the first transistor M1 is connected to the clock signal input terminal CP, the first electrode of the first transistor M1 is connected to the first reference voltage terminal V1, and the second electrode of the first transistor M1 is connected to the first node ① of the register 10; The first electrode of the second transistor M2 is connected to the first node ①, the gate of the second transistor M2 is connected to the second node ② of the register 10, and the second electrode of the second transistor M2 is connected to the fifth node ⑤ of the register 10; The first electrode of the third transistor M3 is connected to the first reference voltage terminal V1, the gate of the third transistor M3 is connected to the third node ③ of the register 10, and the second electrode of the third transistor M3 is connected to the fifth node ⑤; The first electrode of the four transistor M4 is connected to the fifth node ⑤, the gate of the fourth transistor M4 is connected to the third node ③, the second electrode of the fourth transistor M4 is connected to the first electrode of the fifth transistor M5; the fifth transistor The gate of M5 is connected to the second node ②, and the second electrode of the fifth transistor M5 is connected to the second reference voltage terminal V2. The input end of the OR gate D1 is respectively connected with the fifth node ⑤ and the clock signal input end CP, the output end of the OR gate D1 is connected with the input end of the second NOR gate A2; the second node ② is connected with the data input end D, and the second node ② is connected with the data input end D. The three nodes ③ are connected to the output terminal of the first latch 11 . Wherein, the first reference voltage terminal V1 is grounded, and the potential of the second reference voltage terminal V2 is higher than the potential of the first reference voltage terminal V1.
进一步地,继续参见图11,第二锁存器12可以第二逻辑控制电路121和第一反相器N1。结合图13,第二逻辑控制电路121可以包括第六晶体管M6、第七晶体管M7、第八晶体管M8和第九晶体管M9。其中,第六晶体管M6和第七晶体管M7均为N型晶体管,第八晶体管M8和第九晶体管M9均为P型晶体管。第六晶体管M6的第一电极与第一节 点①连接,第六晶体管M6的栅极与第三节点③连接,第六晶体管M6的第二电极与寄存器10的第六节点⑥连接;第七晶体管M7的第一电极与第一参考电压端V1连接,第七晶体管M7的栅极与寄存器10的第四节点④连接,第七晶体管M7的第二电极与寄存器10的第六节点⑥连接;第八晶体管M8的第一电极与第六节点⑥连接,第八晶体管M8的栅极与第四节点④连接,第八晶体管M8的第二电极与第九晶体管M9的第一电极连接;第九晶体管M9的栅极与第三节点③连接,第九晶体管M9的第二电极与第二参考电压端V2连接;第一反相器N1的输入端与第六节点⑥连接,第一反相器N1的输出端与第四节点④连接,第四节点④与数据输出端Q连接。Further, continuing to refer to FIG. 11 , the second latch 12 may control the circuit 121 and the first inverter N1 with a second logic. Referring to FIG. 13 , the second logic control circuit 121 may include a sixth transistor M6 , a seventh transistor M7 , an eighth transistor M8 and a ninth transistor M9 . Wherein, both the sixth transistor M6 and the seventh transistor M7 are N-type transistors, and the eighth transistor M8 and the ninth transistor M9 are both P-type transistors. The first electrode of the sixth transistor M6 is connected to the first node ①, the gate of the sixth transistor M6 is connected to the third node ③, the second electrode of the sixth transistor M6 is connected to the sixth node ⑥ of the register 10; the seventh transistor The first electrode of M7 is connected to the first reference voltage terminal V1, the gate of the seventh transistor M7 is connected to the fourth node ④ of the register 10, and the second electrode of the seventh transistor M7 is connected to the sixth node ⑥ of the register 10; The first electrode of the eighth transistor M8 is connected to the sixth node ⑥, the gate of the eighth transistor M8 is connected to the fourth node ④, the second electrode of the eighth transistor M8 is connected to the first electrode of the ninth transistor M9; the ninth transistor M8 The gate of M9 is connected to the third node ③, the second electrode of the ninth transistor M9 is connected to the second reference voltage terminal V2; the input terminal of the first inverter N1 is connected to the sixth node ⑥, and the first inverter N1 The output terminal of the output terminal is connected to the fourth node ④, and the fourth node ④ is connected to the data output terminal Q.
示例性的,为了提升寄存器的稳定性,参见图14,图14为本申请实施例提供的又一种寄存器的结构示意图。在该寄存器10中,第一锁存器11还可以包括第十晶体管M10、第十一晶体管M11和第二反相器N2。其中,第十晶体管M10和第十一晶体管M11均为P型晶体管。第二反相器N2的输入端与第五节点⑤连接,第二反相器N2的输出端与第十晶体管M10的栅极连接;结合图15,第十晶体管M10的第一电极分别与第四晶体管M4的第二电极和第五晶体管M5的第一电极连接,第十晶体管M10的第二电极与第十一晶体管M11的第一电极连接;第十一晶体管M11的栅极与时钟信号输入端CP连接,第十一晶体管M11的第二电极与第六节点⑥连接。Exemplarily, in order to improve the stability of the register, refer to FIG. 14 , which is a schematic structural diagram of another register provided by an embodiment of the present application. In the register 10, the first latch 11 may further include a tenth transistor M10, an eleventh transistor M11 and a second inverter N2. Wherein, both the tenth transistor M10 and the eleventh transistor M11 are P-type transistors. The input terminal of the second inverter N2 is connected to the fifth node ⑤, and the output terminal of the second inverter N2 is connected to the gate of the tenth transistor M10; with reference to FIG. 15, the first electrode of the tenth transistor M10 is respectively connected to the gate of the tenth transistor M10 The second electrode of the fourth transistor M4 is connected to the first electrode of the fifth transistor M5, the second electrode of the tenth transistor M10 is connected to the first electrode of the eleventh transistor M11; the gate of the eleventh transistor M11 is connected to the clock signal input The terminal CP is connected, and the second electrode of the eleventh transistor M11 is connected to the sixth node ⑥.
在一种可行的实施例中,为了实现在时钟信号输入端CP为高电位时,第一锁存器11锁存数据,第二锁存器12传输数据,而在时钟信号输入端CP为低电位时,第一锁存器11锁存数据,第二锁存器12传输数据,继续参见图14,寄存器10还包括第三反相器N3、第四反相器N4和第五反相器N5;第三反相器N3的输入端与数据输入端连接,第三反相器N3的输出端与第二节点②连接,第四反相器N4的输入端与第四节点④连接,第四反相器N4的输出端与数据输出端Q连接,第五反相器N5的输入端与时钟信号输入端CP连接,第五反相器N5的输出端分别与第一晶体管M1的栅极、第十一晶体管M11的栅极以及或门D1的输入端连接。In a feasible embodiment, in order to realize that when the clock signal input terminal CP is high potential, the first latch 11 latches data, and the second latch 12 transmits data, while the clock signal input terminal CP is low potential potential, the first latch 11 latches data, and the second latch 12 transmits data. Continue referring to FIG. 14 , the register 10 also includes a third inverter N3, a fourth inverter N4, and a fifth inverter N5; the input terminal of the third inverter N3 is connected to the data input terminal, the output terminal of the third inverter N3 is connected to the second node ②, the input terminal of the fourth inverter N4 is connected to the fourth node ④, and the output terminal of the third inverter N3 is connected to the fourth node ④. The output terminals of the four inverters N4 are connected to the data output terminal Q, the input terminals of the fifth inverter N5 are connected to the clock signal input terminal CP, and the output terminals of the fifth inverter N5 are respectively connected to the gate of the first transistor M1 , the gate of the eleventh transistor M11 and the input terminal of the OR gate D1 are connected.
在本申请提供的寄存器中,仅需要单相时钟信号即可实现,即寄存器内部不需要时钟缓冲器,直接通过时钟信号输入端CP的高低电位来控制第一锁存器11和第二锁存器12的穿通与锁存。且在图14实施例提供的寄存器中,时钟信号输入端CP与第五反相器N5连接,即时钟信号输入端CP连接两个晶体管,时钟信号输入端CP通过第五反相器N5与第十一晶体管M11、第一晶体管M1和或门C连接,而或门C中一般会有两个晶体管与反相后的时钟信号输入端CP连接。因此本申请中,时钟信号和反相后的时钟信号总共需要连接6个晶体管,连接的晶体管数量虽然比图7的寄存器10中多两个,但是仍然较少,因此仍是可以降低时钟信号的输入电容,从而可以降低对后端做时钟树时造成的影响,进而可以降低物理实现之后的时钟树功耗。In the register provided by this application, only a single-phase clock signal is required, that is, no clock buffer is required inside the register, and the first latch 11 and the second latch are directly controlled by the high and low potentials of the clock signal input terminal CP. The punch-through and latch of device 12. And in the register provided in the embodiment of FIG. 14, the clock signal input terminal CP is connected to the fifth inverter N5, that is, the clock signal input terminal CP is connected to two transistors, and the clock signal input terminal CP is connected to the fifth inverter N5 through the fifth inverter N5. The eleventh transistor M11 and the first transistor M1 are connected to the OR gate C, and generally two transistors in the OR gate C are connected to the inverted clock signal input terminal CP. Therefore, in this application, a total of 6 transistors need to be connected to the clock signal and the inverted clock signal. Although the number of connected transistors is two more than the register 10 in FIG. 7 , it is still less, so the clock signal can still be reduced. Input capacitance, so as to reduce the impact on the back-end clock tree, and then reduce the power consumption of the clock tree after physical implementation.
下面以图14所示的寄存器为例,对其工作过程进行详细的描述。下述描述中以“1”表示高电位,“0”表示低电位信号。寄存器的工作过程有如下两种情况:Taking the register shown in FIG. 14 as an example below, its working process will be described in detail. In the following description, "1" represents a high potential signal, and "0" represents a low potential signal. The working process of the register has the following two situations:
第一种情况、the first case,
状态1:CP=0,D=0;Q可能为0也可能为1。State 1: CP=0, D=0; Q may be 0 or 1.
如图16a所示,当CP=0,CP’=1,D=0,Q=1时,第二晶体管M2、第四晶体管M4、第八晶体管M8第九晶体管M9和第一晶体管M1均导通,第三晶体管M3、第五晶体管M5、第十晶体管M10、第十一晶体管M11、第六晶体管M6和第七晶体管M7均截止。As shown in Fig. 16a, when CP=0, CP'=1, D=0, Q=1, the second transistor M2, the fourth transistor M4, the eighth transistor M8, the ninth transistor M9 and the first transistor M1 all conduct is turned on, and the third transistor M3, the fifth transistor M5, the tenth transistor M10, the eleventh transistor M11, the sixth transistor M6 and the seventh transistor M7 are all turned off.
第一节点①=0,第二节点②=1,第五节点⑤=0,第三节点③=0,第六节点⑥=1,第四节点④=0,Q=1。The first node ①=0, the second node ②=1, the fifth node ⑤=0, the third node ③=0, the sixth node ⑥=1, the fourth node ④=0, Q=1.
如图16b所示,当CP=0,CP’=1,D=0,Q=0时,第二晶体管M2、第三晶体管M3、第六晶体管M6、第七晶体管M7和第一晶体管M1均导通,第四晶体管M4、第五晶体管M5、第十晶体管M10、第十一晶体管M11、第八晶体管M8和第九晶体管M9均截止。As shown in Figure 16b, when CP=0, CP'=1, D=0, Q=0, the second transistor M2, the third transistor M3, the sixth transistor M6, the seventh transistor M7 and the first transistor M1 are all is turned on, and the fourth transistor M4, the fifth transistor M5, the tenth transistor M10, the eleventh transistor M11, the eighth transistor M8 and the ninth transistor M9 are all turned off.
第一节点①=0,第二节点②=1,第五节点⑤=0,第三节点③=1,第六节点⑥=0,第四节点④=1,Q=0。The first node ①=0, the second node ②=1, the fifth node ⑤=0, the third node ③=1, the sixth node ⑥=0, the fourth node ④=1, Q=0.
状态2:CP=1(由0跳变为1),D=0;Q=0。State 2: CP=1 (jumps from 0 to 1), D=0; Q=0.
如图16c所示,当CP=1,CP’=0,D=0时,第二晶体管M2、第三晶体管M3、第十一晶体管M11、第六晶体管M6和第七晶体管M7均导通,第四晶体管M4、第五晶体管M5、第十晶体管M10、第八晶体管M8、第九晶体管M9和第一晶体管M1均截止。As shown in Figure 16c, when CP=1, CP'=0, D=0, the second transistor M2, the third transistor M3, the eleventh transistor M11, the sixth transistor M6 and the seventh transistor M7 are all turned on, The fourth transistor M4, the fifth transistor M5, the tenth transistor M10, the eighth transistor M8, the ninth transistor M9 and the first transistor M1 are all turned off.
第一节点①=0,第二节点②=1,第五节点⑤=0,第三节点③=1,第六节点⑥=0,第四节点④=1,Q=0。The first node ①=0, the second node ②=1, the fifth node ⑤=0, the third node ③=1, the sixth node ⑥=0, the fourth node ④=1, Q=0.
状态3:CP=1,D=1(由0跳变到1);Q=0。State 3: CP=1, D=1 (jumps from 0 to 1); Q=0.
如图16d所示,当CP=1,CP’=0,D=1时,第三晶体管M3、第五晶体管M5、第十一晶体管M11、第六晶体管M6和第七晶体管M7均导通,第二晶体管M2、第四晶体管M4、第十晶体管M10、第八晶体管M8、第九晶体管M9和第一晶体管M1均截止。As shown in Figure 16d, when CP=1, CP'=0, D=1, the third transistor M3, the fifth transistor M5, the eleventh transistor M11, the sixth transistor M6 and the seventh transistor M7 are all turned on, The second transistor M2, the fourth transistor M4, the tenth transistor M10, the eighth transistor M8, the ninth transistor M9 and the first transistor M1 are all turned off.
第一节点①=1,第二节点②=0,第五节点⑤=0,第三节点③=1,第六节点⑥=0,第四节点④=1,Q=0。The first node ①=1, the second node ②=0, the fifth node ⑤=0, the third node ③=1, the sixth node ⑥=0, the fourth node ④=1, Q=0.
第二种情况、the second case,
状态1:CP=0,D=1;Q可能为0也可能为1。State 1: CP=0, D=1; Q may be 0 or 1.
如图16e所示,当CP=0,CP’=1,D=1,Q=0时,第四晶体管M4、第五晶体管M5、第十晶体管M10、第七晶体管M7、第九晶体管M9和第一晶体管M1均导通,第二晶体管M2、第三晶体管M3、第十一晶体管M11、第六晶体管M6和第八晶体管M8均截止。As shown in Figure 16e, when CP=0, CP'=1, D=1, Q=0, the fourth transistor M4, the fifth transistor M5, the tenth transistor M10, the seventh transistor M7, the ninth transistor M9 and The first transistor M1 is all turned on, and the second transistor M2 , the third transistor M3 , the eleventh transistor M11 , the sixth transistor M6 and the eighth transistor M8 are all off.
第一节点①=1,第二节点②=0,第五节点⑤=1,第三节点③=0,第六节点⑥=0,第四节点④=1,Q=0。The first node ①=1, the second node ②=0, the fifth node ⑤=1, the third node ③=0, the sixth node ⑥=0, the fourth node ④=1, Q=0.
如图16f所示,当CP=0,CP’=1,D=1,Q=1时,第四晶体管M4、第五晶体管M5、第十晶体管M10、第八晶体管M8、第九晶体管M9和第一晶体管M1均导通,第二晶体管M2、第三晶体管M3、第十一晶体管M11、第六晶体管M6和第七晶体管M7均截止。As shown in Figure 16f, when CP=0, CP'=1, D=1, Q=1, the fourth transistor M4, the fifth transistor M5, the tenth transistor M10, the eighth transistor M8, the ninth transistor M9 and The first transistor M1 is all turned on, and the second transistor M2 , the third transistor M3 , the eleventh transistor M11 , the sixth transistor M6 and the seventh transistor M7 are all off.
第一节点①=0,第二节点②=0,第五节点⑤=1,第三节点③=0,第六节点⑥=1,第四节点④=0,Q=1。The first node ①=0, the second node ②=0, the fifth node ⑤=1, the third node ③=0, the sixth node ⑥=1, the fourth node ④=0, Q=1.
状态2:CP=1(由0跳变为1),D=1;Q=1。State 2: CP=1 (jumps from 0 to 1), D=1; Q=1.
如图16g所示,当CP=1,CP’=0,D=1时,第四晶体管M4、第五晶体管M5、第十晶体管M10、第十一晶体管M11、第八晶体管M8和第九晶体管M9均导通,第二晶体管M2、第三晶体管M3、第六晶体管M6、第七晶体管M7和第一晶体管M1均截止。在该状态下,第十晶体管M10和第十一晶体管M11均导通,第二参考电压端V2通过第五晶体管M5、第十晶体管M10和第十一晶体管M11拉高第六节点⑥的电位。As shown in Figure 16g, when CP=1, CP'=0, D=1, the fourth transistor M4, the fifth transistor M5, the tenth transistor M10, the eleventh transistor M11, the eighth transistor M8 and the ninth transistor M9 are all turned on, and the second transistor M2, the third transistor M3, the sixth transistor M6, the seventh transistor M7 and the first transistor M1 are all turned off. In this state, both the tenth transistor M10 and the eleventh transistor M11 are turned on, and the second reference voltage terminal V2 pulls up the potential of the sixth node ⑥ through the fifth transistor M5, the tenth transistor M10 and the eleventh transistor M11.
第一节点①=0,第二节点②=0,第五节点⑤=1,第三节点③=0,第六节点⑥=1,第四节点④=0,Q=1。The first node ①=0, the second node ②=0, the fifth node ⑤=1, the third node ③=0, the sixth node ⑥=1, the fourth node ④=0, Q=1.
状态3:CP=1,D=0(由1跳变到0);Q=1。State 3: CP=1, D=0 (jump from 1 to 0); Q=1.
如图16h所示,当CP=1,CP’=0,D=0时,第二晶体管M2、第四晶体管M4、第十晶体管M10、第十一晶体管M11、第八晶体管M8和第九晶体管M9均导通,第三晶体管M3、第五晶体管M5、第六晶体管M6、第七晶体管M7和第一晶体管M1均截止。在该状态下,第十晶体管M10和第十一晶体管M11均导通,第六节点⑥通过第十晶体管M10、第十一晶体管M11以及二晶体管M2和第四晶体管M4拉高第一节点①的电位。As shown in Figure 16h, when CP=1, CP'=0, D=0, the second transistor M2, the fourth transistor M4, the tenth transistor M10, the eleventh transistor M11, the eighth transistor M8 and the ninth transistor M9 are all turned on, and the third transistor M3, the fifth transistor M5, the sixth transistor M6, the seventh transistor M7 and the first transistor M1 are all turned off. In this state, both the tenth transistor M10 and the eleventh transistor M11 are turned on, and the sixth node ⑥ pulls up the first node ① through the tenth transistor M10, the eleventh transistor M11, the second transistor M2 and the fourth transistor M4 potential.
第一节点①=1,第二节点②=1,第五节点⑤=1,第三节点③=0,第六节点⑥=1,第四节点④=0,Q=1。The first node ①=1, the second node ②=1, the fifth node ⑤=1, the third node ③=0, the sixth node ⑥=1, the fourth node ④=0, Q=1.
综上,本申请中,寄存器10的工作原理如下表2所示:To sum up, in this application, the working principle of register 10 is shown in Table 2 below:
Figure PCTCN2022133307-appb-000002
Figure PCTCN2022133307-appb-000002
表2Table 2
由上表2可知,在时钟信号输入端CP=0时,第一锁存器11穿通,第五节点⑤的电位跟随第二节点②的电位变化儿变化,第二锁存器12锁存数据,第二锁存器12锁存的数据不随数据输入端D的变化而变化,数据输出端Q的输出保持不变;在时钟信号输入端CP由0变1(即时钟信号的上升沿)时,触发第一锁存器11锁存数据,第三节点③的电位保持与第二节点②的电位相同,第二锁存器12穿通,数据输出端Q输出第一锁存器11锁存的数据;在CP=1时,第一锁存器11锁存的数据不随D的变化而变化,第三节点③的电位保持不变,第二锁存器12穿通,数据输出端Q的输出保持不变。It can be seen from the above table 2 that when the clock signal input terminal CP=0, the first latch 11 passes through, the potential of the fifth node ⑤ changes with the potential change of the second node ②, and the second latch 12 latches the data , the data latched by the second latch 12 does not change with the change of the data input terminal D, and the output of the data output terminal Q remains unchanged; when the clock signal input terminal CP changes from 0 to 1 (that is, the rising edge of the clock signal) , trigger the first latch 11 to latch the data, the potential of the third node ③ remains the same as the potential of the second node ②, the second latch 12 passes through, and the data output terminal Q outputs the value latched by the first latch 11 Data; when CP=1, the data latched by the first latch 11 does not change with the change of D, the potential of the third node ③ remains unchanged, the second latch 12 passes through, and the output of the data output terminal Q remains constant.
需要说明的是,在本申请中,第一锁存器和第二锁存器可以是本申请实施例提供的,也可以是现有寄存的锁存器,在此不作限定。It should be noted that, in the present application, the first latch and the second latch may be provided in the embodiment of the present application, or may be existing registered latches, which are not limited herein.
相应地,参见图17,图17为本申请实施例提供的一种中央处理器的结构示意图,在该中央处理器100中,包括电路板20和本申请实施例提供的上述任一种寄存器10。由于该中央处理器100解决问题的原理与前述一种寄存器10相似,因此该中央处理器100的实施可以参见前述寄存器10的实施,重复之处不再赘述。Correspondingly, referring to FIG. 17 , FIG. 17 is a schematic structural diagram of a central processing unit provided in the embodiment of the present application, in which the central processing unit 100 includes a circuit board 20 and any of the above-mentioned registers 10 provided in the embodiment of the present application . Since the problem-solving principle of the central processing unit 100 is similar to that of the aforementioned register 10 , the implementation of the central processing unit 100 can refer to the implementation of the aforementioned register 10 , and repeated descriptions will not be repeated here.
相应地,本申请还提供了一种电子设备,该电子设备可以包括壳体如设置在壳体内的中央处理器。该电子设备可以为手机、平板电脑、电视机、显示器、笔记本电脑、等任何具有数据处理功能的产品或部件。对于该电子设备的其它必不可少的组成部分均为本领域的普通技术人员应该理解具有的,在此不做赘述,也不应作为对本申请的限制。Correspondingly, the present application also provides an electronic device, which may include a housing such as a central processing unit disposed in the housing. The electronic device may be a mobile phone, a tablet computer, a television, a monitor, a notebook computer, and any other product or component with a data processing function. The other essential components of the electronic device should be understood by those of ordinary skill in the art, and will not be repeated here, nor should they be used as limitations on the present application.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the application without departing from the spirit and scope of the application. In this way, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.

Claims (14)

  1. 一种寄存器,其特征在于,包括:逻辑门、第一锁存器、第二锁存器、时钟信号输入端、数据输入端和数据输出端,其中:A register, characterized by comprising: a logic gate, a first latch, a second latch, a clock signal input terminal, a data input terminal and a data output terminal, wherein:
    所述第一锁存器的输入端分别与所述时钟信号输入端、所述数据输入端和所述逻辑门的输出端连接,所述第一锁存器的输出端与所述第二锁存器的输入端连接,所述第二锁存器的输出端与所述数据输出端连接;The input end of the first latch is respectively connected with the clock signal input end, the data input end and the output end of the logic gate, and the output end of the first latch is connected with the second latch The input terminal of the latch is connected, and the output terminal of the second latch is connected with the data output terminal;
    所述逻辑门的输入端分别与所述数据输入端和所述数据输出端连接,所述逻辑门的输出端与所述第一锁存器连接;所述逻辑门用于在所述数据输入端和所述数据输出端的电位相同时,控制所述第一锁存器输出的电位与所述数据输出端的电位相同。The input terminals of the logic gate are respectively connected with the data input terminal and the data output terminal, and the output terminals of the logic gate are connected with the first latch; When the potential of the terminal and the data output terminal are the same, the potential output of the first latch is controlled to be the same as the potential of the data output terminal.
  2. 如权利要求1所述的寄存器,其特征在于,所述逻辑门具体用于在所述数据输入端和所述数据输出端的电位均为第一电位时,输出第二电位的信号以控制所述第一锁存器输出端的电位为第一电位,所述第一电位和所述第二电位为不同的电位。The register according to claim 1, wherein the logic gate is specifically configured to output a signal of a second potential to control the The potential at the output terminal of the first latch is a first potential, and the first potential and the second potential are different potentials.
  3. 如权利要求1或2所述的寄存器,其特征在于,所述逻辑门包括第一或非门,所述第一锁存器包括第二或非门;The register according to claim 1 or 2, wherein the logic gate comprises a first NOR gate, and the first latch comprises a second NOR gate;
    所述第一或非门的输入端分别与所述数据输入端和所述数据输出端连接,所述第二或非门的输入端分别与所述数据输入端和所述第一或非门的输出端连接,所述第二或非门的输出端与所述第一锁存器的输出端连接。The input end of the first NOR gate is respectively connected with the data input end and the data output end, and the input end of the second NOR gate is respectively connected with the data input end and the first NOR gate The output terminal of the second NOR gate is connected with the output terminal of the first latch.
  4. 如权利要求3所述的寄存器,其特征在于,所述寄存器还包括第一晶体管,所述第一锁存器还包括第二晶体管、第三晶体管、第四晶体管、第五晶体管和与门;The register according to claim 3, wherein the register further comprises a first transistor, and the first latch further comprises a second transistor, a third transistor, a fourth transistor, a fifth transistor and an AND gate;
    所述第一晶体管的栅极与所述时钟信号输入端连接,所述第一晶体管的第一电极与第一参考电压端连接,所述第一晶体管的第二电极与所述寄存器的第一节点连接;The gate of the first transistor is connected to the clock signal input terminal, the first electrode of the first transistor is connected to the first reference voltage terminal, and the second electrode of the first transistor is connected to the first node connection;
    所述第二晶体管的第一电极与所述第一节点连接,所述第二晶体管的栅极与所述寄存器的第二节点连接,所述第二晶体管的第二电极与所述寄存器的第五节点连接;The first electrode of the second transistor is connected to the first node, the gate of the second transistor is connected to the second node of the register, and the second electrode of the second transistor is connected to the first node of the register. Five-node connection;
    所述第三晶体管的第一电极与所述第一参考电压端连接,所述第三晶体管的栅极与所述寄存器的第三节点连接,所述第三晶体管的第二电极与所述第五节点连接;The first electrode of the third transistor is connected to the first reference voltage terminal, the gate of the third transistor is connected to the third node of the register, the second electrode of the third transistor is connected to the first Five-node connection;
    所述第四晶体管的第一电极与所述第五节点连接,所述第四晶体管的栅极与所述第三节点连接,所述第四晶体管的第二电极与所述第五晶体管的第一电极连接;The first electrode of the fourth transistor is connected to the fifth node, the gate of the fourth transistor is connected to the third node, the second electrode of the fourth transistor is connected to the fifth node of the fifth transistor an electrode connection;
    所述第五晶体管的栅极与所述第二节点连接,所述第五晶体管的第二电极与第二参考电压端连接;The gate of the fifth transistor is connected to the second node, and the second electrode of the fifth transistor is connected to the second reference voltage terminal;
    所述与门的输入端分别与所述第五节点和所述时钟信号输入端连接,所述与门的输出端与所述第二或非门的输入端连接;The input end of the AND gate is respectively connected to the fifth node and the clock signal input end, and the output end of the AND gate is connected to the input end of the second NOR gate;
    所述第二节点与所述数据输入端连接,所述第三节点与所述第一锁存器的输出端连接;The second node is connected to the data input end, and the third node is connected to the output end of the first latch;
    所述第一晶体管、所述第二晶体管和所述第三晶体管均为P型晶体管,所述第四晶体管和第五晶体管为N型晶体管,所述第二参考电压端接地,所述第一参考电压端的电位大于所述第二参考电压端的电位。The first transistor, the second transistor and the third transistor are all P-type transistors, the fourth transistor and the fifth transistor are N-type transistors, the second reference voltage terminal is grounded, and the first The potential of the reference voltage terminal is greater than the potential of the second reference voltage terminal.
  5. 如权利要求4所述的寄存器,其特征在于,所述第二锁存器包括第六晶体管、第七晶体管、第八晶体管、第九晶体管和第一反相器;其中:The register according to claim 4, wherein the second latch comprises a sixth transistor, a seventh transistor, an eighth transistor, a ninth transistor and a first inverter; wherein:
    所述第六晶体管的第一电极与所述第一节点连接,所述第六晶体管的栅极与所述第三节点连接,所述第六晶体管的第二电极与所述寄存器的第六节点连接;The first electrode of the sixth transistor is connected to the first node, the gate of the sixth transistor is connected to the third node, and the second electrode of the sixth transistor is connected to the sixth node of the register connect;
    所述第七晶体管的第一电极与所述第一参考电压端连接,所述第七晶体管的栅极与所述寄存器的第四节点连接,所述第七晶体管的第二电极与所述第六节点连接;The first electrode of the seventh transistor is connected to the first reference voltage terminal, the gate of the seventh transistor is connected to the fourth node of the register, the second electrode of the seventh transistor is connected to the first Six-node connection;
    所述第八晶体管的第一电极与所述第六节点连接,所述第八晶体管的栅极与所述第四节点连接,所述第八晶体管的第二电极与所述第九晶体管的第一电极连接;The first electrode of the eighth transistor is connected to the sixth node, the gate of the eighth transistor is connected to the fourth node, the second electrode of the eighth transistor is connected to the first electrode of the ninth transistor an electrode connection;
    所述第九晶体管的栅极与所述第三节点连接,所述第九晶体管的第二电极与第二参考电压端连接;The gate of the ninth transistor is connected to the third node, and the second electrode of the ninth transistor is connected to the second reference voltage terminal;
    所述第一反相器的输入端与所述第六节点连接,所述第一反相器的输出端与所述第四节点连接,所述第四节点与所述数据输出端连接;The input end of the first inverter is connected to the sixth node, the output end of the first inverter is connected to the fourth node, and the fourth node is connected to the data output end;
    所述第六晶体管和所述第七晶体管均为P型晶体管,所述第八晶体管和所述第九晶体管均为N型晶体管。Both the sixth transistor and the seventh transistor are P-type transistors, and the eighth transistor and the ninth transistor are both N-type transistors.
  6. 如权利要求5所述的寄存器,其特征在于,所述第一锁存器还包括第十晶体管、第十一晶体管和第二反相器;其中:The register according to claim 5, wherein the first latch further comprises a tenth transistor, an eleventh transistor and a second inverter; wherein:
    所述第二反相器的输入端与所述第五节点连接,所述第二反相器的输出端与所述第十晶体管的栅极连接;The input end of the second inverter is connected to the fifth node, and the output end of the second inverter is connected to the gate of the tenth transistor;
    所述第十晶体管的第一电极分别与所述第四晶体管的第二电极和所述第五晶体管的第一电极连接,所述第十晶体管的第二电极与所述第十一晶体管的第一电极连接;The first electrode of the tenth transistor is respectively connected to the second electrode of the fourth transistor and the first electrode of the fifth transistor, and the second electrode of the tenth transistor is connected to the first electrode of the eleventh transistor. an electrode connection;
    所述第十一晶体管的栅极与所述时钟信号输入端连接,所述第十一晶体管的第二电极与所述第六节点连接;The gate of the eleventh transistor is connected to the clock signal input terminal, and the second electrode of the eleventh transistor is connected to the sixth node;
    所述第十晶体管和所述第十一晶体管均为N型晶体管。Both the tenth transistor and the eleventh transistor are N-type transistors.
  7. 如权利要求6所述的寄存器,其特征在于,所述寄存器还包括第三反相器和第四反相器;The register according to claim 6, wherein the register further comprises a third inverter and a fourth inverter;
    所述第三反相器的输入端与所述数据输入端与所述第二节点连接,所述第四反相器的输入端与所述第四节点连接,所述第四反相器的输出端与所述数据输出端连接。The input end of the third inverter is connected to the data input end and the second node, the input end of the fourth inverter is connected to the fourth node, and the input end of the fourth inverter The output terminal is connected with the data output terminal.
  8. 如权利要求1或2所述的寄存器,其特征在于,所述逻辑门包括第一与非门,所述第一锁存器包括第二与非门;The register according to claim 1 or 2, wherein the logic gate comprises a first NAND gate, and the first latch comprises a second NAND gate;
    所述第一与非门的输入端分别与所述数据输入端和所述数据输出端连接,所述第二与非门的输入端分别与所述数据输入端和所述第一与非门的输出端连接,所述第二与非门的输出端与所述第一锁存器的输出端连接。The input end of the first NAND gate is connected with the data input end and the data output end respectively, and the input end of the second NAND gate is respectively connected with the data input end and the first NAND gate The output terminal of the second NAND gate is connected with the output terminal of the first latch.
  9. 如权利要求8所述的寄存器,其特征在于,所述寄存器还包括第一晶体管,所述第一锁存器还包括第二晶体管、第三晶体管、第四晶体管、第五晶体管和或门;The register according to claim 8, wherein the register further comprises a first transistor, and the first latch further comprises a second transistor, a third transistor, a fourth transistor, a fifth transistor and an OR gate;
    所述第一晶体管的栅极与所述时钟信号输入端连接,所述第一晶体管的第一电极与第一参考电压端连接,所述第一晶体管的第二电极与所述寄存器的第一节点连接;The gate of the first transistor is connected to the clock signal input terminal, the first electrode of the first transistor is connected to the first reference voltage terminal, and the second electrode of the first transistor is connected to the first node connection;
    所述第二晶体管的第一电极与所述第一节点连接,所述第二晶体管的栅极与所述寄存器的第二节点连接,所述第二晶体管的第二电极与所述寄存器的第五节点连接;The first electrode of the second transistor is connected to the first node, the gate of the second transistor is connected to the second node of the register, and the second electrode of the second transistor is connected to the first node of the register. Five-node connection;
    所述第三晶体管的第一电极与所述第一参考电压端连接,所述第三晶体管的栅极与所述寄存器的第三节点连接,所述第三晶体管的第二电极与所述第五节点连接;The first electrode of the third transistor is connected to the first reference voltage terminal, the gate of the third transistor is connected to the third node of the register, the second electrode of the third transistor is connected to the first Five-node connection;
    所述第四晶体管的第一电极与所述第五节点连接,所述第四晶体管的栅极与所述第三节点连接,所述第四晶体管的第二电极与所述第五晶体管的第一电极连接;The first electrode of the fourth transistor is connected to the fifth node, the gate of the fourth transistor is connected to the third node, the second electrode of the fourth transistor is connected to the fifth node of the fifth transistor an electrode connection;
    所述第五晶体管的栅极与所述第二节点连接,所述第五晶体管的第二电极与第二参考电压端连接;The gate of the fifth transistor is connected to the second node, and the second electrode of the fifth transistor is connected to the second reference voltage terminal;
    所述或门的输入端分别与所述第五节点和所述时钟信号输入端连接,所述或门的输出端与所述第二与非门的输入端连接;The input end of the OR gate is respectively connected to the fifth node and the clock signal input end, and the output end of the OR gate is connected to the input end of the second NAND gate;
    所述第二节点与所述数据输入端连接,所述第三节点与所述第一锁存器的输出端连接;The second node is connected to the data input end, and the third node is connected to the output end of the first latch;
    所述第一晶体管、所述第二晶体管和所述第三晶体管均为N型晶体管,所述第四晶体管和第五晶体管为P型晶体管,所述第一参考电压端接地,所述第二参考电压端的电位大于所述第一参考电压端的电位。The first transistor, the second transistor and the third transistor are all N-type transistors, the fourth transistor and the fifth transistor are P-type transistors, the first reference voltage terminal is grounded, and the second The potential of the reference voltage terminal is greater than the potential of the first reference voltage terminal.
  10. 如权利要求9所述的寄存器,其特征在于,所述第二锁存器包括第六晶体管、第七晶体管、第八晶体管、第九晶体管和第一反相器;其中:The register according to claim 9, wherein the second latch comprises a sixth transistor, a seventh transistor, an eighth transistor, a ninth transistor and a first inverter; wherein:
    所述第六晶体管的第一电极与所述第一节点连接,所述第六晶体管的栅极与所述第三节点连接,所述第六晶体管的第二电极与所述寄存器的第六节点连接;The first electrode of the sixth transistor is connected to the first node, the gate of the sixth transistor is connected to the third node, and the second electrode of the sixth transistor is connected to the sixth node of the register connect;
    所述第七晶体管的第一电极与所述第一参考电压端连接,所述第七晶体管的栅极与所述寄存器的第四节点连接,所述第七晶体管的第二电极与所述第六节点连接;The first electrode of the seventh transistor is connected to the first reference voltage terminal, the gate of the seventh transistor is connected to the fourth node of the register, the second electrode of the seventh transistor is connected to the first Six-node connection;
    所述第八晶体管的第一电极与所述第六节点连接,所述第八晶体管的栅极与所述第四节点连接,所述第八晶体管的第二电极与所述第九晶体管的第一电极连接;The first electrode of the eighth transistor is connected to the sixth node, the gate of the eighth transistor is connected to the fourth node, the second electrode of the eighth transistor is connected to the first electrode of the ninth transistor an electrode connection;
    所述第九晶体管的栅极与所述第三节点连接,所述第九晶体管的第二电极与第二参考电压端连接;The gate of the ninth transistor is connected to the third node, and the second electrode of the ninth transistor is connected to the second reference voltage terminal;
    所述第一反相器的输入端与所述第六节点连接,所述第一反相器的输出端与所述第四节点连接,所述第四节点与所述数据输出端连接;The input end of the first inverter is connected to the sixth node, the output end of the first inverter is connected to the fourth node, and the fourth node is connected to the data output end;
    所述第六晶体管和所述第七晶体管均为N型晶体管,所述第八晶体管和所述第九晶体管均为P型晶体管。Both the sixth transistor and the seventh transistor are N-type transistors, and the eighth transistor and the ninth transistor are both P-type transistors.
  11. 如权利要求10所述的寄存器,其特征在于,所述第一锁存器还包括第十晶体管、第十一晶体管和第二反相器;其中:The register according to claim 10, wherein the first latch further comprises a tenth transistor, an eleventh transistor and a second inverter; wherein:
    所述第二反相器的输入端与所述第五节点连接,所述第二反相器的输出端与所述第十晶体管的栅极连接;The input end of the second inverter is connected to the fifth node, and the output end of the second inverter is connected to the gate of the tenth transistor;
    所述第十晶体管的第一电极分别与所述第四晶体管的第二电极和所述第五晶体管的第一电极连接,所述第十晶体管的第二电极与所述第十一晶体管的第一电极连接;The first electrode of the tenth transistor is respectively connected to the second electrode of the fourth transistor and the first electrode of the fifth transistor, and the second electrode of the tenth transistor is connected to the first electrode of the eleventh transistor. an electrode connection;
    所述第十一晶体管的栅极与所述时钟信号输入端连接,所述第十一晶体管的第二电极与所述第六节点连接;The gate of the eleventh transistor is connected to the clock signal input terminal, and the second electrode of the eleventh transistor is connected to the sixth node;
    所述第十晶体管和所述第十一晶体管均为P型晶体管。Both the tenth transistor and the eleventh transistor are P-type transistors.
  12. 如权利要求11所述的寄存器,其特征在于,所述寄存器还包括第三反相器、第四反相器和第五反相器;The register according to claim 11, wherein the register further comprises a third inverter, a fourth inverter and a fifth inverter;
    所述第三反相器的输入端与所述数据输入端与所述第二节点连接,所述第四反相器的输入端与所述第四节点连接,所述第四反相器的输出端与所述数据输出端连接,所述第五反相器的输入端与所述时钟信号输入端连接,所述第五反相器的输出端与所述第一晶体管的栅极、所述第十一晶体管的栅极以及所述与门的输入端连接。The input end of the third inverter is connected to the data input end and the second node, the input end of the fourth inverter is connected to the fourth node, and the input end of the fourth inverter The output end is connected to the data output end, the input end of the fifth inverter is connected to the clock signal input end, the output end of the fifth inverter is connected to the gate of the first transistor, the The gate of the eleventh transistor is connected to the input terminal of the AND gate.
  13. 一种中央处理器,其特征在于,包括电路板和如权利要求1-12任一项所述的寄存器,所述寄存器与所述电路板电连接。A central processing unit, characterized by comprising a circuit board and the register according to any one of claims 1-12, the register being electrically connected to the circuit board.
  14. 一种电子设备,其特征在于,包括壳体如设置在所述壳体内的如权利要求13所述的中央处理器。An electronic device, characterized by comprising a casing such as the central processing unit according to claim 13 disposed in the casing.
PCT/CN2022/133307 2022-02-28 2022-11-21 Register, central processing unit and electronic device WO2023160047A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210188236.7A CN116707513A (en) 2022-02-28 2022-02-28 Register, central processing unit and electronic equipment
CN202210188236.7 2022-02-28

Publications (1)

Publication Number Publication Date
WO2023160047A1 true WO2023160047A1 (en) 2023-08-31

Family

ID=87764582

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/133307 WO2023160047A1 (en) 2022-02-28 2022-11-21 Register, central processing unit and electronic device

Country Status (2)

Country Link
CN (1) CN116707513A (en)
WO (1) WO2023160047A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101174831A (en) * 2006-10-31 2008-05-07 国际商业机器公司 Scannable dynamic logic latch circuit
CN102215033A (en) * 2010-04-12 2011-10-12 台湾积体电路制造股份有限公司 Retention flip-flop
CN105191127A (en) * 2013-05-08 2015-12-23 高通股份有限公司 Flip-flop for reducing dynamic power
CN109314506A (en) * 2016-06-02 2019-02-05 高通股份有限公司 Low clock power data gated FF
WO2021061498A1 (en) * 2019-09-26 2021-04-01 Qualcomm Incorporated Sram low-power write driver

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101174831A (en) * 2006-10-31 2008-05-07 国际商业机器公司 Scannable dynamic logic latch circuit
CN102215033A (en) * 2010-04-12 2011-10-12 台湾积体电路制造股份有限公司 Retention flip-flop
CN105191127A (en) * 2013-05-08 2015-12-23 高通股份有限公司 Flip-flop for reducing dynamic power
CN109314506A (en) * 2016-06-02 2019-02-05 高通股份有限公司 Low clock power data gated FF
WO2021061498A1 (en) * 2019-09-26 2021-04-01 Qualcomm Incorporated Sram low-power write driver

Also Published As

Publication number Publication date
CN116707513A (en) 2023-09-05

Similar Documents

Publication Publication Date Title
US9960753B2 (en) Apparatus and method for low power fully-interruptible latches and master-slave flip-flops
US8098791B2 (en) Shift register
US10193536B2 (en) Shared keeper and footer flip-flop
US7746138B2 (en) Semiconductor integrated circuit with flip-flop circuits mounted thereon
US11418174B2 (en) Efficient retention flop utilizing different voltage domain
US8760208B2 (en) Latch with a feedback circuit
TW201039325A (en) Shift register apparatus
CN107911104B (en) Clock gating circuit
JP2018509020A (en) Scan driving circuit and NAND logic circuit thereof
US9667230B1 (en) Latch and flip-flop circuits with shared clock-enabled supply nodes
CN112514258A (en) Low power clock gate circuit
CN115331644B (en) Gate driving circuit, driving method thereof and display device
WO2023160047A1 (en) Register, central processing unit and electronic device
CN115498857A (en) Drive circuit, chip and electronic equipment
WO2023005443A1 (en) Control circuit of display panel, and display device
US20210288648A1 (en) Level Shifter Circuit with Intermediate Power Domain
US6369631B1 (en) High performance impulse flip-flops
CN115865050A (en) CMOS low-power-consumption edge trigger
TW201301764A (en) Electrical device
CN111929522B (en) State detection circuit and control detection method
US11569799B2 (en) True single-phase clock (TSPC) NAND-based reset flip-flop
WO2021027208A1 (en) Data sampling circuit
CN211555433U (en) Control circuit and display device
CN217008619U (en) GDL drive circuit and display device
TWI701904B (en) Semiconductor circuit

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22928307

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE