3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-06 01:24:10 +00:00
yosys/tests/simple/case_expr_extend.sv

12 lines
169 B
Systemverilog

module top(
output logic [5:0] out
);
initial begin
out = '0;
case (1'b1 << 1)
2'b10: out = '1;
default: out = '0;
endcase
end
endmodule