A Low-Power CAM Design for LZ Data Compression Kun-Jin Lin and Cheng-Wen Wu, IEEE Trans. On computers, Vol. 49, No. 10, Oct Presenter: Ming-Hsien Tsai
Outline 1. Introduction 2. CAM Structure 3. Removal of Redundant Comparisons ► Conditional Comparison Mechanism ► Redundancy Analysis 4. Conclusion
Outline 1. Introduction 2. CAM Structure 3. Removal of Redundant Comparisons ► Conditional Comparison Mechanism ► Redundancy Analysis 4. Conclusion
Introduction 1. CAM (Content Addressable Memory) has been considered the fastest architecture among all proposed hardware solutions for searching for a given string, as required in LZ LZ77 is the lossless data compression algorithm
Outline 1. Introduction 2. CAM Structure 3. Removal of Redundant Comparisons ► Conditional Comparison Mechanism ► Redundancy Analysis 4. Conclusion
CAM Structure Traditional SRAM Cell Cross-coupled XOR GatePull-down Transistor Fig. 1. A typical CAM cell
CAM Structure Fig. 1. A typical CAM cell “1”“1” “0”“0” “1”“1” “1”“1”“0”“0” offon off High-impedance “0”“0”
CAM Structure Fig. 1. A typical CAM cell “0”“0” “1”“1” “1”“1” “1”“1”“0”“0” offon low “1”“1”
Outline 1. Introduction 2. CAM Structure 3. Removal Of Redundant Comparisons ► Conditional Comparison Mechanism ► Redundancy Analysis 4. Conclusion
Outline 1. Introduction 2. CAM Structure 3. Removal Of Redundant Comparisons ► Conditional Comparison Mechanism ► Redundancy Analysis 4. Conclusion
Conditional Comparison Mechanism Fig. 4. A typical match logic The masking of unnecessary comparison results on the match nodes Only match node is in the high-impedance when the word identical to input symbols
Conditional Comparison Mechanism Fig. 4. A typical match logic When all the words do not match “1”“1” “0”“0” “0”“0” “0”“0” “0”“0” If all words match “1”“1” “0”“0” “0”“0”
Conditional Comparison Mechanism Fig. 5. Conditional comparison mechanism Difference between CCM and typical match logic
Conditional Comparison Mechanism Fig. 5. Conditional comparison mechanism When all the words do not match “1”“1” “0”“0” “0”“0”“0”“0” “0”“0” If all words match “1”“1” “0”“0” “1”“1” “1”“1” “ OFF ” “0”“0” The static current is totally blocked when “ m i ” is low
Outline 1. Introduction 2. CAM Structure 3. Removal Of Redundant Comparisons ► Conditional Comparison Mechanism ► Redundancy Analysis 4. Conclusion
Redundancy Analysis ► Consider a typical data compressor using a CAM of 2,048 8-bit words as the buffer ► Assume that the input symbols are randomly distributed. On average, only 2048 x1/256 = 8 words can match any input symbol. 8 words can match any input symbol. ► There are 2048 – 8 = 2,040 words that will require the power.
Redundancy Analysis TABLE 1. Experimental Results on the Files from the Calgary Corpus
Outline 1. Introduction 2. CAM Structure 3. Removal Of Redundant Comparisons ► Conditional Comparison Mechanism ► Redundancy Analysis 4. Conclusion
Conclusion ► We showed that the redundant comparisons in the compression process can be removed by turning off the power supply to those words that do not need to participate, saving about 80 percent of the power consumption of the comparison mechanism as compared with the conventional CAM.
END