Bläddra i källkod

and gate test

Vyacheslav Vinokurov 2 veckor sedan
förälder
incheckning
0620bed88d
1 ändrade filer med 7 tillägg och 0 borttagningar
  1. 7 0
      cores/logic_gate_and.v

+ 7 - 0
cores/logic_gate_and.v

@@ -0,0 +1,7 @@
+module logic_and_gate(
+    input exp_p_tri_io[0]
+    input exp_p_tri_io[1]
+    output exp_n_tri_io[0]
+)
+    assign exp_n_tri_io[0] = exp_p_tri_io[0] & exp_p_tri_io[0]
+endmodule