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


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

Genetic FPGA

Started bymixed nuts <melopsitticus@undulatus.budgie>
First post2016-03-03 20:15 -0500
Last post2016-03-05 13:51 -0800
Articles 19 on this page of 39 — 12 participants

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


Contents

  Genetic FPGA mixed nuts <melopsitticus@undulatus.budgie> - 2016-03-03 20:15 -0500
    Re: Genetic FPGA George Herold <gherold@teachspin.com> - 2016-03-03 20:46 -0800
      Re: Genetic FPGA rickman <gnuarm@gmail.com> - 2016-03-04 00:40 -0500
        Re: Genetic FPGA Syd Rumpo <usenet@nononono.co.uk> - 2016-03-04 11:12 +0000
          Re: Genetic FPGA Syd Rumpo <usenet@nononono.co.uk> - 2016-03-04 11:15 +0000
      Re: Genetic FPGA John Larkin <jjlarkin@highlandtechnology.com> - 2016-03-04 07:20 -0800
        Re: Genetic FPGA rickman <gnuarm@gmail.com> - 2016-03-04 11:47 -0500
          Re: Genetic FPGA bitrex <bitrex@de.lete.earthlink.net> - 2016-03-04 13:14 -0500
          Re: Genetic FPGA John Devereux <john@devereux.me.uk> - 2016-03-04 18:53 +0000
            Re: Genetic FPGA John Larkin <jjlarkin@highlandtechnology.com> - 2016-03-04 11:06 -0800
              Re: Genetic FPGA bill.sloman@ieee.org - 2016-03-04 18:45 -0800
        Re: Genetic FPGA bitrex <bitrex@de.lete.earthlink.net> - 2016-03-04 13:11 -0500
          Re: Genetic FPGA rickman <gnuarm@gmail.com> - 2016-03-04 15:02 -0500
            Re: Genetic FPGA bitrex <bitrex@de.lete.earthlink.net> - 2016-03-04 18:02 -0500
              Re: Genetic FPGA rickman <gnuarm@gmail.com> - 2016-03-05 01:30 -0500
        Re: Genetic FPGA bill.sloman@ieee.org - 2016-03-04 18:43 -0800
          Re: Genetic FPGA bitrex <bitrex@de.lete.earthlink.net> - 2016-03-05 02:31 -0500
            Re: Genetic FPGA bill.sloman@ieee.org - 2016-03-05 18:26 -0800
    Re: Genetic FPGA Allan Herriman <allanherriman@hotmail.com> - 2016-03-04 09:52 +0000
      Re: Genetic FPGA "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2016-03-04 22:33 -0500
        Re: Genetic FPGA rickman <gnuarm@gmail.com> - 2016-03-05 01:35 -0500
          Re: Genetic FPGA Allan Herriman <allanherriman@hotmail.com> - 2016-03-05 07:09 +0000
            Re: Genetic FPGA rickman <gnuarm@gmail.com> - 2016-03-05 19:43 -0500
              Re: Genetic FPGA Allan Herriman <allanherriman@hotmail.com> - 2016-03-06 03:18 +0000
                Re: Genetic FPGA "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2016-03-06 05:07 -0500
                  Re: Genetic FPGA rickman <gnuarm@gmail.com> - 2016-03-06 09:46 -0500
                    Re: Genetic FPGA Lasse Langwadt Christensen <langwadt@fonz.dk> - 2016-03-06 07:02 -0800
                      Re: Genetic FPGA rickman <gnuarm@gmail.com> - 2016-03-06 10:06 -0500
    Re: Genetic FPGA bitrex <bitrex@de.lete.earthlink.net> - 2016-03-04 07:08 -0500
      Re: Genetic FPGA John Larkin <jjlarkin@highlandtechnology.com> - 2016-03-04 12:34 -0800
        Re: Genetic FPGA Jeroen Belleman <jeroen@nospam.please> - 2016-03-04 22:09 +0100
          Re: Genetic FPGA John Larkin <jjlarkin@highlandtechnology.com> - 2016-03-04 18:02 -0800
            Re: Genetic FPGA rickman <gnuarm@gmail.com> - 2016-03-05 01:38 -0500
        Re: Genetic FPGA rickman <gnuarm@gmail.com> - 2016-03-04 16:33 -0500
        Re: Genetic FPGA bitrex <bitrex@de.lete.earthlink.net> - 2016-03-04 18:07 -0500
          Re: Genetic FPGA John Larkin <jjlarkin@highlandtechnology.com> - 2016-03-04 18:08 -0800
          Re: Genetic FPGA rickman <gnuarm@gmail.com> - 2016-03-05 01:42 -0500
      Re: Genetic FPGA Allan Herriman <allanherriman@hotmail.com> - 2016-03-05 07:22 +0000
        Re: Genetic FPGA John Larkin <jjlarkin@highlandtechnology.com> - 2016-03-05 13:51 -0800

