- #1

Hurly

- 19

- 0

## Homework Statement

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”

decimal: 0,1,3,5,7,6,4,2,0,…

binary: 000,001,011,101,111,110,100,010,000,…

- Counting “down”

decimal: 0,2,4,6,7,5,3,1,0,…

binary: 000,010,100,110,111,101,011,001,000,…

**2. The attempt at a solution**

I don't know if the state diagram and Table are right but I am having trouble with the flip-flop transition table and the simplified logic expressions for flip-flop inputs. could someone help me out please

imageshack.us/f/822/statediagram2.png/

Picture of state diagrams and state table