Dynamic D flip-flop, register, chip, and data processing apparatus
The present disclosure relates to a dynamic D flip-flop, a register, a chip, and a data processing apparatus. A dynamic D flip-flop is provided, including: an input terminal, configured to receive input data; an output terminal, configured to provide output data in response to the input data; clock signal terminal(s), configured to receive clock signal(s); a first latch unit, configured to latch the input data from the input terminal and transmit the input data under control of the clock signal(s); and a second latch unit, configured to latch data from the first latch unit and transmit the data latched by the first latch unit under control of the clock signal(s), where the first latch unit and the second latch unit are sequentially connected in series between the input terminal and the output terminal, and where the output terminal is configured to use data from the second latch unit as the output data for outputting.
1 . A dynamic D flip-flop, comprising:
an input terminal, configured to receive input data;
an output terminal, configured to provide output data in response to the input data;
clock signal terminal(s), configured to receive clock signal(s);
a first latch unit, configured to latch the input data from the input terminal and transmit the input data under control of the clock signal(s); and
a second latch unit, configured to latch data from the first latch unit and transmit the data latched by the first latch unit under control of the clock signal(s),
wherein the first latch unit and the second latch unit are sequentially connected in series between the input terminal and the output terminal,
wherein the second latch unit is a triple gate and an output of the second latch unit is used as the output terminal for driving a load of the dynamic D flip-flop,
wherein the output of the second latch unit is not connected with an inverter which is used as an output drive unit, and
wherein the output terminal is configured to provide the output data which is inverted from the input data by directly outputting the data transmitted by the first latch unit and transmitted by the second latch unit, which is not inverted by the first latch unit but is inverted by the second latch unit, as the output data of the dynamic D flip-flop.
2 . The dynamic D flip-flop according to claim 1 , wherein the second latch unit comprises a first PMOS transistor, a second PMOS transistor, a first NMOS transistor, and a second NMOS transistor, and the first PMOS transistor, the second PMOS transistor, the first NMOS transistor, and the second NMOS transistor of the second latch unit are sequentially connected in series between a power supply and ground.
3 . The dynamic D flip-flop according to claim 2 , wherein the clock signal(s) comprises a first clock signal and a second clock signal, and the first clock signal is inverted from the second clock signal.
4 . The dynamic D flip-flop according to claim 3 , wherein the first latch unit is a transmission gate.
5 . The dynamic D flip-flop according to claim 4 , wherein the transmission gate comprises a third PMOS transistor and a third NMOS transistor, and the third PMOS transistor and the third NMOS transistor are connected in parallel between the input terminal of the dynamic D flip-flop and an output terminal of the transmission gate.
6 . The dynamic D flip-flop according to claim 5 , wherein
a gate of the third PMOS transistor of the first latch unit and a gate of the first NMOS transistor of the second latch unit are controlled by the first clock signal,
a gate of the third NMOS transistor of the first latch unit and a gate of the second PMOS transistor of the second latch unit are controlled by the second clock signal, and
a gate of the first PMOS transistor of the second latch unit and a gate of the second NMOS transistor of the second latch unit are controlled by an output of the first latch unit.
7 . The dynamic D flip-flop according to claim 5 , wherein
a gate of the third PMOS transistor of the first latch unit and a gate of the second NMOS transistor of the second latch unit are controlled by the first clock signal,
a gate of the third NMOS transistor of the first latch unit and a gate of the first PMOS transistor of the second latch unit are controlled by the second clock signal, and
a gate of the second PMOS transistor of the second latch unit and a gate of the first NMOS transistor of the second latch unit are controlled by an output of the first latch unit.
8 . The dynamic D flip-flop according to claim 3 , wherein the dynamic D flip-flop further comprises a clock buffer, and the clock buffer is configured to generate the first clock signal and the second clock signal based on an external clock signal, wherein the first clock signal is in phase with or inverted from the external clock signal.
9 . A chip, comprising the dynamic D flip-flop according to claim 1 .
10 . A data processing apparatus, configured to execute a digital currency encryption algorithm, and comprising the chip according to claim 9 .
11 . A register, comprising:
a plurality of input terminals, configured to receive input data;
a plurality of output terminals, configured to output data;
a clock signal terminal, configured to receive an external clock signal; and
a clock buffer, configured to provide control clock signals to a plurality of dynamic D flip-flops based on the external clock signal, wherein the control clock signals comprises a first clock signal and a second clock signal, the first clock signal is inverted from the second clock signal, and the plurality of dynamic D flip-flops are connected in parallel between the plurality of input terminals and the plurality of output terminals, and configured to perform at least one of latching or reading of data under control of the control clock signals, wherein the dynamic D flip-flop is the dynamic D flip-flop according to claim 1 .
12 . The register according to claim 11 , wherein the first clock signal is in phase with or inverted from the external clock signal.
13 . A chip, comprising the register according to claim 11 .