Project

General

Profile

« Previous | Next » 

Revision 75bb7d62

Added by Pierre-Loïc Garoche over 3 years ago

Simple test to show cex with zustre

View differences:

tests/zustre/simple_counter_cex.lus
1
node top (reset: bool) returns (ok: bool)
2
var  cpt: int;
3
let
4
   cpt = 0 -> if reset then 0 else 1 + pre cpt;
5
   ok = cpt <> 2;  
6
tel

Also available in: Unified diff