3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-04-03 18:35:17 +00:00

Merge pull request #5765 from YosysHQ/emil/muxpack-wide-port

muxpack: fix wide Y port handling
This commit is contained in:
Emil J 2026-03-31 10:49:39 +00:00 committed by GitHub
commit cede13a742
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 21 additions and 3 deletions

View file

@ -0,0 +1,9 @@
# Regression test for issue #5734: muxpack crash when $logic_not / $eq / $reduce_or
# has Y port width > 1 (e.g. boolean result assigned to a wide wire).
read_verilog <<EOT
module top(input b, output [18:0] h);
assign h = ~|b;
endmodule
EOT
proc
muxpack