lzBooster overload (1) - 2023.2 English

Vitis Libraries

Release Date
2023-12-20
Version
2023.2 English
#include "lz_optional.hpp"
template <
    int MAX_MATCH_LEN,
    int BLOCKSIZE = 32768,
    int BOOSTER_OFFSET_WINDOW = 16 * 1024,
    int LEFT_BYTES = 64
    >
void lzBooster (
    hls::stream <IntVectorStream_dt <32, 1>>& inStream,
    hls::stream <IntVectorStream_dt <32, 1>>& outStream
    )

This module helps in improving the compression ratio. Finds a better match length by performing more character matches with supported max match, while maintaining an offset window. Booster offset Window template argument (default value is 16K) internally consume BRAM memory to implement history window. Higher the booster value can give better compression ratio but will consume more BRAM resources.

Parameters:

MAX_MATCH_LEN maximum length allowed for character match
BOOSTER_OFFSET_WINDOW offset window to store/match the character
LEFT_BYTES last 64 left over bytes
inStream input stream 32bit per read
outStream output stream 32bit per write