You. You Are Not Allowed To Share Your Solutions With Others in The Class

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 16

Homework Assignment 3

Instructions:

 You are allowed to discuss homework assignments only with others taking the class with
you. You are not allowed to share your solutions with others in the class.
 Contact the Instructor or Course Assistant during office hours or by appointment if you need
any help with the assignment.
 Enter your responses in this Word document after you download it from NYU Classes.
 Use the NYU Classes portal to submit your completed homework assignment in PDF format.
 The submission website closes automatically at the deadline and will not accept late
submissions.
 There will be a 10 pts/hr deduction for late submissions via email.

Table 1: Process parameters for hand calculation problems.

Transistor µ (cm2/Vs) Cox(F/cm2) Vth(V) (V-1)

NFET 250 2.5 ×10−6 0.3 0.1


PFET 200 2.5 ×10−6 -0.3 0.1
Question A. Charging and discharging a capacitor using nFET. Use minimum channel
length forthe nFET. Use VDD=0.8 V. Simulation using FreePDK45.

1. Consider the nFET circuit shown in Fig. 1. The gate of the nFET is connected to V DD =
0.8 V so it is turned on. A capacitor of 10 fF is attached to one of its output terminals,
while the other output terminal has a voltage V1. The pulse voltage varies between 0 and
VDD, as shown in Fig. 1. Assume the initial voltage condition across the capacitor to be 0
V. Plot the result of Vout versus time.
2. What is the maximum output voltage when V1 = VDD = 0.8 V? Explain your answer.
Vmax = 506mV
Capacitor can charge until the MOS remains ON i.e, Vgs > Vth. As soon as
Vgs < Vth, nFET turns OFF. Thus, the max voltage Cap can hold:
Vg – Vout > Vth
Vout < Vg – Vth.
Vout(max) = Vg – Vth = VDD – Vth @ Vg = VDD.
3. Find the time that it takes to charge and discharge the capacitor by 50% of its steady
state value?

Charge time = 16.15ps.


Discharge time = 11.2ps

Figure 1: nFET circuit for Question A. The body of the nFET is connected to the ground.
Assume Vout(t = 0) = 0 V. Assume that the rise and fall times of the pulse V1(t) are 10 ps.
Question B. Charging and discharging a capacitor using pFET. Use minimum channel
length for pFET. Use VDD=0.8 V.Simulation using FreePDK45.

1. Consider the pFET circuit shown in Fig. 2. The gate of the pFET is connected to ground
so it is turned on. A capacitor of 10 fF is attached to one of its output terminals, while the
other output terminal has a voltage V 1.The pulse voltage varies between 0 and V DD, as
shown in Fig. 2. Assume the initial voltage condition across the capacitor to be V DD = 0.8
V. Plot the result of Vout versus time.

2. What is the maximum output voltage when V1 = VDD = 0.8 V? Explain your answer.
Vmin = 297mV
Capacitor can discharge until the MOS remains ON i.e, Vsg > Vth. As soon
as Vsg < Vth, pFET turns OFF. Thus, the min voltage Cap can hold:
Vout – Vg > IVthI
Vout > Vg + IVthI.
Vout(min) = IVthI @ Vg = 0

3. Find the time that it takes to charge and discharge the capacitor by 50% of its steady
state value?

Charge time = 17.02ps.


Discharge time = 25ps

Figure 2: pFET circuit for Question B. The body is connected to VDD. Assume Vout(t = 0) = VDD =
0.8 V. Assume that the rise and fall time of the pulse V1(t) are 10 ps.
Question C. Transient simulation of CMOS inverter using FreePDK45. Use minimum
channel length for both nFET and pFET.

1. Attach a 5 fF capacitive load at the output of the inverter. Use supplyvoltage V DD = 0.8 V.
Consider the input signal shown in Fig. 1with equal rise and fall times of 10 ps. Size the
inverter for equal low-to-high and high-to-low delay times. Report W p/Wn of this inverter.
Such an inverter is called balanced inverter.

Wp/Wn = 750/500 = 1.5

t(L -> H) = 12.35ps.


t(H -> L) = 12.13ps.

2. Vary the rise time (keep fall-time of the signal constant at 10 ps). Measurethe high-to-low
delay at the output. Plot the high-to-low delay for rise time of 0.1 ps, 50 ps, 100 ps, 150
ps, 250 ps, 500 ps. Do you see the effect of finite input slew on delay?
RiseTime (Input) Delay(H -> L)
0.1p 10p
50p 21p
100p 28.5p
150p 34p
250p 41.85p
500p 55p

3. Consider the rise and fall time of the input signal to be 200 ps. Re-sizethe inverter to
achieve equal low-to-high and high-to-low delay. Is there any difference from the
required value of Wp/Wn found in Part (1) of this problem?
For same Wp/Wn, no such considerable changes in the delay time, for any
changes in the rise and fall time of the input signal.
4. Now consider the inverter driving another similarly sized inverter as shownin Fig. 3. The
sizing of both inverters is that found in Part (1) above. Do not attach any extra
capacitance at the output of first inverter. Find the low-to-high and high-to-low delay of
the first inverter. Consider the input signal for the first inverter as shown in Fig. 1 with
equal rise and fall time of 10 ps.
t(rise_time) = 7.34ps
t(fall_time) = 7.06ps
5. Increase the widths of all transistors in Part (4) by 5 times. Repeat the problem in Part
(4). Explain your observation.

