Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

urgent channels in XTA #12

Open
pascalpoizat opened this issue Jun 29, 2018 · 2 comments
Open

urgent channels in XTA #12

pascalpoizat opened this issue Jun 29, 2018 · 2 comments

Comments

@pascalpoizat
Copy link

Description

The urgent channels of XTA (see https://www.it.uu.se/research/group/darts/papers/texts/new-tutorial.pdf page 6) do not seem to be supported, at least in the XTA editor.

How to reproduce

Open file:

urgent chan sys_2_o2_res, sys_2_o2_req, sys_1_o1_req;

process sys_e() {

state
    l_error,
    l_correct,
    l_s0,
    l_s1,
    l_s2;
init l_s0;
trans
    l_s0 -> l_s1 { sync sys_1_o1_req!;  },
    l_s0 -> l_error { sync sys_2_o2_req!;  },
    l_s1 -> l_s2 { sync sys_2_o2_req!;  },
    l_s2 -> l_correct { sync sys_2_o2_res?;  },
    l_correct -> l_correct {  },
    l_error -> l_error {  };
}

process sys_s() {
clock c_6884493603270001633, c__3232429354967973480;
state
    l_sNEW {c_6884493603270001633 <= 4},
    l_s0,
    l_s1 {c_6884493603270001633 <= 4},
    l_s2 {c__3232429354967973480 <= 5},
    l_s3;
init l_s0;
trans
    l_s1 -> l_sNEW { guard c_6884493603270001633 >= 2;  },
    l_s0 -> l_s1 { sync sys_1_o1_req?; assign c_6884493603270001633 = 0;  },
    l_sNEW -> l_s2 { sync sys_2_o2_req?; assign c__3232429354967973480 = 0;  },
    l_s2 -> l_s3 { guard c__3232429354967973480 >= 2; sync sys_2_o2_res!;  },
    l_s3 -> l_s3 {  };
}
Process_sys_e = sys_e();
Process_sys_s = sys_s();
system Process_sys_e, Process_sys_s;

capture d ecran 2018-06-29 a 04 51 50

@yanntm
Copy link
Member

yanntm commented Jun 29, 2018

no, urgent channels, as well as several other features (e.g. global clocks) are not in there.

But I can add them in if you need them.

@pascalpoizat
Copy link
Author

Indeed I am still doing some experiments. Maybe I will be able to do with committed/urgent states rather than urgent channels.

yanntm pushed a commit that referenced this issue Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants