WO2022121365A1 - 动态d触发器、寄存器、芯片和数据处理装置 - Google Patents

动态d触发器、寄存器、芯片和数据处理装置 Download PDF

Info

Publication number
WO2022121365A1
WO2022121365A1 PCT/CN2021/113230 CN2021113230W WO2022121365A1 WO 2022121365 A1 WO2022121365 A1 WO 2022121365A1 CN 2021113230 W CN2021113230 W CN 2021113230W WO 2022121365 A1 WO2022121365 A1 WO 2022121365A1
Authority
WO
WIPO (PCT)
Prior art keywords
latch unit
gate
flip
clock signal
dynamic
Prior art date
Application number
PCT/CN2021/113230
Other languages
English (en)
French (fr)
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 深圳比特微电子科技有限公司
Priority to US18/032,896 priority Critical patent/US20230396242A1/en
Priority to KR1020237018359A priority patent/KR20230096098A/ko
Publication of WO2022121365A1 publication Critical patent/WO2022121365A1/zh

Links

Images

Classifications

    • 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
    • H03K3/356017Bistable circuits using additional transistors in the input circuit
    • H03K3/356052Bistable circuits using additional transistors in the input circuit using pass gates
    • H03K3/35606Bistable circuits using additional transistors in the input circuit using pass gates with synchronous operation
    • 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
    • H03K3/356017Bistable circuits using additional transistors in the input circuit
    • H03K3/356034Bistable circuits using additional transistors in the input circuit the input circuit having a differential configuration
    • H03K3/356043Bistable circuits using additional transistors in the input circuit the input circuit having a differential configuration with synchronous operation
    • 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
    • H03K3/3562Bistable 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
    • 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

Definitions

  • the present disclosure generally relates to a dynamic D flip-flop, register, chip and data processing apparatus.
  • Bitcoin is a virtual encrypted digital currency in the form of P2P (Peer-to-Peer). Bitcoin transactions use a distributed database composed of many nodes in the entire P2P network to confirm and record all transaction behaviors, and use cryptographic design to ensure security.
  • P2P Peer-to-Peer
  • the core of using miners to mine Bitcoin is to get rewards based on the computing power of miners to calculate SHA-256.
  • chip size, chip operating speed and chip power consumption are three crucial factors that determine the performance of the mining machine. Among them, the chip size determines the chip cost, and the operating speed of the chip determines the operating speed of the mining machine.
  • the power consumption of the chip determines the degree of power consumption, that is, the mining cost. In practical applications, a very important performance indicator to measure the mining machine is the power consumed per unit of computing power, that is, the ratio of power consumption to computing power.
  • the mining process requires a lot of repetitive logic calculations, which requires a lot of D flip-flops. Improper selection of the D flip-flop will lead to an increase in the chip area, a slower operation speed, and an increase in power consumption, which will eventually lead to a worsening of the power consumption and computing power ratio of the mining machine.
  • the D flip-flop itself is widely used and can be used as digital signal register, shift register, frequency division and waveform generator.
  • the D flip-flop has two inputs, data (D) and clock (CLK), and one output (Q), which can write data to or read data from the D flip-flop.
  • a dynamic D flip-flop comprising: an input terminal for receiving input data; an output terminal for providing output data in response to the input data; and a clock signal terminal for receiving a clock signal; a first latch unit for latching input data from an input terminal and transmitting the input data under the control of the clock signal; and a second latch unit for latching data from the first latch unit And transmit the data latched by the first latch unit under the control of the clock signal; wherein, the first latch unit and the second latch unit are sequentially connected in series between the input end and the output end; and wherein, the output end is configured To output the data from the second latch unit as output data.
  • a register comprising: a plurality of input terminals for receiving input data; a plurality of output terminals for outputting data; a clock signal terminal for receiving an external clock signal; a clock buffer a controller for providing a control clock signal to a plurality of dynamic D flip-flops based on the external clock signal, the control clock signal includes a first clock signal and a second clock signal, the first clock signal and the second clock The signal is inverted, and a plurality of dynamic D flip-flops are connected in parallel between the plurality of input terminals and the plurality of output terminals for latching and/or reading out data under the control of the control clock signal, wherein
  • the dynamic D flip-flop is a dynamic D flip-flop as described above.
  • a chip including the dynamic D flip-flop as described above or the register as described above.
  • a data processing apparatus for executing a digital currency encryption algorithm comprising the above-mentioned chip.
  • FIG. 1 illustrates a dynamic D flip-flop according to some embodiments of the present disclosure
  • FIG. 2 illustrates a clock buffer for dynamic D flip-flops in accordance with some embodiments of the present disclosure
  • FIG. 3 illustrates a clocked dynamic D flip-flop in accordance with some embodiments of the present disclosure
  • 4A and 4B respectively show schematic circuit diagrams of dynamic D flip-flops according to some embodiments of the present disclosure
  • Fig. 5 shows the circuit timing diagram according to the dynamic D flip-flop shown in Fig. 4A and Fig. 4B;
  • FIGS. 6A and 6B respectively show schematic circuit diagrams of dynamic D flip-flops according to variants of some embodiments of the present disclosure
  • Fig. 7 shows the circuit timing diagram according to the dynamic D flip-flop shown in Fig. 6A and Fig. 6B;
  • FIGS. 8A-8D shows a circuit timing diagram according to the dynamic D flip-flop shown in FIGS. 8A-8D;
  • Figure 10 shows a register comprising a plurality of dynamic D flip-flops connected in parallel.
  • the computing equipment used to mine virtual currency needs to perform a large number of repetitive logical calculations during the mining process, which requires a large number of D flip-flops for data storage, so the performance of the D flip-flops directly affects the performance of the computing chip, including the chip area , power consumption, operation speed, etc.
  • the traditional D flip-flop includes a large number of PMOS transistors and NMOS transistors, which occupies a large area on the chip and brings a correspondingly large power consumption. Therefore, there is a need for a simplified D flip-flop that includes fewer transistors to reduce chip area and power consumption.
  • the present disclosure provides a simplified dynamic D flip-flop for a computing device and a register including a plurality of parallel connected dynamic D flip-flops, thereby effectively reducing area and power consumption.
  • the dynamic D flip-flop reduces the positive feedback circuit for maintaining the working state, so the circuit structure will be greatly simplified. This not only reduces the chip area, but also reduces power consumption.
  • a traditional dynamic D flip-flop usually includes an input drive unit, a two-level latch unit and an output drive unit.
  • the applicant proposed a new type of dynamic D flip-flop, which omits the input driving unit to reduce chip area and power consumption.
  • the present disclosure proposes a more simplified dynamic D flip-flop for an application environment with a small driving load, which only includes a two-level latch unit and does not include an output driving unit. Since the output driving unit is omitted, the chip area can be further effectively reduced and the power consumption can be reduced, which is very important for the virtual currency computing device using a large number of dynamic D flip-flops.
  • FIG. 1 illustrates a dynamic D flip-flop in accordance with some embodiments of the present disclosure.
  • the dynamic D flip-flop 100 includes: an input terminal 101 for receiving input data; an output terminal 102 for providing output data in response to the input data; a clock signal terminal 103 for receiving a clock signal; a first latch unit 104 , for latching the input data from the input terminal 101 and transmitting the input data under the control of the clock signal; the second latch unit 105 for latching the data from the first latch unit 104 and under the control of the clock signal
  • the data latched by the first latch unit 104 is transmitted, wherein the first latch unit 104 and the second latch unit 105 are sequentially connected in series between the input end 101 and the output end 102, and wherein the output end 102 is configured as The data from the second latch unit 105 is output as output data.
  • FIG. 2 shows a clock buffer used to provide a clock signal for a dynamic D flip-flop.
  • the clock buffer 200 is composed of two stages of inverters 201 and 202 connected in series.
  • the inverters 201 and 202 respectively generate a clock signal CLKN for controlling the dynamic D flip-flop and a clock signal CLKP which is inverted to the clock signal CLKN.
  • the clock buffer 200 buffers the input clock signal CK, and supplies the dynamic D flip-flop with the clock signal CLKN and the clock signal CLKP.
  • clock buffer 200 may include more inverters.
  • FIG. 3 shows a dynamic D flip-flop 300 with clock control.
  • the clock signal CK is buffered by the clock buffer 301 to provide the clock signals CLKN and CLKP to the dynamic D flip-flop 300 .
  • FIG. 4A shows a schematic circuit diagram of a dynamic D flip-flop according to some embodiments of the present disclosure.
  • the dynamic D flip-flop 400 may include a first latch unit 405 and a second latch unit 404 .
  • the first latch unit 405 can receive input data; at the node 402 as the output of the first latch unit 405, the first latch unit 405 The data latched by the latch unit 405 is transmitted to the second latch unit 404; at the node 403, which is an output terminal of the second latch unit 404, the second latch unit 404 may provide output data.
  • the first latch unit 405 may be a transmission gate.
  • the first latch unit 405 may include a third PMOS transistor 410 and a third NMOS transistor 411 , wherein the third PMOS transistor 410 and the third NMOS transistor 411 may be connected in parallel at the input of the dynamic D flip-flop 400 terminal and the output terminal of the first latch unit 405 .
  • the source of the third PMOS transistor 410 and the source of the third NMOS transistor 411 may be connected together to form the input terminal of the first latch unit 405; the drain of the third PMOS transistor 410 and the The drains of the three NMOS transistors 411 may be connected together to form the output of the first latch unit 405 .
  • the gate of the third PMOS transistor 410 may be controlled by the clock signal CLKP, and the gate of the third NMOS transistor 411 may be controlled by the clock signal CLKN.
  • the source and drain of the transistors of the pass gate can be interchanged because the pass gate can be symmetrical. That is, the drain of the third PMOS transistor 410 and the drain of the third NMOS transistor 411 may be connected together to form the input terminal of the first latch unit 405; the source of the third PMOS transistor 410 and the third NMOS transistor 411 The sources of can be connected together to form the output of the first latch unit 405 .
  • the source and drain of the transistor of the pass gate are not interchangeable.
  • the second latch unit 404 may be a tri-state gate.
  • the second latch unit 404 may include a first PMOS transistor 406 , a second PMOS transistor 407 , a first NMOS transistor 408 and a second NMOS transistor 409 , wherein the first PMOS transistor 406 and the second PMOS transistor 407 , the first NMOS transistor 408 and the second NMOS transistor 409 are sequentially connected in series between the power supply VDD and the ground GND.
  • the source of the first PMOS transistor 406 may be connected to the power supply VDD
  • the source of the second PMOS transistor 407 may be connected to the drain of the first PMOS transistor 406, and the drain of the first NMOS transistor 408 may be connected
  • the drain of the second NMOS transistor 409 may be connected to the source of the first NMOS transistor 408, and the source of the second NMOS transistor 409 may be connected to ground GND, wherein the second PMOS transistor
  • the drain of 407 and the drain of the first NMOS transistor 408 may be connected together to form the output of the second latch unit 404 .
  • the gate of the first PMOS transistor 406 and the gate of the second NMOS transistor 409 may be connected together to form the input of the second latch unit 404 .
  • the input terminal is connected to the output terminal of the first latch unit 405 so that the gate of the first PMOS transistor 406 and the gate of the second NMOS transistor 409 can be controlled by the output of the first latch unit 405 .
  • the gate of the second PMOS transistor 407 may be controlled by the clock signal CLKN
  • the gate of the first NMOS transistor 408 may be controlled by the clock signal CLKP.
  • the second latch unit 404 is in a high-impedance state, and the data output by the first latch unit 405 at the node 402 cannot pass through the second latch unit 404 . Since the data at the node 402 cannot pass through the second latching unit 404, the data at the node 402 can be latched at the node 402 to keep the original state and play the role of data registration.
  • the dynamic D flip-flop 400 omits the output driving unit, and the output terminal of the dynamic D flip-flop 400 is configured to output the data from the second latch unit 404 as output data. Due to the inversion action of the second latch unit 404 , the output data at the node 403 of the dynamic D flip-flop 400 is inverted with the input data at the node 401 .
  • the dynamic D flip-flop shown in FIG. 4A omits the transistor of the output driving unit, only needs 6 transistors, and greatly reduces the chip area. Power consumption is also reduced due to one less inverter output stage. This advantageous technical effect is also applicable to the dynamic D flip-flops shown in FIGS. 4B and 6A-6B later.
  • the dynamic D flip-flop as shown in FIG. 4A omits the output driving unit, and the load is driven by the tri-state gate, it is especially suitable for the case where a large driving load is not required.
  • FIG. 4B shows a schematic circuit diagram of a dynamic D flip-flop according to some embodiments of the present disclosure.
  • the first latch unit 405 may be a transmission gate.
  • the first latch unit 405 may include a third PMOS transistor 410 and a third NMOS transistor 411 , wherein the third PMOS transistor 410 and the third NMOS transistor 411 may be connected in parallel to the input of the dynamic D flip-flop 400 terminal and the output terminal of the first latch unit 405 .
  • the source of the third PMOS transistor 410 and the source of the third NMOS transistor 411 may be connected together to form the input terminal of the first latch unit 405; the drain of the third PMOS transistor 410 and the first latch unit 405; The drains of the three NMOS transistors 411 may be connected together to form the output of the first latch unit 405 .
  • the gate of the third PMOS transistor 410 may be controlled by the clock signal CLKP, and the gate of the third NMOS transistor 411 may be controlled by the clock signal CLKN.
  • the source and drain of the transistors of the pass gate can be interchanged because the pass gate can be symmetrical. That is, the drain of the third PMOS transistor 410 and the drain of the third NMOS transistor 411 may be connected together to form the input terminal of the first latch unit 405; the source of the third PMOS transistor 410 and the drain of the third NMOS transistor 411 The sources may be connected together to form the output of the first latch unit 405 .
  • the source and drain of the transistor of the pass gate are not interchangeable.
  • the second latch unit 404 may be a tri-state gate.
  • the second latch unit 404 may include a first PMOS transistor 406 , a second PMOS transistor 407 , a first NMOS transistor 408 and a second NMOS transistor 409 , wherein the first PMOS transistor 406 and the second PMOS transistor 407 , the first NMOS transistor 408 and the second NMOS transistor 409 are sequentially connected in series between the power supply VDD and the ground GND.
  • the source of the first PMOS transistor 406 may be connected to the power supply VDD
  • the source of the second PMOS transistor 407 may be connected to the drain of the first PMOS transistor 406, and the drain of the first NMOS transistor 408 may be connected
  • the drain of the second NMOS transistor 409 may be connected to the source of the first NMOS transistor 408, and the source of the second NMOS transistor 409 may be connected to ground GND, wherein the second PMOS transistor
  • the drain of 407 and the drain of the first NMOS transistor 408 may be connected together to form the output of the second latch unit 404 .
  • the gate of the second PMOS transistor 407 and the gate of the first NMOS transistor 408 may be connected together to form the input terminal of the second latch unit 404 .
  • the input terminal is connected to the output terminal of the first latch unit 405 so that the gate of the second PMOS transistor 407 and the gate of the first NMOS transistor 408 can be controlled by the output of the first latch unit 405 .
  • the gate of the first PMOS transistor 406 may be controlled by the clock signal CLKN
  • the gate of the second NMOS transistor 409 may be controlled by the clock signal CLKP.
  • the second latch unit 404 is in a high-impedance state, and the data output by the first latch unit 405 at the node 402 cannot pass through the second latch unit 404 . Since the data at the node 402 cannot pass through the second latch unit 404, the data at the node 402 can be latched at the node 402 to keep the original state and play the role of data registration.
  • the dynamic D flip-flop 400 omits the output driving unit, and the output terminal of the dynamic D flip-flop 400 is configured to output the data from the second latch unit 404 as output data. Due to the inversion action of the second latch unit 404 , the output data of the dynamic D flip-flop 400 at the node 403 is inverted with the input data at the node 401 .
  • the dynamic D flip-flop shown in FIG. 4B is a variant of the dynamic D flip-flop shown in FIG. 4A , and the difference lies in the different positions of the clock-controlled transistors in the second latch unit 404 .
  • FIG. 5 shows a circuit timing diagram of a dynamic D flip-flop that is active on a rising edge according to FIGS. 4A and 4B .
  • the following is a detailed description according to the working principle of the dynamic D flip-flop with reference to FIG. 5 .
  • a dynamic D flip-flop that is active on the falling edge can be implemented by swapping the clock control signals of the dynamic D flip-flop.
  • the gate of the third PMOS transistor 410 of the first latch unit 405 is changed to be controlled by CLKN
  • the gate of the third NMOS transistor 411 of the first latch unit 405 is changed to be controlled by Controlled by CLKP
  • the gate of the second PMOS transistor 407 of the second latch unit 404 is changed to be controlled by CLKP
  • the gate of the first NMOS transistor 408 of the second latch unit 404 is changed to be controlled by CLKN.
  • the circuit of the body is shown in Figure 6A. For the circuit shown in FIG.
  • FIGS. 8A-8D illustrate circuit schematic diagrams of dynamic D flip-flops according to other embodiments of the present disclosure. Different from the dynamic D flip-flop including the first latch unit 405 as a transmission gate and the second latch unit 404 as a tri-state gate as shown in FIGS. 4A-4B and 6A-6B, as shown in FIGS. 8A-
  • the first latch unit 412 and the second latch unit 404 of the dynamic D flip-flop in the circuit shown in FIG. 8D may both be tri-state gates.
  • the dynamic D flip-flop 400 may include a first latch unit 412 and a second latch unit 404.
  • the first latch unit 412 may receive input data; at the node 402 as the output of the first latch unit 412, the first latch unit 412 The data latched by the latch unit 412 is transmitted to the second latch unit 404; at the node 403, which is an output terminal of the second latch unit 404, the second latch unit 404 may provide output data.
  • the first latch unit 412 may be a tri-state gate.
  • the first latch unit 412 may include a fourth PMOS transistor 413 , a fifth PMOS transistor 414 , a fourth NMOS transistor 415 and a fifth NMOS transistor 416 , wherein the fourth PMOS transistor 413 and the fifth PMOS transistor 414 , the fourth NMOS transistor 415 and the fifth NMOS transistor 416 are sequentially connected in series between the power supply VDD and the ground GND.
  • the source of the fourth PMOS transistor 413 may be connected to the power supply VDD
  • the source of the fifth PMOS transistor 414 may be connected to the drain of the fourth PMOS transistor 413
  • the drain of the fourth NMOS transistor 415 may be Connected to the drain of the fifth PMOS transistor 414
  • the drain of the fifth NMOS transistor 416 may be connected to the source of the fourth NMOS transistor 415
  • the source of the fifth NMOS transistor 416 may be connected to ground GND
  • the fifth PMOS The drain of the transistor 414 and the drain of the fourth NMOS transistor 415 may be connected together to form an output terminal of the first latch unit 412 .
  • the gate of the fourth PMOS transistor 413 and the gate of the fifth NMOS transistor 416 may be connected together to form an input terminal of the first latch unit 412 to receive input data from the input terminal, so that the gate of the fourth PMOS transistor 413 and the gate of the fifth NMOS transistor 416 may be controlled by input data.
  • the gate of the fifth PMOS transistor 414 may be controlled by the clock signal CLKP
  • the gate of the fourth NMOS transistor 415 may be controlled by the clock signal CLKN.
  • the second latch unit 404 may also be a tri-state gate. As shown in FIG. 8A , the second latch unit 404 may include a first PMOS transistor 406 , a second PMOS transistor 407 , a first NMOS transistor 408 and a second NMOS transistor 409 , wherein the first PMOS transistor 406 and the second PMOS transistor 407 , the first NMOS transistor 408 and the second NMOS transistor 409 are sequentially connected in series between the power supply VDD and the ground GND.
  • the source of the first PMOS transistor 406 may be connected to the power supply VDD
  • the source of the second PMOS transistor 407 may be connected to the drain of the first PMOS transistor 406, and the drain of the first NMOS transistor 408 may be connected
  • the drain of the second NMOS transistor 409 may be connected to the source of the first NMOS transistor 408, and the source of the second NMOS transistor 409 may be connected to ground GND, wherein the second PMOS transistor
  • the drain of 407 and the drain of the first NMOS transistor 408 may be connected together to form the output of the second latch unit 404 .
  • the gate of the first PMOS transistor 406 and the gate of the second NMOS transistor 409 may be connected together to form the input of the second latch unit 404 .
  • the input terminal is connected to the output terminal of the first latch unit 412 so that the gate of the first PMOS transistor 406 and the gate of the second NMOS transistor 409 can be controlled by the output of the first latch unit 412 .
  • the gate of the second PMOS transistor 407 may be controlled by the clock signal CLKN
  • the gate of the first NMOS transistor 408 may be controlled by the clock signal CLKP.
  • the second latch unit 404 is in a high-impedance state, and the data output by the first latch unit 412 at the node 402 cannot pass through the second latch unit 404 . Since the data at the node 402 cannot pass through the second latching unit 404, the data at the node 402 can be latched at the node 402 to keep the original state and play the role of data registration.
  • the dynamic D flip-flop 400 omits the output driving unit, and the output terminal of the dynamic D flip-flop 400 is configured to output the data from the second latch unit 404 as output data. Due to the inversion of the first latch unit 412 and the second latch unit 404 , the output data of the dynamic D flip-flop 400 at node 403 is in phase with the input data at node 401 .
  • the dynamic D flip-flop of FIG. 8A omits the transistor of the output driving unit, and only needs 8 transistors. Although there are more transistors than the dynamic D flip-flops shown in FIGS. 4A-4B and 6A-6B, the chip area can still be greatly reduced. Power consumption is also reduced due to one less inverter output stage. This advantageous technical effect is also applicable to the dynamic D flip-flops shown in FIGS. 8B-8D later.
  • FIG. 8B shows a schematic circuit diagram of a dynamic D flip-flop that is a variant of the dynamic D flip-flop shown in FIG. 8A.
  • the first latch unit 412 of the dynamic D flip-flop shown in FIG. 8B is the same as the first latch unit 412 of the dynamic D flip-flop shown in FIG. 8A , and will not be described in detail here.
  • the second latch unit 404 of the dynamic D flip-flop shown in FIG. 8B is different from the second latch unit 404 of the dynamic D flip-flop shown in FIG. 8A in that the first PMOS transistor 406 and the second PMOS transistor are 407 , control of the gates of the first NMOS transistor 408 and the second NMOS transistor 409 .
  • the second latch unit 404 of the dynamic D flip-flop shown in FIG. 8B is different from the second latch unit 404 of the dynamic D flip-flop shown in FIG. 8A in that the first PMOS transistor 406 and the second PMOS transistor are 407 , control of the gates of the first NMOS transistor 408 and the second NMOS transistor 409 .
  • the gate of the second PMOS transistor 407 and the gate of the first NMOS transistor 408 may be connected together to form a second latch
  • the input terminal of the memory unit 404 is connected to the output terminal of the first latch unit 405, so that the gate of the second PMOS transistor 407 and the gate of the first NMOS transistor 408 can be used by the output of the first latch unit 405.
  • Control; the gate of the first PMOS transistor 406 may be controlled by the clock signal CLKN, and the gate of the second NMOS transistor 409 may be controlled by the clock signal CLKP.
  • the second latch unit 404 is in a high-impedance state, and the data output by the first latch unit 412 at the node 402 cannot pass through the second latch unit 404 . Since the data at the node 402 cannot pass through the second latching unit 404, the data at the node 402 can be latched at the node 402 to keep the original state and play the role of data registration.
  • the output data of the dynamic D flip-flop at node 403 as shown in FIG. 8B is in phase with the input data at node 401 .
  • Figure 8C shows a schematic circuit diagram of a dynamic D flip-flop that is a variation of the dynamic D flip-flop shown in Figure 8A.
  • the second latch unit 404 of the dynamic D flip-flop shown in FIG. 8C is the same as the second latch unit 404 of the dynamic D flip-flop shown in FIG. 8A , and will not be described in detail here.
  • the difference between the first latch unit 412 of the dynamic D flip-flop shown in FIG. 8C and the first latch unit 412 of the dynamic D flip-flop shown in FIG. 8A is that the fourth PMOS transistor 413 and the fifth PMOS transistor are 414 , control of the gates of the fourth NMOS transistor 415 and the fifth NMOS transistor 416 .
  • the first latch unit 412 of the dynamic D flip-flop shown in FIG. 8C the first latch unit 412 of the dynamic D flip-flop shown in FIG.
  • the gate of the fifth PMOS transistor 414 and the gate of the fourth NMOS transistor 415 may be connected together to form a first latch
  • the input terminal of the storage unit 412 receives input data from the input terminal, so that the gate of the fifth PMOS transistor 414 and the gate of the fourth NMOS transistor 415 can be controlled by the input data; the gate of the fourth PMOS transistor 413 can be controlled by the clock signal Controlled by CLKP, the gate of the fifth NMOS transistor 416 may be controlled by the clock signal CLKN.
  • the output data of the dynamic D flip-flop at node 403 is in phase with the input data at node 401 as shown in FIG. 8C .
  • Figure 8D shows a schematic circuit diagram of a dynamic D flip-flop that is a variation of the dynamic D flip-flop shown in Figure 8A.
  • the first latch unit 412 of the dynamic D flip-flop shown in FIG. 8D is the same as the first latch unit 412 of the dynamic D flip-flop shown in FIG. 8C , and will not be described in detail here.
  • the second latch unit 404 of the dynamic D flip-flop shown in FIG. 8D is the same as the second latch unit 404 of the dynamic D flip-flop shown in FIG. 8B , and will not be described in detail here.
  • the output data of the dynamic D flip-flop at node 403 is in phase with the input data at node 401 as shown in FIG. 8D .
  • FIGS. 8A-8D are circuit timing diagram illustrating a dynamic D flip-flop according to FIGS. 8A-8D.
  • the first latch unit 412 is in a conducting state, inverting the input data at the input end of the dynamic D flip-flop 400 and storing it at the node 402 .
  • the transistors in the second latch unit 404 controlled by the clock signals CLKN and CLKP are in a non-conducting state, the second latch unit 404 is in a high-impedance state, and the data at the node 402 cannot pass through the second latch unit 404 .
  • the data at the node 403 can be locked at the node 403 to keep the original state and play the role of data registration.
  • the output of the dynamic D flip-flop 400 maintains the original state.
  • a dynamic D flip-flop that is active on the falling edge can be implemented by swapping the clock control signals of the dynamic D flip-flop that is active on the rising edge as shown in FIGS.
  • the clock control signals of the dynamic D flip-flops with valid rising edges are exchanged to realize the dynamic D flip-flops with valid falling edges as shown in FIGS. 6A-6B , which will not be described in detail here.
  • the register 1000 illustrates a register including a plurality of dynamic D flip-flops connected in parallel according to embodiments of the present disclosure.
  • the register 1000 includes a plurality of dynamic D flip-flops 1001 connected in parallel, a clock buffer 1002, a clock signal terminal CK, a plurality of input terminals D(n) and a plurality of output terminals Q(n), where n Represents n-way input/output.
  • a plurality of input terminals D(n) are used for receiving input data; a plurality of output terminals Q(n) are used for outputting data; the clock signal terminal CK is used for receiving external clock signals;
  • a plurality of dynamic D flip-flops provide control clock signals, the control clock signals include clock signals CLKP and CLKN, the clock signal CLKP and the clock signal CLKN are inverted, and a plurality of dynamic D flip-flops 1001 are connected in parallel to a plurality of input terminals and a plurality of output terminals In between, it is used to latch and/or read out data under the control of a control clock signal, wherein the dynamic D flip-flop 1001 is the dynamic D flip-flop described in conjunction with FIGS. 1-9 according to an embodiment of the present disclosure.
  • one clock buffer in the present disclosure drives multiple dynamic D flip-flops simultaneously, which can effectively reduce the area and power consumption.
  • the registers claimed in the present disclosure further have the advantages of reduced area and reduced power compared to conventional registers.
  • the present disclosure also provides an apparatus for a Bitcoin mining algorithm, comprising the above dynamic D flip-flop or the above register applying the dynamic D flip-flop.
  • the word "exemplary” means “serving as an example, instance, or illustration” rather than as a “model” to be exactly reproduced. Any implementation illustratively described herein is not necessarily to be construed as preferred or advantageous over other implementations. Furthermore, the present disclosure is not to be bound by any expressed or implied theory presented in the preceding technical field, background, brief summary or detailed description.