Page 2 of 2 — ← Prev page 1 [2]


#401482

Fromrickman <gnuarm@gmail.com>
Date2016-03-05 01:35 -0500
Message-ID<nbdui6$kc9$1@dont-email.me>
In reply to#401462
On 3/4/2016 10:33 PM, Tom Del Rosso wrote:
> Allan Herriman wrote:
>>
>> That was in a Xilinx 6200 family part.  Xilinx bought and then
>> discontinued that line of parts in the 1990s.
>> They were unique (at the time) in that the bitstream format was fully
>> specified, allowing researchers to write tools that manipulated the
>> configuration directly.
>
> Unique only at the time?  Do you mean modern ones are fully specified
> too?

I'm not sure what "fully specified" is intended to mean.  If FPGAs are 
not fully specified how does *anyone* generate a bitstream for them?

I think what is meant is that there was *no* combination of 
configuration bits that would cause damage to the part, so the bits 
could be twitled at will and tested in a real chip with no harm.

That's not really the best way to do genetic design I think since the 
designs can depend on arbitrary and unspecified features of the chip, 
sometimes the individual chip.  Better to do the modifications at a 
circuit level and selection in a simulator where only the documented 
features have an effect.  But then I haven't done any of this work, so I 
don't know much details of how it is done.  Maybe this idea just isn't 
practical.

-- 

Rick

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


#401486

FromAllan Herriman <allanherriman@hotmail.com>
Date2016-03-05 07:09 +0000
Message-ID<56da862e$0$2883$c3e8da3$76491128@news.astraweb.com>
In reply to#401482
On Sat, 05 Mar 2016 01:35:41 -0500, rickman wrote:

> On 3/4/2016 10:33 PM, Tom Del Rosso wrote:
>> Allan Herriman wrote:
>>>
>>> That was in a Xilinx 6200 family part.  Xilinx bought and then
>>> discontinued that line of parts in the 1990s.
>>> They were unique (at the time) in that the bitstream format was fully
>>> specified, allowing researchers to write tools that manipulated the
>>> configuration directly.
>>
>> Unique only at the time?  Do you mean modern ones are fully specified
>> too?
> 
> I'm not sure what "fully specified" is intended to mean.  If FPGAs are
> not fully specified how does *anyone* generate a bitstream for them?

Fully specified = an end user (not a Xilinx employee) could read a 
datasheet that described the function of every bit in the configuration 
and every programmable feature of the chip.

This still isn't done for the "big two" companies (Xilinx and Intel/
Altera).

I believe it is done for some Lattice devices.  I haven't used them (or 
the resulting open source toolchain) though.


> I think what is meant is that there was *no* combination of
> configuration bits that would cause damage to the part, so the bits
> could be twitled at will and tested in a real chip with no harm.

Nothing I said could be misconstrued to mean that.  In fact, it was 
possible to destroy that chip with a bad configuration (by e.g. 
connecting VCC to GND via many routes at the same time).  The researchers 
had to include a pass in their genetic compiler (after the sexing and 
mutating) that would fix design rule violations.

Regards,
Allan

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


#401582

Fromrickman <gnuarm@gmail.com>
Date2016-03-05 19:43 -0500
Message-ID<nbfua4$dl4$1@dont-email.me>
In reply to#401486
On 3/5/2016 2:09 AM, Allan Herriman wrote:
> On Sat, 05 Mar 2016 01:35:41 -0500, rickman wrote:
>
>> On 3/4/2016 10:33 PM, Tom Del Rosso wrote:
>>> Allan Herriman wrote:
>>>>
>>>> That was in a Xilinx 6200 family part.  Xilinx bought and then
>>>> discontinued that line of parts in the 1990s.
>>>> They were unique (at the time) in that the bitstream format was fully
>>>> specified, allowing researchers to write tools that manipulated the
>>>> configuration directly.
>>>
>>> Unique only at the time?  Do you mean modern ones are fully specified
>>> too?
>>
>> I'm not sure what "fully specified" is intended to mean.  If FPGAs are
>> not fully specified how does *anyone* generate a bitstream for them?
>
> Fully specified = an end user (not a Xilinx employee) could read a
> datasheet that described the function of every bit in the configuration
> and every programmable feature of the chip.
>
> This still isn't done for the "big two" companies (Xilinx and Intel/
> Altera).
>
> I believe it is done for some Lattice devices.  I haven't used them (or
> the resulting open source toolchain) though.

No, I believe Lattice does not publish specs on the bitstream.  But they 
make some smaller, simpler devices that allowed a brute force analysis 
to figure it out... at least well enough to produce a working bit stream 
for most designs.


>> I think what is meant is that there was *no* combination of
>> configuration bits that would cause damage to the part, so the bits
>> could be twitled at will and tested in a real chip with no harm.
>
> Nothing I said could be misconstrued to mean that.  In fact, it was
> possible to destroy that chip with a bad configuration (by e.g.
> connecting VCC to GND via many routes at the same time).  The researchers
> had to include a pass in their genetic compiler (after the sexing and
> mutating) that would fix design rule violations.

I don't recall that being the case.  I remember this being discussed in 
c.a.fpga and that was mentioned as a key feature, no damage possible. 
However, it was some 15 or 20 years ago.  So I may not be remembering it 
properly.

The "right" way to do genetic design is to control documented chip 
features through a tool, not by twiddling bits in a configuration file. 
  That lets you bypass an entire level of rather rude errors that don't 
need to be tried allowing the design to be tested on any FPGA hardware 
without damage.  I seriously doubt genetic development stopped when they 
stopped making the XC6000 devices.

-- 

Rick

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


#401621

FromAllan Herriman <allanherriman@hotmail.com>
Date2016-03-06 03:18 +0000
Message-ID<56dba182$0$2861$c3e8da3$76491128@news.astraweb.com>
In reply to#401582
On Sat, 05 Mar 2016 19:43:37 -0500, rickman wrote:

> On 3/5/2016 2:09 AM, Allan Herriman wrote:
>> On Sat, 05 Mar 2016 01:35:41 -0500, rickman wrote:
>>
>>> On 3/4/2016 10:33 PM, Tom Del Rosso wrote:
>>>> Allan Herriman wrote:
>>>>>
>>>>> That was in a Xilinx 6200 family part.  Xilinx bought and then
>>>>> discontinued that line of parts in the 1990s.
>>>>> They were unique (at the time) in that the bitstream format was
>>>>> fully specified, allowing researchers to write tools that
>>>>> manipulated the configuration directly.
>>>>
>>>> Unique only at the time?  Do you mean modern ones are fully specified
>>>> too?
>>>
>>> I'm not sure what "fully specified" is intended to mean.  If FPGAs are
>>> not fully specified how does *anyone* generate a bitstream for them?
>>
>> Fully specified = an end user (not a Xilinx employee) could read a
>> datasheet that described the function of every bit in the configuration
>> and every programmable feature of the chip.
>>
>> This still isn't done for the "big two" companies (Xilinx and Intel/
>> Altera).
>>
>> I believe it is done for some Lattice devices.  I haven't used them (or
>> the resulting open source toolchain) though.
> 
> No, I believe Lattice does not publish specs on the bitstream.  But they
> make some smaller, simpler devices that allowed a brute force analysis
> to figure it out... at least well enough to produce a working bit stream
> for most designs.
> 
> 
>>> I think what is meant is that there was *no* combination of
>>> configuration bits that would cause damage to the part, so the bits
>>> could be twitled at will and tested in a real chip with no harm.
>>
>> Nothing I said could be misconstrued to mean that.  In fact, it was
>> possible to destroy that chip with a bad configuration (by e.g.
>> connecting VCC to GND via many routes at the same time).  The
>> researchers had to include a pass in their genetic compiler (after the
>> sexing and mutating) that would fix design rule violations.
> 
> I don't recall that being the case.  I remember this being discussed in
> c.a.fpga and that was mentioned as a key feature, no damage possible.
> However, it was some 15 or 20 years ago.  So I may not be remembering it
> properly.
> 
> The "right" way to do genetic design is to control documented chip
> features through a tool, not by twiddling bits in a configuration file.
>   That lets you bypass an entire level of rather rude errors that don't
> need to be tried allowing the design to be tested on any FPGA hardware
> without damage.  I seriously doubt genetic development stopped when they
> stopped making the XC6000 devices.

I thought the whole point of the original (1990s) article was that there 
is no "right" way to do genetic design and that by twiddling 
configuration bits directly, the "design" process was able to exploit 
undocumented features in a way that would never be dreamed up by a human 
designer.

I may not be remembering it properly either.

BTW, This appears to be the original paper from 1996:
<http://citeseerx.ist.psu.edu/viewdoc/download?
doi=10.1.1.50.9691&rep=rep1&type=pdf>


Regards,
Allan

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


#401650

From"Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com>
Date2016-03-06 05:07 -0500
Message-ID<nbgvbj$73v$1@dont-email.me>
In reply to#401621
Allan Herriman wrote:
>
> I thought the whole point of the original (1990s) article was that
> there is no "right" way to do genetic design and that by twiddling
> configuration bits directly, the "design" process was able to exploit
> undocumented features in a way that would never be dreamed up by a
> human designer.

Of course, if you intend to randomize it, then the bitstream doesn't 
even need to be documented.

-- 

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


#401662

