FPGA CPU Board

Discussion in 'General Discussions' started by pmprog, Apr 5, 2018.

Tags:
  1. pmprog

    pmprog Advanced Member

    Joined:
    Apr 25, 2011
    Messages:
    3,857
    People (including myself) have thrown around the idea of an FPGA CPU board for inside the Pyra.

    Anyway, interestingly, I came across this project on Hackaday today...
    https://hackaday.io/project/77110-spartan-mini-fpga-handheld-nes

    Regarding battery life, here's a quote
    So who knows, might not be completely out of scope for a Pyra board.
     
    Tags:
    rygD and rSl like this.
  2. rSl

    rSl i'm not tired. you're tired.

    Joined:
    Dec 10, 2005
    Messages:
    599
    Location:
    homecomputer
    cool project! would totally love an pyra fpga powered cpu-board.
    boot up, select the system core of your choice, the pyra *becomes* this system. no emulation involved.
    = want!! :)
     
    rygD likes this.
  3. TrashyMG

    TrashyMG Sarcasm Dispenser Staff Member

    Joined:
    Jan 18, 2010
    Messages:
    10,549
    It would be a cool idea, but it would need some serious thought on design and likely need a strong base of people that have the skills to create and modify FPGA cores to custom hardware. While I do know a bit of people from the Apollo core/ Vampire team ( Amiga FPGA accelerator). I know they have their plate full with their current and future products. Plus they're only focusing on Amiga and AtariST, Motorola 68k processor for the most part.
     
  4. pmprog

    pmprog Advanced Member

    Joined:
    Apr 25, 2011
    Messages:
    3,857
    Absolutely. I mainly pointed this project out because it was the first handheld fpga device I'd seen, and his battery life sounded pretty good
     
    rygD likes this.
  5. Bernd

    Bernd Very Active Member

    Joined:
    May 4, 2016
    Messages:
    187
    FPGA's are power hungry and create a lot of heat.
    That means an active cooling.

    Just my two Euro Cents.
     
  6. Eight Bit

    Eight Bit Hardcore Member

    Joined:
    Nov 16, 2008
    Messages:
    1,644
    Location:
    Amsterdam, Netherlands
    My U64 has no active cooling and doesn't get as hot as my C64
     
    rSl and ClockworkCoder like this.
  7. TrashyMG

    TrashyMG Sarcasm Dispenser Staff Member

    Joined:
    Jan 18, 2010
    Messages:
    10,549
    What FPGAs are you using? are you data mining? I know that Altera Cyclone series are perfectly suited for retro systems and can be powered on USB with no active cooling.
     
  8. pmprog

    pmprog Advanced Member

    Joined:
    Apr 25, 2011
    Messages:
    3,857
    And just look at the TurboChameleon64... It has 2 FPGA chips inside a case the size of a C64 cart and also boots via USB power
    [​IMG]
    http://www.syntiac.com/chameleon.html

    Regarding the power usage, well, that's why I quoted the guys project. Yes its not as great as a super low power CPU, but still somewhat usable
     
  9. levi

    levi Still fresh, damnit!

    Joined:
    Oct 6, 2008
    Messages:
    11,208
    Location:
    Somewhere off the coast of the EU
    Yes, if all you want to use it for is emulating a 30 year old 6502 and proprietary video chip. As a CPU board for the Pyra, I suggest it would limit the functionality somewhat ;)
     
  10. Eight Bit

    Eight Bit Hardcore Member

    Joined:
    Nov 16, 2008
    Messages:
    1,644
    Location:
    Amsterdam, Netherlands
    Hmm... I was thinking about putting a laptop battery in my U64 breadbin case...
    :p
     
    rygD and rSl like this.
  11. pmprog

    pmprog Advanced Member

    Joined:
    Apr 25, 2011
    Messages:
    3,857
    Well, there's Amiga, Megadrive and SNES cores these days (I don't know how many are opensource, though I have seen a Megadrive core and Amiga (Minimig) core ported for the TC64). So if you get the board to configure the FPGA from SDcard/eMMC, then you have access to several machines with no OS overheads.

    There are some cores provided by Altera and Xilinx that are capable of running Linux too (see here), so you might be able to wire up the modem/GPS/WiFi. Sure it won't be as fast as a physical ARM SoC, but might be handy if you are on the FPGA board for some small tasks.

    I can see you point vs an ARM SoC depending on what your planned use-case for the Pyra is. If you're purely a retro game fan and not buying the 3G version, it might just provide a nice sleek portable gaming system to play games without OS overheads.

    That said, I've never investigated the performance difference between Software Emulation vs FPGA Implementations
     
  12. Hellfleck

    Hellfleck Very Active Member

    Joined:
    Jul 26, 2017
    Messages:
    118
    Location:
    Germany, Hamburg
    there is static power consumptions which you will always have, the more gates the FPGA has the higher this will be

    but then there is the dynamic power consumptions which happens when transistors are switching e.g. capitances are charged / discharged and inductance at higher frequencies etc. ... each time this happens draws a small amount of power which is turned into heat - might be tiny at 1 or 2 MHz for a NES / SNES core but if you step up the clock to modern speeds FPGAs will need cooling

    you would probably need a small microcontroller e.g. ARM core to be able to step the clock down if the FPGA starts running hot ... I think I remember seeing some FPGA chips with an added ARM core, the ARM core could run as OS / hardware interface and feed the FPGA then basically use the core running in the FPGA as a coprocessor

    ah found it again : https://www.electronicsweekly.com/news/business/intel-integrates-fpga-arm-cpu-2017-10/
    would be interesting but this one is probably impossible to get and very pricey

    edit: this was an extremly bad example, can order them only 20k for each chip xD

    but Altera made similar ones (smaller, cheaper) too a few years back
     
    Last edited: Apr 5, 2018
  13. levi

    levi Still fresh, damnit!

    Joined:
    Oct 6, 2008
    Messages:
    11,208
    Location:
    Somewhere off the coast of the EU
    True, but my issue is with your quote it's using 400ma. As hellfleck explained, that's only true in the specific instance with the FPGA gates confingured in that way. With more gates actively flip-flopping and at higher speeds it'll draw more juice.

    It's interesting that you can run a slightly old Amiga core on it though.

    Yeah, me neither. I'd certainly be interested to see how that number changes running more performant core simulations.
     
  14. pmprog

    pmprog Advanced Member

    Joined:
    Apr 25, 2011
    Messages:
    3,857
    Cyclone V SoC 5CSEMA5F31C6 is on Mouser at 174eur (the UK site was down)
    https://eu.mouser.com/ProductDetail/Intel-Altera/5CSEMA5F31C6N?qs=sGAEpiMZZMsT5lMbZ%2bWfIGuJbZ/2LrcT

    Sure, I understand that; and I appreciate that it could be that the board would be realistically unusable for anything other than some 8bit machines, and even then might still be out-performed and out-priced by an ARM SoC with emulators.

    On the other hand, if you built an ARM or x86 core (there's a few around), you could be running a totally open platform - where you could fix Spectre and Meltdown issues if you wanted (obviously at the cost of speed/battery life etc.)

    So yeah, I don't really know how good/practical/useful it would be, but as somebody else had worked on an FPGA handheld, thought it was interesting to raise it again
     
    rSl and levi like this.
  15. JonnyH

    JonnyH Member

    Joined:
    Aug 9, 2014
    Messages:
    85
    Location:
    (No longer) PowerVR
    I'd love a "playground" device like this too - you can even get fpgas with arm hardcores and ddr interfaces that can boot linux and act as a host for the fpga logic - allowing you to even modify stuff "live" on device.

    But I don't know if they have framebuffer/display out and stuff like that. And power concerns likely means you can't run much more than an equivalent software emulator running on a similarly powered arm core could do anyway... but it's cool for a dev device :)
     
  16. Linux-SWAT

    Linux-SWAT Hardcore Member

    Joined:
    Feb 13, 2010
    Messages:
    8,199
    I've just tried this board by Xilinx:
    http://www.pynq.io/

    It's quite nice, the I/O are good and the A9 does the job.
    Jupyter is a bit weird for a terminal user, but interesting still. Anyway, the FPGA can also be used with standard VHDL/Verilog.
     
    rygD and rSl like this.
  17. second exodous

    second exodous Advanced Member

    Joined:
    Sep 27, 2005
    Messages:
    2,969
    Location:
    Utah, USA
    Man, if someone makes a new CPU board for the Pyra that would be so cool. It would make the Pyra much more attractive to hackers. ED would be able to sell the other boards also.
     
  18. Hellfleck

    Hellfleck Very Active Member

    Joined:
    Jul 26, 2017
    Messages:
    118
    Location:
    Germany, Hamburg
    thats an interesting one and they claim lower power usage than before - they even provide a power estimate calculation tool, sadly thats a 10mb big excel file with its own, seperate handbook :mad:

    1,1V device which means it needs expert work for a reliable PCB, good board house and manufacturing ... throw in some more components, worktime, manufacturing cost, low volume pricing, a tiny profit for ED and sales tax I would guesstimate you end up with a 450-500€ per piece price


    what kind of price would be reasonable for such a board ? 250 € perhaps ? so we could narrow down and see if there are matching parts available at reasonable price points ?
     
  19. daveshah

    daveshah Still Fresh

    Joined:
    Aug 17, 2008
    Messages:
    23
    The Zynq UltraScale+ could be fun - it has a quad core Cortex-A53, Mali400 graphics acceleration on some models, loads of logic elements and good Linux support and single quantity availability - but it's also not cheap, and power consumption could be an issue.
     
  20. pmprog

    pmprog Advanced Member

    Joined:
    Apr 25, 2011
    Messages:
    3,857
    Looks interesting, and HDMI in and out

    So does this mean you can design the FPGA using C/C++? or have I misunderstood something?
     

Share This Page

Loading...