EE421L, Lab5 
         Mari Gilligan                                                                                                                       Email: mgill19@unlv.nevada.edu
                                                                                                                                                                                   9-28-15


Prelab:Going through the tutorial 3-Design-Layout and simulation of a CMOS inverter
Bch up my project ar ususal through moaXterm and then ,
http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/cadbackup.JPG

starting with going to Mab-X-term and launch virtuoso,and then we will going to copy library-2 to a new library that we need to creat and call it Tutorial-3.
Next we will creat a new cell viw schematic ,and after the window pops-up we will open the NMOS-IV schematic as well, like what you can see here.
http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/cad1.JPG
we are going to copy the NMOS symbol from the NMOs IV cell into the inverter cell,make sure the two windows are open ,then press copy(C)or use the menu and then click on the nmos 4symbol and drag over into the inverter window .
after you are done close the NMOS_IV window and open the PMOS-IV window.do the same thing for PMOS4 to get this :

http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/cad2.JPG
press instantiate or (i) to get vdd and gnd supply nets.and place them in the schematic,wire up the inverter and add pins as you can see here.the Apin is input direction and Pin Ai is an output direction.
Like what i have here.

.http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/cad3.JPG
check and save.
next use the menu item to creat ->cell view ->from the cell view to creat the symbol for the inverter.
delete everything in the inverter's symbol view except for the pins.draw the inverter symbol (creat->shape->line/circle).
http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/cad4.JPG

make sure the pin names are correct since we are not using them here but you can still check if they are correct by selecting all of thenm and verifying that they are in the right location(A as an input ,Ai is the inverter's output)


http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/cad5.JPG

check and save the inverter symbol ,and Next:
creat the layout view for the inverter  ,Add the following cells (nmos,pmos,ntap,Ptap,and m1-Poly)to the layout view as seen below ,you can instantiate these cells as you we already know how,press i.
make sure nmos is 6u/0.6u and pmos is 12u/0.6u and the ntap and ptap use two colums.

.http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/cad6.JPG

Next align the cellls until you get something similar to what is seen here,DRC your layout to ensure no errors,fix if so ,save the layout.

.http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/cad7.JPG

Add rectangles on the poly and metal1 as seen below.
DRC and save your design .

http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/cad8.JPG

.http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/cad9.JPG


Next add pins on metal1 for gnd!,Vdd!(both have a direction of inputoutput),A (input),and Ai(output).

DRC and save  the design
http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/cad10.JPG
http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/cad11.JPG


Next run extraction on the layout:
http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/cad12.JPG
 and try to do the LVS on the inverter:

http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/cad13.JPG
,now we are reday to simulate the operation of the ineverter

Creat a cell called sim -inverter-dc(file->new->cell view)
draft the following schemtaic.the symbol on the right is the no connection symbol (in the basic library ,Misc->noConn)we add this symbol to be different and to avoid the warnings related to floating pins/nets that we ignore via the menu item check ->find Marker->ignore,ignore
http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/cad14.JPG

start the ADE and selct the model files (setup->model libraries located in /Home/ncsu-cdk-1.6.0 beta /models/spectre/standalone)
Next slect the analysis ->choose
and note that the input vds is named V0.
then go to output ->to be plotted->select on schematic (select in and out)

http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/cad15.JPG

save the state in cell view
neltilst and run the simulation (hit the green button)
and we get this:

http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/cad16.JPG

Lets add vdd since we sae that Vout was 0in the simulation.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/cad18.JPG


http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/cad21.JPG

save the state (cellview) so we dont have to do this again next time we run the simulation.hit ok and run the simulation,you should  expect to have this:

http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/cad19.JPG

Lets go ahead and simulate the extracted view at this piont(setup->Environment and add extracted in fron of schematic like we did in tutorial-2.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/cad22.JPG
which gives the same resulit but to make sure that we are simulating the extracted view and not the schemtaic view go to simulation ->netlist->display:
and make sure you have this:


http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/Cad20.JPG

End of prelab


now we have to reapeat the process for a 48u/24u inverter,.copy the last invereter schematic into anew one,pressq and edit the mosfets,W of a PMOS=48and the W of the NMOS=24. change the multiplier to 4.
http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/Postlab%20images/cad1.JPG

copy the symbol that we created for the privous inverter and edit that.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/Postlab%20images/cad2.JPG
now we are creating the layout,then open it and go to properties of each mosfet and change the multipliers .and finish your layout like this and then DRC it.
we need to extract and LVS our layout.
http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/Postlab%20images/cad3.JPG

http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/Postlab%20images/cad4.JPG
http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/Postlab%20images/cad6.JPG
now the LVs of the 12u/6u.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/Postlab%20images/cad5.JPG

we need to run the simulation of the inverter driving capacitors with a pulse input, we start woth 100 fF load for 12u/6u inverter.and check and save your work.
we change the capacitor values each time and we drive our simulation:  
this is my schematic of one example:


http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/Postlab%20images/cad7.JPG

the 100fF Laod .
12u/6u inventer:
http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/Postlab%20images/cad8.JPG

48u/24u
http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/Postlab%20images/cad8.JPG

The 1pf load
12u/6u inventer:

http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/Postlab%20images/cad13.JPG

48u/24u inverter:

http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/Postlab%20images/cad14.JPG



The 10pf
12u/6u inverter
http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/Postlab%20images/cad15.JPG

48u/24u Inverter:


http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/Postlab%20images/cad15.JPG

The 100pf Load
12u/6u

http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/Postlab%20images/cad16.JPG

48u/24u inverter:

http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/Postlab%20images/cad16.JPG


we should know when the capacitance is increasing it takes longer for the output voltage to change ,and the 48u/24u inverter responcds slightly ,so its much better than the 12u/6u inverter for larger capacitors.
we reapeat the last simulations using Ultrasim insted of spectre.Luanch ADE-L and ->setup->simulation/directory /host and select Ultrasim from the drop down menu,dont forget to have stand alone model libraries


The 100f F load
12u/6u
http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/Postlab%20images/cad17.JPG

48u/24u inverter
http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/Postlab%20images/cad18.JPG


the 1pf load
12u/6u
http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/Postlab%20images/cad19.JPG

48u/24u

http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/Postlab%20images/cad19.JPG


the 10pf load
12u/6u:
http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/Postlab%20images/cad20.JPG

48u/24u

http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/Postlab%20images/cad20.JPG
the100pf load
12u/6u:
http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/Postlab%20images/cad21.JPG

48u/24u:
http://cmosedu.com/jbaker/courses/ee421L/f15/students/mgill19/Lab5/EE421,Lab%235/Postlab%20images/cad21.JPG





Back up design Library "Here"



"Return to EE421 Labs"