Archived
1
0

minor fixes in flipflop logic

This commit is contained in:
Erick
2022-03-08 15:07:02 +01:00
parent bfb055ed87
commit 8c70d4384f
5 changed files with 26 additions and 32 deletions
+4 -6
View File
@@ -1,14 +1,12 @@
'include "gates/nand3way16.v"
import sr_flipflop::*;
package d_flipflop (
output [15:0]dq, [15:0]dq_compl
input [15:0]d, clk,
output dq, dq_compl
input d, clk,
);
nand16(tmp0, d, clk);
nand16(tmp1, clk, tmp0);
nand(tmp0, d, clk);
nand(tmp1, clk, tmp0);
sr_flipflop(dq, dq_compl, tmp0, tmp1);