How do you plan to solve it?
module top_module (input a,output y); //assign y=~a; not (y,a); endmodule