2002 · 34 citations · 13 references
EngineeringComputer EngineeringComputer ScienceComputer ArchitectureDesign AutomationEmbedded SystemsCode GenerationCompiler ConstructionInstruction Set ArchitectureMicroarchitecture DesignFunctional Modeling FormalismsModel-to-code GenerationProcessor SystemsRetargetable Code GenerationSelector Generation
Retargetability of code generators is a key challenge in embedded code generation. The paper proposes methods to automatically generate code selectors from externally specified processor models. The RECORD compiler derives all processor aspects needed for code generation directly from general HDL models, avoiding tool‑specific modelling formalisms. Experiments show that the approach yields rapid retargeting, enabling exploration of hardware‑software trade‑offs between processor architectures and program execution speed.
Besides high code quality, a primary issue in embedded code generation is retargetability of code generators. This paper presents techniques for automatic generation of code selectors from externally specified processor models. In contrast to previous work, our retargetable compiler RECORD does not require tool-specific modelling formalisms, but starts from general HDL processor models. From an HDL model, all processor aspects needed for code generation are automatically derived. As demonstrated by experimental results, short turnaround times for retargeting are achieved, which permits study of the HW/SW trade-off between processor architectures and program execution speed.
13