diff options
author | Jannis Harder <me@jix.one> | 2022-06-17 19:08:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-17 19:08:14 +0200 |
commit | e6a5d84149b51640e658145618bb4f6b8b31bb33 (patch) | |
tree | 929b5c297563f8e081fc118afb0566576bbf4968 | |
parent | ab3a9325c33b5b1b9de6971b6931ee12c3e3871c (diff) | |
parent | 4adef63cd484d81da08ae6b5fe49b1d5d4d0b369 (diff) | |
download | yosys-e6a5d84149b51640e658145618bb4f6b8b31bb33.tar.gz yosys-e6a5d84149b51640e658145618bb4f6b8b31bb33.tar.bz2 yosys-e6a5d84149b51640e658145618bb4f6b8b31bb33.zip |
Merge pull request #3383 from jix/write_formal_map_roms
smt2, btor: Use memory_map -rom-only to make ROMs usable for k-induction
-rw-r--r-- | backends/btor/btor.cc | 1 | ||||
-rw-r--r-- | backends/smt2/smt2.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/backends/btor/btor.cc b/backends/btor/btor.cc index 7de5deadd..5be9bf324 100644 --- a/backends/btor/btor.cc +++ b/backends/btor/btor.cc @@ -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(); diff --git a/backends/smt2/smt2.cc b/backends/smt2/smt2.cc index 7481e0510..6e70f9043 100644 --- a/backends/smt2/smt2.cc +++ b/backends/smt2/smt2.cc @@ -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(); |