blob: 2f8db872e0a5d2fb04a2dbaa252f2a3bd54c9469 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
`timescale 1ns/1ps
module sn7423
#(parameter tPLH = 0, tPHL = 0)
(input [1:0] A,
input [1:0] B,
input [1:0] C,
input [1:0] D,
input [1:0] G,
input X,
output [1:0] Y);
wire [1:0] Xt;
assign Xt = {0, X};
assign #(tPLH, tPHL) Y = ~((G & (A | B | C | D)) | Xt);
endmodule
|