mirror of https://github.com/YosysHQ/yosys.git
Use "-keepdc" in "miter -equiv -flatten"
This commit is contained in:
parent
2dc3333734
commit
c55eb8f8a6
|
@ -251,7 +251,7 @@ static void create_miter_equiv(struct Pass *that, std::vector<std::string> args,
|
||||||
|
|
||||||
if (flag_flatten) {
|
if (flag_flatten) {
|
||||||
log_push();
|
log_push();
|
||||||
Pass::call_on_module(design, miter_module, "flatten; opt_const -undriven;;");
|
Pass::call_on_module(design, miter_module, "flatten; opt_const -keepdc -undriven;;");
|
||||||
log_pop();
|
log_pop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -285,7 +285,7 @@ struct MiterPass : public Pass {
|
||||||
log(" also create an 'assert' cell that checks if trigger is always low.\n");
|
log(" also create an 'assert' cell that checks if trigger is always low.\n");
|
||||||
log("\n");
|
log("\n");
|
||||||
log(" -flatten\n");
|
log(" -flatten\n");
|
||||||
log(" call 'flatten; opt_const -undriven;;' on the miter circuit.\n");
|
log(" call 'flatten; opt_const -keepdc -undriven;;' on the miter circuit.\n");
|
||||||
log("\n");
|
log("\n");
|
||||||
}
|
}
|
||||||
virtual void execute(std::vector<std::string> args, RTLIL::Design *design)
|
virtual void execute(std::vector<std::string> args, RTLIL::Design *design)
|
||||||
|
|
Loading…
Reference in New Issue