Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
References:
Adapted from: Digital Integrated Circuits: A Design Perspective, J. Rabaey, Prentice Hall UCB Principles of CMOS VLSI Design: A Systems Perspective, N. H. E. Weste, K. Eshraghian, Addison Wesley
D Clock or clocks
Registers
Outputs
Registers serve as storage element to capture the output of each processing stage
Storage Mechanisms
Positive feedback
Connect one or more output signals back to the input Regenerative, signal can be held indefinitely, static
Charge-based
Use charge storage to store signal value Need refreshing to overcome charge leakage, dynamic
Vi1
Vo1= Vi2
Vo2
Vi2= Vo1
SR-Flip Flop
NOR-based SR flip-flop, positive logic
Schematic
Logic Symbol
Characteristic table
Forbidden state
Schematic
Logic Symbol
Characteristic table
Schematic
Logic Symbol
Characteristic table
Clock input to synchronize changes in the output logic states of flip-flops Forbidden state is eliminated, But repeated toggling when J = K = 1, need to keep clock pulse small < propagation delay of FF
Other Flip-Flops
Toggle or T flip-flop
Delay or D flip-flop
Race Problem
A flip-flop is a latch if the gate is transparent while the clock is high (low)
is high
Master-Slave Flip-Flop
Either master or slave FF is in the hold mode Pulse lengths of clock must be longer than propagation delay of latches Asynchronous or synchronous inputs to initialize the flip-flop states
One-Catching or Level-Sensitive
QM QS
t pFF
t p,comb tsetup
CLK
T t thold
D Data Stable D Register Q
t
CLK
treg,max
tlogic,max
Data Stable
tsu
treg,max
Data Stable
treg ,max tlog ic,max tsetup tlog ic,min treg ,min thold
CLK
D QM
___ CLK
Load of only 2 transistors to clock signals Passes a degraded high voltage of VDD VTn
Master
0 Q
1
QM D 1 CLK
0 CLK
I3
CLK
I5 ___ CLK I6 T4
CLK
D I1
QM
T1 ___ CLK I4 CLK (I1T1 I3I2) T3
(T3 I6)
VDD S Q
M2
M4
Q
Q R S
M5 M7 M6 M8
M1
M3
To bring Q from 1 to 0, need to properly ratio the sizes of pseudo-NMOS inverter (M7-M8)-M4
VOL must be lower than VDD/2
kn,M 78 VDD
V Vtn DD 2
p n
2 VDD 8
k p ,M 4 VDD
V | Vtp | DD 2
2 VDD 8
(W / L) M 78
(W / L) M 4
(W / L) M 3
(W / L) M 7
2(W / L) M 78 2(W / L) M 3
(3.6 / 1.2)
Propagation Delay
M4
Q
M6 M8
M1
M3
M5
M7
6-Transistor SR Flip-Flop
VDD
M2
M4
Q Q
R
M1 M3
CMOS D Flip-Flop
VDD D
Q Q Q Q
Master-Slave D Flip-Flop
VDD
Q Q
D Q D
Master-Slave D Flip-Flop
VDD
Q D D
VDD
VDD
Q D
Charge-Based Storage
D
In
Pseudo-static Latch
Layout of a D Flip-Flop
In Q
In
Master-Slave Flip-Flop
D A In B
A In
t p12
2
Asynchronous Setting
D
1 2
A In
-Set
2
C1
CLK
t(0,0) overlap
tT 1 tI 1 tT 2
___ CLK
thold
t(1,1) overlap
A In D
Input sampled
Output Enabled
-section
-section
In 1 M3 M1
X CL1 1 M7 M5
D CL2
Cascaded inverters: needs one pull-up followed by one pull-down, or vice versa to propagate signal (1-1) overlap: Only the pull-down networks are active, input signal cannot propagate to the output (0-0) overlap: only the pull-up networks are active
VDD
PUN M8
Pipelining
REG a Non-pipelined REG log REG b a REG Pipelined REG REG log REG
Tmin
t p,reg
t p,logic
tsetup ,reg
Tmin, pipe
t p,reg
REG
out In C1 F C2 G C3
NORA CMOS (NO-RAce logic) Race free as long as all the logic functions F and G between the latches are non-inverting
Example
VDD
VDD
VDD
In
NORA Logic
NORA data path consists of a chain of alternating and modules Dynamic-logic rule: single 0 1 (1 0) transition for dynamic n-block ( p-block) C2MOS rule:
If dynamic blocks are present, even number of static inversions between a latch and a dynamic block Otherwise, even number of static inversions between latches
Static logic may glitch, best to keep all of them after dynamic blocks
Master-Slave Flip-flops
Further Simplication
Schmitt Trigger
Sizing of M3 and M4
VM+ = 3.5V
M1 and M2 are in saturation; M4 is in triode region
k1 VM 2 k2 VDD VM 2 | Vtp |
2
Vtn
VDD VM 2
VM- = 1.5V
M1 and M2 are in saturation; M3 is in triode region
k1 VM 2
Vtn
k5 VDD VM 2
Multivibrator Circuits
R S
Transition-Triggered Monostable
In
DELAY td Out td
Detects changes in the input signal produces a pulse to initialize subsequent circuitry e.g., address transition detection in static memories
T=2
tp
Decrease Vcontr to reduce discharge current increase propagation delay of inverter decreases oscillating frequency (quadratic dependency)
Relaxation Oscillator
T=2
(ln 3)
RC