C7 Digital logic · Practice
Analyzing sequential circuits
Problems dealt one at a time, with new numbers every time. The kinds you miss come back more often, and you can keep going as long as you like.
0 solved
0 in a row
0 of 7 kinds solid
Check
Two D flip-flops have and . The present state is 01. What is the next state?
Check
A ring counter has , , . From state = 010, what's the next state?
Check
A sequential circuit's flip-flops have 80 ps clock-to-Q and 40 ps setup, and its longest logic path is 100 ps. What's its maximum clock frequency?
Write units the way you normally would: 1.5 GHz, 1500 MHz and 0.0015 THz are the same answer.
Check
A 4-bit Johnson counter has and . How many states are in its main cycle?
Check
Write analyze(next_state, n) for a circuit with no inputs, where next_state(s) gives the next state of an n-bit state s. Return (cycles, lockout): cycles is a sorted list of the cycles' lengths (each cycle counted once), and lockout is True if more than one cycle exists. Test it on a ring counter and a Johnson counter of 5 bits, setting ring and johnson to the results.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
What's with 40 ps clock-to-Q, a 150 ps logic path and 50 ps setup?
Write units the way you normally would: 1.5 GHz, 1500 MHz and 0.0015 THz are the same answer.
Check
How many states are in a 6-bit ring counter's intended cycle (a single 1 circulating)?
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in C7