Counter Design 2

# The second section contains all possible present

This preview shows pages 1–3. Sign up to view the full content.

The second section contains all possible present states when the input x = 1. Since the specification calls for a different sequence of states, i.e., a different set of next states for each set of present states, when the value of x changes, we can easily provide the information for each of the two cases of the counter’s operation. Step 2: Arrange the next states. As indicated previously, the division of the table makes it easy for us to consider the state machine according to each of its functions. With that being the case, we can fill in each half of the table according to the sequence that we know to be followed for a particular control input value. We obtain the table as shown below. Present State Next State SR inputs D inputs JK inputs T inputs x A B A + B + S A R A S B R B D A D B J A K A J B K B T A T B 0 0 0 0 1 0 0 1 1 0 0 1 0 1 1 0 1 1 0 0 1 0 0 0 1 1 0 1 1 1 1 1 0 0 0 1 1 1 1 0 In the upper half of the state table, the next states correspond to those that would form the standard counting sequence. In the lower half of the table, the next states correspond to those that would form a Gray Code counting sequence.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Step 3: Obtain the excitation information. We can shade this table just as we did the last one, so that we can keep track of how to compare the next states to the present states, and how to fill in the corresponding excitation information.
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern