Question: Problem 3 (10 Points): Write an SystemVerilog module for a JK flip-flop. The flip-flop has input port: clk, J, and K, and output port: Q.

Problem 3 (10 Points): Write an SystemVerilog module for a JK flip-flop. The flip-flop has input port: clk, J, and K, and output port: Q. On the rising edge of the clock, Q keeps its old value if J K 0. It sets Q to 1 if J = 1, resets Q to 0 if K = 1, and inverts Q if J = K-1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
