US20220116027A1 - Dynamic d flip-flop, data operation unit, chip, hash board and computing device - Google Patents

Dynamic d flip-flop, data operation unit, chip, hash board and computing device Download PDF

Info

Publication number
US20220116027A1
US20220116027A1 US17/645,826 US202117645826A US2022116027A1 US 20220116027 A1 US20220116027 A1 US 20220116027A1 US 202117645826 A US202117645826 A US 202117645826A US 2022116027 A1 US2022116027 A1 US 2022116027A1
Authority
US
United States
Prior art keywords
dynamic
flip
data
flop
nmos transistor
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
US17/645,826
Inventor
Jieyao Liu
Nangeng ZHANG
Jingjie Wu
Shenghou MA
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canaan Creative Co Ltd
Original Assignee
Canaan Creative Co Ltd
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
Priority claimed from CN201810667322.XA external-priority patent/CN110635786A/en
Priority claimed from CN201810667264.0A external-priority patent/CN110635784A/en
Priority claimed from CN201810667321.5A external-priority patent/CN110635785A/en
Priority claimed from CN201810667038.2A external-priority patent/CN110633104A/en
Priority claimed from CN201810667040.XA external-priority patent/CN110635783A/en
Application filed by Canaan Creative Co Ltd filed Critical Canaan Creative Co Ltd
Priority to US17/645,826 priority Critical patent/US20220116027A1/en
Assigned to Canaan Creative Co., Ltd. reassignment Canaan Creative Co., Ltd. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: LIU, JIEYAO, WU, JINGJIE, ZHANG, Nangeng, MA, Shenghou
Publication of US20220116027A1 publication Critical patent/US20220116027A1/en
Pending legal-status Critical Current

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/356104Bistable circuits using complementary field-effect transistors
    • H03K3/356113Bistable circuits using complementary field-effect transistors using additional transistors in the input circuit
    • H03K3/356147Bistable circuits using complementary field-effect transistors using additional transistors in the input circuit using pass gates
    • H03K3/356156Bistable circuits using complementary field-effect transistors 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/356026Bistable circuits using additional transistors in the input circuit with synchronous operation
    • 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
    • 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/35Generators characterised by the type of circuit or by the means used for producing pulses by the use, as active elements, of bipolar semiconductor devices with more than two PN junctions, or more than three electrodes, or more than one electrode connected to the same conductivity region
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K3/00Circuits for generating electric pulses; Monostable, bistable or multistable circuits
    • H03K3/86Generating pulses by means of delay lines and not covered by the preceding subgroups

