You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
290 B
16 lines
290 B
mdp
|
|
|
|
module m
|
|
s : [0..2];
|
|
p : [0..2];
|
|
|
|
[] s=0 & p=0 -> (s'=0) & (p'=1);
|
|
[] s=0 & p=1 -> (s'=1) & (p'=1);
|
|
[] s=0 & p=1 -> (s'=0) & (p'=2);
|
|
[] s=0 & p=1 -> (s'=0) & (p'=1);
|
|
[] s=0 & p=2 -> (s'=2) & (p'=2);
|
|
[] s=0 & p=2 -> (s'=0) & (p'=2);
|
|
[] s>0 -> true;
|
|
|
|
endmodule
|
|
|