51 z3::expr
from_bf(
const BooleanFunction& bf, z3::context& ctx,
const std::map<std::string, z3::expr>& var2expr = {});
68 Result<BooleanFunction>
to_bf(
const z3::expr& e);
76 std::string
to_smt2(
const z3::expr& e);
84 std::string
to_cpp(
const z3::expr& e);
93 std::string
to_verilog(
const z3::expr& e,
const std::map<std::string, bool>& control_mapping = {});
117 std::set<u32>
extract_net_ids(
const std::set<std::string>& variable_names);
std::set< std::string > get_variable_names(const z3::expr &e)
Extracts all variable names from a z3 expression.
std::set< u32 > extract_net_ids(const z3::expr &e)
Extracts all net IDs from the variables of a z3 expression.
std::string to_smt2(const z3::expr &e)
z3::expr from_bf(const BooleanFunction &bf, z3::context &ctx, const std::map< std::string, z3::expr > &var2expr={})
std::string to_verilog(const z3::expr &e, const std::map< std::string, bool > &control_mapping={})
Translates a z3 expression into a verilog network representation.
std::string to_cpp(const z3::expr &e)
z3::expr get_expr_in_ctx(const z3::expr &e, z3::context &ctx)
Translates the expr to another context.
Result< z3::expr > value_from_binary_string(z3::context &ctx, const std::string &bit_string)
Result< BooleanFunction > to_bf(const z3::expr &e)