Ακολουθιακά Κυκλώματα Mos
Ακολουθιακά Κυκλώματα Mos
Ακολουθιακά Κυκλώματα Mos
Digital Integrated
Circuits
Analysis and Design
Chapter 8
Introduction
Sequential circuits
The output is determined by the
current inputs as well as the
previously applied input variables
Regenerative circuit
Bistable circuits
Two stable states
Most widely used and important
All basic latch, flip-flop circuits,
registers, and memory elements
Monostable circuits
Only one stable operating point
Astable circuits
No stable operating point
Oscillate, without settling into a
stable operating mode
2
dv g1
dt
, ig 2 = C g
dv g 2
dt
g m vg 2 = Cg
dv g1
dt
, g m v g1 = C g
dv g 2
dt
q1
q
, vg 2 = 2 , q1 and q2 are the gate charge
Cg
Cg
gm
dq g
dq
q2 = 1 , m q1 = 2
Cg
dt C g
dt
C d 2 q1
gm
d 2q g
q1 = g
21 = m q1
2
C
Cg
g m dt
dt
g
This equation can also be expressed in a more simplified form by using 0 , the transit time constant
Cg
d 2 q1 1
= 2 q1 with 0 =
2
dt
0
gm
q1 (0 ) 0 q1' (0 ) 0 q1 (0 ) 0 q1' (0 ) + 0
e +
e
2
2
where the initial condition is q1 (0 ) = C g v g1 (0 ), note that vg1 = vo 2 , v g 2 = v01
t
vo 2 (t ) =
+
1
'
(0) e 0 + 1 vo 2 (0) + 0v02' (0) e 0
vo 2 (0 ) 0 v02
2
2
vo1 (t ) =
+
1
'
(0) e 0 + 1 vo1 (0) + 0v01' (0) e 0
vo1 (0 ) 0 v01
2
2
+
+
1
'
vo1 (0 ) + 0 v01
(0) e 0 , vo 2 (t ) 1 vo 2 (0) + 0v02' (0) e 0
2
2
Note that the magnitude of both output voltages increases exponentially with time
vo1 (t )
Depending on the polarity of the initial small perturbations dvo1 (0 ) and dvo 2 (0 ),
the output voltages of both inverters will diverge from their initial value of Vth to either VOL or VOH
While the bistable circuit is settling from its unstable operating point into one of its stable operating points,
we can envison a signal traveling the loop consisting of the two cascaded inverters several times.
+
vo1 (t )
= e o
vo1 (0 )
t
The time - domain behavior of the output voltage vo1 during this period is
If during a time interval T , the signal travels the loop n times, then the equivalent to the same signal propagating
along a cascaded inverter chain consisting of 2n inverters.
The loop gain An = e
T
0
SR latch circuit
CMOS SR latch
Having two triggering inputs,
S and R
Triggering the circuit from one
operating point to the other
SR flip-flop
Two stable states can be switched
back and forth
Consisting
Two CMOS NOR2 gates
One input cross-couple to the
output of other NOR gate
Another input enables triggering
of the circuit
SR latch circuit
If S=1
If R=1
If S=VOH, R=VOL
10
11
Clocked SR latch
Synchronous operation
CK=0
CK=1
Any changes occurring in the S and R input voltage when the CK level is equal to 1
12
13
Active low
14
CK=0
The latch preserves its state
Drawback
The transistor count is higher than the active low version shown
in Fig. 8.17
15
Clocked JK latch
All simple and clocked SR latch circuits suffer from the
common problem
Having a not-allowed input combination
Their state becomes indeterminate when both inputs S and R are
activated at the same time
NAND-based JK latch
Active high inputs
16
17
18
Master-slave flip-flop
Operation
Clock high
The master is activated the inputs J and K entered into the flip-flop
the first stage outputs are set according to the primarily inputs
19
Master-slave flip-flop
Because the master and the slave stages are decoupled from each other,
the circuits allows for toggling when J=K=1
But it eliminates the possibility of the uncontrolled oscillations since only one
stage is active at any given time
20
Application
Temporary storage of data or as a delay element
21
Operation
Circuit consisting
Two tri-state inverters, driven
by the clock signal and its
inverse
Operation
CK high
The first tri-state inverter
accepts the input signal
The second tri-state inverter
is at its high-impedance state
The output Q is following the
input signal
CK low
The input buffer becomes
inactive
The second tri-state inverter
completes the two-inverter
loop
Preserving its state until the
next clock pulse
23
Circuit
Positive level-sensitive
Negative level-sensitive
Operation
CK high
Master cease to sample the input and stores the D value at the time of the clock transition
Slave becomes transparent , Qs=Qm
The input cannot affect the output because the master stage is disconnected from the D input
This circuit is a negative edge-triggered D flip-flop by virtue of the fact that it samples the input at the falling
edge of the clock pulse
24
The output of the master stage latches the applied input (D) when
the clock signal is 1
The output of the slave stage becomes valid when the clock signal
drops to 0
The DFF samples the input at every falling edge of the clock pulse
25
The operation of the DFF circuit can be seriously affected if the master
stage experiences a set-up time violation
If the input D switches from 0 to 1 immediately before the clock transition
occurs
Master fail to latch the correct value
Slave produces an erroneous output
26
Layout of DFF
27
28
1 W
1 W
2
k' 2(Vin VT 0 ,5 )V z V z2 =
k' (VDD V z VT 0 ,6 )
2 L 5
2 L 6
Vz = 2.2V VGS, 4 = 3.5- 2.2 = 1.3 > VT 0 ,n = 1
At this point, M4 is already on, above assumption no longer val id
Vx is being pulled down towar d "0"
We conclude the upper logic threshold voltage Vth+ 3.5V
30
1 W
1 W
2
2
k' 2(Vin VDD VT 0 ,p )(V y VDD ) (V y VDD ) =
k' (0 V y VT,3 )
2 L 1
2 L 3
V y = 2.79V
At this point, M2 is already tu rn on the output vol tage is being pull up to VDD
We conclude that the lower logic threshold voltage Vth- 1.5V
31