Question: Extend your modulo 8 Gray code counter from Exercise 3.27 to be an UP/DOWN counter by adding an UP input. If UP = 1, the
Extend your modulo 8 Gray code counter from Exercise 3.27 to be an UP/DOWN counter by adding an UP input. If UP = 1, the counter advances to the next number. If UP = 0, the counter retreats to the previous number.?
Data From Problem 27
Gray codes have a useful property in that consecutive numbers differ in only a single bit position. Table 3.23 lists a 3-bit Gray code representing the numbers 0 to 7. Design a 3-bit modulo 8 Gray code counter FSM with no inputs and three outputs. (A modulo N counter counts from 0 to N ? 1, then?

repeats. For example, a watch uses a modulo 60 counter for the minutes and seconds that counts from 0 to 59.) When reset, the output should be 000. On each clock edge, the output should advance to the next Gray code. After reaching 100, it should repeat with 000.
Table 3.23 3-bit Gray code Number Gray code 0 0 0 1 1 1 1 3 1 4 1 1 5 1 1. 1 6 7 1 2.
Step by Step Solution
3.38 Rating (151 Votes )
There are 3 Steps involved in it
S 2 UPS 1 S UPS 1 S 0 S 2 S 0 S 1 S 1 S 0 ... View full answer
Get step-by-step solutions from verified subject matter experts