Definitions

  • the invention relates to a storage device controlled by a clock, and particularly to a dynamic D flip-flop, and a data operation unit, a chip, a hash board and a computing device using the same.
  • Virtual currency (e.g., BTC, ETH) is a digital currency in the form of P2P, and since launching of BTC system in 2009, the virtual currency has attracted widespread attention.
  • the system constructs a distributed shared general ledger based on a block chain, thereby ensuring safety, reliability and decentration of system operation.
  • BTC is an only correct hash obtained by computation to prove the proof of work, thereby obtaining bookkeeping package block weight, so an award is acquired, and this is the proof of work (Pow).
  • the D flip-flops have a very extensive application, and can be applied for registers, shift registers, frequency division and waveform generators of digital signals.
  • the D flip-flop has two inputs of data (Data) and clock (CLK), and one output (Q), and data can be written into or read from the D flip-flop.
  • CN1883116A discloses a positive feed-back D flip-flop circuit 106 shown in FIG. 1 , and the positive feed-back D flip-flop circuit 106 includes an analog switch 300 , an inverter 302 , an analog switch 304 , an inverter 306 , an inverter 308 , an analog switch 310 , an inverter 312 , and an analog switch 314 .
  • the analog switches 300 , 304 , 310 and 314 are analog switches using P-path/N-path transistors and perform switching operation by CKP whose phase is the same as CK and CKN whose phase is inverse to it.
  • the inverters 302 , 306 , 308 and 312 are CMOS inverters. As can be seen, a traditional D flip-flop needs substantially sixteen PMOS/NMOS transistors, which occupy a large area.
  • the process of mining is a production line for performing a large amount of repetitive logic computation, so several D flip-flops are required for storing data. Therefore, in the computing device with a large number of D flip-flops, disadvantages of an increased chip area, a slow operation speed, and difficulty in controlling electric leakage exist.
  • CN1883116A further discloses a dynamic D flip-flop circuit 102 shown in FIG. 2 , and the dynamic D flip-flop circuit 102 includes a first analog switch 200 , a first inverter 202 , a second analog switch 204 , and a second inverter 206 .
  • the dynamic D flip-flop circuit 102 configures a sample-and-hold circuit by the analog switches of the first and second analog switches 200 and 204 , and the parasitic capacitance such as the gate capacitance and the wiring capacitance of the first and second inverters 202 and 206 .
  • the inverter 202 and the analog switch 204 are separately configured, and have problems of difficulty in controlling the analog switch, and a slow access speed.
  • the invention provides a dynamic D flip-flop for a computing device, which can effectively reduce chip area, power consumption, and logic delay.
  • a dynamic D flip-flop comprising:
  • a first latch unit for transmitting data of the input terminal and latching the data under control of a clock signal
  • a second latch unit for latching data of the output terminal and inversely transmitting the data latched by the first latch unit under control of a clock signal
  • an output driving unit for inverting and outputting the data received from the second latch unit
  • the first latch unit, the second latch unit and the output driving unit being sequentially connected in series between the input terminal and the output terminal;
  • the second latch unit outputs in high level, low level and high impedance states by means of a single element under control of a clock signal.
  • the second latch unit is a three-state inverter.
  • the three-state inverter further comprises a first PMOS transistor, a second PMOS transistor, a first NMOS transistor and a second NMOS transistor sequentially connected in series between a power supply and ground.
  • the first PMOS transistor and the second NMOS transistor perform switch control according to a clock signal, and the clock signals of the first PMOS transistor and the second NMOS transistor are inverted.
  • the second PMOS transistor and the first NMOS transistor perform switch control according to a clock signal, and the clock signals of the second PMOS transistor and the first NMOS transistor are inverted.
  • the second latch unit uses low leakage devices and/or the output driving unit uses high threshold voltage devices.
  • the first NMOS transistor and the second NMOS transistor use low leakage current transistors.
  • the dynamic D flip-flop further comprises a positive feedback unit for inverting data of the output terminal and feeding the data to the output driving unit.
  • the positive feedback unit is an inverter connected in parallel to both ends of the output driving unit.
  • the first latch unit uses a delay unit.
  • the clock signal terminal is connected with a clock buffer using low threshold units.
  • dynamic D flip-flop a plurality of dynamic D flip-flops are connected in parallel.
  • dynamic D flip-flop of the invention can reduce approximately 30% of the chip area, thereby reducing production cost of the chip, and increasing product competitiveness.
  • dynamic D flip-flop can replace a D flip-flop in digital logic to simplify wiring process of the back-end layout, reduce design difficulty, and improve performance, thereby obtaining an advantage of area, and increasing practicability.
  • the invention further provides a data operation unit, comprising a control circuit, an operational circuit and a plurality of dynamic D flip-flops interconnected with each other, the plurality of dynamic D flip-flops being connected in series and/or in parallel, wherein the plurality of dynamic D flip-flops are any one of the dynamic D flip-flops.
  • the invention further provides a chip, comprising any one of the data operation units.
  • the invention further provides a hash board for a computing device, comprising any one of the chips.
  • the invention further provides a computing device, comprising a power supply board, a control board, a connection board, a radiator and a plurality of hash boards, the control board connected to the hash boards through the connection board, the radiator provided around the hash boards, and the power supply board configured to supply a power supply for the connection board, the control board, the radiator and the hash boards, wherein the hash board is any one of the hash boards.
  • Application of the computing device of the invention can better save the chip area, reduce production cost, and further reduce power consumption of the computing device.
  • connection herein includes any direct or indirect electrical connection means. Indirect electrical connection means comprises connection through other devices.
  • FIG. 1 is a schematic diagram of a positive feedback D flip-flop in the prior art.
  • FIG. 2 is a schematic diagram of a dynamic D flip-flop in the prior art.
  • FIG. 3 is a schematic diagram of a dynamic D flip-flop according to the invention.
  • FIG. 4A is a circuit diagram of a dynamic D flip-flop in one embodiment of the invention.
  • FIG. 4B is a circuit diagram of a dynamic D flip-flop in another embodiment of the invention.
  • FIG. 4C is a circuit diagram of a variable embodiment of the dynamic D flip-flop of FIG. 4A .
  • FIG. 4D is a circuit diagram of a variable embodiment of the dynamic D flip-flop of FIG. 4B .
  • FIG. 5A is an equivalent circuit diagram when the dynamic D flip-flop of the invention writes data.
  • FIG. 5B is an equivalent circuit diagram when data of the dynamic D flip-flop of the invention are in a holding state.
  • FIG. 6 is a timing diagram of the dynamic D flip-flop according to the invention.
  • FIG. 7 is a schematic diagram of a data operation unit according to the invention.
  • FIG. 8 is a schematic diagram of a chip according to the invention.
  • FIG. 9 is a schematic diagram of a hash board according to the invention.
  • FIG. 10 is a schematic diagram of a computing device according to the invention.
  • FIG. 3 is a schematic diagram of a dynamic D flip-flop according to the invention.
  • the dynamic D flip-flop 400 is formed of a first latch unit 401 , a second latch unit 402 and an output driving unit 403 .
  • the first latch unit 401 , the second latch unit 402 and the output driving unit 403 are sequentially connected in series between an input terminal 404 and an output terminal 405 of the dynamic D flip-flop 400 .
  • FIG. 4A is a circuit diagram of a dynamic D flip-flop in one embodiment of the invention.
  • a first latch unit 401 of the dynamic D flip-flop 500 is a transmission gate 501
  • the transmission gate 501 forms an analog switch under control of clock signals using parallel connection of a PMOS transistor 506 and a NMOS transistor 507 .
  • One end of the transmission gate 501 is connected to an input terminal 504 of the dynamic D flip-flop 500
  • a gate terminal 508 of the PMOS transistor 506 is controlled by a clock signal CLKP
  • a gate terminal 509 of the NMOS transistor 507 is controlled by a clock signal CLKN in opposite phase with CLKP.
  • a second latch unit 402 of the dynamic D flip-flop 500 is a three-state inverter 502 , and the three-state inverter 502 comprises PMOS transistors 510 , 511 and NMOS transistors 512 , 513 .
  • the NMOS transistors 512 , 513 are low leakage devices.
  • Gate electrodes of the PMOS transistor 511 and the NMOS transistor 512 are connected together to form an input terminal of the three-state inverter 502 .
  • a source electrode of the PMOS transistor 510 is connected to a power supply VDD, and a source electrode of the NMOS transistor 513 is connected to ground GND.
  • Drain electrodes of the PMOS transistor 511 and the NMOS transistor 512 are connected together to form an output terminal of the three-state inverter 502 .
  • a source electrode of the PMOS transistor 511 is connected to a drain electrode of the PMOS transistor 510
  • a source electrode of the NMOS transistor 512 is connected to a drain electrode of the NMOS transistor 513 .
  • a gate terminal 514 of the PMOS transistor 510 is controlled by the clock signal CLKN, and a gate terminal 515 of the NMOS transistor 513 is controlled by the clock signal CLKP as clock control terminals of the three-state inverter 502 .
  • the three-state inverter 502 functions to invert data of the input terminal, such that data at the first node 550 are inverted and outputted to the second node 551 to rewrite the data at the second node 551 .
  • an output driving unit 403 is an inverter 503 for inverting the data received from the three-state inverter 502 again, so as to form data in the same phase with the data of the input terminal 504 of the dynamic D flip-flop, and output the data through an output terminal 505 .
  • the output driving unit 403 also can improve driving capability of data, and the inverter 503 uses high threshold voltage devices.
  • a first latch unit 401 of a dynamic D flip-flop 600 is a transmission gate 601 , and the transmission gate 601 forms an analog switch under control of clock signals using parallel connection of a PMOS transistor 606 and a NMOS transistor 607 .
  • One end of the transmission gate 601 is connected to an input terminal 604 of the dynamic D flip-flop 600 , a gate terminal 608 of the PMOS transistor 606 is controlled by a clock signal CLKP, and a gate terminal 609 of the NMOS transistor 607 is controlled by a clock signal CLKN in opposite phase with CLKP.
  • a second latch unit 402 of the dynamic D flip-flop 600 is a three-state inverter 602 , and the three-state inverter 602 comprises PMOS transistors 610 , 611 and NMOS transistors 612 , 613 .
  • the NMOS transistors 612 , 613 are low leakage devices.
  • Gate electrodes of the PMOS transistor 611 and the NMOS transistor 613 are connected together to form an input terminal of the three-state inverter 602 .
  • a source electrode of the PMOS transistor 610 is connected to a power supply VDD, and a source electrode of the NMOS transistor 613 is connected to ground GND.
  • Drain electrodes of the PMOS transistor 611 and the NMOS transistor 612 are connected together to form an output terminal of the three-state inverter 602 .
  • a source electrode of the PMOS transistor 611 is connected to a drain electrode of the PMOS transistor 610
  • a source electrode of the NMOS transistor 612 is connected to a drain electrode of the NMOS transistor 613 .
  • a gate terminal 614 of the PMOS transistor 611 is controlled by the clock signal CLKN, and a gate terminal 615 of the NMOS transistor 612 is controlled by the clock signal CLKP as clock control terminals of the three-state inverter 602 .
  • the three-state inverter 602 functions to invert data of the input terminal, such that data at the first node 650 are inverted and outputted to the second node 651 to rewrite the data at the second node 651 .
  • an output driving unit 403 is an inverter 603 for inverting the data received from the three-state inverter 602 again, so as to form data in the same phase with the data of the input terminal 604 of the dynamic D flip-flop, and output the data through an output terminal 605 . Meanwhile, the output driving unit 403 also can improve driving capability of data, and the inverter 603 uses high threshold voltage devices.
  • FIG. 4C is a circuit diagram of a variable embodiment of the dynamic D flip-flop of FIG. 4A .
  • FIG. 4C differs from the embodiment of FIG. 4A in that the dynamic D flip-flop of FIG. 4C further comprises a positive feedback unit connected in parallel to both ends of the output driving unit 403 .
  • the positive feedback unit is, such as, an inverter 518 consisting of a PMOS transistor 516 and a NMOS transistor 517 , an input terminal of the inverter 518 is connected to an output terminal of the inverter 503 , i.e., the output terminal 505 of the positive feedback dynamic D flip-flop 500 , and an output terminal of the inverter 518 is connected to an input terminal of the inverter 503 .
  • an output of the inverter 503 is “0”
  • the PMOS transistor 516 is turned on to form a pull-up path to hold the data at the second node 551 to be “1”.
  • the inverters 518 and 503 form a data latch loop for better latching data of the output terminal 505 of the positive feedback dynamic D flip-flop at the second node 551 .
  • a feedback loop consisting of the PMOS transistor 516 and the NMOS transistor 517 shall have a worse current capacity than a normal reading and writing path, such that new data can be written correctly.
  • FIG. 4D is a circuit diagram of a variable embodiment of the dynamic D flip-flop of FIG. 4B .
  • FIG. 4D differs from the embodiment of FIG. 4B in that the dynamic D flip-flop of FIG. 4D further comprises a positive feedback unit connected in parallel to both ends of the output driving unit 403 .
  • the positive feedback unit is, such as, an inverter 618 consisting of a PMOS transistor 616 and a NMOS transistor 617 , an input terminal of the inverter 618 is connected to an output terminal of the inverter 603 , i.e., the output terminal 605 of the positive feedback dynamic D flip-flop 600 , and an output terminal of the inverter 618 is connected to an input terminal of the inverter 603 .
  • an output of the inverter 603 is “0”
  • the PMOS transistor 616 is turned on to form a pull-up path to hold the data at the second node 651 to be “1”.
  • the inverters 618 and 603 form a data latch loop for better latching data of the output terminal 605 of the positive feedback dynamic D flip-flop at the second node 651 .
  • a feedback loop consisting of the PMOS transistor 616 and the NMOS transistor 617 shall have a worse current capacity than a normal reading and writing path, such that new data can be written correctly.
  • the clock signals CLKP and CLKN can be directly connected to the clock signals, and also can be supplied by a clock buffer.
  • the first latch units 401 of the dynamic D flip-flops i.e., the transmission gates 501 and 601 , are designed by a delay unit. Speed is reduced by using high threshold devices, electric leakage and transmission speed are reduced by using a small size, and transmission speed is slowed by using layout of parasitic resistor and capacitor, such that holding time of the dynamic D flip-flops can be reduced.
  • the clock buffer of the dynamic D flip-flops is designed by a high speed unit, and comprises at least one cascaded clock buffer unit.
  • Driving capability is strengthened by using low threshold voltage devices and increasing size of the devices. Driving balance between loads is balanced, and an overall driving speed is improved using the scheme of reasonably distributing clock delay, thereby reducing holding time of the dynamic D flip-flops.
  • each of the dynamic D flip-flops comprises an input terminal and an output terminal, and receives external clock signals through the clock buffer, and the clock signals CLKP and CLKN are supplied to each dynamic D flip-flop after the clock signals are buffered.
  • FIG. 5A is an equivalent circuit diagram when the dynamic D flip-flop of the invention writes data
  • FIG. 5B is an equivalent circuit diagram when data of the dynamic D flip-flop of the invention are in a holding state.
  • the NMOS transistors 512 , 513 , 612 and 613 of the three-state inverters 502 and 602 are in a turn-on state to form pull-down paths to discharge the parasitic capacitor 100 , the second nodes 551 and 651 become a low level, and data are changed to “0”.
  • a leakage time t is:
  • data stored in the parasitic capacitor 100 can be held for about 5 ns. In other words, if the data stored in the parasitic capacitor are updated periodically during data holding, the circumstance of data error won't occur.
  • a working frequency of the current computing device is often above 500 MHz which far exceeds a desired data update frequency, such that the dynamic D flip-flop of the invention can be applied in the computing device, thereby reducing an error rate of an operation result of the computing device, and improving processing performance of a virtual currency operation device.
  • the electric charge stored on the parasitic capacitor 100 is gradually decreased, such that voltages at the second nodes 551 and 651 that shall be originally a high level are gradually reduced, and the voltages at the second nodes 551 and 651 , serving as inputs of the inverters 503 and 603 , cause the inverters 503 and 603 in a subthreshold turn-on state.
  • the inverters 503 and 603 in the subthreshold turn-on state form a direct current discharge path directly from the power supply VDD to the ground GND, causing a sharp increase in power consumption.
  • the dynamic D flip-flops 500 and 600 of the invention can effectively reduce the leakage current on the NMOS transistors 512 , 513 , 612 and 613 , and possibility of the inverters 503 and 603 working in a subthreshold interval, thereby reducing power consumption of the dynamic D flip-flops.
  • the manners of low leakage devices and high threshold voltage devices can be used separately, and also can be used simultaneously.
  • FIG. 6 is a timing diagram of the dynamic D flip-flop according to the invention.
  • CLKP when CLKP is a low level, and CLKN is a high level, the first latch unit is turned on, such that data of an input terminal D pass through the first latch unit, and the second latch unit is turned off to hold an output of the dynamic D flip-flop in the original state.
  • CLKP is jumped to a high level
  • CLKN is jumped to a low level
  • the first latch unit is turned off to cut off data input of the input terminal D
  • the second latch unit is turned on to output the held data of the input terminal D through an output terminal Q.
  • FIG. 7 is a schematic diagram of a data operation unit according to the invention.
  • the data operation unit 700 comprises a control circuit 701 , an operational circuit 702 and a plurality of dynamic D flip-flops 500 , 600 .
  • the control circuit 701 refreshes data in the dynamic D flip-flops 500 , 600 , and reads data from the dynamic D flip-flops 500 , 600 .
  • the operational circuit 702 performs operation on the read data, and then the operation result is outputted by the control circuit 701 .
  • FIG. 8 is a schematic diagram of a chip according to the invention.
  • the chip 800 comprises a control unit 801 and one or more data operation units 700 .
  • the control unit 801 inputs data into the data operation units 700 , and processes data outputted from the data operation units 700 .
  • each of the hash boards 900 comprises one or more chips 800 to perform hash operation on working data sent downstream from a mining pool.
  • FIG. 10 is a schematic diagram of a computing device according to the invention.
  • each of the computing devices 1000 comprises a connection board 1001 , a control board 1002 , a radiator 1003 , a power supply plate 1004 and one or more hash boards 900 .
  • the control board 1002 is connected to the hash boards 900 through the connection board 1001 , and the radiator 1003 is provided around the hash boards 900 .
  • the power supply plate 1004 is configured to supply a power supply to the connection board 1001 , the control board 1002 , the radiator 1003 and the hash boards 900 .
  • orientation or positional relationship indicated by the terms “transverse”, “longitudinal”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “in”, “out”, and the like is the orientation or positional relationship illustrated by the drawings, and is only for the purpose of describing the invention and simplifying the explanation, rather than indicating or suggesting that the referred device or element must have specific orientation, and be constructed and operated in specific orientation, so it shall not be understood as limits to the invention.
  • such dynamic D flip-flop can replace a D flip-flop in digital logic to simplify wiring process of the back-end layout, reduce design difficulty, and improve performance, thereby obtaining an advantage of area, and increasing practicability.

