Digital Devices
Download
Report
Transcript Digital Devices
The RC Delay Model for Gates
Recall that the RC Delay model for NMOS/PMOS from
Harris (k is the width of the gate)
d
d
g k
s
s
kC
R/k
kC
2R/k
d
g k
s
g
kC
kC
s
kC
g
kC
d
BR 6/00
1
General RC Inverter Model
Inverter Model
Rui : pullup resistance
Rui
in
out
Cpi
Cin
Cout
Rdi
Rdi : pulldown resistance
Cpi: parasitic cap of gate from drain capacitances
BR 6/00
2
Inverter RC Delay Model
Tplh (pullup delay) = Rui * ( Cpi + Cout)
= Rui * Cpi + Rui * Cout
= parasitic delay PU + load delay PU
Tphl (pulldown delay) = Rdi * ( Cpi + Cout)
= Rdi * Cpi + Rui * Cout
= parasitic delay PD + load delay PD
BR 6/00
3
Parasitic Delay versus Load Delay
Parasitic delay is fairly constant with increasing gate width
because the channel resistance goes down with increasing Width,
but the drain capacitance goes up, so the total R*C is about
constant.
Load delay is proportional to Cout/Cin because wider transistors
(increasing Cin) can drive a fixed output load faster, while an
increasing load causes a larger gate delay for a fixed driving
transistor width.
BR 6/00
4
Measuring Delay, Ri, Cpi
a. If you measure delay for NO-LOAD, then you get the no-load
delay.
b. Add a fixed load, then measure the delay. Subtract the no-load
delay, and you get the load delay.
c. The load capacitance can be measured since it is a static value.
Once the load capacitance is known, you can calculate the Ri
value. Once the Ri value is known, you can calculate the Cpi
BR 6/00
5
value.
Delay Measurement
We will use 30% to 70% points for delay measurement,
but 50%-50% can also be used.
BR 6/00
6
Improving Average Delay†
A question: Should the DC switching point of a static CMOS gate
always be set at Vdd/2? Recall the DC switching characteristic
of a static Inverter
Normal Skew, balanced
Tplh, Tphl
Vin
Increasing P/N ratios
Vdd/2
low Skew (1/1)
favors falling
outputs,
decreased Tphl
High Skew
(4/1) favors
rising outputs,
decreased Tplh
Vdd/2
Vout
BR 6/00
†Harris ’97 Notes for these slides
7
Gate Sizes and Skew
Normal Skew
2/1
4/1
2/2
High Skew
4/1
8/1
4/2
Low Skew
1/1
2/1
1/2
Use skewed gates when trying to speed up a particular output
transition along a critical path.
BR 6/00
8
Minimum Average Delay
What should the skew be to minimize average delay in a string of
inverters driving a load?
Consider one
inverter driving a
fanout f load.
(width)
(Cin of inverter
1
f*(1+ )
= 1+)
BR 6/00
9
Minimum Average Delay (cont)
Average delay = (Tplh + Tphl)/2
Recall RC model time model:
Tp = Tnoload + K*Cload
where is K is inversely proportional to channel width
(represents channel resistance).
We can ignore Tnoload for this analysis.
Tphl (falling delay) proportional to 1*f (1 + )
Tplh (rising delay) proportional to k/ *f (1 + )
where ‘k = B’ for the case of Tplh = Tphl. ‘k’ accounts for
differences in P/N mobility.
BR 6/00
10
Minimum Average Delay (cont)
Average delay = (Tplh + Tphl)/2
= (k/ *f (1 + ) + f (1 + ) )/2
= f (1 + ) (k/ + 1)/2
To find best value for , take derivative and set to 0:
d delay/d = f/2 (1 - k/ 2) = 0
= sq_root(k ) !!!
1.4/1
Minimum average delay
Trades off some Tplh time for overall decreased loading.
Saves power as well!
BR 6/00
11
Minimum Average Delay
Min average delay
1.4/1
2/1
2/2
These gates sized for minimum average delay.
BR 6/00
12
Topology Selection
Which is better? We have seen that logical effort may be able
to help us make this choice, but usually simulation is needed.
Right choice is technology dependent!!!!
Cin=C
8C
Option #1
8C
Option #2
BR 6/00
13
Critical Inputs
In general, late arriving inputs should drive inputs that are
close to the output, early arriving inputs should drive inputs
that are close to the rail. For example – in a full adder cell,
carry input should be close to output (Fig 11-6 pg 567,
Rabaey).
4-bit
A(3) B(3)
A(2) B(2)
A(1) B(1)
A(0) B(0)
ripple
adder.
Cout C(4) A
B
Co
Ci
C(3)
A
B
Co
Ci
C(2)
A
B
Co
Ci
S
S
S
Sum(3)
Sum(2)
Sum(1)
BR 6/00
C(1)
A
B
Co
Ci
C(0)
Cin
S
Sum(0)
14
If Arrival times are unknown....
If arrival times are unknown, and you need to fold the
transistors anyway, can use the following trick:
BR 6/00
15
Stack Tapering
Increasing width of transistors near rail can improve delay.
Benefits at sub-micron geometries are somewhat marginal.
BR 6/00
16
Summary of Static CMOS Features
•
•
•
•
•
•
Very robust – i.e, “almost idiotproof” (Harris quote!)
Very low DC leakage (nearly zero)
Low AC power
Scales well to low voltage
Handled well by synthesis tools and simulators
Well understood
Should be the default case for logic implementation
unless special needs dictate some other family.
BR 6/00
17