Research on Compiler of Coarse-grain Reconfigurable Array Processor

Author
ZuoYanHui
Advisor
ZuoYong
School
National University of Defense Science and Technology
Major
Computer Science and Technology
Classification
TP332 Arithmetic unit and the controller (CPU)
Degree
Master's thesis
Year
2008
Downloads
70
Citations
2

Request the full text

Abstract

In recent years, coarse-grained reconfigurable architectures have become increasingly important alternatives for accelerating compute-intensive applications. More and more coarse-grained reconfigurable architectures have been proposed. Coarse-grained reconfigurable architectures become important due to its combination of the advantages of both ASICs and general processors. However, the problem how to mapping applications automatically and efficiently onto processing elements is still to be resolved. Undoubtedly, if all applications are mapped on hardware manually, the workload of application will greatly increase and resoures utilization rate will probably lower.According to these problems, this paper finds out methods to map programs on the loop based coarse-grained reconfigurable architecture, then a compiler of LEAP(Loop Engine on Array Processor), which realize that mapping loops on reconfigurable array automatically, is designed and implemented.LEAP Compiler implements the“Based on Intermediate Format”design scheme, which can get program information through analyzing the intermediate format of object program but not its source code. In order to gain the loops information in the source program, this paper introduces the general approach to automatically distinguish loops from the LANCE intermediate representation of the program and analyse loops structure characteristic, and has implemented the two functional modules.Aimed at reconfigurable array structure of LEAP and instruction structure, the method of logicly mapping loops on LEAP is proposed and logical mapping tool for LEAP processor has been implemented. Regarding flow dependence, anti-dependence, input dependence and flow dependence within iteration, this article proposes these methods which solve these data dependence when logical mapping on array architecture, and the methods have been integrated reasonably when realized the logical mapping tool. So the problem of data dependence has been solved effectively.In order to implement physically mapping of data flow graph on LEAP, the methods of simultaneous layout and wiring, optimize layout with the simulation annealing algorithm and the multi-configuration binary files producer has been proposed, and the physical mapping tool has been implemented with these methods.To demonstrate the effectiveness and superiority of LEAP Compiler, this paper selects some typical loops of scientific computing and media processing,and then map these loops on the LEAP architecture by LEAP Compiler and the manual way separately, and do the contrastive analysis to the two mapping results. Outcome of the test shows that the LEAP Compiler works correctly. And it is designed logically and implemented effectively.

Table of contents

Abstract 10-11 ABSTRACT 11-12 first chapter 12-17 1.1 Background 12-13 1.1.1 the reconfigurable computing 12-13 1.1.2 coarse-grained reconfigurable architecture 1.2 coarse-grained reconfigurable architecture-LEAP 13-14 the 1.3 research content and results 14-16 1.3.1 research 14-16 1.3.2 research 16 1.4 thesis structure 16-17 the second chapter LEAP coarse-grained reconfigurable array processor 17-28 2.1 LEAP's basic structure and main features 17-18 2.1.1 LEAP basic structure 17-18 2.1.2 LEAP's main features 18 2.2 LEAP processing unit 18-20 2.2.1 storage processing unit 18-19 2.2.2 calculation processing unit 19-20 2.3 LEAP cycle mapping 20-21 2.4 LEAP's configuration and Reconstruction 21-24 2.4.1 LEAP configuration 21-22 2.4.2 LEAP three configurations stream 22-24 2.4.3 LEAP reconstructed 24 2.5 LEAP Description Language 24-26 2.6 LEAP configuration flow example 26-27 2.7 This chapter Summary 27-28 overall design the LEAP compiler tools 28-37 3.1 design 28-31 3.1.1 compiler tool design strategy 28-30 3.1.2 design ideas 30-31 3.2 LEAP compiler tool overall process design 31 3.3 LEAP compiler tool function module design 31-32 3.4 design platform LANCE2 Introduction 32-36 3.4.1 Design Platform select 32-33 3.4.2 LANCE2 the main features of the system 33-34 the 3.4.3 LANCE2 system structure and workflow 34 3.4.4 LANCE intermediate said 34-36 3.5 This chapter Summary 36-37 Chapter recycling program logic mapping 37-57 4.1 basic cycle morphology 37-39 4.2 loop abstraction and modeling 39-41 4.2.1 cycle abstract 39-40 4.2.2 circulation models 40-41 4.3 logical mapping 41-48 4.3.1 storing information data structure 42-43 4.3.2 Positioning cycle identify induction variables 43-45 4.3.3 generic repository structure 45-47 the 4.3.4 generated LEAP logical connection between 47-48 4.4 data stream processing 48-56 4.4.1 basic concepts related to data 48-50 4.4.2 Data analysis overview 50-51 4.4.3 data forward pass window 51-53 4.4.4 algorithm to find an array of related information 53-56 4.5 of this chapter Summary 56-57 Chapter cycle program physical mapping 57-66 5.1 layout algorithm 57-61 5.1.1 layout algorithm overall block diagram 57-58 5.1.2 layout algorithm input interface 58 5.1.3 use of constructed tree to generate the initial layout 58-60 5.1.4 using the simulated annealing algorithm to improve 60-61 5.2 routing algorithms 61-62 The basic idea of ??the 5.2.1 routing algorithms 61 5.2.2 algorithm improvement 61-62 5.2.3 wiring example 62 5.3 multi-configuration binary file generation tool 62-65 5.4 test results 65 5.5 Chapter Summary 65-66 Chapter compiler tool testing and verification 66-74 6.1 test program 66-67 6.2 LIVERMORE FORTRAN KERNELS core circulation 67-69 6.2.1 Kerne15 67-68 6.2.2 Kerne114 68-69 6.3 MEDIABENCH core circulation 69-73 6.3.1 quantization algorithm 69-70 6.3.2 Rasta algorithm 70-71 6.3.3 Mesa algorithm 71-73 6.4 This chapter Summary 73-74 Chapter VII Conclusion 74-76 7.1 work summarizes 74-75 7.2 Job Outlook 75-76 Acknowledgements 76-77 the References 77-80 the author achieved academic achievements during the study period 80

