Logic circuits

What is a typical use of a linear feedback shift register (LFSR), which feeds the XOR of some outputs of a shift register back to its input?

  1. AGenerating pseudo-random patterns, such as test patterns, and computing CRCs
  2. BMeasuring precise time
  3. CAmplifying analog signals
Show answer and explanation

Answer: A. Generating pseudo-random patterns, such as test patterns, and computing CRCs

With suitable feedback taps, an n-bit LFSR cycles through 2ⁿ − 1 states, producing a seemingly random sequence. Because it needs very little logic, it is used for pattern generation in built-in self-test (BIST), CRC calculation, scramblers and similar purposes.

  • A. Correct. It is used for pseudo-random and test patterns and CRCs.
  • B. It is not used for measuring precise time.
  • C. An LFSR is a digital circuit and does not amplify analog signals.
Practice this topic Back to topic

More Logic circuits questions

  1. When several open-drain outputs are connected to one signal line with a pull-up resistor, how does the line behave?
  2. When is the output of a two-input NAND gate 0?
  3. According to De Morgan's laws, which expression is equal to NOT(A AND B)?
  4. Which correctly describes the operation of a D flip-flop?
  5. When is the output of a two-input XOR (exclusive OR) gate 1?