processing in digital media technologies september 4th-6th ... · design space exploration and...

58
8 th International Symposium on Image and Signal Processing and Analysis - 2013 September 4th-6th, 2013, Trieste, Italy Special Session on Hardware-software Co-design Methodologies for Streaming Processing in Digital Media Technologies Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo, Carlo Sau and Luigi Raffo EOLAB - Microelectronics Lab DIEE - Dept. of Electrical and Electronic Eng. University of Cagliari - ITALY

Upload: others

Post on 09-Oct-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

8th International Symposium on Image and Signal Processing and Analysis - 2013

September 4th-6th, 2013, Trieste, Italy

Special Session on Hardware-software Co-design Methodologies for Streaming Processing in Digital Media Technologies

Design Space Exploration and Profiling of

Multi-Context Coarse-Grained

Reconfigurable Systems

Francesca Palumbo, Carlo Sau and Luigi Raffo

EOLAB - Microelectronics Lab

DIEE - Dept. of Electrical and Electronic Eng.

University of Cagliari - ITALY

Page 2: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

Outline

• Introduction

• Background

• Research Evolution

• MDC Approach

• Problem Definition

• The MDC DSE and profiler

• Combinations Generator

• Low-level Feedback Analysis

• Experimental Results

• Design Under Test

• Pareto Analysis

• Final Remarks

Page 3: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

Background

• Systems and applications on the market are becoming every

day more complex and power hungry.

• Flexibility, Portability, wearability, implantability, battery life

limits, real-time along with computational correctness needs

to be taken into account.

ICT TRENDS

•Ubiquitous access

•Personalized services

•Delocalized computing and storage

•Massive data processing systems

•High-quality virtual reality

•Intelligent sensing

•High-performance real-time

embedded computing

EXAMPLES

•Domestic robot

•Telepresence

•The car of the future

•Aerospace and avionics

•Human ++

•Computational science

•Realistic games

•Smart camera networks

SOURCE: http://www.hipeac.net/roadmap

Page 4: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

Background

• Systems and applications on the market are becoming every

day more complex and power hungry.

• Flexibility, Portability, wearability, implantability, battery life

limits, real-time along with computational correctness needs

to be taken into account.

SOURCE: http://www.hipeac.net/roadmap

INTEGRATION, SPECIALIZATION and HIGH PERFORMANCE

REQUIREMENTS

in such

COMPLEX COMPUTATIONAL HUNGRY ENVIRONMENTS

has threatened the

TRADITIONAL DESIGN FLOW.

Page 5: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

Research Evolution

Reconfigurable Video Coding modularity coupled with hw

reconfiguration has been exploited to efficiently map on

an unique substrate multiple applications (Multi-Dataflow

Composer tool).

Page 6: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

• High-level dataflow combination tool, front-end

of the actual MDC tool. [DASIP 2010]

Research Evolution

Reconfigurable Video Coding modularity coupled with hw

reconfiguration has been exploited to efficiently map on

an unique substrate multiple applications (Multi-Dataflow

Composer tool).

Page 7: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

• High-level dataflow combination tool, front-end

of the actual MDC tool. [DASIP 2010]

• Multi-Dataflow Composer (MDC) tool: concrete

definition of the hardware template and of the

D-MoC based mapping strategy. [DASIP 2011,

JRTIP]

Research Evolution

Reconfigurable Video Coding modularity coupled with hw

reconfiguration has been exploited to efficiently map on

an unique substrate multiple applications (Multi-Dataflow

Composer tool).

Page 8: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

• High-level dataflow combination tool, front-end

of the actual MDC tool. [DASIP 2010]

• Multi-Dataflow Composer (MDC) tool: concrete

definition of the hardware template and of the

D-MoC based mapping strategy. [DASIP 2011,

JRTIP]

• Integration of the full high-level to hw

composition and generation framework. [ISCAS

2012]

Research Evolution

