mirror of https://github.com/YosysHQ/yosys.git
smt2, btor: Revert calling memory_map -rom-only
This approach had major issues with ROMs whose initialization was not fully defined. If required, memory_map -rom-only -keepdc should be called early in a formal flow instead. (This does require a careful choice of optimization passes though. Sby's scripts will be updated accordingly.)
This commit is contained in:
parent
a6b440b5c9
commit
930bcf0e75
|
@ -1405,7 +1405,6 @@ struct BtorBackend : public Backend {
|
|||
log_header(design, "Executing BTOR backend.\n");
|
||||
|
||||
log_push();
|
||||
Pass::call(design, "memory_map -rom-only -keepdc");
|
||||
Pass::call(design, "bmuxmap");
|
||||
Pass::call(design, "demuxmap");
|
||||
log_pop();
|
||||
|
|
|
@ -1609,7 +1609,6 @@ struct Smt2Backend : public Backend {
|
|||
log_header(design, "Executing SMT2 backend.\n");
|
||||
|
||||
log_push();
|
||||
Pass::call(design, "memory_map -rom-only -keepdc");
|
||||
Pass::call(design, "bmuxmap");
|
||||
Pass::call(design, "demuxmap");
|
||||
log_pop();
|
||||
|
|
Loading…
Reference in New Issue