Information
-
Patent Application
-
20010010474
-
Publication Number
20010010474
-
Date Filed
March 19, 200123 years ago
-
Date Published
August 02, 200123 years ago
-
CPC
-
US Classifications
-
International Classifications
Abstract
An improved master-slave flip-flop that is characterized by a novel clock generator. The improved flip-flop preserves the true master-slave relationship by ensuring a two step latching process is executed by non-overlapping clocks. The clock generator features an inverter in combination with a current limiter. The current limiter has the effect of shifting the trip point of the inverter such that non-overlapping clocks may be derived from a single master clock signal or a master clock signal and its complement.
Description
BACKGROUND OF THE INVENTION
[0001] 1. Field of the Invention
[0002] This invention relates generally to digital computer systems and specifically to digital computer systems which rely on master-slave latches or flip flops. This invention provides an apparatus and method for generating quickly slewing clock signals with non-overlapping duty cycles from a master clock that has relatively slow rise and fall times.
[0003] 2. Description of the Prior Art
[0004] Referring to FIG. 1, the current state of the art describes a master slave latch combination in which data is clocked into the master latch 20 and slave latch 40 through a two sets of gating transistor pairs 10 and 30, respectively, by a master clock CLK and its complement CLK1. 1 The conventional method to indicate a complementary signal is to overline the signal. However, due to a word processing limitation, following this convention is not possible, Thus, in the text of this application the symbol for a complementary signal is set for as the signal underlined (e.g. CLK). D indicates the input data and Q represents the static state output of D after proper latching by the master latch 20 and the slave latch 40. The master clock signal CLK and its complement +E,uns CLK are depicted in FIG. 2.
[0005] When properly operating, the master clock CLK goes from low to high, the gating transistor pair 10 is conducting and data is permitted to pass into the master latch 20. Also at this time, because the clock signals are inverted at gating transistor pair 30, this transistor pair is switched off and data is not permitted to pass into the slave latch 40.
[0006] When the master clock CLK reverses state, i.e. from high to low, the first gating transistor pair 10 ceases to conduct. However, the second gating transistor pair 30 begins conducting and the data which was latched into the master latch 20 is now permitted to pass into the slave latch 40. After a brief propagation delay, the data is latched and stable at output Q.
[0007] Thus, when the master-slave latch is operating properly, latching occurs in two separate, discrete steps. These two steps provides for stable data at output Q. However, a problem arises during slow rise and fall times of the master clock CLK.
[0008] The problem during the clock transition characterized by relatively slow rise and fall times is that both gating transistor pairs 10 and 30 may be partially conducting at the same time. This will result in the data racing through the master-slave latch pair 20 and 40 without achieving a steady state. This occurs when the two step process described above is circumvented because of overlapping master clock signals as a result of relatively slow rise and fall times. Therefore, a need existed to provide a master-slave latch pair with non-overlapping clock signals to permit proper latching of data in a two step process for master-slave latches.
SUMMARY OF THE INVENTION
[0009] It is an object of the present invention to provide a master-slave flip-flop which prevents data from racing through the device without being properly latched.
[0010] It is another object of the present invention to provide a master-slave flip-flop which prevents partial conduction of the gating transistor pairs.
[0011] It is another object of the present invention to provide an improved clock generator which produces non-overlapping clock signals from a master clock signal.
[0012] It is another object of the present invention to combine the non-overlapping clock signals provided by the improved clock generators with gating transistor pairs and master-slave latches to preserve the two, discrete latching steps of a master-slave flip-flop.
[0013] In accordance with one embodiment of the present invention, an improved master-slave flip-flop comprises a master gating transistor pair, a master latch coupled to the master gating transistor pair, a slave gating transistor pair coupled to the master latch, a slave latch coupled to the slave gating transistor pair, a clock generator coupled to the master gating transistor pair, a second clock generator coupled to the master gating transistor pair, a third clock generator coupled to the slave gating transistor pair, and a fourth clock generator coupled to the slave gating transistor pair.
[0014] In accordance with another embodiment of the present invention, a clock generator is comprised of a current limiter and an inverter coupled to the current limiter. Furthermore, the current limiter may be implemented as a current mirror.
[0015] In accordance with another embodiment of the present invention the trip point of the inverter is adjusted by means of the current limiter or by geometrical manipulation of the CMOS devices which comprise the inverter.
[0016] In accordance with another embodiment of the present invention, non-overlapping clocks may be derived from a single master clock signal by the clock generators.
[0017] In accordance with another embodiment of the present. invention, non-overlapping clocks may be derived from a single master clock signal and the complement of the master clock signal.
[0018] The foregoing and other objects, features, and advantages of the invention will be apparent from the following, more particular, description of the preferred embodiments of the invention, as illustrated in the accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
[0019]
FIG. 1 is a simplified diagram of a master-slave latch pair.
[0020]
FIG. 2 illustrates a master clock and complement with relatively slow rise and fall times.
[0021]
FIG. 3 is a block diagram of the present invention.
[0022]
FIGS. 4A, 4B, 4C and 4D are various embodiments of the clock generator in the present invention which rely on a master clock signal and its complement.
[0023]
FIGS. 5A and 5B illustrate the clock generator implemented by a current mirror.
[0024]
FIGS. 6A and 6B illustrate how the present invention shifts the trip point of an inverter.
[0025]
FIG. 7 is a timing diagram of the non-overlapping clock signals derived from complementary master clock signals.
[0026]
FIGS. 8A and 8B illustrate an alternative embodiment of the clock generators in the present invention using a single master clock signal without its complement.
[0027]
FIG. 9 is a timing diagram of the non-overlapping clock signals derived from a single master clock signal.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
[0028] Referring to FIG. 3, an improved master-slave flip-flop with non-overlapping clocks 100 is shown. The invention is comprised of a master gating transistor pair 10, a master latch 20, a slave gating transistor pair 30, a slave latch 40 and four independent clock generators 101-104. Input data D occurs at the input side of master gating pair 10 and output Q occurs at the output of slave latch 40.
[0029] Referring to FIGS. 4A, 4B, 4C and 4D, simplified diagrams of the clock generators 101-104 are shown comprising of a current limiter 110 coupled to a two transistor inverter 120. The current limiter 110 may be positioned either on the power side of the transistor pair as shown in FIGS. 4A and 4B, i.e. in series with the P-channel device as depicted by 101 and 102; or on the ground potential side of the transistor pair as shown in FIGS. 4C and 4D, i.e in series with the N-channel device as depicted by 103 and 104. The input may be either the master clock CLK, as in FIGS. 4A and 4C or the complementary master clock +E,uns CLK, as in FIGS. 4B and 4D. The phase shift in the CLK versus +E,uns CLK input will simply result in a comparable phase shift in the output of the inverter 120.
[0030] The purpose of the current limiter 110 is to shift the trip point of the transistor pair 120 from what is normally the approximate midpoint between VDD and VSS. As shown in FIGS. 6A and 6B, the Grip point (VT) is conventionally defined as the point where VIN=VOUT. However, depending on the positioning of the current limiter 110, the new trip point will approximate either VTN (VT′ in FIG. 6A) or VDD-VTP (VT″ in FIG. 6B). Where VTN is the threshold voltage of the N-channel transistor and VTP is the threshold voltage of the P-channel transistor.
[0031] The current limiter 110 may be implemented in a variety of fashions. In the preferred embodiment, the current limiter 110 is implemented via a current mirror 111 as shown in FIGS. 5A and 5B. FIG. 5A illustrates the current mirror 111 in series with and directly connected to the P-channel device. FIG. 5B illustrates the current mirror 111 in series with and directly connected to the N-channel device.
[0032] Other embodiments of a current limiter may include components beyond a current mirror to effectively limit current. However, simple resistor networks are typically not preferred because of resulting inefficiencies in the fabrication process.
[0033] However, other implementations of adjusting the trip point of the inverter other than the current mirror include geometrical manipulation of the inverter N-channel and P-channel length/width ratio as part of the fabrication process. In this implementation the length/width ratios of the transistors are manipulated in the fabrication process. Additional fabrication techniques to adjust the trip point of the inverter such as doping and ion implantation may also be employed.
[0034] The following relates the function of the current limiter 110 to the shift in the trip point VT. Referring to FIG. 4A, disregarding the presence of the current limiter 110 and where the gain of the P-channel transistor is equal to the gain of the N-channel transistor for the inverter 120, then the trip point can be expressed as:
V
T
(VTN+(VDD−VTN))/2=(VDD)/2 (1)
[0035] Thus, in the absence of a current limiter 110, the trip point is approximately half of the supply voltage VDD. Gain is defined as the width to length ratio of the transistor multiplied by a constant. If the gain of the N- and P-channel transistors are not equal then the denominator of equation (1) becomes more complicated in the form of 1+(kP/kN).5, where kP and kN are the gain ratios of the P- and N-channel transistors, respectively. Thus, it becomes intuitive that shifting the trip point can be accomplished by altering the gain ratios as between the N- and P-channel transistors. The gain ratios kP and kN are determined by the length/width ratios of the respective transistors as well as by fabrication parameters. However, if the gain ratios are equal, then the denominator of equation (1) is simply 1+(1).5, or 2.
[0036] At this point the current limiter 110 is introduced into the circuit and the relationship between current and the trip point VT is explained. Assuming that both the N- and P-channel transistors 120 are in saturation, the well known saturated current equation for a MOS transistor is given as:
ID=(k/2)*(VGS−VTH)2 (2)
[0037] Where, ID is the current at the drain, k is the gain factor, VGS is the gate-source voltage and VTH is the threshold voltage.
[0038] For a current limiter 110 in series with and directly connected to the P-channel transistor, as depicted in FIGS. 4A and 4B, the N-channel transistor is the relevant device for determining the new trip point because the N-channel transistor is without a current limitation between the output node 130 and the lower rail 140. The P-channel device is not relevant in determining the new trip point for FIGS. 4A and 4B because the current limiter 110 is in series with the P-channel transistor and both the current limiter 110 and P-channel device are located between the upper rail VDD 150 and the output node 130. Thus, the P-channel device's contribution to the new trip point is regulated by the current limiter 110. The current for the N-channel transistor is expressed as follows.
I
N
=I
LIM
=(kN/2)(VIN−VTN)2 (3)
[0039] Where IN is equal to the current through the N-channel transistor. ILIM is the current provided by the current limiter 110. At the trip point IN=ILIM. kN is the gain factor of the N-channel transistor, VIN is the input voltage and VTN is the threshold voltage of the N-channel device. Rearranging terms, and identifying VIN as the desired trip point, we have:
VT=VI=((2*ILIM)/kN).5+VTN (4)
[0040] Thus, if the current ILIM is limited to a small amount, then:
VT≈Vhd TN (5)
[0041] This equation (5) is reflected in FIG. 6A, where the trip point is shifted to VT′ which is approximately VTN, by means of the current limiter 110 in series with the P-channel transistor.
[0042] In the case of the current limiter 110 in series with and directly connected to the N-channel transistor, as depicted in FIGS. 4C and 4D, the equations are as follows:
I
P
I
LIM
=(kP/2)(VIN−VDD−|VTP|)2 (6)
[0043] Where IP is equal to the current through the P-channel transistor. ILIM is the current provided by the current limiter 110. At the trip point IP=ILIM. kP is the gain factor of the P-channel transistor, VIN is the input voltage and VTP is the threshold voltage of the P-channel device. Rearranging terms, and once again identifying VIN as the desired trip point, we have:
V
T
=V
IN
=((2 *ILIM)/kP).5+VDD−|VTP| (7)
[0044] Thus, if the current ILIM is limited to a small amount then:
V
T
≈V
DD
−|V
TP
| (8)
[0045] This equation (8) is reflected in FIG. 6B, where the trip point is shifted to VT″ which is approximately VDD−|VTP| by means of the current limiter 110 in series with the N-channel transistor.
[0046]
FIG. 7 illustrates the operation of the present invention from a timing diagram perspective. CLK is the master clock and is the input parameter to clock generator 101 as shown in FIG. 4A. C1 is the output of clock generator 101. Note that the trip point for C1 has shifted to VTN because of the current limiter 110 in series with the P-channel device. CLK is also the input parameter to clock generator 103 as depicted in FIG. 4C. +E,uns C2 is the output of clock generator 103. Note that the trip point for +E,uns C2 has shifted to VDD−|VTP| because of the current limiter 110 in series with the N-channel device.
[0047] Turning next to the clocks generated by the complementary master clock +E,uns CLK. +E,uns CLK is the input parameter to clock generator 102 as shown in FIG. 4B. C2 is the output of clock generator 102. Note that the trip point for C2 has shifted to VTN because of the current limiter 110 in series with the P-channel device.
[0048] Further note that C1 and C2 are non-overlapping clocks for and active high signal. +E,uns CLK is also the input parameter to clock generator 104 as depicted in FIG. 4D. +E,uns C1 is the output of clock generator 102. Note that the trip point for +E,uns C1 has shifted to VDD− |VTP| because of the current limiter 110 in series with the N-channel device. Further note that +E,uns C1 and +E,uns C2 are non-overlapping clocks for an active low signal.
[0049] Referring to FIG. 3, C1 and +E,uns C1 are applied to the gating transistor pair 10. C2 and +E,uns C2 are applied to the gating transistor pair 30. Thus, by having non-overlapping clocks at the gating transistor pairs 10 and 30, the two discrete latching process of the master-slave device is preserved because the non-overlapping, clocks ensure that the incoming data D must first be latched into the master latch before it can be latched into the slave latch.
[0050] Referring to FIGS. 8A and 8B, where like numerals represent like elements, an alternative embodiment of the present invention is shown which relies on a single master clock CLK, as opposed to the complementary signals CLK & +E,uns CLK, to produce the non-overlapping synthesized clocks: C1, +E,uns C1, C2 & +E,uns C2. In FIG. 8A, the clock generators 101 and 104, with current limiters 110 and the two transistor inverters 120, are as previously described. The clock generator 104 is connected to the output of clock generator 101 which is the derived clock C1. The output of clock generator 104 is +E,uns C1.
[0051] Similarly, in FIG. 8B, clock generator 102 is connected to the +E,uns C2 output of clock generator 103. Thus the output of clock generator 102 is the complement of +E,uns C2, which is the derived non-overlapping clock C2. Therefore, a more robust, yet simpler and more flexible approach is to derive C1, +E,uns C1, C2 and +E,uns C2 from a common or single master clock CLK.
[0052] Referring to FIG. 9, the timing diagrams of the single CLK input and the non-overlapping clock outputs of the clock generators illustrated in FIGS. 8A and 8B are shown. Thus, the result is the same as illustrated in FIG. 7, where C1, +E,uns C1, C2 and +E,uns C2 are derived from a combination of CLK and +E,uns CLK.
[0053] The invention has been particularly shown and described with reference to a preferred embodiment thereof, it will be understood by those skilled in the art that changes in form and detail may be made therein without departing from the spirit and scope of the invention.
Claims
- 1. An improved flip-flop comprising:
a master gating transistor pair; a master latch coupled to the master gating transistor pair; a slave gating transistor pair coupled to the master latch; a slave latch coupled to the slave gating transistor pair; a clock generator coupled to the master gating transistor pair; a second clock generator coupled to the master gating transistor pair; a third clock generator coupled to the slave gating transistor pair; and a fourth clock generator coupled to the slave gating transistor pair.
- 2. The flip-flop in accordance with claim 1 wherein the first clock generator is comprised of:
a current limiter, and an inverter coupled to the current limiter.
- 3. The flip-flop in accordance with claim 1 wherein the second clock generator is comprised of:
a current limiter, and an inverter coupled to the current limiter.
- 4. The flip-flop in accordance with claim 1 wherein the third clock generator is comprised of:
a current limiter, and an inverter coupled to the current limiter.
- 5. The flip-flop in accordance with claim 1 wherein the fourth clock generator is comprised of:
a current limiter, and an inverter coupled to the current limiter.
- 6. The flip-flop in accordance with claims 2, 3, 4, or 5 wherein the current limiter is a current mirror.
- 7. The flip-flop in accordance with claim 1 wherein the first, second, third and fourth clock generators have a common input.
- 8. The flip-flop in accordance with claim 1 wherein the first and third clock generators have a common input.
- 9. The flip-flop in accordance with claim 8 wherein the second and fourth clock generators have a common input.
- 10. The flip-flop in accordance with claim 9 wherein the common input to the second and fourth clock generators is the complement of the common input to the first and third clock generators.
- 11. The flip-flop in accordance with claim 1 wherein an output of the first clock generator is the complement of an output of the second clock generator.
- 12. The flip-flop in accordance with claim 1 wherein an output of the third clock generator is the complement of an output of the fourth clock generator.
- 13. The flip-flop in accordance with claim 1 wherein an output of the first clock generator and an output selected from the group consisting of the third clock generator and the fourth clock generator are non-overlapping outputs.
- 14. The flip-flop in accordance with claim 1 wherein an output of the second clock generator and an output selected from the group consisting of the third clock generator and the fourth clock generator are non-overlapping outputs.
- 15. The flip-flop in accordance with claim 1 wherein the first clock generator is directly connected to the second clock generator.
- 16. The flip-flop in accordance with claim 1 wherein the third clock generator is directly connected to the fourth clock generator.
- 17. A clock generator for use in an improved flip-flop comprising:
a current limiter, and an inverter coupled to the current limiter.
- 18. The clock generator in accordance with claim 17 wherein the current limiter is a current mirror.
- 19. The clock generator in accordance with claim 17 wherein the inverter is comprised of:
a P-channel transistor, and an N-channel transistor coupled to the P-channel transistor.
- 20. The clock generator in accordance with claim 19 wherein the current limiter is directly connected to the P-channel transistor.
- 21. The clock generator in accordance with claim 19 wherein the current limiter is directly connected to the N-channel transistor.
- 22. The clock generator in accordance with claim 20 wherein the current limiter causes the trip point of the inverter to approximate the supply voltage minus the threshold voltage of the P-channel transistor.
- 23. The clock generator in accordance with claim 21 wherein the current limiter causes the trip point of the inverter to approximate the threshold voltage of the N-channel transistor.
- 24. A clock generator comprising:
an N-channel transistor; and a P-channel transistor coupled to the N-channel transistor, wherein a trip point of the clock generator is adjusted by a length/width ratio of the N-channel transistor.
- 25. A clock generator comprising:
an N-channel transistor; and a P-channel transistor coupled to the N-channel transistor, wherein a trip point of the clock generator is adjusted by a length/width ratio of the P-channel transistor.
- 26. A clock generator comprising:
an N-channel transistor; and a P-channel transistor coupled to the N-channel transistor, wherein a trip point of the clock generator is adjusted by a gain ratio of the N-channel transistor.
- 27. A clock generator comprising:
an N-channel transistor; and a P-channel transistor coupled to the N-channel transistor, wherein a trip point of the clock generator is adjusted by a gain ratio of the P-channel transistor.
- 28. A method of generating non-overlapping clocks for a master-slave flip-flop comprising the steps of:
providing a master gating transistor pair; providing a master latch coupled to the master gating transistor pair; providing a slave gating transistor pair couple to the master latch; providing a slave latch coupled to the slave gating transistor pair; providing a clock generator coupled to the master gating transistor pair; providing a second clock generator coupled to the master gating transistor pair; providing a third clock generator coupled to the slave gating transistor pair; and providing a fourth clock generator coupled to the slave gating transistor pair.
- 29. The method in accordance with claim 28 wherein the step of providing the first clock generator further comprises the steps of:
providing a current limiter; and providing an inverter coupled to the current limiter.
- 30. The method in accordance with claim 28 wherein the step of providing the second clock generator further comprises the steps of:
providing a current limiter; and providing an inverter coupled to the current limiter.
- 31. The method in accordance with claim 28 wherein the step of providing the third clock generator further comprises the steps of:
providing a current limiter; and providing an inverter coupled to the current limiter.
- 32. The method in accordance with claim 28 wherein the step of providing the fourth clock generator further comprises the steps of:
providing a current limiter; and providing an inverter coupled to the current limiter.
- 33. The method in accordance with claim 28 further comprising the step of providing a common master clock input to the first clock generator, the second clock generator, the third clock generator and the fourth clock generator.
- 34. The method in accordance with claim 28 further comprising the steps of:
providing a master clock input to the first clock generator and a complement of the master clock input to the second clock generator; and providing the master clock input to the third clock generator and the complement of the master clock input to the fourth clock generator.
- 35. A method for generating non-overlapping clocks comprising the steps of:
providing a current limiter; and providing an inverter coupled to the current limiter.
- 36. The method for generating non-overlapping clocks in accordance with claim 35 wherein the step of providing an inverter further comprises the steps of:
providing a P-channel transistor; and providing an N-channel transistor coupled to the P-channel transistor.
- 37. The method in accordance with claim 36 wherein the step of providing the current limiter is directly connected to the P-channel transistor of the inverter.
- 38. The method in accordance with claim 36 wherein the step of providing the current limiter is directly connected to the N-channel transistor of the inverter.
- 39. The method in accordance with claim 37 wherein the step of directly connecting the current limiter to the P-channel transistor causes the trip point of the inverter to approximate the supply voltage minus the threshold voltage of the P-channel transistor.
- 40. The method in accordance with claim 38 wherein the step of directly connecting the current limiter to the N-channel transistor causes the trip point of the inverter to approximate the threshold voltage of the N-channel transistor.
Continuations (1)
|
Number |
Date |
Country |
Parent |
09182088 |
Oct 1998 |
US |
Child |
09812046 |
Mar 2001 |
US |