Lab 4 - EE 421L 

Authored by Nha Tran

Email: trann4@unlv.nevada.edu

NHSE ID: 2000590233

10/06/2014 

  

Lab objective: The purpose of this lab to draw the characteristics and layout of NMOS and PMOS devices using the C5 process.

 

Prelab:
First create a backup of the work that was done previously in the class and lab by typing tar -cvf backuplab4.tar CMOSedu/ in the MobXterm command line. this command line back-ups all the data that is in the CMOSedu/ folder up until lab 4.
ntlab4_01.PNG
 
Next start virtuoso in MobaXterm by typing cd CMOSedu/ then virtuoso &. Once cadence is open, go to the library manager and click file --> new --> library and name it lab 4, ass seen below.

   ntlab4_02.PNG

     

Next create a new schematic in the lab4 folder by going file --> new --> cell view --> schematic, name is NMOS_IV_3. Once open instantiate an nmos symbol by using keybind i then searching for the nmos symbol in the NCSU_Analog_Parts, remember to set the width to 6u and lenght to 600n. As seen below

ntlab4_03.PNG

   

next create 3 pin D,G,S for drain, gate, source respectively by using keybind P. Adding wiring to connect the pins to the nmos

ntlab4_04.PNG

    

Save the schematic, then go to create cell view from cell view. this will create a symbol of the nmos device we create with the pins earlier.

ntlab4_05.PNG

   
Next delete everything but the 3 pins, then selecting all 3 pin and press bindkey q to get its properties then select the box display value and apply to all selected
ntlab4_06.PNG  
   
Next draw the symbol of the MOSFET using the line by doing create --> shape --> line. and adding the text W=6u and L=600n. similar to below. check and save after finish.ntlab4_07.PNG

   
Next create a new schematic called sim_NMOS_IV_3. Instantiate the new nmos symbol we just created and adding 2 voltage source and connect the wires as seen below, setting V0 to VGS and v1=0
ntlab4_08.PNG      
 
Launch ADE L, then go to setup --> model libraries and select this directory /$HOME /ncsu-cdk-1.6.0.beta/models/spectre/standalone/ami06N.m then click ok
ntlab4_09.PNG

    

Next go select Variables --> Edit, then type the VGS for name and set the value to 0, as seen below.

ntlab4_10.PNG


next select dc analysis then select all the parrameter as seen below. remember to set the parameter name is dc and component to /V1. then select the output to be plotted and select the current for the drain (D). and also save the simulation state.
ntlab4_11.PNG

Next select tools --> Parametric Analysis and set the parameter as seen below.

ntlab4_12.PNG

Then running the simulation you should get a sweep of the current across D similar to the image below.
ntlab4_13.PNG


next create a new layout view of the NMOS_IV_3.
ntlab4_14.PNG
 
Instantiate the nmos layout by typing I then using all the paramater as seen below.
ntlab4_15.PNG

   

instantiate a ptap cell which is the metal1 connect to the p+, and add a metal1 layout to connect the source to the p-substrate like below, also add a metal1 to the drain side, then add a poly to melal1 (m1_pol) and add a poly layer connecting the gate to the m1_poly.Add pin names A,D,G using metal1 layer like below. and lastly DRC the layout, you can see it DRC-ing gave zero errors.

ntlab4_16.PNG

         

Next extract the layout you can see that it is an nmos device with 4 pins. the body of the nmos is directly connected to the p-substrate. 

ntlab4_17.PNG

   

LVS the layout and it will give us an error seen below, this error occur because of how the bulk or the p-substrate is connected for the Nmos. when using the 3 terminal MOSFET it is assumed that the bulk is tied to the gnd for the NMOS and vdd for the PMOS. 

ntlab4_18.PNG

   

to fix this problem deleted the metal1 layer connecting the p-tap to the Source. and connect the S to the bulk. and add a pin to make the p-tap = gnd! as seen below.

ntlab4_19.PNG

   

extract the layout and it should look like below.

ntlab4_20.PNG

   
LVS-ing will gaive an another error, this is because of the nodal name for the terminal of the nmos device that we are using. the program wants us to use a 4-terminal transistor in the schematic. so close all cellview and, copy NMOS_IV_3 to NMOS_IV, and sim_NMOS_IV_3 to sim_NMOS_IV. open the NMOS_IV and change it to look like below.
ntlab4_21.PNG
   
Now open the extracted view and LVS it like below. now the schematic matches the extracted.
ntlab4_22.PNG
   
Now open the schematic of the sim_NMOS_IV, run ADE L, then go to sessions load states, then go to setup --> environment and type the word extraced before schematic as seen below.
ntlab4_23.PNG
     

Lastly go to parametic analysis and enter the values as seen below, and run the simulation you should get a graph like below.

ntlab4_24.PNG

    

Save everything and create a new cellview call PMOS_IV and create a device with 4 pins like below

ntlab4_25.PNG

    

next create a symbol for the PMOS like the one we did for the NMOS like below

ntlab4_26.PNG

Next create a layout of the PMOS like below.
ntlab4_27.PNG

Next extract the layout of the PMOS device.
ntlab4_28.PNG
   
next create a new cellview and name it sim_PMOS_IV and create the circuit as seen below.
ntlab4_29.PNG
 
Now we ready to simulate the shematic, run ADE L, then go to setup --> model libraries and set the model as seen below.
ntlab4_30.PNG
   
