How do you plan to solve it?
Assign output as negation of input.
/*Write your code here*/ module top_module (input a, output y); assign y = ~a; endmodule