A Static Huffman Parallel Full Coding Implementation Method
An implementation method and a technology of full encoding, applied in the field of static Huffman parallel full encoding, can solve the problems of increasing the maximum clock frequency, reducing the utilization rate of hardware resources, and the static Huffman encoding encoding cycle is not fixed, so as to improve the clock frequency and reduce the utilization rate. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] The present invention obtains the code length and encoding value corresponding to the weight while sorting, and encodes all variables within one clock cycle, and can obtain the code length and encoding of all variables (or called data) when the sorting ends value. Regardless of how the weight of the input variable changes, the clock cycle required for the entire static Huffman coding process is fixed. The whole process fully considers the parallel processing of FPGA, adopts the optimized parallel full comparison algorithm, and only needs one clock cycle to get the sorting of all variable weights. This algorithm is based on the parallel comparison of any two numbers in the sequence. The greater than or equal comparator is uniformly used for pairwise comparison between any two numbers. Only one comparison is required between any two numbers, so that the comparison results ('0' or '1') obtained by the two numbers are opposite numbers. The module that starts to input data ...
Embodiment 2
[0063] Based on embodiment 1, embodiment 2 is provided again.
[0064] as attached figure 1 Shown is the overall structure of the static Huffman code. At the beginning, there is a module for inputting data and counting weights. After the input is over, the input data is optimized for parallel full comparison and sorting. When the sorting result is obtained, static Huffman coding can be performed on it. These two main processes execute in parallel. The entire process can determine the entire running cycle according to the number of input variables. Assuming that static Huffman coding needs to be performed on N variables, the clock cycle occupied by the entire process is (N-1)*6+2. That is, it takes (N-1)*6+2 clock cycles from the end of the input data to the output result. Among them, the input of the static Huffman coding value adopts the method of pipeline, which can make the output process uninterrupted. In the entire process of the invention of Static Huffman (Static Hu...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


