[sdiy] self-modifying code was: Re: My latest project

cheater cheater cheater00 at gmail.com
Thu Feb 18 18:08:51 CET 2010


> The general idea with
> partial reconfiguration is that the processor in the FPGA (or an external
> processor) can select from a number of pre-built designs and swap them in at
> run-time.

But that's what happens in ASM SMC too! You just copy already-compiled
code, like data, around in memory, and it has to interact with the
code around it. You wouldn't actually be compiling the asm yourself.

> While it's conceivable that you could tweak individual circuit elements
> within an FPGA bitstream in a live system (equivalent to modifying
> individual opcodes in an assembled program), the FPGA vendors don't publish
> the mapping of bitstream bits to circuit elements - that's all hidden by the
> synthesis tools. If you wanted to do that you'd have to reverse-engineer the
> bitstream. Not likely an efficient use of time.

That's too bad. I guess they want to keep a hand on the bitstream
synthesizer revenue.

D.

On Thu, Feb 18, 2010 at 17:35, Eric Brombaugh <ebrombaugh1 at cox.net> wrote:
> It's worth noting for those who haven't done this themselves that building
> an FPGA bitstream takes a fair amount of horsepower and proprietary tools.
> Synthesizing a new design (the equivalent of compiling code) for one of my
> day-job projects takes in excess of 3 hours on a 3GHz x86_64 system. So, no,
> the FPGA can't come up with the bitstream on its own. The general idea with
> partial reconfiguration is that the processor in the FPGA (or an external
> processor) can select from a number of pre-built designs and swap them in at
> run-time.
>
> While it's conceivable that you could tweak individual circuit elements
> within an FPGA bitstream in a live system (equivalent to modifying
> individual opcodes in an assembled program), the FPGA vendors don't publish
> the mapping of bitstream bits to circuit elements - that's all hidden by the
> synthesis tools. If you wanted to do that you'd have to reverse-engineer the
> bitstream. Not likely an efficient use of time.
>
> Eric
>
> On 02/18/2010 09:21 AM, Rainer Buchty wrote:
>>
>> On Thu, 18 Feb 2010, cheater cheater wrote:
>>
>>> Assumedly the FPGA could come up with the bitstream and feed it into
>>> itself?
>>
>> That you can do, assuming that the FPGA has access to external memory
>> where it finds the bitstreams, using the SelecMAP interface.
>>
>> Rainer
>> _______________________________________________
>> Synth-diy mailing list
>> Synth-diy at dropmix.xs4all.nl
>> http://dropmix.xs4all.nl/mailman/listinfo/synth-diy
>>
>
> _______________________________________________
> Synth-diy mailing list
> Synth-diy at dropmix.xs4all.nl
> http://dropmix.xs4all.nl/mailman/listinfo/synth-diy
>



More information about the Synth-diy mailing list