Use lfsr to build an Error Compensation System

Source: Internet
Author: User

Use lfsr to build an Error Compensation System

First, understand what lfsr is.

Linear Feedback Shift Register (lfsr) is the most basic standard module structure in the internal test circuit. It uses both pseudo-random test code generator and feature analyzer for compressing test result data.

An n-order lfsr consists of N triggers and multiple exclusive OR gates. In practical application, two types of lfsr are mainly used, namely, the external Linear Feedback Shift Register (ie lfsr, Figure 1) and the internal Linear Feedback Shift Register (EE lfsr, figure 2 ). Where, when G1 G2 gn is '0' or '1', q1 q2 Q3 qN is the output of lfsr, and M (x) is the input code-word polynomial, such as m (X) = X4 + X3 + 1 indicates that the input sequence of the input end is 11001. Similarly, the lfsr structure can also be expressed as polynomial g (x), which is called the generative polynomial:

G (x) = GN * xn +... + G1 * X1 + G0;

 

Figure 1 ie lfsr

 

Figure 2 ee lfsr

MATLAB build model

 

Vivado simulation:

 

Note:

For the lfsr of the M-level, the length of the pseudo-random sequence is 2-1.

Use lfsr to build an Error Compensation System

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.