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/memory1/DRAGON_all2_e7_5406_e2_3084.lus
85 85
   if(e12) then if(g12) then pre invalid+1 else pre invalid else 
86 86
   pre invalid;
87 87
tel
88
--@ ensures OK;
89 88
node top( e01, e02, e03, e04, e05, e06, e07, e08, e09, e10, e11, e12 : bool;
90 89
             init_invalid : int )
91 90
returns ( OK: bool );
91
--@ contract guarantees OK;
92 92
    var exclusive, shared, shared_dirty, dirty, invalid : int;
93 93
        R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14 : bool;
94 94
        erreur : bool;

Also available in: Unified diff