Lossless data compression and decompression software and hardware implementation
- Author
- HeZhuMin
- Advisor
- TangGuang
- School
- University of Electronic Science and Technology
- Major
- Circuits and Systems
- Classification
- TP274 Data processing, data processing system
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 83
- Citations
- 0
Abstract
With the development of the science, we need to deal with more and more information. The large amounts of data take a lot of storage space and a lot of bandwidth to transport. It brings a lot of inconvenience to the storage and transmission. So, the data compression becomes more and more important. But the software compressing the data will slow down the speed of the system, because it will cost much resource of the system. This research topic is raised on the basis of this background.Certain improvements are made on the basis of the original LZW algorithm. Finally, the system is realized by FPGA. First, the paper made comparison among the most widely used algorithms of lossless data compression. In the end, the LZW algorithm is selected as the algorithm of this paper.. Then, C language is used to describe and simulate the compression and decompression phases of the algorithm. Then some optimization of this two phases is made. During the compression, the way of updating the dictionary is optimized. The new algorithm rebuilds part of dictionary instead rebuilding the whole dictionary when it is full. So that the new dictionary update method is not only increase the compression rate, but also improve the adaptive characteristics, which allowing LZW algorithm superior to other lossless compression method. In the decompression stage, the formation of the original term is extended. The new entries to the dictionary reducing the number of queries to improve decompression speed. Then the system is divided into several modules, and all of them are simulated by Modelsim. In the end, the Spartan-3A by XINLINX was chosen to realize the system and the function of it was proven by test.Finally, the test of the software and hardware show that the optimized algorithm has improved efficiency.
Table of contents
Summary 4-5
ABSTRACT 5-9
chapter the introduction 9-13
1.1 the background and significance of the topic -10
Research in the field of data compression 1.2 the 10-12
1.3 This article contents 12-13
data compression theoretical foundation 13-23
2.1 theory foundation 13
2.2 standard data compression 13-15
2.3 data compression classification 15-17 < br /> 2.3.1 reversible compression 15
2.3.2 irreversible compression 15
the 2.3.3 data compression practical technology 15-17
2.4 commonly used lossless compression algorithm 17-22
2.4.1 Huffman coding are found; 17-18
2.4.2 run-length encoding algorithm 18-19
2.4.3 Arithmetic coding 19
2.4.4 LZW encoding are found; 19-22
2.5 Summary 22-23
Chapter LZW algorithm built mold and optimize 23-44
3.1 the LZW algorithm compression and decompression process 23-25 ??
the the 3.2 dictionary lookup Optimization 25-28
3.3 Dictionary management strategies to optimize 28-36
3.3.1 dictionary initialization 29-30
3.3.2 classical algorithm of the dictionary management strategies 30-32
3.3.3 Improved algorithms the dictionary management strategy the 3.3.4 secondary
32-33 improved algorithm the dictionary management strategy 33-35
3.3.5 this design the dictionary management strategy algorithm 35-36
3.4 dictionary parameter optimization 36-39
3.5 the unpack phase optimization 39-41
3.6 Verilog functional simulation 41-43
3.7 Summary 43-44
system hardware implementation 44-59
4.1 system implementations 44-47
4.1.1 PC to FPGA data transfers 44-45
4.1.2 UART communication protocol and RS232C protocol 45-46
4.1.3 PC and FPGA communication protocol 46-47
4.2 FPGA chip select 47-48
4.3 peripheral circuit and interface design 48-49
4.4 FPGA the JTAG design of 49-50
4.5 FPGA Design and Implementation 50-57
4.5.1 top-level module 50-52
4.5.2 DCM module 52
the 4.5.3 data compression module the 52-53 4.5.4 Data
extracting modules 53-54
4.5. the UART data communication module 54-55
4.5.6 dictionary module 55-56
the 4.5.7 data cache module 56-57
4.6 Summary 57-59
Chapter simulation and test 59-75
5.1 compression module function simulation are found; 59-61
5.2-extracting modules functional simulation 61-62
5.3 system integrated simulation the 62-65 5.4 hardware test
65-72
5.4.1 software compression and hardware compression compared 65-68
5.4.2 software decompression hardware decompression contrast 68-72
5.5 system potential problem analysis 72-74
5.5.1 cache The space problems 73
5.5.2 communication command 73-74
5.6 Chapter Summary 74-75
Chapter Summary and Outlook 75-78
6.1 summarizes the 75-77
6.2 Looking 77-78
Acknowledgements 78-79
Reference 79-82
during research for Master 82-83
Appendix hardware circuit physical map 83-84
Related dissertations
- Research and FPGA Implementation of Adaptive Lossless Compression for Multispectral Image
- LZW dictionary compression algorithm research and hardware implementation of FPGA
- A Hardware Implementation of Lossless Data Compression Based on LZW Algorithm
- Design of Real-time Lossless Compression System Based on FPGA
- Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
- Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
- Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
- Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
- Research of Dual Chanel High Speed Data Acquisition Card
- Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
- The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
- Design of Remote Strain Measurement System Based on FGPA
- The Design of Digital Ultrasonic Nondestructive Testing System
- Design and Implementation of High Speed Data Recorder Based on FPGA
- Design of the High-speed Data Acquisition System Based on USB Interface
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- Design and Application of Linear Array Image Acquisition System Based on Compressed Sensing
- The Design and Research of PCI Data Acquisition Card Based on FPGA