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


Groups > sci.electronics.design > #409500 > unrolled thread

Re: "Random" Circuit Needed.

Started byTom Del Rosso <fizzbintuesday@THAT.GOOGLE.EMAIL.DOMAIN.COM>
First post2016-04-27 15:19 -0400
Last post2016-04-28 23:04 -0500
Articles 7 — 6 participants

Back to article view | Back to sci.electronics.design

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

#409500 — Re: "Random" Circuit Needed.

FromTom Del Rosso <fizzbintuesday@THAT.GOOGLE.EMAIL.DOMAIN.COM>
Date2016-04-27 15:19 -0400
SubjectRe: "Random" Circuit Needed.
Message-ID<nfr35b$ppi$1@dont-email.me>
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.
 

-- 

[toc] | [next] | [standalone]


#409506

FromJim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com>
Date2016-04-27 12:38 -0700
Message-ID<s752ibl44tskd5pjmvhqt8a0gro0410ar5@4ax.com>
In reply to#409500
On Wed, 27 Apr 2016 15:19:18 -0400 (EDT), Tom Del Rosso
<fizzbintuesday@THAT.GOOGLE.EMAIL.DOMAIN.COM> wrote:

>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.
> 

Did you notice you're replying to a YEAR OLD post ?:-)
		
                                        ...Jim Thompson
-- 
| James E.Thompson                                 |    mens     |
| Analog Innovations                               |     et      |
| Analog/Mixed-Signal ASIC's and Discrete Systems  |    manus    |
| San Tan Valley, AZ 85142   Skype: Contacts Only  |             |
| Voice:(480)460-2350  Fax: Available upon request |  Brass Rat  |
| E-mail Icon at http://www.analog-innovations.com |    1962     |
             
           The touchstone of liberalism is intolerance

[toc] | [prev] | [next] | [standalone]


#409667

From"Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com>
Date2016-04-28 16:03 -0400
Message-ID<nftq21$431$1@dont-email.me>
In reply to#409506
Jim Thompson wrote:
>
> Did you notice you're replying to a YEAR OLD post ?:-)

On the phone app it wasn't so obvious.  I don't use it much but it was 
updated a month ago so I don't know why this thread was near the top.


[toc] | [prev] | [next] | [standalone]


#409626

Fromrickman <gnuarm@gmail.com>
Date2016-04-28 12:44 -0400
Message-ID<nfteeu$ja5$2@dont-email.me>
In reply to#409500
On 4/27/2016 4:35 PM, Jon Elson wrote:
> Tom Del Rosso wrote:
>
>
>>>
>>> I was puzzling over how to get 0000, but then it dawned... just use an
>>> 8-bit LFSR and use the last 4-bits.
> OK, you don't want to just use the last N bits of the LFSR, as they will
> shift over VERY predictably.  So, if you want to use N bits, you need to
> allow the LFSR to advance N clocks and then latch the N parallel bits for
> use.

There is nothing that says an LFSR has to run at just one bit per clock 
cycle.  I have designed LFSR that run at 32 bits per clock cycle.  It's 
more logic, but sometimes you just have to have an all new number on 
every clock.

BTW, you are an idiot for munging the "followup to" header.

-- 

Rick C

[toc] | [prev] | [next] | [standalone]


#409645

FromJon Elson <jmelson@wustl.edu>
Date2016-04-28 13:56 -0500
Message-ID<iYidnYWNvYVRwb_KnZ2dnUU7-fednZ2d@giganews.com>
In reply to#409626
rickman wrote:


> BTW, you are an idiot for munging the "followup to" header.
> 
Geez, gotta figure out why my newsreader (knode) does that!  Never noticed 
it before!

Jon

[toc] | [prev] | [next] | [standalone]


#409680

Fromrickman <gnuarm@gmail.com>
Date2016-04-28 16:59 -0400
Message-ID<nfttdb$gg6$1@dont-email.me>
In reply to#409645
On 4/28/2016 2:56 PM, Jon Elson wrote:
> rickman wrote:
>
>
>> BTW, you are an idiot for munging the "followup to" header.
>>
> Geez, gotta figure out why my newsreader (knode) does that!  Never noticed
> it before!

I figured it was deliberate.  Maybe you're not an idiot then, perhaps 
just a dolt.

-- 

Rick C

[toc] | [prev] | [next] | [standalone]


#409761

FromJon Elson <elson@pico-systems.com>
Date2016-04-28 23:04 -0500
Message-ID<ksWdndC_d9faQL_KnZ2dnUU7-eGdnZ2d@giganews.com>
In reply to#409680
rickman wrote:

> On 4/28/2016 2:56 PM, Jon Elson wrote:
>> rickman wrote:
>>
>>
>>> BTW, you are an idiot for munging the "followup to" header.
>>>
>> Geez, gotta figure out why my newsreader (knode) does that!  Never
>> noticed it before!
> 
> I figured it was deliberate.  Maybe you're not an idiot then, perhaps
> just a dolt.
> 
Hmmm, it seems that knode does this for messages that were posted to more 
than one newsgroup.  It takes a couple clicks to have it select one of the 
newsgroups.   I'll have to watch out for that in the future, thanks!

Jon

[toc] | [prev] | [standalone]


Back to top | Article view | sci.electronics.design


csiph-web