EE421 · October 2025 · Digital design

Pipelined VHDL ALU

A clocked four-bit arithmetic and logic unit

ENGINEERING EVIDENCE / AT A GLANCE

What was done, checked, and documented

Problem

Build a clocked four-bit ALU with observable inputs and outputs.

My contribution

Designed and tested the datapath, registered stages, operation selection and FPGA I/O described in the record.

Engineering tools

VHDL, full adders, flip-flops, switches, LEDs and seven-segment display.

Validation method

Checked pass-through, increment, addition, subtraction and XOR with representative switch settings.

Documented result

A synchronous four-bit ALU with next-clock output updates; pin mapping and LED-driver conflicts were encountered.

Limitations

No archived exhaustive testbench, timing closure report or independent measurement data.

PROJECT 07 / 16

I designed and tested a four-bit arithmetic and logic unit from a high-level datapath down to the individual logic blocks. Four chained one-bit full adders form the arithmetic core; registered inputs and outputs make the results stable and predictable. The design uses board switches and a pushbutton for commands, with LEDs and seven-segment displays as visible feedback.

Engineering details

Challenge

Implement multiple arithmetic and logic operations with a one-clock-cycle registered interface and clearly observable hardware outputs.

Approach

Combine a four-bit ripple-carry adder, operand selection logic, an XOR path, input/output flip-flops and a seven-segment decoder. Test pass-through, increment, addition, subtraction and XOR operations with representative switch settings.

Tools

VHDL, ripple-carry adder, sequential logic, FPGA I/O mapping, binary LED readout, seven-segment display.

Documented outcome

A tested synchronous design with outputs updating on the following clock cycle. Debugging pin assignments and competing LED drivers reinforced disciplined hardware integration.

Evidence & limitations

Project methods and findings follow the available portfolio records. Original raw data and independent test evidence are not represented where unavailable.