소스 검색

and gate test

Vyacheslav Vinokurov 2 주 전
부모
커밋
0620bed88d
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  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