Decompressor/Huffman_Decoder.cpp
//Reset length code lengths. Takes 29 cycles
Reset length code lengths. Takes 29 cycles
Reset length code lengths . Takes 29 cycles
void reset_length_codelengths(ap_uint<4> length_codelengths[MAX_LEN_CODES]){
#pragma HLS INLINE off
	for(int i = MIN_LEN_CODES; i < MAX_LEN_CODES; i++){ 
		length_codelengths[i] = 0;
	}
}
void reset_length_codelengths ( ap_uint < 4 > length_codelengths [ MAX_LEN_CODES ] ) { #pragma  HLS INLINE off for ( int i = MIN_LEN_CODES ; i < MAX_LEN_CODES ; i ++ ) { length_codelengths [ i ] = 0 ; } }
Reset length code lengths.
Reset length code lengths .
//Only last 30 indexes need to be cleared, all others will always be filled //#pragma HLS UNROLL