view a13/smv/test1.smv @ 382:9fba498b0a7a

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 24 Jul 2023 19:01:09 +0900
parents 0e8a0e50ed26
children
line wrap: on
line source

MODULE main
VAR
  request : boolean;
  state : {ready, busy};
ASSIGN
  init(state) := ready;
  next(state) := case
                   state = ready & request : busy;
                   TRUE : {ready, busy}; esac;