Marina Skegro

Logo

CSCI 496: Senior Portfolio
In partial fulfillment of the requirements for the degree of Bachelor of Science in Computer-Science (class of 2026)

View My Resume

View My GitHub Profile

Back to Portfolio

Ripple Carry Adder

Project Description

This project implements a 32-bit Ripple Carry Adder using Verilog HDL. The design is built using modular components including a Half Adder and a Full Adder, which are combined to construct a scalable multi-bit arithmetic system.

The circuit takes two 32-bit inputs, A and B, and produces a 32-bit output S, where S = A + B.

This project demonstrates hierarchical hardware design and is a core component used in a Single Cycle Processor for arithmetic logic operations.

How to Run the Program

To run this project, follow the steps below.

Install required dependencies

Make sure Icarus Verilog is installed on your system:

sudo apt install iverilog

Compile the Verilog files

iverilog -o rca_sim half_adder.v full_adder.v ripple_carry_adder.v ripple_carry_adder_tb.v

Run the simulation

vvp rca_sim

View waveform output (optional)

gtkwave waves.vcd

View output

The program runs in the terminal and verifies:

UI Design

This program runs in the terminal using a Verilog testbench for simulation. The output is displayed in the console and waveform viewer (GTKWave), showing correct execution of the ripple carry adder logic (see Fig. 1).

screenshot
Fig 1. Simulation output of 32-bit ripple carry adder testbench

3. Additional Considerations

This project highlights important computer architecture concepts such as:

For more details see mskegro.

Back to Portfolio