mirror of https://github.com/YosysHQ/yosys.git
smt2, btor: Use memory_map -rom-only to make ROMs usable for k-induction
This avoids provability regressions now that we infer more ROMs. This fixes #3378
This commit is contained in:
parent
ab3a9325c3
commit
4adef63cd4
|
@ -1402,6 +1402,7 @@ struct BtorBackend : public Backend {
|
|||
log_header(design, "Executing BTOR backend.\n");
|
||||
|
||||
log_push();
|
||||
Pass::call(design, "memory_map -rom-only");
|
||||
Pass::call(design, "bmuxmap");
|
||||
Pass::call(design, "demuxmap");
|
||||
log_pop();
|
||||
|
|
|
@ -1609,6 +1609,7 @@ struct Smt2Backend : public Backend {
|
|||
log_header(design, "Executing SMT2 backend.\n");
|
||||
|
||||
log_push();
|
||||
Pass::call(design, "memory_map -rom-only");
|
||||
Pass::call(design, "bmuxmap");
|
||||
Pass::call(design, "demuxmap");
|
||||
log_pop();
|
||||
|
|
Loading…
Reference in New Issue