A basic ALU design for Logisim should typically include:
- Input Buses
- Accumulator Register
- Operand Register
- Operation Select Control
- Arithmetic Subcircuits
- Logic Subcircuits
- Shift Subcircuits
- Output Selection Multiplexer
- Output Register
Handles:
- Addition
- Subtraction
- Multiplication
- Division
Handles:
- AND
- OR
- XOR
- NOT
Handles:
- Shift Left
- Shift Right
Maps opcodes to subcircuit selection and output routing.
Chooses which functional block drives the final output.
- Build Input And Output Registers
- Build Addition And Subtraction
- Build Logic Operations
- Build Shift Operations
- Add Multiplexer-Based Output Selection
- Connect Control Signals
- Validate Each Operation One By One
If the full Logisim circuit is built later, this document should be updated with:
- Subcircuit names
- Bit widths
- Control line definitions
- Screenshots of the final design