How do you plan to solve it?
First analyze the problem after that try to answer
module top_module(input a, output y); assign y=a;// Write your code here endmodule