6.976 High Speed Communication Circuits and Systems Lecture 13 High Speed Digital Circuits

advertisement
6.976
High Speed Communication Circuits and Systems
Lecture 13
High Speed Digital Circuits
Michael Perrott
Massachusetts Institute of Technology
Copyright © 2003 by Michael H. Perrott
High Speed Digital Design in Wireless Systems
Zin
From Antenna
and Bandpass
Filter
PC board
trace
Zo
Package
Interface
RF in
Mixer
IF out
To Filter
LNA
LO signal
VCO
Reference
Frequency
Frequency
Synthesizer
ƒ
Primary application areas
ƒ
Design Issues
- Divider within frequency synthesizer
- High speed A/D’s and D/A’s in future wireless systems
- Speed – want it to be fast
- Power – want low power dissipation
- Noise – need to be careful of how it impacts analog circuits
M.H. Perrott
MIT OCW
High Speed Digital Design in High Speed Data Links
Zin
From Broadband
Transmitter
PC board
trace
Zo
Data
Package
Interface
In
Amp
Clock and
Data
Recovery
Clk
Data Out
Data In
Phase
Detector
Clk Out
Loop
Filter
VCO
ƒ
Primary application areas
ƒ
Design Issues
- Phase detector within CDR
- High speed A/D’s and D/A’s in future systems
Same as wireless, but dealing with non-periodic signals
M.H. Perrott
MIT OCW
Note: much of the material to follow can be found in
J. Rabaey, “Digital Integrated Circuits: A Design
Perspective”, Prentice Hall, 1996
The CMOS Inverter As An Amplifier (From Lecture 5)
M2
Rf
M4
vout
(gm1+gm2)(ro1||ro2)
vin
M1
Vbias
Cfixed
M3
slope = -20 dB/dec
(gm1+gm2)Rf
Ctot = Cdb1+Cdb2 + Cgs3+Cgs4 + K(Cov3+Cov4) + CRf /2 + Cfixed
(+Cov1+Cov2)
ƒ
ƒ
vout
vin
Miller multiplication factor
1
1
2πCtotRf
f
gm1+gm2
2πCtot
Small signal assumption allows linearized modeling
Key metric for speed: gain-bandwidth product (= ft )
- Strive for high transconductance to capacitance ratio ( = f )
- Increase speed by lowering gain (use low valued resistors)
- Minimize capacitance for given level of transconductance
t
ƒ
How does digital design differ?
M.H. Perrott
MIT OCW
The CMOS Inverter as a Digital Circuit
M2
Vout
M4
Vin
50%
Vin
M1
Cfixed
t
M3
Vout
Ctot = Cdb1+Cdb2 + Cgs3+Cgs4 + K(Cov3+Cov4) + Cfixed
(+Cov1+Cov2)
tpHL
tpLH
50%
Miller multiplication factor
ƒ
Large signal variation prevents linearized modeling
ƒ
Key metric for speed: propagation delay
t
- We must examine nonlinear behavior of devices
- What device parameters influence this?
- What are the tradeoffs?
M.H. Perrott
MIT OCW
Key Issue for High Speed – Fast Rise and Fall Times
Slope =
M2
Ipmos
Slope =
Ctot
ƒ
M1
Ctot
M2
Ipmos
Vout
Vin
Inmos
Ctot
Vout
Vin
Inmos
M1
Ctot
For digital circuit, propagation delays primarily set by
rise and fall times
- Rise and fall times set by slew rate
ƒ Slew rate: ratio of driving current to load capacitance
- Faster speed obtained with higher slew rates
- Key performance metric: current drive/capacitance
ƒ Compare with analog: transconductance/capacitance
M.H. Perrott
MIT OCW
Designing for High Speed
Slope =
M2
Ipmos
Slope =
Ctot
ƒ
ƒ
M1
Ctot
M2
Ipmos
Vout
Vin
Inmos
Ctot
Vout
Vin
Inmos
M1
Ctot
Design parameters
- Voltage supply (and voltage swing)
- Scaling of NMOS and PMOS devices
-
ƒ Relative to each other
ƒ In an absolute sense
Circuit architecture (impacts drive current/capacitance ratio)
Key focus point: how is drive current and capacitance
influenced by these parameters?
Focus on voltage and sizing issues first
M.H. Perrott
MIT OCW
Impact of Voltage and Sizing on Drive Current
Slope =
M2
Ipmos
Slope =
Ctot
ƒ
Ctot
Vout
Vin
Inmos
M1
Ctot
Rigorous analysis is difficult
- Transistor goes through different regions of
-
ƒ
M1
Ctot
M2
Ipmos
Vout
Vin
Inmos
operation as load capacitance is charged (i.e., cutoff,
triode, saturation)
Transistor physics is changing over time
ƒ Velocity saturation is becoming an important issue
We need a simple approach for intuition
- Assume device is in saturation the entire time load
capacitor is being charged
M.H. Perrott
MIT OCW
Examine Device Current in Saturation (from Lec 5)
ƒ
We classically assume that MOS current is calculated as
ƒ
Which is really
-V
corresponds to the saturation voltage at a given
length, which we often refer to as ∆V
dsat,l
ƒ
It may be shown that
- If V
gs-VT
approaches LEsat in value, then the top equation is
no longer valid
ƒ We say that the device is in velocity saturation
M.H. Perrott
MIT OCW
Analytical Device Modeling in Velocity Saturation (Lec 5)
ƒ
If L small (as in modern devices), than velocity
saturation will impact us for even moderate values
of Vgs-VT
- Current increases linearly with V
- Current no longer depends on L!
gs-VT
ƒ
Note: above is extreme case of velocity saturation!
- In practice, modern devices operate somewhere
between square law and extreme velocity saturation
M.H. Perrott
MIT OCW
Useful References for Velocity Saturation
ƒ
For a physics approach
- See Lundstrom et.al., “Essential Physics of Carrier
Transport in Nanoscale MOSFETS”, IEEE Transactions
on Electron Devices, Jan 2002
ƒ
For an engineering model
- See Toh et. al., “An Engineering Model for Short-
Channel MOS Devices”, JSSC, Aug 1988, pp 950-958
ƒ
In this class
- We will simply do a quick experimental hack job at
assessing its impact
M.H. Perrott
MIT OCW
Investigate Velocity Saturation Issue for 0.18µ Device
Id versus Vgs
1.4
Id
Vgs
1.2
1
1.8µ
W
=
L
0.18µ
Id (milliAmps)
M1
0.8
0.6
0.4
0.2
0
0.4
ƒ
0.6
Linear curve for Id versus Vgs
0.8
1
1.2
1.4
1.6
1.8
2
Vgs (Volts)
- Velocity saturation is indeed an issue
- How does this impact digital design?
M.H. Perrott
MIT OCW
Impact of Voltage and Sizing On Drive Current
Square Law Device
ƒ
Voltage supply
ƒ
Width
ƒ
Length
Velocity Saturated Device
- Drive current increases with higher drive voltage
- Current scales proportionally
- Current scales inversely proportional for square-law device
ƒ No dependence for purely velocity saturated device
M.H. Perrott
MIT OCW
Impact of Voltage and Sizing on Capacitance
Wp
L
Vin
Wn
L
Wp
Vout
Cfixed
L
Wn
L
Ctot = Cdb1+Cdb2 + Cgs3+Cgs4 + K(Cov3+Cov4) + Cfixed
ƒ
Voltage supply (and voltage swing)
ƒ
Sizing of NMOS and PMOS devices
- Has no impact on capacitance (to first order)
ƒ Input capacitance proportional to product of width and
length of transistor
ƒ Junction and overlap capacitance proportional to W
M.H. Perrott
MIT OCW
Designing For High Speed
ƒ
ƒ
Want the highest ratio of drive current to load
capacitance
Increased supply voltage
Drive current
ƒ
Capacitance
Increased transistor width
Drive current
ƒ
Capacitance
Increased transistor length
Drive current
or
Capacitance
Want high voltage supply and small length to achieve high speed
M.H. Perrott
MIT OCW
Setting of Transistor Width for High Speed
Wp
L
Vin
Wn
L
Wp
Vout
Cfixed
L
Wn
L
Ctot = Cdb1+Cdb2 + Cgs3+Cgs4 + K(Cov3+Cov4) + Cfixed
Ctot = WnCndevices + WpCpdevices + Cfixed
ƒ
Intrinsic performance of device not influenced by W
- Current/capacitance ratio (considering only device
capacitance) is constant with changing W (to first order)
ƒ
Within circuit, speed is improved by increasing W when
Cfixed is significant with respect to device capacitance
- W should be chosen such that device capacitance equals
or exceeds fixed wiring capacitance
M.H. Perrott
MIT OCW
Relative Sizing of NMOS and PMOS Devices
Slope =
Ipmos
Slope =
Ctot
Wp
Wp
L
Ipmos
Wn
Ctot
L
ƒ
Ctot
L
Vout
Vin
Inmos
Vout
Vin
Wn
Inmos
L
Ctot
Comparison of NMOS and PMOS current drive
Square Law Device
Velocity Saturated Device
NMOS
PMOS
Primary difference – mobility values (µn versus µp)
ƒ
Capacitance relationships the same for NMOS and PMOS
M.H. Perrott
MIT OCW
Relative Sizing to Match Propagation Delays
Slope =
Ipmos
Slope =
Ctot
Wp
Wp
L
Inmos
Ipmos
L
Vout
Vin
Wn
Ctot
Vout
Vin
L
ƒ
Ctot
Wn
Inmos
L
Ctot
Equate drive currents to get same slope when charging
and discharging load capacitance
- Assume minimum L for NMOS and PMOS for high speed
- Choose W values to accommodate difference between
NMOS and PMOS mobility values
ƒ Size PMOS devices 2.5 times larger than NMOS!
M.H. Perrott
MIT OCW
Modeling Propagation Delays with Resistance
R p=
Vin
Vin
ƒ
α
µpWp
Vout
α
R n=
µnWn
Ctot
We can visualize impact of relative transistor sizing
between NMOS and PMOS by using switched resistances
to represent their current drive
- Choose α parameter to match propagation times of actual
circuit (assume α has same value for NMOS and PMOS)
- We see that increasing mobility or width reduces resistance
ƒ Intuitively illustrates impact of these parameters on drive
current
ƒ
To match propagation delays, set Rp = Rn
M.H. Perrott
MIT OCW
Complementary CMOS Logic
In
PUN
Out
In
ƒ
PDN
Composed of pull-up and pull-down networks that are
duals of each other
- Each network composed of NAND (series connection)
and/or NOR (parallel connection) functions
ƒ
Advantage
- No static power (except leakage)
M.H. Perrott
MIT OCW
Example: NAND Gate
A
B
Y
B
A
ƒ
Boolean function
- PDN performs NAND operation
- PUN is dual of PDN
M.H. Perrott
MIT OCW
Modeling Dynamic Performance of NAND Gate
A
B
Y
B
A
ƒ
ƒ
ƒ
Assume NMOS devices are same size and PMOS
devices are same size
Modeling of parallel devices (in PUN above) is
straightforward
- Simply represent with parallel switched resistors
Modeling of series devices (in PDN above) is not
immediately obvious
- We need to do further investigation
M.H. Perrott
MIT OCW
Equivalent Transistor Model of Stacked Transistors
Slope =
W
L
Vin
ƒ
Inmos
Ctot
Slope =
Vout
Inmos
Ctot
W
L
Vin
W
2L
Inmos
Inmos
Ctot
Vout
Ctot
Drive current is created only when both devices are on
- We can hook gates together without loss of generality
- Resulting configuration is equivalent (at least to first
order) to a single device with twice the length
ƒ
Issue – if device velocity saturated, what’s the impact?
Square Law Device
M.H. Perrott
Velocity Saturated Device (extreme)
MIT OCW
Let’s Do A Test
ƒ
ƒ
ƒ
In Hspice, simulate the output current of an NMOS
transistor with a given Vgs bias
- Vary the length of the transistor
- Scale the current by the length
For square law device
- Product independent of length
For velocity saturated device (extreme case)
- Product increases with length
M.H. Perrott
MIT OCW
Length Normalized Drain Current – 0.18µ NMOS Device
Vgs
Id length
0.18µ
M1
1.8µ
W
=
L
length
Id*(transistor length)/0.18µm (mA)
1.5
NMOS Drain Current (Multiplied by Normalized
Transistor Length) Versus Transistor Length
Vgs = 1.8 V
1
Vgs = 1.5 V
Vgs = 1.2 V
0.5
Vgs = 1.0 V
Vgs = 0.8 V
0
0.15
0.2
0.25
0.3
0.35
0.4
0.45
0.5
0.55
Transistor Length (microns)
ƒ
Product is relatively constant – square law behavior for L
M.H. Perrott
MIT OCW
Length Normalized Drain Current – 0.18µ PMOS Device
PMOS Drain Current (Multiplied by Normalized
Transistor Length) Versus Transistor Length
1.8µ
W
=
L
length
M1
Vgs
Id length
0.18µ
Id*(transistor length)/0.18µm (mA)
0.6
Vgs = -1.8 V
0.4
Vgs = -1.5 V
Vgs = -1.2 V
0.2
Vgs = -1.0 V
Vgs = -0.8 V
0
0.15
0.2
0.25
0.3
0.35
0.4
0.45
0.5
0.55
Transistor Length (microns)
ƒ
Product is relatively constant – square law behavior for L
M.H. Perrott
MIT OCW
Back to Dynamic Modeling of Stacked Transistors
Slope =
W
L
Vin
W
L
Inmos
Inmos
Ctot
Slope =
Vout
Ctot
Vin
W
2L
Inmos
Inmos
Ctot
Vout
Ctot
ƒ
Since we can assume approximately square law
behavior with respect to impact of L for 0.18 micron
CMOS
ƒ
Model with two switched resistors in series
- Represents the fact that we have half the drive current
M.H. Perrott
MIT OCW
Dynamic Model of NAND Gate
A
R p=
B
α
µpWp
Rp
A
Y
B
A
Rp
B
Y
A
R n=
α
µnWn
Rn
CL
B
Rn
ƒ
To match worst case propagation delays
M.H. Perrott
MIT OCW
Another Example: NOR Gate
B
A
Y
A
ƒ
B
Boolean function
- PDN performs NAND operation
- PUN is dual of PDN
M.H. Perrott
MIT OCW
Dynamic Model of NOR Gate
B
R p=
α
B
µpWp
Rp
A
A
Y
A
A
B
R n=
ƒ
Rp
α
µnWn
Y
B
Rn
Rn
CL
To match worst case delays
M.H. Perrott
MIT OCW
Comparing the Dynamic Performance of Gates (Step 1)
NOR
NAND
1
1
=
W 5
B
A
1
1
=
W 5
A
A
1
=1
W
ƒ
B
Y
A
CL
Y
B
B
1
=1
W
CL
NOR
- Normalize performance by setting NMOS widths to 1
- PMOS widths set to 5 to match propagation delay
M.H. Perrott
MIT OCW
Comparing the Dynamic Performance of Gates (Step 2)
NOR
B
A
1
1
=
W 5
A
1
=1
W
ƒ
NOR
ƒ
NAND
1
1
=
W 2.5
1
1
=
W 2.5
1
1
=
W 5
A
NAND
B
Y
A
1
1
=
W 2
Y
CL
B
B
1
=1
W
CL
1
1
=
W 2
- Normalize performance by setting NMOS widths to 1
- PMOS widths set to 5 to match NMOS propagation delay
- Match NOR by setting NMOS widths to 2
- PMOS widths set to 2.5 to match NMOS propagation delay
M.H. Perrott
MIT OCW
Comparing the Dynamic Performance of Gates (Step 3)
NOR
NAND
B
A
1
1
=
W 5
A: Cin= 6Cα
A
B: Cin= 6Cα
A: Cin= 4.5Cα
Y
A
1
1
=
W 2
CL
B
B
1
=1
W
B
B: Cin= 4.5Cα
Y
A
ƒ
1
1
=
W 2.5
1
1
=
W 2.5
1
1
=
W 5
1
=1
W
CL
1
1
=
W 2
Compare the input device capacitance of each gate
- Proportional to width of devices connected to a given input
- Define C as a capacitance scaling factor
α
ƒ
ƒ Includes impact of Cox, L, etc.
We see that the NAND gate is faster than the NOR gate
- Ratio of current drive to capacitance is higher
M.H. Perrott
MIT OCW
Issue – Stacked PMOS Transistors Lower Performance
PUN
NOR
NAND
B
A
1
1
=
W 5
A: Cin= 6Cα
A
B: Cin= 6Cα
A
1
=1
W
1
1
=
W 2.5
1
1
=
W 2.5
1
1
=
W 5
A: Cin= 4.5Cα
B
A
1
1
=
W 2
B: Cin= 4.5Cα
Y
Y
CL
B
B
1
=1
W
CL
1
1
=
W 2
ƒ
Why is NOR performance worse than the NAND?
ƒ
Can we eliminate the impact of the PMOS devices on
input capacitance (i.e. eliminate the PUN)?
- PMOS create dominant portion of capacitive load
- Stacked PMOS require even larger devices
- Could achieve higher speed!
M.H. Perrott
MIT OCW
Technique 1 to Eliminate PUN: Pseudo-NMOS
Example: 3 input NOR gate
Mp
Vout
Y
In
PDN
ƒ
Benefit
ƒ
Negatives
A
B
C
- Substantial reduction in input capacitance – faster speed!
- Static power consumption
- Asymmetric propagation delays (falling edge faster)
- Output logic levels set by ratio of NMOS to PMOS width
ƒ Rule of thumb: Set Rp/Rn to 4 (or more)
ƒ Alternate rule of thumb: Set Wp = Wn/2
M.H. Perrott
MIT OCW
Dynamic Model for Pseudo-NMOS
A: Cin= 1.0Cα
B: Cin= 1.0Cα
C: Cin= 1.0Cα
1
1
=
W 0.5
Y
Y
A
ƒ
B
C
B
A
1
=1
W
C
1
=1
W
1
=1
W
CL
Arbitrarily choose NMOS width to be 1
- Set PMOS width to be 1/2 according to rule of thumb on
previous slide
ƒ
Note that negative edge transition at output is 5 times
faster than the positive edge transition at output
M.H. Perrott
MIT OCW
Comparison of Complementary CMOS vs Pseudo-NMOS
Compementary CMOS NOR
Pseudo-NMOS NOR
1
1
=
W 7.5
C
A: Cin= 8.5Cα
B: Cin= 8.5Cα
C: Cin= 8.5Cα
1
1
=
W 7.5
1
1
=
W 7.5
A
B
A
1
=1
W
A: Cin= 1.0Cα
B: Cin= 1.0Cα
C: Cin= 1.0Cα
B
Y
Y
B
A
C
1
=1
W
1
1
=
W 0.5
1
=1
W
CL
1
=1
W
C
1
=1
W
1
=1
W
CL
ƒ
For same negative transition propagation delay
ƒ
In practice, may want to scale up the pseudo-NMOS
sizes to get faster positive transition propagation delay
- Pseudo-NMOS has nearly 1/10 the input capacitance
M.H. Perrott
MIT OCW
The Issue of Static Power Dissipation
Static power >> Dynamic Power
Y
Istatic
Idynamic
t
Static power
Y
A
ƒ
B
C
CL
Dynamic Power
Y
t
Ratio of dynamic power to static power depends on
transition activity of output
- For low transition activity, static power is dominant
ƒ Could potentially turn off PMOS during quite times?
- For high transition activity, static and dynamic power may
M.H. Perrott
be similar in value
ƒ Pseudo-NMOS can save power due to reduced capacitive
loading
MIT OCW
Sizing PDN Transistors for High Speed
PUN/Load
Y
A
B
n2
CL
Cp2
C
n1
Cp1
ƒ
Diffusion capacitance exists on intermediate nodes
- Different effective cap load for each PDN transistor
ƒ Example: transistor C must discharge C , C , C
- Transistor drive compromised by the floating nodes
L
ƒ
p2
p1
ƒ Example: transistor A has reduced drive for Vn2 > 0
Design tips for highest speed
- Increase the width of devices farthest from output (trans. C)
- Place signals that transition last closest to output (trans. A)
M.H. Perrott
MIT OCW
Technique 2 to Eliminate PUN - DCVSL
Mp2
Mp1
Out
In
PDN1
Out
In
PDN2
ƒ
Differential Cascade Voltage Swing Logic (DCVSL)
ƒ
Issues
- Employs differential logic structure
- Faster speed than complementary CMOS
- No static power dissipation
- Great for interface between power supply domains
- Slower than Pseudo-NMOS (PMOS gates load output)
- More power than complementary CMOS
M.H. Perrott
MIT OCW
Technique 3 to Eliminate PUN (or PDN): Dynamic Logic
Example: 2 input NOR gate
Φ
Φ
Mp
Out
In
PDN
Φ
ƒ
Me
Y
PDN
A
B
Φ
Use a clock, Φ, to gate the load and PDN network
-
M.H. Perrott
Φ=0
ƒ Precharge the output node
ƒ Shut off current to PDN
Φ=1
ƒ Turn off the precharge device
ƒ Send current to PDN so that it “evaluates” inputs
MIT OCW
The Pros and Cons of Dynamic Logic
Example: 2 input NOR gate
Φ
Φ
Mp
Out
In
PDN
Φ
ƒ
Benefits
ƒ
Issues
Me
Y
PDN
A
B
Φ
- High speed (but lower speed than Pseudo-NMOS due to
precharge time requirement)
- No static power, non-ratioed, and low number of transistors
- High design complexity – cascading requires care
- Large clock load, minimum clock speed due to leakage
M.H. Perrott
MIT OCW
Increasing Speed By Reducing Voltage Swing
Vin
Vdd
50%
t
0
tpHL
Vout
tpLH
Vdd
50%
0
ƒ
ƒ
ƒ
t
The propagation delay is defined as time between input
and output crossing at 50% amplitude
We found that increased voltage is beneficial for speed
- Increased V
leads to increased drive current to
capacitance ratio
gs
What if we could keep high drive current to
capacitance ratio AND reduce the swing?
M.H. Perrott
MIT OCW
Impact of Reduced Swing with Same Drive Current
Vin
Vdd
50%
t
0
tpHL
Vout
tpLH
Vdd
50%
0
ƒ
ƒ
t
Propagation time reduced!
How do we reduce the swing AND achieve high drive
current to capacitance ratio?
M.H. Perrott
MIT OCW
Technique 4 to Eliminate PUN: Source-Coupled Logic
Basic building block: differential pair
NOR
Vout
Vref
Load
Load
Vin
Load
Load
Vout
Example: 2 input OR/NOR gate
A
B
ƒ
ƒ
Single-ended version – Vref set by bias network
High speed achieved through
ƒ
Load can be implemented in a variety of ways
OR
Vref
- Small signal swings
- Leveraging of a fast amplifier structure
- Resistor: highest speed, but large area
- Diode connected PMOS (or NMOS): slower, but small area
- PMOS in triode region: high speed, but complicated biasing
M.H. Perrott
MIT OCW
Logic Realization Using Differential SCL
2 input AND/NAND
B
OR
NOR
B
A
Load
AND
A
ƒ
Load
Load
Load
NAND
B
2 input OR/NOR
B
A
A
Employs differential signaling (no Vref)
- More robust and higher noise margin than singled-ended
version
ƒ
Ordering of signals yields AND/NAND versus OR/NOR
M.H. Perrott
MIT OCW
Comparison of Differential SCL to Full Swing Logic
2 input AND/NAND
AND
B
A
ƒ
Advantages
ƒ
Disadvantages
OR
NOR
B
A
Load
Load
Load
Load
NAND
B
2 input OR/NOR
B
A
A
- Much faster speed (> 2X with resistor loads)
- Quieter on supplies (good when analog parts nearby)
- Static current, need for biasing networks
Logic implementation more clumsy
M.H. Perrott
MIT OCW
Registers
Edge-triggered Registers
Single-Ended Register
IN
ƒ
ƒ
Differential Register
MASTER
SLAVE
MASTER
SLAVE
LATCH
LATCH
LATCH
LATCH
D
Q
D
Q
Φ
Φ
Φ
Φ
OUT
IN
S
IN
R
Φ
Q
S
Q
R
Φ
Φ
Q
OUT
Q
OUT
Φ
Achieved by cascading two latches that are
transparent out of phase from one another
Two general classes of latches
- Static – employ positive feedback
ƒ Robust
- Dynamic – store charge on parasitic capacitance
ƒ Smaller, lower power in most cases
ƒ Negative: must be refreshed (due to leakage currents)
M.H. Perrott
MIT OCW
Static Latches
LATCH
IN
S
Q
OUT
IN
R
Q
OUT
Φ
Q
Q
Φ
Φ
S
R
Φ
ƒ
ƒ
Classical case employs cross-coupled NAND/NOR
gates to achieve positive feedback
Above example uses cross-coupled inverters for
positive feedback
ƒ Set, reset, and clock transistors designed to have
enough drive to overpower cross-coupled inverters
ƒ Relatively small number of transistors
ƒ Robust
M.H. Perrott
MIT OCW
Dynamic Latches
IN
ƒ
MASTER
SLAVE
LATCH
LATCH
D
Q
D
Q
Φ
Φ
Φ
Φ
Φ
OUT
Φ
IN
OUT
Φ
Φ
Leverage CMOS technology
- High quality switches with small leakage available
- Can switch in and store charge on parasitic
capacitances quite reliability
ƒ
ƒ
Achieves faster speed than full swing logic with fewer
transistors
Issues: higher sensitivity to noise, minimum refresh
rate required due to charge leakage
M.H. Perrott
MIT OCW
True Single Phase Clocked (TSPC) Latches
Doubled n-C2MOS latch
LATCH
IN
OUT
D
IN
Doubled p-C2MOS latch
OUT
Φ
Q
Φ
Φ
Φ
Φ
IN
OUT
Φ
ƒ
ƒ
Allow register implementations with only one clock!
- Latches made transparent at different portions of clock
cycle by using appropriate latch “flavor” – n or p
ƒ n latches are transparent only when Φ is 1
ƒ p latches are transparent only when Φ is 0
Benefits: simplified clock distribution, high speed
M.H. Perrott
MIT OCW
Example TSPC Registers
ƒ
Positive edge-triggered version
SLAVE
IN
Φ
MASTER
OUT
Φ
Φ
ƒ
Φ
Negative edge-triggered version
MASTER
SLAVE
IN
Φ
Φ
M.H. Perrott
Φ
Φ
OUT
MIT OCW
A Simplified Approach to TSPC Registers
ƒ
Clever implementation of TSPC approach can be
achieved with reduced transistor count
Positive-edge triggered
Negative-edge triggered
Φ
IN
Φ
OUT
Φ
Φ
Φ
IN
Φ
Φ
ƒ
OUT
Φ
For more info on TSPC approach, see
- J. Yuan and C. Svensson, “New Single-Clock CMOS
Latches and Flipflops with Improved Speed and Power
Savings”, JSSC, Jan 1997, pp 62-69
M.H. Perrott
MIT OCW
Embedding of Logic within Latches
Φ
LATCH
IN
Logic Function
(NAND,NOR, etc.)
OUT
OUT
D
Q
Φ
IN
PDN
Φ
Φ
Φ
ƒ
We can often increase the speed of a logic function
fed into a latch through embedding
- Latch slowed down by extra transistors, but logic/latch
combination is faster than direct cascade of the
functions
ƒ
Method can be applied to both static and dynamic
approaches
- Dynamic approach shown above
M.H. Perrott
MIT OCW
Highest Speed Achieved with Differential SCL Latch
S
Q
OUT
IN
R
Q
Φ
OUT
Φ
Load
Load
LATCH
IN
OUT
OUT
IN
IN
Φ
Φ
Φ
Φ
ƒ
Employs positive feedback for memory
ƒ
Method of operation
- Realized with cross-coupled NMOS differential pair
- Follow mode: current directed through differential
amplifier that passes input signal
- Hold mode: current shifted to cross-coupled pair
M.H. Perrott
MIT OCW
Design of Differential SCL Latch with Resistor Loads
RL
RL
OUT
OUT
IN
IN
Φ
Ibias
Φ
Ibias
ƒ
Step 1: Design follower amplifier to have gain of 1.75 to
2 using simulated gm technique from Lecture 5
M.H. Perrott
MIT OCW
Design of Differential SCL Latch with Resistor Loads
RL
RL
OUT
OUT
IN
IN
Ibias
Φ
Φ
Ibias
ƒ
ƒ
Step 1: Design follower amplifier to have gain of 1.75 to
2 using simulated gm technique from Lecture 5
Step 2: For simplicity, size cross-coupled devices the
same as computed above (or make them slightly smaller)
M.H. Perrott
MIT OCW
Design of Differential SCL Latch with Resistor Loads
RL
RL
OUT
OUT
IN
IN
Φ
Φ
Ibias
ƒ
ƒ
ƒ
Step 1: Design follower amplifier to have gain of 1.75 to
2 using simulated gm technique from Lecture 5
Step 2: For simplicity, size cross-coupled devices the
same as computed above (or make them slightly smaller)
Step 3: Choose clock transistors roughly 20% larger in
width (they will be in triode, and have lower drive)
M.H. Perrott
MIT OCW
Download