Lab 7 - EE 421L 

Authored by Gerald Lee

leeg28@unlv.nevada.edu

October 26, 2014





Using Buses and Arrays in the Design of Word Inverters, Muxes, and High-Speed Adders


 

 

Pre-Lab

Review Tutorial 5 which can be found here.

 

 


Design & Simulation of a 4-bit Word Inverter

 

1 Bit Inverter



Verification
Schematic
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_85.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_86.png
Symbol
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_87.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_88.png

 
 
4-Bit Inverter


Verification
Schematic
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_89.png http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_90.png
Symbol
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_91.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_92.png

 
4-Bit Inverter Simulation

http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_94.pnghttp://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_93.png

Notice the increase of signal delay from out<0> to out<3> this is due to increasing output capacitance.

Imagine the capacitor as a bucket and charge as water, the bigger the bucket the longer it takes to fill it with water.

The greater the capacitance the greater the delay.

 



 

 

 


Design and Simulation of an 8 bit NAND Gate

 


1 Bit Input/Output NAND Gate



Verification
Schematic
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_95.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_96.png
Symbol
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_97.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_98.png


 


8 Bit Input/Outut NAND Gate



Verification
Schematic
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_100.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_101.png
Symbol
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_102.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_103.png


8 Bit NAND Simulation

 

http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_99.png

http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_104.png

Notice the increase of signal delay from out<0> to out<3> this is due to increasing output capacitance.

Imagine the capacitor as a bucket and charge as water, the bigger the bucket the longer it takes to fill it with water.

The greater the capacitance the greater the delay.





 

 

 

Design and Simulation of an 8-bit NOR Gate


1 Bit Input/Output NOR Gate




Verification
Schematic
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_113.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_114.png
Symbol
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_111.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_112.png

 

8 Bit Input/Output NOR Gate



Verification
Schematic
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_109.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_110.png
Symbol
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_107.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_108.png



8 Bit NOR Simulation

 

http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_106.png


http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_105.png 

Notice the increase of signal delay from out<0> to out<3> this is due to increasing output capacitance.

Imagine the capacitor as a bucket and charge as water, the bigger the bucket the longer it takes to fill it with water.

The greater the capacitance the greater the delay.

 



 

 


 


Design & Simulation of an 8-bit AND Gate


1 Bit Input/Output AND Gate



Verification
Schematic
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_117.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_118.png
Symbol
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_115.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_116.png


 

 

8 Bit Input/Output AND Gate



Verification
Schematic
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_119.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_120.png
Symbol
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_121.png http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_122.png


 

8 Bit AND Simulation

 

http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_123.png

http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_124.png

Notice the increase of signal delay from out<0> to out<3> this is due to increasing output capacitance.

Imagine the capacitor as a bucket and charge as water, the bigger the bucket the longer it takes to fill it with water.

The greater the capacitance the greater the delay.


 

 


 

 

 

 

 

 

Design & Simulation of an 8 bit Inverter

 

1 Bit Input/Output Inverter



Verification
Schematic
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_133.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_134.png
Symbol
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_131.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_132.png


 

8 Bit Input/Output Inverter



Verification
Schematic
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_129.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_130.png
Symbol
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_127.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_128.png


8 Bit Inverter Simulation

 

http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_126.png

http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_125.png

   

Notice the increase of signal delay from out<0> to out<3> this is due to increasing output capacitance.

Imagine the capacitor as a bucket and charge as water, the bigger the bucket the longer it takes to fill it with water.

The greater the capacitance the greater the delay.

 

 


 
 
 
 
 
 
 

8 Bit OR Gate Design & Simulation

1 Bit Input/Output OR Gate



Verification
Schematic
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_144.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_145.png
Symbol
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_142.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_143.png


8 Bit Input/Output OR Gate



Verification
Schematic
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_139.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_141.png
Symbol
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_137.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_138.png



8 Bit OR Gate Simulation

 

http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_136.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_135.png

 

Notice the increase of signal delay from out<0> to out<3> this is due to increasing output capacitance.

Imagine the capacitor as a bucket and charge as water, the bigger the bucket the longer it takes to fill it with water.

The greater the capacitance the greater the delay.

 

 

 

 

 

 

 

 

 

 



2 to 1 MUX/DEMUX Operation




 Mux Operation/Simulation


http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_146.png


http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_147.png

 The purpose of a MUX is to output one signal from multiple input signals.


Observe the Plot above, Signal A= 5V & Signal B =0V

Notice when S (Select) = 1 that Z (Output)= 5V

Notice when S(Select) = 0 that Z (Output) = 0V

 

 

DEMUX Operation/Simulation


http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_149.png


http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_150.png

 The purpose of a DEMUX is to choose an ouput path based on multiple outputs given one incoming signal.


Observe the Plot above:

Notice when S (Select) = 1 that A(Output)= Z (Input)

Notice when S (Select) = 0 that B(Output)= Z (Input)

 

 

 
 
 
 
 
 
 
 

 

Design & Simulation of an 8-Bit MUX/DEMUX



1 bit Input/Output MUX/DEMUX



Verification
Schematic
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_157.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_158.png
Symbol
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_155.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_156.png


 


8 Input/Output MUX/DEMUX



Verification
Schematic
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_153.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_154.png
Symbol
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_151.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_152.png


 

 

8 Bit Input/Output MUX Simulation


http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_159.png


http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_160.png

Notice the increase of signal delay from out<0> to out<3> this is due to increasing output capacitance.

Imagine the capacitor as a bucket and charge as water, the bigger the bucket the longer it takes to fill it with water.

The greater the capacitance the greater the delay.

 



8 Bit Input/Output DEMUX Simulation


http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_161.png


http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_162.png

Notice the increase of signal delay/distortion from A<0> to A<2> and from B<0> to B<3>, this is due to increasing output capacitance.

Imagine the capacitor as a bucket and charge as water, the bigger the bucket the longer it takes to fill it with water.

The greater the capacitance the greater the delay.

 


 

 

 

 

 

 

 


 


Design & Simulation of a 8-Bit Full Adder

  

1 Bit Input/Output Full Adder



Verification
Schematic
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_163.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_164.png
Symbol
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_165.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_166.png



8 Bit Input/Output Full Adder


Verification
Schematic
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_168.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_169.png
Symbol
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_170.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_171.png


 8 Bit Full Adder Simulation

http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_172.png

http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_184.png

 Observe from the plot above that we are adding A= 11111111 and B=11111111 with a Cin of=0.

Output= 11111110 with a Cout of= 1 as expected our 8-bit Full Adder is working correctly.

 


 

 

 

 

 

 

 


Layout of an 8-bit Full Adder

 



Verifcation
Schematic
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_168.png http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_169.png
Symbol
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_170.png http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_171.png
Layout
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_175.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_180.png
Extracted
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_181.png
http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_182.png




View of One Adder Cell


http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_176.png

 


Left View of 8-Bit Full Adder


http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_177.png

 


Right View of 8-Bit Full Adder


http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_179.png


 

 


View of Carry Out to Carry In Signal Propagation between each Adder Cell

http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_178.png

 

 

This concludes the lab, design files can be found here.




Back-Up of Lab 7 is shown below:

http://cmosedu.com/jbaker/courses/ee421L/f14/students/leeg28/lab7/Snip20141026_185.png