104 2bitALU

104 : 2bitALU

Select Project123456789ONSW2
  • Author: shan
  • Description: 2 bit ALU which performs 16 different operations
  • GitHub repository
  • Clock: 0 Hz

How it works

Based on the 4 bit opcode, the ALU performs 16 different operations on the 2 bit inputs A & B and stores the result in 8 bit output ALU_out

How to test

Provide A, B inputs. Select opcode based on the operation to perform. Check output at ALU_out

IO

#InputOutput
0A1ALU_out
1A2ALU_out
2B1ALU_out
3B2ALU_out
4opcodeALU_out
5opcodeALU_out
6opcodeALU_out
7opcodeALU_out