Lab 7 - ECE 421L 

Authored by John Dye (dyej1@unlv.nevada.edu),

November 9, 2017

   

Lab description:

In this lab, we instantiated arrays of logic gates to show the use of buses, as well as design and layout a full 8-bit adder. At the end of the lab, we have all of the building blocks necessary to building an ALU.

  

Prelab:

All of the previous lab material has been backed up in Google Drive.
 

Lab Report:

To begin, shown below are the schematic and symbol for some of the basic logic gates that will be used within this lab,
 
snip1        snip2
snip3       snip4
snip5       snip6
snip7       snip8
snip9       snip10
snip31         snip32
 
Next, a 4-bit array of inverters was created. Shown below are the schematic, symbol, simulation schematic, and simulation results for the inverter circuit,
snip11      snip12
snip13snip14
 
Next, 4-bit arrays were created for NAND, NOR, AND, and OR. Because of spacing issues, some of the photos are small and hard to see. If you have this issue, please click on the picture to see and enlarged image. Shown below are the schematic, symbol, simulation schematic, and simulation results for the circuits,
snip15    snip16
snip17      snip18
 
 
snip19      snip20
snip21    snip22
 
 
snip23     snip24
snip25     snip26
 
 
snip27     snip28
snip29     snip30
 
Then, I simulated the provided 2-1 MUX using the simulation schematic and results shown below,
snip33       snip34
 
As can be seen from the schematic, A =0 and B=1. When S=0, out = B, and when S=1, out=A. So, S is used to select which of the inputs will be connected to the output. What is simulated above is the multiplexing operation. To demultiplex, simply make the "out" put your input, and make the "A" and "B" pins your outputs. All that the multiplexer circuit does is select which outputs and inputs are connected together, so nothing else needs to be changed, so the simulation above also works for demultiplexing.
 
Next, an 8-bit bus 2-1 multiplexer was created, as shown below,
snip35        snip36
snip37      snip38
 
Shown below is the schematic and symbol for a single full-adder,
snip39      snip40
 
Next, an 8-bit array of adders was created. Shown below are the schematic and symbol,
snip41       snip42
 
To simulate the adder, the inputs A=11001011 and B=10001001. Shown below is the schematic and results,
snip43     snip44
 
 Ignoring the oscillation on the outputs (it's a very minor oscillation anyway), the output is out=A+B=11001011+10001001=1 01010100.
  
 Lastly, the 8-bit adder was created in layout. Shown below is an individual cell of the adder, as well as all of the adders together in the layout,
snip45
snip46
 
This layout DRC'd and LVS'd correctly,
snip47
 
snip48
 
 

All of the files associated with this lab have been backed up in Google Drive.

 

Return to EE 421L Labs