aboutsummaryrefslogtreecommitdiffstats
path: root/backends
diff options
context:
space:
mode:
authorJannis Harder <me@jix.one>2022-11-10 16:28:47 +0100
committerJannis Harder <me@jix.one>2022-11-30 18:24:35 +0100
commitf2c531e65f4518abe58d04e53d0116583651ac50 (patch)
tree603687ca1bd134d59240a405766d254acaf33892 /backends
parent82b630a246cd02a2df56786e7a25d4c38103e8cf (diff)
downloadyosys-f2c531e65f4518abe58d04e53d0116583651ac50.tar.gz
yosys-f2c531e65f4518abe58d04e53d0116583651ac50.tar.bz2
yosys-f2c531e65f4518abe58d04e53d0116583651ac50.zip
verilog_backend: Do not run bmuxmap or demuxmap in -noexpr mode.
Diffstat (limited to 'backends')
-rw-r--r--backends/verilog/verilog_backend.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/backends/verilog/verilog_backend.cc b/backends/verilog/verilog_backend.cc
index 5a9d9b63f..3da168960 100644
--- a/backends/verilog/verilog_backend.cc
+++ b/backends/verilog/verilog_backend.cc
@@ -2326,8 +2326,10 @@ struct VerilogBackend : public Backend {
}
log_push();
- Pass::call(design, "bmuxmap");
- Pass::call(design, "demuxmap");
+ if (!noexpr) {
+ Pass::call(design, "bmuxmap");
+ Pass::call(design, "demuxmap");
+ }
Pass::call(design, "clean_zerowidth");
log_pop();