Project

General

Profile

« Previous | Next » 

Revision 2d37a1e1

Added by Pierre-Loïc Garoche over 3 years ago

Renaminig lustre contracts from ensures to guarantees
Will require the latest cocospec branch to compile (before it is integrated in the unstable/master branches)

View differences:

regression_tests/lustre_files/success/kind_fmcad08/large/ccp04.lus
1 1

  
2
--@ ensures OK;
3 2
node top(onOff: bool; 
4 3
      decelSet: bool; 
5 4
      accelResume: bool; 
......
9 8
      carSpeed: real; 
10 9
      validInputs: bool) returns (OK: bool);
11 10

  
11
--@ contract guarantees OK;
12 12
var
13 13
   mode: int ; 
14 14
      cruiseThrottle: real; 

Also available in: Unified diff