mirror of https://github.com/YosysHQ/yosys.git
12 lines
173 B
Systemverilog
12 lines
173 B
Systemverilog
|
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
|