C7 · Problem set 3
Problem set 3: CMOS gates and combinational design
These problems use lessons 7 to 14: the CMOS inverter, CMOS gates with their sizing and power, combinational logic design, and Karnaugh maps. Number truth-table rows from 0, with the first-listed input as the top bit.
Check
A node of 2 fF switches with activity α = 0.05 at 2 GHz on 3.3 V.
(a)
What dynamic power does it take?
Write units the way you normally would: 1.5 µW, 1500 nW and 0.0015 mW are the same answer.
(b)
How much energy does one full charge-and-discharge cycle draw from the supply?
Check
In a process where a unit inverter has NMOS width 1 and PMOS width 2, gates are sized to match it.
(a)
How wide is each NMOS in a 3-input NAND?
(b)
How wide is each PMOS in a 3-input NOR?
Check
Compare a 3-input NAND and NOR sized to match a unit inverter (NMOS 1, PMOS 2).
(a)
What total gate width does one NAND input drive?
(b)
And one NOR input?
Check
A gate with 5 kΩ of on-resistance drives 2 inputs of 2 fF each and 5 fF of wire.
(a)
What is its load?
Write units the way you normally would: 1.5 fF and 0.0015 pF are the same answer.
(b)
What is its 50% delay, ?
Check
A matched CMOS inverter on 3.3 V has thresholds of 0.3 V.
(a)
Where does it switch?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
(b)
What is its noise margin?
Check
A full adder gets A = 0, B = 0 and carry-in 1.
(a)
What is its sum bit?
(b)
What is its carry out?
Check
Minimize .
Write AND as · or & (or just AB), OR as +, XOR as ⊕, and NOT as ¬ or a trailing ': A·B + C' works.
Check
Minimize .
Write AND as · or & (or just AB), OR as +, XOR as ⊕, and NOT as ¬ or a trailing ': A·B + C' works.
Check
A, B, C, D carry a BCD digit, so the codes 10 to 15 never occur. Minimize the function that's 1 when the digit is divisible by 3 (0, 3, 6 or 9).
Write AND as · or & (or just AB), OR as +, XOR as ⊕, and NOT as ¬ or a trailing ': A·B + C' works.
Check
Find a minimal form of (try grouping the zeros).
Write AND as · or & (or just AB), OR as +, XOR as ⊕, and NOT as ¬ or a trailing ': A·B + C' works.
Check
A CMOS gate's pull-down network is NMOS A and B in series, in parallel with NMOS C. What does it compute?
Write AND as · or & (or just AB), OR as +, XOR as ⊕, and NOT as ¬ or a trailing ': A·B + C' works.
Check
Design a 2:1 multiplexer: output A when S = 0 and B when S = 1.
Write AND as · or & (or just AB), OR as +, XOR as ⊕, and NOT as ¬ or a trailing ': A·B + C' works.
Check
Minimize (A the top bit).
Write AND as · or & (or just AB), OR as +, XOR as ⊕, and NOT as ¬ or a trailing ': A·B + C' works.
Check
Write the three-input majority function.
Write AND as · or & (or just AB), OR as +, XOR as ⊕, and NOT as ¬ or a trailing ': A·B + C' works.
Check
A design uses 1000000 n-input NAND gates with n = 3, each sized to match a unit inverter.
(a)
What total transistor width does each gate use, in units?
(b)
What's each gate's logical effort?
Have paper and a calculator ready. Work each problem out by hand, then enter the answer. Your first try on each one counts toward your score.
Practice
Keep practicing
7 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.