SCM(5) | Local Manual | SCM(5) |
For model-checking purposes, the format also permits the specification of a set of bad configurations.
scm ident :
nb_channels = integer ;
The set of channels is {0, ..., n-1} where n is the number of channels. By default, all channels are perfect.
[lossy : integer [, integer ...]]
parameters : [{int | real} ident [= expr] ; ...]
The alphabet is the same for all channels. Each message holds a typed numerical value.
automaton ident :
[{int | real} ident [= expr] ; ...]
initial : integer [, integer ...]
state integer : [to integer : command ; ...]
where command is of the following form:
when cond [, integer {! | ?} ident] [with ident = expr [, ident = expr ...]]
bad_states : ( automaton ident : badlocal ... [with regexp] ) ...
where badlocal is of the following form:
in integer : cond ...
The local constraints in a badlocal specification are disjuncted together. The badlocal specifications in a bad_states declaration are conjuncted together.
The symbol # is used to separate channels in regexp. Each word matched by regexp must contain exactly n-1 occurrences of # where n is the number of channels.
July 11, 2011 | Linux 3.0.0-1-amd64 |