Why my synchronous counter toggling between two numbers?

AI Thread Summary
A bi-directional synchronous counter was designed to count the sequence 7, 4, 6, 5, 2, 1, functioning correctly in the forward direction. However, when counting backwards, it toggled between 5 and 2 after reaching 5, indicating a potential design issue. The user reviewed their K-maps and circuit simulations but couldn't identify the problem. After receiving suggestions, they discovered the issue was related to their JK terms. The problem has since been resolved.
Nieldw
Messages
2
Reaction score
0
EDIT: SOLVED

I designed a bi-directional synchronous counter with the sequence 7 4 6 5 2 1. The up count counts correctly (ie 7 4 6 5 2 1) but when I flick the switch to reverse it it counts backwards correctly initially until it reaches 5, and then it goes back to 2 and then back to 5 and continues to toggle between the two numbers. I have gone over my k-maps etc time and time again and I can't find any design problem. This happens both with my real life circuit and the one I simulated in Multisim. Can anyone point me in the right direction?

Link to multisim file (if anyone wants to view it, press space to reverse count direction):

https://www.dropbox.com/s/9ophqq0kgli826d/projectd2checkretryk2v2.ms13?dl=0
 
Last edited:
Physics news on Phys.org
Don't have multi-sim sadly.

However based on the behavior you posted its likely that when the current state is 5, its treating both counting forward and backwards as counting forward.
Double check everything around that :)
 
cpscdave said:
Don't have multi-sim sadly.

However based on the behavior you posted its likely that when the current state is 5, its treating both counting forward and backwards as counting forward.
Double check everything around that :)

Thank you I have solved this particular problem, turns out there was a small problem with my JK terms
 

Similar threads

Back
Top