Information
-
Patent Grant
-
6617901
-
Patent Number
6,617,901
-
Date Filed
Friday, April 27, 200125 years ago
-
Date Issued
Tuesday, September 9, 200323 years ago
-
Inventors
-
Original Assignees
-
Examiners
Agents
- Maiorana, P.C.; Christopher P.
-
CPC
-
US Classifications
Field of Search
US
- 327 202
- 327 203
- 327 208
- 327 209
- 327 218
- 327 12
- 327 199
- 327 200
- 327 201
- 327 210
- 327 211
- 327 212
-
International Classifications
-
Abstract
An apparatus comprising a first circuit, a second circuit and a third circuit. The first circuit may be configured to receive a first input signal and a second input signal and present a first signal and a second signal. The second circuit may be configured to present a first output signal in response to the first input signal, the first signal and the second signal. The third circuit may be configured to present a second output signal in response to the second input signal, the first signal and the second signal.
Description
FIELD OF THE INVENTION
The present invention relates to a method and/or architecture for implementing storage elements generally and, more particularly, to a method and/or architecture for implementing a master/dual-slave D type flip-flop that may choose which input is a clock input and which input is a data input.
BACKGROUND OF THE INVENTION
Referring to
FIG. 1
, a conventional circuit
10
is shown implementing a flip-flop
12
and a flip-flop
14
. The flip-flops
12
and
14
are cross-coupled. The flip-flops
12
and
14
double the load capacitance presented to the previous stage. The flip-flops
12
and
14
are triggered in response to the input signals IN
1
and IN
2
. The circuit
10
provides one solution for selecting which input is a clock input and which input is a data input. A multiplexer
16
is implemented to select which output (Q
1
or Q
2
) is selected. It is desirable to implement large transistors in the flip-flops
12
and
14
to provide high speed and accurate current matching. However, doubling the load of the circuit
10
is a severe disadvantage in current consumption and speed.
Referring to
FIG. 2
, another conventional circuit
20
with high time skew and noise is shown. The multiplexers
22
and
24
on the input paths IN
1
and IN
2
select which signal to present to the clock input and which signal to present to the data input of the flip-flop
26
. The flip-flop
26
acts as a time discriminator for the circuit
20
. However, the multiplexers
22
and
24
add extra delay and hence potential timing skew. The multiplexers
22
and
24
also need to be large to drive the large size of input transistors of the flip-flop
26
. The multiplexers
22
and
24
increase jitter of the circuit
20
. Furthermore, in other conventional implementations, the multiplexers
22
and
24
can be added before and/or after the flip-flop
26
.
Referring to
FIG. 3
, a schematic of a conventional master/slave flip-flop
30
is shown. The circuit
30
may be similar to the flip-flops
12
,
14
and
26
. Conventional master/slave flip-flop configurations, such as the circuit
10
or the circuit
20
, have one or more of the following disadvantages of requiring (i) additional circuitry for a dual load device, (ii) multiplexers on the inputs that have the potential to disrupt setup times and add skew between reference and feedback signals, and/or (iii) implementing two flip-flops in parallel which doubles the load capacitance seen by the inputs, which slows down the proceeding circuitry which increases time skews and increases susceptibility to noise.
SUMMARY OF THE INVENTION
The present invention concerns an apparatus comprising a first circuit, a second circuit and a third circuit. The first circuit may be configured to receive a first input signal and a second input signal and present a first signal and a second signal. The second circuit may be configured to present a first output signal in response to the first input signal, the first signal and the second signal. The third circuit may be configured to present a second output signal in response to the second input signal, the first signal and the second signal.
The objects, features and advantages of the present invention include providing a method and/or architecture for implementing a flip-flop that may choose which input acts as a clock input and which input acts as a data input and may (i) provide a CMOS master/dual-slave D type flip-flop, (ii) provide functionality of two D type flip-flops connected in parallel, (iii) have reduced load capacitance, (iv) require less circuitry, (v) have minimal circuit overhead, (vi) not increase input loading over a single D flip-flop, (vii) provide symmetrical design with potentially zero input timing skew, and/or (viii) be implemented without multiplexers on the input.
BRIEF DESCRIPTION OF THE DRAWINGS
These and other objects, features and advantages of the present invention will be apparent from the following detailed description and the appended claims and drawings in which:
FIG. 1
is a block diagram of a conventional parallel flip-flop configuration;
FIG. 2
is a block diagram of a conventional multiplexed flip-flop configuration;
FIG. 3
is a schematic of a conventional master/slave flip-flop configuration;
FIG. 4
is a block diagram of a preferred embodiment of the present invention; and
FIG. 5
is a schematic of the present invention.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
Referring to
FIG. 4
, a block diagram of a circuit (or system)
100
is shown in accordance with a preferred embodiment of the present invention. The circuit
100
generally comprises a master block (or circuit)
102
, a slave block (or circuit)
104
and a slave block (or circuit)
106
. The blocks
102
,
104
and
106
may be implemented as flip-flops, latches, or other appropriate type devices. An input signal (e.g., INA) may be presented to an input
110
of the master circuit
102
as well as to an input
112
of the slave circuit
104
. A second input signal (e.g., INB) may be presented to an input
114
of the master circuit
102
as well as to an input
116
of the slave circuit
106
. The circuit
100
may receive a clock input at either the input INA or the input INB (e.g., the inputs INA and INB are interchangeable). Also, the circuit
100
may receive a data input at either the input INA or the input INB.
The system
100
may provide the functionality of two cross-coupled D type flip-flops with a load of a single flip-flop.
The system
100
may allow accurate comparisons of arrival times of two signals (e.g., the signals INA and INB). Further, either of the signals INA or INB may be toggled at a higher frequency than the other signal. The higher frequency signal INA or INB may then be known to the circuit
100
such that an appropriate output can be selected. For example, the system
100
may allow digital circuitry (to be discussed in connection with
FIG. 5
) to select which output to implement. Additionally, the system
100
may be particularly useful for phase comparison in de-skewing a zero delay buffer.
The master circuit
102
may present a signal (e.g., M
1
) to an input
118
of the slave circuit
104
as well as to an input
120
of the slave circuit
106
. The master circuit
102
may also present a signal (e.g., M
2
) to an input
122
of the slave circuit
104
as well as to an input
124
of the slave circuit
106
. The slave circuit
104
may present a signal (e.g., FB
1
) to an input
130
of the master circuit
102
. Similarly, the slave circuit
106
may present a signal (e.g., FB
2
) to an input
132
of the master circuit
102
. The master circuit
102
may load both the slave circuit
104
and the slave circuit
106
. The slave circuit
104
may present a first output signal (e.g., Q
1
) at an output
140
and a second output signal (e.g., Q
1
b) at an output
142
. The signals Q
1
and Q
1
b are generally complementary signals. Similarly, the slave circuit
106
may present a first output signal (e.g., Q
2
) at an output
144
and a second output signal (e.g., Q
2
b) at an output
156
. The signals Q
2
and Q
2
b may be complementary signals.
The slave circuit
106
may be similar to the slave circuit
104
. The slave circuits
104
and
106
may be configured such that the circuit
100
is symmetric. Symmetry of the circuit
100
generally reduces input skew and provides a balanced system.
The circuit
100
may have low set up times such that relative phases of the signals INA and INB are compared accurately. The circuit
100
may also provide an enhancement to a standard D type master/slave flip-flop configurations by adding a second slave unit (e.g., the slave unit
106
). The transfer of data to the first slave unit
104
may be sensitive to transitions on the signal INA thus operating as a normal flip-flop. The second slave unit
106
may be sensitive to changes on the signal INB. Thus, the functionality of the second flip-flop circuit
106
is obtained with no extra loading and a minimum of extra circuitry.
Referring to
FIG. 5
, a schematic of the circuit
100
is shown. The master circuit
102
generally comprises a gate
150
and a gate
152
. The gates
150
and
152
may be NAND gates. However, other gates may be implemented accordingly to meet the design criteria of a particular implementation. The gate
150
may receive the signal INA, the signal FB
1
and the signal M
2
. The gate
150
may also present the signal M
1
. The gate
152
may receive the signal INB, the signal FB
2
and the signal M
1
. The gate
152
may also present the signal M
2
.
The slave circuit
104
generally comprises a gate
160
, a gate
162
, a gate
164
and a gate
166
. The gates
160
-
166
may be implemented as NAND gates. However, other gates may be implemented accordingly to meet the design criteria of a particular implementation. The gate
160
generally presents a signal (e.g., T
1
) to the gate
164
, to the gate
162
, as well as to the circuit
102
. The signal T
1
may be presented to the circuit
102
via the signal FB
1
. The gate
162
may present a signal (e.g., T
2
) to the gate
160
. The gate
164
generally presents the signal Q
1
to the output
140
as well as to the gate
166
. The gate
166
generally presents the signal Q
1
b to the output
142
as well as to the gate
164
. The circuit
106
generally comprises a gate
170
, a gate
172
, a gate
174
and a gate
176
. The gates
170
-
176
are configured similarly to the gates
160
-
166
.
Each of the signals of the present invention may be referred to as a voltage or a node, a node voltage, a node, a voltage, or other appropriate signal. The gates
150
and
152
may represent a master latch. The gates
160
and
162
may represent a transfer latch and the gates
164
and
166
may represent a slave latch. When the signal INA is low the master signal M
1
and the signal T
1
are generally high. Therefore the slave latch
164
,
166
may retain a previous value. Output data for a D flip-flop may change on the rising edge of a clock input. Thus, when the signal INA rises, the output Q
1
may take on the value of the input INB.
When the input INB is low, before the signal INA transitions, both master signals M
1
and M
2
are high, since both input signals INB and INA are low. When the signal INA transitions high, the signal M
1
generally transitions low, forcing the signal M
2
to remain high. The signal M
1
transitioning low may toggle the state of the slave latch
164
,
166
such that the signal Q
1
transitions low and the signal Q
1
b transitions high. The signal Q
1
may then represent the input INB. As long as the signal INA remains high, changes in the input signal INB may not affect the outputs Q
1
and Q
1
b (e.g., since when the signal M
1
is low, the signal M
2
is forced high regardless of the state of input signal INB) When the signal INA returns low, the state of the signal s M
1
and M
2
may change depending on the state of input signal INB. A transition of the signal M
1
to low may not affect the outputs Q
1
, Q
1
b, Q
1
, Q
2
b. A transition in the signal M
2
to low may change the state of the signal T
2
. However, the signal T
1
may remain high, since the signal INA is low. Thus, the outputs Q
1
and Q
1
b generally change only on the rising edge of the signal INA.
If the input INB transitions high before the clock signal INA, the signal M
2
may transition low and the signal M
1
may remain high (the opposite of the input INA case). However, the transition may not cause a change in the slave latches
164
and
166
. The signal M
2
transitioning low may force the signal T
2
high. However, the transition may not change the signal T
1
since the signal INA is low (e.g., the signal T
1
remains high). When the signal INA transitions high, the signal T
1
may transition low since both inputs to the gate
160
are high. The transfer signal T
1
may transition low forcing the signal Q
1
high. The transition may ensure the slave latch
164
,
166
has a Q
1
low state and Q
1
b high state. Thus, the signal Q
1
assumes the value of the input INB when the signal INB transitions high, illustrating correct behavior of a D flip-flop.
When the transfer signal T
1
transitions low the signal M
1
may be forced high. If the input INA returns to low while the input INB remains high, the signal M
2
may transition high. However, the transition may not affect the state of the transfer latch
160
,
162
. The output T
2
may remain high and the output T
1
may remain low. When the signal T
1
is low, the signal M
1
may remain high and there may be no effect on the slave latch
164
,
166
. Similarly, if the signal INA transitions low before the input INB then the signals M
1
and T
1
are forced to remain high and there is no change in the slave latch
164
,
166
.
From the symmetry of the additional gates (e.g., the gates
170
-
176
) the behavior of Q
2
and Q
2
b will be similar to Q
1
and Q
1
b except the inputs INA and INB will be reversed. For the slave latch
106
, if the input INA is low and the signal INB transitions high, the signal M
2
may transition low and the signal M
1
may remain high. The transition may force the signal Q
2
b high and force the signal Q
2
low, reflecting the state of the signal INA. If the signal INA transitions high before the signal INB, the signal M
1
may transition low forcing the signal M
2
to remain high. When the signal D transitions high, the signal TB
1
may transition low. The transition may force the signal Q
2
high and the signal Q
2
b low. Thus, the signal Q
2
is the sampled value of the signal INA.
The signals Q
2
and Q
2
b may reflect typical D type flip-flop behavior. However, the circuit
106
may operate in a reverse sense of the circuit
104
. The circuit
100
may allow the operation of two separate flip-flops (e.g., the circuit
104
and the circuit
106
).
The circuit
100
may provide the functionality of two D flip-flops connected in parallel with data and clock inputs reversed without extra load capacitance. Furthermore, the circuit
100
may require less circuitry to implement a master/dual-slave implementation than conventional approaches. The circuit
100
may provide the functionality of two cross-couple D type flip-flops with minimal circuit overhead. The circuit
100
may not increase input loading over a single D flip-flop. Additionally, the circuit
100
may provide a symmetrical design with theoretically zero input timing skew.
The various signals of the present invention are generally “on” (e.g., a digital HIGH, or 1) or “off” (e.g., a digital LOW, or 0). However, the particular polarities of the on (e.g., asserted) and off (e.g., de-asserted) states of the signals may be adjusted (e.g., reversed) accordingly to meet the design criteria of a particular implementation.
While the invention has been particularly shown and described with reference to the preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made without departing from the spirit and scope of the invention.
Claims
- 1. An apparatus comprising:a first circuit configured to receive a first input signal and a second input signal and present a first signal and a second signal; a second circuit (i) comprising a first slave latch and a first transfer latch (ii) configured to present a first output signal in response to said first input signal, said first signal and said second signal; and a third circuit (i) comprising a second slave latch and a second transfer latch (ii) configured to present a second output signal in response to said second input signal, said first signal and said second signal.
- 2. The apparatus according to claim 1, wherein said first input signal comprises a clock signal and said second input signal comprises a data signal.
- 3. The apparatus according to claim 1, wherein said first and second input signals are interchangeable.
- 4. The apparatus according to claim 1, wherein said first circuit comprises a master circuit, said second circuit comprises a first slave circuit and said third circuit comprises a second slave circuit.
- 5. The apparatus according to claim 4, wherein said master circuit comprises a master flip-flop, said second slave circuit comprises a slave flip-flop and said third slave circuit comprises a slave flip-flop.
- 6. The apparatus according to claim 1, wherein said apparatus comprises a master/dual-slave D type flip-flop.
- 7. The apparatus according to claim 1, wherein said first circuit is further configured in response to a first feedback signal and a second feedback signal.
- 8. The apparatus according to claim 7, wherein said second circuit is further configured to generate said first feedback signal and said third circuit is further configured to generate said second feedback signal.
- 9. The apparatus according to claim 1, wherein said second circuit and said third circuit comprise symmetric designs.
- 10. The apparatus according to claim 1, wherein said second circuit and said third circuit are cross coupled.
- 11. The apparatus according to claim 1, wherein:said first circuit comprises a master latch configured to generate said first and second signals in response to said first and second input signals; said second circuit comprises said first slave latch and said first transfer latch coupled in series and configured to generate said first output signal in response to said first input signal, said first signal, and said second signal; and said third circuit comprises said second slave latch and said second transfer latch coupled in series and configured to generate said second output signal in response to said second input signal, said first signal, and said second signal.
- 12. The apparatus according to claim 1, wherein said first output signal comprises a complementary output pair and said second output signal comprises a complementary output pair.
- 13. The apparatus according to claim 1, wherein said apparatus is configured to provide theoretically zero input timing skew.
- 14. A method for providing a master/dual-slave flip-flop, comprising the steps of:(A) presenting a first signal and a second signal in response to a first input signal and a second input signal; (B) presenting a first output signal using a first slave latch and a first transfer latch, in response to said first input signal, said first signal and said second signal; and (C) presenting a second output signal using a second slave latch and a second transfer latch, in response to said second input signal, said first signal and said second signal.
- 15. The method according to claim 14, wherein step (A) comprises a master step, step (B) comprises a slave step and step (C) comprises a slave step.
- 16. The method according to claim 14, wherein step (A) is further responsive to a first feedback signal and a second feedback signal.
- 17. The method according to claim 14, wherein step (B) further comprises generating said first feedback signal and step (C) further comprises generating said second feedback signal.
- 18. An apparatus comprising:a first circuit configured to receive a first input signal and a second input signal and present a first signal and a second signal; a second circuit configured to present a first output signal in response to said first input signal, said first signal and said second signal; and a third circuit configured to present a second output signal in response to said second input signal, said first signal and said second signal, wherein said first output signal comprises a complementary output pair and said second output signal comprises a complementary output pair.
US Referenced Citations (21)
Foreign Referenced Citations (1)
| Number |
Date |
Country |
| 62-262511 |
Nov 1987 |
JP |