Thread: Linear feedback shift register (LFSR)

  1. #1
    Registered User
    Join Date
    Oct 2019
    Posts
    1

    Linear feedback shift register (LFSR)

    Hi,

    I need to deal with LFSR in Xilinx Vivado HLS. I don't know how to start. Can anyone share c++ or c code for LFSR?

    Thank you.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    Try google.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Apr 2013
    Posts
    1,658
    There are two types of LFSR, Fibonacci and Galois. The question doesn't specify which type. Wiki article:

    Linear-feedback shift register - Wikipedia

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Shift Left, Shift Right Question
    By congi in forum C Programming
    Replies: 1
    Last Post: 01-28-2015, 10:45 AM
  2. Replies: 11
    Last Post: 05-19-2013, 04:16 PM
  3. logical shift and arithmetic shift.(bit shifting in C )
    By A34Chris in forum C Programming
    Replies: 20
    Last Post: 09-03-2012, 11:22 AM
  4. Elusive bug in LFSR implementation
    By gardhr in forum C++ Programming
    Replies: 3
    Last Post: 04-16-2012, 11:11 PM
  5. moving byte pointed to by contents of a register into another register. dos debug.
    By Brian in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 04-18-2003, 05:48 PM

Tags for this Thread