Abstract

The minimum-redundancy prefix-free code problem is to determine an array l = {l 1 ,..., l n } of n integer codeword lengths, given an array f= {f 1 ,..., f n } of n symbol occurrence frequencies, such that the Kraft-McMillan inequality Σ n i=1 2 -l i ≤ 1 holds and the number of the total coded bits Σ n i=1 f i l i is minimized. Previous minimum-redundancy prefix-free code based on Huffinan's greedy algorithm solves this problem in O (n) time if the input array f is sorted; but in O (n log n) time if f is unsorted. In this paper a fast algorithm is proposed to solve this problem in linear time if f is unsorted. It is suitable for real-time applications in satellite communication and consumer electronics. We also develop its VLSI architecture that consists of four modules, namely, the frequency table builder, the codeword length table builder, the codeword table builder, and the input-to-codeword mapper.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call