For this exam, you may use your textbook, your notes and assignments, your brain, the Math/CS computers, and divine inspiration, if available. If you get stuck, talk to Jeff Ondich, but please don't talk to anyone else about the exam.
Explain and justify your answers. Submit your answers on paper.
Your goal for this problem is to design a clock-driven circuit that will create a simple animation on the four-line display. The "frames" of the animation will be:
|_ _| _ | and _ |
That is, there's a little right-angle shape that goes around in a circle.
Your job is to design a clock-driven circuit that has one input (other than the clock), which we will call A, and four outputs, T, R, L, and B (top, right, left, and bottom). When A=0, the little right angle should go around in a circle clockwise as the clock ticks. When A=1, the shape should go around counter-clockwise.
You may find it helpful to design a state diagram and use
logical formulas to express T, R, L, and B in terms of state
numbers. If so, show me your diagram and formulas.