applying compliment of input to output
module top_module(input a , output y); assign y=~a; endmodule