3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 00:55:32 +00:00

extract_reduce: Refactor and fix input signal construction.

Fixes #3047.
This commit is contained in:
Marcelina Kościelnicka 2021-10-21 02:58:10 +02:00
parent a0e9d9fef9
commit e64456f920
2 changed files with 46 additions and 63 deletions

12
tests/opt/bug3047.ys Normal file
View file

@ -0,0 +1,12 @@
read_verilog << EOT
module test (A, B, C, D, Y);
input A, B, C, D;
output Y;
assign Y = A^B^C^D^A;
endmodule
EOT
techmap
equiv_opt -assert extract_reduce