1 Bit ALU Design
1 Bit ALU Design
1. Introduction
An Arithmetic Logic Unit (ALU) is a fundamental component of a digital system that performs
arithmetic and logical operations. This report focuses on designing a 1-bit ALU capable of
performing addition, subtraction, logical AND, and logical OR operations. The design incorporates
control inputs to select the desired operation and utilizes 2-to-4 decoders to implement the logic.
2. Problem Statement
The objective is to design a 1-bit ALU that:
- 00: Addition
- 01: Subtraction
- 11: Logical OR
- O1: Carry for addition, borrow for subtraction, or 0 for logical operations.
3. Methodology
3.1 Design Approach
1. Input Components:
- A 2-to-4-line decoder is used to decode the control signals (C1, C0) and generate four enable
3. Operation Decoders:
- Outputs of the operation decoders (O1, O0) depend on the enable signal and the inputs (A, B).
- Addition: Uses XOR for sum (O0) and AND for carry (O1).
- Subtraction: Uses XOR for difference (O0) and AND with NOT B for borrow (O1).
5. Output Selection:
- Use the enable signals from the control decoder to activate the appropriate operation decoder.
4. Implementation
4.1 Circuit Components
1. 2-to-4-line Decoder:
2. Logical Gates:
3. Output Decoders:
- One decoder per operation to map the inputs and enable signals to the outputs (O1, O0).
4.2 Circuit Diagram
|----------------|----------------|---------------|----------------|
| 00 | Addition | 0, 0 | 0, 0 |
| | | 0, 1 | 0, 1 |
| | | 1, 0 | 0, 1 |
| | | 1, 1 | 1, 0 |
| 01 | Subtraction | 0, 0 | 0, 0 |
| | | 0, 1 | 1, 1 |
| | | 1, 0 | 0, 1 |
| | | 1, 1 | 0, 0 |
| 10 | Logical AND | 0, 0 | 0, 0 |
| | | 0, 1 | 0, 0 |
| | | 1, 0 | 0, 0 |
| | | 1, 1 | 0, 1 |
| 11 | Logical OR | 0, 0 | 0, 0 |
| | | 0, 1 | 0, 1 |
| | | 1, 0 | 0, 1 |
| | | 1, 1 | 0, 1 |
5.2 Interpretation
The circuit performs the desired operation based on the control inputs. Outputs are verified to match
the truth tables for addition, subtraction, AND, and OR operations.
6. Conclusion
This design effectively demonstrates a 1-bit ALU using five 2-to-4 decoders. The modular design
ensures clarity and scalability for larger systems. The methodology confirms that the ALU performs
7. References
1. M. Morris Mano, Digital Logic and Computer Design.
8. Appendices
A. Truth Tables for Operations
B. Circuit Diagram