MARTE ... - Teisa Unican

1 downloads 0 Views 741KB Size Report
Sep 16, 2010 - from UML/MARTE Models of. / C. l f. IP/XACT HW Platform. Descriptions for Multi-Level p. Performance Estimation. F. Herrera. E. Villar. Slide 1.
A Framework for the Generation from UML/MARTE Models of IP/XACT / C HW Platform l f p for Multi-Level Descriptions Performance Estimation F. Herrera E. Villar

FDL‘11

16/09/2010

© GIM- University of Cantabria

Slide 1

Outline • • • • •

Motivation Objectives Marte to IP/XACT Generator (MartIX) Example Conclusions

‘11

Slide 2

Motivation: UML/MARTE related flow in COMPLEX Application pp

pp g Mapping

HW/SW platform l tf

DSE parameters and rules

Other generators

C/C++ C/C++ C/C++

plat_d1

‘11

+

xml

cross- toolkit .elf

MARTIX

Makefile

Abstract SystemC PDM

Fast DSE

plat_d1

plat_d2

Magillem + Soclib

ISS-based SystemC PDM

Slide 3

SCoPE • www.teisa.unican.es/scope • Performance Estimation of MPSoC with NoC

– Native Source Simulation • Main M i F Features t

– Output: • Performance Figures: g Time, Power, CPU usage, g Temperature,… p

– FAST: • Time estimation speed-up = 5 vs Virtualization / 100 vs ISS • Power P estimation ti ti speed-up d = NA vs Vi Virtualization t li ti / 500 vs ISS

– Input: • • • •

‘11

Application pp HW/SW architecture, MPSoC with NoC Output Metrics IP/XACT description of HW Platform Slide 4

.xml File

.xml file



VLNV







VLNV < i it l e>

• Functional Information: vendorExtensions …

‘11

– SPRINT (SCIPIV) context labels • isProcessorComponent • isBusComponent • isInternalComponent Slide 5

Objectives j

‘11

• • • •

Standard St d d Format F t (in (i SW) Graphical, User Friendly Portable (Capture Tools) Embedded (MARTE)

• • • •

Extract Hw Platform Automatic Integration in a DSE framework P t bl (G Portable (Generation ti E Environments) i t )

• • •

Standard Format (in HW) T Traceability bilit Potential Scalability

Slide 6

COMPLEX UML/MARTE Model • Data view • Functional view

• C&C view

• Platform view

• Architectural A hit t l view i

‘11

Slide 7 2011-01-19

UML/MARTE Model: Platform View • Declaration of System Components

SW Components

HW Components

‘11

Slide 8

UML/MARTE Model: Architectural View App. Instances

Application

SW plat. Instances

Platform HW plat. Instances

‘11

Slide 9

Fundamental Mapping pp g Rules Architectural View ( Package) System Component ( Component) Component Instance (Part) ( Component) (Connector)

(Port)

Platform View SW Component Hw Component ( Component)

Model



VLNV





< i it



MyCustomIP.xml



modelex_hw_p platform.xml

‘11

Slide 10

Example p • Platform a o View e – HW Components

• Architectural View – HW Architecture

‘11

Slide 11

Inference of Interconnection

Platform View

conn1

Architectural View

conn1

modelex_hw_platform.xml

‘11

• Inference of Master/Slave Role

Slide 12

Inference of Multiple p Instances • Compact Co pac Model ode • Inference from MARTE resMult stereotype • Infere multiple instances and their corresponding interconnections

Platform View

conn0

Architectural View

proc_cluster_1 … proc_cluster_2 … conn0_1 … conn0_2 … modelex_hw_platform.xml

‘11

Slide 13

Inference of Configurable g Descriptions p • Inference e e ce from o COMPLEX CO stereotypes s e eo ypes for o DSE S

Architectural View

mem _MEMORYSIZE_ ... modelex_hw_platform.xml

‘11

Slide 14

Multi-Level support: Inference of SCoPE component instances • Default inference of instances of SCoPE components – SCoPE VLNV – Context Labels (within vendorExtensions) UML/MARTE

Infered IPXACT entry

Component Type of Part

SCoPE VLNV

Context label

HwProcessor

proc

isProcessorComponent

HwBus

bus

isNetworkComponent

HwMemory, HwRAM, HwROM

mem

isInternalComponent

Other components

part name

isInternalComponent

‘11

Slide 15

Multi-Level support: Inference of SCoPE component instances • e.g., e g SCoPE bus b s component infe inference ence

Platform View

Architectural View

bus < t ti N t kC t/> modelex_hw_platform.xml

‘11

Slide 16

Multi-Level support: Inference of IP/XACT component instances • Support third party components with IP/XACT wrapper • IP/XACT stereotype (VLNV identifier) overides default inference of SCoPE VLNV

Platform View

Architectural View

mem1 modelex_hw_platform.xml

‘11

Slide 17

Standard and Portable Implementation p • Template based Implementation – MTL standard language – Portable Generator • Several transformation engines (AcceleoMTL, Xpand, Jet) [module martix('http://www.eclipse.org/uml2/3.0.0/UML')/] [template public matrix(m : Model)] ... [/template]

‘11

Slide 18

Other Features • XML Comments for tracing generation • Checks of error conditions – dump errors as XML comments – dump errprs to COMPLEX console

‘11

Slide 19

Implementation p • Integrated g Framework

• Modelling – PapyrusMDT • MARTE P Profile fil • COMPLEX Profile

• Generation – AcceleoMTL

‘11

Slide 20

Example p • Integration in COMPLEX framework

• Standalone Plugin

‘11

Slide 21

Conclusions • Automatic Generation from (COMPLEX) UML/MARTE models of IP/XACT descriptions – Multi-Level: for fast DSE, for Performance Validation, for Implementation

• Other Features – Portable to different generation environments (supporting MTL) – Integrated g in ((COMPLEX)) Eclipse p DSE Environment

• Future – Compatibility with Maguillem tools

‘11

Slide 22

Thanks • For your attention • More Information: – Authors: {fherrera, evillar}@teisa.unican.es – UC/GIM: www.teisa.unican.es/gim – Complex: http://complex.offis.de

‘11

C

OMPLEX

Slide 23