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