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.lus
125 125
tel
126 126

  
127 127
-- Verify node is used to verify properties p1..pn
128
--@ ensures OK;
129 128
node top (igsw, ccd, cconoff, bpa, cccanc, battok, gearok,
130 129
         qfok, sdok, accok, ccseti, ccsetd, ccr: bool; vs: int)
131 130
         returns (OK: bool);
131
--@ contract guarantees OK;
132 132
var
133 133
   p1, p2, p3, p4: bool;
134 134
   ccont, cca: bool;

Also available in: Unified diff