mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 00:55:32 +00:00
Merge pull request #1534 from YosysHQ/mwk/opt_share-fix
opt_share: Fix handling of fine cells.
This commit is contained in:
commit
f43c0bd8ba
2 changed files with 24 additions and 4 deletions
13
tests/opt/bug1525.ys
Normal file
13
tests/opt/bug1525.ys
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue