HIGH SPEED FLIP-FLOP

Abstract: A bistable device has first and second complementary input terminals and first and second bistable states that are determined by the polarity of the signal applied to one of the input terminals. A source of an uninverted binary input signal, preferably an uninverted data stream, has a first value of a second value. A source of an inverted binary input signal, preferably an inverted data stream, has a first value or a second value in complementary relationship to the values of the uninverted input signal. A first source of a trigger signal has one polarity. A second source of a trigger signal has the other polarity. The first trigger signal is applied to the first input terminal and the second trigger signal is applied to the second input terminal to drive the bistable device into the first stable state when the input signal has the first value. The first trigger signal is applied to the second input terminal and the second trigger signal is applied to the first input terminal to drive the bistable device into the second stable state when the input signal has the second value.

Description: HIGH SPEED FLIP-FLOP BACKGROUND OF THE INVENTION This invention relates to bistable electronic circuits and, more particularly, to a high speed flip-flop. Flip-flops have many applications in electronic systems. Speed of operation and power efficiency are important characteristics of a flip-flop. A flip-flop can be controlled by a clock to operate upon a data stream as a latch. A dynamic latch generally is capable of operating at a higher speed and with lower power consumption than a static latch. On the other hand, a static latch is generally more stable than a dynamic latch. In short, both dynamic and static latches have favorable and unfavorable characteristics that need to be compromised in circuit design. SUMMARY OF THE INVENTION According to the invention, a bistable device has first and second complementary input terminals and first and second bistable states that are determined by the polarity of the signal applied to one of the input terminals. A source of an uninverted binary input signal, preferably an uninverted data stream, has a first value or a second value. A source of an inverted binary input signal, preferably an inverted data stream, has a first value or a second value in complementary relationship to the values of the uninverted input signal. A first source of a trigger signal has one polarity. A second source of a trigger signal has the other polarity. The trigger signals could be the bias potential supplies for the transistors of the bistable device. The first trigger signal is applied to the first input terminal and the second trigger signal is applied to the second input terminal to drive the bistable device into the first stable state when the input signal has the first value. The first trigger signal is applied to the second input terminal and the second trigger signal is applied to the first input terminal to drive the bistable device into the second stable state when the input signal has the second value. As a result, the bistable device is triggered in push-pull fashion responsive to the binary input signal. A feature of the invention is a latch that can be converted between a dynamic mode and a static mode. Cross-coupled connections are formed between the output of a first bistable stage and the input of a second bistable stage and between the input of the second bistable stage and the output of the first bistable stage so that the first and second stages are alternately cut off or float. Preferably, cross-coupled connections are also formed between the output of a third bistable stage and the input of a fourth bistable stage and between the output of the fourth bistable stage and the input of the third bistable stage so that the third and fourth stages are alternately cut off or float. The first and second stages are conditionally connected in parallel and the second and fourth stages are conditionally connected in parallel to form a static latch when the connection is in place and a dynamic latch when the connection is not in place. By controlling the conditional connections, the latch can be converted between a static mode and a dynamic mode. BRIEF DESCRIPTION OF THE DRAWINGS The features of a specific embodiment of the best mode contemplated of carrying out the invention are illustrated in the drawings, in which: FIG. 1 is a circuit schematic diagram of a dynamic latch incorporating principles of the invention; FIG. 2 is a circuit schematic diagram of a static latch incorporating principles of the invention; FIG. 3 is a circuit schematic diagram of a convertible latch incorporating principles of the invention. FIG. 4 is a circuit schematic diagram of a master-slave latch incorporating the principles of the invention. FIG. 5 is a circuit schematic diagram of another master-slave latch incorporating the principles of the invention. DETAILED DESCRIPTION OF THE SPECIFIC EMBODIMENT As illustrated in FIG. 1 , a dynamic latch has P-type CMOS transistors 10 and 12 connected in a cross-coupled arrangement to form a bistable device. The sources of transistors 10 and 12 are each connected to a supply 14 of positive bias potential. The drains of transistors 10 and 12 are connected to complementary output terminals 15 and 16, respectively. In addition, the drain of transistor 10 is connected to the gate of transistor 12 and the drain of transistor 12 is connected to the gate of transistor 10. Complementary input terminals 18 and 20 are coupled by invertors 22 and 24, respectively, to the sources of P-type CMOS clocking transistors 26 and 28, respectively. Invertor 22 comprises a P-type CMOS transistor 22a and an N-type CMOS transistor 22b. Input terminal 18 is connected to the gates of transistors 22a and 22b. The drains of transistors 22a and 22b are connected to the source of transistor 26. The source of transistor 22a is connected to bias supply 14. The source of transistor 22b is connected to a supply of negative bias potential 48. Similarly, invertor 24 comprises a P-type CMOS transistor 24a and an N-type CMOS transistor 24b. Input terminal 20 is connected to the gates of transistors 24a and 24b. The drains of transistors 24a and 24b are connected to the source of transistor 28. The source of transistor 24a is connected to bias supply 14. The source of transistor 24b is connected bias supply 48. Complementary data streams could be fed to input terminals 18 and 20, respectively. A clock terminal 30 is connected to the gates of transistors 26 and 28. The drains of transistors 26 and 28 are connected to the drains of transistors 10 and 12, respectively. Cross coupled transistors 10 and 12 form a bistable circuit that is triggered responsive to the complementary states of input terminals 18 and 20 upon application of each negative clock pulse to terminal 30. The state of the bistable circuit represents the value of the data at input terminals 18 and 20 when the negative clock pulses are applied thereto. When the negative clock pulse at clock terminal 30 ends, output terminals 15 and 16 retain the same state until the next negative clock pulse. Specifically, when a negative clock pulse is applied to clock terminal 30 and the data at input terminal 18 is a low value, transistor 22a becomes conducting, transistor 22b becomes non-conducting, and the positive potential of bias supply 14 is applied to output terminal 15. Since the data at input terminal 20 at this time is a high value, transistor 24b becomes conducting, transistor 24a becomes non-conducting, and the negative potential of bias supply 48 is applied to output terminal 16. When a negative clock pulse is applied to clock terminal 30 and the data at input terminal 18 is a high value, transistor 22b becomes conducting, transistor 22a becomes non- conducting, and the negative potential of bias supply 48 is applied to output terminal 15. Since the data at input terminal 20 at this time is a low value, transistor 24a becomes conducting, transistor 24b becomes non-conducting, and the positive potential of bias supply 14 is applied to output terminal 16. In summary, the positive and negative potentials of supplies 14 and 48, respectively, which serve as trigger signals, are applied to output terminals 15 and 16 in push-pull fashion: a positive potential is applied to output terminal 15 as a trigger when a negative potential is applied to output terminal 16 as a trigger, and visa-versa. As a result of the push-pull action, the bistable circuit operates at high speed, i.e., it transitions rapidly from one state to the other, and does not consume much power. In the static latch of FIG. 2. the same reference numerals are used to designate the components in common with the dynamic latch of FIG. 1 . Back-to-back invertors 32 and 34 are connected between output terminals 15 and 16 to form a bistable circuit that is triggered by the states of input terminals 18 and 20 upon application of each negative clock pulse to terminal 30. Invertors 32 and 34 each comprise a pair of complementary CMOS transistors having their gates connected together, their drains connected together and their sources connected to a supply of bias potential. One of the complementary transistors is normally saturated, while the other complementary transistor is cut off. Switching is ordinarily slower than the dynamic latch because the conducting transistor is saturated. In the convertible latch of FIG. 3. the same reference numerals are used to designate the components in common with the dynamic latch of FIG. 1. Bias supply 14 of FIG. 1 is shown as separate bias potential supplies 14a and 14b in FIG. 3. In addition to these common components, the convertible latch has N-type CMOS transistors 40. 42, 44 and 46. The drain of transistor 40 is connected to output terminal 15, the gate of transistor 40 is connected to the gate of transistor 10, and the source of transistor 40 is connected through transistor 42 to a supply 48a of negative bias potential. Specifically, the source of transistor 40 is connected to the drain of transistor 42 and the source of transistor 42 is connected to bias potential 48a. Similarly, the drain of transistor 44 is connected to output terminal 16, the gate of transistor 44 is connected to the gate of transistor 12, and the source of transistor 44 is connected through transistor 46 to a supply 48b of negative bias potential. Specifically, the source of transistor 44 is connected to the drain of transistor 46 and the source of transistor 46 is connected to bias supply 48b. Bias supplies 48a and 48b could, in reality, be the same bias supply. A test terminal 50 is connected to the gates of transistors 42 and 46. When a positive pulse is applied to test terminal 50, i.e., a binary " 1 ", transistors 42 and 46 conduct, i.e., they are turned on, by negative clock pulses applied to terminal 30. As a result, transistor 40 is connected to transistor 10 between bias supplies 14a and 48a to form an inverter, i.e, inverter 34 in FIG. 2. and transistor 44 is connected to transistor 12 between bias supplies 14b and 48b to form an inverter, i.e., inverter 32 in FIG. 2. These back-to-back inverters function as a static latch. In operation of the static latch, when a binary "1 ", i.e., a high voltage level appears at input terminal 18, a binary "0", i.e., a low voltage level appears at input terminal 20, and a low voltage level appears at clock terminal 30, transistors 10 and 44 are conducting, transistors 12 and 40 are non-conducting, a binary "1 ", i.e.. a high voltage appears at output terminal 15, and a binary "0", i.e., a zero voltage appears at output terminal 16. When a binary "1 ", i.e., a high voltage level appears at input terminal 20. a binary "0", i.e., a low voltage level appears at input terminal 18, and a low voltage level appears at clock terminal 30, transistors 10 and 44 are conducting, transistors 12 and 40 are non-conducting, a binary "1 ", i.e., a high voltage appears at output terminal 16, and a binary "0", i.e., a low voltage appears at output terminal 15. When the positive pulse at terminal 50 ends, i.e., a binary "0" appears at terminal 50, transistors 42 and 46 stop conducting, so transistors 40 and 44 are no longer connected to transistors 10 and 12. respectively, to form back-to-back inverters, i.e. inverters 32 and 34. This leaves only transistors 10 and 12 cross-coupled to each other to function as a dynamic latch, as shown in FIG. 1. In operation of the dynamic latch, when a binary "1 ", i.e., a high voltage level appears at input terminal 18, transistor 10 becomes conductive, transistor 12 becomes non-conductive, a binary "1 " appears at output terminal 15, and a binary "0" appears at output terminal 16. When a binary "1 ", i.e., a high voltage level appears at input terminal 20, transistor 12 becomes conductive, transistor 10 becomes non-conductive, a binary "1 " appears at output terminal 16, and a binary "0" appears at output terminal 15. This dynamic latch is capable of operating at high speed because the output terminal at which the binary "0" appears floats because the transistor connected to this output terminal is non-conducting, i.e. cut off. In summary, the latch of FIG. 3 is convertible between a dynamic mode when a positive pulse is not present on terminal 50 and a static mode when a positive pulse is present on terminal 50. To enhance the speed of operation of the static latch it is preferable to design the latch so the conductive transistors float, rather than saturate. This can be done by proper selection of the gain of the transistors. As a result, the transistors can switch faster from a conductive state to a non-conductive state in the same manner as a dynamic latch. In the master-slave latch of FIG. 4, the same reference numerals are used to designate the components of a master latch 50 in common with the dynamic latch of FIG. 1 , except that clocking transistors 26 and 28 are N-type, instead of P-type and the clock pulses applied to terminal 30 are positive, instead of negative. The same reference numerals plus 100 are used to designate the components of a slave latch 52 in common with the dynamic latch of FIG. 1 , i.e., transistor 1 10 is in common with transistor 10, etc. Output terminals 15 and 16 of master latch 50 are connected to input terminals 120 and 1 18, respectively of slave latch 52. Clock terminal 30 is connected to the gate of each of clocking transistors 26, 28, 126. and 128 without phase inversion. As a result, the state of data applied to input terminals 18 and 20 is stored in master latch 50 at the beginning of each clock cycle and is transferred to slave latch 52 at the middle of each clock cycle, so the state of output terminal 1 16 represents the value of the input data and the state of output terminal 1 15 represents the inverse of the state of the input data. In the master-slave latch of FIG. 5, the same reference numerals are used to designate the components in common with the master-slave latch of FIG. 4. In this embodiment, in contrast to FIG. 4, output terminals 15 and 16 of master latch 50 are connected to input terminals 1 18 and 120, respectively of slave latch 52, clock terminal 30 is connected to the gate of each of clocking transistors 126 and 128 with a phase inversion caused by an inverter 54. and the states of output terminals 1 15 and 1 16 are reversed, i.e., the state of output terminal 1 15 represents the value of the input data and the state of output terminal 1 16 represents the inverse of the state of the input data. As a result, the value of data applied to input terminals 18 and 20 is stored in master latch 50 at the beginning of each clock cycle and is transferred to slave latch 52 at the middle of each clock cycle. In the embodiments of FIGS. 2,3,4, and 5, inverters 22, 24, 122, and 124 could be constructed as in FIG. 1 , namely with complementary types of transistors 22a and 22b and 24a and 24b connected as shown in FIG. 1 to trigger the bistable devices in push-pull fashion. The described embodiments of the invention are only considered to be preferred and illustrative of the inventive concept; the scope of the invention is not to be restricted to such embodiments. Various and numerous other arrangements may be devised by one skilled in the art without departing from the spirit and scope of this invention. For example, the convertible latch could be implemented in other types of transistor architectures.

