EN
OUT
Hint: Use the RC delay estimation model an inverter with non-ideal input i.e. the input
switching is not instantaneous: tpHL=tpLH 2.4RONCL. You may first determine the
effective RON for the NAND gate, with active EN input, and then treat it similar to an
inverter in your calculations.
b) Redo your calculation for VDD=10 V. Comment on the comparison of your results
between (a) and (b).
c) If the leakage through the transistors is negligible in this particular technology, how do
you expect the current dissipation (Iavg) of the oscillator to change with VDD? Estimate
METU-NCC
Power Delivery Note: Observe how the supply current has high frequency
fluctuations due to MOSFET switching in the circuit. You can add a decoupling capacitor
(e.g. 100 F) between VDD and GND in order to reduce such fluctuations. Decoupling
capacitors are essential components of the power delivery in digital circuits to reduce
such current fluctuations, which may result in performance and reliability impacting
voltage overshoots and undershoots respectively due to Ldi/dt events.
c) Fill in the below table based on your formulas derived in Part 1, and simulation results.
Enter the difference between hand calculations and simulations to the last two columns
of the table for oscillator frequency and Iavg.
Hand-Calculations
Simulations
Calc- CalcVDD MOSFET Inverter NAND NAND Oscillator
Sim
Sim
Oscillator
Oscillator
Oscillator
(V)
RON
Freq. Iavg.
tPHL=tPLH tPHL
tPLH
Freq.
Freq.
Iavg. (mA)
Iavg. (mA)
()
Diff. Diff.
(ns)
(ns) (ns)
(MHz)
(MHz)
5
6
7
8
9
10
d) It often provides additional insight to plot parameters against each other. Use MS Excel
or similar tools to plot simulated Iavg. against VDD for example. Do you expect this curve
to be linear? If it is not linear, can you provide any explanations for this? Does the nonlinearity explain the difference between the calculated and simulated current dissipation
values (examine your difference column is it a constant or a growing difference)?
Hint: While CMOS gates switch, both pull-down NMOS and pull-up PMOS network enter
saturation briefly during signal transition when input/output voltage is around VM point.
Although the resulting current (known as short-circuit current) is much less than the
load capacitor charge/discharge current, it still plays a role in dynamic power
dissipation.
Experiment 6
METU-NCC
Figure 6.2. Interconnect Layout and Pinout of the CD4007 MOS array chip
3. Design a CMOS complex logic gate that
implements the following logic function based on
the reference CMOS inverter design given on the
right in Figure 6.3, using the graphical method.
The specifications are as following:
i. Logic function: Y (( AB ) ( ACD) ( ACE ))
ii. Graphical Method Approach is a must in
minimizing cost.
iii. Same delay as for reference design inverter
CMOS with loaded capacitance of C.
Hint: Assume symmetrical design based
approach. Also, double check your W/L
calculations for each gate.
Experiment 6
VDD=5 V
III. EXPERIMENT
Part 1 Design Validation of a CMOS Oscillator
i.
Build the previously simulated oscillator using your chip layout and interconnect
planning in Part 2(f) of the preliminary work. Add 2 more columns to your data table in
Part 2(c) of the preliminary work, and for each VDD in the table note down the oscillator
frequency measured through the oscilloscope, and the average current dissipation
measured through the ammeter (multimeter). Comment on any differences between
the simulations and the measurements. If you have too much noise on the supply
current or voltage, remember to add decoupling capacitor(s) as described in Part 2(b).
ii.
How do you think the oscillation frequency and power dissipation will change if a 100 pF
additional load is added to the output of each inverter (and the NAND gate) in the
oscillator? Verify your expectation by adding 100 pF to each of the inverter and NAND
output nodes (total of 5 capacitors), and checking the performance and power impact.
Demonstrate your results to your laboratory assistant to get credit for this part.
Part 2 Design Validation of a Complex CMOS Gate
Construct the circuit you have designed in Part 3 of your preliminary work using CD4007
components, referring to Figure 6.2. Investigate the following:
i.
Obtain the truth table of the circuit by applying all input combinations to your circuit
using VDD and input VH (logic 1) level of 5 V. Use input VL (logic 0) level of 0 V. You may
connect LEDs to the inputs and the output of your circuit if it will be easier to execute
and note all combinations.
ii.
Write down the Complex Logic function which you have obtained based on the truth
table from (i). Is it equivalent to the function provided in Preliminary work?
iii.
Determine and note the average propagation delay of the circuit by connecting a 100
pF capacitor at the load.
iv.
In parallel build one reference inverter using CD4007, validate, and note its average
propagation delay under the same VDD and load conditions.
v.
Comment on the difference in results between the complex CMOS gate, and the
reference inverter.
MOSFET Array
6 x LEDs
(Optional)
5 x 100 pF
Capacitors
100 F
Decoupling capacitor
METU-NCC
Experiment 6