Huffman decoder
First Claim
1. A Huffman decoder for receiving variable-length-encoded data and outputting a fixed-length code corresponding to the data reconstructed in a Huffman table selected according to a table selection signal, which comprises:
- a first latch for storing the current variable-length-encoded data;
a second latch for storing the previous variable-length-encoded data;
a single decoder for receiving the word size and outputting a selection signal;
a data requirement signal generator for generating a data requirement signal when the added word size is over a predetermined size after summing the word sizes;
a multiplexer for receiving the outputs of said first and second latches, to select a predetermined bit according to said selection signal;
a data rotator for cyclic-shifting the output of said multiplexer according to said word size to form a reconstructed data, and outputting said reconstructed data;
an addressing portion for comparing said reconstructed data with a predetermined value and decoding the data; and
a memory for storing the size of said variable-length-encoded word and the fixed-length code corresponding thereto which are output according to the output of said addressing portion.
1 Assignment
0 Petitions
Accused Products
Abstract
A Huffman decoder includes a first latch for storing the current variable-length-encoded data, a second latch for storing the previous variable-length-encoded data, a single decoder for receiving the word size and outputting a selection signal, a data requirement signal generator for generating a data requirement signal when the added word size is over a predetermined size after summing the word sizes, a multiplexer for receiving the outputs of the first and second latches to select a predetermined bit according to the selection signal, a data rotator for cyclic-shifting the output of the multiplexer according to the word size to form a reconstructed data and outputting the reconstructed data, an addressing portion for comparing the reconstructed data with a predetermined value and decoding the data, and a memory for storing the size of the variable-length-encoded word and the fixed-length code corresponding thereto which are output according to the output of the addressing portion.
-
Citations
3 Claims
-
1. A Huffman decoder for receiving variable-length-encoded data and outputting a fixed-length code corresponding to the data reconstructed in a Huffman table selected according to a table selection signal, which comprises:
-
a first latch for storing the current variable-length-encoded data; a second latch for storing the previous variable-length-encoded data; a single decoder for receiving the word size and outputting a selection signal; a data requirement signal generator for generating a data requirement signal when the added word size is over a predetermined size after summing the word sizes; a multiplexer for receiving the outputs of said first and second latches, to select a predetermined bit according to said selection signal; a data rotator for cyclic-shifting the output of said multiplexer according to said word size to form a reconstructed data, and outputting said reconstructed data; an addressing portion for comparing said reconstructed data with a predetermined value and decoding the data; and a memory for storing the size of said variable-length-encoded word and the fixed-length code corresponding thereto which are output according to the output of said addressing portion. - View Dependent Claims (2, 3)
-
Specification