Note: it’s recommended to follow this VHDL tutorial series in order, starting with the first tutorial. In the previous tutorial – VHDL tutorial 16 – we designed a D flip-flop circuit by using VHDL. For this project, we will: Write a VHDL program to build a JK flip-flop circuit Verify the output...
Then this is a lesson about believing things you find on the Internet.
As is far too common "the exercise is left..."
Begin with some reading on latches / half-latches / flip-flops and the
classic forms (these days nobody makes D FFs out of NAND gates
and hardly anyone uses a JK unless they are doing custom transistor
level, primitive gate level bottom-up).