Design and implement a synchronous 3-bit up/down counter with the following decimal code sequence: 0,1,3,5,7,6,4,2,0,… The counter should count “up” when an UP/DOWN control input Y is 1, and count “down” when the control input is 0.
- Counting “up”
- Counting “down”
2. The attempt at a solution
I don't know if the state diagram and Table are right but im having trouble with the flip-flop transition table and the simplified logic expressions for flip-flop inputs. could someone help me out please
Picture of state diagrams and state table