Landscapes

  • Logic Circuits (AREA)
  • Shift Register Type Memory (AREA)

Abstract

本公开涉及一种动态D触发器、寄存器、芯片和数据处理装置。提供一种动态D触发器,包括:输入端,用于接收输入数据;输出端,用于提供输出数据来响应所述输入数据;时钟信号端,用于接收时钟信号;第一锁存单元,用于锁存来自输入端的输入数据并在时钟信号的控制下传输所述输入数据;以及第二锁存单元,用于锁存来自第一锁存单元的数据并在时钟信号的控制下传输第一锁存单元锁存的数据;其中,第一锁存单元和第二锁存单元依次串联连接在输入端和输出端之间;以及其中,输出端被配置为将来自第二锁存单元的数据作为输出数据输出。

Description

动态D触发器、寄存器、芯片和数据处理装置
相关申请的交叉引用
本申请是以CN申请号为202011428628.3,申请日为2020年12月9日的申请为基础,并主张其优先权,该CN申请的公开内容在此作为整体引入本申请中。
技术领域
本公开总体而言涉及一种动态D触发器、寄存器、芯片和数据处理装置。
背景技术
比特币是一种P2P(Peer-to-Peer)形式的虚拟加密数字货币,其独特之处在于,不依靠特定货币机构发行,而是依据特定算法通过大量运算来产生。比特币交易使用由整个P2P网络中众多节点构成的分布式数据库来确认并记录所有的交易行为,并且利用密码学设计来确保安全性。
比特币矿工过去是通过中央处理器(Central Processing Unit,CPU)产品来挖矿。但是,由于挖矿是运算密集型应用,并且随着挖矿人数的逐渐增加以及提升设备性能的难度的逐渐增加,现在使用CPU挖矿已近乎毫无利益,甚至是负利益。如今,矿工大都开始采用利用专用芯片(Application Specific Integrated Circuit,ASIC)或者现场可编程门阵列(Field Programmable Gate Array,FPGA)等的矿机设备,以提高挖矿的效率。
使用矿机来进行比特币挖矿的核心是根据矿机计算SHA-256的运算能力来获得奖励。对于矿机而言,芯片尺寸、芯片运行速度和芯片功耗是决定矿机性能的至关重要的三个因素,其中,芯片尺寸决定芯片成本,芯片运行的速度决定矿机运行速度,即算力,芯片功耗决定耗电程度,即挖矿成本。在实际应用中,衡量矿机非常重要的性能指标是单位算力所消耗的功率,即功耗算力比。
挖矿过程需要进行大量重复性的逻辑计算,这需要用到大量的D触发器。D触发器选择不当则会导致芯片面积增大、运算速度变慢以及耗电增大,最终导致矿机功耗算力比变差。
D触发器本身的应用非常广泛,可以用作数字信号的寄存、移位寄存、分频和波形发生器等。D触发器具有数据(D)和时钟(CLK)两个输入,具有一个输出(Q),可以将数据写入到D触发器中或者从D触发器中读取数据。
发明内容
根据本公开的第一方面,提供了一种动态D触发器,包括:输入端,用于接收输入数据;输出端,用于提供输出数据来响应所述输入数据;时钟信号端,用于接收时钟信号;第一锁存单元,用于锁存来自输入端的输入数据并在时钟信号的控制下传输所述输入数据;以及第二锁存单元,用于锁存来自第一锁存单元的数据并在时钟信号的控制下传输第一锁存单元锁存的数据;其中,第一锁存单元和第二锁存单元依次串联连接在输入端和输出端之间;以及其中,输出端被配置为将来自第二锁存单元的数据作为输出数据输出。
根据本公开的第二方面,提供了一种寄存器,包括:多个输入端,用于接收输入数据;多个输出端,用于输出数据;时钟信号端,用于接收外部时钟信号;时钟缓冲器,用于基于所述外部时钟信号向多个动态D触发器提供控制时钟信号,所述控制时钟信号包括第一时钟信号及第二时钟信号,所述第一时钟信号与所述第二时钟信号反相,多个动态D触发器并联连接在所述多个输入端和所述多个输出端之间,用于在所述控制时钟信号的控制下锁存和/或读出数据,其中所述动态D触发器是如上所述的动态D触发器。
根据本公开的第三方面,提供了一种芯片,包括如上所述的动态D触发器或者如上所述的寄存器。
根据本公开的第四方面,提供了一种数据处理装置,用于执行数字货币加密算法,包括如上所述的芯片。
通过以下参照附图对本公开的示例性实施例的详细描述,本公开 的其它特征及其优点将会变得清楚。
附图说明
构成说明书的一部分的附图描述了本公开的实施例,并且连同说明书一起用于解释本公开的原理。
参照附图,根据下面的详细描述,可以更加清楚地理解本公开,其中:
图1示出了根据本公开的一些实施例的动态D触发器;
图2示出了根据本公开的一些实施例的用于动态D触发器的时钟缓冲器;
图3示出了根据本公开的一些实施例的含有时钟控制的动态D触发器;
图4A和图4B分别示出了根据本公开的一些实施例的动态D触发器的电路示意图;
图5示出根据图4A和图4B所示的动态D触发器的电路时序图;
图6A和图6B分别示出了根据本公开的一些实施例的变体的动态D触发器的电路示意图;
图7示出根据图6A和图6B所示的动态D触发器的电路时序图;
图8A-图8D分别示出了根据本公开的另一些实施例的动态D触发器的电路示意图;
图9示出根据图8A-图8D所示的动态D触发器的电路时序图;
图10示出包括多个并联连接的动态D触发器的寄存器。
注意,在以下说明的实施方式中,有时在不同的附图之间共同使用同一附图标记来表示相同部分或具有相同功能的部分,而省略其重复说明。在本说明书中,使用相似的标号和字母表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。
为了便于理解,在附图等中所示的各结构的位置、尺寸及范围等有时不表示实际的位置、尺寸及范围等。因此,本公开并不限于附图等所公开的位置、尺寸及范围等。此外,附图不必按比例绘制,一些 特征可能被放大以示出具体组件的细节。
具体实施方式
现在将参照附图来详细描述本公开的各种示例性实施例。应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本公开的范围。
以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本公开及其应用或使用的任何限制。也就是说,本文中的电路和方法是以示例性的方式示出,来说明本公开中的电路或方法的不同实施例,而并非意图限制。本领域的技术人员将会理解,它们仅仅说明可以用来实施本公开的示例性方式,而不是穷尽的方式。
对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为授权说明书的一部分。
用于挖掘虚拟货币的计算设备在挖矿过程中需要进行大量重复性的逻辑计算,这需要大量的D触发器进行数据存储,因此D触发器的性能直接影响了计算芯片的性能,包括芯片面积、功耗、运算速度等。
传统的D触发器中包括的PMOS晶体管和NMOS晶体管的数量较多,这会在芯片上占据较大的面积,并且相应地带来较大的功耗。因此,存在对包括较少晶体管的简化D触发器的需要,以减小芯片面积和降低功耗。
为了解决上述问题,本公开提供了一种用于计算设备的简化的动态D触发器以及包括多个并联连接的动态D触发器的寄存器,从而有效地减小面积和降低功耗。
动态D触发器相对于静态D触发器减少了用于保持工作状态的正反馈电路,因此电路结构会大幅度简化。这样既减小了芯片面积,又能降低功耗。传统的动态D触发器通常包括输入驱动单元、两级锁存单元和输出驱动单元。本申请人在先前提交的专利文献CN111600577A中提出了一种新型动态D触发器,其省略了输入驱动单元,以减小芯片面积和降低功耗。为了进一步减小芯片面积和降低 功耗,本公开针对驱动负载较小的应用环境,提出一种更简化的动态D触发器,只包括两级锁存单元,不包括输出驱动单元。由于省略了输出驱动单元,可以进一步有效地减小芯片面积,降低功耗,这对于使用大量动态D触发器的虚拟货币计算设备来说十分重要。
图1示出了根据本公开的一些实施例的动态D触发器。该动态D触发器100包括:输入端101,用以接收输入数据;输出端102,用于提供输出数据来响应该输入数据;时钟信号端103,用于接收时钟信号;第一锁存单元104,用于锁存来自输入端101的输入数据并在时钟信号的控制下传输输入数据;第二锁存单元105,用于锁存来自第一锁存单元104的数据并在时钟信号的控制下传输第一锁存单元104锁存的数据,其中,第一锁存单元104、第二锁存单元105依次串联连接在输入端101和输出端102之间,并且其中,输出端102被配置为将来自第二锁存单元105的数据作为输出数据输出。
图2示出了用于提供动态D触发器的时钟信号的时钟缓冲器。该时钟缓冲器200由两级串联连接的反相器201、202组成,反相器201、202分别产生用于控制动态D触发器的时钟信号CLKN和与时钟信号CLKN反相的时钟信号CLKP。时钟缓冲器200对输入的时钟信号CK进行缓冲,并且向动态D触发器提供时钟信号CLKN以及时钟信号CLKP。作为非限制性示例,在图2中仅示出了2个反相器。当然,时钟缓冲器200可以包括更多个反相器。
图3示出了含有时钟控制的动态D触发器300。如图3所示,时钟信号CK通过时钟缓冲器301缓冲后向动态D触发器300提供时钟信号CLKN、CLKP。
图4A示出了根据本公开的一些实施例的动态D触发器的电路示意图。动态D触发器400可以包括第一锁存单元405和第二锁存单元404。在作为动态D触发器400的输入端的节点401处,第一锁存单元405可以接收输入数据;在作为第一锁存单元405的输出端的节点402处,第一锁存单元405可以将由第一锁存单元405锁存的数据传输到第二锁存单元404;在作为第二锁存单元404的输出端的节点403处,第二锁存单元404可以提供输出数据。
在图4A所示的实施例中,第一锁存单元405可以是传输门。如图4A所示,第一锁存单元405可以包括第三PMOS晶体管410和第三NMOS晶体管411,其中,第三PMOS晶体管410和第三NMOS晶体管411可以并联连接在动态D触发器400的输入端和第一锁存单元405的输出端之间。
如图4A所示,第三PMOS晶体管410的源极和第三NMOS晶体管411的源极可以连接在一起,以形成第一锁存单元405的输入端;第三PMOS晶体管410的漏极和第三NMOS晶体管411的漏极可以连接在一起,以形成第一锁存单元405的输出端。第三PMOS晶体管410的栅极可以由时钟信号CLKP控制,第三NMOS晶体管411的栅极可以由时钟信号CLKN控制。
当CLKN为低电平时,CLKP为高电平,第三PMOS晶体管410和第三NMOS晶体管411均处于非导通状态。此时,第一锁存单元405的输入端和输出端之间呈高阻状态,第一锁存单元405截止,节点401处的输入数据不能通过第一锁存单元405。当CLKN为高电平时,CLKP为低电平,第三PMOS晶体管410和第三NMOS晶体管411中的至少一个处于导通状态。此时,第一锁存单元405导通,节点401处的输入数据通过第一锁存单元405传输到节点402,改写节点402处的数据。
作为替代实施例,因为传输门可以是对称的,所以传输门的晶体管的源极和漏极可以互换。即,第三PMOS晶体管410的漏极和第三NMOS晶体管411的漏极可以连接在一起,以形成第一锁存单元405的输入端;第三PMOS晶体管410的源极和第三NMOS晶体管411的源极可以连接在一起,以形成第一锁存单元405的输出端。
但是,在一些情况下,例如当传输门的晶体管的源极和衬底连接在一起时,传输门的晶体管的源极和漏极不可互换。
在图4A所示的实施例中,第二锁存单元404可以是三态门。如图4A所示,第二锁存单元404可以包括第一PMOS晶体管406、第二PMOS晶体管407、第一NMOS晶体管408以及第二NMOS晶体管409,其中,第一PMOS晶体管406、第二PMOS晶体管407、第 一NMOS晶体管408以及第二NMOS晶体管409依次串联连接在电源VDD和地GND之间。
如图4A所示,第一PMOS晶体管406的源极可以连接至电源VDD,第二PMOS晶体管407的源极可以连接至第一PMOS晶体管406的漏极,第一NMOS晶体管408的漏极可以连接至第二PMOS晶体管407的漏极,第二NMOS晶体管409的漏极可以连接至第一NMOS晶体管408的源极,第二NMOS晶体管409的源极可以连接至地GND,其中,第二PMOS晶体管407的漏极和第一NMOS晶体管408的漏极可以连接在一起,以形成第二锁存单元404的输出端。第一PMOS晶体管406的栅极和第二NMOS晶体管409的栅极可以连接在一起,以形成第二锁存单元404的输入端。该输入端连接到第一锁存单元405的输出端,从而第一PMOS晶体管406的栅极和第二NMOS晶体管409的栅极可以由第一锁存单元405的输出控制。第二PMOS晶体管407的栅极可以由时钟信号CLKN控制,第一NMOS晶体管408的栅极可以由时钟信号CLKP控制。
当CLKN为低电平时,CLKP为高电平,第二PMOS晶体管407与第一NMOS晶体管408均处于导通状态。此时,第二锁存单元404处于导通状态,将节点402处的数据反相传输到节点403,以改写节点403处的数据。当CLKN为高电平时,CLKP为低电平,第二PMOS晶体管407与第一NMOS晶体管408均处于非导通状态。此时,第二锁存单元404呈高阻状态,在节点402处由第一锁存单元405输出的数据不能通过第二锁存单元404。由于节点402处的数据不能通过第二锁存单元404,节点402处的数据则可以被锁存在节点402,保持原来的状态,起到数据寄存的作用。
如图4A所示,动态D触发器400省去了输出驱动单元,动态D触发器400的输出端被配置为将来自第二锁存单元404的数据作为输出数据输出。由于第二锁存单元404的反相作用,因此动态D触发器400的在节点403处的输出数据与节点401处的输入数据反相。
相比于传统的包括输出驱动单元的动态D触发器,如图4A所示的动态D触发器省去了输出驱动单元的晶体管,仅需6个晶体管, 大幅度减小了芯片面积。由于减少了一级反相器输出级,功耗也会降低。该有利的技术效果同样适用于之后图4B和图6A-图6B所示的动态D触发器。
因为如图4A所示的动态D触发器省去了输出驱动单元,负载由三态门来驱动,所以特别适合于不需要大的驱动负载的情况。
图4B示出了根据本公开的一些实施例的动态D触发器的电路示意图。
在图4B所示的实施例中,第一锁存单元405可以是传输门。如图4B所示,第一锁存单元405可以包括第三PMOS晶体管410和第三NMOS晶体管411,其中,第三PMOS晶体管410和第三NMOS晶体管411可以并联连接在动态D触发器400的输入端和第一锁存单元405的输出端之间。
如图4B所示,第三PMOS晶体管410的源极和第三NMOS晶体管411的源极可以连接在一起,以形成第一锁存单元405的输入端;第三PMOS晶体管410的漏极和第三NMOS晶体管411的漏极可以连接在一起,以形成第一锁存单元405的输出端。第三PMOS晶体管410的栅极可以由时钟信号CLKP控制,第三NMOS晶体管411的栅极可以由时钟信号CLKN控制。
当CLKN为低电平时,CLKP为高电平,第三PMOS晶体管410和第三NMOS晶体管411均处于非导通状态。此时,第一锁存单元405的输入端和输出端之间呈高阻状态,第一锁存单元405截止,节点401处的输入数据不能通过第一锁存单元405。当CLKN为高电平时,CLKP为低电平,第三PMOS晶体管410和第三NMOS晶体管411中的至少一个处于导通状态。此时,第一锁存单元405导通,节点401处的输入数据通过第一锁存单元405传输到节点402,改写节点402处的数据。
作为替代实施例,因为传输门可以是对称的,所以传输门的晶体管的源极和漏极可以互换。即,第三PMOS晶体管410的漏极和第三NMOS晶体管411的漏极可以连接在一起以形成第一锁存单元405的输入端;第三PMOS晶体管410的源极和第三NMOS晶体管411的 源极可以连接在一起以形成第一锁存单元405的输出端。
但是,在一些情况下,例如当传输门的晶体管的源极和衬底连接在一起时,传输门的晶体管的源极和漏极不可互换。
在图4B所示的实施例中,第二锁存单元404可以是三态门。如图4B所示,第二锁存单元404可以包括第一PMOS晶体管406、第二PMOS晶体管407、第一NMOS晶体管408以及第二NMOS晶体管409,其中,第一PMOS晶体管406、第二PMOS晶体管407、第一NMOS晶体管408以及第二NMOS晶体管409依次串联连接在电源VDD和地GND之间。
如图4B所示,第一PMOS晶体管406的源极可以连接至电源VDD,第二PMOS晶体管407的源极可以连接至第一PMOS晶体管406的漏极,第一NMOS晶体管408的漏极可以连接至第二PMOS晶体管407的漏极,第二NMOS晶体管409的漏极可以连接至第一NMOS晶体管408的源极,第二NMOS晶体管409的源极可以连接至地GND,其中,第二PMOS晶体管407的漏极和第一NMOS晶体管408的漏极可以连接在一起,以形成第二锁存单元404的输出端。第二PMOS晶体管407的栅极和第一NMOS晶体管408的栅极可以连接在一起,以形成第二锁存单元404的输入端。该输入端连接到第一锁存单元405的输出端,从而第二PMOS晶体管407的栅极和第一NMOS晶体管408的栅极可以由第一锁存单元405的输出控制。第一PMOS晶体管406的栅极可以由时钟信号CLKN控制,第二NMOS晶体管409的栅极可以由时钟信号CLKP控制。
当CLKN为低电平时,CLKP为高电平,第一PMOS晶体管406与第二NMOS晶体管409均处于导通状态。此时,第二锁存单元404处于导通状态,将节点402的数据反相传输到节点403,以改写节点403的数据。当CLKN为高电平时,CLKP为低电平,第一PMOS晶体管406与第二NMOS晶体管409均处于非导通状态。此时,第二锁存单元404呈高阻状态,在节点402处由第一锁存单元405输出的数据不能通过第二锁存单元404。由于节点402处的数据不能通过第二锁存单元404,节点402处的数据则可以被锁存在节点402,保 持原来的状态,起到数据寄存的作用。
如图4B所示,动态D触发器400省去了输出驱动单元,动态D触发器400的输出端被配置为将来自第二锁存单元404的数据作为输出数据输出。由于第二锁存单元404的反相作用,因此动态D触发器400在节点403处的输出数据与节点401处的输入数据反相。
图4B所示的动态D触发器为图4A所示的动态D触发器的变体,区别在于第二锁存单元404中时钟控制的晶体管位置不同。
图5示出根据图4A和图4B所示的上升沿有效的动态D触发器的电路时序图。以下根据动态D触发器的工作原理结合图5进行具体说明。
如图5所示,当CK为低电平时,CLKP为低电平,CLKN为高电平。对于如图4A所示的动态D触发器,此时,第一锁存单元405处于导通状态,动态D触发器400的输入端的输入数据通过第一锁存单元405存储到节点402处。此时,第二锁存单元404中受时钟信号CLKN、CLKP控制的晶体管处于非导通状态,第二锁存单元404呈高阻状态,节点402处的数据不能通过第二锁存单元404。节点403处的数据可以被锁存在节点403处,保持原来的状态,起到数据寄存的作用。此时,动态D触发器400的输出保持原来的状态。
接下来,如图5所示,当CK的上升沿来临时,CLKP跳变为高电平,CLKN跳变为低电平。对于如图4A所示的动态D触发器,此时,第一锁存单元405处于非导通状态,输入端处的输入数据无法通过第一锁存单元405,节点402处的数据保持原来的状态。此时,第二锁存单元404中受时钟信号CLKN、CLKP控制的晶体管处于导通状态,第二锁存单元404导通,将节点402处的数据反相传输到节点403并且输出。由此可见,当时钟信号CK的上升沿来临时,动态D触发器的输出状态发生变化。由于第二锁存单元404的反相作用,因此动态D触发器400在节点403处的输出数据与动态D触发器400的在节点401处的输入数据反相。因此,如图5所示,在CK的上升沿来临时,当输入端D为1时,输出端QN跳变为0;当输入端D为0时,输出端QN跳变为1。
如图5所示,当CK为低电平时,CLKP为低电平,CLKN为高电平。对于如图4B所示的动态D触发器,此时,第一锁存单元405处于导通状态,动态D触发器400的输入端的输入数据通过第一锁存单元405存储到节点402处。此时,第二锁存单元404中受时钟信号CLKN、CLKP控制的晶体管处于非导通状态,第二锁存单元404呈高阻状态,节点402处的数据不能通过第二锁存单元404。节点403处的数据可以被锁存在节点403处,保持原来的状态,起到数据寄存的作用。此时,动态D触发器400的输出保持原来的状态。
接下来,如图5所示,当CK的上升沿来临时,CLKP跳变为高电平,CLKN跳变为低电平。对于如图4B所示的动态D触发器,此时,第一锁存单元405处于非导通状态,输入端处的输入数据无法通过第一锁存单元405,节点402处的数据保持原来的状态。此时,第二锁存单元404中受时钟信号CLKN、CLKP控制的晶体管处于导通状态,第二锁存单元404导通,将节点402处的数据反相传输到节点403并且输出。由此可见,当时钟信号CK的上升沿来临时,动态D触发器的输出状态发生变化。由于第二锁存单元404的反相作用,因此动态D触发器400的在节点403处的输出数据与动态D触发器400的在节点401处的输入数据反相。因此,如图5所示,在CK的上升沿来临时,当输入端D为1时,输出端QN跳变为0;当输入端D为0时,输出端QN跳变为1。
可以通过将动态D触发器的时钟控制信号互换位置来实现下降沿有效的动态D触发器。例如,对于如图4A所示的电路,第一锁存单元405的第三PMOS晶体管410的栅极改为由CLKN控制,第一锁存单元405的第三NMOS晶体管411的栅极改为由CLKP控制,第二锁存单元404的第二PMOS晶体管407的栅极改为由CLKP控制,第二锁存单元404的第一NMOS晶体管408的栅极改为由CLKN控制,所得到的作为变体的电路如图6A所示。对于如图4B所示的电路,第一锁存单元405的第三PMOS晶体管410的栅极改为由CLKN控制,第一锁存单元405的第三NMOS晶体管411的栅极改为由CLKP控制,第二锁存单元404的第一PMOS晶体管406的栅极改 为由CLKP控制,第二锁存单元404的第二NMOS晶体管409的栅极改为由CLKN控制,所得到的作为变体的电路如图6B所示。图7示出图6A和图6B所示的下降沿有效的动态D触发器的时序图。
如图7所示,当CK为高电平时,CLKP为高电平,CLKN为低电平。对于如图6A和图6B所示的动态D触发器,此时,第一锁存单元405处于导通状态,动态D触发器400的输入端的输入数据通过第一锁存单元405存储到节点402处。此时,第二锁存单元404中受时钟信号CLKN、CLKP控制的晶体管处于非导通状态,第二锁存单元404呈高阻状态,节点402处的数据不能通过第二锁存单元404。节点403处的数据可以被锁存在节点403处,保持原来的状态,起到数据寄存的作用。此时,动态D触发器400的输出保持原来的状态。
接下来,如图7所示,当CK的下降沿来临时,CLKP跳变为低电平,CLKN跳变为高电平。对于如图6A和图6B所示的动态D触发器,此时,第一锁存单元405处于非导通状态,输入端处的输入数据无法通过第一锁存单元405,节点402处的数据保持原来的状态。此时,第二锁存单元404中受时钟信号CLKN、CLKP控制的晶体管处于导通状态,第二锁存单元404导通,将节点402处的数据反相传输到节点403并且输出。由此可见,当时钟信号CK的下降沿来临时,动态D触发器的输出状态发生变化。由于第二锁存单元404的反相作用,因此动态D触发器400的在节点403处的输出数据与动态D触发器400的在节点401处的输入数据反相。因此,如图7所示,在CK的下降沿来临时,当输入端D为1时,输出端QN跳变为0;当输入端D为0时,输出端QN跳变为1。
图8A-图8D示出了根据本公开的另一些实施例的动态D触发器的电路示意图。与如图4A-图4B和图6A-图6B所示的包括作为传输门的第一锁存单元405和作为三态门的第二锁存单元404的动态D触发器不同,如图8A-图8D所示的电路中动态D触发器的第一锁存单元412和第二锁存单元404可以均为三态门。
图8A示出了根据本公开的一些实施例的动态D触发器的电路示意图。动态D触发器400可以包括第一锁存单元412和第二锁存单 元404。在作为动态D触发器400的输入端的节点401处,第一锁存单元412可以接收输入数据;在作为第一锁存单元412的输出端的节点402处,第一锁存单元412可以将由第一锁存单元412锁存的数据传输到第二锁存单元404;在作为第二锁存单元404的输出端的节点403处,第二锁存单元404可以提供输出数据。
在图8A所示的实施例中,第一锁存单元412可以是三态门。如图8A所示,第一锁存单元412可以包括第四PMOS晶体管413、第五PMOS晶体管414、第四NMOS晶体管415以及第五NMOS晶体管416,其中,第四PMOS晶体管413、第五PMOS晶体管414、第四NMOS晶体管415以及第五NMOS晶体管416依次串联连接在电源VDD和地GND之间。
如图8A所示,第四PMOS晶体管413的源极可以连接至电源VDD,第五PMOS晶体管414、的源极可以连接至第四PMOS晶体管413的漏极,第四NMOS晶体管415的漏极可以连接至第五PMOS晶体管414的漏极,第五NMOS晶体管416的漏极可以连接至第四NMOS晶体管415的源极,第五NMOS晶体管416的源极可以连接至地GND,其中,第五PMOS晶体管414的漏极和第四NMOS晶体管415的漏极可以连接在一起,以形成第一锁存单元412的输出端。第四PMOS晶体管413的栅极和第五NMOS晶体管416的栅极可以连接在一起,以形成第一锁存单元412的输入端,接收来自输入端的输入数据,从而第四PMOS晶体管413的栅极和第五NMOS晶体管416的栅极可以由输入数据控制。第五PMOS晶体管414的栅极可以由时钟信号CLKP控制,第四NMOS晶体管415的栅极可以由时钟信号CLKN控制。
当CLKN为低电平时,CLKP为高电平,第五PMOS晶体管414与第四NMOS晶体管415均处于非导通状态。此时,第一锁存单元412呈高阻状态,在节点401处的输入数据不能通过第一锁存单元412。当CLKN为高电平时,CLKP为低电平,第五PMOS晶体管414与第四NMOS晶体管415均处于导通状态。此时,第一锁存单元412处于导通状态,将节点401处的输入数据反相传输到节点402,以改 写节点402处的数据。
类似地,第二锁存单元404也可以是三态门。如图8A所示,第二锁存单元404可以包括第一PMOS晶体管406、第二PMOS晶体管407、第一NMOS晶体管408以及第二NMOS晶体管409,其中,第一PMOS晶体管406、第二PMOS晶体管407、第一NMOS晶体管408以及第二NMOS晶体管409依次串联连接在电源VDD和地GND之间。
如图8A所示,第一PMOS晶体管406的源极可以连接至电源VDD,第二PMOS晶体管407的源极可以连接至第一PMOS晶体管406的漏极,第一NMOS晶体管408的漏极可以连接至第二PMOS晶体管407的漏极,第二NMOS晶体管409的漏极可以连接至第一NMOS晶体管408的源极,第二NMOS晶体管409的源极可以连接至地GND,其中,第二PMOS晶体管407的漏极和第一NMOS晶体管408的漏极可以连接在一起,以形成第二锁存单元404的输出端。第一PMOS晶体管406的栅极和第二NMOS晶体管409的栅极可以连接在一起,以形成第二锁存单元404的输入端。该输入端连接到第一锁存单元412的输出端,从而第一PMOS晶体管406的栅极和第二NMOS晶体管409的栅极可以由第一锁存单元412的输出控制。第二PMOS晶体管407的栅极可以由时钟信号CLKN控制,第一NMOS晶体管408的栅极可以由时钟信号CLKP控制。
当CLKN为低电平时,CLKP为高电平,第二PMOS晶体管407与第一NMOS晶体管408均处于导通状态。此时,第二锁存单元404处于导通状态,将节点402处的数据反相传输到节点403,以改写节点403处的数据。当CLKN为高电平时,CLKP为低电平,第二PMOS晶体管407与第一NMOS晶体管408均处于非导通状态。此时,第二锁存单元404呈高阻状态,在节点402处由第一锁存单元412输出的数据不能通过第二锁存单元404。由于节点402处的数据不能通过第二锁存单元404,节点402处的数据则可以被锁存在节点402,保持原来的状态,起到数据寄存的作用。
如图8A所示,动态D触发器400省去了输出驱动单元,动态D 触发器400的输出端被配置为将来自第二锁存单元404的数据作为输出数据输出。由于第一锁存单元412和第二锁存单元404的反相作用,因此动态D触发器400在节点403处的输出数据与节点401处的输入数据同相。
相比于传统的包括输出驱动单元的动态D触发器,如图8A的动态D触发器省去了输出驱动单元的晶体管,仅需8个晶体管。虽然多于如图4A-图4B和图6A-图6B所示的动态D触发器的晶体管数量,但仍可大幅度减小芯片面积。由于减少了一级反相器输出级,功耗也会降低。该有利的技术效果同样适用于之后图8B-图8D所示的动态D触发器。
图8B示出了作为图8A所示的动态D触发器的变体的动态D触发器的电路示意图。
如图8B所示的动态D触发器的第一锁存单元412与如图8A所示的动态D触发器的第一锁存单元412相同,在此不再详述。
如图8B所示的动态D触发器的第二锁存单元404与如图8A所示的动态D触发器的第二锁存单元404不同之处在于对第一PMOS晶体管406、第二PMOS晶体管407、第一NMOS晶体管408以及第二NMOS晶体管409的栅极的控制。具体而言,在图8B所示的动态D触发器的第二锁存单元404中,第二PMOS晶体管407的栅极和第一NMOS晶体管408的栅极可以连接在一起,以形成第二锁存单元404的输入端,该输入端连接到第一锁存单元405的输出端,从而第二PMOS晶体管407的栅极和第一NMOS晶体管408的栅极可以由第一锁存单元405的输出控制;第一PMOS晶体管406的栅极可以由时钟信号CLKN控制,第二NMOS晶体管409的栅极可以由时钟信号CLKP控制。
当CLKN为低电平时,CLKP为高电平,第一PMOS晶体管406与第二NMOS晶体管409均处于导通状态。此时,第二锁存单元404处于导通状态,将节点402处的数据反相传输到节点403,以改写节点403处的数据。当CLKN为高电平时,CLKP为低电平,第一PMOS晶体管406与第二NMOS晶体管409均处于非导通状态。此时,第 二锁存单元404呈高阻状态,在节点402处由第一锁存单元412输出的数据不能通过第二锁存单元404。由于节点402处的数据不能通过第二锁存单元404,节点402处的数据则可以被锁存在节点402,保持原来的状态,起到数据寄存的作用。
类似于如图8A所示的动态D触发器,如图8B所示动态D触发器在节点403处的输出数据与节点401处的输入数据同相。
图8C示出了作为图8A所示的动态D触发器的变体的动态D触发器的电路示意图。
如图8C所示的动态D触发器的第二锁存单元404与如图8A所示的动态D触发器的第二锁存单元404相同,在此不再详述。
如图8C所示的动态D触发器的第一锁存单元412与如图8A所示的动态D触发器的第一锁存单元412不同之处在于对第四PMOS晶体管413、第五PMOS晶体管414、第四NMOS晶体管415以及第五NMOS晶体管416的栅极的控制。具体而言,在图8C所示的动态D触发器的第一锁存单元412中,第五PMOS晶体管414的栅极和第四NMOS晶体管415的栅极可以连接在一起,以形成第一锁存单元412的输入端,接收来自输入端的输入数据,从而第五PMOS晶体管414的栅极和第四NMOS晶体管415的栅极可以由输入数据控制;第四PMOS晶体管413的栅极可以由时钟信号CLKP控制,第五NMOS晶体管416的栅极可以由时钟信号CLKN控制。
当CLKN为低电平时,CLKP为高电平,第四PMOS晶体管413与第五NMOS晶体管416均处于非导通状态。此时,第一锁存单元412呈高阻状态,在节点401处的输入数据不能通过第一锁存单元412。当CLKN为高电平时,CLKP为低电平,第四PMOS晶体管413与第五NMOS晶体管416均处于导通状态。此时,第一锁存单元412处于导通状态,将节点401处的输入数据反相传输到节点402,以改写节点402处的数据。
类似于如图8A所示的动态D触发器,如图8C所示动态D触发器在节点403处的输出数据与节点401处的输入数据同相。
图8D示出了作为图8A所示的动态D触发器的变体的动态D触 发器的电路示意图。
如图8D所示的动态D触发器的第一锁存单元412与如图8C所示的动态D触发器的第一锁存单元412相同,在此不再详述。
如图8D所示的动态D触发器的第二锁存单元404与如图8B所示的动态D触发器的第二锁存单元404相同,在此不再详述。
类似于如图8A所示的动态D触发器,如图8D所示动态D触发器在节点403处的输出数据与节点401处的输入数据同相。
图9是图示根据图8A-图8D所示的动态D触发器的电路时序图。
在如图8A-图8D所示的动态D触发器中,当CK为低电平时,CLKP为低电平,CLKN为高电平。对于如图8A-图8D所示的动态D触发器,此时,第一锁存单元412处于导通状态,将动态D触发器400的输入端的输入数据反相并存储到节点402处。此时,第二锁存单元404中受时钟信号CLKN、CLKP控制的晶体管处于非导通状态,第二锁存单元404呈高阻状态,节点402处的数据不能通过第二锁存单元404。节点403处的数据可以被锁存在节点403处,保持原来的状态,起到数据寄存的作用。此时,动态D触发器400的输出保持原来的状态。
接下来,当CK的上升沿来临时,CLKP跳变为高电平,CLKN跳变为低电平。对于如图8A-图8D所示的动态D触发器,此时,第一锁存单元412呈高阻状态,输入端处的输入数据无法通过第一锁存单元412,节点402处的数据保持原来的状态。此时,第二锁存单元404中受时钟信号CLKN、CLKP控制的晶体管处于导通状态,第二锁存单元404导通并起到将其输入端数据反相的作用,将节点402处的数据反相传输到节点403并且输出。由此可见,当时钟信号CK的上升沿来临时,动态D触发器的输出状态发生变化。由于第一锁存单元412和第二锁存单元404的反相作用,因此动态D触发器400的在节点403处的输出数据与动态D触发器400的在节点401处的输入数据同相。因此,在CK的上升沿来临时,当输入端D为1时,输出端Q跳变为1;当输入端D为0时,输出端Q跳变为0。
可以通过将如图8A-图8D所示的上升沿有效的动态D触发器的时钟控制信号互换位置来实现下降沿有效的动态D触发器,类似于上文通过将如图4A-图4B所示的上升沿有效的动态D触发器的时钟控制信号互换位置来实现如图6A-图6B所示的下降沿有效的动态D触发器,在此不再详述。
图10示出包括多个并联连接的根据本公开的实施例所述的动态D触发器的寄存器。如图10所示,寄存器1000包括多个并联连接的动态D触发器1001、时钟缓冲器1002、时钟信号端CK、多个输入端D(n)和多个输出端Q(n),其中n代表n路输入/输出。多个输入端D(n)用于接收输入数据;多个输出端Q(n)用于输出数据;时钟信号端CK用于接收外部时钟信号;时钟缓冲器1002,用于基于外部时钟信号向多个动态D触发器提供控制时钟信号,控制时钟信号包括时钟信号CLKP和CLKN,时钟信号CLKP与时钟信号CLKN反相,多个动态D触发器1001并联连接在多个输入端和多个输出端之间,用于在控制时钟信号的控制下锁存和/或读出数据,其中,动态D触发器1001是根据本公开的实施例的结合图1-图9所述的动态D触发器。
通常独立的D触发器需要一个时钟缓冲器产生相互反相的时钟信号以控制该D触发器。如果为每个D触发器都配置独立的时钟缓冲器,则在需要使用多个D触发器的应用中,时钟缓冲器会耗费相当的芯片面积和功耗。为了解决这个问题,本公开中的一个时钟缓冲器同时驱动多个动态D触发器,可以有效地减小面积、降低功耗。本公开所要求保护的寄存器相比传统的寄存器进一步具有面积减小以及功率降低的优势。
本公开还提供一种比特币挖矿算法的装置,包括如上所述的动态D触发器或者如上所述的应用动态D触发器的寄存器。
在这里示出和讨论的所有示例中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。因此,示例性实施例的其它示例可以具有不同的值。
在说明书及权利要求中的词语“前”、“后”、“顶”、“底”、“之上”、 “之下”等,如果存在的话,用于描述性的目的而并不一定用于描述不变的相对位置。应当理解,这样使用的词语在适当的情况下是可互换的,使得在此所描述的本公开的实施例,例如,能够在与在此所示出的或另外描述的那些取向不同的其他取向上操作。
如在此所使用的,词语“示例性的”意指“用作示例、实例或说明”,而不是作为将被精确复制的“模型”。在此示例性描述的任意实现方式并不一定要被解释为比其它实现方式优选的或有利的。而且,本公开不受在上述技术领域、背景技术、发明内容或具体实施方式中所给出的任何所表述的或所暗示的理论所限定。
还应理解,“包括/包含”一词在本文中使用时,说明存在所指出的特征、整体、步骤、操作、单元和/或组件,但是并不排除存在或增加一个或多个其它特征、整体、步骤、操作、单元和/或组件以及/或者它们的组合。
另外,在本公开的描述中,术语“第一”、“第二”、“第三”等仅用于描述目的,而不能理解为指示或暗示相对重要性和顺序。
本领域技术人员应当意识到,在上述操作之间的边界仅仅是说明性的。多个操作可以结合成单个操作,单个操作可以分布于附加的操作中,并且操作可以在时间上至少部分重叠地执行。而且,另选的实施例可以包括特定操作的多个实例,并且在其他各种实施例中可以改变操作顺序。但是,其它的修改、变化和替换同样是可能的。因此,本说明书和附图应当被看作是说明性的,而非限制性的。
虽然已经通过示例对本公开的一些特定实施例进行了详细说明,但是本领域的技术人员应该理解,以上示例仅是为了进行说明,而不是为了限制本公开的范围。在此公开的各实施例可以任意组合,而不脱离本公开的精神和范围。本领域的技术人员还应理解,可以对实施例进行多种修改而不脱离本公开的范围和精神。本公开的范围由所附权利要求来限定。

