How do you plan to solve it?
It is also known as Inclusive OR. I used OR operator " | " to solve it.
module top_module( input wire a, input wire b, output wire y ); assign y = a | b; endmodule