Lab 6 - ECE 421L
Authored by Josue Magana Quezada
Email: maganaqu@unlv.nevada.edu
10/27/2023
![](ftp://cmosedu.com/lab1/lab1pics/fluffycat.jpg)
Prelab
For
this prelab, we have to follow Tutorial 4 which helps for design,
layout as well as simulate a NAND gate. Important thing is doing
verifications of the design such as DRC for layout and LVS for the
extracted.
On this picture, we can see the schematic of the NAND gate
![](lab6pics/1.png)
Symbol of the NAND gate
![](lab6pics/2.png)
Here the circuit to test our symbol.
![](lab6pics/3.png)
and the result of the spectre simulation. we can see that when IN is 0, OUT is the opposite
![](lab6pics/4.png)
Now, in this picture we can see the layout of NAND gate, as wel as the DRC verification
![](lab6pics/5.png)
To finish this prelab, we have in the next picture with the extracted file with LVS verification
![](lab6pics/6.png)
Lab Work
For the lab report, we are supposed to design, layout, simulate different components such as NAND, XOR and FULLADDER gates.
In the next picture you will notice the NAND gate looks very similar to the one from prelab, there is a small difference
we have the schematic of the NAND gate
![](lab6pics/7.png)
Symbol of the NAND gate, but this one has my signature :D
![](lab6pics/8.png)
Now the layout with DRC, here is where the difference of the prelab comes
![](lab6pics/9.png)
and extracted with LVS
![](lab6pics/10.png)
now, let's see how the simulation works. To test this NAND gate symbol. we'll use 2 inputs
![](lab6pics/11.png)
and the result... basically when A and B are 1, the output will be 0,
![](lab6pics/12.png)
Now its turn for the XOR gate. Let's see our schematic first
![](lab6pics/13.png)
and symbol of the XOR gate with the respective signature
![](lab6pics/14.png)
Now the layout with DRC
![](lab6pics/16.png)
![](lab6pics/15.png)
Next, our extracted with LVS
![](lab6pics/17.png)
Finally, lets test our symbol with 2 inputs
![](lab6pics/18.png)
and we got the result that matches the normal behavior of the XOR gate
![](lab6pics/19.png)
To finish this lab, lets show the last gate. First of all, we will take NAND and XOR gate that we created before on this
schematic
![](lab6pics/20.png)
With that, now we are ready to make the symbol for the FULL ADDER gate as can see below
![](lab6pics/21.png)
After that, in the next picture we can see the layout of the FULL ADDER, as well as DRC
![](lab6pics/22.png)
LVS is also important, so lets have the extracted one.
![](lab6pics/23.png)
Now, we are ready to make the circuit for testing our FULL ADDER
![](lab6pics/24.png)
and this is what we got when we simulated. this match the normal behavior of the full adder
![](lab6pics/25.png)
A | B | Cin | SUM | Cout |
0 | 0 | 0 | 0 | 0 |
0 | 0 | 1 | 1 | 0 |
0 | 1 | 0 | 1 | 0 |
0 | 1 | 1 | 0 | 1 |
1 | 0 | 0 | 1 | 0 |
1 | 0 | 1 | 0 | 1 |
1 | 1 | 0 | 0 | 1 |
1 | 1 | 1 | 1 | 1 |
Back up
![](lab6pics/26.png)
Return to EE 421L Labs