How do you plan to solve it?
i had taken module as top_module and i given what is input and what is output and assign the values
module top_module(a,y); input a; output y; assign y=a; endmodule