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