【24h】

Multi-target DSP compiler

机译:多目标DSP编译器

获取原文
获取原文并翻译 | 示例
       

摘要

A multi-target DSP compiler is presented. This compiler can generate assembler codes for a user-selected DSP among multiple target DSPs registered in database. The compiler uses the same frontend and the computational ordering modules in the existing DSP compiler for digital signal processing algorithms. A code generation module together with rule database is newly introduced. The code generation module consists of 4 phases; i.e. serial-code generation, memory allocation and addressing operation assignment, code parallelization, and code optimization. In each phase, rule database is refered to find appropriate code generation rules for a target DSP name and types of intermediate codes. Users can easily add rules for a newcoming DSPs into the database. The proposed compiler is written in C++, and works on PC. An example rule database is prepared for 4 different types of DSPs, i.e. μ PD77230A(NEC), TMS320C3x, TMS320C5x(TI), 56000 (Motorola). For each target DSP, codes for several example programs are generated. The result shows that the multi-target compiler is comparable to the previous compiler in terms of code efficiency.
机译:提出了一个多目标DSP编译器。此编译器可以在数据库中注册的多个目标DSP中生成用于用户所选DSP的汇编器代码。编译器使用现有DSP编译器中的相同前端和计算排序模块进行数字信号处理算法。新引入了一个代码生成模块与规则数据库一起。代码生成模块由4个阶段组成;即串行代码生成,内存分配和寻址操作分配,代码并行化和代码优化。在每个阶段,参考规则数据库,以查找目标DSP名称和中间代码类型的适当代码生成规则。用户可以轻松地将Newcoming DSP的规则添加到数据库中。建议的编译器是用C ++编写的,并在PC上工作。准备了一个示例规则数据库,用于4​​种不同类型的DSP,即μPD77230A(NEC),TMS320C3X,TMS320C5X(TI),56000(摩托罗拉)。对于每个目标DSP,生成用于若干示例程序的代码。结果表明,在代码效率方面,多目标编译器与先前的编译器相当。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号