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:
commit
cede13a742
2 changed files with 21 additions and 3 deletions
9
tests/various/muxpack_wide_y.ys
Normal file
9
tests/various/muxpack_wide_y.ys
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue