Return to site

Linear feedback shift register c code

broken image

The data input to the LFSR is generated by XOR-ing or XNOR-ing the tap bits the remaining bits function as a standard shift register. All of the register elements share a common clock input, which is omitted from the symbol for reasons of clarity.

broken image

The taps in this example are at bit 0 and bit 2, and can be referenced as.

broken image