Numerical S 1
Numerical S 1
Numerical S 1
(a) What is the boolean expression for the function described by the CMOS gate below?
Solution:
We can look at the PDN to observe the boolean expression, converting parallel branches
to boolean ORs and series to boolean ANDs:
(b) Draw the static complementary CMOS circuit that implements the following logic function:
ABC + DE
Solution:
The output is 0 when ABC +DE is true, so the PDN can directly map to this expression.
Hence there are 2 parallel branches in the PDN, with A/B/C in series on one branch and
D/E in series on the other branch.
The PUN can be derived by applying the duality of complementary CMOS gates. Series
paths are converted to parallel, and parallel paths are converted to series. This results in
2 groups of transistors in series, with one group being A/B/C in parallel and the other
being D/E in parallel.
(a) How should the inverter chain be sized for minimum delay?
Solution:
Delay is minimized when each stage has the same fanout. The total fanout is
CL 250Cin
F = = = 250
Cin Cin
The fanout per stage should then be
√ √
f= F = 250 ≈ 3.02
N 5
Solution:
(c) Assume that the number of stages is not restricted to 5. How many stages should you use for
minimum delay? What is the total delay?
Solution:
The total (normalized) delay through the inverter chain as a function of N (the number
of stages), F (the total fanout), and γ is
D = N (γ + F 1/N )
The graph shows that the optimal number of stages is 4. Thus, the total delay is
Assume γ = 1.
(a) How should the minimum inverter be sized? Specify the NMOS width Wn and PMOS width
Wp .
Solution:
Wn = 1, Wp = 3.
We want equal pull-down/pull-up strengths. Wn = 1 would result in a pull-down resis-
tance of R, and Wp = 3 would result in a pull-up resistance of 3R/3 = R.
Solution:
Req = R, Cin = 4C.
As mentioned in the solution to part (a), the minimum size inverter is sized to have a
pull-up and pull-down resistance of R.
The total input capacitance is
Cg,n + Cg,p = Wn Cg + Wp Cg = C + 3C = 4C
How should the custom gate be sized to have the same output current as the minimum size
inverter?
Solution:
We want to size each transistor such that in the worst case, the pull-up/pull-down resis-
tance is equivalent to that of the minimum size inverter (i.e., R). For parallel branches,
the worst case considers only one branch being on at a time.
First, consider the pull-down network. The NMOS with input C should be sized 1 to
have a PD resistance of R. As for the NMOS with inputs A and B, both transistors
must be on, resulting in 2x the resistance. Thus, each should be sized 2 such that the
PD resistance in this case is R/2 + R/2 = R.
Next, consider the pull-up network. For the PUN to be turned on, all branches must
require a stack of 2 PMOS devices to be on (either A & C or B & C). Thus, each PMOS
must be sized 2x larger to account for the 2-stacked PMOS. In addition, PMOS must be
3x larger than the NMOS to account for the 3x larger on-resistance. Hence, setting the
PMOS devices to have size 6 results in the PU resistances as
Ron,p Ron,p 3R 3R
A, C : + = + =R
WA WC 6 6
Ron,p Ron,p 3R 3R
B, C : + = + =R
WB WC 6 6
(d) Compute the logical effort LE and (normalized) parasitic delay P of the custom gate.
Note: The logical effort should be calculated separately for each input.
Solution:
The logical effort is computed as
Req,gate Cin,gate
LE =
Req,inv Cin,inv
Because we sized the custom gate to have the same resistance as the inverter,
Req,gate = Req,inv
We can first compute the gate input capacitance for each input:
Req,gate Cp,gate
P =
Req,inv Cp,inv
Req,gate = Req,inv
There are 4 transistors whose drains are directly connected to the output: the NMOS
with input B, NMOS with input C, PMOS with input A, and PMOS with input B. The
parasitic output cap of the gate is thus
(e) (251A Only) Suppose that we have the following data path:
An inverter drives the custom gate’s input A, and the custom gate drives a load capacitance
CL = 16C. Both the inverter and custom gate are minimum size (as denoted by "1" in the
figure). Assume that the custom gate’s inputs B and C are driven by other circuits not shown
here.
What is the total delay from the input to the output? Express in terms of R and C.
Solution:
The total delay can be expressed in terms of parasitic delays, logical effort, and fanout:
The fanout of the inverter is finv = 1 since the custom gate is sized to be 1 (i.e., its input
cap is the same as the minimum size inverter, or 4C).
The fanout of the custom gate is
CL 16C
fgate = = =4
4C 4C