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.

6.6 Dynamic Behaviour 219<br />

c<br />

a<br />

Multiple X<br />

Figure 6.22: Common Channels on Multiple Process Objects<br />

B is connected to the environment. Therefore it must be possible to give different outer<br />

names to these channels.<br />

6.6.7.2 System <strong>Specification</strong><br />

A specification <strong>of</strong> a whole system is defined as<br />

Bspec¥ Sys p ¥ Sys ¡<br />

where Bspec defines how a system is composed <strong>of</strong> collaborating instances <strong>of</strong> classes. The<br />

behaviour description Bspec is a parameterised behaviour description which contains<br />

no expression parameters. These classes <strong>of</strong> all clusters and processes are defined in Sys p<br />

which is <strong>of</strong> the form:<br />

p<br />

CD ¡ ¡ 1 CDp ¡ k<br />

Each CD p i is either a process class definition or a cluster class definition. Further all<br />

non-primitive data classes are specified in Sys. Sys is <strong>of</strong> the form<br />

CD1 ¡ ¡ CDk ¡<br />

where each CDi is a data class definition.<br />

The behaviour specification Bspec <strong>of</strong> a system is <strong>of</strong> one <strong>of</strong> the following forms<br />

C p (E1 ¥¡ ¡ ¡ ¥ Er)<br />

C c (E1 ¥¡ ¡ ¡ ¥ Er)<br />

¢ Bspec1 Bspec2<br />

Bspec L<br />

Bspec§ f <br />

C p (E1 ¥¡ ¡ ¡ ¥ Er) denotes an instance <strong>of</strong> some process class C p y1 ¥¡ ¡ ¡ ¥ yr ¡ . Upon system<br />

initialisation, expressions E1 ¥¡ ¡ ¡ ¥ Er are evaluated from left to right and bound to the<br />

corresponding instance variables y1¥¡ ¡ ¡ ¥ yr. All other instance variables are initialised to<br />

nil.<br />

C c (E1 ¥¡ ¡ ¡ ¥ Er) denotes an instance <strong>of</strong> some cluster class C c P1 ¥¡ ¡ ¡ ¥ Pr ¡ . Upon system<br />

initialisation expression parameters P1 ¥¡ ¡ ¡ ¥ Pr are syntactically substituted by E1 ¥¡ ¡ ¡ ¥ Er.<br />

b

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

Saved successfully!

Ooh no, something went wrong!