Decoder

The ALU will be controlled by 8-bit wide commands. For a command in the form \((a_7, a_6, a_5, a_4, a_3, a_2, a_1, a_0)\), we introduce the designations Op, X, Y, Z, and XY as follows:

  • Op (for Operation Code) denotes the bits \((a_7, a_6)\).

  • X represents the bits \((a_5, a_4)\).

  • Y represents the bits \((a_3, a_2)\).

  • Z represents the bits \((a_1, a_0)\).

  • XY is the concatenation of X and Y and represents the bits

    \((a_5, a_4, a_3, a_2)\).

Implement the following circuit in CircuitVerse to easily access these areas of the bit pattern: