I hope this is the correct section to ask. Since the ALU is part of a processor which is a part of computer, I think it's not too bad.
Given is an n-Bit-ALU
with OM (=operating mode)
, control vector S=(S_0, S_1, S_2, S_3)
and 2 entrace vectors A=(A_n-1, A_n-2, ..., A_o), B=(B_n-1, B_n-2,..., B_o)
. Extrance vector Q = (Q_n-1, Q_n-2, ..., Q_0)
.
The switching function of the ALU is:
Proof that Q = B
if S = 1001
and OM = 1
S= 1001
means S_0 = 1, S_1 = 0, S_2 = 0, S_3 = 1
OM operating mode describes if the operation is arithmetic or logic. OM = 1 --> logic operation (AND, OR, NOR...) if OM = 0 its an arithmetic operation (addition, sub, mul...)
So if we put that into this term we have:
But I don't know what to do now to get Q = B
.
I get to:
No idea how to continue or if it's correct at all.
I hope someone can help me here please I got no one else to ask that. This is no homework. It's a task from an old exam (2014) but sadly there were no solutions and now I'm trying to solve all tasks. And these ones I don't understand, I try solve as much as I can and post here like this one.