Want a FPGA Board For Your Raspberry Pi Or Beagle Bone? 66
New submitter hamster_nz writes "Hot topics for the maker community are things such as embedded vision, Bitcoin mining, autonomous vehicle control, Arduino, Open Hardware, software defined radio, small ARM/Linux boards and reconfigurable computing. A current Kickstarter project, LOGi FPGA, is touching all these bases. Funding has been reached after just a day, and Kicktraq currently has it projected to reach over $133,000. As a long time FPGA enthusiast I'm very interested to see what will happen when a thousand keen users get together to explore programmable logic."
Can it handle Improv (Score:1)
If it can handle the "Improv" (as featured in Slashdot @ http://hardware.slashdot.org/story/13/11/25/2313224/dual-core-allwinner-a20-powered-eoma-68-engineering-card-available [slashdot.org] ) it will be wonderful !!
Re: (Score:1)
America'd never b destroyed frm d outside. If v falter & lose r freedoms it'll b becoz v destroyed rselves
I'm almost on board for this whole fascist\socialist\KKK\theocratic take over if it will institute the death penalty for illiterate idiots who write gibberish like this.
Re: (Score:2)
Spartan-6 LX9 MicroBoard (Score:3)
If you need an FPGA then check out the Spartan-6 LX9 MicroBoard [xilinx.com]. It is sold today for $89. You can synthesize MicroBlaze there, and you will have enough fabric left over to implement quite a few hardware blocks. It may be cheaper than stacking R-Pi or BBB and the add-on board. The kit comes with everything that you need to code for this thing (Xilinx ISE and EDK.)
Re:Spartan-6 LX9 MicroBoard (Score:5, Informative)
Re: (Score:2)
The $99 Parallela board uses a Zynq FPGA that has a dual core ARM CPU. The $199 version has close to 10x the FPGA fabric of the LX9
ZedBoard (Score:2)
Meh, that Spartan 6 isn't supported in the much-better Vivado tools.
I can't think of a better price-perf ratio than the ZedBoard for this kind of designs.
Of course, if price isn't an issue, a Xilinx VC7222 (8x 28G transceivers plus a few dozen 13G ones) is better bragging rights than a quad-SLI setup...
Re: (Score:1)
If you need an FPGA then check out the Spartan-6 LX9 MicroBoard [xilinx.com]. It is sold today for $89.
The DE0-nano is $79, and the Cyclone-IV 22kLE chip on it is much more capable than the Spartan-6 LX9.
Re: (Score:1)
Spartan 6 LX9? (Score:2, Insightful)
I would have considered it with an LX45 or better LX75. I'll probably go with a ZTEX http://www.ztex.de/ [www.ztex.de] 1.15b then instead. Is there anything comparable out there that I have missed so far?
Re:Spartan 6 LX9? (Score:4, Informative)
You missed out Saanlima's Pipistrello [saanlima.com]. A nice Spartan LX45 board, with PMODs, HDMI and other goodies.
ZedBoard, SoCKIT (Score:1)
http://zedboard.org/product/zedboard [zedboard.org]
https://www.digilentinc.com/Products/Detail.c [digilentinc.com]
Re:ZedBoard, SoCKIT (Score:4, Informative)
I have both the Zedboard and the SoCKit
The SoCKit is definitely the beefier of the two, as the Altera Cyclone V SX series FPGAs are far more powerful than their Zynq-7000 series counterparts.
However, the SoCKit has the most obnoxiously bad documentation that I've ever seen. The reference material from Arrow is extremely thin yet somehow still manages to have spelling mistakes in it that would prevent it from functioning if certain functions were enabled. Terasic's material "works" but Terasic does not include any documentation on the HPS whatsoever, just a prebuilt image and some C code to go with it.
I've spent the better part of the past 3 weeks just figuring everything out on my own. Altera's documentation is rock solid, but that only covers the FPGA itself, not the peripherals. Today was spent figuring out how the various clock sources are connected to the FPGA. Despite offering the exact same board in the exact same configuration, Arrow and Terasic provide conflicting and equally useless documentation. Sometime in the next couple of days I'm going to go probing at it with my scope.
The silver lining though is that I've been documenting that I've done, so I should be able to compile a very comprehensive and updated getting started guide in the near future. The ones on the RocketBoards wiki just don't cut it.
The Zedboard is accompanied by much superior documentation. The board design isn't as nice, but it's not as irritating to work with.
Re: (Score:2)
Re:ZedBoard, SoCKIT (Score:4, Informative)
I haven't found any hardware errata yet, just a truckload of missing, poorly written, or conflicting documentation. I'll provide you with a rough workflow that I've followed to get started. Feel free to ask me any questions.
Step1: Grab the Arrow lab material from the following link and work through them on Quartus 13.1. They're written for Quartus 13.0sp1 but they can be followed on Quartus 13.1 without issue. The only additional step is upgrading the IP cores from those packaged with 13.0sp1 to those packaged with 13.1; this will be done automatically when the sopc is opened in Qsys
http://www.arrownac.com/solutions/sockit/files/SoCKIT_Materials.zip [arrownac.com]
Working through the hardware side will get you a usable sof file to program the FPGA. Working through the software side will get you a usable preloader. Although the SoCKit is heavily based off of Altera's reference development kit (GHRD) the preloader is different in large part due to slightly different SDRAM specifications. Attempting to use the preloader included in Altera's SoCEDS will not work.
The programming stage of the documentation is a bit flawed. The reference configuration assumes a single JTAG device, but there can be more. At a minimum there will be one for the HPS, but a bank of two dipswitches on the board can enable JTAG for the HPS itself and any devices connected via HSMC. Just use autodetect to pick up all JTAG devices and program the SOF file to the FPGA device, it's very clear as to which is which.
Next, grab the github repositories for the linux-socfpga (kernel), poky-socfpga (base filesystem), and u-boot-socfpga (bootloader). Grab the latest version tagged with '-rel'. I used the following:
kernel: socfpga-3.9-rel
u-boot: socfpga_v2013.01.01-rel
poky: danny-altera-rel
The wiki on rocketboards can be followed to install the dependencies and begin compilation. I can verify that everything builds nicely on CentOS 6.5 without much fuss, Ubuntu is extremely problematic so I would avoid it.
If you look at the SD Card image that ships with the SoCKit you'll notice that it has a FAT filesystem with two files on it, socfpga.dtb and uImage. These are the device-tree-blob, and linux-kernel-image respectively. The kernel is in a u-boot image format, which is simply a zImage with an additional header. The bootloader that ships with Terasic's SD card image uses an early 2012 version of u-boot and does not support booting directly from a zImage. Support for this (bootz command) is present in the 2013.01.01 release of u-boot so it is no longer necessary to attach the additional header to the kernel image. Just configure and compile the kernel as a zImage as they do in the wiki.
An additional step is missing in the wiki (at least it was last time I looked). The dtb is tightly coupled to the kernel version. Using a dtb from the terasic reference SD image will work for kernel version 3.7, but it will not work for kernel 3.9 or above. The reference one created by Altera's sopc2dts tool is crap and won't work either. However, a working dtb has been included in the linux-socfpga tree under arch/arm/boot/dts/socfpga_cyclone5.dts. This can be compiled to a dtb either through the dtc tool itself, or in-situ by running 'make ARCH=arm dtbs'. This is good enough to get started with, but if you add additional memory mapped devices to your system you will have to modify it by hand and recompile it.
NOTE: the socfpga_cyclone5.dts file exists in the 3.9-rel tree, but has been replaced and expanded in master by one specifically tailored towards the SoCKit. I haven't looked at this yet, it's on my todo list. You may wish to check it out.
OTHER NOTE:The bootloader will look for socfpga.dtb by default. You can change the name of the file that it looks for by tweaking the bootloader environment settings (this is good practice) or you can change the name of the file when you copy it to the filesystem.
Expand the compiled
Re: (Score:2)
Re: (Score:2)
Yeah that's where I found many answers to my questions. There's no easy way to look through it and few if any solutions are catalogued or included in the wiki. Sometime over the Christmas holidays I will write a more comprehensive guide.
Re: (Score:2)
I'm curious as to what aspect of Altera's offering you find more powerful than Xilinx? The SocKIT is $1600, although they're practically giving them away if you attend the training ($100 I think for the training and the kit). The MicroZed is $200, the Zed $400. Sure, it's a smaller logic density device, but it works for proof-of-concept. I also like the inclusion of the many PMod adapters on the Zed board as opposed to the SoCKIT.
In general I find the devices are roughly equivalent. I would probably give th
Re: (Score:2)
Altera's reference Cyclone V SX Series development kit is $1600. This includes the subscription edition of Altera's SoCEDS suite which allows for bare metal debugging over JTAG.
The SoCKit is only $300. The hardware is (nearly) identical and it is designed to be compatible with Altera's reference design at both the harware and software level. It does not come with the subscription edition of Altera's SoCEDS so users are limited to either the 30 day trial or a free licence which supports only gdb over IP for
bitcoin mining ? (Score:1)
No, seriously ? Does anybody actually mine bitcoins with a Spartan6 with just 9K cells ? and not just as a proof of concept ?
Re: (Score:3)
I would think not. Bitcoin mining isn't cost-effective on FPGAs any more.
Re: (Score:2)
Depends what you want the FPGA to do... (Score:3)
If you already have a ARM processor, the FPGA will likely be used for real-time interfacing with the outside world - for example, many robotic applications. If this is the situation you are in then it might be worth looking at the Lattice iCE40 line of FPGA. They're small, cheap, use almost no power, and are programmed via SPI. The high-end versions have around 7500 LUTs so they are reasonably powerful.
There are some very inexpensive iCE40 developer boards on the Lattice website - between $25 and $40 (I believe). Makes for an inexpensive introduction to programmable logic. Just do not expect them to be as large and powerful as other FPGAs on the market. They were designed to compliment a CPU by interfacing and filtering sensor data thereby allowing the CPU to remain asleep for as long as possible. Most other FPGAs were designed to implement CPUs...
Re: (Score:1)
Lattice MachXO family can run the MICO32 cpu right inside the FPGA. You can get a PICO board [latticesemi.com] for about $40, so it's on the same line of price. There are others [artekit.eu] with more features under 100 EUR, but may not worth it if you are running your firsts FPGA experiments.
The MachX03 looks very promising, but there are not boards to play with...
Some RAM would have been nice (Score:2)
That part will interface to external RAM, but they don't include any or connectors for it, so all you get is 576K. The Litecoin miners will be disappointed.
The Raspberry Pi has a connector layout problem, with connectors on three edges. Then these guys stack another board on top, with connectors on three different edges. They have header connectors hanging over the edge on one side, preventing a panel connection to the USB port. Then, I think, you can stack Arduno shields on top. The result is the elect
Re: (Score:3)
It does in fact have 64Mb or SDRAM (8MB). I wrote a SDRAM controller [hamsterworks.co.nz] for it, that also works on the Papilio Pro...
Re: (Score:2)
Would you like to send anything back for me to put up on the site?
Lack of a SDRAM controller was why I sold off my DE0-nano...
Meh (Score:1)
Assuming the $69 reward level is the price they intend shipping them at, I'd much rather spend the extra $10 to get a DE0-nano: twice the number of logic elements in the FPGA, and much more importantly *more LEDs*! :)
BBB (Score:1)
Re: (Score:3, Interesting)
In other words... (Score:1)
They've invented (or rather promised to invent) a solution to a problem that doesn't exist. You can already grab any number of FPGA dev boards today and interface them with your RPi or BBB for less than $100. Making another one from scratch isn't going to 1) Teach coders to be logic designers 2) Make it easier to learn the FPGA toolchain 3) Enable anybody to do something they couldn't just as easily and affordably do before. Yay crowd-funding.
posting to undo mod (Score:2)
Do not buy this (Score:3, Informative)
Short version: I write FPGA code for a living: don't buy this kit. Get a Xilinx MicroZed, Zed, or Altera SoCKIT. It is a revolutionary improvement over what is offered in this kickstarter at a similar price point.
Long version: If you're interested in HDL and coming from the processor world (ARM), consider the Xilinx Zed, MicroZed, or Altera SoCKIT. The Zed is $400 (slightly less with an academic discount), the MicroZed $200, and I believe you can get an Altera SoCKIT board for $100 if you attend the training (if not, it's expensive at $1600). For a hobbyist, I would probably choose the MicroZed since it's the cheapest to buy straight-out at $200, or Zed if you wanted some of the PMod peripherals.
Any of the above boards offer significant advantages over the LOGi FPGA. The Spartan 6 LX9 is disappointing as a choice, as it's a very small, last-generation device. The current SoC offerings from both Altera and Xilinx pair a processor subsystem (PS) (dual Cortex A9) with a programmable logic (PL) subsystem via an array of standard ARM interfaces (AXI). I believe all of the Xilinx/Altera offerings have between 2,000 and 3,000 built-in connections between the PS and PL. This is a tremendous advantage and offers ridiculous amounts of bandwidth between the PS and PL. It allows unprecedented cooperation between the PL and PS that leads to significantly better performance than is possible with a discrete processor and FPGA combination.
Re: (Score:3, Informative)
Re: (Score:2)
Re: (Score:3)
I'm going to have to disagree with you. If somebody already has a RPi or BB, then this board makes a whole lot of sense: it just stacks on top of your existing unit, both physically and logically. In Zynqland it'd take quite some effort to construct the abstraction layers that they seem to be building into this project; you have to do things like rebuild the FSBL and binfile and it gets to be a pain. There's a community of sorts but it's small peanuts compared to the RPi juggernaut.
I agree that the bandwidt
MicroZED (Score:1)
If you want a smaller form factor than the ZED board, there is MicroZED [zedboard.org].
Be advised that working with Xilinx tools, be it ISE/Planahead or Vivado, redefines frustration to a whole new level. While the actual Zynq hardware is decent, the development tools are a bl*ed s*g p*e of s*t full of bugs and undocumented 'gotchas' that chews for hours before throwing up a diarrhea of incomprehensible error messages and/or generate an unworkable result.
Xilinx support is laughable, you will at best find very cryptic hing
Re: (Score:2)
If you want a smaller form factor than the ZED board, there is MicroZED [zedboard.org].
Be advised that working with Xilinx tools, be it ISE/Planahead or Vivado, redefines frustration to a whole new level. While the actual Zynq hardware is decent, the development tools are a bl*ed s*g p*e of s*t full of bugs and undocumented 'gotchas' that chews for hours before throwing up a diarrhea of incomprehensible error messages and/or generate an unworkable result.
Xilinx support is laughable, you will at best find very cryptic hinglish that may or may not be related to your problem but certainly does not do the needful.
Make sure to charge by the hour when contracting, or when you're in the other seat, take out a big liability insurance against workers going postal or suing you for mental abuse.
Crassly stated, but there's a ring to it.
The creators point of view (Score:3, Informative)
Hi all,
i'am one of the co-founder of the project and i just want to address some of your questions/remarks:
Why buying a LOGI-board when you can get a zedboard/sockit ?
The zeboard/sockit are much more powerful than what the LOGI boards can propose and they will run much higher performance applications ... but they lack support from the software community, and are definitely a no go for a beginner. The Beaglebone and Raspberry-pi benefits of a great support from the software community and kernel development community, with our board we try to bridge a gap between the hardware and software community using the beaglebone/raspberry-pi + LOGI as a collaborative platform for the two. Give a kid a zedboard and raspberry-pi and guess which one he will throw to the bin in the end. The idea of stacking boards is to follow the progress of the user and had complexity when its time to.
Why getting a LOGI-board when you can get a DE0/MicroBoard for the same price ?
The computng power of the raspberry/beaglebone processor is far better than what you can get with a NIOS/Blaze and the linux support is great. Moreover you can program the logic from the processor (i did not say design the logic) while a Blaze can't. With the Linux of these boards, you also have access to a ton of software repositories. The LOGI-boards are designed with co-design in mind, when you use Blaze/NIOS you targets both ends of the co-design problem at the same time. With the LOGI-boards you can separate the concerns.
The price problem is also difficult, DE0 and MicroBoards are subsidized by the chip vendors (Altera/Xilinx) so they can be sold for cheap. We are not subsidized so the price you pay is closer to the price you would pay to build your own product.
Thanks for all your comments, and don't hesitate to ask for more information.
Jonathan Piat
Re: (Score:1)
Why getting a LOGI-board when you can get a DE0/MicroBoard for the same price ?
The computng power of the raspberry/beaglebone processor is far better than what you can get with a NIOS/Blaze and the linux support is great. Moreover you can program the logic from the processor (i did not say design the logic) while a Blaze can't. With the Linux of these boards, you also have access to a ton of software repositories. The LOGI-boards are designed with co-design in mind, when you use Blaze/NIOS you targets both ends of the co-design problem at the same time. With the LOGI-boards you can separate the concerns.
But hooking the DE0 up to a RPi (or any other SBC) is trivial with a bit of ribbon cable, and if I use a USB cable as well I can also program the FPGA from it like with your system. It provides a more powerful solution at (I think, if I understand your pricing correctly) a lower price than your solution. So why wouldn't anyone want to do it that way?
Yes, your system provides a neater packaging option, but this is unlikely to be an issue for the kind of hobbyist applications hardware like this targets. Al
toolchain? (Score:2)
given xilinx's history in the past, whats the toolchain situation?
in the past i've had to deal with license servers, multi-thousand dollar licenses, being locked into windows,
having to reverse engineer internal formats because the tools wouldn't work for me, having day-long
synthesis/test cycles because their routing was so abysmal, etc
admittedly I'm an old fuck, so thing may have changed
i scanned the page, but they dont seem to say a single thing about tools.
what the situation?
Re: (Score:3, Interesting)
Re:toolchain? - with mandatory spyware (Score:2)
Re: (Score:2)
given xilinx's history in the past, whats the toolchain situation?
in the past i've had to deal with license servers, multi-thousand dollar licenses, being locked into windows,
having to reverse engineer internal formats because the tools wouldn't work for me, having day-long
synthesis/test cycles because their routing was so abysmal, etc
admittedly I'm an old fuck, so thing may have changed
i scanned the page, but they dont seem to say a single thing about tools.
what the situation?
No that much has changed. The good is that there are free Webpack editions for certain chips. The overwhelming bad is that the long cycles and the unexplainable bugs are still there. It's easy to lose 50K$ on needlessly wasted engineering time over the course of a single project.
Re: (Score:2)
>in the past i've had to deal with license servers, multi-thousand dollar licenses,
I've never had a problem with the Webpack edition not activating.
>being locked into windows
Apparently most serious folks run the tools on Linux these days. Works fine on RH.
>having to reverse engineer internal formats because the tools wouldn't work for me
Hasn't happened to me, knock on wood. Hopefully they've worked out more corner cases since your time.
>having day-long synthesis/test cycles because their routing
Parallela board (Score:1)
Another choice - Zynq + transputter @ $100
http://www.parallella.org/ [parallella.org]
Re: (Score:2)
A couple of points to address (Score:2)
Sata Port + Pi ! (Score:1)
My pi has been sitting around, doing its business on the home network for over a year.
Any chance of getting a Sata port for my Pi would be a worthwhile investment. Add to that a FPGA chip which would allow me to "play" with mining bit/lite coins, is good enough for me.
Great idea for Pi owners who are new to FPGA (eg: me), and, want to try it out on a platform which they are comfortable with.
Re: (Score:2)
simplest of all... (Score:1)
If you want to learn FPGA why not look at the Xula by Xess?
Open-source design
XC3S200A 200,000 gate FPGA
8 MByte SDRAM
2 Mbit Flash
3.3 & 1.2V regulators
40-pin interface
PIC 18F14K50 micro
USB 2.0 port
all for $55.