aboutsummaryrefslogtreecommitdiffstats
path: root/backends
diff options
context:
space:
mode:
authorJannis Harder <me@jix.one>2022-06-27 15:47:55 +0200
committerJannis Harder <me@jix.one>2022-06-27 15:47:55 +0200
commitd78d807a7fa1747b40da8bac9e278183cf86d3cc (patch)
tree87275076577a88aff4947d94cb488abfce22c696 /backends
parent48efc9b75c349beae615b8284cc3e23ebad28773 (diff)
downloadyosys-d78d807a7fa1747b40da8bac9e278183cf86d3cc.tar.gz
yosys-d78d807a7fa1747b40da8bac9e278183cf86d3cc.tar.bz2
yosys-d78d807a7fa1747b40da8bac9e278183cf86d3cc.zip
memory_map: -keepdc option for formal
Use it when invoking memory_map -rom-only from write_{smt2,btor}.
Diffstat (limited to 'backends')
-rw-r--r--backends/btor/btor.cc2
-rw-r--r--backends/smt2/smt2.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/btor/btor.cc b/backends/btor/btor.cc
index 7dec70545..2dc3b5954 100644
--- a/backends/btor/btor.cc
+++ b/backends/btor/btor.cc
@@ -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();
diff --git a/backends/smt2/smt2.cc b/backends/smt2/smt2.cc
index 6e70f9043..c75d4a98a 100644
--- a/backends/smt2/smt2.cc
+++ b/backends/smt2/smt2.cc
@@ -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();