HDLbits
Browse Problems

Circuits/Sequential Logic

32-Bit LFSR

hard
lfsrsequentialwide

Reset to 0x00000001. Shift left on each rising edge and insert the XOR of bits 31, 21, 1, and 0 at bit 0.