#include "block_packer.hpp"
template <int DATAWIDTH = 512> void blockPacker ( hls::stream <ap_uint <DATAWIDTH>>& inStream, hls::stream <uint32_t>& inStreamSize, hls::stream <ap_uint <DATAWIDTH>>& outStream, hls::stream <bool>& outStreamEos, hls::stream <uint32_t>& outCompressedSize )
Compression Packer module packs the compressed data.
Parameters:
| DATAWIDTH | input data width |
| inStream | input data |
| outStream | output data |
| inStreamSize | size of the data in input stream |
| outStreamEos | output end of stream |
| outCompressedSize | total compressed packed data size |