3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-24 06:43:41 +00:00

sat: Add -set-def-formal option to force defined $any* outputs

This commit is contained in:
Jannis Harder 2022-11-28 14:48:58 +01:00
parent 23e26ff661
commit ed0e14820e
3 changed files with 46 additions and 10 deletions

View file

@ -73,6 +73,7 @@ struct SatGen
std::map<std::pair<std::string, int>, bool> initstates;
bool ignore_div_by_zero;
bool model_undef;
bool def_formal = false;
SatGen(ezSAT *ez, SigMap *sigmap, std::string prefix = std::string()) :
ez(ez), sigmap(sigmap), prefix(prefix), ignore_div_by_zero(false), model_undef(false)