module gate00 (a,b,c);
input a,b;
output c;
assign c=a&b;
endmodule
入力ポート a,b
出力ポート c
c
a
b
module gate00
最後に;
モジュール名にANDを使うことは好ましくない
andは予約語であるためモジュール名として使用できない