Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - LSFR

 
Thread Tools Search this Thread
Old 08-26-2004, 05:22 AM   #1
Default LSFR


Hi all,


Could you pls explain what LSFR is ?
or where can I obtain some information on them.

thanks in advance

Dev


Dev
  Reply With Quote
Old 08-26-2004, 09:39 AM   #2
Javier Castillo
 
Posts: n/a
Default Re: LSFR
Hello:

I suppose you talk about a LFSR, a linear feedback shift register.
In hardware is primarily used for generate pseudo-random number sequences.

If you look in google LFSR you will find lot of information about them

Regards

Javier Castillo



(Dev) wrote in news:78403711.0408252022.165c5da1
@posting.google.com:

> Hi all,
>
>
> Could you pls explain what LSFR is ?
> or where can I obtain some information on them.
>
> thanks in advance
>
> Dev
>




Javier Castillo
  Reply With Quote
Old 08-26-2004, 10:05 AM   #3
Niels Bakker
 
Posts: n/a
Default Re: LSFR
Helle Dev,,

LFSRs are used to create pseudo random sequences.
You can create a random sequence which repeats in 255 cycles with an 8
bits wide LFSR, by feeding certain bits in that register back to the
first bit. Usually done via an XNOR or XOR gate.

You can find the necessary tap-positions in the xapp052.pdf document of
Xilinx. (Google) or:

direct.xilinx.com/bvdocs/appnotes/xapp052.pdf

Good luck!

Niels Bakker

Javier Castillo wrote:
> Hello:
>
> I suppose you talk about a LFSR, a linear feedback shift register.
> In hardware is primarily used for generate pseudo-random number sequences.
>
> If you look in google LFSR you will find lot of information about them
>
> Regards
>
> Javier Castillo
>
>
>
> (Dev) wrote in news:78403711.0408252022.165c5da1
> @posting.google.com:
>
>
>>Hi all,
>>
>>
>>Could you pls explain what LSFR is ?
>>or where can I obtain some information on them.
>>
>>thanks in advance
>>
>>Dev
>>

>
>



Niels Bakker
  Reply With Quote
Old 08-26-2004, 10:18 AM   #4
Jonathan Bromley
 
Posts: n/a
Default Re: LSFR
On Thu, 26 Aug 2004 11:05:18 +0200, Niels Bakker
<> wrote:

>LFSRs are used to create pseudo random sequences.


But be careful...

LFSRs are quite good for creating random streams of
*bits*. They are rubbish for creating random
streams of *numbers*, because the LFSR register
value is highly correlated from one sample to the
next. If you want a new random *number* from an
LFSR, you must clock it as many times as there
are bits in your desired number.

LFSRs are great in hardware, because they map on
to such a simple and fast hardware structure. But
in a test fixture, the various linear-congruential
and other numerical recipes for random numbers are
likely to be more efficient, and will also provide
better-quality random numbers. The UNIFORM
procedure in IEEE.MATH_REAL does the job, and spares
you the very great pain of understanding the maths
--
Jonathan Bromley, Consultant

DOULOS - Developing Design Know-how
VHDL, Verilog, SystemC, Perl, Tcl/Tk, Verification, Project Services

Doulos Ltd. Church Hatch, 22 Market Place, Ringwood, BH24 1AW, UK
Tel: +44 (0)1425 471223 mail:
Fax: +44 (0)1425 471573 Web: http://www.doulos.com

The contents of this message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.


Jonathan Bromley
  Reply With Quote
Old 08-26-2004, 02:31 PM   #5
M.A.Khader
 
Posts: n/a
Default Re: LSFR
HI,

LSFR stands for Linear Feedback Shift Registers

Go to this link
http://www-math.cudenver.edu/~wchero.../m5410fsr.html

Regards,
A.khader

(Dev) wrote in message news:<. com>...
> Hi all,
>
>
> Could you pls explain what LSFR is ?
> or where can I obtain some information on them.
>
> thanks in advance
>
> Dev



M.A.Khader
  Reply With Quote
Old 08-26-2004, 07:33 PM   #6
Alain
 
Posts: n/a
Default Re: LSFR
Hi,

Another link :
http://www.newwaveinstruments.com/re...ister_lfsr.htm

Regards

(M.A.Khader) wrote in message news:<. com>...
> HI,
>
> LSFR stands for Linear Feedback Shift Registers
>
> Go to this link
> http://www-math.cudenver.edu/~wchero.../m5410fsr.html
>
> Regards,
> A.khader
>
> (Dev) wrote in message news:<. com>...
> > Hi all,
> >
> >
> > Could you pls explain what LSFR is ?
> > or where can I obtain some information on them.
> >
> > thanks in advance
> >
> > Dev



Alain
  Reply With Quote
Old 08-26-2004, 10:07 PM   #7
Lukasz Salwinski
 
Posts: n/a
Default Re: LSFR
Jonathan Bromley wrote:
> On Thu, 26 Aug 2004 11:05:18 +0200, Niels Bakker
> <> wrote:
>
>
>>LFSRs are used to create pseudo random sequences.

>
>
> But be careful...
>
> LFSRs are quite good for creating random streams of
> *bits*. They are rubbish for creating random
> streams of *numbers*, because the LFSR register
> value is highly correlated from one sample to the
> next. If you want a new random *number* from an
> LFSR, you must clock it as many times as there
> are bits in your desired number.


well... If you search hard enough you'll actually
find a variation on the theme that actually
generates uniform distribution of *numbers*

lukasz


Lukasz Salwinski
  Reply With Quote
Old 08-27-2004, 01:04 AM   #8
vhdlcohen
 
Posts: n/a
Default Re: LSFR
My site has an LFSR package in VHDL

--
-----------------------------------------------------------------------------
Ben Cohen Trainer, Consultant, Publisher (310) 721-4830
http://www.vhdlcohen.com/
for Wireless messages < 110-char
Author of following textbooks:
* Using PSL/SUGAR for Formal and Dynamic Verification 2nd Edition,
2004 isbn 0-9705394-6-0
* Real Chip Design and Verification Using Verilog and VHDL, 2002 isbn
0-9705394-2-8
* Component Design by Example ", 2001 isbn 0-9705394-0-1
* VHDL Coding Styles and Methodologies, 2nd Edition, 1999 isbn
0-7923-8474-1
* VHDL Answers to Frequently Asked Questions, 2nd Edition, isbn
0-7923-8115
------------------------------------------------------------------------------


vhdlcohen
  Reply With Quote
Old 08-27-2004, 11:29 AM   #9
Kholdoun TORKI
 
Posts: n/a
Default Re: LSFR

Try this link. A great software utility running on Windows.

http://www.logiccell.com/~jean/LFSR/

Regards,
=================
Kholdoun TORKI
http://cmp.imag.fr
==================

Dev wrote:

> Hi all,
>
>
> Could you pls explain what LSFR is ?
> or where can I obtain some information on them.
>
> thanks in advance
>
> Dev



Kholdoun TORKI
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46