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:
Jannis Harder 2022-06-17 17:23:13 +02:00
parent ab3a9325c3
commit 4adef63cd4
2 changed files with 2 additions and 0 deletions

View File

@ -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();

View File

@ -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();