The most commonly used linear function of a single bit is Exclusive OR (XOR). It is a shift register whose input bit is a linear function of its previous state. Linear-feedback shift registers are commonly used in data-compression circuits implementing a signature analysis technique called cyclic-redundancy check (CRC).Īutonomous LFSRs are used in applications requiring pseudo-random binary numbers. 1: Sample block diagram of a 4-bit LFSR LFSR This project describes the RTL model of a synchronous circuit-an autonomous LFSR that executes concurrent transformations on a data path under the synchronising control of its input clock signal. Register-transfer level (RTL) models are quite popular in the industry as these can be easily synthesised using latest electronic design automation (EDA) tools. Presented here is a linear-feedback shift register (LFSR) using Verilog that is designed and simulated using ModelSim testbench.