How do you plan to solve it?
/*Write your code here*/ module top_module(input wire a, output reg y); always @(a) begin y = ~a; end endmodule