Claims (19)

  1. 一种动态D触发器,包括:
    输入端,用于接收输入数据;
    输出端,用于提供输出数据来响应所述输入数据;
    时钟信号端,用于接收时钟信号;
    第一锁存单元,用于锁存来自输入端的输入数据并在时钟信号的控制下传输所述输入数据;以及
    第二锁存单元,用于锁存来自第一锁存单元的数据并在时钟信号的控制下传输第一锁存单元锁存的数据;
    其中,第一锁存单元和第二锁存单元依次串联连接在输入端和输出端之间;
    其中,输出端被配置为将来自第二锁存单元的数据作为输出数据输出,以及
    其中,所述输出数据与所述输入数据同相。
  2. 根据权利要求1所述的动态D触发器,其中,所述第二锁存单元为三态门。
  3. 根据权利要求2所述的动态D触发器,其中,所述第二锁存单元包括第一PMOS晶体管、第二PMOS晶体管、第一NMOS晶体管以及第二NMOS晶体管,所述第二锁存单元的所述第一PMOS晶体管、所述第二PMOS晶体管、所述第一NMOS晶体管以及所述第二NMOS晶体管依次串联连接在电源和地之间。
  4. 根据权利要求3所述的动态D触发器,其中,所述时钟信号包括第一时钟信号和第二时钟信号,所述第一时钟信号与所述第二时钟信号反相。
  5. 根据权利要求4所述的动态D触发器,其中,所述第一锁存单元 为传输门。
  6. 根据权利要求5所述的动态D触发器,其中,所述传输门包括第三PMOS晶体管和第三NMOS晶体管,所述第三PMOS晶体管和所述第三NMOS晶体管并联连接在所述动态D触发器的所述输入端和所述传输门的输出端之间。
  7. 根据权利要求6所述的动态D触发器,其中,
    所述第一锁存单元的第三PMOS晶体管的栅极和所述第二锁存单元的第一NMOS晶体管的栅极由所述第一时钟信号控制,
    所述第一锁存单元的第三NMOS晶体管的栅极和所述第二锁存单元的第二PMOS晶体管的栅极由所述第二时钟信号控制,以及
    所述第二锁存单元的所述第一PMOS晶体管的栅极和所述第二NMOS晶体管的栅极由所述第一锁存单元的输出控制。
  8. 根据权利要求6所述的动态D触发器,其中,
    所述第一锁存单元的第三PMOS晶体管的栅极和所述第二锁存单元的第二NMOS晶体管的栅极由所述第一时钟信号控制,
    所述第一锁存单元的第三NMOS晶体管的栅极和所述第二锁存单元的第一PMOS晶体管的栅极由所述第二时钟信号控制,以及
    所述第二锁存单元的所述第二PMOS晶体管的栅极和所述第一NMOS晶体管的栅极由所述第一锁存单元的输出控制。
  9. 根据权利要求4所述的动态D触发器,其中,所述第一锁存单元为三态门。
  10. 根据权利要求9所述的动态D触发器,其中,所述第一锁存单元包括第四PMOS晶体管、第五PMOS晶体管、第四NMOS晶体管以及第五NMOS晶体管,所述第一锁存单元的所述第四PMOS晶体管、所述第五PMOS晶体管、所述第四NMOS晶体管以及所述第五NMOS晶体 管依次串联连接在电源和地之间。
  11. 如权利要求10所述的动态D触发器,其中,
    所述第一锁存单元的所述第五PMOS晶体管的栅极和所述第二锁存单元的所述第一NMOS晶体管的栅极由所述第一时钟信号控制,
    所述第一锁存单元的所述第四NMOS晶体管的栅极和所述第二锁存单元的所述第二PMOS晶体管的栅极由所述第二时钟信号控制,
    所述第一锁存单元的所述第四PMOS晶体管的栅极和所述第五NMOS晶体管的栅极由所述输入数据控制,以及
    所述第二锁存单元的所述第一PMOS晶体管的栅极和所述第二NMOS晶体管的栅极由所述第一锁存单元的输出控制。
  12. 如权利要求10所述的动态D触发器,其中,
    所述第一锁存单元的所述第五PMOS晶体管的栅极和所述第二锁存单元的所述第二NMOS晶体管的栅极由所述第一时钟信号控制,
    所述第一锁存单元的所述第四NMOS晶体管的栅极和所述第二锁存单元的所述第一PMOS晶体管的栅极由所述第二时钟信号控制,
    所述第一锁存单元的所述第四PMOS晶体管的栅极和所述第五NMOS晶体管的栅极由所述输入数据控制,以及
    所述第二锁存单元的所述第二PMOS晶体管的栅极和所述第一NMOS晶体管的栅极由所述第一锁存单元的输出控制。
  13. 如权利要求10所述的动态D触发器,其中,
    所述第一锁存单元的所述第四PMOS晶体管的栅极和所述第二锁存单元的所述第一NMOS晶体管的栅极由所述第一时钟信号控制,
    所述第一锁存单元的所述第五NMOS晶体管的栅极和所述第二锁存单元的所述第二PMOS晶体管的栅极由所述第二时钟信号控制,
    所述第一锁存单元的所述第四NMOS晶体管的栅极和所述第五PMOS晶体管的栅极由所述输入数据控制,以及
    所述第二锁存单元的所述第一PMOS晶体管的栅极和所述第二 NMOS晶体管的栅极由所述第一锁存单元的输出控制。
  14. 如权利要求10所述的动态D触发器,其中,
    所述第一锁存单元的所述第四PMOS晶体管的栅极和所述第二锁存单元的所述第二NMOS晶体管的栅极由所述第一时钟信号控制,
    所述第一锁存单元的所述第五NMOS晶体管的栅极和所述第二锁存单元的所述第一PMOS晶体管的栅极由所述第二时钟信号控制,
    所述第一锁存单元的所述第四NMOS晶体管的栅极和所述第五PMOS晶体管的栅极由所述输入数据控制,以及
    所述第二锁存单元的所述第二PMOS晶体管的栅极和所述第一NMOS晶体管的栅极由所述第一锁存单元的输出控制。
  15. 根据权利要求4-14中任一项所述的动态D触发器,其中,所述动态D触发器还包括时钟缓冲器,所述时钟缓冲器用于基于外部时钟信号生成所述第一时钟信号和所述第二时钟信号,其中,所述第一时钟信号与所述外部时钟信号同相或反相。
  16. 一种寄存器,包括:
    多个输入端,用于接收输入数据;
    多个输出端,用于输出数据;
    时钟信号端,用于接收外部时钟信号;
    时钟缓冲器,用于基于所述外部时钟信号向多个动态D触发器提供控制时钟信号,所述控制时钟信号包括第一时钟信号及第二时钟信号,所述第一时钟信号与所述第二时钟信号反相,多个动态D触发器并联连接在所述多个输入端和所述多个输出端之间,用于在所述控制时钟信号的控制下执行锁存和读出数据中的至少一种,其中所述动态D触发器是根据权利要求1至14中的任一项所述的动态D触发器。
  17. 根据权利要求16所述的寄存器,其中,所述第一时钟信号与所述外部时钟信号同相或反相。
  18. 一种芯片,包括根据权利要求1至15中的任一项所述的动态D触发器或者根据权利要求16至17中的任一项所述的寄存器。
  19. 一种数据处理装置,用于执行数字货币加密算法,包括根据权利要求18所述的芯片。
