Given this, we can compute the boolean expression for each of the control bits.
C3 only occurs on one line: NOR
C3 = A1A0F5F4F3F2F1F0
C0 is a bit more complex
Only when A1A0
Two Funct codes 100101
101010
In Both Cases F5F4
then F3F2F1F0
or F3F2F1F0
C0=A1A0F5F4(F3F2F1F0+ F3F2F1F0)
Bits C1 and C2 are more complex
The funct does not matter for ALUOp of 00 or 01, which is selectd by A1
The funct des matter with A1A0 so
C1 =A1 + A1A0funct
Three Operations remain:
100000
100010
101010
F5 is always on
F4, F2 and F0 are always off
What remains is (F3F1+ F3F1 + F3F1)
This can be simplified to F3 + F3F1
Or F5F4F2F0(F3 + F3F1)
C1= A1 + A1A0F5F4F2F0(F3 + F3F1)
C2
Only when the ALUOP is 01
or the ALUOP is 10 and the function code is 100010
100111
101010
F5F4F1
( F3F2F0
+ F3F2F0
+ F3F2F0)
C2 = A1A0 + A1A0F5F4F1(F3+F3F2F0)