This project is a demonstrator tool, made by the MOISE project, that translates timed Altarica models into Fiacre models. Such translation allows to use model checkers such as Tina to prove properties. The project contains the translator tool.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
407 B

domain FState = {NOMINAL, LOST, ERROR} ;
domain FailureType = {Err, Loss, Ok} ;
node Function
flow I : FailureType : in ; O : FailureType : out ;
state S : FState ;
event fail_loss, fail_err ;
init S := NOMINAL ;
trans S != LOST |- fail_loss -> S := LOST ;
S = NOMINAL |- fail_err -> S := ERROR ;
assert O = case { S = NOMINAL : I, S = LOST : Loss, else Err } ;
edon