Abstract

The invention provides a dynamic D flip-flop, and a data operation unit, a chip, a hash board and a computing device using the same. The dynamic D flip-flop comprises: an input terminal, an output terminal and at least one clock signal terminal; a latch unit for latching data of the input terminal and inversely transmitting the data under control of a clock signal; and an output driving unit for inverting and outputting the data received from the latch unit; wherein the latch unit outputs in high level, low level and high impedance states by means of a single element under control of a clock signal. Therefore, the invention can effectively reduce chip area, power consumption, and logic delay.

Description

    CROSS-REFERENCE TO RELATED APPLICATIONS
  • This application is a Conitnuation application of U.S. patent application Ser. No. 17/045,276, filed on Oct. 5, 2020, and entitled “Dynamic D Flip-Flop, Data Operation Unit, Chip, Hash Board and Computing Device”, the entire contents of which are incorporated herein by reference.
  • This non-provisional application claims priority under 35 U.S.C. § 119(a) on Patent Application No. 201810667322.X, 201810667321.5, 201810667040.X, 201810667038.2, 201810667264.0 filed in P. R. China on Jun. 25, 2018, the entire contents of which are hereby incorporated by reference.
  • Some references, if any, which may include patents, patent applications and various publications, may be cited and discussed in the description of this invention. The citation and/or discussion of such references, if any, is provided merely to clarify the description of the present invention and is not an admission that any such reference is “prior art” to the invention described herein. All references listed, cited and/or discussed in this specification are incorporated herein by reference in their entireties and to the same extent as if each reference was individually incorporated by reference.
  • BACKGROUND OF THE INVENTION 1. Field of the Invention
  • The invention relates to a storage device controlled by a clock, and particularly to a dynamic D flip-flop, and a data operation unit, a chip, a hash board and a computing device using the same.
  • 2. Related Art
  • Virtual currency (e.g., BTC, ETH) is a digital currency in the form of P2P, and since launching of BTC system in 2009, the virtual currency has attracted widespread attention. The system constructs a distributed shared general ledger based on a block chain, thereby ensuring safety, reliability and decentration of system operation.
  • In terms of hash operation and proof of work, BTC is an only correct hash obtained by computation to prove the proof of work, thereby obtaining bookkeeping package block weight, so an award is acquired, and this is the proof of work (Pow).
  • Currently, except brute-force computation, no effective algorithm is still available for hash operation. Mining BTC starts from low cost hardware of CPU or GPU, but with population of BTC, the process of mining has a great change. Now, mining activities are transferred to field-programmable gate array (FPGA) or application specific integrated circuit (ASIC), and mining efficiency of such FPGA or ASIC mining mode is extremely high.
  • The D flip-flops have a very extensive application, and can be applied for registers, shift registers, frequency division and waveform generators of digital signals. The D flip-flop has two inputs of data (Data) and clock (CLK), and one output (Q), and data can be written into or read from the D flip-flop.
  • CN1883116A discloses a positive feed-back D flip-flop circuit 106 shown in FIG. 1, and the positive feed-back D flip-flop circuit 106 includes an analog switch 300, an inverter 302, an analog switch 304, an inverter 306, an inverter 308, an analog switch 310, an inverter 312, and an analog switch 314. The analog switches 300, 304, 310 and 314 are analog switches using P-path/N-path transistors and perform switching operation by CKP whose phase is the same as CK and CKN whose phase is inverse to it. The inverters 302, 306, 308 and 312 are CMOS inverters. As can be seen, a traditional D flip-flop needs substantially sixteen PMOS/NMOS transistors, which occupy a large area.
  • As for a new generation computing device for mining virtual digital currency, the process of mining is a production line for performing a large amount of repetitive logic computation, so several D flip-flops are required for storing data. Therefore, in the computing device with a large number of D flip-flops, disadvantages of an increased chip area, a slow operation speed, and difficulty in controlling electric leakage exist.
  • CN1883116A further discloses a dynamic D flip-flop circuit 102 shown in FIG. 2, and the dynamic D flip-flop circuit 102 includes a first analog switch 200, a first inverter 202, a second analog switch 204, and a second inverter 206. The dynamic D flip-flop circuit 102 configures a sample-and-hold circuit by the analog switches of the first and second analog switches 200 and 204, and the parasitic capacitance such as the gate capacitance and the wiring capacitance of the first and second inverters 202 and 206.
  • In the dynamic D flip-flop, the inverter 202 and the analog switch 204 are separately configured, and have problems of difficulty in controlling the analog switch, and a slow access speed.
  • SUMMARY OF THE INVENTION
  • To solve the above problems, the invention provides a dynamic D flip-flop for a computing device, which can effectively reduce chip area, power consumption, and logic delay.
  • To realize the object, the invention provides a dynamic D flip-flop, comprising:
  • an input terminal, an output terminal and at least one clock signal terminal;
  • a first latch unit for transmitting data of the input terminal and latching the data under control of a clock signal;
  • a second latch unit for latching data of the output terminal and inversely transmitting the data latched by the first latch unit under control of a clock signal; and
  • an output driving unit for inverting and outputting the data received from the second latch unit;
  • the first latch unit, the second latch unit and the output driving unit being sequentially connected in series between the input terminal and the output terminal;
  • wherein the second latch unit outputs in high level, low level and high impedance states by means of a single element under control of a clock signal.
  • In the dynamic D flip-flop, the second latch unit is a three-state inverter.
  • In the dynamic D flip-flop, the three-state inverter further comprises a first PMOS transistor, a second PMOS transistor, a first NMOS transistor and a second NMOS transistor sequentially connected in series between a power supply and ground.
  • In the dynamic D flip-flop, the first PMOS transistor and the second NMOS transistor perform switch control according to a clock signal, and the clock signals of the first PMOS transistor and the second NMOS transistor are inverted.
  • In the dynamic D flip-flop, the second PMOS transistor and the first NMOS transistor perform switch control according to a clock signal, and the clock signals of the second PMOS transistor and the first NMOS transistor are inverted.
  • In the dynamic D flip-flop, the second latch unit uses low leakage devices and/or the output driving unit uses high threshold voltage devices.
  • In the dynamic D flip-flop, the first NMOS transistor and the second NMOS transistor use low leakage current transistors.
  • In the dynamic D flip-flop, the dynamic D flip-flop further comprises a positive feedback unit for inverting data of the output terminal and feeding the data to the output driving unit.
  • In the dynamic D flip-flop, the positive feedback unit is an inverter connected in parallel to both ends of the output driving unit.
  • In the dynamic D flip-flop, the first latch unit uses a delay unit.
  • In the dynamic D flip-flop, the clock signal terminal is connected with a clock buffer using low threshold units.
  • In the dynamic D flip-flop, a plurality of dynamic D flip-flops are connected in parallel.
  • Application of the dynamic D flip-flop of the invention can reduce approximately 30% of the chip area, thereby reducing production cost of the chip, and increasing product competitiveness. In terms of expanding, such dynamic D flip-flop can replace a D flip-flop in digital logic to simplify wiring process of the back-end layout, reduce design difficulty, and improve performance, thereby obtaining an advantage of area, and increasing practicability.
  • To better realize the object, the invention further provides a data operation unit, comprising a control circuit, an operational circuit and a plurality of dynamic D flip-flops interconnected with each other, the plurality of dynamic D flip-flops being connected in series and/or in parallel, wherein the plurality of dynamic D flip-flops are any one of the dynamic D flip-flops.
  • To better realize the object, the invention further provides a chip, comprising any one of the data operation units.
  • To better realize the object, the invention further provides a hash board for a computing device, comprising any one of the chips.
  • To better realize the object, the invention further provides a computing device, comprising a power supply board, a control board, a connection board, a radiator and a plurality of hash boards, the control board connected to the hash boards through the connection board, the radiator provided around the hash boards, and the power supply board configured to supply a power supply for the connection board, the control board, the radiator and the hash boards, wherein the hash board is any one of the hash boards.
  • Application of the computing device of the invention can better save the chip area, reduce production cost, and further reduce power consumption of the computing device.
  • Hereinafter the invention is described in details with reference to the accompanying drawings and the detailed embodiments, but the invention is not limited thereto.
  • Specific terms are used in the specification and the subsequent claims to refer to specific components. Those skilled in the art shall understand that the manufacturer may give a different name to the same component. The specification and the subsequent claims distinguish components from each other by different functions of the components, instead of different names.
  • “Comprise” and “include” mentioned in the whole specification and the subsequent claims are open words, and shall be explained as “include but is not limited to”. In addition, “connection” herein includes any direct or indirect electrical connection means. Indirect electrical connection means comprises connection through other devices.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a schematic diagram of a positive feedback D flip-flop in the prior art.
  • FIG. 2 is a schematic diagram of a dynamic D flip-flop in the prior art.
  • FIG. 3 is a schematic diagram of a dynamic D flip-flop according to the invention.
  • FIG. 4A is a circuit diagram of a dynamic D flip-flop in one embodiment of the invention.
  • FIG. 4B is a circuit diagram of a dynamic D flip-flop in another embodiment of the invention.
  • FIG. 4C is a circuit diagram of a variable embodiment of the dynamic D flip-flop of FIG. 4A.
  • FIG. 4D is a circuit diagram of a variable embodiment of the dynamic D flip-flop of FIG. 4B.
  • FIG. 5A is an equivalent circuit diagram when the dynamic D flip-flop of the invention writes data.
  • FIG. 5B is an equivalent circuit diagram when data of the dynamic D flip-flop of the invention are in a holding state.
  • FIG. 6 is a timing diagram of the dynamic D flip-flop according to the invention.
  • FIG. 7 is a schematic diagram of a data operation unit according to the invention.
  • FIG. 8 is a schematic diagram of a chip according to the invention.
  • FIG. 9 is a schematic diagram of a hash board according to the invention.
  • FIG. 10 is a schematic diagram of a computing device according to the invention.
  • PREFERABLE EMBODIMENTS OF THE INVENTION
  • Hereinafter structure principle and working principle of the invention are described in detail with reference to the accompanying drawings.
  • FIG. 3 is a schematic diagram of a dynamic D flip-flop according to the invention. Referring to FIG. 3, the dynamic D flip-flop 400 is formed of a first latch unit 401, a second latch unit 402 and an output driving unit 403. The first latch unit 401, the second latch unit 402 and the output driving unit 403 are sequentially connected in series between an input terminal 404 and an output terminal 405 of the dynamic D flip-flop 400.
  • Embodiment One
  • FIG. 4A is a circuit diagram of a dynamic D flip-flop in one embodiment of the invention.
  • Referring to FIG. 3, as shown in FIG. 4A, a first latch unit 401 of the dynamic D flip-flop 500 is a transmission gate 501, and the transmission gate 501 forms an analog switch under control of clock signals using parallel connection of a PMOS transistor 506 and a NMOS transistor 507. One end of the transmission gate 501 is connected to an input terminal 504 of the dynamic D flip-flop 500, a gate terminal 508 of the PMOS transistor 506 is controlled by a clock signal CLKP, and a gate terminal 509 of the NMOS transistor 507 is controlled by a clock signal CLKN in opposite phase with CLKP. When CLKP is a high level, CLKN is a low level, the PMOS transistor 506 and the NMOS transistor 507 of the transmission gate 501 are turned off, the transmission gate 501 is closed, and data of the input terminal 504 cannot be transmitted to the other end of the transmission gate 501, such that data at a first node 550 of the other end of the transmission gate 501 are latched to hold an original state. When CLKP is a low level, CLKN is a high level, the PMOS transistor 506 and the NMOS transistor 507 of the transmission gate 501 are turned on, the transmission gate 501 is open, and data of the input terminal 504 can be transmitted to the other end of the transmission gate 501 through the transmission gate 501, such that data at the first node 550 are rewritten to the same data as that of the input terminal 504.
  • Referring to FIG. 3, as shown in FIG. 4A, a second latch unit 402 of the dynamic D flip-flop 500 is a three-state inverter 502, and the three-state inverter 502 comprises PMOS transistors 510, 511 and NMOS transistors 512, 513. The NMOS transistors 512, 513 are low leakage devices. Gate electrodes of the PMOS transistor 511 and the NMOS transistor 512 are connected together to form an input terminal of the three-state inverter 502. A source electrode of the PMOS transistor 510 is connected to a power supply VDD, and a source electrode of the NMOS transistor 513 is connected to ground GND. Drain electrodes of the PMOS transistor 511 and the NMOS transistor 512 are connected together to form an output terminal of the three-state inverter 502. A source electrode of the PMOS transistor 511 is connected to a drain electrode of the PMOS transistor 510, and a source electrode of the NMOS transistor 512 is connected to a drain electrode of the NMOS transistor 513.
  • A gate terminal 514 of the PMOS transistor 510 is controlled by the clock signal CLKN, and a gate terminal 515 of the NMOS transistor 513 is controlled by the clock signal CLKP as clock control terminals of the three-state inverter 502.
  • When CLKP is a low level, CLKN is a high level, the PMOS transistor 510 and the NMOS transistor 513 are both in a turn-off state, and the three-state inverter 502 is in a high impedance state, such that data at the first node 550 cannot pass through the three-state inverter 502, and data at a second node 551 are latched to hold the original state, thereby functioning as a data register.
  • When CLKP is a high level, CLKN is a low level, the PMOS transistor 510 and the NMOS transistor 513 are both in a turn-on state, the three-state inverter 502 functions to invert data of the input terminal, such that data at the first node 550 are inverted and outputted to the second node 551 to rewrite the data at the second node 551.
  • Referring to FIG. 3, as shown in FIG. 4A, an output driving unit 403 is an inverter 503 for inverting the data received from the three-state inverter 502 again, so as to form data in the same phase with the data of the input terminal 504 of the dynamic D flip-flop, and output the data through an output terminal 505. Meanwhile, the output driving unit 403 also can improve driving capability of data, and the inverter 503 uses high threshold voltage devices.
  • Embodiment Two
  • Referring to FIG. 3, as shown in FIG. 4B, a first latch unit 401 of a dynamic D flip-flop 600 is a transmission gate 601, and the transmission gate 601 forms an analog switch under control of clock signals using parallel connection of a PMOS transistor 606 and a NMOS transistor 607. One end of the transmission gate 601 is connected to an input terminal 604 of the dynamic D flip-flop 600, a gate terminal 608 of the PMOS transistor 606 is controlled by a clock signal CLKP, and a gate terminal 609 of the NMOS transistor 607 is controlled by a clock signal CLKN in opposite phase with CLKP. When CLKP is a high level, CLKN is a low level, the PMOS transistor 606 and the NMOS transistor 607 of the transmission gate 601 are turned off, the transmission gate is closed, and data of the input terminal 604 cannot be transmitted to the other end of the transmission gate 601, such that data at a first node 650 are latched to hold an original state. When CLKP is a low level, CLKN is a high level, the PMOS transistor 606 and the NMOS transistor 607 of the transmission gate 601 are turned on, the transmission gate 601 is open, and data of the input terminal 604 are outputted to the other end through the transmission gate 601, such that data at the first node 650 are rewritten to the same data as that of the input terminal 604.
  • Referring to FIG. 3, as shown in FIG. 4B, a second latch unit 402 of the dynamic D flip-flop 600 is a three-state inverter 602, and the three-state inverter 602 comprises PMOS transistors 610, 611 and NMOS transistors 612, 613. The NMOS transistors 612, 613 are low leakage devices. Gate electrodes of the PMOS transistor 611 and the NMOS transistor 613 are connected together to form an input terminal of the three-state inverter 602. A source electrode of the PMOS transistor 610 is connected to a power supply VDD, and a source electrode of the NMOS transistor 613 is connected to ground GND. Drain electrodes of the PMOS transistor 611 and the NMOS transistor 612 are connected together to form an output terminal of the three-state inverter 602. A source electrode of the PMOS transistor 611 is connected to a drain electrode of the PMOS transistor 610, and a source electrode of the NMOS transistor 612 is connected to a drain electrode of the NMOS transistor 613.
  • A gate terminal 614 of the PMOS transistor 611 is controlled by the clock signal CLKN, and a gate terminal 615 of the NMOS transistor 612 is controlled by the clock signal CLKP as clock control terminals of the three-state inverter 602.
  • When CLKP is a low level, CLKN is a high level, the PMOS transistor 611 and the NMOS transistor 612 are both in a turn-off state, and the three-state inverter 602 is in a high impedance state, such that data at the first node 650 cannot pass through the three-state inverter 602, and data at a second node 651 are latched to hold the original state, thereby functioning as a data register.
  • When CLKP is a high level, CLKN is a low level, the PMOS transistor 611 and the NMOS transistor 612 are both in a turn-on state, the three-state inverter 602 functions to invert data of the input terminal, such that data at the first node 650 are inverted and outputted to the second node 651 to rewrite the data at the second node 651.
  • Referring to FIG. 3, as shown in FIG. 4B, an output driving unit 403 is an inverter 603 for inverting the data received from the three-state inverter 602 again, so as to form data in the same phase with the data of the input terminal 604 of the dynamic D flip-flop, and output the data through an output terminal 605. Meanwhile, the output driving unit 403 also can improve driving capability of data, and the inverter 603 uses high threshold voltage devices.
  • Variable Embodiment One
  • FIG. 4C is a circuit diagram of a variable embodiment of the dynamic D flip-flop of FIG. 4A. Referring to FIG. 3, FIG. 4C differs from the embodiment of FIG. 4A in that the dynamic D flip-flop of FIG. 4C further comprises a positive feedback unit connected in parallel to both ends of the output driving unit 403. In this variable embodiment, the positive feedback unit is, such as, an inverter 518 consisting of a PMOS transistor 516 and a NMOS transistor 517, an input terminal of the inverter 518 is connected to an output terminal of the inverter 503, i.e., the output terminal 505 of the positive feedback dynamic D flip-flop 500, and an output terminal of the inverter 518 is connected to an input terminal of the inverter 503. When data at the second node 551 are “1”, an output of the inverter 503 is “0”, the PMOS transistor 516 is turned on to form a pull-up path to hold the data at the second node 551 to be “1”. When the data at the second node 551 are “0”, an output of the inverter 503 is “1”, the NMOS transistor 517 is turned on to form a pull-down path to hold the data at the second node 551 to be “0”. As can be seen, the inverters 518 and 503 form a data latch loop for better latching data of the output terminal 505 of the positive feedback dynamic D flip-flop at the second node 551. In addition, a feedback loop consisting of the PMOS transistor 516 and the NMOS transistor 517 shall have a worse current capacity than a normal reading and writing path, such that new data can be written correctly.
  • Variable Embodiment Two
  • FIG. 4D is a circuit diagram of a variable embodiment of the dynamic D flip-flop of FIG. 4B. Referring to FIG. 3, FIG. 4D differs from the embodiment of FIG. 4B in that the dynamic D flip-flop of FIG. 4D further comprises a positive feedback unit connected in parallel to both ends of the output driving unit 403. In this variable embodiment, the positive feedback unit is, such as, an inverter 618 consisting of a PMOS transistor 616 and a NMOS transistor 617, an input terminal of the inverter 618 is connected to an output terminal of the inverter 603, i.e., the output terminal 605 of the positive feedback dynamic D flip-flop 600, and an output terminal of the inverter 618 is connected to an input terminal of the inverter 603. When data at the second node 651 are “1”, an output of the inverter 603 is “0”, the PMOS transistor 616 is turned on to form a pull-up path to hold the data at the second node 651 to be “1”. When the data at the second node 651 are “0”, an output of the inverter 603 is “1”, the NMOS transistor 617 is turned on to form a pull-down path to hold the data at the second node 651 to be “0”. As can be seen, the inverters 618 and 603 form a data latch loop for better latching data of the output terminal 605 of the positive feedback dynamic D flip-flop at the second node 651. In addition, a feedback loop consisting of the PMOS transistor 616 and the NMOS transistor 617 shall have a worse current capacity than a normal reading and writing path, such that new data can be written correctly.
  • In addition, as for the dynamic D flip-flops shown in FIGS. 4A-4D, the clock signals CLKP and CLKN can be directly connected to the clock signals, and also can be supplied by a clock buffer. When the clock signals CLKP and CLKN are supplied by a clock buffer, the first latch units 401 of the dynamic D flip-flops, i.e., the transmission gates 501 and 601, are designed by a delay unit. Speed is reduced by using high threshold devices, electric leakage and transmission speed are reduced by using a small size, and transmission speed is slowed by using layout of parasitic resistor and capacitor, such that holding time of the dynamic D flip-flops can be reduced. Alternatively, the clock buffer of the dynamic D flip-flops is designed by a high speed unit, and comprises at least one cascaded clock buffer unit. Driving capability is strengthened by using low threshold voltage devices and increasing size of the devices. Driving balance between loads is balanced, and an overall driving speed is improved using the scheme of reasonably distributing clock delay, thereby reducing holding time of the dynamic D flip-flops.
  • It shall be noted that the dynamic D flip-flops shown in FIGS. 4A-4D also can be applied in multi-parallel connection. Each of the dynamic D flip-flops comprises an input terminal and an output terminal, and receives external clock signals through the clock buffer, and the clock signals CLKP and CLKN are supplied to each dynamic D flip-flop after the clock signals are buffered.
  • Hereinafter working principle of the dynamic D flip-flop according to the invention is explained in details.
  • FIG. 5A is an equivalent circuit diagram when the dynamic D flip-flop of the invention writes data, and FIG. 5B is an equivalent circuit diagram when data of the dynamic D flip-flop of the invention are in a holding state.
  • As shown in FIGS. 4A, 4B, 4C, 4D and 5A, when CLKP is a high level and CLKN is a low level, the transistors controlled by the clock in the three- state inverters 502 and 602 are turned on, and data transmitted from the transmission gates 501 and 601 are written into a parasitic capacitor 100. When input data are “0”, the PMOS transistors 510, 511, 610 and 611 of the three- state inverters 502 and 602 are in a turn-on state to form pull-up paths to charge the parasitic capacitor 100, the second nodes 551 and 651 become a high level, and data are changed to “1”. When input data are “1”, the NMOS transistors 512, 513, 612 and 613 of the three- state inverters 502 and 602 are in a turn-on state to form pull-down paths to discharge the parasitic capacitor 100, the second nodes 551 and 651 become a low level, and data are changed to “0”.
  • As shown in FIG. 5B, when the parasitic capacitor 100 is charged, if the three- state inverters 502 and 602 are in a high impedance state under control of the clock signals, the parasitic capacitor 100 is not further charged, and data at the second nodes 551 and 651 are in a holding state. On the other hand, due to influence of a leakage current of the NMOS transistors 512, 513, 612 and 613, electric charge on the parasitic capacitor 100 is gradually leaked, the high level on the second nodes 551 and 651 is inverted to a low level after a certain time length, and data registered in the parasitic capacitor 100 are changed from “1” to “0”, finally causing data error.
  • Assuming that the electric charge produced on the parasitic capacitor 100 is Q, a capacitance of the parasitic capacitor 100 is C, and a voltage at both ends of a polar plate of the parasitic capacitor is V,
  • Q = C * V .
  • If the leakage current is Ileakage, a leakage time t is:
  • t = Q / Ileakage = C * V / Ile akage .
  • In current production process, data stored in the parasitic capacitor 100 can be held for about 5 ns. In other words, if the data stored in the parasitic capacitor are updated periodically during data holding, the circumstance of data error won't occur. A working frequency of the current computing device is often above 500 MHz which far exceeds a desired data update frequency, such that the dynamic D flip-flop of the invention can be applied in the computing device, thereby reducing an error rate of an operation result of the computing device, and improving processing performance of a virtual currency operation device.
  • On the other hand, due to influence of leakage current, the electric charge stored on the parasitic capacitor 100 is gradually decreased, such that voltages at the second nodes 551 and 651 that shall be originally a high level are gradually reduced, and the voltages at the second nodes 551 and 651, serving as inputs of the inverters 503 and 603, cause the inverters 503 and 603 in a subthreshold turn-on state. The inverters 503 and 603 in the subthreshold turn-on state form a direct current discharge path directly from the power supply VDD to the ground GND, causing a sharp increase in power consumption.
  • Since the NMOS transistors 512, 513, 612 and 613 of the three- state inverters 502, 602 use the low leakage devices, and the inverters 503 and 603 use the high threshold voltage devices, the dynamic D flip- flops 500 and 600 of the invention can effectively reduce the leakage current on the NMOS transistors 512, 513, 612 and 613, and possibility of the inverters 503 and 603 working in a subthreshold interval, thereby reducing power consumption of the dynamic D flip-flops. The manners of low leakage devices and high threshold voltage devices can be used separately, and also can be used simultaneously.
  • In addition, as for the dynamic D flip-flops having the positive feedback unit, due to positive feedback function of the inverters 518 and 618, data stored on the parasitic capacitor 100 can be held normally till the data are rewritten by new data. Therefore, it is unnecessary to periodically update the data stored on the parasitic capacitor during data holding, and the circumstance of data error also won't occur.
  • FIG. 6 is a timing diagram of the dynamic D flip-flop according to the invention. As shown in FIG. 6, when CLKP is a low level, and CLKN is a high level, the first latch unit is turned on, such that data of an input terminal D pass through the first latch unit, and the second latch unit is turned off to hold an output of the dynamic D flip-flop in the original state. When a rising edge of CLKP comes, CLKP is jumped to a high level, and CLKN is jumped to a low level, the first latch unit is turned off to cut off data input of the input terminal D, and the second latch unit is turned on to output the held data of the input terminal D through an output terminal Q. As can be seen, when variation of states of the output terminal of the dynamic D flip-flop in the invention occurs as the rising edge of the clock signal CLKP comes, CLKP is a high level, and CLKN is a low level, and an output state is held unchanged.
  • The invention further provides a data operation unit, and FIG. 7 is a schematic diagram of a data operation unit according to the invention. As shown in FIG. 7, the data operation unit 700 comprises a control circuit 701, an operational circuit 702 and a plurality of dynamic D flip- flops 500, 600. The control circuit 701 refreshes data in the dynamic D flip- flops 500, 600, and reads data from the dynamic D flip- flops 500, 600. The operational circuit 702 performs operation on the read data, and then the operation result is outputted by the control circuit 701.
  • The invention further provides a chip, and FIG. 8 is a schematic diagram of a chip according to the invention. As shown in FIG. 8, the chip 800 comprises a control unit 801 and one or more data operation units 700. The control unit 801 inputs data into the data operation units 700, and processes data outputted from the data operation units 700.
  • The invention further provides a hash board, and FIG. 9 is a schematic diagram of a hash board according to the invention. As shown in FIG. 9, each of the hash boards 900 comprises one or more chips 800 to perform hash operation on working data sent downstream from a mining pool.
  • The invention further provides a computing device, and the computing device is preferably configured to operation of mining virtual digital currency. Of course, the computing device also can be configured to any other massive operations, and FIG. 10 is a schematic diagram of a computing device according to the invention. As shown in FIG. 10, each of the computing devices 1000 comprises a connection board 1001, a control board 1002, a radiator 1003, a power supply plate 1004 and one or more hash boards 900. The control board 1002 is connected to the hash boards 900 through the connection board 1001, and the radiator 1003 is provided around the hash boards 900. The power supply plate 1004 is configured to supply a power supply to the connection board 1001, the control board 1002, the radiator 1003 and the hash boards 900.
  • It shall be noted that in the invention, orientation or positional relationship indicated by the terms “transverse”, “longitudinal”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “in”, “out”, and the like is the orientation or positional relationship illustrated by the drawings, and is only for the purpose of describing the invention and simplifying the explanation, rather than indicating or suggesting that the referred device or element must have specific orientation, and be constructed and operated in specific orientation, so it shall not be understood as limits to the invention.
  • Although the embodiments of the invention have been disclosed above, they can be fully applied to various fields suitable for the invention but not as limits to those listed in the specification and the embodiments. For those skilled in the art, additional modifications can be easily implemented, so without departing from general concepts defined by the appended claims and equivalent scopes, the invention is not limited to specific details and figures illustrated and described here.
  • In other words, the invention also may have various other embodiments, and those skilled in the art shall make various corresponding modifications and variations according to the invention without departing from spirit and essence of the invention, but these corresponding modifications and variations shall belong to the scope protected by the appended claims of the invention.
  • INDUSTRIAL APPLICABILITY
  • Application of the dynamic D flip-flop, and a data operation unit, a chip, a hash board and a computing device using the same of the invention has the following advantageous effects:
  • can reduce approximately 30% of the chip area, power consumption and logic delay, thereby reducing production cost of the chip, and increasing product competitiveness. In terms of expanding, such dynamic D flip-flop can replace a D flip-flop in digital logic to simplify wiring process of the back-end layout, reduce design difficulty, and improve performance, thereby obtaining an advantage of area, and increasing practicability.