Reconfigurable Video Coding modularity coupled with hw

reconfiguration has been exploited to efficiently map on

an unique substrate multiple applications (Multi-Dataflow

Composer tool).

Page 9: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

MDC Approach: basics

[SOURCE: http://orcc.sourceforge.net/]

Modular Dataflow Formalism HW Platform

1:1

Page 10: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

MDC Approach: basics

[SOURCE: http://orcc.sourceforge.net/]

Modular Dataflow Formalism HW Platform

Coarse Grained Reconfigurable

HW Platform

1:1

2:1

Modular Dataflow Formalism

Page 11: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

MDC Approach: basics

[SOURCE: http://orcc.sourceforge.net/]

Modular Dataflow Formalism HW Platform

Coarse Grained Reconfigurable

HW Platform

1:1

2:1

Modular Dataflow Formalism

Page 12: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

MDC Approach: complexity

[F. Palumbo et.al. ,“RVC: A multi-decoder CAL composer tool”, in Proc. DASIP 2010]

Page 13: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

MDC Approach: complexity

COMPLEX, ERROR PRONE AND TIME CONSUMING:

• PLATFORM COMPOSITION

• RECONFIGURATION MANAGEMENT

[F. Palumbo et.al. ,“RVC: A multi-decoder CAL composer tool”, in Proc. DASIP 2010]

Page 14: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

MDC Approach: the tool

FRONTEND

BACKEND

HDL

component

library

Directed Flow

Graph (DFG)

A B C A E C

D Single Application

Dataflows (SADs)

MDC

Coarse-Grained

output

A B

E C

D

SBO

X SB

OX

MD

C t

oo

l appID

• The Multi-Dataflow Composer

(MDC) tool IS an automatic

platform generator combining

different dataflow networks

(SADs) on a coarse-grained

reconfigurable template.

• The MDC IS responsible of

providing runtime

programmability of the hw

substrate to switch among

given the SADs.

• The MDC IS NOT capable of

High Level Synthesis from

SAD to hw.

Page 15: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

MDC Approach: the tool

FRONTEND

BACKEND

HDL

component

library

Directed Flow

Graph (DFG)

A B C A E C

D Single Application

Dataflows (SADs)

MDC

Coarse-Grained

output

A B

E C

D

SBO

X SB

OX

MD

C t

oo

l appID

• The Multi-Dataflow Composer

(MDC) tool IS an automatic

platform generator combining

different dataflow networks

(SADs) on a coarse-grained

reconfigurable template.

• The MDC IS responsible of

providing runtime

programmability of the hw

substrate to switch among

given the SADs.

• The MDC IS NOT capable of

High Level Synthesis from

SAD to hw.

benefits of the MDC approach have been already

demonstrated [F. Palumbo et.al. ,“The multi-dataflow composer tool: generation of on-the-fly reconfigurable platforms”, in Jrnl of Real

Time Image Processing]

BUT

an early stage trade-off analysis may be extremely

useful

Page 16: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

Problem Statement

Page 17: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

• Merging all the SADs is not always the best choice

Problem Statement

α β

merged α and β not merged α and β

Page 18: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

• Merging all the SADs is not always the best choice

Problem Statement

α β

merged α and β not merged α and β

Page 19: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

• Merging all the SADs is not always the best choice

Problem Statement

Page 20: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

• Merging all the SADs is not always the best choice

• Different outputs with different orders of the SADs

Problem Statement

γ

δ ε

εγδ γδε

Page 21: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

The MDC DSE and profiler

SAD

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

Page 22: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

The MDC DSE and profiler

SAD

CO

MB

INA

TIO

NS

GEN

ERA

TOR

SAD

SAD

SAD

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

Page 23: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

The MDC DSE and profiler

SAD

CO

MB

INA

TIO

NS

GEN

ERA

TOR

SAD

SAD

SAD

MD

C T

OO

L

DFG

DFG

DFG

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

Page 24: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

The MDC DSE and profiler

SAD

CO

MB

INA

TIO

NS

GEN

ERA

TOR

SAD

SAD

SAD

MD

C T

OO

L

LOW

-LEV

EL F

EED

BA

CK

AN

ALY

SIS DFG

DFG

DFG

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

TIMING TIMING TIMING

TIMING TIMING AREA

TIMING TIMING POWER

Page 25: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

The MDC DSE and profiler

SAD

CO

MB

INA

TIO

NS

GEN

ERA

TOR

SAD

SAD

SAD

MD

C T

OO

L

LOW

-LEV

EL F

EED

BA

CK

AN

ALY

SIS DFG

DFG

DFG

PAR

ETO

AN

ALY

SIS

OPTIMAL

DFG

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

TIMING TIMING TIMING

TIMING TIMING AREA

TIMING TIMING POWER

Page 26: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

The MDC DSE and profiler

SAD

CO

MB

INA

TIO

NS

GEN

ERA

TOR

SAD

SAD

SAD

MD

C T

OO

L

LOW

-LEV

EL F

EED

BA

CK

AN

ALY

SIS DFG

DFG

DFG

PAR

ETO

AN

ALY

SIS

OPTIMAL

DFG

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

MDC DSE and profiler

TIMING TIMING TIMING

TIMING TIMING AREA

TIMING TIMING POWER

Page 27: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

Number and type of combinations:

• D_notMer: not merged composition of the N input SADs in

placed in parallel;

• D_Mer: as much resources as possible are shared merging

together all the N input SADs;

• D_partMer: it is not maximized resource sharing; any DFG

is composed of i not merged SADs in parallel with one of

the permutations f the other N-i.

Combinations Generator (1)

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

D = D_notMer + D_Mer + D_partMer = 1 + N! +Σ π j N-1 N

K=2 j=k

Page 28: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

Combinations Generator (2)

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

D = D_notMer + D_Mer + D_partMer = 61

N = 4 SADs = {D1, D2, D3 , D4}

Page 29: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

Combinations Generator (2)

SBO

X D1

D2

D3

D4

SBO

X

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

D = D_notMer + D_Mer + D_partMer = 61

N = 4 SADs = {D1, D2, D3 , D4}

D_notMer = 1

Page 30: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

Combinations Generator (2)

D1+D2+D3+D4 D1234=

D1+D2+D4+D3 D1243=

D4+D3+D2+D1 D4321=

...

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

D = D_notMer + D_Mer + D_partMer = 61

N = 4 SADs = {D1, D2, D3 , D4}

D_Mer = N! = 1∙2∙3∙4 =24

Page 31: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

SBO

X

D1

D3+D4

SBO

X

D2

D_partMer = Σ π j = 2∙3∙4 + 3∙4 = 36 3 4

K=2 j=k

Combinations Generator (2)

SBO

X

D1

D2+D3+D4

SBO

X

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

D = D_notMer + D_Mer + D_partMer = 61

N = 4 SADs = {D1, D2, D3 , D4}

Page 32: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

Low-level Feedback Analysis:

area and power

V = set of vertices viЄV

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

ai = Area(vi) Area(DFG) = Σ ai

pi = Power(vi) Power(DFG) = Σ pi

DFG = <V,E> E = set of edges eiЄE

Page 33: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

CP_seqSB=Σ cpSi

Low-level Feedback Analysis:

frequency CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

•cpNj=CP of the j-th SAD

staticCP=max(cpNj)

•cpSi=CP of the i-th Sbox

Page 34: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

CP_seqSB=Σ cpSi

Low-level Feedback Analysis:

frequency CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

•cpNj=CP of the j-th SAD

staticCP=max(cpNj)

•cpSi=CP of the i-th Sbox

Page 35: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

CP_seqSB=Σ cpSi

Low-level Feedback Analysis:

frequency CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

•cpNj=CP of the j-th SAD

staticCP=max(cpNj)

•cpSi=CP of the i-th Sbox

Page 36: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

CP_seqSB=Σ cpSi

Low-level Feedback Analysis:

frequency CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

•cpNj=CP of the j-th SAD

staticCP=max(cpNj)

•cpSi=CP of the i-th Sbox

Page 37: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

CP_seqSB=Σ cpSi

Low-level Feedback Analysis:

frequency CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

•cpNj=CP of the j-th SAD

staticCP=max(cpNj)

•cpSi=CP of the i-th Sbox

CP(DFG) =max(Cpstatic,CP_seqSB)

Page 38: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

Design Under Test

SADs UC1 UC2 UC3

Qsort X - X

Min_Max X X X

Corr X - X

Abs X X X

Rgb2Ycc X - X

Ycc2Rgb X - X

Sbwlabel - X X

Median - X X

Cubic - X X

Cubic_Conv - X X

Check_Gener

alBilevel - X X

UC1: Antialiasing

Table: composition of the different analyzed

use cases.

UC2: Zoom

UC3: Antialiasing

& Zoom

host

processor

image

and video

coprocessor

hal

[F. Palumbo et.al. ,“The multi-dataflow

composer tool: generation of on-the-fly

reconfigurable platforms”, in Jrnl of Real Time

Image Processing]

Page 39: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

UC1 - Pareto Analysis

UC1: Antialiasing

Involved SADs:

6

Design Space size:

1951 points

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

Page 40: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

UC1 - Pareto Analysis

UC1: Antialiasing

Involved SADs:

6

Design Space size:

1951 points

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

Page 41: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

UC1 - Pareto Analysis

UC1: Antialiasing

Involved SADs:

6

Design Space size:

1951 points

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

Page 42: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

UC1 - Pareto Analysis

UC1: Antialiasing

Involved SADs:

6

Design Space size:

1951 points

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

Page 43: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

UC1 - Pareto Analysis

UC1: Antialiasing

Involved SADs:

6

Design Space size:

1951 points

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

No impact of MDC on the CP of the system

•BEST AREA/POWER SOLUTION: all merged (a1p1)

•BEST FREQUENCY SOLUTION: all merged (a1p1)

Page 44: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

UC2 - Pareto analysis

UC2: Zoom

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

Involved SADs:

7

Design Space size:

13693 points

Page 45: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

UC2 - Pareto analysis

UC2: Zoom

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

Involved SADs:

7

Design Space size:

13693 points

Page 46: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

UC2 - Pareto analysis

UC2: Zoom

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

Involved SADs:

7

Design Space size:

13693 points

Page 47: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

UC2 - Pareto analysis

UC2: Zoom

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

Involved SADs:

7

Design Space size:

13693 points

-23% -14%

Page 48: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

UC2 - Pareto analysis

UC2: Zoom

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

Involved SADs:

7

Design Space size:

13693 points

-23% -14%

+2.4% area

+1.8% power

Page 49: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

UC2 - Pareto analysis

UC2: Zoom

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

Involved SADs:

7

Design Space size:

13693 points

-23% -14%

+2.4% area

+1.8% power

MDC impacts on the CP of the system

•BEST AREA/POWER SOLUTION: all merged (z3p1,z3p2)

•BEST FREQUENCY SOLUTION: hybrid, 6 merged SADs (z3p3)

Page 50: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly SADs UC1 UC2 UC3

Qsort 2,94% - 1,89%

Min_Max 2,94% 3,12% 1,89%

Corr 11,76% - 9,43%

Abs 2,94% 3,12% 1,89%

Rgb2Ycc 20,59% - 15,09%

Ycc2Rgb 26,47% - 18,87%

Sbwlabel - 15,62% 11,32%

Median - 18,75% 13,21%

Cubic - 18,75% 11,32%

Cubic_Conv - 9,38% 5,66%

Check_Gener

alBilevel - 18,75% 11,32%

Table: percentage of the SAD overlapping

actors with respect to an all merged solution.

UC3 - Pareto analysis

UC3: Antialiasing

& Zoom

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

Involved SADs:

11

Design Space size:

108505101 points

Page 51: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly SADs UC1 UC2 UC3

Qsort 2,94% - 1,89%

Min_Max 2,94% 3,12% 1,89%

Corr 11,76% - 9,43%

Abs 2,94% 3,12% 1,89%

Rgb2Ycc 20,59% - 15,09%

Ycc2Rgb 26,47% - 18,87%

Sbwlabel - 15,62% 11,32%

Median - 18,75% 13,21%

Cubic - 18,75% 11,32%

Cubic_Conv - 9,38% 5,66%

Check_Gener

alBilevel - 18,75% 11,32%

Table: percentage of the SAD overlapping

actors with respect to an all merged solution.

UC3 - Pareto analysis

UC3: Antialiasing

& Zoom

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

Involved SADs:

11

Design Space size:

108505101 points

Page 52: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

UC3 - Pareto analysis

UC3: Antialiasing

& Zoom

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

Involved SADs:

6 of 11

Design Subpace size:

1951 points

Page 53: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

UC3 - Pareto analysis

UC3: Antialiasing

& Zoom

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

Involved SADs:

6 of 11

Design Subpace size:

1951 points

Page 54: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

UC3 - Pareto analysis

UC3: Antialiasing

& Zoom

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

Involved SADs:

6 of 11

Design Subpace size:

1951 points

Page 55: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

UC3 - Pareto analysis

UC3: Antialiasing

& Zoom

CO

MB

INA

TIO

NS

G

ENER

ATO

R

MD

C T

OO

L

LOW

-LE

VEL

FEED

BA

CK

AN

ALY

SIS

PA

RET

O A

NA

LYSI

S

Involved SADs:

6 of 11

Design Subpace size:

1951 points

Need of a heuristic if we have many SADs

•BEST AREA/POWER SOLUTION: heuristic only on all merged

•BEST FREQUENCY SOLUTION: affine proposed heuristic

Page 56: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

Final Remarks

• A DSE and a profiling methodology specifically conceived to

guide designers targeting multi-context architectures has

been presented:

– The DSE and profiling are performed at a high level of

abstraction, but back annotated low-level information are

considered.

• Synthesis trials confirmed the applicability of the proposed

methodology with an estimation error lower (on average)

than the 7%.

– Accuracy can be improved adopting more accurate

parameterized models to compute the metrics of interest.

• Future developments will regard

– Accuracy improvement

– Introduction of automated clever heuristics, based on high-level

information, to limit the dimension of the design space.

Page 57: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

ISP

A 2

01

3 –

Se

pte

mb

er 4

th-6

th –

Tri

este

, Ita

ly

Acknowledgements

The research leading to these results has received funding from:

the Region of Sardinia L.R.7/2007

under grant agreement CRP-18324

[RPCT Project]

the Region of Sardinia, Young

Researchers Grant, POR Sardegna FSE

2007-2013, L.R.7/2007 “Promotion of

the scientific research and

technological innovation in Sardinia”

under grant agreement CRP-18324

RPCT Project

Page 58: Processing in Digital Media Technologies September 4th-6th ... · Design Space Exploration and Profiling of Multi-Context Coarse-Grained Reconfigurable Systems Francesca Palumbo,

8th International Symposium on Image and Signal Processing and Analysis - 2013

September 4th-6th, 2013, Trieste, Italy

Special Session on Hardware-software Co-design Methodologies for Streaming Processing in Digital Media Technologies

DSE and Profiling of Multi-Context

Coarse-Grained

Reconfigurable Systems

Carlo Sau, Ph.D student.

[email protected]

EOLAB - Microelectronics Lab

Dept. of Electrical and Electronics Eng.

University of Cagliari (ITALY)