ECEN 248 Lab 5 Report
ECEN 248 Lab 5 Report
Logic Unit
Rebecca Sontheimer
ECEN 248-511
TA: Mehnaz Rahman
Date: October 15, 2014
Objectives
The purpose of this lab is to design and implement a 4-bit ALU which can add,
subtract, and AND bits.
Design
Truth Table for 2:1 Multiplexor
S
A
B
F
0
Results
The circuit worked the way that it was supposed to work after fighting with it for
a while and finally finding out what wires had been improperly placed. It was a lot of trial
and error, but it worked in the end and was able to switch between the AND block and
the add/sub block. The final physical circuit is pictured on the previous page.
Conclusions
Post-Lab Deliverables
1. All items are in the design section of this lab report.
Control
C1
1
1
1
1
1
1
0
0
Control
C0
1
1
1
1
1
1
1
1
Result
S3
S2
S1
S0
Overflow
6
5
4
3
2
6
5
3
2
3
2
1
1
5
2
4
4
2
2
2
1
1
7
7
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
0
1
1
1
0
0
1
1
0
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
0
0
2
1
4
6
8
10
6
6
5
6
3
2
8
10
1
2
7
7
7
8
16
20
0
2
0
0
0
1
0
0
0
0
1
1
1
0
0
1
0
0
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
0
4:1 MUX
2:1 MUX
4:1 MUX
Feedback
0
0
0
0
1
1
0
0