Escolar Documentos
Profissional Documentos
Cultura Documentos
Introduction to
Introduction
CMOS VLSI Delay in a Logic Gate
Design Multistage Logic Networks
Choosing the Best Number of Stages
Lecture 7B: Example
R Inverter 1
NAND 4/3 5/3 6/3 (n+2)/3 g=Logical Effort
Fall Time is similar NOR 5/3 7/3 9/3 (2n+1)/3
Tristate / mux 2 2 2 2 2
5: Logical Effort CMOS VLSI Design Slide 15 5: Logical Effort CMOS VLSI Design Slide 16
Designing Fast Circuits Gate Sizes
How wide should the gates be for least delay?
D = ∑ d i = DF + P
Delay is smallest when each stage bears same effort fˆ = gh = g CCoutin
1
fˆ = gi hi = F N gi Couti
⇒ Cini =
Thus minimum delay of N stage path is fˆ
1 Working backward, apply capacitance
D = NF N + P transformation to find input capacitance of each gate
This is a key result of logical effort given load it drives.
– To find fastest possible delay Check work by verifying input cap spec is met.
– Doesn’t require calculating gate sizes
5: Logical Effort CMOS VLSI Design Slide 17 5: Logical Effort CMOS VLSI Design Slide 18
5: Logical Effort CMOS VLSI Design Slide 19 5: Logical Effort CMOS VLSI Design Slide 20
Example: 3-stage path Example: 3-stage path
x
y
Work backward for sizes
x
45
A 8
y=
x
y B
45 x=
Logical Effort G = (4/3)*(5/3)*(5/3) = 100/27
Electrical Effort H = 45/8 x
Branching Effort B=3*2=6
y
Path Effort F = GBH = 125 x
45
Best Stage Effort fˆ = 3 F = 5 A 8
x
Parasitic Delay P=2+3+2=7 y B
45
Delay D = 3*5 + 7 = 22 = 4.4 FO4
5: Logical Effort CMOS VLSI Design Slide 21 5: Logical Effort CMOS VLSI Design Slide 22
InitialDriver 1 1 1 1 InitialDriver 1 1 1 1
D = D = NF1/N + P 8 4 2.8
= N(64)1/N + N 16 8
23
DatapathLoad 64 64 64 64 DatapathLoad 64 64 64 64
N: 1 2 3 4 N: 1 2 3 4
f: f: 64 8 4 2.8
D: D: 65 18 15 15.3
Fastest
5: Logical Effort CMOS VLSI Design Slide 25 5: Logical Effort CMOS VLSI Design Slide 26
D = NF + ∑ pi + ( N − n1 ) pinv
1
N Path Effort F
^ = log
pinv + ρ (1 − ln ρ ) = 0 – when you have N ρ F stages
5: Logical Effort CMOS VLSI Design Slide 27 5: Logical Effort CMOS VLSI Design Slide 28
Sensitivity Analysis 1st Example, Revisited
How sensitive is delay to using exactly the best Ben Bitdiddle is the memory designer for the Motoroil 68W86,
number of stages? 1.6
1.51 an embedded automotive processor. Help Ben design the
decoder for a register file.
D(N) /D(N)
1.4 A[3:0] A[3:0]
1.26 32 bits
1.2 1.15
1.0
4:16 Decoder
16 words
(ρ=6) (ρ =2.4)
Decoder specifications: 16
Register File
5: Logical Effort CMOS VLSI Design Slide 29 5: Logical Effort CMOS VLSI Design Slide 30
5: Logical Effort CMOS VLSI Design Slide 31 5: Logical Effort CMOS VLSI Design Slide 32
Number of Stages 3 Stage Gate Sizes & Delay
Logical Effort: G = 1 * 6/3 * 1 = 2
Decoder effort is mainly electrical and branching Path Effort: F = GBH = 154
Electrical Effort: H = (32*3) / 10 = 9.6 Stage Effort: fˆ = F 1/ 3 = 5.36
Branching Effort: B=8 Path Delay: D = 3 fˆ + 1 + 4 + 1 = 22.1
Gate sizes: z = 96*1/5.36 = 18 y = 18*2/5.36 = 6.7
If we neglect logical effort (assume G = 1)
Path Effort: F = GBH = 76.8 A[3] A[3]
10 10
A[2] A[2]
10 10
A[1] A[1]
10 10
A[0] A[0]
10 10
5: Logical Effort CMOS VLSI Design Slide 33 5: Logical Effort CMOS VLSI Design Slide 34
5: Logical Effort CMOS VLSI Design Slide 35 5: Logical Effort CMOS VLSI Design Slide 36
Method of Logical Effort Limits of Logical Effort
1) Compute path effort Chicken and egg problem
F = GBH
2) Estimate best number of stages – Need path to compute G
3) Sketch path with N stages N = log 4 F – But don’t know number of stages without G
4) Estimate least delay 1
Simplistic delay model
5) Determine best stage effort D = NF N + P – Neglects input rise time effects
1
fˆ = F N Interconnect
6) Find gate sizes gi Couti – Iteration required in designs with wire
Cini = Maximum speed only
fˆ
– Not minimum area/power for constrained delay
5: Logical Effort CMOS VLSI Design Slide 37 5: Logical Effort CMOS VLSI Design Slide 38
Summary
Logical effort is useful for thinking of delay in circuits
– Numeric logical effort characterizes gates
– NANDs are faster than NORs in CMOS
– Paths are fastest when effort delays are ~4
– Path delay is weakly sensitive to stages, sizes
– But using fewer stages doesn’t mean faster paths
– Delay of path is about log4F FO4 inverter delays
– Inverters and NAND2 best for driving large caps
Provides language for discussing fast circuits
– But requires practice to master