In: Computer Science
Greetings!!
Step 1: Get the excitation table of SR flip flop because the SR input has to be enabled as per the requirement.
Step 2: Make a truth table
a. Make all possible combinations of J and K inputs along with the possible Present State Q
b. Find the Next State Q+1 based on these 3 combinations J,K and Q
c. Using the excitation table, mark all the SR excitation inputs to drive Q to Q+1
Step 3: Plot K map for S and K
Step 4: Draw the diagram
Test cases:
1.
2.
3.
Hope this helps