The VHDL code is for a negative edge triggered JK FF Fill in
The VHDL code is for a negative edge triggered JK FF. Fill in the blanks in the CASE structure making the correct assignments to q for the HOLD (no change), RESET, SET, and Toggle events.
Solution
CASE jK IS
WHEN “00” =>q<=q; --Hold
WHEN “01” =>q<=’0’; --Reset
WHEN “10” =>q<=’1’; --Set
WHEN “11” =>q<=NOT q; -Toggle
WHEN OTHERS =>q<=q;
END CASE;
