Lab 5 - EE 421L 

Vrigiank@unlv.nevada.edu

Kirk Vrigian,

10/1/15

In this lab we will design a schematic for an inverter using a NMOS & PMOS. Then design a symbol for an inverter, and see the curves using different capacitive loads.

First, we copy tutorial_2 to a library named Tutorial_3, and update instances of library.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/Tutorial.JPG

Create a new schematic in tutorial_3 called inverter & also open the schematic view of the NMOS_IV.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/NMOS_IV%20schematic.JPG

Copy the NMOS schematic over to the inverter schematic by typing C and left clicking the NMOS_IV schematic & drag it over to the inverter schematic.


Close the NMOS_IV window, open the PMOS_IV schematic & copy that to the inverter schematic as well. Lastly, instantiate vdd & gnd supply nets then add the pins A (input) & Ai (output).

Final inverter schematic.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/inverter_schematic_m1.JPG


Check & save, then create a symbol from this schematic.
Delete everything in the symbol except for the pins. Then draw the inverter symbol seen below & verify that you pins are in the correct placements. ie. A is input AI is output.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/inverter_symbol_1.JPG

Check & save the symbol.

Now create a new layout in the same directory for the inverter.
Instantiate the nmos (6u/0.6u), pmos (12u/0.6u), ntap, ptatp, & m1_poly.

Add the four appropriate pins, draw metal 1, poly rectangles & connect them in a fashion to follow the pin connections for vdd!, gnd!, A, & Ai

Layout of inverter.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/inverter_layout.JPG

DRC & save your layout, then extract your layout.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/inverter_extracted.JPG

LVS your extracted with schematic.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/Inverter_LVS.JPG

Now let's simulate our inverter. Create a new schematic cell view called sim_inverter_dc. Draw the following schematic seen below, the symbol on the right is the no-connection symbol (basic library, Misc -> noConn), this will help us from getting an error on the floating point.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/sim_inverter_schematic.JPG

Launch ADE L & select the corresponding models, this would be our ami06p.m & our ami06N.m models. Then select DC analysis with a 1 mv step size, from 0v-5v, and plot in & out. NOTE: before you simulate you need to establish what your VDD! is. Do this by going to setup -> stimuli & click global sources, click vdd!, enable it & set the voltage to DC 5v, source type dc.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/inverter_ADE_DC.JPG

Save the state in cell view & run the dc analysis. Click split current strip & click trace and you will get the following.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/inverter_graph.JPG

Now simulate the extracted layout by going to Setup ->Environment and add 'extracted' in front of the term 'schematic'. You will get the same results (assuming you drew the layout correctly.)

http://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/inverter_graph.JPG

Next we'll create a 48u/24u inverter. First copy over your 12u/6u inverter cell view into inverter_48u_24u. Open the schematic view & edit the properties of both your NMOS & PMOS. Change your multiplier value (m) to 4.


http://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/inverter.JPG

Create a symbol from cellview & repeat the process like earlier. This time we label it with a note, 48u/24u.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/inverter_symbol.JPG

Check & save, then close your symbol. Now Open your copied layout of your 12u/6u inverter. Change the multiplier to 4 for your NMOS & PMOS layout. Also increase the side of your ntaps & ptaps. Draw metal_1 & poly rectangles in a similar fashion to the image below to ensure your pins match the connections with the inverter schematic.


http://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/inverter_layout_m4.JPG

DRC

http://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/inverter_DRC.JPG

Extract the layout & replace the one you had from the copied cell, it should looks similar to this.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/inverter_extracted_m4.JPG

LVS the new extracted layout with the new schematic, it should LVS correctly.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/inverter_LVS_m4.JPG

Now to simulate the inverter symbols driving a 1pF, 10pF, 100pF, & 100fF capacitive loads on boath inverters.

This is the 12u/6u inverter.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/12u_6u_1p.JPG

The 48u/24u inverter

http://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/48u_24u_1p.JPG

Set the vpulse values to

http://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/vpulse.JPG

Run a .tran analysis in VDE plotting A & Ai


http://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/ADE_tran.JPG

Inverters                                                                                   12u x 6u inverter                                                                                                  48u x 24u inverter
1 pF loadhttp://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/graph_p1_m1.JPG
http://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/graph_p1_m4.JPG
10 pF loadhttp://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/graph_p10_m1.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/graph_p10_m4.JPG
100 pF loadhttp://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/graph_p100_m1.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/graph_p100_m4.JPG
100 fF loadhttp://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/graph_f100_m1.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/graph_f100_m4.JPG

The results vary not only by the capacitive load, but for also the two type of inverters. When the capacitor value becomes larger, the more time it takes for it to fully discharge & match the inverse of the input. Which is obvious when you compare a 100pF load vs a 100fF load.

Now we need to re simulate these using UltraSim (which is a fast SPICE simulator for large circuits but sacrifices accuracy & and can only perform transient simulations).

To use this, go to your ADE L window click Setup -> Simulator/Directory/Host. In the simulator drop down window select UltraSim.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/ultrasim.JPG


When running these simulations again, you need to select your models again in model libraries, otherwise you will get a fatal error.

Inverters12u x 6u inverter48u x 24u inverter
1pF Loadhttp://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/graph_p1_m1.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/graph_p1_m4.JPG
10pF Loadhttp://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/graph_p10_m1.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/graph_p10_m4.JPG
100pF Loadhttp://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/graph_p100_m1.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/graph_p100_m4.JPG
100fF Loadhttp://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/graph_f100_m1.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/graph_f100_m4.JPG

All of the files to the lab can be found here.

Be sure to backup all your work & upload them.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/vrigiank/Lab5/upload.JPG













Return to EE 421L Labs