Lab 4 - ECE 421L 

Authored by Jalen Solis,

September 26, 2023

Prelab


 The purpose of the prelab is to become familiar designing the layout and schematic of both the NMOS and CMOS devices through the completion of tutorial 2

 

Before we can begin with the prelab we must back up our work:

pl0
 
Our first task is to create a new library and name it Tutorial_2, in this library we will create a cell titled NMOS_IV_3 and in this cell we will open a schematic:
pl1
pl2
 
Once we have this NMOS placed we can start to add pins
pl3
 
After running a check & save we can create our symbol view of the NMOS:

pl4
 
We can delete everything except our pins and start to create a symbol for the NMOS:
pl5
   
Once our symbol is complete we can create another schematic called sim_NMOS_IV to test our symbol:
pl6pl7
pl8
   
We can run another check and save to see if we have any errors and then we can start to run simulations:
pl9
   
Now we must add a variable and assign it an initial value:
pl10
pl11
   
After the variable is added we can click ok and see that it has been added to our main page:

pl12
   
Next we need to add an analysis for the changing value of VDS:
pl13
   
After all values have been entered correctly, we can press ok and it will show up on the main page of the ADE:

pl14
   
Next we want to plot the drain current:
pl15
   
Our selection will then show up on the ADE main page

pl16

   

Now that we have all our parameters set we can save our state:

pl17

 

Once saved we can set up the parametric analysis:

pl18
   
Now we need to input the values for the VGS:
pl19
   
After this is set we can click on the green button to output our graph:
pl20
   
Now we can start to design the NMOS layout
   
First thing we need to do is place down the nmos:
pl21
   
Next we need to place down the ptap:

pl22
   
Before we can place down the m1_poly we need to extend the poly:
pl23
 
Now we place down our m1_poly:

pl24
   
Next we can place down our metal1 layers:
pl25
   
Then add pins:
pl26
   
After running a DRC to check for errors we can extract our layout:
pl27
   
With our layout, extracted layout and schematic we can run the LVS:
pl28
   
After running the LVS we get an error that it could not complete:
pl29
   
To fix this we need to delete the metal1 rectangle and pin connecting the S to the bulk and add a ground pin to the bulk:

pl32
   
After this fix we extract our layout again and run the LVS:
pl33
pl28
   
Running the LVS again we see that we still get an error that it could not finish:
pl34
   
In order to fix this we must use a 4-terminal transistor in our schematics
   
We can copy the schematic we were working on and title it NMOS_IV:
pl35
   
Once replaced we need to connect ground to the fourth terminal:

pl37
   
We can now rerun our LVS with our new schematic and see that the net-lists match:
pl38
pl39
   
Now we must simulate our extracted layout:
pl40
   
We need to launch the environment options and add to it:
pl41
   
We can then run the parametric analysis again:

pl43
   
The process is the same for a PMOS device
   
First we create our schematic:

pl44
   
Next we create our symbol:
pl45
   
We create our layout and run DRC to check for any errors:

pl46
   
We extract our layout:
pl47
   
We create a new schematic for our simulations and use our newly created symbol:
pl48
   
We find the correct model file for the PMOS:

pl42
   
We input the parameters for the simulation:
pl50
pl51
   
We run our simulation to view our plots:

pl52
   
To verify we can run the simulation for the extracted layout:
pl53
pl54
   
Prelab is complete

Lab
   
The purpose of this lab is to use what we learned from the prelab and complete a couple of different examples to show a deep understanding of how to design an NMOS and PMOS in cadence
   
Using what we learned from the prelab we can design a schematic for the NMOS:

l1
   
Launch the ADE:
l2
   
Input the parameters given and run the parametric analysis for ID vs VDS:

l3
 
For the second schematic we are just changing the values of the voltage sources:
l4
   
Launching ADE again and input parameters:
l5
   
We can just run the simulation since we only have one parameter changing:
l6
 
The process is the same for PMOS:
l7
   
Launch ADE and input parameters:
l8
   
Run parametric analysis:
l9
   
NOTE: we can see that this is very similar to the NMOS
   
For the fourth schematic we just change the values of the voltage sources:

l10
   
Launch ADE and input new parameters:
l11
   
Run simulation:
l12
   
NOTE: we can see that this graph is similar to the NMOS
   
Now we can create the layout for the NMOS and attach prope pads
   
First we must make the schematic for the probe pad:

l13
   
Then we can create the symbol for it:
l14
   
With the probe pad made we can create a new schematic and insert an NMOS with 4 terminals:

l15
   
We then need to add pins to the NMOS:
l16
   
Finally we can add the probe pads for each terminal:

l17
   
Before we can move on to the layout for the NMOS we need to create a layout for the probe pad:
l18
   
We can now create a layout and start with the insertion of the NMOS:
l19
   
Next we need to connect the pins to the probe pads and run the DRC to check for any errors:
l20
   
Next we can extract our layout:
l21
   
With the extracted layout, schematic, and layout we can run the LVS:
l22
 
Running the LVS we see that our net-lists match:
l23
   
The process for the PMOS is very similar
   
First we must create the schematic for the PMOS:
l24
   
We need to attach pins to the PMOS:

l25
   
Then we can add the probe pads to the schematic:
l26
   
We need to check and save the schematic and then start out layout
   
The first thing needed is the PMOS:
l27
   
We can now attach the probe pads and run the DRC for any errors we might have:
l28
   
Now we can extract the layout:
l29
   
With all three forms of the PMOS we can run the LVS:
l30
   
After the LVS runs we see that the net-lists match:
l31
 
This concludes the lab

Return to EE 421L Labs