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/MOESI_1.lus
59 59

  
60 60
tel
61 61

  
62
--@ ensures OK;
63 62
node top( init_invalid_mo : int;
64 63
             etat_mo1, etat_mo2, etat_mo3, etat_mo4 : bool )
65 64
returns ( OK : bool );
65
--@ contract guarantees OK;
66 66
    var modified_mo, exclusive_mo, shared_mo, invalid_mo, owned_mo: int;
67 67
        erreur_mo : bool;
68 68
let

Also available in: Unified diff