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

Revert "opt_clean: handle undriven and x-bit driven bits consistently"

This reverts commit 8eb48fe446.
This commit is contained in:
Emil J. Tywoniak 2025-04-10 11:35:19 +02:00
parent ff88b7b2e8
commit 9f74e1bd2b
2 changed files with 4 additions and 32 deletions

View file

@ -1,14 +0,0 @@
read_verilog <<EOT
module alu(
);
wire [1:0] p1, p2;
assign p1 = 2'bx1;
assign p2[0] = 1'b1;
endmodule
EOT
proc
opt_clean
dump
select -assert-count 1 w:p1 a:unused_bits=1 %i
select -assert-count 1 w:p2 a:unused_bits=1 %i