Multi-data-rate output circuit and integrated circuit
By adopting analog circuit design in integrated circuits and using D flip-flops, clock multiplication units and selective control output units, simple and efficient multiple data rate output is achieved, solving the problem of multiple data rate output in integrated circuit design. It achieves the effects of simple circuit structure, fast speed and small area.
Patent Information
- Application Number
- CN202323644977.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2033-12-29
AI Technical Summary
In integrated circuit design, it is difficult to implement a simple and efficient multi-data rate output circuit with existing technology, resulting in increased chip area and low speed.
Using analog circuit design, including multiple D flip-flops, clock multiplication unit and selection control output unit, multiple data rate output is achieved through clock multiplication and delay processing, specifically including double data rate DDR and quadruple data rate QDR Circuit design.
A multi-data rate output circuit with simple circuit structure, fast speed, small occupation area and low cost is realized, which is suitable for Soc chip design and reduces the chip design area and the number of PADs.
Smart Images

Figure CN221860992U_ABST
Abstract
Description
Technical Field
[0001] The utility model belongs to the technical field of integrated circuit analog circuit design, and particularly relates to a multiple data rate output circuit and an integrated circuit. Background Art
[0002] In integrated circuit design, 12-bit parallel data output requires 12 PADs, which will greatly increase the chip area. In the prior art, hardware description languages such as VHDL and Verilog HDL are usually used to implement DDR and QDR, thereby reducing the number of PADs. However, the circuits implemented using hardware description languages are still relatively large, have a low speed limit, and are more complex. Therefore, how to provide a simple and efficient multiple data rate circuit in integrated circuit design is a problem that needs to be solved urgently. Utility Model Content
[0003] In view of this, the utility model provides an output circuit and an integrated circuit with multiple data rates realized by means of analog circuits.
[0004] In order to achieve the above purpose, the utility model adopts the following technical solutions:
[0005] The utility model provides a multiple data rate output circuit, comprising: a plurality of D flip-flops, a clock frequency multiplication unit and a selection control output unit; the input port of each D flip-flop is connected to one channel of input data, and the clock ports of the plurality of D flip-flops are all connected to the same clock signal CLK; each D flip-flop is used to store one channel of data; the clock frequency multiplication unit is used to perform frequency multiplication processing on the clock signal CLK to obtain a multiplied clock signal, which is input to the selection control output unit; the selection control output unit is a multi-end input single-end output structure, the selection control output unit receives data output by the plurality of D flip-flops, and under the control of the multiplied clock signal, outputs the multi-channel data one by one from the output ports of the selection control output unit within one clock signal CLK cycle.
[0006] Furthermore, the multiple data rate circuit is a double data rate DDR circuit; there are two D flip-flops, and the input port of each D flip-flop is connected to one input data DATA0 and DATA1 respectively; the selection control output unit includes: a two-to-one selector controlled by a level signal and a D flip-flop; the two input ends of the selector receive the signals output by the two D flip-flops respectively, and select one output of DATA0 and DATA1 under the control of the high and low levels of the clock signal CLK; the D flip-flop outputs data DATA0 and DATA1 in each cycle of the clock signal CLK under the control of the twice-frequency clock signal CLK×2.
[0007] Furthermore, the selection control output unit also includes: a delay unit; the delay unit is used to delay the clock signal CLK input to the two-to-one selector, so that the delay of the delay unit is the same as the delay time of the D trigger used to store data.
[0008] Furthermore, the delay unit is composed of an even number of inverters connected in series.
[0009] Furthermore, the delay unit is composed of four inverters connected in series.
[0010] Furthermore, the multiple data rate circuit is a quad data rate QDR circuit; the number of D flip-flops is 4, and the input port of each D flip-flop is respectively connected to one input data DATA0, DATA1, DATA2, and DATA3; the selection control output unit includes: 4 transmission gates and 4 NAND gates, and the input ends of the 4 transmission gates are respectively connected to the signals output by the 4 D flip-flops; the control end of each transmission gate is respectively connected to the output end of a NAND gate; one input end of the NAND gate is connected to the clock signal CLK or the clock signal inversion CLKB, and the other input end of the NAND gate is connected to the twice-frequency clock signal CLK×2 or the twice-frequency clock signal inversion CLKB×2; data DATA0, DATA1, DATA2, and DATA3 are output in each cycle of the clock signal CLK.
[0011] Furthermore, the clock frequency multiplication unit achieves the frequency multiplication effect through a phase-locked loop or an inverter or a combination of a phase-locked loop and an inverter.
[0012] Furthermore, the selection control output unit also includes: a delay inversion unit; the delay inversion unit is used to delay and invert the signal output by the NAND gate, and the delay processing makes the delay the same as the delay time of the D trigger used to store data; the signal output by the NOT gate is processed by the delay inversion unit and output to the control C terminal of the transmission gate.
[0013] Furthermore, the selection control output unit also includes: a delay unit; the delay unit is used to only delay the signal output by the NAND gate, so that the delay of the delay unit is the same as the delay time of the D trigger used to store data; the signal output by the NOT gate is processed by the delay unit and output to the C inversion control terminal of the transmission gate.
[0014] Furthermore, the delay unit is composed of four inverters connected in series.
[0015] An embodiment of the utility model further provides an integrated circuit, wherein the integrated circuit uses the multiple data rate circuit described above.
[0016] The multiple data rate circuit provided by the utility model has the advantages of simple circuit structure, high speed, small occupied area and low cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the embodiments of the utility model or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 A circuit diagram of a multiple data rate output circuit provided by an embodiment of the utility model;
[0019] Figure 2 A circuit diagram of a double data rate output circuit provided by an embodiment of the utility model;
[0020] Figure 3 for Figure 2 The timing diagram corresponding to the circuit;
[0021] Figure 4 A circuit diagram of a quadruple data rate output circuit provided by an embodiment of the utility model;
[0022] Figure 5 for Figure 4 The timing diagram corresponding to the circuit. DETAILED DESCRIPTION
[0023] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0024] Figure 1As shown, the embodiment of the utility model provides a multiple data rate output circuit, including: n D flip-flops, a clock multiplication unit and a selection control output unit. The n D flip-flops are selected with exactly the same specifications; the input port D of each D flip-flop is connected to one channel of input data DATAx, the corresponding input data of the n D flip-flops are DATA0, DATA1...DATA(n-1) in sequence, and the clock ports of the n D flip-flops are all connected to the same clock signal CLK; the D flip-flops are triggered by the rising edge; each D flip-flop is used to store one channel of data. The clock multiplication unit is used to multiply the clock signal CLK to obtain a multi-frequency clock signal, which is input to the selection control output unit. The selection control output unit selects one or more from the clock signal CLK and the signal output by the clock multiplication unit as the control signal of the selection control output unit. The selection control output unit is a multi-end input single-end output structure, and the selection control output unit receives the data output by the n D flip-flops and outputs the multiple data DATA0, DATA1...DATA(n-1) one by one from the output port OUT of the selection control output unit under the control of a complete clock signal.
[0025] In another embodiment of the utility model, the multiple in the multiple data rate circuit is 2 to the power of n. The selection control output unit can design a corresponding specific selection control output circuit according to the multiple in the multiple data rate circuit. The following is a detailed description of the most common DDR (Double Data Rate) circuit and QDR (Quadruple Data Rate) circuit in integrated circuit design.
[0026] like Figure 2 As shown, the embodiment of the utility model provides a double data rate output circuit (DDR circuit), which includes: 2 D flip-flops D1 and D2, a clock multiplication unit, and a selection control output unit (circled by a dotted circle in the figure). Among them, the two D flip-flops are selected with exactly the same specifications; the input port D of each D flip-flop is connected to one input data DATA0 or DATA1, and the corresponding input data of the two D flip-flops are DATA0 and DATA1 respectively, and the clock ports of the two D flip-flops are connected to the same clock signal CLK; the D flip-flops are triggered by the rising edge; each D flip-flop is used to store one data. The clock multiplication unit realizes the 2 times frequency of the clock signal CLK through a phase-locked loop, and outputs the 2 times frequency signal CLK×2 to the selection control output unit.
[0027] The selection control output unit includes: a two-to-one selector MUX controlled by a level signal and a D flip-flop D3. The D flip-flop D3 also uses a rising edge trigger. The two input ends of the selector MUX receive the signals output by the two D flip-flops (D1 and D2) respectively, and select one of the outputs DATA0 and DATA1 under the high and low level control of the clock signal CLK; when the clock signal CLK output by the selector MUX is at a high level, DATA0 is selected for output, and when the clock signal CLK output by the selector MUX is at a low level, DATA1 is selected for output; the D flip-flop D3 outputs data DATA0 and DATA1 in each cycle of the clock signal CLK under the control of the doubled frequency clock signal CLK×2.
[0028] In a preferred embodiment, the selection control output unit also includes: a delay unit; the delay unit is used to delay the clock signal CLK input to the two-choice selector MUX, so that the delay of the delay unit is the same as the delay time of the D flip-flops D1 and D2 used to store data. The two signals are made to achieve zero delay as much as possible. The delay unit can be composed of an even number of inverters connected in series. In this embodiment, the delay unit is composed of 4 inverters connected in series. In a general embodiment, the selection control output unit may also not include a delay unit.
[0029] The specific working process of the circuit is as follows: First, through the rising edges of the first two triggers D1 and D2, the data DATA0 and DATA1 are stored in the triggers respectively. The delay time of CLK through the four inverters is equal to the delay time of the D trigger, and the two signals are as close to zero delay as possible. The trigger is triggered by the rising edge, and the delay of the four inverters is the same as that of the trigger. Through the CLK clock signal and the selector MUX, the signals of channel one DATA0 and channel two DATA1 are output. The CLK clock signal is high level and selects channel one to output DATA0, and the CLK clock signal is low level and selects channel two to output DATA1. Starting from the second rising edge, the third D trigger D3 and the twice clock CLKx2 are used to output data in the order of DATA0 and DATA1 at each rising edge. For the corresponding specific timing diagram, please refer to Figure 3 shown.
[0030] like Figure 4As shown, an embodiment of the utility model provides a quadruple data rate output circuit (QDR circuit), which includes: 4 D flip-flops (D1, D2, D3 and D4), a clock multiplication unit and a selection control output unit (circled by a dotted circle in the figure). The 4 D flip-flops are selected with exactly the same specifications; the input port D of each D flip-flop is connected to one input data DATA0, DATA1, DATA2 or DATA3, and the corresponding input data of the 4 D flip-flops are DATA0, DATA1, DATA2, DATA3 respectively, and the clock ports of the 4 D flip-flops are all connected to the same clock signal CLK; the D flip-flops are triggered by the rising edge; each D flip-flop is used to store one data. The clock multiplication unit realizes the 2-fold frequency of the clock signal CLK through a phase-locked loop, and obtains the clock signal CLK and its inverse signal by inverting, which are input to the selection control output unit, and are used in combination of the two clock signals.
[0031] The selection control output unit includes: 4 transmission gates (TG1, TG2, TG3 and TG4) and 4 NAND gates (NAND1, NAND2, NAND3 and NAND4). The input ends of the 4 transmission gates (TG1, TG2, TG3 and TG4) are respectively connected to the signals output by the 4 D flip-flops (D1, D2, D3 and D4). The enable control end C of the 4 transmission gates (TG1, TG2, TG3 and TG4) is respectively connected to the output ends of the 4 NAND gates (NAND1, NAND2, NAND3 and NAND4); the two input ends of the NAND gate receive different clock signals output by the clock multiplication unit. One input end of the NAND gate is connected to the clock signal CLK or the clock signal negation CLKB, and the other input end of the NAND gate is connected to the doubled clock signal CLK×2 or the doubled clock signal negation CLKB×2. Specifically, the two input clock signals of the NAND gate NAND1 are CLK and CLK×2, the two input clock signals of the NAND gate NAND2 are CLK and CLKB×2, the two input clock signals of the NAND gate NAND3 are CLKB and CLK×2, and the two input clock signals of the NAND gate NAND4 are CLKB and CLKB×2.
[0032] The two input ends of the selector MUX receive the signals output by two D flip-flops (D1 and D2) respectively, and select one of the outputs DATA0 and DATA1 under the control of the high and low levels of the clock signal CLK; when the clock signal CLK output by the selector MUX is at a high level, DATA0 is selected for output, and when the clock signal CLK output by the selector MUX is at a low level, DATA1 is selected for output; the D flip-flop D3 outputs data DATA0 and DATA1 in each cycle of the clock signal CLK under the control of the twice-frequency clock signal CLK×2.
[0033] In a preferred embodiment, the selection control output unit also includes: a delay inversion unit; each group of delay inversion units is used to delay and invert the signal output by each NAND gate, and 4 NAND gates correspond to 4 groups of delay inversion units. The delay processing makes the delay the same as the delay time of the D flip-flop used to store data; the signal output by the NAND gate is processed by the delay inversion unit and output to the control C end of the transmission gate. In this embodiment, each group of delay inversion units includes: 3 inverters and 1 transmission gate TG whose clock is in the transmission state. The selection control output unit may also include: a delay unit; each group of delay units is used to only delay the signal output by each NAND gate, so that the delay of the delay unit is the same as the delay time of the D flip-flop used to store data; the signal output by the NAND gate is processed by the delay unit and output to the C inversion control end of the transmission gate. In this embodiment, each group of delay units includes: 4 inverters.
[0034] The specific process of the circuit operation is as follows: The clock signals CLK, CLKB, CLKx2, CLKBx2 are combined in pairs through combinational logic circuits such as NAND gates, inverters, and transmission gates, and output through four ports OUT0, OUT1, OUT2, and OUT3 to control the enable control signals of the four transmission gates directly connected to the output of the D flip-flop. In a complete CLK clock cycle, ports OUT0, OUT1, OUT2, and OUT3 respectively generate a clock pulse with a pulse width of 1 / 4 of the clock signal CLK cycle. When the CLK rising edge comes, the D flip-flop stores the input data DATA0 DATA1 DATA2 DATA3 into the D flip-flops D1, D2, D3, and D4 respectively. The transmission gate enable control signals output by OUT0, OUT1, OUT2, and OUT3 control the four transmission gates to connect in turn for 1 / 4 of the clock signal CLK cycle. According to the control signal timing, the OUT output terminal outputs DATA0 DATA1 DATA2 DATA3 in turn within a complete CLK clock cycle, completing the parallel data to serial output conversion. For the corresponding specific timing diagram, please refer to Figure 5 shown.
[0035] The above embodiments describe in detail the double data rate output circuit (DDR circuit) and the quadruple data rate output circuit (QDR circuit). Similar circuits can be used for other multiple data rate circuits, and it is only necessary to expand the corresponding clock signal CLK to other multiple frequency clocks.
[0036] The multiple data rate output circuit provided by the present application can be widely used in the design of Soc chips. By using the phase-locked loop of the Soc chip, it is only necessary to add a simple digital circuit to realize the output of multiple data rate data, which can reduce the chip design area and save the number of PADs.
[0037] Optionally, an embodiment of the present application further provides an integrated circuit, including a substrate and a multiple data rate output circuit fabricated on the substrate.
[0038] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A multiple data rate output circuit, It is characterized in that include: A plurality of D flip-flops, a clock multiplication unit and a selection control output unit; The input port of each D flip-flop is connected to one channel of input data, and the clock ports of the plurality of D flip-flops are all connected to the same clock signal CLK; each D flip-flop is used to store one channel of data; The clock multiplication unit is used to multiply the clock signal CLK to obtain a multi-frequency clock signal, which is input into the selection control output unit; the selection control output unit is a multi-terminal input single-end output structure, and the selection control output unit receives data output by multiple D flip-flops, and under the control of the multiplied clock signal, outputs multiple data from the output port of the selection control output unit one by one within one clock signal CLK cycle.
2. The circuit according to claim 1, It is characterized in that The multiple data rate output circuit is a double data rate DDR circuit; the number of D flip-flops is 2, and the input port of each D flip-flop is connected to one input data DATA0 and DATA1 respectively; The selection control output unit includes: a two-to-one selector controlled by a level signal and a D flip-flop; the two input ends of the selector receive the signals output by the two D flip-flops respectively, and select one of DATA0 and DATA1 for output under the control of the high and low levels of the clock signal CLK; Under the control of the twice-frequency clock signal CLK×2, the D flip-flop outputs data DATA0 and DATA1 in each cycle of the clock signal CLK.
3. The circuit according to claim 2, It is characterized in that The selection control output unit also includes: a delay unit; the delay unit is used to delay the clock signal CLK input to the two-to-one selector, so that the delay of the delay unit is the same as the delay time of the D trigger used to store data.
4. The circuit according to claim 3, It is characterized in that The delay unit is composed of an even number of inverters connected in series.
5. The circuit according to claim 1, It is characterized in that The multiple data rate output circuit is a quadruple data rate QDR circuit; the number of D flip-flops is 4, and the input port of each D flip-flop is respectively connected to one channel of input data DATA0, DATA1, DATA2, and DATA3; The selection control output unit includes: 4 transmission gates and 4 NAND gates, and the input ends of the 4 transmission gates are respectively connected to the signals output by 4 D flip-flops; The control end of each transmission gate is respectively connected to the output end of a NAND gate; one input end of the NAND gate is connected to the clock signal CLK or the inverted clock signal CLKB, and the other input end of the NAND gate is connected to the twice-frequency clock signal CLK×2 or the inverted twice-frequency clock signal CLKB×2; data DATA0, DATA1, DATA2, DATA3 are output in each cycle of the clock signal CLK.
6. The circuit according to claim 2 or 5, wherein the clock frequency multiplication unit achieves the frequency multiplication effect by means of a phase-locked loop or an inverter or a combination of a phase-locked loop and an inverter.
7. The circuit according to claim 5, It is characterized in that The selection control output unit also includes: a delay inversion unit; the delay inversion unit is used to delay and invert the signal output by the NAND gate, and the delay processing makes the delay the same as the delay time of the D trigger used to store data; the signal output by the NOT gate is processed by the delay inversion unit and output to the control C terminal of the transmission gate.
8. The circuit according to claim 5, It is characterized in that The selection control output unit also includes: a delay unit; the delay unit is used to only delay the signal output by the NAND gate, so that the delay of the delay unit is the same as the delay time of the D trigger used to store data; the signal output by the NOT gate is processed by the delay unit and output to the C inversion control terminal of the transmission gate.
9. The circuit according to claim 8, It is characterized in that The delay unit is composed of four inverters connected in series.
10. An integrated circuit, It is characterized in that The integrated circuit uses the multiple data rate circuit according to any one of claims 1 to 9.