Claims: WHAT IS CLAIMED IS: 1. A driving circuit for a bistable device comprising: a bistable device that has .irst and second complementary input terminals and first and second bistable states that are determined by the polarity of the signal applied to one of the input terminals; a source of an uninverted binary input signal that has a first value or a second value; a source of an inverted binary input signal that has a first value or a second value in complementary relationship to the values of the uninverted input signal; a first source of a trigger signal having one polarity; a second source of a trigger signal having the other polarity; means for applying the first source of atrigger signal to the first input terminal and the second source of a trigger signal to the second input terminal to drive the bistable device into the first stable state when the input signal has the first value; and means for applying the first source of a trigger signal to the second input terminal and the second source of a trigger signal to the first input terminal to drive the bistable device into the second stable state when the input signal has the second value. 2. The driving circuit of claim 1 , in which the applying means comprises: a first pair of complementary transistors each having an input terminal, an output terminal, and a control terminal; a second pair of complementary transistors each having an input terminal, an output terminal, and a control terminal; a connection between the output terminals of the first pair of transistors and the first input terminal of the bistable device; a connection between the output terminals of the second pair of transistors and the second input terminal of the bistable device; a connection between the source of an uninverted binary input signal and the control terminals of the first pair of transistors; a connection between the source of an inverted binary input signal and the control terminals of the second pair of transistors; a connection between the first source of a trigger signal and the input terminals of one transistor type of the first and second pairs to alternately couple the one polarity to the first and second input terminals of the bistable device; and a connection between the second source of a trigger signal and the input terminals of the other transistor type of the first and second pairs to alternately couple the other polarity to the first and second input terminals of the bistable device in complementary relationship to the one polarity. 3. A convertible latch comprising: a bias supply having first and second terminals at different potentials; a first switch having a control terminal, an output terminal, and a common terminal connected to the first terminal of the bias supply to bias the first switch for bistable operation; a second switch having a control terminal connected to the control terminal of the first switch, an output terminal connected to the output terminal of the first switch, and a common terminal; a third switch having a control terminal, an output terminal, and a common terminal connected to the first terminal of the bias supply to bias the third switch for bistable operation; a fourth switch having a control terminal connected to the control terminal of the third switch, an output terminal connected to the output terminal of the third switch, and a common terminal connected to the second terminal of the bias supply to bias the fourth switch for bistable operation; a first cross connection from the output terminals of the first and second switches to the control terminals of the third and fourth switches; a second cross connection from the output terminals of the third and fourth switches to the control terminals of the first and second switches; a test terminal; a fifth switch having a control terminal connected to the test terminal, an output terminal connected to the common terminal of the second switch, and a common terminal connected to the second terminal of the bias supply to bias the second switch for bistable operation when the fifth switch is conductive and disable the second switch when the fifth switch is non-conductive; and a sixth switch having a control terminal connected to the test terminal, an output terminal connected to the common terminal of the fourth switch, and a common terminal connected to the second terminal of the bias supply to bias the fourth switch for bistable operation when the sixth switch is conductive and disable the fourth switch when the sixth switch is non-conductive. 4. The latch of claim 3, in which the first, and third switches are CMOS transistors of one type and the second, fourth, fifth, and sixth switches are CMOS transistors of a type complementary to the one type. 5. The latch of claim 4. in which the gains of the transistors are such that the first and third switches alternately float and cut-off when the second and fourth switches are non- conductive. 6. The latch of claim 4, in which the potentials of the bias supply are such that the first and third switches alternately saturate and cut-off when the second and fourth switches are non-conductive. 7. The latch of claim 3, additionally comprising complementary input terminal s connected respectively to the control terminals of the first and second switches and the control terminals of the third and fourth switches. 8. The latch of claim 7 additionally comprising complementary output terminals connected respectively to the output terminals of the first and second switches and the output terminals of the third and fourth switches. 9. The latch of claim 8, additionally comprising a first clocking switch connected between one of the complementary input terminals and the control terminals of the first and second switches and a second clocking switch connected between the other of the complementary input terminals and the control terminals of the third and fourth switches. 10. A convertible latch comprising: a first bistable stage having an input and an output; a second bistable stage having an input and an output; cross coupled connections between the output of each of the first and second stages and the input of the other stage so the first and second stages are alternately cut off or float; a third bistable stage having an input and an output; a fourth bistable stage having an input and an output; cross coupled connections between the output of each of the third and fourth stages and the input of the other stage so the third and fourth stages are alternately cut off or saturated; means for conditionally connecting the first and third stages in parallel and connecting the second and fourth stages in parallel to form a static latch when the connection is in place and a dynamic latch when the connection is not is place.

Inventors: AFGHAHI MORTEZA CYRUS, AFGHAHI, MORTEZA, CYRUS
Applicants: AFGHAHI MORTEZA CYRUS, BROADCOM CORP, AFGHAHI, MORTEZA, CYRUS, BROADCOM CORPORATION
Application year: 2000
Main classification: H03K3
IPC codes: H03K3