In digital logic, an inverter or NOT gate is a logic gate which implements logical negation. An inverter circuit outputs a voltage representing the opposite logic-level to its input.
1 2 3 4 5 | module inv(o,a); output o; input a; assign o=!a; endmodule |
