Linear Feedback Shift register of size 2^7

In summary, the conversation discusses the use of LFSRs and SFSRs in generating binary sequences. It explains how LFSRs work and the importance of avoiding the prohibited state. It also raises the question of using only a portion of the bits from an LFSR and whether it would generate all possible 7-bit states equally.
  • #1
Weaver
70
6
Homework Statement
The student decides to use a Linear Feedback Shift Register (LFSR) to
repeatedly step through each row of memory when performing DRAM
refresh. The memory has 2^7 rows. Design an LFSR circuit to perform this task.
Relevant Equations
[See table below]
243549


From this table:

  • Looking at the 7 row and taking the first entry, 1
  • This is 000001
  • Adding back the highest and lowest bit: 10000011
  • And then the equation would just be x^7 + x +1 ?

  • Or taking the taking the third entry, 7
  • This is 000111
  • Adding back the highest and lowest bit: 10001111
  • And so the equation is just :x^7 + x^3 + x^2 +x+ 1?

Is that correct?
 
Physics news on Phys.org
  • #2
Weaver said:
Is that correct?
There is a trap for beginners with LFSRs, either the case of all ones, or that of all zeros is prohibited as the register locks if it enters that state.

An SFSR must be initialised to avoid an attempted start from the prohibited state.

What would happen if you used only 7 bits from an 8 or 9 bit maximal length LFSR, would that generate all 7 bit states equally from 0000 000X to 1111 111X ?
 

1. What is a Linear Feedback Shift Register (LFSR)?

A Linear Feedback Shift Register (LFSR) is a type of shift register that uses feedback to generate a sequence of binary numbers. It is commonly used in hardware and software applications for generating pseudorandom numbers.

2. What is the size of a Linear Feedback Shift Register of size 2^7?

The size of a Linear Feedback Shift Register of size 2^7 is 128 bits. This means that it can generate a sequence of 128 binary numbers before repeating.

3. How does a Linear Feedback Shift Register of size 2^7 work?

A Linear Feedback Shift Register of size 2^7 works by shifting the bits of a binary number to the right, and then using a feedback function to determine the next bit in the sequence. The feedback function is typically a combination of XOR operations on specific bits of the register.

4. What are the advantages of using a Linear Feedback Shift Register of size 2^7?

The main advantage of using a Linear Feedback Shift Register of size 2^7 is its simplicity and efficiency in generating pseudorandom numbers. It requires minimal hardware and can be easily implemented in software. Additionally, the sequence it produces has good statistical properties and can be easily controlled by changing the feedback function.

5. What are the common applications of a Linear Feedback Shift Register of size 2^7?

A Linear Feedback Shift Register of size 2^7 has various applications in cryptography, digital signal processing, and error-correcting codes. It is also commonly used in electronic devices, such as gaming machines and communication systems, for generating random numbers.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
10
Views
1K
  • Engineering and Comp Sci Homework Help
2
Replies
42
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
3
Views
952
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
5
Views
1K
  • Precalculus Mathematics Homework Help
Replies
3
Views
285
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
787
Replies
2
Views
576
Back
Top