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/simulation/fast_2_e8_976.lus
69 69
           and ccall then true else if not ccall then false
70 70
           else pre(cca);
71 71
tel
72
--@ ensures OK;
73 72
node top (igsw, ccd, cconoff, bpa, cccanc, battok, gearok,
74 73
         qfok, sdok, accok, ccseti, ccsetd, ccr: bool; vs: int)
75 74
         returns (OK: bool);
75
--@ contract guarantees OK;
76 76
var
77 77
   p1, p2, p3, p4: bool;
78 78
   ccont, cca: bool;

Also available in: Unified diff