CN114567298A - Inverted D flip-flop with multiplexer function - Google Patents

Inverted D flip-flop with multiplexer function Download PDF

Info

Publication number
CN114567298A
CN114567298A CN202210455909.0A CN202210455909A CN114567298A CN 114567298 A CN114567298 A CN 114567298A CN 202210455909 A CN202210455909 A CN 202210455909A CN 114567298 A CN114567298 A CN 114567298A
Authority
CN
China
Prior art keywords
clock signal
signal
inverting
output
inverted
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.)
Granted
Application number
CN202210455909.0A
Other languages
Chinese (zh)
Other versions
CN114567298B (en
Inventor
范志军
田文博
孔维新
杨作兴
郭海丰
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.)
Shenzhen MicroBT Electronics Technology Co Ltd
Original Assignee
Shenzhen MicroBT Electronics Technology 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
Application filed by Shenzhen MicroBT Electronics Technology Co Ltd filed Critical Shenzhen MicroBT Electronics Technology Co Ltd
Priority to CN202210455909.0A priority Critical patent/CN114567298B/en
Publication of CN114567298A publication Critical patent/CN114567298A/en
Application granted granted Critical
Publication of CN114567298B publication Critical patent/CN114567298B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/027Generators characterised by the type of circuit or by the means used for producing pulses by the use of logic circuits, with internal or external positive feedback
    • H03K3/037Bistable circuits
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/317Testing of digital circuits
    • G01R31/3181Functional testing
    • G01R31/3185Reconfiguring for testing, e.g. LSSD, partitioning
    • G01R31/318533Reconfiguring for testing, e.g. LSSD, partitioning using scanning techniques, e.g. LSSD, Boundary Scan, JTAG
    • G01R31/318541Scan latches or cell details
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/02Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits using specified components
    • H03K19/08Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits using specified components using semiconductor devices
    • H03K19/094Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits using specified components using semiconductor devices using field-effect transistors
    • H03K19/09425Multistate logic
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/02Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits using specified components
    • H03K19/08Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits using specified components using semiconductor devices
    • H03K19/094Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits using specified components using semiconductor devices using field-effect transistors
    • H03K19/0944Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits using specified components using semiconductor devices using field-effect transistors using MOSFET or insulated gate field-effect transistors, i.e. IGFET
    • H03K19/0948Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits using specified components using semiconductor devices using field-effect transistors using MOSFET or insulated gate field-effect transistors, i.e. IGFET using CMOS or complementary insulated gate field-effect transistors
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The present disclosure relates to an inverting D flip-flop with a multiplexer function, comprising: a first tri-state gate having a data input configured to receive a first data signal and a clock input configured to receive a first clock signal; a second tri-state gate having a data input configured to receive a second data signal and a clock input configured to receive a second clock signal; an inverting latch unit having a data input connected to an output of the first tri-state gate and an output of the second tri-state gate, a clock input configured to receive a third clock signal; and an inverter, an input end of the inverter is connected to an output end of the inverting latch unit, and an output end of the inverter provides an output of the inverting D flip-flop.

Description

