Lab Project - ECE 421L 

Ting Yu,

Email: yut2@unlv.nevada.edu

November 10, 2014

  

Lab description: Simulation and layout of an ALU with AND, OR, ADD, SUB

Part I: Design and Simulation of ALU

Following is the schematic of 8-bit ALU


 

Symbol for ALU. 


 

F <0, 1>

00   A ADD B

01    A SUB B

10    A OR B

11    A AND B

 
Simulation


 

Simulation results

 

A AND B 

at 25 ns

F0F1OperationA0A1A2A3A4A5A6A7B0B1B2B3B4B5B6B7Z0Z1Z2Z3Z4Z5Z6Z7cout
00AND1011111111111111101111110

  

 

A OR B

at 125 ns

F0F1OperationA0A1A2A3A4A5A6A7B0B1B2B3B4B5B6B7Z0Z1Z2Z3Z4Z5Z6Z7cout
01OR1
110010000000000111011000

 

A ADD B

at 165 ns

F0F1OperationA0A1A2A3A4A5A6A7B0B1B2B3B4B5B6B7Z0Z1Z2Z3Z4Z5Z6Z7cout
00ADD1101011111111111010101111

 

A SUB B

at 255ns

F0F1OperationA0A1A2A3A4A5A6A7B0B1B2B3B4B5B6B7Z0Z1Z2Z3Z4Z5Z6Z7cout
00SUB0111010010000000111101000

 

Part II: Layout of the ALU

1bit ALU

 
Put eight 1bit ALU together to make 8bit ALU, connect all the ground and Vdd together. Connect F<1,0> together. Then connect the cout0 to cin 1.  Cin 0 is connect to F<1>.

 
DRC and LVS for no error


 

back up all the files of the project.