Claims (27)

What is claimed is:
1. A dynamic latch cell, comprising:
an input terminal, an output terminal and at least one clock signal terminal;
a latch unit for latching data of the input terminal and inversely transmitting the data under control of a clock signal; and
an output driving unit for inverting and outputting the data received from the latch unit;
the latch unit and the output driving unit being sequentially connected in series between the input terminal and the output terminal;
wherein the latch unit outputs in high level, low level and high impedance states by means of a single element under control of a clock signal.
2. The dynamic latch cell according to claim 1, wherein the latch unit is a three-state inverter.
3. The dynamic latch cell according to claim 2, wherein the three-state inverter further comprises a first PMOS transistor, a second PMOS transistor, a first NMOS transistor and a second NMOS transistor sequentially connected in series between a power supply and ground.
4. The dynamic latch cell according to claim 3, wherein the first PMOS transistor and the second NMOS transistor perform switch control according to a clock signal, and the clock signals of the first PMOS transistor and the second NMOS transistor are inverted.
5. The dynamic latch cell according to claim 3, wherein the second PMOS transistor and the first NMOS transistor perform switch control according to a clock signal, and the clock signals of the second PMOS transistor and the first NMOS transistor are inverted.
6. The dynamic latch cell according to claim 1, wherein the latch unit uses low leakage devices and/or the output driving unit uses high threshold voltage devices.
7. The dynamic latch cell according to claim 3, wherein the first NMOS transistor and the second NMOS transistor use low leakage current transistors.
8. The dynamic latch cell according to claim 1, further comprising a positive feedback unit for inverting data of the output terminal and feeding the data to the output driving unit.
9. The dynamic latch cell according to claim 8, wherein the positive feedback unit is an inverter connected in antiparallel to both ends of the output driving unit.
10. A dynamic D flip-flop, comprising two dynamic latch cells according to claim 1, wherein the two dynamic latch cells are connected in series.
11. A data operation unit, comprising a control circuit, an operational circuit and a plurality of dynamic D flip-flops interconnected with each other, the plurality of dynamic D flip-flops being connected in series and/or in parallel, wherein the plurality of dynamic D flip-flops are the dynamic D flip-flop according to claim 10.
12. A chip, comprising the data operation unit according to claim 11.
13. A hash board for a computing device, comprising the chip according to claim 12.
14. A computing device, comprising a power supply board, a control board, a connection board, a radiator and a plurality of hash boards, the control board connected to the hash boards through the connection board, the radiator provided around the hash boards, and the power supply board configured to supply a power supply for the connection board, the control board, the radiator and the hash boards, wherein the hash board is the hash board according to claim 13.
15. A dynamic D flip-flop, comprising:
an input terminal, an output terminal and at least one clock signal terminal;
a first latch unit for transmitting data of the input terminal and latching the data under control of a clock signal;
a second latch unit for latching data of the output terminal and inversely transmitting the data latched by the first latch unit under control of a clock signal; and
the first latch unit, the second latch unit being sequentially connected in series between the input terminal and the output terminal;
wherein the second latch unit outputs in high level, low level and high impedance states by means of a single element under control of a clock signal;
the data output by the output terminal is inverse to the data input from the input terminal.
16. The dynamic D flip-flop according to claim 15, wherein the second latch unit is a three-state inverter.
17. The dynamic D flip-flop according to claim 16, wherein the three-state inverter further comprises a first PMOS transistor, a second PMOS transistor, a first NMOS transistor and a second NMOS transistor sequentially connected in series between a power supply and ground.
18. The dynamic D flip-flop according to claim 17, wherein the first PMOS transistor and the second NMOS transistor perform switch control according to a clock signal, and the clock signals of the first PMOS transistor and the second NMOS transistor are inverted.
19. The dynamic D flip-flop according to claim 17, wherein the second PMOS transistor and the first NMOS transistor perform switch control according to a clock signal, and the clock signals of the second PMOS transistor and the first NMOS transistor are inverted.
20. The dynamic D flip-flop according to claim 17, wherein the first NMOS transistor and the second NMOS transistor use low leakage current transistors.
21. The dynamic D flip-flop according to claim 15, wherein the first latch unit uses a delay unit.
22. The dynamic D flip-flop according to claim 21, wherein the clock signal terminal is connected with a clock buffer using low threshold units.
23. The dynamic D flip-flop according to claim 15, wherein a plurality of dynamic D flip-flops are connected in parallel.
24. A data operation unit, comprising a control circuit, an operational circuit and a plurality of dynamic D flip-flops interconnected with each other, the plurality of dynamic D flip-flops being connected in series and/or in parallel, wherein the plurality of dynamic D flip-flops are the dynamic D flip-flop according to claim 15.
25. A chip, comprising the data operation unit according to claim 24.
26. A hash board for a computing device, comprising the chip according to claim 25.
27. A computing device, comprising a power supply board, a control board, a connection board, a radiator and a plurality of hash boards, the control board connected to the hash boards through the connection board, the radiator provided around the hash boards, and the power supply board configured to supply a power supply for the connection board, the control board, the radiator and the hash boards, wherein the hash board is the hash board according to claim 26.
US17/645,826 2018-06-25 2021-12-23 Dynamic d flip-flop, data operation unit, chip, hash board and computing device Pending US20220116027A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/645,826 US20220116027A1 (en) 2018-06-25 2021-12-23 Dynamic d flip-flop, data operation unit, chip, hash board and computing device

