In: Computer Science
Number assigned is #5
The classmate I chose have the number #10
The answers should be written as this one below:
*Just fill the table
A |
B |
Cin |
I1 |
I0 |
Output |
Cout |
Function Performed |
Assignment directions:
Part 1.
The Arithmetic/Logic Unit (figure 2.11 of your handout as posted in
Blackboard) [in your course note] we discussed in Section I E of
the Module 2 a simple ALU capable of performing only four functions
namely:
1) A AND B;
2) A OR B;
3) NOT B;
4) A plus B plus the Carry-in
Now, show your understanding of that simple ALU by giving the following for a set of inputs based on the 6 bit binary representation of your # in Class Members (see table below with your names in it). Note: For this exercise, you will be using the 5 least significant bits (LSB) based on your number!
1) the OUTPUT and CARRY OUT outputs
2) the type of calculation (AND, OR, NOT, or plus)
where the 5-bit inputs represent A, B, Carry-in,
I1, and I0 respectively.
For example: "#35. Deborah Askew" has a binary
value of 100011 but using the 5 least significant
bits (colored in red) with A = 0, B = 0, Carry-in (Cin) = 0, I1 =
1, and I0 = 1.
In this example, for Deborah Askew, since I1 = 1, and I0 = 1, then
the ALU will be performing ADDITION (SUMMING). It will be
performing addition on the data inputs seen on A, B, and Cin: where
A = 0, B = 0, and Cin = 0.
Hence, 0 + 0 + 0 implies Output = 0 and Carry-Out = 0
Number |
Student Name |
X |
A |
B |
Cin |
I1 |
I0 |
Output |
Cout |
Function Performed |
||||||
35 |
Deborah |
Askew |
1 |
0 |
0 |
0 |
1 |
1 |
0 |
0 |
ADDITION |
|||||
Here is another example for Ingram James whose number is #40.
Six-digit binary is: 101000
Using the 5 LSB, 01000, we have A = 0, B = 1, Carry-in (Cin) = 0, I1 = 0, and I0 = 0.
Since I1 = 0 and I0 = 0, then the ALU will be performing the AND function on the inputs A and B.
So, A AND B implies Cout = 0 and Output = 0.
Number |
Student Name |
X |
A |
B |
Cin |
I1 |
I0 |
Output |
Cout |
Function Performed |
|||||||||||
40 |
Ingram |
James |
1 |
0 |
1 |
0 |
0 |
0 |
0 |
0 |
AND |
||||||||||
Now, you will be doing a similar analysis as above two examples for your unique number as given to you in the data table below.
Be sure to include your class number and the 6-bit representation in your response first but again, you must use the five LSB for your interpretation!
_ _ _ _ _ _
Part 2
Now pick another classmate's number randomly in the data table provided below and repeat part 1 steps for the number picked.
______________
Part 3
Now research the Internet and other sources to find other
functions that the typical modern day ALU can perform. The ALU we
discussed in class can perform only four functions that include
AND, OR, NOT B, and ADDITION.
Your response to this part should provide information about the
following: