C7 Digital logic · Practice
Shift registers, LFSRs and CRCs
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
How many states does a maximal-length 8-bit LFSR cycle through?
Check
How many states does a Johnson counter built from 4 flip-flops have?
Check
A shift register clocked at 1 MHz receives 32 bits serially. How long does it take?
Write units the way you normally would: 1.5 µs, 1500 ns and 0.0015 ms are the same answer.
Check
A 4-bit LFSR shifts left, dropping bit 3, and puts into bit 0. Its state is 6 (in decimal). What is the next state?
Check
A serial link sends 10 bit times per byte (start, data, parity and stop bits) at 115200 bits per second. How many bytes per second?
Check
A maximal-length LFSR has n = 7 bits; a serial link runs at 9600 bits per second with start and stop bits.
(a)
What's the LFSR's period?
(b)
How many bytes per second does the link carry?
Check
How many states does a ring counter of 5 flip-flops have?
Check
How many clocks does a PISO register need to send a 16-bit word?
Check
How many bits long is the CRC from a generator polynomial of degree 16?
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