Arithmetic Logic Unit
Design and implement an Arithmetic Logic Unit that can operate as follows:
S2 S1 S0 Function
0 0 0 Ai + 0 Transfer
0 0 1 Ai + Bi Add
0 1 0 Ai + 1 Increment
0 1 1 Ai + Bi + 1 Add + 1
1 0 0 Ai + Bi’ Subtract 1's comp
1 0 1 Ai + (-1) Decrement
1 1 0 Ai + Bi’ + 1 sub 2's comp
1 1 1 Ai Transfer
2. Given the Functions below.
F1 (A,B,C,D) = π M (1, 3, 5, 7, 11, 12, 13, 14, 15)
F2 (A,B,C,D) = ∑m (0, 1, 2, 4, 5, 6, 8, 9, 12, 13, 14)
F3 (A,B,C,D) = π M (1, 3, 4, 9, 11)
F4 (A,B,C,D) = ∑m (0, 2, 5, 7, 8, 10, 13, 15)
Draw the truth table of the following functions in one table.
A B C D F1 F2 F3 F4
0 0 0 0 0
1 0 0 0 1
2 0 0 1 0
3 0 0 1 1
4 0 1 0 0
5 0 1 0 1
6 0 1 1 0
7 0 1 1 1
8 1 0 0 0
9 1 0 0 1
10 1 0 1 0
11 1 0 1 1
12 1 1 0 0
13 1 1 0 1
14 1 1 1 0
15 1 1 1 1
Design using ROM.