Lab 5 - EE 421L 

Authored by Nha Tran

Email: trann4@unlv.nevada.edu

NHSE ID: 2000590233

10/13/2014 

  

Lab description: The purpose of this lab is to draft a layout, schematic and symbol of an inverter.

   

Prelab:
 
First zip up the cmosedu folder by typing tar -cvf



     1.     What does the Bindkey q do?
                properties

2.    Which two Cell Views are used when doing an LVS?

                schematic and extracted

3.    What is the difference between the nmos and nmos4 schematic cells?

                one has 4 pin and one has 3

4.    How do you select the MOSFET models in the ADE window? What does ADE stand for?

                go to model library and find it in the ami06 folder, ADE is analog design environment

5.    What is the difference between moving and stretching?

                one move and one stretches

6.    How do you layout a rectangle on the metal1 layer?

                press R then draw a rectangle

7.    What does the ! indicate at the end of gnd! and vdd!

                it means universal or global

8.    What do the acronyms LSW and CIW stand for?

                LSW - layout selection window, CIW - command interpretor window

     9.    How is the ruler used? Cleared?
                  press k, shift k to get rid of it

  

Create a new library name it lab5 and create a new cell view in that folder and name it inverter.
ntlab5_01.PNG
   
get the NMOS and PMOS from the NMOS_IV and PMOS_IV schematic and add the vdd and gnd to the pmos and nmos respectively. also add an Input pin lable it A and output pin label it Ai. and connect wires to make the schematic similar to below.
ntlab5_02.PNG
   
save the schematic and create the cell view from cell view. Then delele everything and redraw the inverter like below.
ntlab5_03.PNG
   
next create new layout for the inverter, and instantiate the following instance from the ami06 library.
ntlab5_04.PNG
   
next align the layout like below, and make the pmos 12u by 600n and the nmos 6u by 600n, make the ntap and ptap have 2 column of contact. DRC and it has zero error.
ntlab5_05.PNG
   
next add the metal1 and poly layer like below, DRC it and it gets zero error
ntlab5_06.PNG
   
when you press e and set the stop = 0 you should get the following image, with the metal1 layer connect to the layout as follow
ntlab5_07.PNG
   
next add the pin vdd! and gnd! to the ntap and ptap respectively and add the input A and output Ai to the layout. DRC shows no error
ntlab5_08.PNG
   
extracting the layout and it should look like below.
ntlab5_09.PNG
   
now we will LVS the schematic with the extracted. as seen below it matches indicated that our layout is exactly like our schematic of the inverter.
ntlab5_10.PNG
   
next create a new schematic name is sim_Inverter_dc, instantiate the inverter, and the no connection symbol in the basic --> misc library. adding the label in and out to the schematic like below.
ntlab5_11.PNG
   
run ADE L, then select the input and output on the schematic to be plotted. then select dc analysis and choose the following parameter like below. and go to model libraries and go to the ami06N and ami06P like below.
ntlab5_12.PNG
   
save the session and netlist and run and you should see the graph similar to below. the output is zero because there is no vdd.
ntlab5_13.PNG
   
now add a vdd to our schematic.
ntlab5_14.PNG
   
  Netlist and Run you should get
ntlab5_31.PNG
End of Prelab.

LAB:


schematic of a 12u by 600n Pmos and 6u by 600n Nmos.
schematic of a 48u by 600n Pmos and 24u by 600n Nmos.
ntlab5_15.PNGntlab5_18.PNG
symbol of a 12u by 600n Pmos and 6u by 600n Nmos.
symbol of a 48u by 600n Pmos and 24u by 600n Nmos.
ntlab5_16.PNGntlab5_19.PNG
layout of a 12u by 600n Pmos and 6u by 600n Nmos.layout of a 48u by 600n Pmos and 24u by 600n Nmos.
ntlab5_17.PNGntlab5_20.PNG
   
   

Adding a Capacitive load on the 12u/6u inverterAdding a Capacitive load on the 48u/24u inverter
ntlab5_21.PNGntlab5_22.PNG
C = 100 fFC = 100 fF
ntlab5_23.PNGntlab5_27.PNG
C = 1 pFC = 1 pF
ntlab5_24.PNGntlab5_28.PNG
C = 10 pFC = 10 pF
ntlab5_25.PNGntlab5_29.PNG
C = 100 pFC = 100 pF
ntlab5_26.PNGntlab5_30.PNG
        
When the capacitor is small the respond time for both the 12u/6u is the same as the 48u/24u, but when the capacitor is higher the respond time for the 48u/24u is much more accurate and precise compare to the the 12u/6u. you can see from the graph that at C=100pF for the 12u/6u MOSFET the inverter does not even invert, its output will become a constant number when you put a higher capacitance in there. for the 48u/24u MOSFET there is still some inversion at the c=100pF. 
12u/6u Inverter48u/24u Inverter
C = 100f FC = 100f F
ntlab5_32.PNGntlab5_27.PNG
C = 1p FC = 1p F
ntlab5_33.PNGntlab5_28.PNG
C = 10p FC = 10p F
ntlab5_34.PNGntlab5_29.PNG
C = 100p FC = 100p F
ntlab5_35.PNGntlab5_30.PNG
   
The ultrasim and the spectre simulation gives the same results as can be seen from the graphs. Again similar to the explanation above 
When the capacitor is small the respond time for both the 12u/6u is the same as the 48u/24u, but when the capacitor is higher the respond time for the 48u/24u is much more accurate than the 12u/6u.
   
lab5.zip    cadence work.

THIS ENDS LAB5

zipping up the lab folder and the lab5.html and emailing it.
ntlab5_36.PNG

   









Return to EE 421L labs