Skip to content

RTL design and functional verification of a 32-bit ALU using Verilog HDL. Supports arithmetic, logical, and shift operations with corner-case handling such as divide-by-zero, underflow, and tri-state output enable. Simulated and verified using Xilinx ISE.

License

Notifications You must be signed in to change notification settings

Manju7882/32-bit-ALU-Design-and-Functional-Verification-Verilog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

**📌 Overview ** This project implements a 32-bit Arithmetic Logic Unit (ALU) using Verilog HDL and verifies its functionality through simulation in Xilinx ISE. The design supports arithmetic, logical, and shift operations with proper handling of corner cases.

⚙️ Features

32-bit input operands (a, b)

64-bit output result

Supported operations:

Arithmetic: ADD, SUB, INC, DEC, MUL, DIV

Logical: AND, OR, XOR, XNOR, NAND, NOR, INV, BUF

Shift: SHL, SHR

Tri-state output control using output enable (oe)

Divide-by-zero protection

🧪 Functional Verification

A structured Verilog testbench applies multiple input combinations

All ALU commands are verified

Corner cases tested:

Divide-by-zero

Underflow conditions

Tri-state output behavior

Outputs observed using console logs and waveforms

🛠 Tools Used

Verilog HDL

Xilinx ISE

RTL Simulation

About

RTL design and functional verification of a 32-bit ALU using Verilog HDL. Supports arithmetic, logical, and shift operations with corner-case handling such as divide-by-zero, underflow, and tri-state output enable. Simulated and verified using Xilinx ISE.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published