01.06.2014 Views

Concurrent Systems II - Bad Request - Trinity College Dublin

Concurrent Systems II - Bad Request - Trinity College Dublin

Concurrent Systems II - Bad Request - Trinity College Dublin

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Promela<br />

• Promela [Protocol/Process Meta Language is a modelling language, not a programming<br />

language.<br />

• A Promela model consist of:<br />

◾ type declarations<br />

◾ channel declarations // we won’t be using these<br />

◾ global variable declarations<br />

◾ process declarations<br />

◾ [init process]<br />

initialises variables and<br />

starts processes<br />

mtype, constants,<br />

typedefs (records)<br />

• A Promela model corresponds to a finite transition system, so:<br />

◾ no unbounded data / channels / processes / process creation<br />

- simple vars<br />

- structured vars<br />

- vars can be accessed<br />

by all processes<br />

behaviour of the processes:<br />

local variables + statements<br />

137<br />

<strong>Trinity</strong> <strong>College</strong> <strong>Dublin</strong><br />

© Mike Brady 2007–2009

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

Saved successfully!

Ooh no, something went wrong!