Skip to main content

Module xta_backend

Module xta_backend 

Source
Expand description

The XTA backend: the UPPAAL timed-automata model (--emit=xta).

Prints each PD’s ccfg::Orchestration (one graph per entry point) as one template of a UPPAAL Network of Timed Automata (NTA) — init once, then the notified loop — its declarations read from tast.

Queries are user-authored: which properties matter is application-dependent, so fic emits only the model. Write a .q file against the emitted automata (e.g. A[] not deadlock) and run it with fire verify or verifyta directly.

transpile builds the xta model (the network, and its declarations and labels in XTA, the language UPPAAL reads) from tast and the Ccfg, and contract renders the PD’s code and the contracts it calls into. The model prints itself as text; emit::xta writes it, or pretty-prints it as the GUI’s XML.

Re-exports§

pub use xta::Nta;

Modules§

model
Fiducia → UPPAAL NTA transpilation.
xta
The UPPAAL model in XTA, the language UPPAAL reads and UTAP parses: what transpile builds from each PD’s Ccfg, printing itself as text. The network (Nta and what it holds, nta.rs) and the language its declarations and labels are written in (types.rs, expr.rs, stmt.rs, decl.rs). A mirror of UTAP’s syntax; names and types are verifyta’s to resolve.