← All projects

2025 · ECE 449 · Team of 3

16-bit Pipelined CPU on FPGA

A custom 16-bit pipelined processor written in VHDL and brought up on a Digilent Nexys A7 — complete with a bootloader, a VGA debug console, and memory-mapped I/O.

Top-level block diagram of the 16-bit pipelined CPU showing program counter, ROM, RAM, register file, ALU, and console output stages
Top-level architecture — PC, instruction ROM, register file, ALU, RAM, and the VGA console path.

Overview

Built from the ground up in VHDL, the processor implements a 16-bit ISA with multiple instruction formats (three-register ALU operations, immediates, loads and stores, and branches) flowing through a classic pipeline with hazard handling. The design was synthesized in Xilinx Vivado and validated on real hardware rather than simulation alone.

The part that made debugging tractable: a VGA console rendered by the FPGA itself. A chain of formatting modules (nibble → byte → word to ASCII) streams register and memory state to a screen through a custom video-timing generator, so the processor's internals are visible live while programs run. A bootloader and memory-mapped I/O round out the system, letting programs load and interact with the board's switches and displays.

Highlights

VHDL Xilinx Vivado Nexys A7 / Artix-7 Pipelining VGA ISA design

Files & downloads