Then go to variables --> Edit and set the name to VSG and the value to 0. Now go to plotted and select S to be plotted. next go to analysis and choose dc and enter the following values.
ntlab4_31.PNG
   
Go to tools then go to parametric analysis, and input the values as seen below and then select run and you will get the graph of the sweep of the S like below.
ntlab4_32.PNG

   

next lets simulated the extracted view by going setup --> environment then add the word extracted before schematic like we did above for the NMOS device. and running the sim we should get a graph that looks exactly the same as the one above. to make sure that we are using the extracted view as our sim we can check by going simulation --> netlist --> display and we see that the view name is indeed the extracted view which is highlighted in the below image. 
ntlab4_33.PNG

     

END PRELAB

 
 
ntlab4_34.PNG
   
run ADE L, go to variables --> Edit and set the name to VGS and the value = 0, go to setup --> model libraries and add the libraries as seen below, then go to analysis and choose dc set the variable as seen below
ntlab4_35.PNG
   
next select the current through the Drain that we will be plotting. Then go to tools --> Parametric analysis and input the values as seen below. and select run and the output graph should look like below.
ntlab4_36.PNG
     
      ntlab4_37.PNG
   
Setting the model library like before, choose the dc analysis and selecting the parameter like below, and setting the variable name VDS to 100m
ntlab4_38.PNG
   
selecting run you should get a graph that look similar to the one below.      
ntlab4_39.PNG
     
     ntlab4_40.PNG
 
again setting the parameter below, choose S to be plotted, and choose dc analysis and setting all the parameter like below.
ntlab4_41.PNG
   
seeting the parametric analysis below and running the sim you should get a graph like below
ntlab4_42.PNG
   
     
        A schematic for simulating ID v. VSG of a PMOS device for VSD = 100 mV where VSG varies from 0 to 2 V in 1 mV steps. Again, use a 12u/600n width-to-length ratio.  
ntlab4_43.PNG

Selecting the parameter as shown below following the procedure that was done like the previous steps.
ntlab4_44.PNG
   
And hitting netlist and run and the graph should be like below
ntlab4_45.PNG
   
   
Now we need to create a probe pad, first create a new cell view schematic and name it probe_pad. Create an instance (keybind I) and find the instance in basic --> misc --> noconn. Now make a pin and connect to it as shown below.
ntlab4_46.PNG
   
Now create a symbol out of the schematic that we just create. go create --> cellview from cellview and our symbol for the probe pad should look like below.
ntlab4_47.PNG
   
Next we want to create a layout of our probe pad. Start by selecting metal3 and drawing a box, then keybind q and changing the dimension to 33.6 by 33.6. Then draw a box on the glass layer center on the metal3 layer with the dimension 21.6 by 21.6. Finally DRC-ing the layout to show that it gives zero error.
ntlab4_48.PNG
       
Next create a new layout call NMOS_4pin. Then instantiate an Nmos4 from the ami06 library. Remember to set the W=6u and L=600n. i used metal1 layer to add the pin S,D,G,B to connect to the nmos, i used a m1_poly layer to connect the G, and for B i used a ptap.
ntlab4_50.PNG
   
now since the probe_pad is made with a metal 3 layer we need to connect the pins S,D,G,B from M1 to M2 then M2 to M3. we can do this by first instantiate m2_m1 and connecting it to our 4 pin. then we want to add a m3_m2 layer to connect from metal 3 to metal 2.
 ntlab4_51.PNG
   
Now instantiate the probe pad and connect the metal 3 layer to our probepad. and DRC-ing you see that there is no error
ntlab4_52.PNG
   
next extract the layout view. below is the zoomed in view of the extracted nmosntlab4_53.PNG
   
now create a new schematic call NMOS_4pin and instantiate a 4pin NMOS from the NCSU Analog Parts library and attach the probe pad to each of the NMOS pin like below. make sure to change the width of the nmos to 6u and Length to 600u.
ntlab4_49.PNG
     
now that both the schematic and the extracted is done we can LVS it to see if it has passed. and it did pass LVS. ntlab4_54.PNG    
   
now create what we did for the nmos but instead now use a pmos. first create a layout called PMOS_4pin. then instantiate a pmos from the ami06 library, and set the dimension to 12u by 0.6u. instantiate a m1_poly for the gate, and a ntap for the bulk. and add a pin for the drain and source.
ntlab4_55.PNG
   
now add a m2_m1 to the 4 pins then add a m3_m2 as shown below.
ntlab4_56.PNG

   

lastly add the probe pad like we did for the nmos and connect it with metal3 layer, and DRC yield zero error. and extracted the layout

ntlab4_57.PNG

   

below is the zoom-in view of the extracted

ntlab4_58.PNG
   
Next we want to create a schematic of our pmos connected to the probe pad as shown below. since both the nmos and pmos schematic is the same. copy the schematic of the nmos and change the nmos4 to pmos4 from the NCSU analog parts library.
ntlab4_59.PNG

now we want to see if our schematic matches our layout. we can do this by LVS to check. open the extracted view of the PMOS_4pin and LVS it. the netlist match indicate that LVS-sin was successful.
ntlab4_60.PNG
   
   
lastly drag the lab4 folder from the MobaXterm to the desktop and zip it and add a link to the lab4.htm. then email it to yourself.
ntlab4_61.PNG

lab4.zip

ntlab4_61.PNG
 
this ends lab4.

   
   

Return to EE 421L labs