I am a beginner with Verilog HDL and trying to model a few modules from logic diagrams. If two wires are input into a NAND gate followed by another inverter afterwards, would that just be a AND gate in theory? Since the output wire desired is on the other side of the inverter. Would it be.
AND
g1(F,A,B)
A and B being the inputs and F being the output. Also, just for future knowledge, how would I implement an inverter using Verilog?