Inverted D flip-flop with multiplexer function
Technical Field
The present invention relates to an inverting D flip-flop having a multiplexer function.
Background
The evaluation indexes of a chip are generally Performance, Power and Area (PPA). Performance refers to the speed of operation. The power consumption refers to static leakage and power consumption during operation. Area refers to the area of the chip, which represents cost. Many application areas (e.g., mining machines and artificial intelligence) are sensitive to PPA (especially power consumption). Thus, PPA represents the core competitiveness of a chip.
Chip manufacturing has yield problems. Design for Test (DFT) is a technology necessary for large-scale chips. The chips with errors can be screened out or classified by DFT. The DFT inserts various hardware logics for improving the testability (including controllability and observability) of the chip into the original design of the chip, thereby making the chip easy to test and greatly saving the cost of chip testing.
Disclosure of Invention
According to an aspect of the present disclosure, there is provided an inverting D flip-flop having a multiplexer function, including: a first tri-state gate having a data input configured to receive a first data signal and a clock input configured to receive a first clock signal; a second tri-state gate having a data input configured to receive a second data signal and a clock input configured to receive a second clock signal; an inverting latch unit having a data input connected to an output of the first tri-state gate and an output of the second tri-state gate, a clock input configured to receive a third clock signal; and an inverter, an input end of the inverter is connected to an output end of the inverting latch unit, an output end of the inverter provides an output of the inverting D flip-flop, wherein the first clock signal and the second clock signal enable the first tri-state gate and the second tri-state gate to be turned on at different times, the third clock signal enables the inverting latch unit to be turned off when one of the first tri-state gate and the second tri-state gate is turned on, and the inverting latch unit to be turned on when both the first tri-state gate and the second tri-state gate are turned off.
According to yet another aspect of the present disclosure, there is provided an operational circuit comprising a plurality of the inverting D flip-flops of the present disclosure.
According to yet another aspect of the present disclosure, there is provided a computing apparatus comprising: a memory; and a processor comprising the operational circuitry of the present disclosure.
Drawings
A better understanding of the present disclosure may be obtained when the following detailed description of the embodiments is considered in conjunction with the following drawings. The same or similar reference numbers are used throughout the drawings to refer to the same or like parts. The accompanying drawings, which are incorporated in and form a part of the specification, illustrate embodiments of the present invention and, together with the detailed description, serve to explain the principles and advantages of the invention.
FIGS. 1A-1D show block diagrams of original circuits tested by inserting additional hardware circuits between logic blocks of the original circuits.
Fig. 2A shows a schematic diagram of replacing the normal D flip-flop with the scan DFF in the scan replacement step, and fig. 2B shows a schematic diagram of connecting the scan DFFs together to form a scan chain in the scan splicing step.
Fig. 3A and 3B show a logic diagram and truth table, respectively, for an alternative multiplexer (MUX 2).
Fig. 4A and 4B show Complementary Metal-Oxide-Semiconductor (CMOS) circuits of an inverting one-way multiplexer (MUXI 2) and an one-way multiplexer (MUX 2), respectively.
Fig. 5 shows a block diagram of an inverting D flip-flop 500 with multiplexer functionality according to an embodiment of the present disclosure.
Fig. 6A to 6D illustrate CMOS circuits 600A to 600D implementing the inverting D flip-flop 500 of fig. 5, according to an embodiment of the present disclosure.
Fig. 7 shows a block diagram of an inverting D flip-flop 700 with multiplexer functionality according to an embodiment of the present disclosure.
Fig. 8A to 8D illustrate CMOS circuits 800A to 800D implementing the inverting D flip-flop 700 of fig. 7, according to an embodiment of the disclosure.
Fig. 9A to 9D illustrate CMOS circuits 900A to 900D implementing the inverting D flip-flop 700 of fig. 7, according to an embodiment of the disclosure.
Fig. 10A and 10B illustrate clock signal generators 1000A and 1000B for generating a first clock signal according to an embodiment of the present disclosure.
Fig. 11A and 11B illustrate clock signal generators 1100A and 1100B for generating a second clock signal according to an embodiment of the present disclosure.
Fig. 12A and 12B illustrate clock signal generators 1200A and 1200B for generating a third/fourth clock signal according to an embodiment of the present disclosure.
Fig. 13 illustrates a signal timing diagram when the first, second, and third clock signals according to an embodiment of the present disclosure are applied to the CMOS circuit of fig. 6A.
Fig. 14 shows an operational circuit 1400 to which an inverting D flip-flop according to an embodiment of the present disclosure may be applied.
Fig. 15 shows an operational circuit 1500 to which an inverting D flip-flop according to an embodiment of the present disclosure may be applied.
Detailed Description
The following detailed description of embodiments presents various details of specific embodiments of the invention. However, the invention can be embodied in a multitude of different ways as defined and covered by the claims. In this specification, like reference numbers may indicate identical or functionally similar elements.
FIGS. 1A-1D show block diagrams of original circuits tested by inserting additional hardware circuits between logic blocks of the original circuits. Fig. 1A shows the original circuit. FIG. 1B illustrates the insertion of an observation point between logic block A and logic block B to observe the values passed from logic block A to logic block B. Fig. 1C shows that an or gate is inserted between logic block a and logic block B to control the value passed from logic block a to logic block B, i.e. to force the value to 1. FIG. 1D illustrates that an AND gate is inserted between logic block A and logic block B to control the value passed from logic block A to logic block B, i.e., to force the value to 0.
In a large-scale chip, the main components of a digital circuit are sequential logic cells and combinational logic cells. The test procedure for combinational logic cells is relatively simple, and usually only a single test vector is needed to detect the target error. The testing process of sequential logic cells is complicated. In most cases, there is no way to rely on only one test vector, but rather a sequence of test vectors is required to ultimately detect the target error.
Scan (Scan) technology can transform a difficult-to-test (differential-to-test) sequential circuit into an easy-to-test (easy-to-test) combinational circuit. The scanning technique mainly comprises two steps. The first step is scan replacement, which replaces a normal register (e.g., a D flip-flop (DFF)) in the circuit with a scan register (e.g., a scan DFF). The second step is scan stitching, which connects the scan registers in the first step together to form a scan chain. Fig. 2A shows a schematic diagram of replacing a normal DFF with a scan DFF in the scan replacement step. Fig. 2B shows a schematic diagram of the scan DFFs being connected together to form a scan chain in the scan stitching step.
The scan DFF consists of a one-out-of-two multiplexer (MUX 2) and a DFF. The logical expression of MUX2 is
Figure 537075DEST_PATH_IMAGE001
. sel is the select signal, a0 is the first input, a1 is the second input. Fig. 3A and 3B show a logic diagram and truth table, respectively, for an alternative multiplexer (MUX 2). When the select signal sel is logic 0, the output X is the first input a 0. When the select signal sel is logic 1, the output X is the second input a 1. Fig. 4A and 4B show Complementary Metal-Oxide-Semiconductor (CMOS) circuits of an inverting one-way multiplexer (MUXI 2) and an one-way multiplexer (MUX 2), respectively. MUXI2 differs from MUX2 in that the output of MUXI2 is the inverse of the input. But as can be seen from fig. 4A and 4B, the implementation of MUXI2 is simpler because MUXI2 saves one inverter over MUX 2.
However, whether MUX2 or MUXI2 is used in the scan DFF, more CMOS transistors are added, resulting in increased area, power consumption, and cost of the scan DFF. In addition, in the scan DFF, the MUX2 (or MUXI 2) and the DFF are two separate units, which also results in a large area occupied by the scan DFF.
In addition, in the chip, the data participating in the operation and storage itself has a bit width, for example, 8 bits, 16 bits, 32 bits, 64 bits, and the like. Therefore, the register has a high occupancy, typically 50% of the chip area. If these registers are replaced by scan DFFs, the chip area, power consumption and cost are large.
The disclosure provides an inverting D flip-flop with a multiplexer function, which can be used as a scanning register to replace a common register in a chip to realize the test of the chip. In the prior art, a scanning DFF is used for replacing a common register in a chip to realize the test of the chip. Compared with the scanning DFF, the reverse D trigger of the present disclosure occupies a small area, consumes less power and is low in cost. Therefore, the inverting D flip-flop with a multiplexer function using the embodiments of the present disclosure in a chip has advantages of small area, small power consumption, and low cost.
Fig. 5 shows a block diagram of an inverting D flip-flop 500 with multiplexer functionality according to an embodiment of the present disclosure. Inverting D flip-flop 500 includes tri-state gate 510, tri-state gate 520, inverting latch unit 530, and inverter 540. The data input of tri-state gate 510 is configured to receive a first data signal D. The data input of the tri-state gate 520 is configured to receive the second data signal SI. The data input of inverting latch unit 530 is coupled to the output of tri-state gate 510 and the output of tri-state gate 520. The input of the inverter 540 is connected to the output of the inverting latch unit 530. The output of inverter 540 provides the output Q of inverting D flip-flop 500.
Further, a clock input (not shown) of the tri-state gate 510 is configured to receive the first clock signal. The clock input (not shown) of the tri-state gate 520 is configured to receive the second clock signal. A clock input (not shown) of the inverting latch unit 530 is configured to receive the third clock signal. The first clock signal and the second clock signal cause the tri-state gate 510 and the tri-state gate 520 to be turned on at different times. Accordingly, the inverted first data signal and the inverted second data signal are transmitted to the input terminal of the inverting latch unit 530 at different times. That is, by configuring the clock signals applied to the tri-state gate 510 and the tri-state gate 520, it is possible to select whether the inverted first data signal or the inverted second data signal is transmitted to the input terminal of the inverting latch unit 530. The third clock signal causes inverting latch 530 to be turned off when one of tri-state gate 510 and tri-state gate 520 is turned on, and inverting latch 530 to be turned on when both tri-state gate 510 and tri-state gate 520 are turned off.
The inverting latch unit 530 has a data input terminal receiving the inverted first data signal or the inverted second data signal and outputs the first data signal or the second data signal at an output terminal when turned on. The input terminal of the inverter 530 receives the first data signal or the second data signal and outputs an inverted first data signal or an inverted second data signal. Thus, the output of the inverting D flip-flop 500 is either the inverted first data signal or the inverted second data signal.
Therefore, the inverting D flip-flop 500 has not only a register function but also a multiplexer function. The tristate gates and inverting latch units in inverting D flip-flop 500 are sequential logic units. It can be seen that the inverting D flip-flop 500 implements both the register function and the multiplexer function by utilizing sequential logic cells. However, the multiplexers in the existing scan DFF are combinational logic units, and the DFF is a sequential logic unit. That is, existing scan DFFs require separate combinational and sequential logic cells to implement both register and multiplexer functions. Therefore, the inverting D flip-flop according to the embodiment of the present disclosure has advantages of a small area, a small power consumption, and a low cost compared to the conventional scan DFF.
In some embodiments of the present disclosure, one of the first data signal D and the second data signal SI is a functional data signal, and the other of the first data signal D and the second data signal SI is a scan data signal. Therefore, when a circuit needs to be tested, a specific scan data signal may be input to the inverting D flip-flop 500 under the control of a clock signal to perform the circuit test.
Fig. 6A-6D illustrate CMOS circuits 600A-600D implementing the inverting D flip-flop 500 of fig. 5, according to an embodiment of the disclosure. The tri-state gate 510 is implemented by PMOS transistors 511 and 512 and NMOS transistors 513 and 514 connected in series between the power supply terminal VDD and the ground terminal VSS. The tri-state gate 520 is implemented by PMOS transistors 521 and 522 and NMOS transistors 523 and 524 connected in series between the power supply terminal VDD and the ground terminal VSS. The inverter 540 is implemented by a PMOS transistor 541 and an NMOS transistor 542 connected in series between a power supply terminal VDD and a ground terminal VSS. That is, the inverter 540 is implemented as a not gate.
As shown in fig. 6A and 6B, tri-state gate 510 adopts the following configuration: the gate of PMOS transistor 511 and the gate of NMOS transistor 514 are connected together as the data input of tristate gate 510, the drain of PMOS transistor 512 and the drain of NMOS transistor 513 are connected together as the output of tristate gate 510, and the gate of PMOS transistor 512 and the gate of NMOS transistor 513 are configured to receive clock signals having opposite phases, respectively. The tri-state gate 520 adopts the following configuration: the gate of PMOS transistor 521 and the gate of NMOS transistor 524 are connected together as the data input of tristate gate 520, the drain of PMOS transistor 522 and the drain of NMOS transistor 523 are connected together as the output of tristate gate 520, and the gate of PMOS transistor 522 and the gate of NMOS transistor 523 are configured to receive clock signals having opposite phases, respectively.
In some embodiments of the present disclosure, the tri-state gate 510 may take another configuration: the gate of PMOS transistor 512 and the gate of NMOS transistor 513 are connected together as the data input of tristate gate 510, the drain of PMOS transistor 512 and the drain of NMOS transistor 513 are connected together as the output of tristate gate 510, and the gate of PMOS transistor 511 and the gate of NMOS transistor 514 are configured to receive clock signals having opposite phases, respectively.
In some embodiments of the present disclosure, the tri-state gate 520 may take another configuration: the gate of PMOS transistor 522 and the gate of NMOS transistor 523 are connected together as the data input of tristate gate 520, the drain of PMOS transistor 522 and the drain of NMOS transistor 523 are connected together as the output of tristate gate 520, and the gate of PMOS transistor 521 and the gate of NMOS transistor 524 are configured to receive clock signals having opposite phases, respectively.
The inverting latch unit 530 in fig. 6A and 6B is implemented by PMOS transistors 531 and 532 and NMOS transistors 533 and 534 connected in series between a power supply terminal VDD and a ground terminal VSS. That is, the inverting latch unit 530 in fig. 6A and 6B is implemented as a tri-state gate. The inverting latch unit 530 in fig. 6C and 6D is implemented by an inverter 631 and a transmission gate 632 connected in series. The inverter 631 is implemented by a PMOS transistor 535 and an NMOS transistor 536 connected in series between a power supply terminal VDD and a ground terminal VSS. Transmission gate 632 is implemented with a PMOS transistor 537 and an NMOS transistor 538 in parallel.
As shown in fig. 6A and 6B, the inverting latch unit 530 adopts the following configuration of the tristate gates: the gate of the PMOS transistor 531 and the gate of the NMOS transistor 534 are connected together as the data input terminal of the inverting latch unit 530. The drain of the PMOS transistor 532 and the drain of the NMOS transistor 533 are connected together as the output terminal of the inverting latch unit 530. The gate of the PMOS transistor 532 and the gate of the NMOS transistor 533 are respectively configured to receive clock signals having opposite phases.
In some embodiments of the present disclosure, the inverting latch unit 530 may adopt another configuration of tri-state gates: the gate of the PMOS transistor 532 and the gate of the NMOS transistor 533 are connected together as the data input terminal of the inverting latch unit 530, the drain of the PMOS transistor 532 and the drain of the NMOS transistor 533 are connected together as the output terminal of the inverting latch unit 530, and the gate of the PMOS transistor 531 and the gate of the NMOS transistor 534 are respectively configured to receive clock signals having opposite phases.
In fig. 6A, the PMOS transistor 512 is applied with the in-phase signal clk1p of the first clock signal, and the NMOS transistor 513 is applied with the inverted signal clk1n of the first clock signal. Thus, the tri-state gate 510 will output the inverted first data signal when clk1p is low and clk1n is high. The PMOS transistor 522 is applied with the in-phase signal clk2p of the second clock signal, and the NMOS transistor 523 is applied with the inverted signal clk2n of the second clock signal. Thus, the tri-state gate 520 will output the inverted second data signal when clk2p is low and clk2n is high.
The in-phase signal clk1p of the first clock signal and the in-phase signal clk2p of the second clock signal are low at different times, so the tri-state gate 510 and the tri-state gate 520 are turned on at different times. Accordingly, the inverted first data signal and the inverted second data signal are transmitted to the input terminal of the inverting latch unit 530 at different times.
The PMOS transistor 532 is applied with the inverted signal clk3n of the third clock signal, and the NMOS transistor 533 is applied with the in-phase signal clk3p of the third clock signal. Thus, the inverting latch unit 530 will output the first data signal or the second data signal when clk3p is high and clk3n is low. Further, the inverter 540 outputs the inverted first data signal or the inverted second data signal. Thus, the CMOS circuit of fig. 6A implements a rising edge triggered inverted D flip-flop.
In fig. 6B, the gate of the PMOS transistor 512 and the gate of the NMOS transistor 513 are configured to receive the inverted signal clk1n and the in-phase signal clk1p having opposite phases of the first clock signal, respectively. Since the PMOS transistor 512 is applied with the inverted signal clk1n of the first clock signal and the NMOS transistor 513 is applied with the in-phase signal clk1p of the first clock signal, the tri-state gate 510 is turned on and outputs the inverted first data signal when clk1p is high and clk1n is low.
The gate of the PMOS transistor 522 and the gate of the NMOS transistor 523 are configured to receive the inverted signal clk2n and the in-phase signal clk2p of the second clock signal, respectively, having opposite phases. Since the PMOS transistor 522 is applied with the inverted signal clk2n of the second clock signal and the NMOS transistor 523 is applied with the in-phase signal clk2p of the second clock signal, the tri-state gate 520 is turned on and outputs the inverted second data signal when clk2p is high and clk2n is low.
The in-phase signal clk1p of the first clock signal and the in-phase signal clk2p of the second clock signal are high at different times, so the tri-state gate 510 and the tri-state gate 520 are turned on at different times. Accordingly, the inverted first data signal and the inverted second data signal are transmitted to the input terminal of the inverting latch unit 530 at different times.
The PMOS transistor 532 is applied with the in-phase signal clk3p of the third clock signal, and the NMOS transistor 533 is applied with the inverted signal clk3n of the third clock signal. Thus, the inverting latch unit 530 will output the first data signal or the second data signal when clk3p is low and clk3n is high. Further, the inverter 540 outputs the inverted first data signal or the inverted second data signal. Thus, the CMOS circuit of fig. 6B implements a falling edge triggered inverted D flip-flop.
In fig. 6C, the PMOS transistor 512 is applied with the in-phase signal clk1p of the first clock signal, and the NMOS transistor 513 is applied with the inverted signal clk1n of the first clock signal. Thus, the tri-state gate 510 will output the inverted first data signal when clk1p is low and clk1n is high. The PMOS transistor 522 is applied with the in-phase signal clk2p of the second clock signal, and the NMOS transistor 523 is applied with the inverted signal clk2n of the second clock signal. Thus, the tri-state gate 520 will output the inverted second data signal when clk2p is low and clk2n is high.
The in-phase signal clk1p of the first clock signal and the in-phase signal clk2p of the second clock signal are low at different times, so the tri-state gate 510 and the tri-state gate 520 are turned on at different times. Accordingly, the inverted first data signal and the inverted second data signal are transmitted to the input terminal of the inverting latch unit 530 at different times.
The PMOS transistor 537 is applied with an inverted signal clk3n of the third clock signal, and the NMOS transistor 538 is applied with an in-phase signal clk3p of the third clock signal. Thus, the inverting latch unit 530 will output the first data signal or the second data signal when clk3p is high and clk3n is low. Further, the inverter 540 outputs the inverted first data signal or the inverted second data signal. Thus, the CMOS circuit of fig. 6C implements a rising edge triggered inverted D flip-flop.
In fig. 6D, the gate of the PMOS transistor 512 and the gate of the NMOS transistor 513 are configured to receive the inverted signal clk1n and the in-phase signal clk1p having opposite phases of the first clock signal, respectively. Since the PMOS transistor 512 is applied with the inverted signal clk1n of the first clock signal and the NMOS transistor 513 is applied with the in-phase signal clk1p of the first clock signal, the tri-state gate 510 is turned on and outputs the inverted first data signal when clk1p is high and clk1n is low.
The gate of the PMOS transistor 522 and the gate of the NMOS transistor 523 are configured to receive the inverted signal clk2n and the in-phase signal clk2p of the second clock signal, respectively, having opposite phases. Since the PMOS transistor 522 is applied with the inverted signal clk2n of the second clock signal and the NMOS transistor 523 is applied with the in-phase signal clk2p of the second clock signal, the tri-state gate 520 is turned on and outputs the inverted second data signal when clk2p is high and clk2n is low.
The in-phase signal clk1p of the first clock signal and the in-phase signal clk2p of the second clock signal are high at different times, so the tri-state gate 510 and the tri-state gate 520 are turned on at different times. Accordingly, the inverted first data signal and the inverted second data signal are transmitted to the input terminal of the inverting latch unit 530 at different times.
The PMOS transistor 537 is applied with the in-phase signal clk3p of the third clock signal, and the NMOS transistor 538 is applied with the inverted signal clk3n of the third clock signal. Thus, the inverting latch unit 530 will output the first data signal or the second data signal when clk3p is low and clk3n is high. Further, the inverter 540 outputs the inverted first data signal or the inverted second data signal. Thus, the CMOS circuit of fig. 6D implements a falling edge triggered inverted D flip-flop.
In some embodiments of the present disclosure, the in-phase signal clk1p of the first clock signal may be obtained by performing an and operation on the common clock signal and the inverted select signal, and the inverted signal clk1n of the first clock signal may be obtained by performing an not operation on clk1 p. The in-phase signal clk2p of the second clock signal is obtained by and-operating the common clock signal and the select signal, and the inverted signal clk2n of the second clock signal is obtained by not-operating clk2 p. The in-phase signal clk3p of the third clock signal is a common clock signal, and the inverted signal clk3n of the third clock signal is obtained by negating the common clock signal.
In some embodiments of the present disclosure, the in-phase signal clk1p of the first clock signal may be obtained by and-operating the common clock signal and the select signal, and the inverted signal clk1n of the first clock signal may be obtained by not-operating clk1 p. The in-phase signal clk2p of the second clock signal is obtained by and-operating the common clock signal and the inverted select signal, and the inverted signal clk2n of the second clock signal is obtained by not-operating clk2 p. The in-phase signal clk3p of the third clock signal is a common clock signal, and the inverted signal clk3n of the third clock signal is obtained by negating the common clock signal.
The inverted D flip-flop 500 is a dynamic D flip-flop, and has a leakage problem at its output. In order to further solve the problem of electric leakage, the invention also provides a semi-static D trigger which can effectively relieve the problem of electric leakage of an output end.
Fig. 7 illustrates an inverting D flip-flop 700 with multiplexer functionality according to an embodiment of the present disclosure. Inverting D flip-flop 700 includes tri-state gate 510, tri-state gate 520, inverting latch unit 530, inverter 540, and inverting feedback unit 750. The configuration of tri-state gate 510, tri-state gate 520, inverting latch unit 530, and inverter 540 of inverting D flip-flop 700 has been described with reference to fig. 5. Inverting D flip-flop 700 differs from inverting D flip-flop 500 in that inverting D flip-flop 700 adds inverting feedback unit 750. The data input of the inverting feedback unit 750 is connected to the output of the inverter 540. The output of inverting feedback unit 750 is connected to the input of inverter 540.
A clock input (not shown) of the inverting feedback unit 750 is configured to receive the fourth clock signal. The fourth clock signal causes the inverting feedback unit 750 to be turned off when the inverting latch unit 530 is turned on. The fourth clock signal causes the inverting feedback unit 750 to be turned on when the inverting latch unit 530 is turned off. Accordingly, the inverting feedback unit 750 can invert the charge of the output terminal of the inverter 540 and feed back the charge to the input terminal of the inverter 540. Therefore, the inverting D flip-flop 700 can effectively alleviate the leakage problem at the output of the inverting D flip-flop, which is a semi-static D flip-flop.
The inverting feedback unit 750 may be implemented by a tri-state gate, or by an inverter and a transmission gate connected in series. Fig. 8A to 8D illustrate CMOS circuits 800A to 800D implementing the inverting D flip-flop 700 of fig. 7, according to an embodiment of the disclosure. The inverting feedback unit 750 is implemented by PMOS transistors 751 and 752 and NMOS transistors 753 and 754 connected in series between a power supply terminal VDD and a ground terminal VSS. That is, the inverting feedback unit 750 is implemented as a tri-state gate.
As shown in fig. 8A to 8D, the inverting feedback unit 750 adopts the following configuration of the tri-state gate: the gate of PMOS transistor 751 and the gate of NMOS transistor 754 are connected together as the data input of inverting feedback unit 750. The drain of PMOS transistor 752 and the drain of NMOS transistor 753 are connected together as the output of inverting feedback unit 750. The gate of the PMOS transistor 752 and the gate of the NMOS transistor 753 are configured to receive clock signals having opposite phases, respectively.
In some embodiments of the present disclosure, inverting feedback unit 750 may employ another configuration of tri-state gates: the gate of PMOS transistor 752 and the gate of NMOS transistor 753 are connected together as a data input of inverting feedback unit 750, the drain of PMOS transistor 752 and the drain of NMOS transistor 753 are connected together as an output of inverting feedback unit 750, and the gate of PMOS transistor 751 and the gate of NMOS transistor 754 are configured to receive clock signals having opposite phases, respectively.
In fig. 8A and 8C, the gate of the PMOS transistor 752 and the gate of the NMOS transistor 753 are configured to receive the in-phase signal clk4p and the inverted signal clk4n having opposite phases of the fourth clock signal, respectively. Thus, the inverting feedback unit 750 turns off when clk4p is high and clk4n is low, and turns on when clk4p is low and clk4n is high.
In fig. 8B and 8D, the gate of the PMOS transistor 752 is configured to receive the inverted signal clk4n of the fourth clock signal, and the gate of the NMOS transistor 753 is configured to receive the in-phase signal clk4p of the fourth clock signal. Therefore, the inverting feedback unit 750 is turned on when clk4p is high and clk4n is low, and turned off when the in-phase signal clk4p of the fourth clock signal is low and clk4n is high.
Fig. 9A to 9D illustrate CMOS circuits 900A to 900D implementing the inverting D flip-flop 700 of fig. 7, according to an embodiment of the disclosure. The inverting feedback unit 750 is implemented by an inverter 941 and a transmission gate 942 in series. The PMOS transistor 755 and the NMOS transistor 756 connected in series between the power supply terminal VDD and the ground terminal VSS constitute an inverter 941. The parallel PMOS transistor 757 and NMOS transistor 758 form a transmission gate 942. The input of inverter 941 is taken as the input of inverting feedback unit 750. The output of transmission gate 942 is provided as the output of inverting feedback unit 750.
In fig. 9A and 9C, the gate of the PMOS transistor 757 is configured to receive the in-phase signal clk4p of the fourth clock signal, and the gate of the NMOS transistor 758 is configured to receive the inverted signal clk4n of the fourth clock signal. Thus, the inverting feedback unit 750 turns on when clk4p is low and clk4n is high, and turns off when clk4p is high and clk4n is low.
In fig. 9B and 9D, the gate of PMOS transistor 757 is configured to receive the inverse clk4n of the fourth clock signal and the gate of NMOS transistor 758 is configured to receive the in-phase clk4p of the fourth clock signal. Thus, the inverting feedback unit 750 is turned on when clk4p is high and clk4n is low, and turned off when clk4p is low and clk4n is high.
In some embodiments of the present disclosure, the in-phase signal of the fourth clock signal may be the common clock signal, and the inverted signal of the fourth clock signal may be obtained by negating the common clock signal. In some embodiments of the present disclosure, the fourth clock signal may be the same as the third clock signal.
Fig. 10A illustrates a clock signal generator 1000A for generating a first clock signal according to an embodiment of the disclosure. The clock signal generator 1000A includes a nand gate 1010, a not gate 1020, and a not gate 1030 in series. The nand gate 1010 includes PMOS transistors 1011 and 1012 and NMOS transistors 1013 and 1014. The not gate 1020 includes a PMOS transistor 1021 and an NMOS transistor 1022. The not gate 1030 includes a PMOS transistor 1031 and an NMOS transistor 1032. The nand gate 1010 is configured to receive a common clock signal clk and an inverted select signal sen, and provide an output to the not gate 1020. The not gate 1020 is configured to output an in-phase signal clk1p of the first clock signal and provide clk1p to the not gate 1030. The not gate 1030 is configured to output an inverted signal clk1n of the first clock signal. Thus, the in-phase signal clk1p = clk & sen of the first clock signal.
Fig. 10A is merely an example of a clock signal generator for generating the first clock signal. In some embodiments of the present disclosure, the output of the nand gate 1010 may also provide the inverted signal clk1n of the first clock signal. However, the number of loads that each not gate can connect is limited. Thus, the ability of the clock signal generator 1000A to drive a load may be enhanced by connecting more not gates after the nand gate 1010. In some embodiments of the present disclosure, two or more not gates may be connected after the nand gate 1010 to form a clock tree. The output of nand gate 1010 serves as the root node of the clock tree. These NOT gates may be connected in an H-tree, fishbone or mesh structure.
Fig. 10B illustrates a clock signal generator 1000B for generating a first clock signal according to an embodiment of the disclosure. In contrast to clock signal generator 1000A, clock signal generator 1000B also includes a clock tree 1040 of two or more not gates. In addition, the clock signal generator 1000B includes K pairs of NOT gates in series, i.e., (1020-1, 1030-1), …, (1020-K, 1030-K). The K pairs of series-connected NOT gates may output K pairs of signals having opposite phases, i.e., (clk1p-1, clk1n-1), …, (clk1p-K, clk1 n-K). Each pair of signals output by each pair of not gates may be used as a first clock signal. Each pair of signals may be provided to several loads (e.g., inverting D flip-flops of the present disclosure). Thus, clock signal generator 1000B may drive more loads than clock signal generator 1000A.
Fig. 11A illustrates a clock signal generator 1100A for generating a second clock signal according to an embodiment of the disclosure. The clock signal generator 1100A includes a nand gate 1110, a not gate 1120, and a not gate 1130 connected in series. Nand gate 1110 includes PMOS transistors 1111 and 1112 and NMOS transistors 1113 and 1114. The not gate 1120 includes a PMOS transistor 1121 and an NMOS transistor 1122. The not gate 1130 includes a PMOS transistor 1131 and an NMOS transistor 1132. The nand gate 1110 is configured to receive a common clock signal clk and a select signal se, and provide an output to the not gate 1120. The not gate 1120 is configured to output an in-phase signal clk2p of the second clock signal and provide clk2p to the not gate 1130. The not gate 1130 is configured to output an inverted signal clk2n of the second clock signal. Thus, the in-phase signal clk2p of the second clock signal = clk & se.
Fig. 11A is merely an example of a clock signal generator for generating the second clock signal. In some embodiments of the present disclosure, the output of the nand gate 1110 may also provide the inverted signal clk2n of the first clock signal. However, the number of loads that each not gate can connect is limited. Thus, the ability of the clock signal generator 1100A to drive a load can be enhanced by connecting more not gates after the nand gate 1110. In some embodiments of the present disclosure, two or more not gates may be connected after the nand gate 1110 to form a clock tree. The output of nand gate 1110 serves as the root node of the clock tree. These NOT gates may be connected in an H-tree, fishbone or mesh structure.
Fig. 11B illustrates a clock signal generator 1100B for generating a second clock signal according to an embodiment of the disclosure. In contrast to the clock signal generator 1100A, the clock signal generator 1100B further includes a clock tree 1140 of two or more not gates. In addition, the clock signal generator 1100B also includes L pairs of NOT gates in series, i.e., (1120-1, 1030-1), …, (1120-L, 1130-L). The L pairs of series-connected NOT gates may output L pairs of signals having opposite phases, i.e., (clk2p-1, clk2n-1), …, (clk2p-L, clk2 n-L). Each pair of signals output by each pair of not gates may be used as a second clock signal. Each pair of signals may be provided to several loads (e.g., inverting D flip-flops of the present disclosure). Therefore, the clock signal generator 1100B can drive more loads than the clock signal generator 1100A. The selection signal se is configured to select whether the first data signal D or the second data signal SI is transmitted to the input of the inverter 540. The inverted select signal sen is an inverted signal of the select signal se. The inverted select signal sen may be obtained by applying the select signal se to the inverter.
Fig. 12A illustrates a clock signal generator 1200A for generating a third/fourth clock signal according to an embodiment of the disclosure. The clock signal generator 1200A includes a not gate 1210 and a not gate 1220 connected in series. The not gate 1210 includes a PMOS transistor 1211 and an NMOS transistor 1212. The not gate 1220 includes a PMOS transistor 1221 and an NMOS transistor 1222. The not gate 1210 is configured to receive the common clock signal clk and output clkn, and provide clkn to the not gate 1220. Not gate 1220 is configured to output clkp. clkp and clkn may be used as the in-phase signal and the inverted signal of the third clock signal or as the in-phase signal and the inverted signal of the fourth clock signal. However, the number of loads that each not gate can connect is limited. Thus, the ability of the clock signal generator 1200A to drive a load may be enhanced by more not gates.
Fig. 12B illustrates a clock signal generator 1200B for generating a third/fourth clock signal according to an embodiment of the disclosure. Clock signal generator 1200B also includes a clock tree 1230 of two or more not gates, as compared to clock signal generator 1200A. The clock tree 1230 may be an H-tree, fishbone, or mesh structure. In addition, clock signal generator 1200B includes J pairs of series-connected NOT gates, i.e., (1210-1, 1220-1), …, (1210-J, 1220-J). The J pairs of series-connected NOT gates may output J pairs of signals having opposite phases, i.e., (clkp-1, clkn-1), …, (clkp-J, clkn-J). Each pair of signals output by each pair of not gates may be used as the third/fourth clock signal. Each pair of signals may be provided to several loads (e.g., inverting D flip-flops of the present disclosure). Therefore, the clock signal generator 1200B can drive more loads than the clock signal generator 1200A.
Fig. 13 illustrates a signal timing diagram when the first, second, and third clock signals according to an embodiment of the present disclosure are applied to the CMOS circuit of fig. 6A. The tristate gate 510 latches the first data signal D when clk1p is high and clk1n is low, and outputs an inverted first data signal when clk1p is low and clk1n is high. The tri-state gate 520 latches the second data signal SI when clk2p is high and clk2n is low and outputs an inverted second data signal when clk2p is low and clk2n is high. Thus, tri-state gate 510 and tri-state gate 520 both act as a latch unit. Furthermore, since the se signal is merged into the first clock signal and the second clock signal, the first clock signal and the second clock signal can be used both as clock signals to latch data and as selection signals to select whether to output the inverted first data signal from the tri-state gate 510 or the inverted second data signal from the tri-state gate 520. In addition, since only one of the in-phase signal clk1p of the first clock signal and the in-phase signal clk2p of the second clock signal is low at any time, only one of the inverted first data signal and the inverted second data signal is supplied to the data input terminal of the inverting latch unit 530 by the tri-state gate 510 and the tri-state gate 520 at any time. Accordingly, the inverting D flip-flop 500 outputs only one of the inverted first data signal and the inverted second data signal at any time.
Fig. 14 shows an operational circuit 1400 to which an inverting D flip-flop according to an embodiment of the present disclosure may be applied. The arithmetic circuit 1400 includes a register group 1410 storing input data a [15:0], a register group 1420 storing input data B [15:0], a combiner 1430, and a register group 1440 storing output data c [15:0 ]. Each of register banks 1410, 1420, and 1440 may include a plurality of inverting D flip-flops according to embodiments of the present disclosure.
Fig. 15 shows an operational circuit 1500 to which an inverting D flip-flop according to an embodiment of the present disclosure may be applied. The operational circuit 1500 includes an inverter 1501 configured to receive the selection signal se and output an inverted selection signal sen. The arithmetic circuit 1500 further includes clock signal generators 1511, 1512, and 1513. The clock signal generator 1511 may be the clock signal generator 1000A in fig. 10A or the clock signal generator 1000B in fig. 10B. The clock signal generator 1511 is configured to receive the inverted select signal sen and the common clock signal clka and output a first clock signal clk 1. The clock signal generator 1512 may be the clock signal generator 1100A in fig. 11A or the clock signal generator 1100B in fig. 11B. The clock signal generator 1512 is configured to receive the selection signal se and the common clock signal clka, and output a second clock signal clk 2. The clock signal generator 1513 may be the clock signal generator 1200A in fig. 12A or the clock signal generator 1200B in fig. 12B. The clock signal generator 1513 is configured to receive the common clock signal clka and output a third clock signal clk 3/a third clock signal and a fourth clock signal clk 4. The operational circuit 1500 also includes a plurality of inverting D flip-flops 1521-1, 1521-2 … 1521-n. Since inverter 1501 and clock signal generators 1511, 1512, and 1513 are shared by multiple inverting D flip-flops 1521-1, 1521-2 … 1521-n, the increase in cost associated with inverter 1501 and clock signal generators 1511, 1512, and 1513 is negligible.
In some embodiments of the present disclosure, the arithmetic circuit 1500 may further include clock signal generators 1515, 1516, and 1517 and a plurality of inverting D flip-flops 1522-1, 1522-2 … 1522-m. The clock signal generator 1515 may be the clock signal generator 1000A in fig. 10A or the clock signal generator 1000B in fig. 10B. The clock signal generator 1515 is configured to receive the inverted select signal sen and the common clock signal clkb, and output a fifth clock signal clk 5. The clock signal generator 1516 may be the clock signal generator 1100A in fig. 11A or the clock signal generator 1100B in fig. 11B. The clock signal generator 1516 is configured to receive the selection signal se and the common clock signal clkb, and output a sixth clock signal clk 6. The clock signal generator 1517 may be the clock signal generator 1200A in fig. 12A or the clock signal generator 1200B in fig. 12B. The clock signal generator 1516 is configured to receive the common clock signal clkb and output the seventh clock signal clk 7/the seventh clock signal clk7 and the eighth clock signal clk 8. clk4, clk5, clk6, clk7/clk7+ clk8 may be provided to a plurality of inverting D-flip-flops 1522-1, 1522-2 … 1522-m.
In practice, a plurality of inverting D flip-flops 1521-1, 1521-2 … 1521-n may be included on a first processing chip and a plurality of inverting D flip-flops 1522-1, 1522-2 … 1522-m may be included on a second processing chip. The processing chip may be a processing chip such as a CPU and a GPU.
Some embodiments of the disclosure may be implemented as an inverting D flip-flop with multiplexer functionality, comprising: a first tri-state gate having a data input configured to receive a first data signal and a clock input configured to receive a first clock signal; a second tri-state gate having a data input configured to receive a second data signal and a clock input configured to receive a second clock signal; an inverting latch unit having a data input connected to an output of the first tri-state gate and an output of the second tri-state gate, a clock input configured to receive a third clock signal; and an inverter, an input end of the inverter is connected to an output end of the inverting latch unit, an output end of the inverter provides an output of the inverting D flip-flop, wherein the first clock signal and the second clock signal enable the first tri-state gate and the second tri-state gate to be turned on at different times, the third clock signal enables the inverting latch unit to be turned off when one of the first tri-state gate and the second tri-state gate is turned on, and the inverting latch unit to be turned on when both the first tri-state gate and the second tri-state gate are turned off.
In some embodiments of the present disclosure, the inverting latch unit is one of: a third tri-state gate; a second inverter and a first transmission gate connected in series.
In some embodiments of the present disclosure, each of the first, second, and third clock signals includes an in-phase signal and an anti-phase signal having opposite phases.
In some embodiments of the present disclosure, the in-phase signal of the first clock signal is obtained by performing an and operation on the common clock signal and one of the selection signal and the inverted selection signal, the inverted signal of the first clock signal is obtained by performing an and operation on the in-phase signal of the first clock signal, the in-phase signal of the second clock signal is obtained by performing an and operation on the common clock signal and the other of the selection signal and the inverted selection signal, the inverted signal of the second clock signal is obtained by performing an non-operation on the in-phase signal of the second clock signal, the in-phase signal of the third clock signal is the common clock signal, and the inverted signal of the third clock signal is obtained by performing a non-operation on the common clock signal.
In some embodiments of the present disclosure, the inverting D flip-flop further comprises an inverting feedback unit, a data input of the inverting feedback unit being connected to an output of the inverter, an output of the inverting feedback unit being connected to an input of the inverter, a clock input of the inverting feedback unit being configured to receive a third clock signal, wherein the third clock signal causes the inverting feedback unit to be turned off when one of the inverting latch units is turned on, and the inverting feedback unit to be turned on when the inverting latch unit is turned off.
In some embodiments of the present disclosure, the inverting feedback unit is one of: a fourth tri-state gate; a third inverter and a second transmission gate connected in series.
In some embodiments of the present disclosure, the fourth clock signal includes an in-phase signal and an anti-phase signal having opposite phases.
In some embodiments of the present disclosure, the in-phase signal of the fourth clock signal is the common clock signal, and the inverted signal of the fourth clock signal is obtained by negating the common clock signal.
In some embodiments of the present disclosure, one of the first data signal and the second data signal is a functional data signal, and the other of the first data signal and the second data signal is a scan data signal.
Some embodiments of the present disclosure may be implemented as an operational circuit comprising a plurality of inverting D flip-flops of the present disclosure.
In some embodiments of the disclosure, the arithmetic circuitry further comprises: a fourth inverter having an input configured to receive a select signal and output an inverted select signal; a first clock signal generator configured to receive the common clock signal and one of the selection signal and an inverted selection signal output from the fourth inverter and output a first clock signal; a second clock signal generator configured to receive the common clock signal and the other of the selection signal and the inverted selection signal output from the fourth inverter and output a second clock signal; and a third clock signal generator configured to receive the common clock signal and output a third clock signal.
In some embodiments of the present disclosure, the third clock signal generator is further configured to output a fourth clock signal.
Some embodiments of the disclosure may be implemented as a computing device comprising: a memory; and a processor comprising the operational circuitry of the present disclosure.
The inverting D flip-flop of the present disclosure is described above in connection with specific embodiments. However, it is to be understood that any feature of any one embodiment may be combined with and/or substituted for any other feature of any other embodiment.
Aspects of the present disclosure may be implemented in various electronic devices. Examples of electronic devices may include, but are not limited to, consumer electronics, components of consumer electronics, electronic test equipment, cellular communication infrastructure such as base stations, and the like. Examples of electronic devices may include, but are not limited to, mobile phones such as smart phones, wearable computing devices such as smart watches or headsets, telephones, televisions, computer monitors, computers, modems, handheld computers, laptop computers, tablet computers, Personal Digital Assistants (PDAs), microwave ovens, refrigerators, in-vehicle electronic systems such as automotive electronic systems, stereos, DVD players, CD players, digital music players such as MP3 players, radios, camcorders, cameras such as digital cameras, portable memory chips, washing machines, dryers, washer/dryers, peripherals, clocks, and the like. Further, the electronic device may include an incomplete product.
Unless the context clearly requires otherwise, throughout the description and the claims, the words "comprise", "comprising", "have", and the like are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense. That is, it means "including but not limited to". As generally used herein, the term "coupled" refers to two or more elements that may be connected directly or through one or more intermediate elements. Likewise, the term "connected," as used generally herein, refers to two or more elements that may be connected directly or through one or more intermediate elements. Additionally, as used in this application, the words "herein," "above," "below," "above," and words of similar import shall refer to this application as a whole and not to any particular portions of this application.
Furthermore, conditional language, e.g., "may," e.g., "such as," etc., as used herein is generally intended to convey that certain embodiments include, while other embodiments do not include, certain features, elements, and/or states, unless expressly stated otherwise or otherwise understood in the context of such usage. Thus, such conditional language is not generally intended to imply that features, elements, and/or states are in any way required for one or more embodiments or are included or performed in any particular embodiment.
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the disclosure. Indeed, the novel apparatus, methods, and systems described herein may be embodied in a variety of other forms. Furthermore, various omissions, substitutions and changes in the form of the methods and systems described herein may be made without departing from the spirit of the disclosure. For example, while the blocks are presented in a given arrangement, alternative embodiments may perform similar functions with different components and/or circuit topologies, and some blocks may be deleted, moved, added, subdivided, combined, and/or modified. Each of these blocks may be implemented in a variety of different ways. Any suitable combination of the elements and acts of the various embodiments described above can be combined to provide further embodiments. The various features and processes described above may be implemented independently of one another or may be combined in various ways. All suitable combinations and subcombinations of the features of the disclosure are intended to be within the scope of the disclosure.

