aboutsummaryrefslogtreecommitdiffstats
path: root/backends/smt2
diff options
context:
space:
mode:
authorJannis Harder <me@jix.one>2022-06-29 18:28:34 +0200
committerJannis Harder <me@jix.one>2022-06-29 18:28:34 +0200
commit930bcf0e75f3b8d6c5afbdffda5ef7fd7eddc964 (patch)
tree22888c5c6ed69122274b3f210f9e000ef6f7ae44 /backends/smt2
parenta6b440b5c9c4fb0472c01aec84961c3f1b40c954 (diff)
downloadyosys-930bcf0e75f3b8d6c5afbdffda5ef7fd7eddc964.tar.gz
yosys-930bcf0e75f3b8d6c5afbdffda5ef7fd7eddc964.tar.bz2
yosys-930bcf0e75f3b8d6c5afbdffda5ef7fd7eddc964.zip
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.)
Diffstat (limited to 'backends/smt2')
-rw-r--r--backends/smt2/smt2.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/backends/smt2/smt2.cc b/backends/smt2/smt2.cc
index c75d4a98a..7481e0510 100644
--- a/backends/smt2/smt2.cc
+++ b/backends/smt2/smt2.cc
@@ -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();