diff options
author | Jannis Harder <me@jix.one> | 2022-11-10 16:28:47 +0100 |
---|---|---|
committer | Jannis Harder <me@jix.one> | 2022-11-30 18:24:35 +0100 |
commit | f2c531e65f4518abe58d04e53d0116583651ac50 (patch) | |
tree | 603687ca1bd134d59240a405766d254acaf33892 /backends | |
parent | 82b630a246cd02a2df56786e7a25d4c38103e8cf (diff) | |
download | yosys-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.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(); |