Lab 6 - EE 421L 

Authored by Emmanuel Sanchez,

Email: sanch512@unlv.nevada.edu

10/05/2015

   

Lab description:

Design, layout, and simulation of a CMOS NAND gate, XOR gate, and Full-Adder

   

Pre-lab work



  

Lab Report:

 
Schematics for 2-input NAND gate and 2-input XOR gate (both using MOSFETS of size 6u/0.6u).
NAND_schematicXOR_schematic
 
Symbol views of NAND and XOR gates.
NAND_symbolXOR_symbol
   
   
Standard cell layouts and DRC of NAND and XOR gates:
- The standard cells allow us to easily route vdd! and gnd! by snapping the cells side by side.
NAND_DRCXOR_DRC
   
LVS of NAND and XOR gates:
NAND_LVSXOR_LVS
   
Schematic used for simulation of all gates (inverter, NAND, XOR).
gates_schematicpulse1
Pulse settings for A input.
pulse2
Pulse settings for B input.
 
Simulation of schematic and extracted of inverter, NAND, and XOR gates:
                                gates_tablegates_sim1
Schematic Simulation
                                gates_tablegates_sim2
Extracted Simulation
   
Schematic and symbol for Full Adder:
FA_schematicFA_symbol
 
Full Adder layout and DRC:
FA_DRC
 
Full Adder LVS:   
FA_LVS
   
Full Adder schematic for simulation:
sim_schem_FA
 
Full Adder simulation (schematic and extracted):
Full Adder truth table:
FA_table
Simulation of schematic:
FA_sim_schem
       
Full Adder truth table
FA_table
Simulation of extracted:
FA_sim_ex
Notice there are a few glitches occuring at the output of the Sum and Cout. These glitches are caused because of the rising and falling delays in the input pulses. For example, if we have two different input combinations that generate the same Sum and we input them one immediately after the other, the small time during which the inputs transition cause a glitch in the Sum because the voltage levels are not steady for that brief moment. If the input pulses were ideal, the glitches would not occur.
 
 
     
Here is a link to download my lab6 library and files:
lab6.zip

   

  

    
  

     

Return to EE421L Labs