Mercurial > hg > Members > nobuyasu > Spin
view Samples/p347.pres.sim.h @ 2:a2dac3fa7383 draft default tip
add Makefile
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 29 Jun 2012 06:22:47 +0900 |
parents | 86e67be8bc5f |
children |
line wrap: on
line source
/* * PROMELA Validation Model * Presentation & User Layer - combined and reduced */ proctype present(bit n) { byte status; progress0: pres_to_ses[n]!transfer -> do :: pres_to_ses[n]!abort; progress1: skip :: ses_to_pres[n]?accept,status -> break :: ses_to_pres[n]?reject,status -> if :: (status == NON_FATAL) -> goto progress0 :: (status != NON_FATAL) -> break fi od }