Lab 4 - ECE 421L 

Authored by Kyle Abenojar, abenok1@unlv.nevada.edu

September 27th, 2023

 


Prelab:

For lab4, our prelab was to finish Tutorial 2.

 

To start tutorial 2, we copy our files from Tutorial 1 to Tutorial 2 making sure to update the instances so that Tutorial 2's files don't stay dependent on Tutorial 1's.

Pic1
 
Next, we create a new schematic cell called NMOS_IV_3
Pic2
   
In the schematic view, we then add the NMOS symbol from the NCSU_Analog_Parts library. We set the width and length as 6um and 600nm.
Pic3
   
After adding the symbol, we add 3 pins: G, S and D with the I/O type set as inputoutput.
Pic4
   
Next, we create a symbol for our schematic by going into the create tab and creating a symbol cellview from our current schematic cellview.
Pic5
 
We then edit our symbol to look like the following below.
Pic6
   
Next, we create a new schematic in our Tutorial_2 library titled sim_NMOS_IV_3 and create the following schematic using the symbol we created in the steps above.   
Pic7
   
We then open the ADE L and edit the model library setup to the proper file.
Pic8
   
Next, we create a new variable called VGS and set the value to 0.
Pic9
   
We then set a dc analysis with the following parameters below.
Pic10
   
We also choose the D pin to be plotted on the schematic ensuring that both plotted and saved are selected. Our ADE L window now has this selected.
Pic11
   
We then go into Tools and select Parametric Analysis and set the following parameters. We then simulate our schematic.
Pic12
   
After plotting our output, we get the following graph.
Pic13
   
Next, we create a layout view for our NMOS_IV_3 cell and add an instance of an nmos cell making sure to set the proper length and width and a ptap cell. 
Pic14
   
Next, we add a m_poly cell as well and connect a poly rectangle from NMOS cell to it. Then we add metal1 rectangles to connect to the source, the drain, and gate. Lastly, we also add the S, G and D pins in the metal1 layer with the I/O type set to inputoutput.
Pic15
   
We then extracted our layout view to get the following. However, we have to make changes since our extracted view has 4 terminals whereas our schematic only has 3.
Pic16

   

So we go back into our layout view and change our S Pin and tie our ptap to gnd!.

Pic17

   

We then get the following view when we extract our new layout. However, we need to make one more change, so we go into our schematic view.

Pic18

   

We change our nmos cell in our schematic to nmos4 so that we can discretely tie the p-substrate to gnd.

Pic19

  

After all of that, now we can go into our extracted view and perform an LVS. We then see that it succeeded and that our netlists matched.

Pic20

   

Now, we want to simulate our extracted schematic. So we back to our sim_NMOS_IV_3 schematic and open the ADE L. We then have to edit the environment view list by adding 'extracted' before 'schematic'.

Pic21

   

We then perform another parametric analysis to get the following curves.

Pic22

   

To ensure we are simulating the extracted view, we can go back to the ADE L and display the netlist.

Pic23

   

Now that we've gotten the hang of simulating an NMOS, we can simulate a PMOS. We start by creating the following schematic using the pmos4 cell with a width of 12 um and a length of 600 nm.

Pic24

  

We then create the following symbol for our PMOS.

Pic25

   

Then, we create a layout for our pmos using the pmos cell and an ntap.

Pic26

   

We can then extract our layout to get the following for our extracted view.

Pic27

   

Now, we go to simulate our PMOS. We create a new schematic titled sim_PMOS_IV and draft the following schematic.

Pic28

   

Simulating the PMOS is very similar to simulating the NMOS with the main differences being that we have to set the model library toami06P.m and that we set our voltage source as VSG. After simulating, we get the following curves.

Pic29

    

Here, we see that we simulated the schematic first. Now we go onto simulate the extracted schematic the same way we did for the NMOS.

Pic30

  

Lastly, we simulate the extracted schematic and we get the following graph.

Pic31

Pic32


Lab Report:

In this lab, we were tasked with creating 4 different schematics with 4 different simulations. 

   
These are my results for simulating ID vs VDS of an NMOS device for VGS varying from  0V to 5V in 1V steps while VDS varies from 0 to 5V in 1mV steps. 

Pic33

Pic34

Pic35

   
These are my results for simulating ID vs VGS of an NMOS device for VDS = 100 mV while VGS varies from 0 to 2V in 1mV steps.
Pic36
Pic37
Pic38
   
These are my results for simulating ID vs VSD of a PMOS device for VSG varying from 0V to 5V in 1V steps while VSD varies from 0 to 5V in 1mV steps.
Pic39
Pic40
Pic41
      
These are my results for simulating ID vs VSG of a PMOS device for VSD = 100 mV while VSG varies from 0 to 2V in 1mV steps.
Pic42
Pic43
Pic44

Next, we had to create a new schematic of our NMOS with the MOSFET terminals connected to probe pads.
Pic45
 
I then created a new layout for my NMOS connected to probe pads. I also DRC'ed my layout to ensure there are no errors.
Pic46
   
I then extracted my new layout and performed an LVS to check if the netlists matched.
Pic47
Pic48
   
Next, we had to create a new schematic of our PMOS with the MOSFET terminals connected to probe pads.
Pic49
   
I then created a new layout for my PMOS connected to probe pads. I also DRC'ed my layout to ensure there are no errors
Pic50
   
Lastly, I then extracted my new layout and performed an LVS to check if the netlists matched.
Pic51
Pic52
   

Return to 421L Labs