Return to site

Linear feedback shift register truth table

broken image

LFSRs and PolynomialsĪ LFSR is specified entirely by its polynomial. Figure 2 shows an LFSR implementation in C, and Figure 3 shows a 16-bit LFSR implementation in 8051 assembly.

broken image

Generating the pseudo-random numbers only requires a right-shift operation and an XOR operation. LFSRs (linear feedback shift registers) provide a simple means for generating nonsequential lists of numbers quickly on microcontrollers. The application note describes how they can be implemented and techniques that can be used to improve the statistical properties of the numbers generated.

broken image

Linear feedback shift registers are introduced along with the polynomials that completely describe them.

broken image