Digital Integrated Circuit Design

EE 421L - Fall 2021

Lab 6

Author: Ryan Eclarinal

Email: eclarina@unlv.nevada.edu

Date Assigned: October 6, 2021

Due Date: October 20, 2021
 
Pre-Lab:

 First, we copy Tutorial 3 to a new library called Tutorial 4 in the Library Manager then we copy the
inverter cell to a new cell that we called "nand2".
 

 
Next is to draw the schematics of nand2.

 
We will then create a symbol for the schematic that we made.

 
Make sure to check and save your work.

The next thing that we need to do after creating the schematics and symbol is to simulate our design.
Here, we created another schematic for our simulation. Connect the pin A to vdd, connect a voltage source to pin B, and connect a capacitor to the ouput.

 
Setting the parameters:
Here, showing the parameters for the voltage source.
 
 
Make sure to setup the model library correctly. Add the following files for the simulation to work.

 
Setup the analog stimuli and put 5 DC voltage.

   
Were going to use the transient response.

 
Once everything is set, we are ready to run our simulation.

 
Here, showing the result of our simulation.

   

Close and save everything.

The next step is to design the layout for our NAND gate.

 
NAND gate Layout view and Extracted view.

            

 Make sure to DRC your layout and to make sure that there is no error. If there is no error, we can now do the LVS.

 Running the LVS showing the net-list matched

  

  

This ends the Tutorial 4.

---------------------------------------------------------------------------------------------------------

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


Lab Procedure:

Experiment 1: 2-Input NAND Gate

  

Schematic of a 2-Input NAND gate:

  

Symbol for the NAND Gate:

 

Creating the Layout:

   

Extracted View:

  

LVS of the design showing the net -list matched

  

Simulation: Truth table of the NAND Gate

 
We will create a simple truth table by using a pulse source at the inputs.

 

Input A:

   
Input B:

   

Results of the simulation:

   
NAND Gate Truth Table:

It shows that the simulation results and the truth table matched.

   

We, also noticed that there were glitches in our output. To get this fix, we need to introduce more logic gates to the circuit for the output to stabilize the value. In this example,we used the inverter that we did in Lab 5.

   
After the simulation, we can see that the glitches were minimized.

  

  

Experiment 2: 2-Input XOR Gate

 

Schematic of a 2-Input XOR gate:

 
Symbol for the XOR Gate:

   

Creating the Layout:

 
Extracted View:

   

LVS of the design showing the net -list matched

   

  

Simulation: Truth table of the XOR Gate

We will create a new schematics for our simulation and adding the inverters to minimize the glitch.

   
Results of the simulation:

   

XOR Gate Truth Table:

 It shows that the simulation results and the truth table matched.

 

  

Experiment 3: The Full Adder

  

 Schematic of the Full Adder using 2-Input NAND gates and 2-Input XOR gates:

   

Symbol for the Full Adder:

   

Creating the Layout:

   
   

DRC of the layout showing no errors.

   

Extracted View:

     

LVS of the design showing the net -list matched

   

   

Simulation: Truth table of the Full Adder

  

We will create a new schematics for our simulation

   

Results of the simulation:

    

Full Adder Truth Table:

 It shows that the simulation results and the truth table matched.

Make sure to use cell names that include your initials and the current year/semester, e.g. NAND_jb_f21 (if it were fall 2021).

 

Endnote: Buffers can be added to the inputs on our schematics for simulations to minimize issues caused by the input transitions.

Backing up:
 
Perform a regular back up of my work by making a zip file and upload it to my Google Drive.

  

   

This concludes Lab 6.


   

   

Return to Students

Return to EE 421L

Return to CMOSedu.com