C7 Digital logic · Practice
Problem set 9: state machines and memory
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 12 kinds solid
Check
A state machine has 9 states.
(a)
How many flip-flops does a binary encoding need?
(b)
How many unused codes does it leave?
Check
A machine detects a particular 5-bit input sequence, overlapping allowed.
(a)
How many states does a Moore version need?
(b)
How many does a Mealy version need?
Check
A ring of 6 states advances one state per clock, wrapping after the last.
(a)
Starting in state 1, where is it after 5 clocks?
(b)
How many flip-flops does a one-hot encoding use?
Check
A memory has 20 address lines and 8-bit words.
(a)
How many words does it hold?
(b)
How many mebibytes is that?
Check
A 128K × 16 memory is built from 64K × 16 chips.
(a)
How many chips?
(b)
How many address bits drive the chip-select decoder?
Check
A DRAM must refresh all 16384 rows every 32 ms.
(a)
How often must it refresh one row?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
(b)
How many row refreshes per second?
Check
A bit line's sense signal grows as with τ = 40 ps.
(a)
How long until it reaches 0.3 of its final value?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
And 90%?
Check
A ROM implements 2 functions of 8 inputs.
(a)
How many bits does it store?
(b)
How many words?
Check
An FPGA has 4-input LUTs.
(a)
How many configuration bits does each LUT hold?
(b)
How many LUTs does a 13-input AND take?
Check
Bursts of 50 words at 120 MHz feed a reader at 90 MHz through a FIFO.
(a)
What depth does a burst need?
(b)
How long does the reader take to drain that backlog?
Write units the way you normally would: 1.5 µs, 1500 ns and 0.0015 ms are the same answer.
Check
A design scales from 1.0 V to 0.65 V with = 0.25 V.
(a)
What fraction of the energy per operation remains?
(b)
What fraction of the speed?
Check
A controller has 11 states.
(a)
How many flip-flops with binary encoding?
(b)
With one-hot?
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