Design an ALU that takes two eight bit operands X and Y and produces an eight bit output Z. there is also a two bit control input C in which 00 selects logical AND, 01 selects OR, 10 selects NOR and 11 selects XOR.
In designing your ALU follow this procedure:
1. Draw block diagram of eight one bit ALUs that each accepts a single bit from X and Y and both control bits, and produce corresponding single bit output for Z;
2. Create a truth table that describes a one bit ALU
3. Design one of the one bit ALUs using 8-to-1 MUX.