1)If you are connecting the input and output connected directly the continuous assignment keyword "assign" is used because whenever the changes occurs in the input signal , the output value will change
Code
module top_module(input a, output y);
assign y = a;
endmodule