PCT/CN2021/113230 2020-12-09 2021-08-18 动态d触发器、寄存器、芯片和数据处理装置 WO2022121365A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US18/032,896 US20230396242A1 (en) 2020-12-09 2021-08-18 Dynamic d flip-flop, register, chip, and data processing apparatus
KR1020237018359A KR20230096098A (ko) 2020-12-09 2021-08-18 동적 d 플립-플롭, 레지스터, 칩 및 데이터 처리 장치

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011428628.3 2020-12-09
CN202011428628.3A CN114629469A (zh) 2020-12-09 2020-12-09 动态d触发器、寄存器、芯片和执行比特币挖矿的装置

Publications (1)

Publication Number Publication Date
WO2022121365A1 true WO2022121365A1 (zh) 2022-06-16

Family

ID=80787986

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/113230 WO2022121365A1 (zh) 2020-12-09 2021-08-18 动态d触发器、寄存器、芯片和数据处理装置

Country Status (5)

Country Link
US (1) US20230396242A1 (zh)
KR (1) KR20230096098A (zh)
CN (1) CN114629469A (zh)
TW (1) TWI802964B (zh)
WO (1) WO2022121365A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117220649A (zh) * 2023-11-07 2023-12-12 浙江大学 用于高速八选一多路复用器的锁存器

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114563693B (zh) * 2022-04-28 2022-12-16 深圳比特微电子科技有限公司 基于半静态d触发器的支持可测性设计的电路

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180123568A1 (en) * 2016-10-28 2018-05-03 Qualcomm Incorporated Semi-data gated flop with low clock power/low internal power with minimal area overhead
CN110635786A (zh) * 2018-06-25 2019-12-31 北京嘉楠捷思信息技术有限公司 动态d触发器
CN110677141A (zh) * 2019-09-30 2020-01-10 杭州嘉楠耘智信息科技有限公司 动态d触发器、数据运算单元、芯片、算力板及计算设备
CN110708041A (zh) * 2019-09-30 2020-01-17 杭州嘉楠耘智信息科技有限公司 漏电反馈动态d触发器、数据运算单元、芯片、算力板及计算设备
CN111600577A (zh) * 2020-06-22 2020-08-28 深圳比特微电子科技有限公司 反相输出动态d触发器
CN214154471U (zh) * 2020-12-09 2021-09-07 深圳比特微电子科技有限公司 动态d触发器、寄存器、芯片和执行比特币挖矿的装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180123568A1 (en) * 2016-10-28 2018-05-03 Qualcomm Incorporated Semi-data gated flop with low clock power/low internal power with minimal area overhead
CN110635786A (zh) * 2018-06-25 2019-12-31 北京嘉楠捷思信息技术有限公司 动态d触发器
CN110677141A (zh) * 2019-09-30 2020-01-10 杭州嘉楠耘智信息科技有限公司 动态d触发器、数据运算单元、芯片、算力板及计算设备
CN110708041A (zh) * 2019-09-30 2020-01-17 杭州嘉楠耘智信息科技有限公司 漏电反馈动态d触发器、数据运算单元、芯片、算力板及计算设备
CN111600577A (zh) * 2020-06-22 2020-08-28 深圳比特微电子科技有限公司 反相输出动态d触发器
CN214154471U (zh) * 2020-12-09 2021-09-07 深圳比特微电子科技有限公司 动态d触发器、寄存器、芯片和执行比特币挖矿的装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117220649A (zh) * 2023-11-07 2023-12-12 浙江大学 用于高速八选一多路复用器的锁存器
CN117220649B (zh) * 2023-11-07 2024-04-16 浙江大学 用于高速八选一多路复用器的锁存器

