diff options
-rw-r--r-- | backends/verilog/verilog_backend.cc | 6 |
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(); |