How do you plan to solve it?
module decoder3to8(input [2:0]s, output [7:0] y); assign y = 8'b00000001 << s; endmodule