Re-exports
pub use value::width_to_words;
pub use value::Value;
pub use value::ValueRef;
pub use value::Word;
Modules
Structs
- The actual context implementation.
- A dense hash map to store meta-data related to each expression
- Meta-data that helps with serialization, no matter if serializing to btor, our custom “human-readable” format or SMTLib.
- Indicates which context an expression is used in.
Enums
- Represents a SMT bit-vector or array expression.
- Represents three fundamental signal kinds that are mutually exclusive:
Traits
- Add an IR node to the context.
- Convenience methods to construct IR nodes.
- Lookup an IR node from the context
Functions
- Generates a list of all inputs and states that can influence the
root
expression. - Returns whether a signal is always “used”, i.e. visible to the outside world or not.
- Remove any inputs named
_input_[...]
and replace their use with a literal zero. This essentially gets rid of all undefined value modelling by yosys. - Applies simplifications to the expressions used in the system.
Type Aliases
- This restricts the maximum value that a bit-vector literal can carry.
- This type restricts the maximum width that a bit-vector type is allowed to have in our IR.