Logical Effort2
Logical Effort2
Logical Effort2
Logical Effort
Jacob Abraham
ECE Department, University of Texas at Austin Lecture 6. Logical Effort Jacob Abraham, September 15, 2020 1 / 31
Review: See Additional Notes Posted
Use the Elmore delay approximation to find the worst-case rise and
fall delays at output F for the following circuit. The gate sizes of
the transistors are shown in the figure. Assume NO sharing of
diffusion regions, and the worst-case conditions for the initial
charge on a node.
ECE Department, University of Texas at Austin Lecture 6. Logical Effort Jacob Abraham, September 15, 2020 1 / 31
Example: Delay with Different Input Sequences
Find the delays for the given input
transitions (gate sizes shown in figure)
ABCD = 0101 →
ABCD = 1101;
Delay = 36RC
ABCD = 1111 →
ABCD = 0111;
Delay = 16RC
ABCD = 1010 →
ABCD = 1101;
Delay = 43RC
ECE Department, University of Texas at Austin Lecture 6. Logical Effort Jacob Abraham, September 15, 2020 3 / 31
Delay Components
Effort Delay
4h RC
Proportional to load capacitance
ECE Department, University of Texas at Austin Lecture 6. Logical Effort Jacob Abraham, September 15, 2020 4 / 31
Contamination Delay
tcdr =
(3 + 2h)RC
ECE Department, University of Texas at Austin Lecture 6. Logical Effort Jacob Abraham, September 15, 2020 5 / 31
Introduction to Logical Effort
ECE Department, University of Texas at Austin Lecture 6. Logical Effort Jacob Abraham, September 15, 2020 6 / 31
Example
Design the decoder for a register file
Decoder specifications
16 word register file
Each word is 32 bits wide
Each bit presents load of 3 unit-sized transistors
True and complementary address inputs A[3:0]
Each input may drive 10 unit-sized transistors
Need to decide
How many stages to use?
How large should each
gate be?
How fast can decoder
operate?
ECE Department, University of Texas at Austin Lecture 6. Logical Effort Jacob Abraham, September 15, 2020 7 / 31
Delay in a Logic Gate
Express delay in a process-independent unit
τ = 3RC
d= dabs ≈ 12 ps in 180 nm process
τ
40 ps in 0.6 µm process
Delay has two components: d = f + p
Effort delay, f = gh (stage effort)
g: Logical Effort h: Electrical Effort=Cout /Cin
Measures relative ability of Ratio of output to input
gate to deliver current capacitances, sometimes called
g ≡ 1 for inverter fanout effort
Parasitic delay, p
Represents delay of gate driving no load
Set by internal parasitic capacitance
ECE Department, University of Texas at Austin Lecture 6. Logical Effort Jacob Abraham, September 15, 2020 8 / 31
Delay Plots
d=f +p
= gh + p
What about
NOR2?
ECE Department, University of Texas at Austin Lecture 6. Logical Effort Jacob Abraham, September 15, 2020 9 / 31
Computing Logical Effort
ECE Department, University of Texas at Austin Lecture 6. Logical Effort Jacob Abraham, September 15, 2020 10 / 31
Catalog of Gates
Number of inputs
Gate type
1 2 3 4 n
Inverter 1
NAND 4/3 5/3 6/3 (n+2)/3
NOR 5/3 7/3 9/3 (2n+1)/3
Tristate/Mux 2 2 2 2 2
XOR, XNOR 4,4 6,12,6 8,16,16,8
ECE Department, University of Texas at Austin Lecture 6. Logical Effort Jacob Abraham, September 15, 2020 11 / 31
Catalog of Gates
Number of inputs
Gate type
1 2 3 4 n
Inverter 1
NAND 2 3 4 n
NOR 2 3 4 n
Tristate/Mux 2 4 6 8 2n
XOR, XNOR 4 6 8
ECE Department, University of Texas at Austin Lecture 6. Logical Effort Jacob Abraham, September 15, 2020 12 / 31
Example: Ring Oscillator
ECE Department, University of Texas at Austin Lecture 6. Logical Effort Jacob Abraham, September 15, 2020 13 / 31
Example: FO4 Inverter
Estimate the delay of a fanout-of-4 (FO4) inverter
1
f= =⇒
2×N ×d
1
N=
2×f ×d
1
=
2 × 7.3 × 3.6 × 10−3
= 19.05
Number of inverters = 19
ECE Department, University of Texas at Austin Lecture 6. Logical Effort Jacob Abraham, September 15, 2020 15 / 31
Multistage Logic Networks
ECE Department, University of Texas at Austin Lecture 6. Logical Effort Jacob Abraham, September 15, 2020 16 / 31
Consider Paths that Branch
G = 1
H = 90 / 5 = 18
GH = 18
h1 = (15 +15)/5 = 6
h2 = 90/15 = 6
F = g1 g2 h1 h2 = 36 = 2GH
ECE Department, University of Texas at Austin Lecture 6. Logical Effort Jacob Abraham, September 15, 2020 17 / 31
Branching Effort and Multistage Delays
Multistage Delays
X
Path Effort Delay, DF = fi
X
Path Parasitic Delay, P = pi
X
Path Delay, D = d i = DF + P
ECE Department, University of Texas at Austin Lecture 6. Logical Effort Jacob Abraham, September 15, 2020 18 / 31
Designing Fast Circuits
X
D= di = DF + P
Delay is smallest when each stage bears same effort
1
fˆ = gi hi = F N
Thus, the minimum delay of an N-stage path is
1
D = NF N + P
ECE Department, University of Texas at Austin Lecture 6. Logical Effort Jacob Abraham, September 15, 2020 19 / 31
Gate Sizes
ECE Department, University of Texas at Austin Lecture 6. Logical Effort Jacob Abraham, September 15, 2020 20 / 31
Example: 3-stage Path
ECE Department, University of Texas at Austin Lecture 6. Logical Effort Jacob Abraham, September 15, 2020 21 / 31
Example: 3-stage Path, Cont’d
ECE Department, University of Texas at Austin Lecture 6. Logical Effort Jacob Abraham, September 15, 2020 22 / 31
Example: 3-stage Path, Cont’d
ECE Department, University of Texas at Austin Lecture 6. Logical Effort Jacob Abraham, September 15, 2020 23 / 31
Best Number of Stages
How many stages should a path use?
Minimizing number of stages is not always fastest
Example: drive 64-bit datapath with unit inverter
1
D = NF N + P
1
D = N(64) N + N
ECE Department, University of Texas at Austin Lecture 6. Logical Effort Jacob Abraham, September 15, 2020 24 / 31
Sensitivity Analysis
How sensitive is delay to using exactly the best number of stages?
ECE Department, University of Texas at Austin Lecture 6. Logical Effort Jacob Abraham, September 15, 2020 27 / 31
Decoder: Comparison
ECE Department, University of Texas at Austin Lecture 6. Logical Effort Jacob Abraham, September 15, 2020 28 / 31
Review of Definitions
ECE Department, University of Texas at Austin Lecture 6. Logical Effort Jacob Abraham, September 15, 2020 29 / 31
Method of Logical Effort
1. Compute path effort F = GBH
2. Estimate best number of stages N = log4 F
3. Sketch path with N stages
1
4. Estimate least delay D = NF N + P
1
5. Determine best stage effort fˆ = F N
6. Find gate sizes Cin = gi Cfout
ECE Department, University of Texas at Austin Lecture 6. Logical Effort Jacob Abraham, September 15, 2020 30 / 31
Summary of Logical Effort
ECE Department, University of Texas at Austin Lecture 6. Logical Effort Jacob Abraham, September 15, 2020 31 / 31