Implement the given logic function using CMOS logic.
(Transistor level diagram).
F = ^[D+A((B+C))]
Design 1: Size all transistors with their minimum
default W/L
Size all the transistors from design 1 for
Design 2: Performance
Design 3: Symmetric rise and fall times
Reference: Transistor
Sizing a Complex CMOS Gate from Lecture 6
In both cases, report your observations with
supporting extracted view simulation results. (Hint: Propagation delays)
During simulation, use the following model files:
During simulation, use the following model files:
Useful tips:
i. It is recommended that you go through the lecture material
that covers designing Complementary CMOS circuits and Transmission gate logic
circuits (Lecture 1 on course website and Chapters 6.2.1, 7.2.4 in the text
book)
ii. Familiarize
yourself with the difference between flipflops and latches.
iii. During simulation, make sure your stimuli (D and
CLK) do not have same rising and falling edges. You should be able to
demonstrate the functioning of the DFF for all cases and combinations of
inputs.
iv. Keep the width of the PMOS transistors double the
width of the NMOS transistors. The width of the NMOS and PMOS transistors should be
1.5um and 3um, respectively. Their lengths can both be set to 0.6um.
Consider rise time and fall time to be 0.01ns.
v. If your design requires, you can reuse the gates designed
in Lab 0 and 1.
During simulation, use the following model files:
/util/cadence/local/ncsu-cdk-1.6.0.beta-20150506/models/spectre/standalone/ami06N.m
and /util/cadence/local/ncsu-cdk-1.6.0.beta-20150506/models/spectre/standalone/ami06P.m
For this lab,
you will have to implement the basic 2-input gates
i.
NAND
ii.
NOR
iii.
XOR
Create symbols
for each schematic.
What you can do before coming to the lab:
1. It is
highly recommended that you go through the lecture that has covered the design
of Complementary CMOS circuits and work on designing the circuit. This saves
you time during the lab session and you have more time to work on your cadence
implementation.
Useful tips:
1. Another important thing to note is to keep the
width of the PMOS transistors double the width of the NMOS transistors. The width
of the NMOS and PMOS transistors should be 1.5um and 3um, respectively. Their
lengths can both be set to 0.6um.
2. As you have to design 2-input gates, you should test
your circuit for all possible combination of inputs. This can be done using two
pulse inputs, one with twice the time period of the other. Another effective
method to give stimuli is using bit inputs with 0.01ns rise and fall times.
It
is highly recommended that you go over the Cadence setup and tutorial
pages as you work on this assignment to correctly setup your tool and access.
Follow all steps given under Cadence setup. The documentation provided under
the help menu in each cadence tool also contains detailed information on using
the tools.
Design
a CMOS inverter in Cadence. The width of the NMOS and PMOS transistors should
be 1.5um and 3um, respectively. Their lengths can both be set to 0.6um. For
simulations, set the inverter input signal to have a rise time of 0.5ns, fall
time of 0.5ns, pulse width of 2ns, period of 5ns.
Propagation Delay (tp):
Propagation delay expresses the delay experienced by a signal when passing
through a gate. tpLH defines the response time of the
gate for a low to high output transition, while tpHL
refers to a high to low transition. The overall propagation delay is
conservatively defined as the average of the two delays tpLH
and tpHL.