Welcome, Guest. Please login or register.

Author Topic: Motorola 68060 FPGA replacement module (idea)  (Read 191426 times)

Description:

0 Members and 26 Guests are viewing this topic.

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: Motorola 68060 FPGA replacement module (idea)
« Reply #209 on: January 14, 2013, 03:45:42 PM »
@ Heiroglyph

I'm concerned that USB (any flavour) will have too high a latency to be used for a CPU/Chipset bus, I'm gonna stick with my original idea of an SPI and see if I can make the numbers add up :)

Offline wawrzon

Re: Motorola 68060 FPGA replacement module (idea)
« Reply #210 on: January 14, 2013, 04:06:04 PM »
Quote from: Mrs Beanbag;722450
I think if we've got some fast CPU running 68k emulation or otherwise, it would be a shame not to make its raw power available to the user in some way.

as is said i agree with heiroglyph on all points, especially on moldular construction and approach. see that jens schoenfeld is going exactly the same way now, providing unified interfaces for different computers and for different accelerators. perhaps it would even be possible to get him on boat, both adopting his interface standards, as advisor and as future manufacturer.
what concerns exposing the native cpu to the user, it might be done like on amithlon, as an option by a dedicated developer. that is the part of modular approach, we propose, that different concepts might coexist as long as there is enough interest there. btw why not invite bernd (umisef on aw.net) the amithlon coder as advisor too?
 

Offline freqmaxTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show only replies by freqmax
Re: Motorola 68060 FPGA replacement module (idea)
« Reply #211 on: January 14, 2013, 04:08:03 PM »
Quote from: psxphill;722448
I think an A1200 accelerator is worth doing with just an FPGA, some flash and some ram.
 
Making a 68060 socket compatible version might be useful for a minority, but I'm not convinced it's going to be very useful for the FPGA Arcade. It doesn't need a physical 68060 & it has an FPGA waiting for code.


For the A1200 you would then have to spin another PCB => more fuss.

There's a shortage of >75 MHz 68060 CPUs for the FPGA Arcade. And the FPGA on the base board isn't large enough to implement a 68060 properly.

I think A1200 and A3000 users could benefit from a plain mechanical adapter. And A4000 could benefit directly.
 

Offline wawrzon

Re: Motorola 68060 FPGA replacement module (idea)
« Reply #212 on: January 14, 2013, 04:17:30 PM »
Quote from: bloodline;722454
@ Heiroglyph

I'm concerned that USB (any flavour) will have too high a latency to be used for a CPU/Chipset bus,


im a noob, but likely..

here some thought interfacing via pci, seems doable, alas in german:
http://www.a1k.org/forum/showthread.php?t=35374&highlight=turbokarte&page=12
 

Offline Heiroglyph

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 1100
    • Show only replies by Heiroglyph
Re: Motorola 68060 FPGA replacement module (idea)
« Reply #213 on: January 14, 2013, 04:35:25 PM »
Quote from: bloodline;722454
@ Heiroglyph

I'm concerned that USB (any flavour) will have too high a latency to be used for a CPU/Chipset bus, I'm gonna stick with my original idea of an SPI and see if I can make the numbers add up :)

That's cool with me, it would be way simpler if possible.  I've seen the opposite problem with SPI in my thought experiments, low latency but low throughput.

Maybe I'm shooting for to too much memory speed since I'm trying to match the best numbers I've seen.  Lower bandwidth might be acceptable.

The other option I've looked into a lot is being a PCI device.  It cuts out the ability to use really cheap SOCs, but many of the nicer ones (especially Freescale and TI) have PCI or PCI-e.  I don't think either latency or bandwidth would be a problem, even for ZIII, but the hardware cost would go up.
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: Motorola 68060 FPGA replacement module (idea)
« Reply #214 on: January 14, 2013, 04:52:54 PM »
Quote from: Heiroglyph;722462
That's cool with me, it would be way simpler if possible.  I've seen the opposite problem with SPI in my thought experiments, low latency but low throughput.