Fromrickman <gnuarm@gmail.com>
Date2016-03-06 09:46 -0500
Message-ID<nbhfm0$n3g$1@dont-email.me>
In reply to#401650
On 3/6/2016 5:07 AM, Tom Del Rosso wrote:
> Allan Herriman wrote:
>>
>> I thought the whole point of the original (1990s) article was that
>> there is no "right" way to do genetic design and that by twiddling
>> configuration bits directly, the "design" process was able to exploit
>> undocumented features in a way that would never be dreamed up by a
>> human designer.
>
> Of course, if you intend to randomize it, then the bitstream doesn't
> even need to be documented.

Except for the damage thing.  It has been indicated clearly that most 
FPGAs will fry themselves if configured by a random bit stream.  I think 
most have some sort of checksum on the header to prevent a random stream 
of bits from being loaded.  So you would at least need to deal with the 
format.

Allen may well be right that the XC6000 series was used because they 
could scan bit streams and prevent destruction.

-- 

Rick

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


#401665

FromLasse Langwadt Christensen <langwadt@fonz.dk>
Date2016-03-06 07:02 -0800
Message-ID<4b29fd53-e673-4763-b2cd-d9c8498b9fa8@googlegroups.com>
In reply to#401662
Den søndag den 6. marts 2016 kl. 15.47.35 UTC+1 skrev rickman:
> On 3/6/2016 5:07 AM, Tom Del Rosso wrote:
> > Allan Herriman wrote:
> >>
> >> I thought the whole point of the original (1990s) article was that
> >> there is no "right" way to do genetic design and that by twiddling
> >> configuration bits directly, the "design" process was able to exploit
> >> undocumented features in a way that would never be dreamed up by a
> >> human designer.
> >
> > Of course, if you intend to randomize it, then the bitstream doesn't
> > even need to be documented.
> 
> Except for the damage thing.  It has been indicated clearly that most 
> FPGAs will fry themselves if configured by a random bit stream.  I think 
> most have some sort of checksum on the header to prevent a random stream 
> of bits from being loaded.  So you would at least need to deal with the 
> format.
> 
> Allen may well be right that the XC6000 series was used because they 
> could scan bit streams and prevent destruction.

I believe that series was special in that all bit streams were safe

-Lasse

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


#401667

Fromrickman <gnuarm@gmail.com>
Date2016-03-06 10:06 -0500
Message-ID<nbhgr7$ou0$3@dont-email.me>
In reply to#401665
On 3/6/2016 10:02 AM, Lasse Langwadt Christensen wrote:
> Den søndag den 6. marts 2016 kl. 15.47.35 UTC+1 skrev rickman:
>> On 3/6/2016 5:07 AM, Tom Del Rosso wrote:
>>> Allan Herriman wrote:
>>>>
>>>> I thought the whole point of the original (1990s) article was that
>>>> there is no "right" way to do genetic design and that by twiddling
>>>> configuration bits directly, the "design" process was able to exploit
>>>> undocumented features in a way that would never be dreamed up by a
>>>> human designer.
>>>
>>> Of course, if you intend to randomize it, then the bitstream doesn't
>>> even need to be documented.
>>
>> Except for the damage thing.  It has been indicated clearly that most
>> FPGAs will fry themselves if configured by a random bit stream.  I think
>> most have some sort of checksum on the header to prevent a random stream
>> of bits from being loaded.  So you would at least need to deal with the
>> format.
>>
>> Allen may well be right that the XC6000 series was used because they
>> could scan bit streams and prevent destruction.
>
> I believe that series was special in that all bit streams were safe

That's what I remember, but a quick scan by Google didn't find anything 
to support that.  It was some 15-20 years ago so I can't recall for sure.

-- 

Rick

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


#401338

Frombitrex <bitrex@de.lete.earthlink.net>
Date2016-03-04 07:08 -0500
Message-ID<_UeCy.99176$Ia.54508@fx08.iad>
In reply to#401277
On 03/03/2016 08:15 PM, mixed nuts wrote:
> ...
>
  Furthermore, the final program did not work
>reliably when it was loaded onto other FPGAs of the same type.
>
> http://www.damninteresting.com/on-the-origin-of-circuits/
>

Yeah, wasn't the final problem with making any practical use of this 
that there was too much variation between the hardware of individual 
devices nominally of the same device type? So you could never know 
exactly what it would be doing with any specific device, or if it would 
work when ported to another.

The only reason that there could be gates not connected to something 
that breaks functionality when they're removed is that the algorithm is 
exploiting some nonideality in the silicon.

Genetic programming/algorithms is a practical technique, but seems to 
only work well in software, where the physical layer is abstracted away. 
Could work for FPGAs too, but it would make more sense to use an 
abstract model of the device when "evolving" the hardware.

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


#401392

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2016-03-04 12:34 -0800
Message-ID<0vrjdbhg7odj5f0m115ismi44t5k8so62p@4ax.com>
In reply to#401338
On Fri, 4 Mar 2016 07:08:24 -0500, bitrex
<bitrex@de.lete.earthlink.net> wrote:

>On 03/03/2016 08:15 PM, mixed nuts wrote:
>> ...
>>
>  Furthermore, the final program did not work
>>reliably when it was loaded onto other FPGAs of the same type.
>>
>> http://www.damninteresting.com/on-the-origin-of-circuits/
>>
>
>Yeah, wasn't the final problem with making any practical use of this 
>that there was too much variation between the hardware of individual 
>devices nominally of the same device type? So you could never know 
>exactly what it would be doing with any specific device, or if it would 
>work when ported to another.
>
>The only reason that there could be gates not connected to something 
>that breaks functionality when they're removed is that the algorithm is 
>exploiting some nonideality in the silicon.


Asynchronous logic behavior depends on prop delays, which vary from
chip to chip, and with time/temperature/Vcc. Synchronous logic will
work exactly the same on any number of chips.


>
>Genetic programming/algorithms is a practical technique, but seems to 
>only work well in software, where the physical layer is abstracted away. 
>Could work for FPGAs too, but it would make more sense to use an 
>abstract model of the device when "evolving" the hardware.
>

The numbers are discouraging. Randomly changing on bit in an FPGA
config file, or a program binary, will almost always break it.
Changing several bits is worse. The number of ways to break even a
small design vastly exceeds the number of electrons in the universe.
And every "evolutionary" experiment has to be tested, for both
functionality and for bugs.

"Intelligent design" works better than mutation and selection.




-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

jlarkin att highlandtechnology dott com
http://www.highlandtechnology.com

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


#401397

FromJeroen Belleman <jeroen@nospam.please>
Date2016-03-04 22:09 +0100
Message-ID<nbcti9$psq$1@gioia.aioe.org>
In reply to#401392
On 04/03/16 21:34, John Larkin wrote:
> On Fri, 4 Mar 2016 07:08:24 -0500, bitrex
> <bitrex@de.lete.earthlink.net> wrote:
>
>> On 03/03/2016 08:15 PM, mixed nuts wrote:
>>> ...
>>>
>>   Furthermore, the final program did not work
>>> reliably when it was loaded onto other FPGAs of the same type.
>>>
>>> http://www.damninteresting.com/on-the-origin-of-circuits/
>>>
>>
>> Yeah, wasn't the final problem with making any practical use of this
>> that there was too much variation between the hardware of individual
>> devices nominally of the same device type? So you could never know
>> exactly what it would be doing with any specific device, or if it would
>> work when ported to another.
>>
>> The only reason that there could be gates not connected to something
>> that breaks functionality when they're removed is that the algorithm is
>> exploiting some nonideality in the silicon.
>
>
> Asynchronous logic behavior depends on prop delays, which vary from
> chip to chip, and with time/temperature/Vcc.  [...]

That isn't true. A properly designed asynchronous state machine
will have *one* well-defined action associated with each
combination of state and input change, just like a synchronous
SM. Admittedly, problems may arise if several inputs are allowed
to change 'simultaneously'.

SSMs can have their quirks too. The key point is that either has
to be properly designed.

Jeroen Belleman

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


#401432

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2016-03-04 18:02 -0800
Message-ID<bffkdbhhheb7c3m423g4975jkno87mimnb@4ax.com>
In reply to#401397
On Fri, 04 Mar 2016 22:09:31 +0100, Jeroen Belleman
<jeroen@nospam.please> wrote:

>On 04/03/16 21:34, John Larkin wrote:
>> On Fri, 4 Mar 2016 07:08:24 -0500, bitrex
>> <bitrex@de.lete.earthlink.net> wrote:
>>
>>> On 03/03/2016 08:15 PM, mixed nuts wrote:
>>>> ...
>>>>
>>>   Furthermore, the final program did not work
>>>> reliably when it was loaded onto other FPGAs of the same type.
>>>>
>>>> http://www.damninteresting.com/on-the-origin-of-circuits/
>>>>
>>>
>>> Yeah, wasn't the final problem with making any practical use of this
>>> that there was too much variation between the hardware of individual
>>> devices nominally of the same device type? So you could never know
>>> exactly what it would be doing with any specific device, or if it would
>>> work when ported to another.
>>>
>>> The only reason that there could be gates not connected to something
>>> that breaks functionality when they're removed is that the algorithm is
>>> exploiting some nonideality in the silicon.
>>
>>
>> Asynchronous logic behavior depends on prop delays, which vary from
>> chip to chip, and with time/temperature/Vcc.  [...]
>
>That isn't true. A properly designed asynchronous state machine
>will have *one* well-defined action associated with each
>combination of state and input change, just like a synchronous
>SM. Admittedly, problems may arise if several inputs are allowed
>to change 'simultaneously'.
>
>SSMs can have their quirks too. The key point is that either has
>to be properly designed.
>
>Jeroen Belleman

