即时加速非对齐数据传输的dma设计方法
DOI:
作者:
作者单位:

1.北京智芯微电子科技有限公司 国家电网公司重点实验室 电力芯片设计分析实验室 北京 100192; 2.北京智芯微电子科技有限公司 北京市电力高可靠性集成电路设计工程技术研究中心 北京 100192

作者简介:

通讯作者:

中图分类号:

TN402

基金项目:


Method and implementation for DMA on the fly expediting transfer of unaligned data
Author:
Affiliation:

1.State Grid Key Laboratory of Power Industrial Chip Design and Analysis Technology, Beijing SmartChip Microelectronics Technology Co. Ltd., Beijing 100192, China; 2.Beijing Engineering Research Center of Highreliability IC with Power Industrial Grade, Beijing SmartChip Microelectronics Technology Co. Ltd., Beijing 100192, China

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    针对软件处理字节非对齐数据传输时效率低的问题,提出了一种资源占用少、低功耗的即时拼接直接存储器存取(DMA)设计方案。用户按照字节传输方式配置DMA进行非对齐数据传输,DMA控制器自动进行适当的字节拼合,从而以字传输方式完成数据传输。该方案不仅能够应对32位系统所有字节不对齐和递增递减方向的组合,而且完全由硬件电路处理、软件编程没有额外的开销,仿真验证表明,该设计方法能够显著加快32位低功耗SOC系统字节非对齐数据的传输速度。目前已经应用于一种用电采集MCU芯片,用于协助软件高速处理加解密数据、通信协议帧等,结果表明,该芯片的DMA模块传输速率高、操作简便,可以满足设计要求。

    Abstract:

    We propose the design of DMA controller for 32bits low power SOC system, which expedites transfer of unaligned data through onthefly reassembling bytes by hardware circuit, requiring fewer resources, power and no extra software overhead. Although user configures the transfer of unaligned data in byte format, the DMA controller can automatically reorganize bytes in proper way, so as to transfer data in word format correctly and faster. Verification shows the design can evidently improve transfer efficiency of unaligned data. The design method has been applied to a MCU chip for electricity information acquisition system, and assists software to deal with encryption and decryption, to form communication frames, etc. The results show that the DMA controller works with high efficiency while easy to use, so the design meets the requirements.

    参考文献
    相似文献
    引证文献
引用本文

张彤,周芝梅,赵东艳,张海峰.即时加速非对齐数据传输的dma设计方法[J].电子测量技术,2017,40(12):54-58

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2018-01-30
  • 出版日期: