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.

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

We let Env denote the set <strong>of</strong> all process environments and let it range over env¥¡ ¡ ¡ . Env<br />

is defined as<br />

Env PStack Type<br />

Here, and Type are as defined in Subsection 8.5.2. PStack denotes the set <strong>of</strong> process<br />

stacks which is a subset <strong>of</strong> Stack as defined in Subsection 8.5.2. PStack ranges over ps¥¡ ¡ ¡<br />

and is defined as<br />

PStack ( £<br />

Env will be used to denote the set <strong>of</strong> all lists <strong>of</strong> process environments. It ranges over<br />

envs¥¡ ¡ ¡ . Further, we will write envs1 envs2 for the concatenation <strong>of</strong> lists envs1 and envs2,<br />

and we write <br />

proc¦ (LVar ¦£ DObj))<br />

for the empty list.<br />

We will now define the set Conf p <strong>of</strong> process configurations. Conf p ¥ B<strong>Specification</strong>s e Env<br />

<strong>Systems</strong> p <strong>Systems</strong> is inductively defined by means <strong>of</strong> the following inference rules:<br />

(1) Cp <br />

¡ ¡ ¥ Er)¥ ¥ (E1 Sys ¥¡ p ¡ Conf ¥ Sys p<br />

if there exists a process class Cp ¡ ¡ ¥ yr y1 in Sys ¥¡ p and if no Ei contains variables or<br />

self .<br />

The condition is derived from context condition (15’) given in Section 9.4.<br />

(2) Cc <br />

¡ ¡ ¥ Er)¥ ¥ (E1 Sys ¥¡ p ¡ Conf ¥ Sys p<br />

if there exists a cluster class Cc ¡ ¡ ¥ Pr P1 in Sys ¥¡ p and if no Ei contains variables or<br />

self .<br />

The condition is again derived from context condition (15’) given in Section 9.4.<br />

(3) <br />

S § p£ e<br />

Cp <br />

¡£ Er¢ ¥ ¡ ¡<br />

¥ ps¥ ¥ Sys E1£ ¡ ¡ p Conf ¥ Sys ¡ p<br />

if Cp ¡ ¥ yr y1 is a process class in Sys ¥¡ ¡ p , if no Ei contains variables or self , and if<br />

AASort(Sp£ e p<br />

¥<br />

p ) AASort(C ¥ Sys )<br />

(4)<br />

The first part <strong>of</strong> the condition is derived from context condition (15’). The second<br />

part requires that S p£ e does not contain any send or receive statements, that do not<br />

conform to the message interface <strong>of</strong> the process object. Function AASort, defined<br />

later in this subsection, calculates the set <strong>of</strong> all associated abstract communication<br />

actions.<br />

BSpec e ¥ envs¥ Sys p ¥ Sys ¡ Conf p<br />

<br />

BSpec § e C c ¡ ¡ ¡£ Er¢ ¥ envs¥ Sys E1£ p Sys ¡ Conf ¥ p<br />

if Cc ¥¡ ¡ ¡ ¥ Pr P1 is a cluster class in Sysp with behaviour specification BSpecp , if no<br />

Ei contains variables or self , and if Reset(BSpec e ) BSpec p § § E1© P1 ¥¡ ¡ ¡ ¥ Er© Pr <br />

Again, the first part <strong>of</strong> the condition is derived from context condition (15’). The

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

Saved successfully!

Ooh no, something went wrong!