Applications Claiming Priority (13)

Application Number Priority Date Filing Date Title
CN201810667038.2 2018-06-25
CN201810667322.X 2018-06-25
CN201810667322.XA CN110635786A (en) 2018-06-25 2018-06-25 Dynamic D flip-flop
CN201810667321.5 2018-06-25
CN201810667040.X 2018-06-25
CN201810667264.0A CN110635784A (en) 2018-06-25 2018-06-25 Hold-free dynamic D flip-flop
CN201810667321.5A CN110635785A (en) 2018-06-25 2018-06-25 Low leakage current dynamic D trigger
CN201810667264.0 2018-06-25
CN201810667038.2A CN110633104A (en) 2018-06-25 2018-06-25 Multi-channel parallel register
CN201810667040.XA CN110635783A (en) 2018-06-25 2018-06-25 Positive feedback dynamic D trigger
PCT/CN2019/085893 WO2020001167A1 (en) 2018-06-25 2019-05-07 Dynamic d flip-flop, data operation unit, chip, hash board and computing device
US202017045276A 2020-10-05 2020-10-05
US17/645,826 US20220116027A1 (en) 2018-06-25 2021-12-23 Dynamic d flip-flop, data operation unit, chip, hash board and computing device

Related Parent Applications (2)

Application Number Title Priority Date Filing Date
US17/045,276 Continuation US11251781B2 (en) 2018-06-25 2019-05-07 Dynamic D flip-flop, data operation unit, chip, hash board and computing device
PCT/CN2019/085893 Continuation WO2020001167A1 (en) 2018-06-25 2019-05-07 Dynamic d flip-flop, data operation unit, chip, hash board and computing device

