97 ALU

97 : ALU

How it works

When 4 bits total are input’d into the ALU, it goes through 3 ripple carries and two finite state machines that adds to a temporary value that gets included in the basic ALU calculations

How to test



# Input Output
0 A1 ALU_Out1
1 A2 ALU_Out2
2 B1 ALU_Out3
3 B2 ALU_Out4
4 ALU_Sel1 ALU_Out5
5 ALU_Sel2 ALU_Out6
6 ALU_Sel3 ALU_Out7
7 ALU_Sel4 CarryOut