System and method for reducing metastability in CMOS flip-flops
09729129 · 2017-08-08
Inventors
Cpc classification
H03K3/0375
ELECTRICITY
International classification
Abstract
A circuit and method for reducing metastability of a CMOS SR flip flop is provided. The circuit comprises a first switching module and a second switching module that are operatively coupled to a first and second output terminal of the CMOS SR flip-flop. The method includes injecting current onto the first and second output terminals of the CMOS SR flip-flop at mutually opposite directions during permissible mid-range voltages of the output terminals. Further, the method includes driving the output terminals of the CMOS SR flip-flop into the predetermined state of zero and predetermined stable state of Vdd by utilizing the currents injected onto the output terminals. As a result, the metastable point of the CMOS flip-flop is diverted from the corresponding metastable voltage and thereby reduces the metastability of the CMOS SR flip-flop.
Claims
1. A flip-flop comprising: a first output terminal and a second output terminal, said first and second output terminals configured to receive injected current at mutually opposite directions thereof respectively during predetermined mid-range voltages thereof; a first switching module operatively coupled to said first output terminal, said first switching module further configured to create a first voltage across a first resistor incorporated therein, only in an event that a voltage across the first output terminal is within a predetermined mid-range voltage, said first switching module still further configured to convert the first voltage into at least two digital signals T.sub.1 and T.sub.2, said digital signals T.sub.1 and T.sub.2 characterized by a first predetermined switching voltage; a second switching module operatively coupled to said second output terminal, said second switching module further configured to create a second voltage across a second resistor incorporated therein, only in an event that a voltage across the second output terminal is within a predetermined mid-range voltage, said second switching module still further configured to convert the second voltage into at least two digital signals TN.sub.1 and TN.sub.2, said signals TN.sub.1 and TN.sub.2 characterized by a second predetermined switching voltage; and wherein said first switching module is further configured to derive the injected current at said first output terminal, based on a combination of digital signals T.sub.1 and T.sub.2, said first switching module further configured to utilize the injected current derived at the first output terminal, to drive the first output terminal to a known state of zero, and wherein said second switching module is further configured to derive the injected current at said second output terminal, based on a combination of digital signals T.sub.2 and TN.sub.1, said second switching module further configured to utilize the injected current derived at the second output terminal to drive the second output terminal to a known state of V.sub.dd, thereby diverting a metastable point of the flip-flop from a corresponding metastable voltage at said first output terminal and said second output terminal respectively, and reducing the metastability of the flip-flop by reducing corresponding delay timings from a metastability point to zero and from the metastability point to the V.sub.dd.
2. The flip-flop as claimed in claim 1, wherein the flip-flop is selected from the group consisting of a CMOS SR flip-flop, and an edge triggered D type flip-flop.
3. The flip-flop as claimed in claim 1, wherein said first switching module and second switching module are further configured to divert the metastable point of the flip-flop from at least one of corresponding metastable voltage, voltage noise, current noise, and cross-talk noise, thereby causing at least one of the voltage noise, current noise, and cross-talk noise to occur at a metastable point of the flip-flop thereby reducing variations in predetermined minimum setup and hold timings corresponding to the flip-flop.
4. A method for reducing the metastability of a flip-flop, said method comprising the following steps: injecting current onto a first output terminal and a second output terminal at mutually opposite directions thereof, and during predetermined mid-range voltages thereof; communicably coupling said first output terminal with a first switching unit and communicably coupling said second output terminal with a second switching unit; creating a first voltage across a first resistor of the first switching module, only in an event that a voltage across the first output terminal is within a predetermined mid-range voltage; converting the first voltage into at least two digital signals T.sub.1 and T.sub.2, said digital signals T.sub.1 and T.sub.2 characterized by a first predetermined switching voltage; creating a second voltage across a second resistor of the second switching module, only in an event that a voltage across the second output terminal is within a predetermined mid-range voltage; converting the second voltage into at least two digital signals TN.sub.1 and TN.sub.2, said digital signals TN.sub.1 and TN.sub.2 characterized by a second predetermined switching voltage; deriving the injected current at said first output terminal based on a combination of digital signals T.sub.1 and TN.sub.2; and utilizing the injected current obtained at the first output terminal to drive the first output terminal to a known state of zero; deriving the injected current at said second output terminal based on a combination of digital signals T.sub.2 and TN.sub.1, and utilizing the injected current obtained at the second output terminal to drive the second output terminal to a known state of V.sub.dd; and diverting a metastable point of the flip-flop from a corresponding metastable voltage at said first output terminal and said second output terminal respectively; and reducing the metastability of the flip-flop by reducing corresponding delay timings from a metastability point of the flip-flop to zero and from the metastability point to the V.sub.dd.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The other objects, features and advantages will occur to those skilled in the art from the following description of the preferred embodiment and the accompanying drawings in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10) Although the specific features of the embodiments herein are shown in some drawings and not in others. This is done for convenience only as each feature may be combined with any or all of the other features in accordance with the embodiments herein.
DETAILED DESCRIPTION OF THE EMBODIMENTS
(11) In the following detailed description, a reference is made to the accompanying drawings that form a part hereof, and in which the specific embodiments that may be practiced is shown by way of illustration. These embodiments are described in sufficient detail to enable those skilled in the art to practice the embodiments and it is to be understood that the logical, mechanical and other changes may be made without departing from the scope of the embodiments. The following detailed description is therefore not to be taken in a limiting sense.
(12) The first embodiment herein provides the circuit for reducing the metastability of the CMOS SR flip-flop. The circuit comprises the first switching module and the second switching module that are operatively coupled to the first output terminal and the second output terminal of the CMOS SR flip-flop. The output terminals are configured to receive the injected current from the switching modules at mutually opposite directions respectively during the permissible mid-range voltages of the outputs. The switching modules are configured to drive the output terminals into the predetermined state of zero and predetermined stable state of Vdd by utilizing the injected current onto the output terminals of the flip-flop. The switching modules further configured to divert the metastable point of the flip-flop from the corresponding metastable voltage into known stable state along with the corresponding voltage noise, current noise, and cross-talk noise.
(13) The second embodiment herein provides the method for reducing the metastability of the CMOS SR flip-flop. The method includes injecting current onto the first and second output terminals of the flip-flop at dually opposite directions during permissible mid-range voltages of the output terminals. Further, the method includes driving the output terminals into the predetermined state of zero and predetermined stable state of Vdd by utilizing the currents injected onto the output terminals of the CMOS SR flip-flop. Furthermore, the method includes diverting the metastable point of the CMOS SR flip-flop from the corresponding metastable voltage and thereby reducing the metastability of the flip-flop.
(14)
(15)
(16) The first output terminal ‘Q’ and the second output terminal ‘Q.sub.N’ are configured to receive injected current at mutually opposite directions from the first switching module 202 and the second switching module 204 respectively during the permissible mid-range voltages of the output terminals. The first switching module 202 and the second switching module 204 are operatively coupled to the first output terminal ‘Q’ and the second output terminal ‘Q.sub.N’ of the CMOS SR flip-flop. Further, the first switching module 202 and the second switching module 202 are configured to divert the metastable point of the CMOS SR flip-flop from the corresponding metastable voltage into known stable state along with the corresponding voltage noise, current noise, and cross-talk noise, and thereby reduce the metastability of the CMOS SR flip-flop. Further, the first switching module 202 and the second switching module 204 uses S and R inputs of the CMOS SR flip-flop along with high gain inverters and non-inverters at the output terminals of Q and Q.sub.N respectively.
(17) The metastability of the CMOS SR flip-flop for a short channel process node is given below:
(18) ‘C.sub.L’ represents respective total effective capacitance at the output terminals ‘Q’ and ‘Q.sub.N’ of the CMOS SR flip-flop. ‘V.sub.tn’ and ‘V.sub.tp’ represents effective threshold voltages of NMOS and PMOS transistors in the CMOS SR flip-flop and ‘K.sub.n’ and ‘K.sub.p’ represents transconductance parameters of the NMOS and PMOS transistors respectively. ‘Vdd’ is the supply voltage to the CMOS SR flip-flop. In Metastability condition, both S and R signals of the CMOS SR flip-flop are at high level and transistors operate in saturation region. Further, the node equations at ‘Q’ and ‘Q.sub.N’ are
(19)
(20) In the above equations (1 and 2), the transistor currents behave linearly with respect to the input voltages due to short channel effect or sub-micron process. The channel length modulations in the devices are neglected in equations (1) and (2). The current I is the proposed injected current which is injected just after start time (t=0+) to avoid or divert from metastable point. The current I in equation (1) is made negative to make ‘Q’ to reach zero if there is a metastable point and similarly ‘Q.sub.N’ to reach to Vdd.
(21) Also, in the equations (1) and (2), it is assumed that V.sub.dsat of both NMOS and PMOS transistors in the flip-flop are assumed to be small so that saturation region is completely used when ‘Q’ is driven from metastate to zero and similarly when ‘Q.sub.N’ is driven from metastate to V.sub.dd.
(22) The time, τ is defined as:
(23)
(24) From equation (1) and (2),
(25)
(26) The solution of equation (4) is given by
Q(t)=Ae.sup.m.sup.
(27) Where
(28)
(29) The metastable point of ‘Q’ is obtained by equating the currents in NMOS and PMOS devices in equation (2) at t=0 and is given by,
(30)
(31) Similarly, metastable point for the output Q.sub.N is given by using equation (1) as,
Q.sub.Nm=Q.sub.m (9)
(32) The following description defines the timing involved due to a constant perturbation or noise 2δ at the beginning of time. Let +2δ be the perturbation or noise at the beginning of metastable state at the output Q and −2δ be the perturbation or noise at the output Q.sub.N at the start time. From the solution (5), at start time (t=0+),
(33)
(34) By using equation (1) and (6),
(35)
(36) Therefore values of A and B are,
(37)
(38) After neglecting second term in (5), the solution for equation (5) is
(39)
(40) Similarly, for Q.sub.N(t) in the region of 0≦t≦t.sub.1 is,
(41)
(42) where C.sub.0N is given by,
(43)
(44)
(45) Similarly, for Q.sub.N(t) in this region is given by.
(46)
(47) Similarly Q(t) above t.sub.2 is,
(48)
(49) and Q.sub.N(t) the region is,
(50)
(51) The parameter m.sub.1 is obtained from equation (1) and (2),
(52)
(53) Similarly, m.sub.2 is obtained from equation (1) and (2) as,
(54)
(55) The time t.sub.3 is given by equating the equation (19) to zero at t=t.sub.3. The time t is the total time elapsed for the output ‘Q’ to reach zero if there is a perturbation +2δ at beginning of time.
(56) The proposed method uses 130 nm, 1.2v IBM Technology process (BSIM3v3). The approximate total effective load capacitance C.sub.L is 300 f at the outputs of the CMOS SR flip-flop. Further, only minimum lengths are used for the flip-flop so as to reduce the associated capacitances. The injected current I at the outputs (in opposite directions) is 120 uA. The metastable point simulated is 587 mv. The simulated time t3 is approximately 400 ps (pico seconds) for a noise voltage of +3 mv at ‘Q’ and −3 mv at ‘Q.sub.N’, and the theoretical time t.sub.3 is approximately 380 ps.
(57)
(58) The transistor M1 gets input from the first output terminal ‘Q’ of the CMOS SR flip-flop. The input is passed through the switching non-inverter gate with switching voltage V.sub.1 before passing the input to the transistor M1. The transistor M2 gets input from the first output terminal ‘Q’ of the CMOS SR flip-flop. The input is passed through the switching inverter gate with switching voltage V.sub.2 before passing the input to the transistor M2. Transistors M3 and M4 get input from the input terminals S and R of the CMOS SR flip-flop respectively. The voltage across the resistor R.sub.1 is developed only when voltage of the first output terminal ‘Q’ is in the mid-range, i.e. from V.sub.1=525 mv to V.sub.2=650 mv. The transistor M5 converts the voltage across the resistor R.sub.1 to produce digital signals T.sub.1 and T.sub.2. Before producing the digital signals T.sub.1 and T.sub.2, the voltage across R.sub.1 is passed through the switching inverter and non-inverter gates with switching voltage V.sub.2 respectively so as to facilitate to obtain the injected current I. The transistor M5 and the resistor R.sub.2 produce lesser voltage drop (lesser than V.sub.2) at drain of the transistor M5 whenever there is a sufficient positive voltage across the resistor R.sub.1. The switching voltages of the switching inverter gate and non-inverter gates are V.sub.1=525 mv and V.sub.2=650 mv. The injected current, I at the first output terminal Q is obtained from the signals T.sub.1 and TN.sub.2 driving the transistor M6 and the transistor M7 to make the first output terminal Q to go into the known state of zero.
(59)
(60) The transistor MN1 gets input from the second input terminal Q.sub.N of the CMOS SR flip-flop. The input is passed through the switching non-inverter gate with switching voltage V.sub.2 before passing the input to the transistor MN1. The transistor MN2 gets input from the second output terminal Q.sub.N. The input is passed through the switching inverter gate with switching voltage V.sub.1 before passing the input to the transistor MN2. The transistors MN3 and MN4 get the input, from input terminals S and R of the CMOS SR flip-flop. The inputs are passed through the switching inverter gates with switching voltage V.sub.1 respectively before passing the inputs to the transistors MN3 and MN4. The voltage across the resistor RN.sub.1 is developed only when the voltage of second output terminal Q.sub.N is in the mid-range, i.e. from 525 mv to 650 mv. The transistor MN5 converts the voltage at the resistor RN.sub.1 to produce digital signals TN1 and TN2 signals after passing through the switching inverter and non-inverter gates with switching voltage V1. The transistor MN5 and resistor RN.sub.2 produce higher voltage (higher than V.sub.1) at drain of the transistor MN5 whenever there is a sufficient drop across the resistor RN1. The injected current, I at the second output terminal Q.sub.N is obtained from the signals T.sub.2 and TN1 driving the transistor MN6 and the transistor MN7 to make the first output terminal Q to go into the known predetermined stable state of Vdd.
(61)
(62)
(63) When the input clock in the positive-edge-triggered D flip-flop makes a positive transition, the value of D is transferred to the output terminal ‘Q’. A negative transition of the clock does not affect the output. Furthermore, the output is not affected by changes in D when clk is in the steady logic-1 or the logic-0 level.
(64) The D flip-flop along with the first switching module and the second switching, module diverts the metastable point of the D flip-flop from the corresponding metastable voltage, and from the corresponding voltage noise, current noise, and cross-talk noise. More protection against increased noise voltages is developed by increasing the injected current at the output terminals of the D flip-flop.
(65)
(66) The simulated time is, without injected current, during mid-range voltages and with a noise of −3 mv at the output Q and +3 mv at the output Q.sub.N of the flip-flop is approximately 600 ps. The
(67)
(68) The system and method of the embodiments herein avoids metastability of the CMOS SR flip-flop and the positive edge triggered D flip-flop using a simple circuitry.
(69) The system and method of the embodiments herein makes the outputs of the CMOS SR Flip-Flop and the positive edge triggered D flip-flop to go into known stable states within a lesser time during Metastable state.
(70) The embodiments herein provide an easy implementation for short channel processes in MOSFETs, as the associated capacitances of the MOSFETs in the circuits are lesser for sub-micron node.
(71) The foregoing description of the specific embodiments will so fully reveal the general nature of the embodiments herein that others can, by applying current knowledge, readily modify and/or adapt for various applications such specific embodiments without departing from the generic concept, and, therefore, such adaptations and modifications should and are intended to be comprehended within the meaning and range of equivalents of the disclosed embodiments.
(72) It is to be understood that the phraseology or terminology employed herein is for the purpose of description and not of limitation. Therefore, while the embodiments herein have been described in terms of preferred embodiments, those skilled in the art will recognize that the embodiments herein can be practiced with modifications.
(73) Although the embodiments herein are described with various specific embodiments, it will be obvious for a person skilled in the art to practice the embodiments herein with modifications. However, all such modifications are deemed to be within the scope of the claims.
(74) It is also to be understood that the following claims are intended to cover all of the generic and specific features of the embodiments described herein and all the statements of the scope of the embodiments which as a matter of language might be said to fall there between.