The "genetic fpga" noted here failed when unconnected gates were
deleted, and couldn't be reproduced on another chip. Clearly the
designers (technically, I suppose, an evolutionary design has no
designers) didn't do it right.

The vast majority of async logic designs aren't done right. Even clock
domain crossings in synchronous FPGA designs tend to be hazards.

-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

jlarkin att highlandtechnology dott com
http://www.highlandtechnology.com

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


#401483

Fromrickman <gnuarm@gmail.com>
Date2016-03-05 01:38 -0500
Message-ID<nbduo4$kul$1@dont-email.me>
In reply to#401432
On 3/4/2016 9:02 PM, John Larkin wrote:
> On Fri, 04 Mar 2016 22:09:31 +0100, Jeroen Belleman
> <jeroen@nospam.please> wrote:
>
>> On 04/03/16 21:34, John Larkin wrote:
>>> On Fri, 4 Mar 2016 07:08:24 -0500, bitrex
>>> <bitrex@de.lete.earthlink.net> wrote:
>>>
>>>> On 03/03/2016 08:15 PM, mixed nuts wrote:
>>>>> ...
>>>>>
>>>>    Furthermore, the final program did not work
>>>>> reliably when it was loaded onto other FPGAs of the same type.
>>>>>
>>>>> http://www.damninteresting.com/on-the-origin-of-circuits/
>>>>>
>>>>
>>>> Yeah, wasn't the final problem with making any practical use of this
>>>> that there was too much variation between the hardware of individual
>>>> devices nominally of the same device type? So you could never know
>>>> exactly what it would be doing with any specific device, or if it would
>>>> work when ported to another.
>>>>
>>>> The only reason that there could be gates not connected to something
>>>> that breaks functionality when they're removed is that the algorithm is
>>>> exploiting some nonideality in the silicon.
>>>
>>>
>>> Asynchronous logic behavior depends on prop delays, which vary from
>>> chip to chip, and with time/temperature/Vcc.  [...]
>>
>> That isn't true. A properly designed asynchronous state machine
>> will have *one* well-defined action associated with each
>> combination of state and input change, just like a synchronous
>> SM. Admittedly, problems may arise if several inputs are allowed
>> to change 'simultaneously'.
>>
>> SSMs can have their quirks too. The key point is that either has
>> to be properly designed.
>>
>> Jeroen Belleman
>
> The "genetic fpga" noted here failed when unconnected gates were
> deleted, and couldn't be reproduced on another chip. Clearly the
> designers (technically, I suppose, an evolutionary design has no
> designers) didn't do it right.
>
> The vast majority of async logic designs aren't done right. Even clock
> domain crossings in synchronous FPGA designs tend to be hazards.

Again, you know little about this.  If people don't do async designs 
right, they are just people doing designs they don't know how to do, 
like many at some point in their careers.  Async design is completely 
practical, it is just detailed and often of little benefit.

Clock domain crossings in ASICs, FPGAs or any other logic are well 
understood and are simple to deal with.  Again, you need to actually 
know about them to do them right... that's all.

-- 

Rick

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


#401400

Fromrickman <gnuarm@gmail.com>
Date2016-03-04 16:33 -0500
Message-ID<nbcuop$5hv$1@dont-email.me>
In reply to#401392
On 3/4/2016 3:34 PM, John Larkin wrote:
> On Fri, 4 Mar 2016 07:08:24 -0500, bitrex
> <bitrex@de.lete.earthlink.net> wrote:
>
>> On 03/03/2016 08:15 PM, mixed nuts wrote:
>>> ...
>>>
>>   Furthermore, the final program did not work
>>> reliably when it was loaded onto other FPGAs of the same type.
>>>
>>> http://www.damninteresting.com/on-the-origin-of-circuits/
>>>
>>
>> Yeah, wasn't the final problem with making any practical use of this
>> that there was too much variation between the hardware of individual
>> devices nominally of the same device type? So you could never know
>> exactly what it would be doing with any specific device, or if it would
>> work when ported to another.
>>
>> The only reason that there could be gates not connected to something
>> that breaks functionality when they're removed is that the algorithm is
>> exploiting some nonideality in the silicon.
>
>
> Asynchronous logic behavior depends on prop delays, which vary from
> chip to chip, and with time/temperature/Vcc. Synchronous logic will
> work exactly the same on any number of chips.

Clearly a man out of his element.  Asynchronous logic is designed to 
give repeatable results independent of the various logic delays.  That 
is why it is harder to design and synchronous logic is used almost 
exclusively.  There are companies working on async logic FPGAs which may 
provide large benefits once they tame the design issues by a combination 
of hardware and software targeted to the various problems.


