I got school project and I was trying to make counter that will count in this order: 1,3,6,5,2,4 and again but there is forbidden numbers 0,7(I assign 7 to 3 and 0 to 1 see border on table). So I used 3 JK flip-flops(C, B and A). There is table for counter:
After minimization I get following results:
Jc = B Jb=A Ja=~B+C Kc = A Kb=~A Ka=C~B+~C+B (XOR C+B)
And when I get it all together in Multisim (clock input of all JK FFs merged all together and connect to the CLOCK_VOLTAGE and 3 PROBE_DIG_RED to 3 ~Q outputs to see if it works) it just lights first two and turns off.
I also did another version in different sequence( to count up from 1 to 6 but not to show 0 and 7) and it displays 1,2,3,4,5,6 but in strage way. I was using 7 SEGMENT display and it shows me numbers 1,5,3,6 if I connect decoder to Qs of Flip flops but if I connect to ~Qs of FFs it shows 6,2,4,1. Is this how it works in Multisim or I have done something wronig ?
And what I have done wrong in current version of counter ?