Claims (14)

1. An inverting D flip-flop with a multiplexer function, comprising:
a first tri-state gate having a data input configured to receive a first data signal and a clock input configured to receive a first clock signal;
a second tri-state gate having a data input configured to receive a second data signal and a clock input configured to receive a second clock signal;
an inverting latch unit having a data input connected to an output of the first tri-state gate and an output of the second tri-state gate, a clock input configured to receive a third clock signal; and
an inverter having an input connected to the output of the inverting latch unit, an output providing the output of the inverting D flip-flop,
the first clock signal and the second clock signal enable the first tri-state gate and the second tri-state gate to be conducted at different time, the third clock signal enables the inverting latch unit to be turned off when one of the first tri-state gate and the second tri-state gate is conducted, and the inverting latch unit to be turned on when the first tri-state gate and the second tri-state gate are turned off.
2. The inverting D flip-flop of claim 1, wherein the inverting latch unit is one of:
a third tri-state gate;
a second inverter and a first transmission gate connected in series.
3. The inverting D flip-flop of claim 1, wherein each of the first, second, and third clock signals comprises an in-phase signal and an inverted signal having opposite phases.
4. The inverting D flip-flop of claim 3,
the in-phase signal of the first clock signal is obtained by AND-operating the common clock signal and one of the selection signal and the inverted selection signal, the inverted signal of the first clock signal is obtained by not-operating the in-phase signal of the first clock signal,
the in-phase signal of the second clock signal is obtained by AND-operating the common clock signal and the other of the selection signal and the inverted selection signal, the inverted signal of the second clock signal is obtained by not-operating the in-phase signal of the second clock signal,
the in-phase signal of the third clock signal is the common clock signal, and the inverted signal of the third clock signal is obtained by negating the common clock signal.
5. The inverting D flip-flop of claim 1 further comprising an inverting feedback unit having a data input connected to an output of the inverter, an output of the inverting feedback unit connected to an input of the inverter, a clock input of the inverting feedback unit configured to receive a fourth clock signal,
the fourth clock signal turns off the inverting feedback unit when the inverting latch unit is turned on, and turns on the inverting feedback unit when the inverting latch unit is turned off.
6. The inverting D flip-flop of claim 5, wherein the inverting feedback unit is one of:
a fourth tri-state gate;
a third inverter and a second transmission gate connected in series.
7. The inverting D flip-flop of claim 5,
the fourth clock signal includes an in-phase signal and an anti-phase signal having opposite phases.
8. The inverting D flip-flop of claim 7,
the in-phase signal of the fourth clock signal is the common clock signal, and the inverted signal of the fourth clock signal is obtained by negating the common clock signal.
9. The inverting D flip-flop of claim 1, wherein one of the first and second data signals is a functional data signal and the other of the first and second data signals is a scan data signal.
10. An arithmetic circuit comprising a plurality of inverting D flip-flops as claimed in any one of claims 1 to 4 and 9.
11. The arithmetic circuit of claim 10, further comprising:
a fourth inverter having an input configured to receive a select signal and output an inverted select signal;
a first clock signal generator configured to receive the common clock signal and one of the selection signal and an inverted selection signal output from the fourth inverter and output a first clock signal;
a second clock signal generator configured to receive the common clock signal and the other of the selection signal and the inverted selection signal output from the fourth inverter and output a second clock signal; and
a third clock signal generator configured to receive the common clock signal and output a third clock signal.
12. An arithmetic circuit comprising a plurality of inverting D flip-flops as claimed in any one of claims 5 to 8.
13. The arithmetic circuit of claim 12, further comprising:
a fourth inverter having an input configured to receive a select signal and output an inverted select signal;
a first clock signal generator configured to receive the common clock signal and one of the selection signal and an inverted selection signal output from the fourth inverter and output a first clock signal;
a second clock signal generator configured to receive the common clock signal and the other of the selection signal and the inverted selection signal output from the fourth inverter and output a second clock signal; and
a third clock signal generator configured to receive the common clock signal and output a third clock signal and a fourth clock signal.
14. A computing device, comprising:
a memory; and
a processor comprising an arithmetic circuit comprising a plurality of inverting D flip-flops as claimed in any one of claims 1 to 9.
CN202210455909.0A 2022-04-28 2022-04-28 Inverted D flip-flop with multiplexer function Active CN114567298B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210455909.0A CN114567298B (en) 2022-04-28 2022-04-28 Inverted D flip-flop with multiplexer function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210455909.0A CN114567298B (en) 2022-04-28 2022-04-28 Inverted D flip-flop with multiplexer function