t(rise_time) = 7.1ps
t(fall_time) = 6.81ps
There is some decrease in the rise and fall time due to increase in the width.
This is because as we increase the size, the current can increase, thus
transitioning quickly.

Figure 3: Inverter driving another inverter for Part (4) of Question C.


6. Consider the single inverter stage in part (1) above. Connect a capacitor at its output
node that is 10 fF.Consider a pulse input to the inverter as shown in Fig. 1. The rise and
fall times of the input signal are both 10 ps.Determine the dynamic and short-circuit
energy dissipation of the first inverter. For short-circuit energy dissipation, consider that
the switching occurs between 10% to 90% of VDD.
For Out = 800mV (Isupply = 4.6nA, VDD = 800mV) Pleakage,1 = 3.68 nW
For Out = 0V (Isupply = 4.18nA, VDD = 800mV) Pleakage,2 = 3.344 nW
𝑃𝑙𝑒𝑎𝑘𝑎𝑔𝑒 = 2 /3 𝑃𝑙𝑒𝑎𝑘𝑎𝑔𝑒,1+ 1/3 𝑃𝑙𝑒𝑎𝑘𝑎𝑔𝑒,2 = 3.568𝑛𝑊
𝑃𝑠𝑐 = (𝑝𝑠𝑐,𝑎𝑙𝑙 + 𝑃𝑠𝑐,𝑟𝑖𝑠𝑒 )/2
From the plot, we can see that tr = tf = 30 ps, Ipeak,r = 56.5uA, Ipeak,f = 28.4 uA
𝑃𝑠𝑐,𝑖𝑠𝑒 = 1/3𝑇 (𝑡𝑟 × 𝐼𝑝𝑒𝑎𝑘,𝑟 × 𝑉𝐷𝐷) = 1.356 × 10−15 / 3𝑇 𝑊
𝑃𝑠𝑐,𝑎𝑙𝑙 = 1/3𝑇 (𝑡𝑓 × 𝐼𝑝𝑒𝑎𝑘,𝑓 × 𝑉𝐷𝐷) = 0.6816 × 10−15 / 3𝑇 𝑊
𝑃𝑠𝑐 = (8.43 × 10−17)/ 2 ∗ 3𝑇 𝑊 → 𝐸𝑠𝑐 = 3𝑇 × 𝑃𝑠𝑐 = 1.0188𝑓J
Question D. Ring oscillator design using FreePDK45.

Consider a three-stage ring oscillator as shown in Fig. 4, wherethe inverter circuits are identical.
The ring oscillator circuit exhibits steady-state voltage oscillations. The frequency of oscillations
is given as
1
f=
2 n τ inv

where n is an (odd) number of stages in the ring-oscillatorandτinv is the delay of the inverter.
Implement the ring oscillator in CADENCE using FreePDK45. Assume that the inverters have
the size you obtained in Question C, Part (1). Run a transient simulation to plot the voltage at
node denoted as“Output”.

Figure 4: A three-stage CMOS ring oscillator.

1. Use the transient simulation results to determine the frequency of oscillation at V DD = 0.8
V. Determine the switching power dissipation of the circuit. Note the switching power will
include both charging/discharging dynamic power as well as the short-circuit power.
Time Period = 46.31ps
Frequency = 21.6 GHz.
Using Calculator, the switching power is calculated:

Inverter 1 = 26.98uW
Inverter 2 = 25uW
Inverter 3 = 29uW
Total Power dissipation : 81uW
2. Reduce the supply voltage of each inverter from V DD = 0.8 V to 0.2 V in steps of 0.2 V.
For each supply voltage, report the value of the frequency. Plot the frequency as a
function of VDD. Does the frequency increase or decrease byreducingV DD. Explain your
observation.

VDD Frequency(Hz)
0.8 21.6 G
0.6 11.7 G
0.4 1.93 G
0.2 39 M

As VDD decreases, the supply current decreases, due to low drain-source voltage decreases
the transition speed of the MOSFET.
Question E. Hand calculation.
Assume a long-channelnFET is used to charge a large capacitor CL as shown in Fig. 5 (left).
Using the data in Table 1, answer the following questions. Consider that the body of the nFET is
connected to the ground. Ignore both channel length modulation and body effect. Use VDD = 1.2
V.

1. Determine the low-to-high delay (tpLH) of the output signal assuming an ideal input step of
0 V to VDD = 1.2 V at the gate terminal of the transistor. Assume that the
intrinsic/parasitic capacitance of the transistor is negligible compared to CL.
2. Assume that the load capacitor scales with the width of the transistor.That is, C L = C0×W,
where C0 is the process dependent parameter and W is the transistor width. If t pLH = t0 for
W = W0, how does tpLH change if W is increased to 5W0.
3. Now assume a long-channel pFET is used to discharge the capacitor CL= 5 fF that is
initially charged to VDD, as shown in Fig.5 (right).The pFET dimensions are W p = Wn=100
nm and L=50 nm.Determine the high-to-low (tpHL) delay of the circuit. Ignore the body
effect and channel-length modulation.
Figure 5: (left) An input pulse is applied at the gate of the nFET. The output capacitor is initially
discharged. (right) An input pulse is applied to the gate of the pFET. The capacitor is initially
charged to VDD.

You might also like