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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

274 Process Part <strong>of</strong> POOSL<br />

execution at the place <strong>of</strong> the m(p1£ ¡ ¡ ¡£ pm) , after the output parameters are bound to variables<br />

p1 ¥¡ ¡ ¡ ¥ pm and the local method variables have been popped from the stack. Statement<br />

S p£ e<br />

1<br />

interrupted Sp2<br />

¥ Sp£ e<br />

2 denotes that Sp£ e<br />

1<br />

is the portion <strong>of</strong> S p<br />

2<br />

was interrupted (in the past) by Sp2<br />

. Statement Sp£ e<br />

2<br />

that remains to be executed before the execution control is returned<br />

to S p£ e<br />

1 . denotes successful process termination. The three extended statements are<br />

introduced to facilitate our semantics.<br />

Now that we have defined the set Conf p <strong>of</strong> configurations, we will show how the set Act<br />

<strong>of</strong> atomic actions looks like. We will distinguish the following three kinds <strong>of</strong> actions:<br />

(1) The internal action, also known as the silent action, which is denoted as ¡ . This<br />

action reflects an internal computation which cannot be observed by the system<br />

environment.<br />

(2) Send actions <strong>of</strong> the form ch!m§ data indicating that the system can send message m,<br />

together with data data, on channel ch.<br />

(3) Receive actions <strong>of</strong> the form ch?m§ data indicating that the system is willing to receive<br />

message m with data data from channel ch.<br />

When two processes exchange a message, a deepCopy <strong>of</strong> every message parameter is<br />

passed from the sending process to the receiving one. The data part <strong>of</strong> the above send and<br />

receive actions therefore consists <strong>of</strong> a list <strong>of</strong> deepCopies, one for each message parameter.<br />

Every deepCopy will be represented by a minimal Sys-structure (see Paragraph 8.6), and<br />

every data by a list <strong>of</strong> such structures.<br />

¡ For each n we will let Strucn Sys£ min denote the set <strong>of</strong> lists <strong>of</strong> minimal Sys-structures<br />

consisting <strong>of</strong> n elements. The set <strong>of</strong> all lists <strong>of</strong> minimal Sys-structures will be denoted<br />

by Sys£ Struc min and will range data¥¡ ¡ ¡ over .<br />

The set Act <strong>of</strong> actions can now be defined as<br />

£<br />

¡<br />

¦<br />

Act ¢¦<br />

where , the set <strong>of</strong> all communication actions, is<br />

£<br />

£<br />

data ch?m§ ¥ ¡ ¡ Sys£ ¦ ¡ ¦<br />

¡ ch Chan m MName and data Struc min<br />

data ch!m§ ¥ ¡ ¡ ¡ ¡ Sys£ ch Chan m MName and data Struc min ¦<br />

¡ a¥¡ l¥¡ ¡ ¡ ¡ Elements <strong>of</strong> will be denoted as , and elements <strong>of</strong> Act as .<br />

We now define what we mean by functions abstract action sort (AASort) and channel<br />

sort (ChSort). Both functions are defined on a number <strong>of</strong> constructs. In general the<br />

AASort <strong>of</strong> a construct is the set <strong>of</strong> all associated abstract communication actions. ChSort<br />

calculates the set <strong>of</strong> associated channels. For process configurations both functions<br />

have a particular meaning. The AASort <strong>of</strong> a process configuration is the set <strong>of</strong> abstract<br />

communication actions corresponding to those communication actions that can ever

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

Saved successfully!

Ooh no, something went wrong!