Lab 6 - ECE 421L 

Authored by Yared Abraha,

abrahy2@unlv.nevada.edu

10/23/19


Lab description

Desingn layout and simulation of a cmos NAND gage, XOR gate and FULL ADDER

pre lab

Completing tutorial 4 wich was completed as seen below
The basic thing in tutorial 4 is to desing, layout, and simulate a NAND gate, including every steps the tutorial is completed as seen below.

The schematic of the nand gate

photos/Capture.JPG


symbol of the nand gate with my initials on it.
photos/Capture%201.JPG




simulation of the single input nand gate is seen below




photos/Capture%203.JPG








photos/Capture%205.JPG




the lay out of the NAND gate and it shows that it is DRC clear.



photos/Capture%208.JPG
LVS of the NAND gate is shows that it matches.

photos/Capture%209.JPGphotos/Capture%2010.JPG



photos/Capture%2011.JPG

Lab:

step 1 draft the schematic of two input NAND gate and 2 input XOR gate using 6u/0.6u MOSFETS NMOS and PMOS


the NAND gate schematic has been desinged in the tutorial as seen above so we don't need to redo the nand gate.

XOR gate shcmematic is seen below .

photos/Capture%2013.JPG

This is the symbol of the XOR gate with my initals on it

photos/Capture%2014.JPG

The layout of the XOR gate and it shows that it is DRC clear.


photos/Capture%2015.JPG


the extracted view of the XOR gate


photos/Capture%2016.JPG


the result wich shows that our XOR  maches with schematic or it is LVS clear


photos/Capture%2017.JPG



photos/Capture%2018.JPG





photos/Capture%2019.JPG

STEP 2
using specture simulation the logical operation of the gates for all 4 possible inputs (00, 01, 10, 11),  Thsi simulation is for all the NAND, XOR and INVERTER simulation both the NAND and XOR has two inputs.


photos/Capture%2026.JPG

we can see on the figure above that they all work correctly. Also the changes in the logical output are not as perfect as the theortical assumption, we can see as an example that when the input pulse change from low to high of high to low, there is a rise time and fall time that prevents the change in output to change perfectly.

This may cause glich in devices specialy those devices with memory since the value is not perfectly consistent.

ABAiNAND XOR
00110
10011
01111
11000

STEP 3: Using these gates draft the schematic of  the full adder. create a symbol for the full adder.
Simulate, using spectrure, the operation of the full adder using this symbol.DRC and LVS your full adder.


full adder schematic

photos/Capture%2020.JPG

full adder layout

photos/Capture%2021.JPG



DRC result of the full adder


photos/Capture%2022.JPG

full adder extracted.

photos/Capture%2023.JPG


   LVS results of the full adder
photos/Capture%2027.JPG
photos/Capture%2028.JPG




full adder symbol together with the connections to simulate it.

photos/Capture%2024.JPG





simulation results of the full adder


photos/Capture%2025.JPG

Truth table of the full adder


ABCinSUMCARRY out
00000
00110
01010
01101
10010
10101
11001
11111


A bakc up file is created.


Return to EE 421L Labs