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

计算机工程 ›› 2008, Vol. 34 ›› Issue (3): 35-37. doi: 10.3969/j.issn.1000-3428.2008.03.013

• 博士论文 • 上一篇    下一篇

类PSO算法对DSP偏移分配问题的优化

孙冬艳,佟吉钢,赵加祥,陈增强   

  1. (南开大学信息学院,天津 300071)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-02-05 发布日期:2008-02-05

Optimization of Offset Assignment Problems for DSP with Quasi-PSO Algorithm

SUN Dong-yan, TONG Ji-gang, ZHAO Jia-xiang, CHEN Zeng-qiang   

  1. (College of Information Technical Science, Nankai University, Tianjin 300071)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-02-05 Published:2008-02-05

摘要: 用C语言编写DSP软件时,优化设计尤为重要。近年来提出了多种针对DSP代码生成阶段的偏移分配优化算法,这些算法通过调整局部变量在存储器中的布局来提高变量地址的计算效率。该文提出一种将微粒群算法与遗传算法相结合的算法(类PSO算法),对变量访问序列中各变量地址的分配进行优化,使计算地址所需的代码数量最小,从而减少程序的运行时间,提高DSP的工作效率。

关键词: 偏移分配, 类PSO算法, 微粒, 适应值

Abstract: Optimal design is significant when the DSP software is designed by C programming language. A number of different algorithms for optimized offset assignment in DSP code generation are developed recently, which aim at constructing a layout of local variables in memory, so that the addresses of variables can be computed efficiently. This paper presents a quasi-PSO optimization algorithm integrating PSO algorithm and genetic algorithm. The address assignment of each variable in the variable access sequence is optimized to maximize the use of auto-increment operations on address registers. This method minimizes the needed code for address computation, so as to maximize code speed and efficiency of DSP.

Key words: Offset Assignment(OA), quasi-PSO algorithm, particle, fitness

中图分类号: