Decompressor/Huffman_Decoder.cpp
//Reset length and distance code length counts. Takes 1 cycle
Reset length and distance code length counts. Takes 1 cycle
Reset length and distance code length counts . Takes 1 cycle
void reset_LD_codelength_count(ap_uint<9> length_codelength_count[MAX_LEN_LENGTH+1], ap_uint<9> distance_codelength_count[MAX_DIS_LENGTH+1]){
#pragma HLS INLINE off
	for(int i = 0; i < (MAX_LEN_LENGTH+1); i++){
#pragma HLS UNROLL
		length_codelength_count[i] = 0;
		distance_codelength_count[i] = 0;
	}
}
void reset_LD_codelength_count ( ap_uint < 9 > length_codelength_count [ MAX_LEN_LENGTH + 1 ] , ap_uint < 9 > distance_codelength_count [ MAX_DIS_LENGTH + 1 ] ) { #pragma  HLS INLINE off for ( int i = 0 ; i < ( MAX_LEN_LENGTH + 1 ) ; i ++ ) { #pragma  HLS UNROLL length_codelength_count [ i ] = 0 ; distance_codelength_count [ i ] = 0 ; } }
Reset length and distance code length counts.
Reset length and distance code length counts .