VLSI-Design Assignment 2 Solved

30.00 $

Category:

Description

Rate this product

1. Install MAGIC and do the inverter layout example shown in the tutorial. (No need to submit this part).

2. Using NGSPICE, design a minimum sized CMOS inverter (L = 0.18μm, Wn = 0.27μm) such that the rise time and fall time (time taken to traverse from 10% to 90% of the transient ) are equal for a load capacitance of 100 fF.
(Hint: Adjust the width of the PMOS to get equal rise and fall times. Use .measure command fast and accurate measure. Use input pulse with 10 ps rise/fall and run transient with a resolution of few ps) (Practise problem; Not mandatory to submit)

3. Consider a CMOS inverter with size ′W′, which has the following parameters : L = 0.18μm, Wn = W =1.8μmandWp =2.5×W.

  1. (a)  UsingNGSPICE,plotVTCofinverter-1(I1)forthecasewhentheinverterisdrivingasamesized inverter (I2) as shown in Fig. 1.

    Find VTC

    Identical inverters

    Figure 1

  2. (b)  As discussed in class, derive the expressions for noise-margins NMH and NML for a CMOS inverter.
  3. (c)  From the VTC plot in (a) find the noise margin parameters (VIH , VIL, VOH , VOL) and calculate N MH and N ML . Compare the noise-margins obtained from simulation with the theoretical values obtainedinpart(b)forwhichyoucanuseVT valuesthatyouextractedinassignment-1.
  4. (d)  Draw layout for case (a), extract the netlist and run post layout simulation to plot VTC of I1 and find its NMH and NML by clearly showing all noise-margin parameters on the plot. Tabulate theoretical, pre-layout and post-layout noise-margins for I1. Do you observe any difference (pre- layout vs post-layout)? Comment.

4. AtypicalCMOSinverterisconsideredtodrive4similarinvertersorhavingafan-outof4(FO4inverter). We want to characterize the delay of FO4 inverter, for which input and output waveforms should also

I1

I2

be typical in nature. Consider the figure 2, where an inverter with size ′W′ has following parameters : L = 0.18μm, Wn = W = 1.8μm and Wp = 2.5 × Wn. Write a net-list for the given configuration and apply a piece wise linear input at node ‘A’ as follows : Vin vin A 0 pwl (0 0V 0.5ns 1.8V 1.1ns 1.8V 1.5ns 0V 10ns 0V).

Vdd

IDD

W 4W 16W 64W 376W AI1BI2CI3DI4 EI5 F

ISS

1 pF

Figure 2

  1. (a)  Asdiscussedinclass,derivetheexpressionsforrise-time(τrise)andfall-time(τfall)foraninverter in terms of noise margin parameters, supply voltage, threshold voltages of devices, Kn,Kp and load capacitance (CL). Calculate Kpτrise/CL and Knτfall/CL using the required values from the results obtained in problem 2(d), where K = μCox WL .
  2. (b)  Run transient simulation for 5 ns in step size of 10 ps for the given circuit and plot the signals at node ‘C’ and ‘D’ in the same graph. From the graphs, find the values of τrise and τfall at both the nodes C and D (You may consider 10% to 90% of the transient for finding rise/fall times. Use .measure for accuracy). Are they same? Comment.
  3. (c)  Use .MEASURE command in NGSPICE and tabulate the propagation delays (input to output) of inverters I3 and I4. Are they same? Discuss.
  4. (d)  Plot the supply current IDD as shown in the figure and explain the plot obtained.
  5. (e)  Plot the ground current ISS as shown in the figure and explain the plot obtained.

5. Design a 31 stage ring oscillator (RO) using L = 2λ, Wn = 10λ and Wp = 25λ, where λ = 0.09μm.

  1. (a)  Write NGSPICE netlist for the RO and find frequency (fRO) of oscillation and delay (τD) of a

    single inverter from simulation results. Do the values obtained from simulation results satisfy

    fRO = 1 , comment. 62Ï„D

  2. (b)  Draw an optimized layout for the 31 stage RO using MAGIC layout editor.

    (Hint: Some useful magic commands- :getcell inverter-layout-name, :array <columns> <rows>, :upsidedown)

  3. (c)  Extract the netlist of the RO from the layout with parasitics and use NGSPICE to find fRO and τD
  4. (d)  Comparethepre-layoutandpost-layoutsimulationresultsandcommentonthedifference(ifany).
  • 2-ykbkmv.zip