How do you plan to solve it?
/*Write solution code here*/ module selector3( input [7:0] a, input [7:0] b, input [7:0] c, input [1:0] sel, output reg [7:0] y ); always @* begin y = 8'd0; if(sel== 2'd0) y = a; else if(sel == 2'd1) y = b; else if(sel == 2'd2) y = c; end endmodule