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/memory2/MESI_3_e1_2517_e8_2163.lus
49 49
   if(etat_me4) then if(garde_me4) then pre invalid_me + pre modified_me + pre exclusive_me + pre shared_me -1 else pre invalid_me else 
50 50
   pre invalid_me;
51 51
tel
52
--@ ensures OK;
53 52
node top( etat_me1, etat_me2, etat_me3, etat_me4 : bool ) returns ( OK : bool );
53
--@ contract guarantees OK;
54 54
    var modified_me, exclusive_me, shared_me, invalid_me : int;
55 55
        env : bool;
56 56
let

Also available in: Unified diff