CprE 588 Embedded Computer Systems - Iowa State University

嚜澧prE 588

Embedded Computer Systems

Prof. Joseph Zambreno

Department of Electrical and Computer Engineering

Iowa State University

Lecture #6 每 Model Refinement

Communication Synthesis

? Bus allocation / protocol

selection

? Channel partitioning

? Protocol, transducer insertion

? Inlining

Specification model

Architecture exploration

Architecture model

Communication synthesis

Communication model

Backend

Implementation model

R. Domer, The SpecC System-Level Design Language and Methodology,

Center for Embedded Systems, University of California-Irvine, 2001.

Feb 17-19, 2009

CprE 588 每 Embedded Computer Systems

Lect-06.2

Bus Allocation / Channel Partitioning

PE1

PE2

B1

B1

? Allocate busses

Bus1

v1

B13snd

cb13

B13rcv

v1

B2

B3

? Partition

channels

c2

B34rcv

cb34

B34snd

? Update

communication

? Additional level of hierarchy to model bus structure

Feb 17-19, 2009

CprE 588 每 Embedded Computer Systems

Lect-06.3

Model after Channel Partitioning

PE1

PE2

B1

B1

Bus1

v1

cb13

B13snd

c2

B13rcv

v1

cb34

Feb 17-19, 2009

B2

B3

B34rcv

B34snd

CprE 588 每 Embedded Computer Systems

Lect-06.4

Bus Channel

Bus1

Hierarchical channel:

c2

IBus

IBus

cb13

1

cb34

channel Bus1() implements IBus

{

ChMP cb13, c2, cb34;

5

void send( BusAddr a,

{

switch( a )

{

case CB13: return

case C2:

return

case CB34: return

}

}

Virtual addressing:

1

10

typedef enum {

CB13, C2, CB34

} BusAddr;

15

Bus interface:

1

5

interface IBus

{

void send( BusAddr a,

void* d, int size );

void recv( BusAddr a,

void* d, int size );

};

Feb 17-19, 2009

void recv( BusAddr a,

{

switch( a )

{

case CB13: return

case C2:

return

case CB34: return

}

}

20

void* d, int size )

cb13.send( d, size );

c2.send( d, size );

cb34.send( d, size );

void* d, int size )

cb13.recv( d, size );

c2.recv( d, size );

cb34.recv( d, size );

};

CprE 588 每 Embedded Computer Systems

Lect-06.5

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download