3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-24 01:25:33 +00:00

memory_map: -keepdc option for formal

Use it when invoking memory_map -rom-only from write_{smt2,btor}.
This commit is contained in:
Jannis Harder 2022-06-27 15:47:55 +02:00
parent 48efc9b75c
commit d78d807a7f
3 changed files with 16 additions and 5 deletions

View file

@ -1405,7 +1405,7 @@ struct BtorBackend : public Backend {
log_header(design, "Executing BTOR backend.\n");
log_push();
Pass::call(design, "memory_map -rom-only");
Pass::call(design, "memory_map -rom-only -keepdc");
Pass::call(design, "bmuxmap");
Pass::call(design, "demuxmap");
log_pop();

View file

@ -1609,7 +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, "memory_map -rom-only -keepdc");
Pass::call(design, "bmuxmap");
Pass::call(design, "demuxmap");
log_pop();