Lab 7 - ECE 421L

 

 

Authored by Raheel Sadiq,

sadiqr@unlv.nevada.edu

November 16, 2016

 

 

 

 

Prelab:

 

Pre-lab work

 

 

 

 

______________________________________________________________

Lab:

 

In this lab we learned how to create logic gates. Not only did we create AND, NAND, OR, and NOR gates, but we had to make them all 8-bits.

First we must construct the schematics for all gates and then from there we can create symbols that will later be simulated and turned into 8-bit input/outputs.

 

Using the NAND that we created earlier this semester in lab, we instantiate it into our schematic and turn it into an 8-bit NAND adding the fat wires to the ends. Below is the schematic and symbol for the 8-bit NAND.

NandSchem

Figure 1

 

NandSymbol

Figure 2

 

 

We do the same for the AND gate now. For the AND gate we can construct a schematic using the NAND gate and putting an inverter in front of it. Below is the schematic and symbol for the 8-bit AND.

AndSchem

Figure 3

 

AndSymbol

Figure 4

 

 

Next we construct our NOR schematic and transform it into an 8-bit NOR. Below is the schematic and symbol for the 8-bit NOR.

NorSchem

Figure 5

 

NorSymbol

Figure 6

 

 

To construct the OR gate we can use the same process as we did for the NAND. We take our NOR and put an inverter infront of it to make an OR gate. . Below is the schematic and symbol for the 8-bit OR.

OrSchem

Figure 7

 

OrSymbol

Figure 8

 

 

Now that all the 8-bit gates are constructed and ready to go, we can put them together and simulate them to check if they work. As seen below, the simulation is successful and all gates perform exactly how they’re supposed to.

AllGatesTestSchem

Figure 9

 

AllGatesSim

Figure 10

 

 

Next part of the lab is to construct an 8-bit 2-1 Mux/DeMux. Below we see the basic schematic for the Mux/DeMux. When building the schematic it is noticeable that the S and Si can be

 Plotted as one since they are compliments of each other. Because of this we combine S and Si to make one variable which has an inverter connected to it.

DEMUXSchem

Figure 11

 

Mux_Demux

Figure 12

 

Now we can use our 8-bit Mux/DeMux to simulate it and check its performance.

DEMUXSymbolSchem

Figure 13

 

MuxSim

Figure 14

 

Now we can make our 8-bit Mux/DeMux. Below you can observe the symbol for the 8-bit Mux/DeMux along with the test schematic and the successful simulation.

8DemuxSchem

Figure 15

 

f8DemuxSymbolSchem

Figure 16

 

8DemuxSim

Figure 17

 

 

Final part of this lab was to construct a schematic for an 8-bit Full Adder and also create a layout with successful DRC and LVS.

 

To begin we start creating the schematic for the Full Adder.

FullAdderSchem

Figure 18

 

From the schematic we derive a symbol that will later on assist in creating our 8-bit Full Adder. With the symbol we test it to make sure that it works and the outputs are exactly what we want. As it can be seen, the simulation was successful ensuring that the Full adder schematic was built correctly.

FullAdderSchemSymbol 

Figure 19

 

FullAdderSim

Figure 20

 

From that we now lay out the 1-bit Full Adder. From the layout we derive our extracted view along with successful DRC and LVS.

FullAdderLayout

Figure 21

 

FullAdderDRC

Figure 22

 

FullAdderExtracted

Figure 23

 

FullAdderLVS

Figure 24

 

 

Now that we have ensured that the Full Adder schematic works and laid out the 1-bit Full Adder, we can create an 8-bit Full adder through the same steps.

8FullAdderSchemFigure 25

 

Let us test the 8-bit Full Adder before we move on to the layout to ensure that it works properly. It can be seen below that the simulation does work as expected.

8FullAdderSim 

Figure 26

 

Now we can construct the layout. For the layout we can instantiate our 1-bit Full Adder 8 times and connect the needed outputs and inputs together.

8FullAdderLayout

Figure 27

 

Here is a closer look of the 8-bit Full Adder

8FullAdderLayoutZoom

Figure 28

 

8FullAdderDRC

Figure 29

 

Extract the layout and LVS to ensure that our layout is right and matches our schematic we created.

8FullAdderExtracted

Figure 30

 

8FullAdderLVS

Figure 31

 

 

lab7 folder

 

 

 

 

Return to sadiqr EE 421L labs

Return to EE 421L Labs