yosys/tests/simple/case_expr_extend.sv

12 lines
173 B
Systemverilog
Raw Normal View History

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