1
0
mirror of synced 2026-01-31 14:12:20 +00:00
Files
YosysHQ.yosys/tests/various/setundef.sv
mszelwiga 8e508f2a2a Fix setting bits of parameters in setundef pass
This commit also adds test that verifies correctness of this change.
2024-11-08 17:03:08 +01:00

11 lines
182 B
Systemverilog

module foo #(parameter [1:0] a) (output [1:0] o);
assign o = a;
endmodule
module top(output [1:0] o);
foo #(2'b0x) foo(o);
always_comb begin
assert(o == 2'b00);
end
endmodule