How do you plan to solve it?
The variable a is negated using symbol '~' and assigned to y.
/*Write your code here*/ module top_module(input a, output y); assign y = ~a ; endmodule