Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #409500

Re: "Random" Circuit Needed.

From Tom Del Rosso <fizzbintuesday@THAT.GOOGLE.EMAIL.DOMAIN.COM>
Newsgroups sci.electronics.design, alt.binaries.schematics.electronic, sci.electronics.basics
Subject Re: "Random" Circuit Needed.
Date 2016-04-27 15:19 -0400
Organization news.eternal-september.org
Message-ID <nfr35b$ppi$1@dont-email.me> (permalink)
References <l8coha51jnqm1ghv58o2lupbhki06pl951@4ax.com> <lmdoha5veo3o0mbb12hp79dolarqi3ee2l@4ax.com> <lffoha9lqrrhvrvj93ec67khmgmel3jpqv@4ax.com> <nkgoha5sedajt1mlkugj1ppngahqti3p4a@4ax.com>

Cross-posted to 3 groups.

Show all headers | View raw


Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com>
 Wrote in message:
> On Wed, 01 Apr 2015 11:53:10 -0700, Jim Thompson
> <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> wrote:
> 
>>On Wed, 01 Apr 2015 13:27:06 -0500, John Fields
>><jfields@austininstruments.com> wrote:
>>
>>>On Wed, 01 Apr 2015 11:00:25 -0700, Jim Thompson
>>><To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> wrote:
>>>
>>>>For a simulation situation I need a random number generator with a
>>>>twist...
>>>>
>>>>What I need to simulate is a "random" selection of one-of-16 outputs.
>>>>
>>>>Clock "speed" is 12.5kHz ;-)
>>>>
>>>>Built of 74HCxx parts is preferred... I have a full ensemble of those
>>>>device in my PSpice library.
>>>>
>>>>Thanks in advance.
>>>>		
>>>>                                        ...Jim Thompson
>>>
>>>---
>>>If you use something like an HC154 with an LFSR driving its address
>>>inputs to generate random one-hots on its outputs, will that work
>>>for you?
>>
>>John,
>>
>>What are you saying... take the outputs of the LFSR broadside to drive
>>the address lines of the 'HC154?
>>
>>I think that would do it.
>>
>>Thanks also to Lasse for the same suggestion.
>>		
>>                                        ...Jim Thompson
> 
> I was puzzling over how to get 0000, but then it dawned... just use an
> 8-bit LFSR and use the last 4-bits.

It would be less than random because 0000 is still less likely. 
 Better to use a fast counter and latch it before the
 154.

Because it's not physical maybe you'd have to jiggle the fast
 clock with a large resistor to one of the bits, if Spice would
 have a tendency to make one clock an exact multiple of the other.
 

-- 

Back to sci.electronics.design | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: "Random" Circuit Needed. Tom Del Rosso <fizzbintuesday@THAT.GOOGLE.EMAIL.DOMAIN.COM> - 2016-04-27 15:19 -0400
  Re: "Random" Circuit Needed. Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2016-04-27 12:38 -0700
    Re: "Random" Circuit Needed. "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2016-04-28 16:03 -0400
  Re: "Random" Circuit Needed. rickman <gnuarm@gmail.com> - 2016-04-28 12:44 -0400
    Re: "Random" Circuit Needed. Jon Elson <jmelson@wustl.edu> - 2016-04-28 13:56 -0500
      Re: "Random" Circuit Needed. rickman <gnuarm@gmail.com> - 2016-04-28 16:59 -0400
        Re: "Random" Circuit Needed. Jon Elson <elson@pico-systems.com> - 2016-04-28 23:04 -0500

csiph-web