23
Workshop - November 2011 - Toulouse Paul Brelet TRT [email protected] Exploration and application deployment on a SoC: efficient application 24/11/2011 1

Exploration and application deployment on a SoC: efficient application

  • Upload
    wilona

  • View
    42

  • Download
    1

Embed Size (px)

DESCRIPTION

Exploration and application deployment on a SoC: efficient application. Paul Brelet TRT [email protected]. 24/11/2011. SoCKET Flow. System Requirements. System Properties. Global SoC Req. Metrics. Metrics. SoC Architecture. Traffic generator. HLS. - PowerPoint PPT Presentation

Citation preview

Page 1: Exploration and application deployment on a SoC: efficient application

Workshop - November 2011 - Toulouse

Paul Brelet [email protected]

Exploration and application deployment on a SoC: efficient application

24/11/2011 1

Page 2: Exploration and application deployment on a SoC: efficient application

SoCKET Flow

Global SoC Req.

SoCArchitecture

Functional validation

SW Performance Validation

C/C++/ASM

Functionality

Fonctionnalité +

timing

Instruction Set

Simulator

System Requirements

PlatformAssembly

MetricsHLS

SystemProperties

Hardwareproperties

Softwareproperties

TLMLT

TLMAT

Software

Software

Co-simulation/Co-emulation

Silicon SoftwareExecution

HLS

Trafficgenerator

Metrics

IP-XactSoC

Headersgeneration

RTL SoftwareR

eq

uir

em

en

ts t

raceab

ilit

y

2

Page 3: Exploration and application deployment on a SoC: efficient application

Use case TRT – Description App.Pedestrians detection

Algorithm of classification [Viola&Jones]

Two steps: Off-line: training by an image database On-line: detection by using the training results

Pedestrians tracking in an multi-camera environmentUse of the visual covering of the cameras in order to

carry out the trackingUtilization of descriptors of forms and/or colors in order

to improve the tracking and to manage occlusions

3Workshop - November 2011

Page 4: Exploration and application deployment on a SoC: efficient application

Thales use case – App. DescriptionSchematic view of the pedestrian detection

4Workshop - November 2011

Page 5: Exploration and application deployment on a SoC: efficient application

Thales use Case – ArchitectureHost Architecture details

5Workshop - November 2011

Page 6: Exploration and application deployment on a SoC: efficient application

Thales use Case – ArchitectureAccelerator details (Engine)

6Workshop - November 2011

Page 7: Exploration and application deployment on a SoC: efficient application

Thales use Case – Flow

Host Definition: IP-XACT requirements

SystemC/TLM generation

VHDL generation

Architecture Model generation for SPEAR

7Workshop - November 2011

Page 8: Exploration and application deployment on a SoC: efficient application

Thales use Case – Flow Exploration and Simulation:

Architecture SystemC Model generation Architecture Model generation for SPEAR Catch the application on SPEAR C code exists for each SPEAR box (TE) Test of various strategies of application deployment:

Exploration of the level of granularity How calculations are paralleled and which divisions data can be apply to minimize the I/O and to reach the performances

The accelerators are simulated in SystemC from TE C codes

8Workshop - November 2011

Page 9: Exploration and application deployment on a SoC: efficient application

Phase 1: Architecture ExplorationLibrary: SystemC2.2 / TLM2.01

Tools: - SPEAR DE, - Magillem: Packager, Platform Assembly,

MRV Generator.

Validation: Transactional Level.

Links: - IPXACT_2_SPEAR Generator (XSLT Script).

9Workshop - November 2011

Page 10: Exploration and application deployment on a SoC: efficient application

IP-XACTlibrary

IPs

Template JET

Packager MDS

PLT Assembly MDS

TETE

Exploration/ Validation

SpearTE

Spear Applicatio

n

IO API

Spear Model

SystemC Skeleton

client

MRV Generator

IPXACT 2 SPEAR

KO

OK

Thales Flow: Exploration

10Workshop - November 2011

Page 11: Exploration and application deployment on a SoC: efficient application

Phase 2: HW Design Level: RTL.

Tools: - GAUT: Apply on accelerator engines. - Magillem: Packager, Platform Assembly,

Generator Studio. - SPEAR DE: Mapping Validation : Register Level.

Links : - Scripts « bash ».

11Workshop - November 2011

Page 12: Exploration and application deployment on a SoC: efficient application

Template JET

HAL

SystemC Skeleton client

GAUT

VHDL Acc. client

TE

IP-XACTlibrary

PLT Assembly MDS

Application

Spear

Netlister MDS

Vhdl

FPGA

MRV Generator

Generator Studio

Generic client

Validation

Thales Flow: RTL Validation

12

Page 13: Exploration and application deployment on a SoC: efficient application

SPEAR DE ToolSPEAR Flow

Application Architecture

Parallelism

Task parallelism

Data parallelism

Tim e / Space

Optim izations

Code generation

M odel

Parallelized application

Functional application

Architecture m odel

Pragmas code/ accelerators

Virtual M achine

SPEAR

Target Architectures (ex: M PPA, G PU)

13Workshop - November 2011

Page 14: Exploration and application deployment on a SoC: efficient application

MAGILLEM ToolRTL Level:

- Bus interface, components creation, link between components: ditto TLM.

VHDL code generation:

- Using generics.

- The code is readable by an individual.

- Inter-connects are taken into account during the VHDL code generation.

14Workshop - November 2011

Page 15: Exploration and application deployment on a SoC: efficient application

GAUT ToolThe C code:

- The C code must be very close to VHDL code.

- Based on gcc4.3.0 for the “cdfgcompiler”Comparison with commercial tools:

- Roccc, ImpulseC.

Some troubles during VHDL code generation:

- The generated code can be synthesizable but it does not work well in placement/routing.

15Workshop - November 2011

Page 16: Exploration and application deployment on a SoC: efficient application

Using graphic interface

16Workshop - November 2011

Page 17: Exploration and application deployment on a SoC: efficient application

Using Bash Script

17Workshop - November 2011

Page 18: Exploration and application deployment on a SoC: efficient application

VHDL code generation

18Workshop - November 2011

Page 19: Exploration and application deployment on a SoC: efficient application

DFG Visualization

Page 20: Exploration and application deployment on a SoC: efficient application

Comparison: VHDL code generation

Principe

Results

Minimum between two images

3X3 Convolution Integral Image

20Workshop - November 2011

Page 21: Exploration and application deployment on a SoC: efficient application

OutlinesTo propose the projections of the tools for synthesis: - GAUT is an academic alternative compared to

industrial tools. - MAGILLEM makes it possible to re-use the

IPs blocks.

To consolidate the Thales Design Flow.

To transfer the Thales Design flow to an operational level.

21Workshop - November 2011

Page 22: Exploration and application deployment on a SoC: efficient application

ConclusionTo re-use the IPs blocks:

- Time-saver and productivity in the design of System on Chip.

Validity of new Architecture:

- Allow to check the information processing applications on the desired architecture.

22Workshop - November 2011

Page 23: Exploration and application deployment on a SoC: efficient application

Questions?

23Workshop - November 2011