Related dissertations

  1. The Applied Research on Forming Method of WBS and Information Integration in Complex Products Manufacturing
  2. The Research on Conscious Immersion
    WuRuoZuo ·Hebei Normal ·2013 ·Master's thesis
  3. Tree Segmentation-Based Ontology Mapping
  4. Research of Ontology-based Heterogeneous Data Integration
    PanJiaYun ·Donghua University ·2013 ·Master's thesis
  5. Research and Implementation of Key Technologies for YHFT-Matrix Compiler Based on GCC
  6. The Design and Implementation of a Complier for SCADA Based on C
  7. Backend Porting for CSKY Based on LLVM Compiler Infrastructure
    HuMin ·Zhejiang University ·2014 ·Master's thesis
  8. Research on XML Conceptual Model and Internal Transformation Method
    HanMuXun ·Harbin Engineering University ·2013 ·Master's thesis
  9. Research on UPM Modeling and Mapping for Enterprise Interoperability
    WeiQun ·Hebei University of Technology ·2012 ·Doctoral dissertation
  10. Study on Restructuring Model Based on the Contents of XML Structure Fragmentation
  11. Design and Optimization of Solid State Storage System Based on Nand Flash
  12. Establishment and Verification of the Timing and Power Consumption Model for the Embedded SRAM Compiler
    GongCai ·Anhui University ·2014 ·Master's thesis
  13. The Embedded SRAM Compiler Design and IP Verification
    LiuXiaoQing ·Anhui University ·2014 ·Master's thesis
  14. Researcli on Rules and Methods of Information Mapping of Entity’s Physical Space and Cyberspace
    JiangYaLi ·Dalian Polytechnic University ·2012 ·Master's thesis
  15. Research on Key Technologies of Mobility Management in Universal Identifier Networks
    QiuFeng ·Beijing Jiaotong University ·2012 ·Doctoral dissertation
  16. Performance Optimization of Network-on-Chips with Accelerating Network
    ShaoJingCheng ·Zhejiang University ·2014 ·Master's thesis
  17. Zither Sad Music Beauty
    WangJun ·Northwest University for Nationalities ·2013 ·Master's thesis
  18. A Study on Chinese Translation of Metaphors in Barack Obama's Political Speeches
    TangZuo ·Guangzhou University ·2013 ·Master's thesis
  19. Metaphors of Lahu Vocabulary
    ZhangJun ·Yunnan Nationalities University ·2013 ·Master's thesis
  20. A Study of Cognitive Mechanism of Imagery in Cognitive Poetics