summaryrefslogtreecommitdiff
path: root/sn7401.v
diff options
context:
space:
mode:
Diffstat (limited to 'sn7401.v')
-rw-r--r--sn7401.v9
1 files changed, 9 insertions, 0 deletions
diff --git a/sn7401.v b/sn7401.v
new file mode 100644
index 0000000..67da3b1
--- /dev/null
+++ b/sn7401.v
@@ -0,0 +1,9 @@
+`timescale 1ps/1ns
+module sn7401
+ #(parameter tPLH = 0, tPHL = 0)
+ (input [3:0] A,
+ input [3:0] B,
+ output [3:0] Y);
+
+ assign #(tPLH, tPHL) (strong0, highz1) Y[i] = ~(A[i] & B[i]);
+endmodule