Compression method, system and device for FPGA configuration code stream

A compression method and compression system technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of high circuit overhead and insufficient compression ratio, and achieve the effect of low circuit overhead and simple structure

Active Publication Date: 2019-11-05
INST OF AUTOMATION CHINESE ACAD OF SCI
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve the above-mentioned problems in the prior art, that is, the traditional compression algorithm has insufficient compression ratio and large circuit overhead, the present invention provides a compression method for FPGA configuration code stream, the compression method includes:

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Compression method, system and device for FPGA configuration code stream
  • Compression method, system and device for FPGA configuration code stream
  • Compression method, system and device for FPGA configuration code stream

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, not to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0038] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0039] A kind of compression method for FPGA configuration stream of the present invention comprises:

[0040] Step S10, obtaining the bit file of the FPGA configuration code stream as the file to be compressed;

[0041] Step S20, sequentially judge whether the bit data of the firs...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention belongs to the technical field of compression algorithms, particularly relates to a compression method, system and device for an FPGA configuration code stream, and aims to solve the problems of low compression ratio and high circuit overhead of a traditional FPGA compression algorithm. The method comprises the following steps: sequentially judging bit data of preset bits of an obtained bit file of an FPGA configuration code stream, and if the bit data is not 0, compressing the data into m; if both are 0 and the number of consecutive times is smaller than a set threshold, compressing the data into p; and if both are 0 and the number of consecutive times is equal to a set threshold, compressing the data into q. The method is designed according to the characteristics of FPGA configuration code streams, the compression ratio is greatly improved, compared with a traditional algorithm, the compression ratio is improved by 14%-30%, and in addition, the compression algorithm issimple in structure and low in circuit overhead.

Description

technical field [0001] The invention belongs to the technical field of compression algorithms, and in particular relates to a compression method, system and device for FPGA configuration code streams. Background technique [0002] The FPGA is configured by its corresponding configuration code stream, and the more internal resources of the FPGA, the more configuration code stream information it needs, and the larger the external storage space required to store the configuration code stream information. At present, the configuration code stream information of some FPGAs is as many as tens of MB, which needs to occupy a large amount of external storage space with limited capacity. Therefore, it is necessary to use a compression algorithm to compress the FPGA configuration code stream, so as to achieve the purpose of reducing the storage space occupied by the FPGA code configuration. [0003] At present, some traditional compression algorithms such as LZ77, RLE encoding, and bi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F16/174
CPCG06F16/1744
Inventor 李任伟周沈刚田志兴
Owner INST OF AUTOMATION CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products