Maybe I'm shooting for to too much memory speed since I'm trying to match the best numbers I've seen.  Lower bandwidth might be acceptable.



Here is my thinking:

The PAL Amiga 500 has a CPU speed of 7.09Mhz, it only accesses the ram/chipset on every other cycle (effectively reducing the frequency to 3.545Mhz). With a bus width of 16bits, that means the highest data rate for the CPU/Chipset bus would be 6.76Meg per second.

A SPI bus with a frequency of 56.7Mhz can match that data rate, and I've used 80Mhz on an SPI bus with an SD card before, so bandwidth (at least for OCS/ECS) should be totally possible with SPI... Latency I guess will depend on how well the protocol is designed, but should be low :)

Offline Heiroglyph

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 1100
    • Show only replies by Heiroglyph
Re: Motorola 68060 FPGA replacement module (idea)
« Reply #215 on: January 14, 2013, 05:01:35 PM »
Quote from: bloodline;722463
Here is my thinking:

The PAL Amiga 500 has a CPU speed of 7.09Mhz, it only accesses the ram/chipset on every other cycle (effectively reducing the frequency to 3.545Mhz). With a bus width of 16bits, that means the highest data rate for the CPU/Chipset bus would be 6.76Meg per second.

A SPI bus with a frequency of 56.7Mhz can match that data rate, and I've used 80Mhz on an SPI bus with an SD card before, so bandwidth (at least for OCS/ECS) should be totally possible with SPI... Latency I guess will depend on how well the protocol is designed, but should be low :)


But we've also got AGA machines with faster speeds and 32bit width.  All my numbers were based on the worst case A4000.

I figure if we can use it on a 4000, the others are a piece of cake.
 

Offline Mrs Beanbag

  • Sr. Member
  • ****
  • Join Date: Sep 2011
  • Posts: 455
    • Show only replies by Mrs Beanbag
Re: Motorola 68060 FPGA replacement module (idea)
« Reply #216 on: January 14, 2013, 05:14:20 PM »
Quote from: billt;722453
Inside Out board made with Minimig-AGA, once Yaqube and friends have that finished up.
I never heard of Inside Out board, it seems to be a complete Amiga, CPU and all?

Don't really need the CPU on board. Just the graphics + sound.
Signature intentionally left blank
 

Offline billt

  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 910
    • Show only replies by billt
    • http://www.billtoner.net
Re: Motorola 68060 FPGA replacement module (idea)
« Reply #217 on: January 14, 2013, 05:15:58 PM »
Quote from: Heiroglyph;722383
My issue with the FPGA/ARM combo chips is the price.

I've been trying to find a good way to interface the wave of super cheap ARM's that are 800-1200Mhz and loaded with peripherals.

It might take a combo chip, but then we're back to $1000 CPU cards. :(


Well, I'm just saying what I would do. Considering my available time, I'm not likely to. Anyone that might actually take up this sort of project is free to do things as they see fit. More than one are free to each do things their own way, which may have several different things happen.

My real dream is a 3000/4000 style accelerator card that's just an FPGA, memory and a bunch of connectors, including a Com-Express type 6 connector. Most other connectors would go to that, perhaps through the FPGA first for some muxing. Then that FPGA would be either a softcore 68k or a bridge to a ComExpress module, which could be PowerPC, x86, whatever. But I don't have time to do that either. I'm more likely to spend time on a PowerPC ComExpress module, which iealize as the best way to design OS4 "Amiga" motherboards today if we must stick with PPC. This 68060 direct replacement idea is an interesting diversion for the moment though. :)
Bill T
All Glory to the Hypnotoad!
 

Offline billt

  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 910
    • Show only replies by billt
    • http://www.billtoner.net
