FSM-Based Implementation of the Lempel-Ziv-Welch (LZW) Data Compression Algorithm Using Verilog HDL

This project presents a Register Transfer Level (RTL) implementation of the Lempel-Ziv-Welch (LZW) lossless data compression algorithm using Verilog HDL, structured around a Finite State Machine (FSM). Designed and simulated in ModelSim, the system compresses ASCII character sequences by dynamically building a dictionary of repeated substrings, outputting compressed binary codes in real-time. The FSM governs six key operational states—IDLE, INPUT, SEARCH, ADD, OUTPUT, and DONE—ensuring sequential, deterministic control over dictionary management and code emission. A simulation-based testbench verifies the functional correctness of the compressor, demonstrating accurate pattern matching, dynamic dictionary updates, and stable output transitions under clocked conditions. This behavioral-level design provides a robust platform for understanding algorithm-to-hardware translation and serves as a scalable base for future extensions like pipelining, hardware deployment (e.g., on FPGAs), or decompression logic integration.

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2025-06-30
DOI
https://doi.org/10.5281/zenodo.15777589
Primary Topic
Algorithms and Data Compression
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

FSM-Based Implementation of the Lempel-Ziv-Welch (LZW) Data Compression Algorithm Using Verilog HDL

Zenodo (CERN European Organization for Nuclear Research)
Algorithms and Data Compression
article

FSM-Based Implementation of the Lempel-Ziv-Welch (LZW) Data Compression Algorithm Using Verilog HDL

article en

Abstract

This project presents a Register Transfer Level (RTL) implementation of the Lempel-Ziv-Welch (LZW) lossless data compression algorithm using Verilog HDL, structured around a Finite State Machine (FSM). Designed and simulated in ModelSim, the system compresses ASCII character sequences by dynamically building a dictionary of repeated substrings, outputting compressed binary codes in real-time. The FSM governs six key operational states—IDLE, INPUT, SEARCH, ADD, OUTPUT, and DONE—ensuring sequential, deterministic control over dictionary management and code emission. A simulation-based testbench verifies the functional correctness of the compressor, demonstrating accurate pattern matching, dynamic dictionary updates, and stable output transitions under clocked conditions. This behavioral-level design provides a robust platform for understanding algorithm-to-hardware translation and serves as a scalable base for future extensions like pipelining, hardware deployment (e.g., on FPGAs), or decompression logic integration.

Zenodo (CERN European Organization for Nuclear Research)
Amrita Vishwa Vidyapeetham (IN)
Industry, innovation and infrastructure
Openalex Percentile: Top 77%
Algorithms and Data Compression
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.