Publications (2)

Publication Number Publication Date
CN114567298A true CN114567298A (en) 2022-05-31
CN114567298B CN114567298B (en) 2022-08-09

Family

ID=81721339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210455909.0A Active CN114567298B (en) 2022-04-28 2022-04-28 Inverted D flip-flop with multiplexer function

Country Status (1)

Country Link
CN (1) CN114567298B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116760403A (en) * 2023-06-26 2023-09-15 上海奎芯集成电路设计有限公司 High-speed D trigger circuit and high-speed D trigger chip

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050093577A1 (en) * 2003-11-04 2005-05-05 Liem Nguyen Multiplexer circuits
US20070240094A1 (en) * 2006-03-31 2007-10-11 Anshumali Kumar A Partially gated mux-latch keeper
US20120146697A1 (en) * 2010-12-13 2012-06-14 Leach Derrick A Scannable flip-flop with hold time improvements
CN104079290A (en) * 2013-03-25 2014-10-01 飞思卡尔半导体公司 Flip-flop circuit with resistive polycrystalline router
CN106656108A (en) * 2015-10-29 2017-05-10 智原科技股份有限公司 Flip-flop circuit
CN111600577A (en) * 2020-06-22 2020-08-28 深圳比特微电子科技有限公司 Inverted output dynamic D flip-flop
CN112929012A (en) * 2021-01-21 2021-06-08 北京源启先进微电子有限公司 Leakage compensation latch, data operation unit and chip

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050093577A1 (en) * 2003-11-04 2005-05-05 Liem Nguyen Multiplexer circuits
US20070240094A1 (en) * 2006-03-31 2007-10-11 Anshumali Kumar A Partially gated mux-latch keeper
US20120146697A1 (en) * 2010-12-13 2012-06-14 Leach Derrick A Scannable flip-flop with hold time improvements
CN104079290A (en) * 2013-03-25 2014-10-01 飞思卡尔半导体公司 Flip-flop circuit with resistive polycrystalline router
CN106656108A (en) * 2015-10-29 2017-05-10 智原科技股份有限公司 Flip-flop circuit
CN111600577A (en) * 2020-06-22 2020-08-28 深圳比特微电子科技有限公司 Inverted output dynamic D flip-flop
CN112929012A (en) * 2021-01-21 2021-06-08 北京源启先进微电子有限公司 Leakage compensation latch, data operation unit and chip

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116760403A (en) * 2023-06-26 2023-09-15 上海奎芯集成电路设计有限公司 High-speed D trigger circuit and high-speed D trigger chip

