4 #ifndef CHC_INV_IN_WRAPPER_H__
5 #define CHC_INV_IN_WRAPPER_H__
7 #include <ilang/smt-inout/yosys_smt_parser.h>
16 std::string raw_string;
34 virtual bool ParseInvResultFromFile(
const std::string& fname) = 0;
36 virtual void ParseSmtResultFromString(
const std::string& text) = 0;
69 bool _flatten_datatype,
bool _flatten_hierarchy,
70 const std::set<std::string>& _inv_pred_name,
71 const std::string& dut_inst_name);
85 bool ParseInvResultFromFile(
const std::string& fname);
87 void ParseSmtResultFromString(
const std::string& text);
97 #endif // CHC_INV_IN_WRAPPER_H__
this a base class, should not be instantiated
Definition: chc_inv_in_wrapper.h:61
static void parse_local_var_name_to_set_counter(const std::string &name)
parse the names to set the new counters
std::string GetRawSmtString() const
get the local variable definitions
this a base class, should not be instantiated
Definition: chc_inv_in_wrapper.h:13
SmtlibInvariantParserInstance & operator=(const SmtlibInvariantParserInstance &)=delete
no assignment
virtual std::string GetFinalTranslateResult() const =0
get the translate result
to parse an smt file this will only work on the yosys's generated smt and not on the assembled CHC ...
Definition: yosys_smt_parser.h:22
std::string GetFinalTranslateResult() const
get the translate result
static unsigned get_local_ctr()
to check the value of this counter
static void set_new_local_ctr(unsigned cnt)
set the counter to a new val when loading
SmtlibInvariantParserBase & operator=(const SmtlibInvariantParserBase &)=delete
no assignment
static unsigned local_var_idx
the idx to it
Definition: chc_inv_in_wrapper.h:56
static std::string get_a_new_local_var_name()
a counter to get local variable name