3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-24 05:08:56 +00:00

opt_share: Fix handling of fine cells.

Fixes #1525.
This commit is contained in:
Marcin Kościelnicki 2019-11-27 00:46:21 +01:00
parent 0466c48533
commit fdcbda195b
2 changed files with 24 additions and 4 deletions

13
tests/opt/bug1525.ys Normal file
View file

@ -0,0 +1,13 @@
read_verilog << EOF
module top(...);
input A1, A2, B, S;
output O;
assign O = S ? (A1 & B) : (A2 & B);
endmodule
EOF
simplemap
opt_share
dump