Tutorial about the method of Logical Effort for analyzing and designing logic circuits.
1. Logical Effort technique
The method of Logical Effort assumes a linear delay model, where the delay of a gate is predicted by some parasitic delay from self-loading and a delay term which scales linearly with the attached load capacitance.
- Terms
g | |
h | |
p | |
G | |
H | |
P |
Stage | Path (N stages) | ||
---|---|---|---|
Term |
Name |
Term |
Name |
\(g\) |
\(\displaystyle G=\prod g_i\) |
||
\(h=\dfrac{C_{out}}{C_{in}}\) |
\(H=\dfrac{C_{load}}{C_{in, 1}}\) |
||
\(b\) |
branching effort |
\(\displaystyle B=\prod b_i\) |
path branch effort |
\(f=g \, h\) |
stage effort |
\(F=G \, B \, H\) |
path effort |
\(f\) |
stage effort delay |
\(\displaystyle D_F=\sum f_i\) |
path effort delay |
\(p\) |
\(P=\sum p_i\) |
||
\(d=f+p\) |
stage delay |
\(\begin{align} D &= \sum d_i \\ &= \sum (f_i + p_i) \\ &= D_F + P \end{align}\) |
path delay |
2. Stage logical effort, g
It may be a little unfortunate about the naming of this term, but it really is the core of whuzzup with the overall Logical Effort technique. To stay clear, this term as applied to an individual gate will always be carry a prefix stage logical effort, while the technique will always be capitalized.
Stage logical effort is the ratio of the input’s input capacitance to the input capacitance of an inverter with an equivalent drive strength.
This definition holds for any size of gate.
3. Stage electrical effort, h
Recall the definition of stage effort
\[g = \dfrac{C_{in\text{, this}}}{C_{in\text{, inv}}}, \\
\Rightarrow C_{in\text{, this}} = g\, C_{inv}\]
|
Let’s make an assumption that all of the branches away from the path of interest are only inputs to other gates and not any other capacitances. If that is the case, then
-
\(j\) selects each of the branching path’s gates,
-
\(k_j\) is the size of this gate with respect to a reference version having the same drive strength as the reference inverter,
-
\(g_j\) is the gate’s logical effort.
If this is a design problem, we have to stop at this point since we haven’t (yet) determined the sizes of the gates. |
Remember that we are ultimately interested in the delay and are using L.E. to make this computation easier (?) and avoid (slow) simulation. The intuition gained from this process keeps us in the realm of Engineering and out of the tempting mode of Blindguessandchecking. [1]