Added AND gate module

This commit is contained in:
WilliamMiceli
2019-02-15 14:59:38 -05:00
parent 9eec4cdc76
commit 81cdf3c62b

View File

@@ -12,6 +12,15 @@ module adder_1bit(
endmodule
module and_gate(
input wire A,
input wire B,
output wire C);
assign C = A & B;
endmodule
module gen_clock();
reg clk;