blob: 33f79b1c48efaa36bc22b5dfe3292fba8e484e84 [file]
module top (input [1:0] s, input [5:0] a, b, c, d, output reg [5:0] y);
always @* begin
case (s)
0: y = a;
1: y = b;
2: y = c;
3: y = d;
endcase
end
endmodule