Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 1.16 KB

README.md

File metadata and controls

28 lines (23 loc) · 1.16 KB

Huffman Codeing IC

Table of Contents

Intorduction

Implemented 8-bit Huffman coding algorithm using System Verilog. The system takes an image as an input, the image contains 100 pixels and each pixel value is an integer between 1 to 6 (inclusive). The system then outputs the Huffman Code for each pixel value based on the source probability distribution (more frequent pixel values will have the shorter codewords). This is the final project of the Digital Circuit and Systems class in NCTU.

Directory Tree

Huffman_Codeing_IC/
├─ huffman.sv ....... Main function for Huffman coding
├─ testbench.sv ..... RTL testbench
├─ pattern.sv ....... RTL testing pattern
├─ main.cpp ......... C++ function to compute Huffman coding (for generating testing pattern)
├─ input.txt ........ input image
└─ output.txt ....... output Huffman coding

Requirements

Contributor