View Single Post
  #29   Report Post  
Posted to sci.electronics.design,alt.binaries.schematics.electronic,sci.electronics.cad
Rich Grise[_3_] Rich Grise[_3_] is offline
external usenet poster
 
Posts: 1,507
Default Random Bit Generator

Jim Thompson wrote:
On Fri, 22 Oct 2010 08:25:17 +1000, David Eather
On 22/10/2010 8:23 AM, Jim Thompson wrote:
On Fri, 22 Oct 2010 07:54:13 +1000, David

http://www.filedropper.com/lfsr

The pages contain the information you need to build dozens of different
LFSR's of maximum period using a couple of 74... series. IIRC you can
replace the XOR function with NXOR and get a maximal period LSFR that
will self start (the all zero startup state becomes a valid state for
the LSFR)

Link times out :-(


Send PM - I'll PM the zip file (0.5 Mb)


OK. Got it working. Repeats at 255.

What was confusing me was the double-talk about numbering the
shift-register stages. Must be Physics majors who still have their
direction of current reversed ;-)

Nah - it's a digital nerd thing - Typically, for a binary output, Q0,
Q1, ... Qn, the bit position corresponds to that power of two. As far as
which way you shift, there's a holy war between little-endian and
big-endian, but ssentially, it's a coin toss. :-)

Cheers!
Rich