David's Online LFSR Unroller

This web page computes the equations for an N-clock lookahead for the next state of and LFSR and generates the verilog code for the equations. You provide the length, the taps and the amount of lookahead. It defaults to a 32 bit LFSR with a maximal length tap setting and 8 clocks of lookahead. For lengths between 4 and 32, it will tell you whether or not your taps lead to a maximal length LFSR.

Taps (in Hex):
Length (in bits):
Lookahead (in clocks):


// Equations for 32 bit 8 clock LFSR lookahead.