# How to design new flip flop using JK flip flop

I have an excitation table that called MN flip flop like below.

Q Q' M N
0 0  0 X
0 1  1 X
1 0  X 0
1 1  X 1


I try to design a counter that count 0-7-2-3 in Proteus. In my estimation, this excitation table is like JK flip flop's excitation table and if I use not gate for K values, I find N values, is that possible like that converting? If not, how can I design flip flops like above that has excitation table for Proteus design. Any offers? Thanks.