S3 Digital design with HDL · Practice
Finite state machines in HDL
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 9 kinds solid
Check
A binary-encoded machine has 11 states. How many unused codes does it leave?
Check
A one-hot machine has 7 states. How many unused (illegal) codes does it leave?
Check
How many states does a Moore machine need to detect a non-overlapping 5-bit pattern?
Check
How many more flip-flops does one-hot use than binary for 13 states?
Check
An 8-bit binary counter wraps from all ones back to zero. How many flip-flops change at once? (A Gray counter would change one.)
Check
A state machine has 7 states.
(a)
How many flip-flops does binary encoding use?
(b)
How many codes does it leave unused?
(c)
How many codes does one-hot encoding leave unused?
Check
Unused binary codes for 10 states?
Check
Illegal one-hot codes for 6 states?
Check
Moore states for a 5-bit pattern?
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 S3