23.08.2013 Views

Specification of Reactive Hardware/Software Systems - Electronic ...

Specification of Reactive Hardware/Software Systems - Electronic ...

Specification of Reactive Hardware/Software Systems - Electronic ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

306 Behaviour-Preserving Transformations<br />

C(E ,...,E )<br />

c h 1<br />

c h 1<br />

c h<br />

c h<br />

k<br />

k<br />

c h c h<br />

2 2<br />

...<br />

...<br />

c h c h<br />

k-1 k-1<br />

So a process object (during execution) is represented by a rounded rectangle 1 . The<br />

name <strong>of</strong> the rectangle is the class name with the initialisation expressions between<br />

brackets. If the number <strong>of</strong> initialisation expressions is zero (r 0), then the name<br />

<strong>of</strong> the class suffices. The solid ellipses denote the channels <strong>of</strong> the configuration.<br />

Every channel has an inner name and an outer name. The configuration itself knows<br />

its channels by their inner names, whereas the outer world knows these channels<br />

by their outer names. In the case <strong>of</strong> process objects, the inner names equal the<br />

outer names. However, after channel renaming (see (5)) the names may differ. In<br />

general we name a channel after its outer name, so if we write ’channel ch’, we<br />

mean ’the channel with outer name ch’.<br />

(2) If BSpec e C c (E1 ¥¡ ¡ ¡ ¥ Er) or BSpec e § BSpec e ¡ C c E1£ ¡ ¡ ¡£ Er¢ where C c is the<br />

name <strong>of</strong> a cluster class defined in Sys p by cluster class C c P1 ¥¡ ¡ ¡ ¥ Pr communication<br />

channels ch1 ¡ ¡ chk ¡ ¡ behaviour specification BSpec p , then first<br />

ISD(BSpec p § § E1© P1 ¥¡ ¡ ¡ ¥ Er© Pr ¥ Sys p ) respectively ISD(BSpec e ¡ ¥ Sys p ) is drawn. If the<br />

edge <strong>of</strong> the drawing is a single unnamed rounded rectangle, then this rectangle<br />

is named C c (E1 ¥¡ ¡ ¡ ¥ Er) (or C c if r 0). Otherwise the drawing is surrounded<br />

by a rounded rectangle named C c (E1 ¥¡ ¡ ¡ ¥ Er) (or C c if r 0) with k channels<br />

ch1 ¥¡ ¡ ¡ ¥ chk (the inner names equal the outer ones). Each channel chi is internally<br />

connected by a single arc to all observable channels, with outer name chi, <strong>of</strong><br />

ISD(BSpec p § § E1© P1 ¥¡ ¡ ¡ ¥ Er© Pr ¥ Sys p ) respectively <strong>of</strong> ISD(BSpec e ¡ ¥ Sys p ). An observable<br />

channel is a channel that lies at some edge <strong>of</strong> a Instance Structure Diagram and is<br />

not surrounded by a rounded rectangle.<br />

For example, assume that r 2 and suppose that ISD(BSpec p § § E1© P1 ¥ E2© P2 ¥ Sys p ) is<br />

shown at the left-hand side <strong>of</strong> the following figure. Then both ISD(C c (E1 ¥ E2)¥ Sys p )<br />

and ISD(§ BSpec e ¡ C c E1£ E2¢ ¥ Sys p £ are represented by the right-hand side.<br />

1 Sometimes we use hexagons in stead <strong>of</strong> rectangles. These hexagons represent the terminators <strong>of</strong> a<br />

system.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!