Expand description
SVA → Bounded Verification IR Translation
Translates SvaExpr to a bounded timestep model suitable for Z3 equivalence checking. Each signal at timestep t becomes a variable “signal@t”. Temporal operators are unrolled to bounded disjunctions/conjunctions.
Structs§
- Directive
Result - Result of translating a directive — includes the semantic role.
- Sequence
Match - A single match endpoint for a sequence expression.
- SvaTranslator
- Translator that converts SvaExpr to bounded timestep verification IR.
- Translate
Result - Result of translating an SVA expression to bounded verification IR.
Enums§
- Arith
Bounded Op - Arithmetic operations in bounded IR.
- BitVec
Bounded Op - Bitvector operations in bounded IR.
- Bounded
Expr - A verification expression in the bounded timestep model. This is a Z3-ready IR — each node maps directly to a Z3 AST construct.
- Bounded
Sort - Sort annotation for bounded quantifiers.
- CmpBounded
Op - Comparison operations in bounded IR.
- Directive
Role - The semantic role of a directive in formal verification.
Functions§
- collect_
vars_ from_ bounded_ pub - Public wrapper for collect_vars_from_bounded (for testing).
- count_
and_ leaves - Count the number of And-leaves in a BoundedExpr tree.
- count_
or_ leaves - Count the number of Or-leaves in a BoundedExpr tree.
- extract_
signal_ names - Extract signal names from a BoundedExpr by collecting all Var names and stripping the @timestep suffix.