mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-12 06:00:55 +00:00
Merge pull request #5233 from YosysHQ/krys/equiv_assume
Assumptions for equiv_*
This commit is contained in:
commit
1ae82d7b9d
4 changed files with 450 additions and 150 deletions
|
@ -64,7 +64,7 @@ struct ezSatPtr : public std::unique_ptr<ezSAT> {
|
|||
struct SatGen
|
||||
{
|
||||
ezSAT *ez;
|
||||
SigMap *sigmap;
|
||||
const SigMap *sigmap;
|
||||
std::string prefix;
|
||||
SigPool initial_state;
|
||||
std::map<std::string, RTLIL::SigSpec> asserts_a, asserts_en;
|
||||
|
@ -75,12 +75,12 @@ struct SatGen
|
|||
bool model_undef;
|
||||
bool def_formal = false;
|
||||
|
||||
SatGen(ezSAT *ez, SigMap *sigmap, std::string prefix = std::string()) :
|
||||
SatGen(ezSAT *ez, const SigMap *sigmap, std::string prefix = std::string()) :
|
||||
ez(ez), sigmap(sigmap), prefix(prefix), ignore_div_by_zero(false), model_undef(false)
|
||||
{
|
||||
}
|
||||
|
||||
void setContext(SigMap *sigmap, std::string prefix = std::string())
|
||||
void setContext(const SigMap *sigmap, std::string prefix = std::string())
|
||||
{
|
||||
this->sigmap = sigmap;
|
||||
this->prefix = prefix;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue