• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

计算机工程与科学

• 论文 • 上一篇    下一篇

基于FPGA的并行RICE解码技术研究与实现

陶文泽1,2,韦宏卫1,张洪群1   

  1. (1.中国科学院遥感与数字地球研究所,北京 100094;2.中国科学院大学,北京 100049)
  • 收稿日期:2015-09-06 修回日期:2015-12-24 出版日期:2017-06-25 发布日期:2017-06-25
  • 基金资助:

    中国科学院遥感卫星数据处理与深加工系统专项改造项目(Y52203101A);中国科学院遥感与数字地球研究所青年基金(Y3SJ6100CX)

An FPGA-based parallel RICE decoder

TAO Wen-ze1,2,WEI Hong-wei1,ZHANG Hong-qun1   

  1. (1.Institute of Remote Sensing and Digital Earth,Chinese Academy of Sciences,Beijing 100094;
    2.University of Chinese Academy of Sciences,Beijing 100049,China)
  • Received:2015-09-06 Revised:2015-12-24 Online:2017-06-25 Published:2017-06-25

摘要:

RICE算法在无损压缩系统有着广泛的应用。由于RICE算法采用了变长的自适应熵编码,因此在解码时需要对压缩流进行逐位判断和解析,这给高速解压缩的实现带来了困难。现有的RICE解码实现在解码速度和通用性上都不理想。针对RICE算法中自适应熵编码的特点,设计了一种基于有限状态机和查找表的并行RICE解码结构,可在FPGA上完成8比特宽度的并行解码,解码速度最高可达176 MB/s;同时,该解码结构适用于编码参数k变化的情况,具有很强的通用性。

关键词: 无损解压缩, RICE 算法, 自适应熵编码, FPGA

Abstract:

The RICE algorithm is widely used in the lossless compression system. Since it adopts the variable-length adaptive entropy coding, it’s necessary to make bit-wise judgment and analysis in the compressed stream when decoding. However, this makes it difficult to achieve high speed decompression. Existing RICE decoding implementation methods have unsatisfactory performance in decoding speed and versatility. Given the characteristics of the adaptive entropy coding in the RICE algorithm, we propose a parallel RICE decoding structure based on finite state machine (FSM) and look up table (LUT), which can perform 8-bit width  parallel decoding on the FPGA at the highest speed of 176 MB/s. And meanwhile, the decoding structure is suitable for the case where the coding parameter k is changeable, and hence it has strong versatility.
 

Key words: lossless decompression, RICE algorithm, adaptive entropy coding, FPGA