>> Genetic programming/algorithms is a practical technique, but seems to
>> only work well in software, where the physical layer is abstracted away.
>> Could work for FPGAs too, but it would make more sense to use an
>> abstract model of the device when "evolving" the hardware.
>>
>
> The numbers are discouraging. Randomly changing on bit in an FPGA
> config file, or a program binary, will almost always break it.
> Changing several bits is worse. The number of ways to break even a
> small design vastly exceeds the number of electrons in the universe.
> And every "evolutionary" experiment has to be tested, for both
> functionality and for bugs.

Twiddling bits in a config file is not the only way to implement 
evolving hardware.  Your argument is exactly the argument used to refute 
natural selection.


> "Intelligent design" works better than mutation and selection.

Some would disagree.

http://www.economist.com/node/10202662

https://en.wikipedia.org/wiki/Evolved_antenna

-- 

Rick

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


#401406

Frombitrex <bitrex@de.lete.earthlink.net>
Date2016-03-04 18:07 -0500
Message-ID<QyoCy.22567$532.21763@fx15.iad>
In reply to#401392
On 03/04/2016 03:34 PM, John Larkin wrote:
> On Fri, 4 Mar 2016 07:08:24 -0500, bitrex
> <bitrex@de.lete.earthlink.net> wrote:
>
>> On 03/03/2016 08:15 PM, mixed nuts wrote:
>>> ...
>>>
>>   Furthermore, the final program did not work
>>> reliably when it was loaded onto other FPGAs of the same type.
>>>
>>> http://www.damninteresting.com/on-the-origin-of-circuits/
>>>
>>
>> Yeah, wasn't the final problem with making any practical use of this
>> that there was too much variation between the hardware of individual
>> devices nominally of the same device type? So you could never know
>> exactly what it would be doing with any specific device, or if it would
>> work when ported to another.
>>
>> The only reason that there could be gates not connected to something
>> that breaks functionality when they're removed is that the algorithm is
>> exploiting some nonideality in the silicon.
>
>
> Asynchronous logic behavior depends on prop delays, which vary from
> chip to chip, and with time/temperature/Vcc. Synchronous logic will
> work exactly the same on any number of chips.
>
>
>
>
> The numbers are discouraging. Randomly changing on bit in an FPGA
> config file, or a program binary, will almost always break it.

What I'm saying is that you could certainly write a program that spits 
out VHDL or Verilog files by way of genetic algorithms, and if the shit 
works in Quartus II or whatever, I see no reason it won't work on the 
hardware every time.

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


#401435

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2016-03-04 18:08 -0800
Message-ID<fmfkdbhbt2rp474581srl2tpiigl3175n3@4ax.com>
In reply to#401406
On Fri, 4 Mar 2016 18:07:28 -0500, bitrex
<bitrex@de.lete.earthlink.net> wrote:

>On 03/04/2016 03:34 PM, John Larkin wrote:
>> On Fri, 4 Mar 2016 07:08:24 -0500, bitrex
>> <bitrex@de.lete.earthlink.net> wrote:
>>
>>> On 03/03/2016 08:15 PM, mixed nuts wrote:
>>>> ...
>>>>
>>>   Furthermore, the final program did not work
>>>> reliably when it was loaded onto other FPGAs of the same type.
>>>>
>>>> http://www.damninteresting.com/on-the-origin-of-circuits/
>>>>
>>>
>>> Yeah, wasn't the final problem with making any practical use of this
>>> that there was too much variation between the hardware of individual
>>> devices nominally of the same device type? So you could never know
>>> exactly what it would be doing with any specific device, or if it would
>>> work when ported to another.
>>>
>>> The only reason that there could be gates not connected to something
>>> that breaks functionality when they're removed is that the algorithm is
>>> exploiting some nonideality in the silicon.
>>
>>
>> Asynchronous logic behavior depends on prop delays, which vary from
>> chip to chip, and with time/temperature/Vcc. Synchronous logic will
>> work exactly the same on any number of chips.
>>
>>
>>
>>
>> The numbers are discouraging. Randomly changing on bit in an FPGA
>> config file, or a program binary, will almost always break it.
>
>What I'm saying is that you could certainly write a program that spits 
>out VHDL or Verilog files by way of genetic algorithms, and if the shit 
>works in Quartus II or whatever, I see no reason it won't work on the 
>hardware every time.
>

And I don't think that will work.

"it works" is one part of the problem. An hour of compile, followed by
hours of exhaustive test benching, for every one of trillions of
genetically-created permutations, could get ugly.


-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

jlarkin att highlandtechnology dott com
http://www.highlandtechnology.com

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


#401484

Fromrickman <gnuarm@gmail.com>
Date2016-03-05 01:42 -0500
Message-ID<nbduvh$lha$1@dont-email.me>
In reply to#401406
On 3/4/2016 6:07 PM, bitrex wrote:
> On 03/04/2016 03:34 PM, John Larkin wrote:
>> On Fri, 4 Mar 2016 07:08:24 -0500, bitrex
>> <bitrex@de.lete.earthlink.net> wrote:
>>
>>> On 03/03/2016 08:15 PM, mixed nuts wrote:
>>>> ...
>>>>
>>>   Furthermore, the final program did not work
>>>> reliably when it was loaded onto other FPGAs of the same type.
>>>>
>>>> http://www.damninteresting.com/on-the-origin-of-circuits/
>>>>
>>>
>>> Yeah, wasn't the final problem with making any practical use of this
>>> that there was too much variation between the hardware of individual
>>> devices nominally of the same device type? So you could never know
>>> exactly what it would be doing with any specific device, or if it would
>>> work when ported to another.
>>>
>>> The only reason that there could be gates not connected to something
>>> that breaks functionality when they're removed is that the algorithm is
>>> exploiting some nonideality in the silicon.
>>
>>
>> Asynchronous logic behavior depends on prop delays, which vary from
>> chip to chip, and with time/temperature/Vcc. Synchronous logic will
>> work exactly the same on any number of chips.
>>
>>
>>
>>
>> The numbers are discouraging. Randomly changing on bit in an FPGA
>> config file, or a program binary, will almost always break it.
>
> What I'm saying is that you could certainly write a program that spits
> out VHDL or Verilog files by way of genetic algorithms, and if the shit
> works in Quartus II or whatever, I see no reason it won't work on the
> hardware every time.

That is exactly the point.  Constrain the problem correctly and you can 
get past the more trivial problems of previous attempts at genetic 
programming.  I'm still not sure it will produce great designs, but part 
of the reason people are doing this is to study the designs and find 
potentially new ideas in how to design circuits.

Human thought is limited and often takes only very small steps away from 
anything done before.  Genetic design can potentially uncover completely 
new aspects of design.

-- 

Rick

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


#401487

FromAllan Herriman <allanherriman@hotmail.com>
Date2016-03-05 07:22 +0000
Message-ID<56da8929$0$2883$c3e8da3$76491128@news.astraweb.com>
In reply to#401338
On Fri, 04 Mar 2016 07:08:24 -0500, bitrex wrote:

> On 03/03/2016 08:15 PM, mixed nuts wrote:
>> ...
>>
>   Furthermore, the final program did not work
>>reliably when it was loaded onto other FPGAs of the same type.
>>
>> http://www.damninteresting.com/on-the-origin-of-circuits/
>>
>>
> Yeah, wasn't the final problem with making any practical use of this
> that there was too much variation between the hardware of individual
> devices nominally of the same device type? So you could never know
> exactly what it would be doing with any specific device, or if it would
> work when ported to another.
> 
> The only reason that there could be gates not connected to something
> that breaks functionality when they're removed is that the algorithm is
> exploiting some nonideality in the silicon.
> 
> Genetic programming/algorithms is a practical technique, but seems to
> only work well in software, where the physical layer is abstracted away.
> Could work for FPGAs too, but it would make more sense to use an
> abstract model of the device when "evolving" the hardware.

It wasn't portable or practical, but I don't think that detracts from the 
wonder of a design that managed to be a frequency discriminator in an 
ostensibly digital device without using a clock.

Allan

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


#401555

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2016-03-05 13:51 -0800
Message-ID<oaimdbt9q865nvg39sg7j9dj27e35unafk@4ax.com>
In reply to#401487
On 05 Mar 2016 07:22:17 GMT, Allan Herriman
<allanherriman@hotmail.com> wrote:

>On Fri, 04 Mar 2016 07:08:24 -0500, bitrex wrote:
>
>> On 03/03/2016 08:15 PM, mixed nuts wrote:
>>> ...
>>>
>>   Furthermore, the final program did not work
>>>reliably when it was loaded onto other FPGAs of the same type.
>>>
>>> http://www.damninteresting.com/on-the-origin-of-circuits/
>>>
>>>
>> Yeah, wasn't the final problem with making any practical use of this
>> that there was too much variation between the hardware of individual
>> devices nominally of the same device type? So you could never know
>> exactly what it would be doing with any specific device, or if it would
>> work when ported to another.
>> 
>> The only reason that there could be gates not connected to something
>> that breaks functionality when they're removed is that the algorithm is
>> exploiting some nonideality in the silicon.
>> 
>> Genetic programming/algorithms is a practical technique, but seems to
>> only work well in software, where the physical layer is abstracted away.
>> Could work for FPGAs too, but it would make more sense to use an
>> abstract model of the device when "evolving" the hardware.
>
>It wasn't portable or practical, but I don't think that detracts from the 
>wonder of a design that managed to be a frequency discriminator in an 
>ostensibly digital device without using a clock.
>
>Allan

That shouldn't be difficult. What's more difficult would be to make it
reproducible.


-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

jlarkin att highlandtechnology dott com
http://www.highlandtechnology.com

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

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


csiph-web