Re: Motorola 68060 FPGA replacement module (idea)
« Reply #218 on: January 14, 2013, 05:17:44 PM »
Quote from: Mrs Beanbag;722466
I never heard of Inside Out board, it seems to be a complete Amiga, CPU and all?

Don't really need the CPU on board. Just the graphics + sound.


Someone took the Amiga chipset and put it on an ISA (I think) card for a PC. I don't think it was around for very long, and I don't think there were very many of them.
Bill T
All Glory to the Hypnotoad!
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: Motorola 68060 FPGA replacement module (idea)
« Reply #219 on: January 14, 2013, 05:18:00 PM »
Quote from: Heiroglyph;722464
But we've also got AGA machines with faster speeds and 32bit width.  All my numbers were based on the worst case A4000.

I figure if we can use it on a 4000, the others are a piece of cake.
I fear you want to run before you can walk ;)

If the SPI idea is cheap and simple, and if it works then you advance the design ;)

Offline psxphill

Re: Motorola 68060 FPGA replacement module (idea)
« Reply #220 on: January 14, 2013, 05:23:06 PM »
Quote from: freqmax;722458
And the FPGA on the base board isn't large enough to implement a 68060 properly.

Has that been tried? I thought it was more that nobody had implemented the FPU & MMU.
 

Offline JimDrew

  • Lifetime Member
  • Full Member
  • ***
  • Join Date: Jun 2012
  • Posts: 241
    • Show only replies by JimDrew
Re: Motorola 68060 FPGA replacement module (idea)
« Reply #221 on: January 14, 2013, 05:49:22 PM »
Quote from: psxphill;722426
I think we're having trouble understanding what you're suggesting, because you can't just convert a little endian processor to big endian using an FPGA.

Sure you can.  In fact, the FPGA would only swap certain instructions where this is required.

The swap is only required because the byte order is backwards (Endian issue).  So, if you fetch a long word from memory using something like mov.l $12345678,d0 that memory location will appear backwards to an x86 and would have to be swapped.  The swap occurs during the opcode emulation, and using some hardware means to perform the swap (like the bus wired backwards momentarily) would eliminate having to do it in software.

The problem with JIT is that it is not cycle exact, so it breaks a LOT of programs.  This is where the FPGA would come in handy as it could be used to throttle the instruction cycle speed so it is correct for a given desired performance level.
 

Offline utri007

Re: Motorola 68060 FPGA replacement module (idea)
« Reply #222 on: January 14, 2013, 05:53:50 PM »
Could it be possible implement cpu and gpu to FPGA? Something like 68060 and Cirrus Logic GD5446 or S3 Virge? Picasso IV / Cybergraphics 64 3D

This way there would be possible get drivers, without hassle????
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

Offline Heiroglyph

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 1100
    • Show only replies by Heiroglyph
Re: Motorola 68060 FPGA replacement module (idea)
« Reply #223 on: January 14, 2013, 05:54:17 PM »
Quote from: psxphill;722470
Has that been tried? I thought it was more that nobody had implemented the FPU & MMU.


I haven't seen a solution that is faster than a cheap 030 yet.  I've heard rumors of Natami, but haven't seen more than vapor.  Even that's not what I'd call significantly faster for the investment.

I also suspect that it's prohibitively expensive to get a sufficiently fast FPGA and few people are good enough to program it.

To me, using another CPU to emulate the instruction set puts you mostly in the realm of software where there are enough people with the skill to optimize the design.
 

Offline Bobo68

  • Newbie
  • *
  • Join Date: Dec 2006
  • Posts: 43
    • Show only replies by Bobo68
Re: Motorola 68060 FPGA replacement module (idea)
« Reply #224 from previous page: January 14, 2013, 05:57:41 PM »
Quote from: utri007;722473
Could it be possible implement cpu and gpu to FPGA? Something like ... Cirrus Logic GD5446 or S3 Virge?


whether their design is opened?
A4000T/060, CV64-3D, 146 GB SCSI