This repository contains the design and simulation of a 2-bit Arithmetic Logic Unit (ALU) using Logisim. The ALU is capable of performing basic logical operations.
A 2-bit ALU can perform several fundamental operations on two 2-bit inputs. The operations include basic arithmetic (addition, subtraction) and logical operations (AND, OR, NOT).
- Logical Operations: AND, OR, NOT
- Arithmetic Operations: Addition, Subtraction
- Logisim Simulation: Visual representation and simulation using Logisim
- Logisim: Ensure you have Logisim installed. Download from Logisim's official website.
-
Clone the Repository:
git clone https://github.com/jubayer98/Design-and-Simulate-2-bit-ALU-using-Logisim.git cd Design-and-Simulate-2-bit-ALU-using-Logisim
-
Open Logisim:
- Launch Logisim.
- Open the
2 Bit ALU.circ
file included in this repository.
-
Simulate:
- Use the input pins to provide the 2-bit inputs.
- Select the operation to perform using the control inputs.
- Observe the output on the designated output pins.
Contributions are welcome! If you have suggestions for improvements or additional features, feel free to fork the repository, make your changes, and submit a pull request.
Enjoy designing and simulating your 2-bit ALU using Logisim!