Lab 6 - EE 421L 

Authored by Marco Muniz,

Email: munizm1@unlv.nevada.edu

10/22/2018 

  

Prelab

  

  

For the Prelab, we followed the steps within tutorial 4 which went over designing CMOS Logic Gates. What we learned from this tutorial will be demonstrated throughout the lab. Specifically, the tutorial walks you through the design of a NAND gate. However since the NAND is also a part of the main lab, the NAND is placed in the main portion of the lab report. 

  

The Prelab also required that we back up our finished lab directory. This can be seen in the image below. 

  

file:///C:/Users/mmuni/Pictures/Lab%206/Back_up.JPG

  

  

_________________________________________________________________________________________________________

  

  

Lab 

  

  

Step 1: Draft the schematics of a 2-input NAND gate (Fig. 12.1), and a 2-input XOR gate (Fig. 12.18) using 6u/0.6u MOSFETs (both NMOS and PMOS). Create the layout and Symbol for all gates and show the final DRC and LVS with no errors. 

  

  

Below we can see the Complete Nand Gate Design.

  

SCHEMATIC:

file:///C:/Users/mmuni/Pictures/Lab%206/NAND_Schem.JPG

 

SYMBOL:

file:///C:/Users/mmuni/Pictures/Lab%206/NAND_Symbol.JPG

  

LAYOUT With Completed LVS and DRC:

 file:///C:/Users/mmuni/Pictures/Lab%206/NAND_Layout.JPGfile:///C:/Users/mmuni/Pictures/Lab%206/NAND_LVS.JPGfile:///C:/Users/mmuni/Pictures/Lab%206/NAND_DRC.JPG.

  

  

Once this is done, we move on to the Complete XOR Gate Design. 

  

 SCHEMATIC:

file:///C:/Users/mmuni/Pictures/Lab%206/XOR_Schem.JPG

  

SYMBOL:

file:///C:/Users/mmuni/Pictures/Lab%206/XOR_Symbol.JPG

  

LAYOUT With Completed LVS and DRC:

file:///C:/Users/mmuni/Pictures/Lab%206/XOR_Layout.JPGfile:///C:/Users/mmuni/Pictures/Lab%206/XOR_LVS.JPGfile:///C:/Users/mmuni/Pictures/Lab%206/XOR_DRC.JPG

  

  

The complete Schematics and Layouts for the above gates can be found in the lab6_mm.zip located at the bottom of this page.

  

  

_________________________________________________________________________________________________________

  

Step 2Using Spectre simulate the logical operation of the gates for all 4 possible inputs (00, 01, 10, and 11).

  

Gate Simlulation Schematic: 

  

file:///C:/Users/mmuni/Pictures/Lab%206/Logic_gate_Schem.JPG

  

Logic Gate Output Analysis along with gate Truth Table: 

  

file:///C:/Users/mmuni/Pictures/Lab%206/Logic_gate_sim.JPG

file:///C:/Users/mmuni/Pictures/Lab%206/Gate_Input.JPG

 
In the above images, we can see that the Logic Gates work as expected and follow the Truth Table Logic. However, we can also see some glitchy moments during pulse changes (This can be seen clearly in the XOR output). These glitchy moments seem to occur because of the rise, or fall time, not being able to keep up with the sudden changes, almost as if it lags. I can see how this would be a issue in Logic Gates that store its previous state as the sudden dip might negatively affect it.
 
 
___________________________________________________________________________________________________________________________________
 
 

Step 3Using these gates, draft the schematic of the full adder. Create a symbol for this full-adder.

Simulate, using Spectre, the operation of the full-adder using this symbol. DRC and LVS your full adder design.

  

  

SCHEMATIC: 

file:///C:/Users/mmuni/Pictures/Lab%206/Full_Adder_Schem.JPG

  

SYMBOL:

file:///C:/Users/mmuni/Pictures/Lab%206/Full_Adder_Symbol.JPG

 

LAYOUT With Completed LVS and DRC: 

file:///C:/Users/mmuni/Pictures/Lab%206/Full_Adder_Layout.JPGfile:///C:/Users/mmuni/Pictures/Lab%206/Full_Adder_LVS.JPGfile:///C:/Users/mmuni/Pictures/Lab%206/Full_Adder_DRC.JPG

  

As with the Logic Gate designs, the Complete Full-Adder Design can be found in the lab6_mm.zip folder at the end of the page.

  

________________________________________________________________________________________________________

  

Step 4: Simulate, using Spectre, the operation of the full-adder using this symbol. 

  

Full-Adder Simulation Schematic:

file:///C:/Users/mmuni/Pictures/Lab%206/Full_adder_Sim_Schem.JPG

  

  

Full-Adder Simulation Output and Logic Truth Table:

file:///C:/Users/mmuni/Pictures/Lab%206/Full_Adder_Sim.JPGfile:///C:/Users/mmuni/Pictures/Lab%206/Full_Adder_input.JPG

   

  

As with the Logic Gate Simulation, we can see a few glitchy moments between the Pulse changes. We can see in the images above, the Full-Adder operates as expected and follows the Truth Table Logic. 

  

_________________________________________________________________________________________________________

  

Design Directory Files can be found Here: lab6_mm.zip

  

  

Return to My Lab's 

  

Return to Student Directory

  

Return to CMOS Home