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.

28 lines
282 B

2 months ago
  1. mdp
  2. module one
  3. s1 : [0 .. 3];
  4. [a] s1=0 -> (s1'=1);
  5. [c] s1=1 -> (s1'=2);
  6. [d] s1=1 -> (s1'=3);
  7. endmodule
  8. module two
  9. s2 : [0 .. 2];
  10. [b] s2=0 -> (s2'=1);
  11. [c] s2=1 -> (s2'=2);
  12. endmodule
  13. module three
  14. s3 : [0 .. 2];
  15. [c] s3=0 -> (s3'=1);
  16. [a] s3=2 -> (s3'=2);
  17. endmodule