Skip to content

Commit

Permalink
opt_demorgan: add test for zero width cell
Browse files Browse the repository at this point in the history
  • Loading branch information
georgerennie committed Sep 25, 2024
1 parent 58af706 commit e105cae
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/opt/bug4610.ys
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
read_ilang <<EOT
autoidx 1
module \top
wire output 1 \Y
cell $reduce_or $reduce_or$rtl.v:29$20
parameter \A_SIGNED 0
parameter \A_WIDTH 0
parameter \Y_WIDTH 1
connect \A { }
connect \Y \Y
end
end
EOT

equiv_opt -assert opt_demorgan

0 comments on commit e105cae

Please sign in to comment.