13
Berlin, Germany – January 21st, 2013 A2B: A FRAMEWORK FOR FAST PROTOTYPING OF RECONFIGURABLE SYSTEMS Christian Pilato , R. Cattaneo, G. Durelli, A.A. Nacci, M.D. Santambrogio, D. Sciuto Politecnico di Milano Dipartimento di Elettronica. WORKSHOP ON RECONFIGURABLE COMPUTING (WRC)

A2B: a Framework for Fast Prototyping of Reconfigurable Systems

  • Upload
    tokala

  • View
    47

  • Download
    0

Embed Size (px)

DESCRIPTION

Workshop on Reconfigurable Computing (WRC). A2B: a Framework for Fast Prototyping of Reconfigurable Systems. Christian Pilato , R. Cattaneo, G. Durelli, A.A. Nacci, M.D. Santambrogio, D. Sciuto Politecnico di Milano Dipartimento di Elettronica. Informazione e Bioingegneria, Italy. - PowerPoint PPT Presentation

Citation preview

Page 1: A2B: a Framework for Fast Prototyping of  Reconfigurable Systems

Berlin, Germany – January 21st, 2013

A2B: A FRAMEWORK FOR FAST PROTOTYPING OF

RECONFIGURABLE SYSTEMSChristian Pilato , R. Cattaneo, G. Durelli,

A.A. Nacci, M.D. Santambrogio, D. SciutoPolitecnico di Milano

Dipartimento di Elettronica. Informazione e Bioingegneria, Italy

WORKSHOP ON RECONFIGURABLE COMPUTING (WRC)

Page 2: A2B: a Framework for Fast Prototyping of  Reconfigurable Systems

Berlin, Germany – January 21st, 2013

2Motivations

The design of reconfigurable systems is a difficult taskInteractions between the different phases have to be taken into account

Decision in the frontend phase may highly affect the backend implementation

E.g.: Mapping onto reconfigurable regions and floorplacing of the tasks may generate low-quality solutions due to a wrong partitioning or assignment of implementations

The optimal design methodology (and the number of its iterations) cannot be known in advance

A2B is an ongoing project at Politecnico di Milano to assist the design of such complex systems

Page 3: A2B: a Framework for Fast Prototyping of  Reconfigurable Systems

Berlin, Germany – January 21st, 2013

3Agenda

Framework Overview

How do we explore the design space?

How do we generate a design solution?

Conclusions and Future Work

Page 4: A2B: a Framework for Fast Prototyping of  Reconfigurable Systems

Berlin, Germany – January 21st, 2013

4Framework Overview

Evaluation

Exploration Inputs:

Information about the target device (.XML)Application source files (.C)

Decision Making (Exploration):Task graph generationLibrary generationMapping, Scheduling, FloorplacingArchitectural modification

Refinement (Evaluation):Specification of the platformGeneration of the SW code

Output:Project files ready for the synthesiswith back-end tools

Page 5: A2B: a Framework for Fast Prototyping of  Reconfigurable Systems

Berlin, Germany – January 21st, 2013

5XML Exchange Format

The entire project can be represented through an XML file

Architecture: components’ characteristics (e.g., reconfigurable regions), …Applications: source code files and profiling informationLibrary: task implementations with the characterization (time, resources, ...)Partitions: task graph, mapping and scheduling, …

It allows a modular organization of the framework, but also the sharing of information among the different phases

The phases can be applied in any order to progressively optimize the designThe designer can perform as many iterations as he/she wants to refine the solution

Specific details of the target architecture are taken into account only in the refinement phase (interactions with backend tools)

Page 6: A2B: a Framework for Fast Prototyping of  Reconfigurable Systems

Berlin, Germany – January 21st, 2013

6Task Graph and Library Generation

Application source code files can be analyzed to extract the task graphs

Profiling information can drive the generation of such solutions

Task graph will be then specified in the XML file as processing nodes connected by data transfers

Currently they can be designed by hand, but automated methodologies for automatic parallelization will be investigated in the futureTransformations to improve the description by splitting/merging the tasks

LLVM-based compiler to extract the DFG of each taskEstimation of required resources (including bit-width analysis)Interaction with HLS synthesis tools to obtain more accurate results

Generated implementations are then store in the XML file to offer opportunities to the mapping phase and information to the floorplacer

Page 7: A2B: a Framework for Fast Prototyping of  Reconfigurable Systems

Berlin, Germany – January 21st, 2013

7Mapping, Scheduling and Floorplacing

We generate one or more configurations where each task of the applications is analyzed and assigned to

An available and admissible implementation A component of the architecture (e.g., processor or reconfigurable region)

This supports to“share” implementations across different tasks (hardware sharing)move a task implementation to another processing element at run-time (task relocation)

Tasks assigned to the same reconfigurable region are analyzed to determine its constraints and requirement of resources

Floorplacing of the regions to determine their positions and the feasibility of the mapping

Page 8: A2B: a Framework for Fast Prototyping of  Reconfigurable Systems

Berlin, Germany – January 21st, 2013

8Architecture Exploration

An additional step can be included to explore the target architecture

Adding/removing processing elementsModifying their parametersDetermining the proper interconnection topology

It can affect:task graph transformations and library generationmapping and floorplacing: modification to the computational resources (especially the number of reconfigurable regions)

It allows a progressive refinement of the solution and a concurrent customization of both architecture and application

E.g.: mapping and floorplacing can suggest which resources should be added

Page 9: A2B: a Framework for Fast Prototyping of  Reconfigurable Systems

Berlin, Germany – January 21st, 2013

9Supported Platforms

Virtex-5 XC5VLX110TTwo XCF32P Platform Flash PROMs (32Mbyte each) SystemACE™ Compact Flash configuration controller64-bit wide 256Mbyte DDR2 small outline DIMM (SODIMM)

MPC Research Platform MaxWorkstation

Intel i7 [email protected], 16GB RAM, 500GB HDDMax3 dataflow engine (DFE)Virtex 6 SX475T FPGA, 24GB memoryDFE connected to CPU via PCI Express gen2 x8

XUPV5

Reconf. Area

DDR2(256MB)CPU0

CPU1

CPUCPUCPUCPU

MAX3 DFE

DRAM(16GB)

Interface FPGA Compute

FPGA

DRAM (24GB)

Page 10: A2B: a Framework for Fast Prototyping of  Reconfigurable Systems

Berlin, Germany – January 21st, 2013

10Solution Refinement for the Target Platforms

CPU Compiler

.c .xml

Bitstream Generation

HLS (MaxJ-VHDL)

- Source code for CPU- DFGs for HW tasks- Mapping configurations

Bitstream Generation

exec bin bit bit

Manual VHDL Implementations

DFG-C

HLS (C-VHDL)

Manual MaxJ Implementations

FPGA-based embedded system MaxWorkstation

The code can be always further optimized by

hand; e.g., glue code for data transfers

MaxIDE

DFG-MaxJ

Page 11: A2B: a Framework for Fast Prototyping of  Reconfigurable Systems

Berlin, Germany – January 21st, 2013

11Graphical User Interface (GUI)

Practical GUI to support the designer, to limit the errors in the interactions with the XML and to allow custom design methodologies

Page 12: A2B: a Framework for Fast Prototyping of  Reconfigurable Systems

Berlin, Germany – January 21st, 2013

12Conclusions and Future Work

A2B is a modular framework to design reconfigurable systems

Easy to plug alternative methods for each of the phasePossibility to perform progressive refinement of both application and architecture

A2B is becoming part of a larger project (ASAP – Advanced Synthesis of Applications and Platforms)

Refinement will also include the generation of SystemC TLM models of the target system for (co-)simulation and early validationCloser interaction with actual synthesis (e.g., high-level synthesis)Automated methodologies to accelerate the design

Our goal is to make them available to the community (open-source)

as soon as possible (a.k.a. ASAP)!

Page 13: A2B: a Framework for Fast Prototyping of  Reconfigurable Systems

Berlin, Germany – January 21st, 2013

Thank you! Christian Pilato

[email protected]

Research partially funded by the European Community’s Seventh Framework Programme, FASTER

project.