Archived
1
0
This repository has been archived on 2026-02-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
iceberg/memory/flipflop/jk_flipflop.sv
2022-03-08 15:07:02 +01:00

15 lines
242 B
Systemverilog

'include "gates/nand3way.v"
import sr_flipflop::*;
package jk_flipflop (
output jkq, jkq_compl
input j, k, clk
);
nand3way(notS, jkq_compl, j, clk);
nand3way(notR, jkq, k, clk);
sr_flipflop(jkq, jkq_compl, notS, notR);
endpackage