Global Namespace
// namespaces
namespace xf
namespace xf::compression
namespace xf::compression::details
// typedefs
typedef ap_axiu <IN_DATAWIDTH, 0, 0, 0> in_dT
typedef ap_axiu <OUT_DATAWIDTH, 0, 0, 0> out_dT
typedef ap_axiu <32, 0, 0, 0> size_dT
typedef ap_uint <IN_BITWIDTH> in_t
typedef ap_uint <OUT_BITWIDTH> out_t
typedef ap_uint <IN_BITWIDTH> in_t
typedef ap_uint <OUT_BITWIDTH> out_t
typedef ap_uint <32> compressd_dt
typedef ap_uint <64> lz4_compressd_dt
typedef ap_uint <8> uintV_t
typedef ap_uint <32> data_t
typedef ap_uint <512> data_t
typedef ap_uint <32> compressd_dt
typedef ap_uint <8> uintV_t
typedef ap_uint <PARALLEL_BYTES*8> uintV_t
typedef ap_uint <512> data_t
typedef ap_uint <8> uintV_t
typedef ap_uint <32> compressd_dt
typedef ap_uint <8> uintV_t
typedef ap_uint <MULTIPLE_BYTES*8> uintS_t
typedef ap_uint <MULTIPLE_BYTES*8> uintS_t
typedef ap_uint <512> data_t
typedef ap_uint <512> data_t
typedef ap_uint <512> data_t
typedef ap_axiu <IN_DATAWIDTH, 0, 0, 0> in_dT
typedef ap_axiu <OUT_DATAWIDTH, 0, 0, 0> out_dT
typedef ap_axiu <32, 0, 0, 0> size_dT
typedef xf::compression::Frequency Frequency
typedef xf::compression::Codeword Codeword
typedef ap_axiu <IN_DATAWIDTH, 0, 0, 0> in_dT
typedef ap_axiu <OUT_DATAWIDTH, 0, 0, 0> out_dT
typedef ap_axiu <32, 0, 0, 0> size_dT
typedef ap_uint <IN_BITWIDTH> in_t
typedef ap_uint <OUT_BITWIDTH> out_t
typedef ap_uint <IN_BITWIDTH> in_t
typedef ap_uint <OUT_BITWIDTH> out_t
typedef ap_uint <IN_BITWIDTH> in_t
typedef ap_uint <OUT_BITWIDTH> out_t
typedef ap_axiu <IN_DATAWIDTH, 0, 0, 0> in_dT
typedef ap_axiu <OUT_DATAWIDTH, 0, 0, 0> out_dT
typedef ap_axiu <32, 0, 0, 0> size_dT
typedef ap_axiu <IN_DATAWIDTH, 0, 0, 0> in_dT
typedef ap_axiu <OUT_DATAWIDTH, 0, 0, 0> out_dT
typedef ap_axiu <32, 0, 0, 0> size_dT
typedef ap_uint <IN_BITWIDTH> in_t
typedef ap_uint <OUT_BITWIDTH> out_t
typedef ap_uint <GMEM_DATAWIDTH> data_t
typedef ap_uint <GMEM_DATAWIDTH> data_t
typedef xf::compression::Frequency Frequency
typedef xf::compression::Codeword Codeword
typedef xf::compression::Frequency Frequency
typedef xf::compression::Codeword Codeword
// global variables
const uint8_t fixed_litml_op[STABLE_SIZE]
const uint8_t fixed_litml_bits[STABLE_SIZE]
const uint16_t fixed_litml_val[STABLE_SIZE]
const int c_gmemBurstSize
const int c_gmemBurstSize
const int gz_max_literal_count
const auto c_maxBits
const auto c_literals
const auto c_lengthCodes
const auto c_literalCodes
const auto c_distanceCodes
const auto c_blCodes
const auto c_heapSize
const auto c_maxBlBits
const auto c_reusePrevBlen
const auto c_reuseZeroBlen
const auto c_reuseZeroBlen7
const auto c_fixedDecoder
const auto c_dynamicDecoder
const auto c_fullDecoder
const uint16_t c_frequency_bits
const uint16_t c_codeword_bits
const uint16_t c_litCodeCount
const uint16_t c_dstCodeCount
const uint16_t c_blnCodeCount
const uint16_t c_maxCodeBits
const uint16_t c_maxBLCodeBits
const uint16_t c_length_codes
const uint16_t c_max_match
const uint16_t c_min_match
const uint16_t c_distance_codes
const uint8_t length_code[c_max_match-c_min_match+1]
const uint8_t dist_code[512]
const uint16_t base_dist[c_distance_codes]
const uint8_t base_length[c_length_codes]
const uint16_t lit_code_fixed[]
const ap_uint <4> lit_blen_fixed[]
const uint16_t dist_codes_fixed[]
const ap_uint <4> dist_blen_fixed[]
auto constexpr PARALLEL_BYTES
auto constexpr CONST_SIZE
auto constexpr HOST_BUFFER_SIZE
auto constexpr c_size
auto constexpr ADLER32
auto constexpr CRC32
auto constexpr CHECKSUM_MODE
auto constexpr PARALLEL_BYTE
auto constexpr CONST_SIZE
auto constexpr HOST_BUFFER_SIZE
auto constexpr c_size
auto constexpr W
auto constexpr HOST_BUFFER_SIZE
auto constexpr PARALLEL_BYTE
auto constexpr CONST_SIZE
auto constexpr HOST_BUFFER_SIZE
auto constexpr c_size
const uint32_t c_size
const uint32_t sizeof_in
const uint32_t sizeof_out
const uint32_t sizeof_in
const uint32_t sizeof_out
int const c_minMatch
int const c_matchLevel
int const c_minOffset
int const c_lz4MaxLiteralCount
const uint32_t c_size
const uint32_t c_csize
const uint32_t c_size
const uint32_t c_csize
const uint32_t c_size
const uint32_t c_csize
const uint32_t c_no_blocks
const uint32_t c_inSizeV
const uint32_t c_noElements
const uint32_t c_no_blocks
const uint32_t c_inSizeV
const uint32_t c_noElements
const uint32_t c_no_blocks
const uint32_t c_inSizeV
const uint32_t c_noElements
const uint32_t c_inSizeV
int const c_minMatch
const int c_snappyMaxLiteralStream
int const c_factor
const uint32_t c_size
const uint32_t c_csize
constexpr uint32_t c_size
constexpr uint32_t c_csize
constexpr uint32_t c_size
constexpr uint32_t c_csize
const uint32_t c_size
const uint32_t sizeof_in
const uint32_t sizeof_out
const uint32_t c_size
const uint32_t sizeof_in
const uint32_t sizeof_out
const uint32_t sizeof_in
const uint32_t sizeof_out
const uint32_t sizeof_in
const uint32_t sizeof_out
const uint32_t c_size
const uint32_t c_size
const uint32_t sizeof_in
const uint32_t sizeof_out
const uint32_t c_size
const uint32_t c_constDepth
const uint32_t c_size
const uint32_t c_constDepth
const uint32_t sizeof_in
const uint32_t sizeof_out
const uint32_t sizeof_in
const uint32_t sizeof_out
// macros
#define AOP
#define AOP
#define BLOCK_LENGTH
#define BLOCK_LENGTH
#define BLOCK_LENGTH
#define BLOCK_LENGTH
#define BLOCK_LENGTH
#define BLOCK_LENGTH
#define BLOCK_LENGTH
#define BLOCK_LENGTH
#define BLOCK_LENGTH
#define BLOCK_LENGTH
#define BLOCK_LENGTH
#define BLOCK_LENGTH
#define BLOCK_LENGTH
#define BLOCK_LENGTH
#define BLOCK_LENGTH
#define BLOCK_SIZE
#define BLOCK_SIZE
#define BLOCK_SIZE
#define BLOCK_SIZE
#define BLOCK_SIZE
#define BLOCK_SIZE
#define BLOCK_SIZE
#define BLOCK_SIZE
#define BLOCK_SIZE
#define BLOCK_SIZE
#define BLOCK_SIZE
#define BLOCK_SIZE
#define BLOCK_SIZE
#define BLTREE_SIZE
#define BLTREE_SIZE
#define BLTREE_SIZE
#define BURST_SIZE
#define BURST_SIZE
#define BURST_SIZE
#define BURST_SIZE
#define BURST_SIZE
#define BURST_SIZE
#define BYTE_CNT
#define BYTE_CNT
#define BYTE_CNT
#define BYTE_CNT
#define CONST_SIZE
#define CONST_SIZE
#define CONST_SIZE
#define CONST_SIZE
#define CONST_SIZE
#define CONST_SIZE
#define CONST_SIZE
#define CONST_SIZE
#define DICT_ELE_WIDTH
#define DICT_ELE_WIDTH
#define DICT_ELE_WIDTH
#define DTREE_SIZE
#define DTREE_SIZE
#define DTREE_SIZE
#define D_HISTORY_SIZE
#define D_HISTORY_SIZE
#define D_HISTORY_SIZE
#define D_HISTORY_SIZE
#define D_HISTORY_SIZE
#define D_LOW_OFFSET
#define D_LOW_OFFSET
#define D_LOW_OFFSET
#define D_LOW_OFFSET
#define D_LOW_OFFSET
#define D_MAX_OFFSET
#define D_MAX_OFFSET
#define D_MAX_OFFSET
#define D_MAX_OFFSET
#define D_MAX_OFFSET
#define EXTRA_BLCODES
#define EXTRA_BLCODES
#define EXTRA_BLCODES
#define FLG_BYTE
#define FLG_BYTE
#define GET_DIFF_IF_BIG( \
x, \
y \
)
#define GET_DIFF_IF_BIG( \
x, \
y \
)
#define GMEM_BURST_SIZE
#define GMEM_BURST_SIZE
#define GMEM_BURST_SIZE
#define GMEM_BURST_SIZE
#define GMEM_BURST_SIZE
#define GMEM_BURST_SIZE
#define GMEM_DATAWIDTH
#define GMEM_DATAWIDTH
#define GMEM_DWIDTH
#define GMEM_DWIDTH
#define GMEM_DWIDTH
#define GMEM_DWIDTH
#define GMEM_DWIDTH
#define GMEM_DWIDTH
#define HISTORY_SIZE
#define HISTORY_SIZE
#define HISTORY_SIZE
#define HISTORY_SIZE
#define HISTORY_SIZE
#define HISTORY_SIZE
#define HISTORY_SIZE
#define HISTORY_SIZE
#define HISTORY_SIZE
#define HISTORY_SIZE
#define HISTORY_SIZE
#define HOST_BUFFER_SIZE
#define HOST_CHUNK_SIZE
#define HOST_CHUNK_SIZE
#define HUFFMAN_TYPE
#define HUFFMAN_TYPE
#define HUFFMAN_TYPE
#define HUFFMAN_TYPE
#define HUFFMAN_TYPE
#define HUFFMAN_TYPE
#define HUFFMAN_TYPE
#define HUFFMAN_TYPE
#define HUFFMAN_TYPE
#define HUFFMAN_TYPE
#define HUFFMAN_TYPE
#define HUFFMAN_TYPE
#define HUFFMAN_TYPE
#define HUFF_LOOP
#define INPUT_SIZE
#define INPUT_SIZE
#define INPUT_SIZE
#define INPUT_SIZE
#define INPUT_SIZE_IN_MB
#define INPUT_SIZE_IN_MB
#define INPUT_SIZE_IN_MB
#define INPUT_SIZE_IN_MB
#define INSIZE_RANGE_14BIT
#define INSIZE_RANGE_21BIT
#define INSIZE_RANGE_7BIT
#define IN_BITWIDTH
#define IN_BITWIDTH
#define IN_BITWIDTH
#define IN_BITWIDTH
#define IN_BITWIDTH
#define IN_BITWIDTH
#define IN_BITWIDTH
#define IN_BITWIDTH
#define IN_BITWIDTH
#define IN_DATAWIDTH
#define IN_DATAWIDTH
#define IN_DATAWIDTH
#define IN_DATAWIDTH
#define IN_DATAWIDTH
#define IN_DATAWIDTH
#define IN_DATAWIDTH
#define IN_DATAWIDTH
#define IN_DATAWIDTH
#define KRNL_IN_DATAWIDTH
#define KRNL_IN_DATAWIDTH
#define KRNL_OUT_DATAWIDTH
#define KRNL_OUT_DATAWIDTH
#define LEAST_VAL
#define LEAST_VAL
#define LEAST_VAL
#define LOW_OFFSET
#define LOW_OFFSET
#define LOW_OFFSET
#define LOW_OFFSET
#define LOW_OFFSET
#define LOW_OFFSET
#define LTREE_SIZE
#define LTREE_SIZE
#define LTREE_SIZE
#define LZ_MAX_OFFSET_LIMIT
#define LZ_MAX_OFFSET_LIMIT
#define LZ_MAX_OFFSET_LIMIT
#define LZ_MAX_OFFSET_LIMIT
#define LZ_MAX_OFFSET_LIMIT
#define MAGIC_BYTE_1
#define MAGIC_BYTE_1
#define MAGIC_BYTE_2
#define MAGIC_BYTE_2
#define MAGIC_BYTE_3
#define MAGIC_BYTE_3
#define MAGIC_BYTE_4
#define MAGIC_BYTE_4
#define MAGIC_HEADER_SIZE
#define MAGIC_HEADER_SIZE
#define MARKER
#define MATCH_LEN
#define MATCH_LEN
#define MATCH_LEN
#define MATCH_LEN
#define MATCH_LEN
#define MATCH_LEVEL
#define MATCH_LEVEL
#define MATCH_LEVEL
#define MAX_BITS
#define MAX_BITS
#define MAX_BITS
#define MAX_LIT_COUNT
#define MAX_LIT_COUNT
#define MAX_LIT_STREAM_SIZE
#define MAX_MATCH_LEN
#define MAX_MATCH_LEN
#define MAX_MATCH_LEN
#define MAX_MATCH_LEN
#define MAX_MATCH_LEN
#define MAX_OFFSET
#define MAX_OFFSET
#define MAX_OFFSET
#define MAX_OFFSET
#define MAX_OFFSET
#define MAX_OFFSET
#define MAX_OFFSET
#define MAX_OFFSET
#define MAX_OFFSET
#define MAX_OFFSET
#define MAX_OFFSET
#define MIN_BLOCK_SIZE
#define MIN_BLOCK_SIZE
#define MIN_BLOCK_SIZE
#define MIN_MATCH
#define MIN_MATCH
#define MIN_MATCH
#define MULTIPLE_BYTES
#define MULTIPLE_BYTES
#define MULTIPLE_BYTES
#define MULTIPLE_BYTES
#define MULTIPLE_BYTES
#define MULTIPLE_BYTES
#define MULTIPLE_BYTES
#define NUM_BLOCKS
#define OFFSET_WINDOW
#define OFFSET_WINDOW
#define OUT_BITWIDTH
#define OUT_BITWIDTH
#define OUT_BITWIDTH
#define OUT_BITWIDTH
#define OUT_BITWIDTH
#define OUT_BITWIDTH
#define OUT_BITWIDTH
#define OUT_BITWIDTH
#define OUT_BITWIDTH
#define OUT_BYTES
#define OUT_BYTES
#define OUT_BYTES
#define OUT_DATAWIDTH
#define OUT_DATAWIDTH
#define OUT_DATAWIDTH
#define OUT_DATAWIDTH
#define OUT_DATAWIDTH
#define OUT_DATAWIDTH
#define OUT_DATAWIDTH
#define OUT_DATAWIDTH
#define PARALLEL_BLOCK
#define PARALLEL_BLOCK
#define PARALLEL_BLOCK
#define PARALLEL_BLOCK
#define PARALLEL_BLOCK
#define PARALLEL_BLOCK
#define PARALLEL_BLOCK
#define PARALLEL_BLOCK
#define PARALLEL_BLOCK
#define PARALLEL_BLOCK
#define PARALLEL_BLOCK
#define PARALLEL_BYTES
#define PARALLEL_BYTES_READ
#define STABLE_SIZE
#define STABLE_SIZE
#define STRATEGY
#define STRATEGY
#define STRATEGY
#define STRATEGY
#define STREAM_UTILS_MM2S_IF_NOT_FULL( \
bIdx, \
outStream, \
is_full, \
read_idx, \
write_idx, \
local_buffer \
)
#define STREAM_UTILS_S2MM_IF_NOT_EMPTY( \
i, \
instream, \
burst_size, \
input_size, \
read_size, \
write_size, \
write_idx \
)
#define STREAM_UTILS_S2MM_READ_SIZE( \
i, \
instream, \
end_of_stream \
)
#define W
#define WINDOW_SIZE
#define ZSTD
#define ZSTD_BLOCK_SIZE_KB
#define d_code( \
dist, \
dist_code \
)
#define d_code( \
dist, \
dist_code \
)
#define dataSize
#define inWidth
#define inWidth
#define outWidth
#define outWidth
#define testDataLen