Also Published As

Publication number Publication date
CN114567298B (en) 2022-08-09

Similar Documents

Publication Publication Date Title
US9891283B2 (en) Multi-bit flip-flops and scan chain circuits
US7353441B2 (en) Flip flop circuit and apparatus using a flip flop circuit
US20090300448A1 (en) Scan flip-flop device
CN110390968B (en) Latch circuit for memory applications
US11581894B2 (en) Alternative data selector, full adder and ripple carry adder
US9081061B1 (en) Scan flip-flop
US7793178B2 (en) Cell supporting scan-based tests and with reduced time delay in functional mode
CN114567298B (en) Inverted D flip-flop with multiplexer function
CN114567300B (en) D flip-flop with multiplexer function
US7024605B2 (en) Flip-flop and scan path circuit
CN114567299B (en) Inverting latch with multiplexer function
US20230084175A1 (en) Flip-flop, master-slave flip-flop, and operating method thereof
CN114567297B (en) D-flip-flop, processor and computing device including the same
Chiu et al. Jump scan: A DFT technique for low power testing
US20060195738A1 (en) Merged MISR and output register without performance impact for circuits under test
CN114567301B (en) Hybrid phase D flip-flop with multiplexer function
CN114567294B (en) Latch with multiplexer function
CN114567295B (en) Hybrid phase latch with multiplexer function
TWI855632B (en) D trigger, operation circuit and processor with multiplexer function
US6944784B2 (en) Flip-flop having multiple clock sources and method therefore
CN111565037A (en) Alternative data selector
CN111625215A (en) Full adder and travelling wave carry adder
CN114563692B (en) Circuit supporting testability design based on latch and chip testing method
JP2976937B2 (en) Scan test circuit
Wang et al. A complete memory address generator for scan based march algorithms

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant