Skip to main content

fic/xta_backend/
mod.rs

1//! The XTA backend: the UPPAAL timed-automata model (`--emit=xta`).
2//!
3//! Prints each PD's `ccfg::Orchestration` (one graph per entry point) as
4//! one template of a UPPAAL Network of Timed Automata (NTA) — `init` once,
5//! then the `notified` loop — its declarations read from `tast`.
6//!
7//! Queries are user-authored: which properties matter is
8//! application-dependent, so `fic` emits only the model. Write a `.q`
9//! file against the emitted automata (e.g. `A[] not deadlock`) and run
10//! it with `fire verify` or `verifyta` directly.
11//!
12//! `transpile` builds the `xta` model (the network, and its declarations and
13//! labels in XTA, the language UPPAAL reads) from `tast` and the Ccfg, and
14//! `contract` renders the PD's code and the contracts it calls into. The
15//! model prints itself as text; `emit::xta` writes it, or pretty-prints it as
16//! the GUI's XML.
17
18mod automaton;
19mod call;
20mod channel;
21mod contract;
22mod edge;
23mod func;
24mod irq;
25pub mod model;
26mod queue;
27mod types;
28pub mod xta;
29
30pub use xta::Nta;