Publications (1)

Publication Number Publication Date
US20220116027A1 true US20220116027A1 (en) 2022-04-14

Family

ID=68986003

Family Applications (2)

Application Number Title Priority Date Filing Date
US17/045,276 Active US11251781B2 (en) 2018-06-25 2019-05-07 Dynamic D flip-flop, data operation unit, chip, hash board and computing device
US17/645,826 Pending US20220116027A1 (en) 2018-06-25 2021-12-23 Dynamic d flip-flop, data operation unit, chip, hash board and computing device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US17/045,276 Active US11251781B2 (en) 2018-06-25 2019-05-07 Dynamic D flip-flop, data operation unit, chip, hash board and computing device

Country Status (4)

Country Link
US (2) US11251781B2 (en)
EP (1) EP3813260A4 (en)
CA (1) CA3098955C (en)
WO (1) WO2020001167A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110706731A (en) * 2019-09-30 2020-01-17 杭州嘉楠耘智信息科技有限公司 Electric leakage compensation dynamic register, data arithmetic unit, chip, force calculation board and computing equipment
CN111612622B (en) * 2020-05-20 2021-03-23 深圳比特微电子科技有限公司 Circuit and method for performing a hashing algorithm
CN113472323B (en) * 2021-08-11 2023-06-23 安徽大学 D trigger circuit with strong latch structure
US20230409073A1 (en) * 2022-06-21 2023-12-21 Sehat Sutardja Ultra-low power d flip-flop with reduced clock load

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4629909A (en) * 1984-10-19 1986-12-16 American Microsystems, Inc. Flip-flop for storing data on both leading and trailing edges of clock signal
US6198324B1 (en) * 1998-11-25 2001-03-06 Nanopower Technologies, Inc. Flip flops
US8994415B1 (en) * 2013-03-01 2015-03-31 Suvolta, Inc. Multiple VDD clock buffer
US20170201240A1 (en) * 2016-01-11 2017-07-13 Semiconductor Manufacturing International (Shanghai) Corporation D flip-flop and signal driving method
US20180019736A1 (en) * 2016-07-14 2018-01-18 Samsung Electronics Co., Ltd. Flip-flop including 3-state inverter
US10381758B1 (en) * 2018-03-22 2019-08-13 Deep In The Mines LLC Breakout board
US20190310691A1 (en) * 2018-04-06 2019-10-10 Michael Ahn Crypto currency mining system capable of producing hot water
US10622979B2 (en) * 2018-08-20 2020-04-14 Texas Instruments Incorporated Delay cell

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6563356B2 (en) * 1999-10-19 2003-05-13 Honeywell International Inc. Flip-flop with transmission gate in master latch
US6462596B1 (en) * 2000-06-23 2002-10-08 International Business Machines Corporation Reduced-transistor, double-edged-triggered, static flip flop
EP1696564A1 (en) 2003-11-20 2006-08-30 Advantest Corporation Variable delay circuit
CN101079614A (en) 2007-06-18 2007-11-28 清华大学 Low power consumption clock swing range D trigger
US7932762B2 (en) 2008-12-18 2011-04-26 Lsi Corporation Latch and DFF design with improved soft error rate and a method of operating a DFF
CN104270151B (en) 2014-09-22 2017-05-03 电子科技大学 Output time delay circuit for production line analog-digital converter
CN104333351B (en) 2014-10-13 2017-02-15 东南大学 High-speed master-slave D flip-flop with reset structure
CN107222187B (en) 2017-04-18 2020-08-14 宁波大学 Short pulse type D trigger based on FinFET device
CN208608968U (en) 2018-06-25 2019-03-15 北京嘉楠捷思信息技术有限公司 Positive feedback dynamic D trigger, and data operation unit, chip, force calculation board and computing equipment using positive feedback dynamic D trigger
CN208608967U (en) 2018-06-25 2019-03-15 北京嘉楠捷思信息技术有限公司 Hold-free dynamic D trigger, and data operation unit, chip, force calculation board and computing equipment using hold-free dynamic D trigger
CN208608970U (en) 2018-06-25 2019-03-15 北京嘉楠捷思信息技术有限公司 Dynamic D trigger, and data operation unit, chip, force calculation board and computing equipment using dynamic D trigger
CN208608969U (en) 2018-06-25 2019-03-15 北京嘉楠捷思信息技术有限公司 Low-leakage-current dynamic D trigger, and data operation unit, chip, force calculation board and computing equipment using same
CN208861273U (en) 2018-06-25 2019-05-14 北京嘉楠捷思信息技术有限公司 Multi-path parallel register, and data operation unit, chip, force calculation board and calculation equipment using same

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4629909A (en) * 1984-10-19 1986-12-16 American Microsystems, Inc. Flip-flop for storing data on both leading and trailing edges of clock signal
US6198324B1 (en) * 1998-11-25 2001-03-06 Nanopower Technologies, Inc. Flip flops
US8994415B1 (en) * 2013-03-01 2015-03-31 Suvolta, Inc. Multiple VDD clock buffer
US20170201240A1 (en) * 2016-01-11 2017-07-13 Semiconductor Manufacturing International (Shanghai) Corporation D flip-flop and signal driving method
US20180019736A1 (en) * 2016-07-14 2018-01-18 Samsung Electronics Co., Ltd. Flip-flop including 3-state inverter
US10381758B1 (en) * 2018-03-22 2019-08-13 Deep In The Mines LLC Breakout board
US20190310691A1 (en) * 2018-04-06 2019-10-10 Michael Ahn Crypto currency mining system capable of producing hot water
US10622979B2 (en) * 2018-08-20 2020-04-14 Texas Instruments Incorporated Delay cell

Also Published As

Publication number Publication date
US20210167761A1 (en) 2021-06-03
EP3813260A4 (en) 2022-03-23
EP3813260A1 (en) 2021-04-28
US11251781B2 (en) 2022-02-15
CA3098955C (en) 2024-02-13
WO2020001167A1 (en) 2020-01-02
CA3098955A1 (en) 2020-01-02

Similar Documents

Publication Publication Date Title
US20220116027A1 (en) Dynamic d flip-flop, data operation unit, chip, hash board and computing device
US5764089A (en) Dynamic latching device
CN105471410B (en) Flip-flop with low clock power
US8004908B2 (en) Double edge triggered flip-flop circuit
CN105471412B (en) Integrated clock gating cell using low area and low power latches
CN110635783A (en) Positive feedback dynamic D trigger
US20090309641A1 (en) Dual mode edge triggered flip-flop
US20080074151A1 (en) Dual-edge-triggered, clock-gated logic circuit and method
KR20090099736A (en) Pulse-based flip-flop having a scan input signal
CN110311655A (en) Hold-free dynamic D trigger, data processing unit, chip, force calculation board and computing equipment
US20230084175A1 (en) Flip-flop, master-slave flip-flop, and operating method thereof
CN114567297B (en) D-flip-flop, processor and computing device including the same
US7958418B2 (en) Circuit arrangement, electronic mechanism, electrical turn out and procedures for the operation of one circuit arrangement
US9704451B1 (en) Shift register cell, shift register, gate driving circuit and display device
TW202403772A (en) Dynamic d flip-flop, data operation unit, chip, hash board and computing device
CN110633104A (en) Multi-channel parallel register
CN110635784A (en) Hold-free dynamic D flip-flop
TW201421907A (en) Pulse-based flip flop
US4394586A (en) Dynamic divider circuit
US3838293A (en) Three clock phase, four transistor per stage shift register
CN110635786A (en) Dynamic D flip-flop
US20080030250A1 (en) Flip-flop circuit
CN114567293B (en) Latch, processor and computing device including latch
US7075352B2 (en) Latch-based pulse generator
CN210745099U (en) Hold-free dynamic D trigger, data operation unit, chip, force calculation board and computing equipment

Legal Events

Date Code Title Description
AS Assignment

Owner name: CANAAN CREATIVE CO., LTD., CHINA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:LIU, JIEYAO;ZHANG, NANGENG;WU, JINGJIE;AND OTHERS;SIGNING DATES FROM 20200810 TO 20200820;REEL/FRAME:058490/0585

STPP Information on status: patent application and granting procedure in general

Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION

STPP Information on status: patent application and granting procedure in general

Free format text: NON FINAL ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: ADVISORY ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION

STPP Information on status: patent application and granting procedure in general

Free format text: NON FINAL ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER

STPP Information on status: patent application and granting procedure in general

Free format text: FINAL REJECTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: RESPONSE AFTER FINAL ACTION FORWARDED TO EXAMINER