Retargetable code generation based on structural processor descriptions

被引:13
|
作者
Leupers, R [1 ]
Marwedel, P [1 ]
机构
[1] Univ Dortmund, Dept Comp Sci 12, D-44221 Dortmund, Germany
关键词
retargetable compilation; processor modelling; embedded code generation;
D O I
10.1023/A:1008807631619
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Design automation for embedded systems comprising both hardware and software components demands for code generators integrated into electronic CAD systems. These code generators provide the necessary link between software synthesis tools in HW/SW codesign systems and embedded processors. General-purpose compilers for standard processors are often insufficient, because they do not provide flexibility with respect to different target processors and also suffer from inferior code quality. While recent research on code generation for embedded processors has primarily focussed on code quality issues, in this contribution we emphasize the importance of retargetability, and we describe an approach to achieve retargetability. We propose usage of uniform, external target processor models in code generation, which describe embedded processors by means of PT-level netlists. Such structural models incorporate more hardware details than purely behavioral models, thereby permitting a close link to hardware design tools and fast adaptation to different target processors. The MSSQ compiler, which is part of the MIMOLA hardware design system, operates on structural models. We describe input formats, central data structures, and code generation techniques in MSSQ. The compiler has been successfully retargeted to a number of real-life processors, which proves feasibility of our approach with respect to retargetability. We discuss capabilities and limitations of MSSQ, and identify possible areas of improvement.
引用
收藏
页码:75 / 108
页数:34
相关论文
共 50 条
  • [1] Retargetable Code Generation Based on Structural Processor Description
    Rainer Leupers
    Peter Marwedel
    Design Automation for Embedded Systems, 1998, 3 : 75 - 108
  • [2] A graph based processor model for retargetable code generation
    VanPraet, J
    Lanneer, D
    Goossens, G
    Geurts, W
    DeMan, H
    EUROPEAN DESIGN & TEST CONFERENCE 1996 - ED&TC 96, PROCEEDINGS, 1996, : 102 - 107
  • [3] VERIFICATION OF HARDWARE DESCRIPTIONS BY RETARGETABLE CODE GENERATION
    NOWAK, L
    MARWEDEL, P
    26TH ACM/IEEE DESIGN AUTOMATION CONFERENCE, 1989, : 441 - 447
  • [4] Retargetable generation of code selectors for HDL processor models
    Leupers, R
    Marwedel, P
    EUROPEAN DESIGN & TEST CONFERENCE - ED&TC 97, PROCEEDINGS, 1997, : 140 - 144
  • [5] PROLOG BASED RETARGETABLE CODE GENERATION
    GANAPATHI, M
    COMPUTER LANGUAGES, 1989, 14 (03): : 193 - 204
  • [6] Code-based test generation for validation of functional processor descriptions
    Baray, F
    Codognet, P
    Diaz, D
    Michel, H
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, PROCEEDINGS, 2003, 2619 : 569 - 584
  • [7] Processor modeling and code selection for retargetable compilation
    Van Praet, J
    Lanneer, D
    Geurts, W
    Goossens, G
    ACM TRANSACTIONS ON DESIGN AUTOMATION OF ELECTRONIC SYSTEMS, 2001, 6 (03) : 277 - 307
  • [8] RETARGETABLE COMPILER CODE GENERATION
    GANAPATHI, M
    FISCHER, CN
    HENNESSY, JL
    COMPUTING SURVEYS, 1982, 14 (04) : 573 - 592
  • [9] INTEGRATING INTERMEDIATE CODE OPTIMIZATION WITH RETARGETABLE CODE GENERATION
    ACCOMAZZO, E
    ANCONA, M
    BOBBIO, R
    CAGNASSI, C
    PAOLIN, L
    MICROPROCESSING AND MICROPROGRAMMING, 1990, 30 (1-5): : 475 - 481
  • [10] Retargetable Automatic Generation of Compound Instructions for CGRA based Reconfigurable Processor Applications
    Miniskar, Narasinga Rao
    Kohli, Soma
    Park, Haewoo
    Yoo, Donghoon
    2014 INTERNATIONAL CONFERENCE ON COMPILERS, ARCHITECTURE AND SYNTHESIS FOR EMBEDDED SYSTEMS (CASES), 2014,