Lab 6 - EE 421L 

Damian Aceves-Franco

acevesfr@unlv.nevada.edu

10/05/2021

 

October 6 – Lab6 – Design, layout, and simulation of a CMOS NAND gate, XOR gate, and Full–Adder, due October 20

 ************************************************************************************************

Pre-Lab Work

             
             
Creating a cell with scemaitc  
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/001.png
                 
2-Input NAND Gate Schematic
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/002.JPG
                         
Symbol
https://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/001.pnghttp://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/003.JPG
                           
Create a new schematic, sim_nand2_tran, and do the following
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/004.JPG
                                 
Launching the ADE, and setting up the simulator
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/005.JPG
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/006.JPG
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/007.JPG
                             
Output
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/008.JPG
                           
Layout
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/009.JPG
                                         
Copy/Paste and move the block closer to each other Combine them
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/010.JPG
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/011.JPG
                       
Final result
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/012.JPG
                       
Create Pins
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/013.JPG
                       
Vdd
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/014.JPG
                                           
 Looking at the NMOS portion we must use Flattening out the bottom NMOS (Edit -> Hierarchy -> Flatten)
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/015.JPG
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/016.JPG
                                     
Delete the metal1 and contacts in the NMOS
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/017.JPG
                         
Ground Pin
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/018.JPG
                             
DRC
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/019.JPG
                         
Extract the layout
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/020.JPG
                           
LVS
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/021.JPG
                                         
Knowing that the PMOS in the schematic doesn’t match the layout we must change the LVS rules by closing the LVS, and in the Extracted window, NCSU -> Change LVS Rules
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/022.JPG
           
                         
Rerunning the LVS gives us the following error but this is the end of the Prelab
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/023.JPG
                       
END
              ************************************************************************************************************
Lab Work
                           
***********************************************************************************************************
Experiment 1
Creating the 2-Input NAND gate
               
schematic

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/024.JPG
                   

Symbol

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/025.JPG

                   

Layout and DRC

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/026.JPG

                             

Extracted with LVS error

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/027.JPG

                           

 to fix the error we just change the size of the PMOS to a W=6μm.

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/028.JPG

                           

Resizing and moving a few layers  and DRC

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/029.JPG

                         

Extracting and LVS 

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/030.JPG

                         

this Simulation is basically showing that when one input is HIGH, that the output will be logical LOW when Vin is HIGH and logical HIGH when Vin is LOW (properties of NAND Gate). This is basically an Inverter, and can be useful later on

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/031.JPG

                     

Transient

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/032.JPG

                         

Truth Table of the NAND Gate

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/033.JPG

                   

Input A

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/034.JPG

                   

Input B

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/035.JPG

                           

Output transient

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/036.JPG

                     

             
Using inerter Filters in sim

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/037.JPG

                    Output Transient

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/038.JPG

                 

Experiment 2: Creating the 2-Input XOR Gate
                 
 
schematic

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/039.JPG

               

symbol

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/040.JPG

             

simuation setup with xor

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/041.JPG

           

Output Transient

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/042.JPG
                       
Layout

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/043.JPG

           

DRC

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/044.JPG

                 

Extracted layout

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/045.JPG

                 

LVS of layout

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/046.JPG

                 

Ouput of LVS

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/047.JPG

             
Experiment 3: The Full Adder
               
Creating a new schematic using the NAND and XOR gates

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/100.JPG

             

Symbol

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/101.JPG

           

Layout of FULLAdder

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/102.JPG
                 
layout with DRC
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/103.JPG
                 
Extracted layout
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/104.JPG
                     
LVS
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/105.JPG
                     

Output of LVS

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/106.JPG
                     

Simulation setup of Full Adder

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/107.JPG
                 
Output transient
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/108.JPG
                     
 output transient matches this chart
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/109.JPG
                 
END of  Lab
               
               
Backing up my work
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%206/048.JPG

             

             

Return to Labs