This project implements an 8-bit Arithmetic Logic Unit (ALU) using Verilog, along with a testbench to verify its functionality. The ALU performs common arithmetic (addition, subtraction) and logic (AND, OR, XOR, NAND, NOR, XNOR) operations on two 8-bit input buses based on selection inputs.
- Verilog compiler (e.g., Icarus Verilog)
- Simulation tool (e.g., GTKWave)
- Python (for input handling)
-
Clone the repository:
git clone https://github.com/not-adarsh/ArithematicLogicalUnit.git
-
In case you are using Icarus Verilog:
- Move this folder to
C:/iverilog/binfolder on Windows. - Move this folder to
usr/iverilog/binfolder on Linux.
- Move this folder to
-
Navigate to the project directory:
cd ArithematicLogicalUnit -
Run the Python script to compile and simulate the Verilog code:
python main.py
- Adarsh
- Yashvardhan Dhaka
- Arindam Singh
- Kavit Shukla
- Saksham Gupta
For more detailed documentation, please refer to this Google Docs document.