TIP: Click on subject to list as thread! ANSI
echo: apple
to: comp.sys.apple2
from: Michael J. Mahon
date: 2009-01-10 14:53:50
subject: Re: Not your father`s Applicard

alex.freed.007{at}gmail.com wrote:
> On Jan 10, 2:47 am, "Michael J. Mahon"  wrote:
>> If the Apple could dynamically reconfigure the FPGA card, it would
>> make it truly a different substance.
> 
> It just might be possible to add wings to this particular pig...

;-)

>> The practical issues of configuration file size and programming speed
>> are, of course, of real importance.  I was about to ask what a typical
>> file size is...
> 
> Always fixed size for a particular chip. For the 500E on my prototype
> the configuration file is 278K.

That's quite reasonable, actually.

>>  And how many bits must be banged per "bit" of config?
> 
> After some initial setup, JTAG is like SPI. 2 bytes to send for each
> bit -
> clock up and clock down with the data bit set or reset.

Right--standard bit-banging.

>> And are there real-time constraints--for example, can the programming
>> be "paused" and resumed after a disk I/O?
> 
> You can send one clock an hour - no limitation AFAIK.

That's good, but it looks like 278KB could be bit-banged in a little
less than 40 seconds, including the hard-disk I/O!  That's a pretty
reasonable time for reconfiguration.  ;-)

My loop uses about 17 cycles per bit, with no unrolling.  8x unrolling
would take the time down a little.  Arranging to "generate" the JTAG
clocking on each write to /DEVSEL space and sampling the data from one
of the data bits would drop the time/bit to just 6 cycles per bit, for
less than 15 second configuration times!

-michael

******** Note new website URL ********

NadaNet and AppleCrate II for Apple II parallel computing!
Home page:  http://home.comcast.net/~mjmahon/

"The wastebasket is our most important design
tool--and it's seriously underused."
--- SBBSecho 2.12-Win32
* Origin: Derby City Gateway (1:2320/0)
SEEN-BY: 10/1 3 34/999 120/228 123/500 140/1 222/2 226/0 236/150 249/303
SEEN-BY: 250/306 261/20 38 100 1404 1406 1410 1418 266/1413 280/1027 320/119
SEEN-BY: 393/11 396/45 633/260 267 712/848 800/432 801/161 189 2222/700
SEEN-BY: 2320/100 105 200 2905/0
@PATH: 2320/0 100 261/38 633/260 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.