DocumentCode :
1940235
Title :
Code generation for a DSP processor
Author :
Cheng, Wei-Kai ; Lin, Young-Long
Author_Institution :
Dept. of Comput. Sci., Tsinghua Univ., Beijing, China
fYear :
1994
fDate :
18-20 May 1994
Firstpage :
82
Lastpage :
87
Abstract :
Proposes a method for compiling an application program into microcodes of a programmable DSP processor. Since most state-of-the-art DSP processors feature some sort of parallel processing architectures, the code generation is a non-trivial task. Based on several scheduling and allocation techniques previously developed by the CAD community for high-level synthesis, we propose a DSP code generator. We emphasize reducing the memory access and register usage conflicts, which often lengthen the total execution time. Starting with an as-soon-as-possible scheduling, without regard to the resource constraints, we transform this illegal scheduling step-by-step into a legal one. In the meantime, registers are allocated and reallocated for variables, taking into account both memory access and register usage constraints. A software system called THEDA.DSPCG has been implemented and tested using a set of benchmark programs. Simulation of generated codes which are targeted towards the TI TMS320C40 DSP processor shows that the proposed approach is indeed very effective
Keywords :
digital signal processing chips; microprogramming; parallel architectures; parallel programming; program compilers; resource allocation; scheduling; storage allocation; CAD; DSP code generator; THEDA.DSPCG software system; Texas Instruments TMS320C40 DSP processor; allocation techniques; application program; as-soon-as-possible scheduling; benchmark programs; code generation; execution time; high-level synthesis; legal scheduling; memory access conflicts; microcodes; parallel processing architectures; programmable DSP processor; register allocation; register usage conflicts; registers reallocation; resource constraints; scheduling techniques; variables; Character generation; Digital signal processing; High level synthesis; Law; Legal factors; Parallel processing; Processor scheduling; Registers; Software systems; Software testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
High-Level Synthesis, 1994., Proceedings of the Seventh International Symposium on
Conference_Location :
Niagara-on-the-Lake, Ont.
Print_ISBN :
0-8186-5785-5
Type :
conf
DOI :
10.1109/ISHLS.1994.302337
Filename :
302337
Link To Document :
بازگشت