LogisimRevisited

Circuits / Arithmetic

4-Bit ALU

Hard

Computes 4-bit A + B, A - B, A AND B, or A OR B selected by a 2-bit Opcode feeding a 4-to-1 Multiplexer.

A 4-bit Arithmetic Logic Unit computes multiple operations.

Operations selected by a 2-bit Opcode fed to a 4-to-1 multiplexer.

Supports: addition (A+B), subtraction (A-B), bitwise AND, bitwise OR.

Result routed from ALU outputs through the multiplexer.

Tip: If the wrong operation appears, check the MUX select logic.

0x5A0x3B0x0OpABABADDABcincoutABSUBABbinboutABABALU_MUXD0D1D2D3SY0x8Result
As it opens in the app, with live wire colors.
01Z floatingE conflict (dashed)

Open in the app