I used just a not operator to solve the problem. Nothing specioal........
module top_module(input a, output y); assign y = ~a; endmodule