Compare commits
No commits in common. '4bb3f3424a296d9eec877212810212103ae9f986' and 'baeb759824d053fd1270e2dcdeb0e0b26cdc73cb' have entirely different histories.
4bb3f3424a
...
baeb759824
6 changed files with 21 additions and 59 deletions
@ -1,15 +1,11 @@
@@ -1,15 +1,11 @@
|
||||
module gates (a, b, c, o0, o1, o2, o3 ); |
||||
module gates (a, b, o0, o1 ); |
||||
input a; |
||||
input b; |
||||
input c; |
||||
output o0; |
||||
output o1; |
||||
output o2; |
||||
output o3; |
||||
|
||||
AND2_X1 andgate (.A1 ( a ) , .A2 ( b ) , .ZN ( o0 ) ) ; |
||||
NAND2_X1 nandgate (.A1 ( a ) , .A2 ( b ) , .ZN ( o1 ) ) ; |
||||
OAI21_X1 oai21gate (.B1(a), .B2(b), .A(c), .ZN(o2) ) ; |
||||
MUX2_X1 mux2gate (.A(a), .B(b), .S(c), .Z(o3)) ; |
||||
AND2X1 andgate (.IN1 ( a ) , .IN2 ( b ) , .Q ( o0 ) ) ; |
||||
NAND2X1 nandgate (.IN1 ( a ) , .IN2 ( b ) , .QN ( o1 ) ) ; |
||||
|
||||
|
||||
endmodule |
Loading…
Reference in new issue