Verilog Coding Exercise · Sequential
LFSR (Linear Feedback Shift Register)
A shift register with just enough feedback to look random.
Feeds an XOR of specific "tap" bits back into the shift register's input, producing a long pseudo-random sequence from a small amount of hardware — used in counters, cryptography, and built-in self-test circuits.