zstdDecompressCore - 2023.2 English

Vitis Libraries

Release Date
2023.2 English
#include "zstd_decompress.hpp"
template <
    int IN_BYTES = 4,
    int OUT_BYTES = 8,
    int BLOCK_SIZE_KB,
    int LZ_MAX_OFFSET,
    int LMO_WIDTH = 15,
    bool SEQ_LOW_LATENCY = false,
    bool LOW_LATENCY = false
void zstdDecompressCore (
    hls::stream <ap_axiu <IN_BYTES*8, 0, 0, 0>>& inStream,
    hls::stream <ap_axiu <OUT_BYTES*8, 0, 0, 0>>& outStream

This module decompresses the ZStd compressed file read from input stream. It reads the input stream till the given input size. It produces the decompressed data at the output stream.


PARALLEL_BYTE Data stream width in bytes
BLOCK_SIZE_KB ZStd block size
LZ_MAX_OFFSET LZ history size or Window size
LMO_WIDTH data width for offset data
inStream input stream
outStream output stream