作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2011, Vol. 37 ›› Issue (2): 284-285. doi: 10.3969/j.issn.1000-3428.2011.02.100

• 开发研究与设计技术 • 上一篇    下一篇

面向可重构编译技术的RAM访问优化算法

杨 敏,吴艳霞,顾国昌,孙延腾   

  1. (哈尔滨工程大学计算机科学与技术学院,哈尔滨 150001)
  • 出版日期:2011-01-20 发布日期:2011-01-25
  • 作者简介:杨 敏(1985-),女,硕士,主研方向:嵌入式系统,低层虚拟机;吴艳霞,讲师、博士;顾国昌,教授;孙延腾,硕士
  • 基金资助:

    国家自然科学基金资助项目(61003036);中国博士后基金资助项目(20100471022)

RAM Access Optimization Algorithm Oriented to Reconfigurable Compiling Technique

YANG Min, WU Yan-xia, GU Guo-chang, SUN Yan-teng   

  1. (College of Computer Science and Technology, Harbin Engineering University, Harbin 150001, China)
  • Online:2011-01-20 Published:2011-01-25

摘要:

在基于低层虚拟机的四层C-to-VHDL可重构编译架构上,针对RAM访问和设计执行性能之间的矛盾,提出一种RAM读取优化算法。通过对IR访存指令及数据相关性的分析,创建专用数据通路,优化RAM的访存过程。实验结果表明,该优化算法能够有效减少RAM访问次数。

关键词: C-to-VHDL可重构编译, FPGA设计, 低层虚拟机, RAM访问优化

Abstract:

Aiming at the conflict between the RAM access and the design performance, in the four layer C-to-VHDL reconfigurable compiling framework which is based on Low Level Virtual Machine(LLVM) framework, this paper proposes an optimization algorithm for RAM access. By analyzing the load and store instruction in LLVM’s IR and the data dependence, it creats a dedicated data path to optimize the process of reading and writing to RAM. Experimental results show that the optimized algorithm can effectively reduce the access number to RAM.

Key words: C-to-VHDL reconfigurable compiling, FPGA design, Low Level Virtual Machine(LLVM), RAM access optimization

中图分类号: