Computer Science Essay-可重构的性能估计 [4]
论文作者:www.51lunwen.org论文属性:短文 essay登出时间:2015-11-16编辑:chenyuting点击率:9118
论文字数:2440论文编号:org201511091829364272语种:英语 English地区:英国价格:免费论文
关键词:Reconfigurable压缩RLE
摘要:本文论述了一种高效的压缩位流放置技术,支持不影响压缩效率的压缩。这种技术使用位掩码提高效率,没有任何减压的惩罚。这有助于减少代码的大小。
repeated compressed words, it is suggested in that run length encoding of these sequences may yield a better compression result. Interestingly, to represent such encoding no extra bits are needed. Note that bitmask value 0 is never used, because this value means that it is an exact match and would have encoded using zero bitmasks. Using this as a special marker, these repetitions can be encoded without changing the code format of bitmask-based compression.
Fig. 4 illustrates the bitmask-based RLE. The input contains word '00000000' repeating five times. In normal bitmask-based compression these words will be compressed with repeated compressed words, whereas our approach replaces such repetitions using a bitmask of '00'. In this example, the first occurrence will be encoded as usual, whereas the remaining 4 repetitions will be encoded using RLE. The number of repetition is encoded as bitmask offset and dictionary bits combined together. In this example, the bitmask offset is '10' and dictionary index is '0'. Therefore, the number of repetition will be '100' (i.e., 4).
The compressed words are run length encoded only if the RLE yields a shorter code length than the original bitmask encoding. In other words, if there are r repetitions of code with length and the number of bits required to encode them using RLE is bits, RLE is used only if bits. Since RLE is performed independently, the bit savings calculation during dictionary selection should be modified accordingly to model the effect of RLE.
6. DECOMPRESSION ENGINE
The decompression engine is a hardware component used to decode the compressed configuration bitstream and feed the uncompressed bitstream to the configuration unit in FPGAs. As discussed previously, a decompression engine usually has two parts: the buffering circuitry is used to buffer and align codes fetched from the memory, while decoders perform decompression operation to generate original symbols. Since the decoders are well studied in previous literatures, we implement our bitmask and RLE decoder based designs in a successful way.
Fig 6 Decompression Engine
The structure of our decompression engine for 8-bit memory is shown in Fig. 7. An 'Assemble Buffer with a Left Shifter Array' (ABLSA) is employed to replace the original 'Buffer with a Barrel Shifter' (BBS). The basic working principle of ABLSA is to use an array of left shift registers to buffer the power-two bitstreams separately. Since the code length in bitmask-based compression is uniquely determined by the first two bits of a code (is Compressed and is- Bit masked flags), we can easily obtain the length of a code by checking of front bits of stream CS and BS. Then, the shift register (or PT streams) that hold bits of the code is identified based on the binary representation of the code length. Finally, the original code is assembled in the assemble buffer and fed to the bitmask or RLE decoders. When some shifter becomes empty, it is guaranteed to be loaded correctly by our decompression algorithm.
Decompression Efficiency:
We measured the decompression efficiency using the time required to reconfigure a compressed bitstream, the resource usage and maximum operating frequency of the decompression engine. The reconfiguration time is calculated using the product of number of cycles required to decode the compressed bitstream and operating clock speed.
本论文由英语论文网提供整理,提供论文代写,英语论文代写,代写论文,代写英语论文,代写留学生论文,代写英文论文,留学生论文代写相关核心关键词搜索。