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.

19 lines
350 B

8 years ago
  1. ma
  2. module hybrid_states
  3. s : [0..4];
  4. [] (s=0) -> 0.8 : (s'=0) + 0.2 : (s'=2);
  5. [] (s=0) -> 1 : (s' = 1);
  6. <> (s=0) -> 3 : (s' = 1);
  7. <> (s=1) -> 9 : (s'=0) + 1 : (s'=3);
  8. <> (s=2) -> 12 : (s'=4);
  9. [] (s=3) -> 1 : true;
  10. [] (s=3) -> 1 : (s'=4);
  11. <> (s=3) -> 2 : (s'=3) + 2 : (s'=4);
  12. [] (s=4) -> 1 : true;
  13. <> (s=4) -> 3 : (s'=3);
  14. endmodule