huffmanDecoder - 2023.1 English

Vitis Libraries

Release Date
2023.1 English
#include "huffman_decoder.hpp"
template <eHuffmanType DECODER = FULL>
void huffmanDecoder (
    hls::stream <ap_uint <16>>& inStream,
    hls::stream <bool>& inEos,
    hls::stream <ap_uint <17>>& outStream

This module is ZLIB/GZIP Fixed, Dynamic and Stored block supported decoder. It takes ZLIB/GZIP Huffman encoded data as input and generates decoded data in LZ77 format (Literal, Length, Offset).


DECODER Fixed, Full, Dynamic huffman block support
inStream input bit packed data
inEos input end of stream
outStream output lz77 compressed output in the form of 32bit packets (Literals, Match Length, Distances)