RCG: Retargetable Code Generation Methodology for Embedded Processors
Yang‐Hsin Fan, Trong‐Yen Lee, Tsung-Hsun Yang · Journal of Convergence Information Technology · 2011
Embedded systems tightly serve the needs of consumer electronics, home automation and portable devices. During the period of developing embedded systems, code generation is always seen a design challenge because every embedded processor has its own specific characteristic. In this paper, we propose a retargetable code generation (RCG) methodology which can generate retargetable C program for embedded processors. In addition, the generated code is further verified for time constraint with the global time, local time and kernel time. Finally, two design examples namely normal traffic light controller (NTLC) and four phases stepping motor control (FPSMC) are used to illustrate the feasibility in the embedded platform.