actlib_dataflow_neuro/test/unit_tests/arbiter_2/test.act

19 lines
284 B
Plaintext
Raw Normal View History

2022-02-23 15:30:01 +01:00
defproc arbiter (bool a, b, u, v)
{
bool _u, _v;
prs {
[keeper=0] a & _v -> _u-
[keeper=0] ~a | ~_v -> _u+
[keeper=0] b & _u -> _v-
[keeper=0] ~b | ~_u -> _v+
[keeper=0] _u => u-
[keeper=0] _v => v-
}
spec {
mk_excllo(_u, _v)
}
}
2022-02-23 19:01:54 +01:00
arbiter a;