diff options
| author | Paul Harrison <[email protected]> | 2026-06-15 12:43:46 -0700 |
|---|---|---|
| committer | Paul Harrison <[email protected]> | 2026-06-15 12:43:46 -0700 |
| commit | d36312347320006b4fdf096df3283223dbd4a302 (patch) | |
| tree | 7544853a0e5e65fc8d939db9ebb8257237425a02 /sn7423.v | |
some modelsmain
Diffstat (limited to 'sn7423.v')
| -rw-r--r-- | sn7423.v | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sn7423.v b/sn7423.v new file mode 100644 index 0000000..2f8db87 --- /dev/null +++ b/sn7423.v @@ -0,0 +1,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 |