Also Published As

Publication number Publication date
CN114629469A (zh) 2022-06-14
TW202201902A (zh) 2022-01-01
TWI802964B (zh) 2023-05-21
KR20230096098A (ko) 2023-06-29
US20230396242A1 (en) 2023-12-07

Similar Documents

Publication Publication Date Title
TWI807305B (zh) 反相輸出動態d觸發器
CN212726968U (zh) 反相输出动态d触发器、多路并联寄存器及比特币挖矿算法的装置
US6686787B2 (en) High-speed fully balanced differential flip-flop with reset
WO2022121365A1 (zh) 动态d触发器、寄存器、芯片和数据处理装置
CN214154471U (zh) 动态d触发器、寄存器、芯片和执行比特币挖矿的装置
US20070182453A1 (en) Circuit and method for outputting data in semiconductor memory apparatus
WO2020001167A1 (zh) 动态d触发器、数据运算单元、芯片、算力板及计算设备
US10878857B2 (en) Dynamic data storage element, and integrated circuit having the same
CN110635783A (zh) 正反馈动态d触发器
JPH11186882A (ja) Dフリップフロップ
US10453520B2 (en) Multi-port memory and semiconductor device
US7958418B2 (en) Circuit arrangement, electronic mechanism, electrical turn out and procedures for the operation of one circuit arrangement
JP2011250391A (ja) データ伝送回路及び伝送方法並びにデータ伝送回路を備えるメモリ装置
KR100896177B1 (ko) 고속 플립플롭
WO2023207351A1 (zh) 锁存器以及包括锁存器的处理器和计算装置
KR20090059580A (ko) 고성능 반도체 소자에 채용하기 적합한 플립플롭 회로
JP3573687B2 (ja) データ一時記憶装置
CN110635786A (zh) 动态d触发器
KR102643441B1 (ko) 반도체 장치의 클럭 생성 회로
KR20090006577A (ko) 반도체메모리소자의 입력 버퍼
CN110635785A (zh) 低漏电流动态d触发器
KR100585085B1 (ko) 고속 메모리 장치의 데이타 독출 경로에 구비되는 데이타전송 회로
KR20030058254A (ko) 클럭드 감지증폭기와 래치를 구비한 반도체 소자
US7764100B2 (en) DFLOP circuit for an externally asynchronous-internally clocked system
KR100885487B1 (ko) 반도체메모리소자의 입력장치

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: 21902074

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 18032896

Country of ref document: US

ENP Entry into the national phase

Ref document number: 20237018359

Country of ref document: KR

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21902074

Country of ref document: EP

Kind code of ref document: A1