Poll

you are familiar with microcontrollers but not FPGA flow, do you find it difficult to setup FPGA-based embedded system?

Yes, very difficult
10 (28.6%)
It's OK
13 (37.1%)
Not at all
12 (34.3%)

Total Members Voted: 35

Author Topic: [POLL] Do you find it hard to setup FPGA-based embedded system?  (Read 11372 times)

0 Members and 1 Guest are viewing this topic.

Offline jefflieuTopic starter

  • Contributor
  • Posts: 43
  • Country: au
Do you find it difficult to set-up FPGA-based embedded system?
I'm thinking of a collection of pre-verified FPGA-based embedded system binaries (NIOS/MICROBLAZE) where people can just download (the hardware definition file  and the bit file) and and start C/C++ coding straight away. Just like a microcontroller kit, but you have the option of changing architecture to suit your own project. For example, having 2 or more processors instead of one, at the expense of not having hardware FIR ... something like that. For each FPGA kit we can have multiple flavours of architectures that are suitable for different projects.
Would it be helpful and FPGA-based embedded system is adopted more widely?
This poll is more for people who has been using other microcontrollers and never used FPGA before.
Thanks!
Jeff
i love Melbourne
 

Offline ebclr

  • Super Contributor
  • ***
  • Posts: 2328
  • Country: 00
Re: [POLL] Do you find it hard to setup FPGA-based embedded system?
« Reply #1 on: April 30, 2017, 11:26:40 pm »
If you need a microprocessor, buy a microprocessor FPGA is much more than a microprocessor, It's real hardware parallelism.

 Microblase , Micos, must be used only for the external graphical or serial interface to set/control the parametrize the actual IP you may have, Those microprocessor Ip's in recent FPGAS are already in hardware like in the Zinc-7000 ,

 

Offline FrankBuss

  • Supporter
  • ****
  • Posts: 2365
  • Country: de
    • Frank Buss
Re: [POLL] Do you find it hard to setup FPGA-based embedded system?
« Reply #2 on: April 30, 2017, 11:35:06 pm »
I agree, it doesn't make sense to use something like Nios, if you want it cheap. The FPGA resources a soft-core needs requires a much more expensive FPGA than the cost of an additional external microcontroller. I have used Nios and it is nice to have memory-map your VHDL entities, or add lots of standard peripherals as you need them, and all integrated, but unless you have very special requirements, like lots of IOs are used so that an external microcontroller can't access the FPGA with a fast parallel interface, it just doesn't make sense. Of course, if it is an integrated hard-core, like with the Xilinx Zynq, it makes sense again.
So Long, and Thanks for All the Fish
Electronics, hiking, retro-computing, electronic music etc.: https://www.youtube.com/c/FrankBussProgrammer
 

Offline jefflieuTopic starter

  • Contributor
  • Posts: 43
  • Country: au
Re: [POLL] Do you find it hard to setup FPGA-based embedded system?
« Reply #3 on: May 01, 2017, 04:21:18 am »
Probably I should have mentioned better where I'm coming from.
I didn't mean to compare in professional world. I meant for hobbyists and enthusiasts
The Zynq is expensive and I think is an overkill for hobbyists.

I like the NIOS, I think it can be useful for hobbyists.
It has full support and potential to scale from simple application such as LED blinking to complex UI interface, network packet processing ... etc...
But it's not widely used. As you guys pointed out it doesn't make sense because it is more costly to have FPGA compared to having another micro controller. 

But I think it CAN make sense. For example the MAXIMATOR board here is $50 EUR. http://maximator-fpga.org/
I totally believe that this board can be as cool as or even cooler than the Arduino/AVR boards. How about having 2 NIOSes?

So my concern was whether or not , the reason for NIOS system not being widely used in the hobbyist world is the setting-up of the hardware. or it's really something else such as cost.

In other words, would a collection of different architectures that can be downloaded to the MAXIMATOR make it attractive for other microcontrollers' users?







i love Melbourne
 

Offline ebclr

  • Super Contributor
  • ***
  • Posts: 2328
  • Country: 00
Re: [POLL] Do you find it hard to setup FPGA-based embedded system?
« Reply #4 on: May 01, 2017, 05:20:34 am »
If you  wanna play on FPGA, as a hobby for educational purpose, with no long-term applicability in mind,  here some nice articles

http://hackaday.com/2014/05/01/a-z80-retro-microcomputer-for-the-papilio-pro-fpga-board/

http://jeelabs.org/article/1550b/
 

Offline FrankBuss

  • Supporter
  • ****
  • Posts: 2365
  • Country: de
    • Frank Buss
Re: [POLL] Do you find it hard to setup FPGA-based embedded system?
« Reply #5 on: May 01, 2017, 08:27:07 am »
In other words, would a collection of different architectures that can be downloaded to the MAXIMATOR make it attractive for other microcontrollers' users?

Maybe the entry hurdle is too high. Last time I used Nios, it was not that easy single-button click to get it running, but you had to compile the SOC design, the VHDL files, the C code etc. all in the right order and with different programs. But in order to do something useful with it, you have to learn what an FPGA is, how Nios and Eclipse works and how to program it in C and VHDL. And some people might not like it to install a 14 GB package, but this might be no problem anymore nowadays with TB disks.
So Long, and Thanks for All the Fish
Electronics, hiking, retro-computing, electronic music etc.: https://www.youtube.com/c/FrankBussProgrammer
 

Offline jefflieuTopic starter

  • Contributor
  • Posts: 43
  • Country: au
Re: [POLL] Do you find it hard to setup FPGA-based embedded system?
« Reply #6 on: May 01, 2017, 12:10:29 pm »
Exactly. That's what I feel as well.
It is still not easy and involved quite a few tools to get the software run.
If you have the hardware bit file, it's not that bad to write the software, compile and bundle hardware/software/bootloader into 1 flash image and download to the flash.
i love Melbourne
 

Offline GeorgeOfTheJungle

  • Super Contributor
  • ***
  • !
  • Posts: 2699
  • Country: tr
Re: [POLL] Do you find it hard to setup FPGA-based embedded system?
« Reply #7 on: May 01, 2017, 01:07:51 pm »
« Last Edit: May 01, 2017, 01:10:24 pm by GeorgeOfTheJungle »
The further a society drifts from truth, the more it will hate those who speak it.
 

Offline NorthGuy

  • Super Contributor
  • ***
  • Posts: 3146
  • Country: ca
Re: [POLL] Do you find it hard to setup FPGA-based embedded system?
« Reply #8 on: May 01, 2017, 02:54:36 pm »
FPGA is totally different from MCU, but IMHO, it is easier to work with and at the same time more powerful. Price is the biggest drawback.

Of course, if you're just stitching IPs together, as you would do with Arduino modules, these two approaches may not look very different from each other.

However, if you work with the FPGA fabric directly or through VHDL/Verilog, the experience is completely different from MCU.

It all depends on your goals.
 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 8517
  • Country: us
    • SiliconValleyGarage
Re: [POLL] Do you find it hard to setup FPGA-based embedded system?
« Reply #9 on: May 01, 2017, 03:03:10 pm »
precompiled does not work.
it would require fixed pin mappings on the fpga and you would not be able to add your own logic. the bitstream is irellevant.

anyway, it is not difficult ot make a nios based system. quartus has a nice configuration tool. clikcetyclick to build the core and peripherals , assign pins and it even creates the build file for the operating system... all without writing a single line  of c, vhdl or verilog.
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline rstofer

  • Super Contributor
  • ***
  • Posts: 9890
  • Country: us
Re: [POLL] Do you find it hard to setup FPGA-based embedded system?
« Reply #10 on: May 01, 2017, 04:49:33 pm »
You need to think about the broad spectrum of electronics hobbyists.  Some are stuck on Ohm's Law and others have advanced degrees with skills to match (not me...).  I don't think FPGAs, beyond the point of blinking an LED, are an entry level device.  More often than not, you need serious hardware design skills and the ability to visualize entire systems.

It seems to me that if you want an ARM processor, you buy one.  OTOH, if you want a retro computer like, say, the IBM1130, you either build it with 74xxx logic or an FPGA.  The FPGA is easier but it's a serious project either way.  Something over 10,000 lines of code ought to do it (including peripherals).

Two different things, FPGAs and uCs.

I did buy an Altera prototype board and I got NIOS running, including the toolchain, but when I looked at the IDE licensing, I walked (no, ran!) away from Altera.  I never went back.  I'm firmly in the Xilinx camp.

 
The following users thanked this post: jefflieu

Offline james_s

  • Super Contributor
  • ***
  • Posts: 21611
  • Country: us
Re: [POLL] Do you find it hard to setup FPGA-based embedded system?
« Reply #11 on: May 01, 2017, 06:07:00 pm »
I use both Altera and Xilinx devices in hobby projects, the free hobby license of both IDEs. I find I like some things about one and other things about the other, there is no firm winner. I would definitely say that FPGAs are not beginner friendly, it took me a couple years of working on my own off and on before something clicked and I started to feel semi-competent writing VHDL. I do think a digital design background is more useful than software/firmware programming experience. HDL looks like a programming language but it's really not, it's a language used to describe digital hardware.
 

Offline rstofer

  • Super Contributor
  • ***
  • Posts: 9890
  • Country: us
Re: [POLL] Do you find it hard to setup FPGA-based embedded system?
« Reply #12 on: May 01, 2017, 10:37:23 pm »
I use both Altera and Xilinx devices in hobby projects, the free hobby license of both IDEs.

When I looked at the Altera license for the 'free' version several years back, there was a clause whereby they could cancel my license at any time in the future for no reason at all.  This reminded me of UCSD cancelling all the UCSD Pascal licenses after an entire industry was created for the system.  Sure, they transferred the rights to another company but those folks were selling software, not giving it away.

So, once burned and all that...  I just gave up on Altera and stayed with Xilinx.
 

Offline james_s

  • Super Contributor
  • ***
  • Posts: 21611
  • Country: us
Re: [POLL] Do you find it hard to setup FPGA-based embedded system?
« Reply #13 on: May 01, 2017, 10:47:11 pm »
I suppose they could, but why would they? If they cancel the license, I'll stop using their products.

Xilinx can probably do the same thing, legally speaking. For some reason the FPGA vendors have been really slow to learn that you pretty much have to give away your development software if you want people to use your products. Make money on the hardware, don't charge people money to be able to make something that will get them to buy your hardware.
 
The following users thanked this post: jefflieu

Offline ebclr

  • Super Contributor
  • ***
  • Posts: 2328
  • Country: 00
Re: [POLL] Do you find it hard to setup FPGA-based embedded system?
« Reply #14 on: May 02, 2017, 02:44:44 am »
If you are a Richard Stallman  follower you can use a GNU software


 

Offline jefflieuTopic starter

  • Contributor
  • Posts: 43
  • Country: au
Re: [POLL] Do you find it hard to setup FPGA-based embedded system?
« Reply #15 on: May 02, 2017, 04:44:55 am »
You need to think about the broad spectrum of electronics hobbyists.  Some are stuck on Ohm's Law and others have advanced degrees with skills to match (not me...).  I don't think FPGAs, beyond the point of blinking an LED, are an entry level device.  More often than not, you need serious hardware design skills and the ability to visualize entire systems.
Small FPGAs can't do anything interesting with HDL alone.
But maybe it's going to be interesting if there's a NIOS running.
If you don't need custom logic, download the architecture that suits your project. The same board with sufficient LOGIC can serve both amateurs and experienced hobbyists I think.
And if you want to custom logic, writing a custom peripheral and hook it up to AVALON bus would be a good starting point of learning VHDL.

it would require fixed pin mappings on the fpga and you would not be able to add your own logic. the bitstream is irellevant.
Yeah, we need Arduino model, where the interface remains the same between different development kits. Shields will be plugged in as required.
Probably these 2 boards would be a good start:
- http://maximator-fpga.org/
- http://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&CategoryNo=218&No=1021

What I'm trying to say is that FPGA-based system should be a winner (I'm not comparing against ARM or other processors that runs at hundreds MHz range). But apparently, it's not :D.


i love Melbourne
 

Offline hans

  • Super Contributor
  • ***
  • Posts: 1638
  • Country: nl
Re: [POLL] Do you find it hard to setup FPGA-based embedded system?
« Reply #16 on: May 02, 2017, 11:15:26 am »
Still the problem is that with a fixed bitstream, the added value of a NIOS in a FPGA with some standard peripherals is negligible to a ARM CPU. Softcore CPU's shine once you start to design custom mix or completely new peripherals designed for your application, as well as hardware acceleration of compute intensive tasks/high data rate streams.

Altera has a nice tutorial how to set up the NIOS, which is like a button course aside from anything else. Frankly if you're unfamiliar with designing VHDL, I question why you would want to start with FPGA's aside from the brag/cool factor, as you're way better of buying the latest ARM CPU offerings of vendor of choice.
 

Offline NorthGuy

  • Super Contributor
  • ***
  • Posts: 3146
  • Country: ca
Re: [POLL] Do you find it hard to setup FPGA-based embedded system?
« Reply #17 on: May 02, 2017, 02:04:57 pm »
What I'm trying to say is that FPGA-based system should be a winner (I'm not comparing against ARM or other processors that runs at hundreds MHz range). But apparently, it's not :D.

You can do plenty of interesting things with HDL.

However, if you're going to use it as an MCU, it's better to get hardware MCU. It'll be cheaper and better.
 
The following users thanked this post: jefflieu

Offline rstofer

  • Super Contributor
  • ***
  • Posts: 9890
  • Country: us
Re: [POLL] Do you find it hard to setup FPGA-based embedded system?
« Reply #18 on: May 02, 2017, 02:39:22 pm »
Probably I should have mentioned better where I'm coming from.
I didn't mean to compare in professional world. I meant for hobbyists and enthusiasts
The Zynq is expensive and I think is an overkill for hobbyists.

I like the NIOS, I think it can be useful for hobbyists.
It has full support and potential to scale from simple application such as LED blinking to complex UI interface, network packet processing ... etc...
But it's not widely used. As you guys pointed out it doesn't make sense because it is more costly to have FPGA compared to having another micro controller. 

But I think it CAN make sense. For example the MAXIMATOR board here is $50 EUR. http://maximator-fpga.org/
I totally believe that this board can be as cool as or even cooler than the Arduino/AVR boards. How about having 2 NIOSes?

So my concern was whether or not , the reason for NIOS system not being widely used in the hobbyist world is the setting-up of the hardware. or it's really something else such as cost.

In other words, would a collection of different architectures that can be downloaded to the MAXIMATOR make it attractive for other microcontrollers' users?

As I see it, the Maximator is using a VERY small device.  I'm not sure how Altera defines Logic Element (same as LUT?) but 8k of them doesn't sound particularly useful.  My Spartan 3E boards have 19512 equivalent logic cells.  The Arty (Artix 7) board has 33,280 logic cells.  8k is kind of tiny!

Another selection criteria is the amount of RAM, particularly BlockRAM.

I think the reason the NIOS approach doesn't get much attention in the hobby community is that nobody cares.  I can buy a much more capable ARM processor with a huge amount of flash and RAM plus all the peripherals, an FPU, MMU and anything else that has been dreamed up (Icache, Dcache) and I'm ready to go.

Where the FPGA comes into its own is when you need custom logic or custom peripherals.

I do see a need for small cores inside the FPGA.  It seems to me that it would be easier to talk to some peripherals in assembly language than it would be to write HDL.  I don't think C is required for the small cores.  This approach might also result is a lower gate count.  Even a simple File System is kind of a PITA to code in HDL.
 
The following users thanked this post: jefflieu

Offline Bassman59

  • Super Contributor
  • ***
  • Posts: 2501
  • Country: us
  • Yes, I do this for a living
Re: [POLL] Do you find it hard to setup FPGA-based embedded system?
« Reply #19 on: May 02, 2017, 08:10:59 pm »
I suppose they could, but why would they? If they cancel the license, I'll stop using their products.

Xilinx can probably do the same thing, legally speaking. For some reason the FPGA vendors have been really slow to learn that you pretty much have to give away your development software if you want people to use your products. Make money on the hardware, don't charge people money to be able to make something that will get them to buy your hardware.

Along these lines, Microsemi has decided that from version 11.8 of their Libero tools onward, they are charging for the "Gold" and higher tool level. This was previously free, and it's a right royal pain in the ass, since the parts we use have more than 25k logic cells and thus require that level. The license isn't particularly expensive but it makes doing firmware changes at a remote site impossible if it is locked to a local machine.
 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 8517
  • Country: us
    • SiliconValleyGarage
Re: [POLL] Do you find it hard to setup FPGA-based embedded system?
« Reply #20 on: May 05, 2017, 10:18:18 pm »
it would require fixed pin mappings on the fpga and you would not be able to add your own logic. the bitstream is irellevant.
Yeah, we need Arduino model, where the interface remains the same between different development kits. Shields will be plugged in as required.
[/quote]
we do NOT need arduino model ! the beauty of an fpga is that you can assign any function to any pin !
i want to be able to add my own custom logic and map it to the pin i like the best ( because it makes my board layout simpler) if i need 25 pwm channels i can add those in the fpga.
for that purpose bitstreams don't work. i need the core package.

the best solution right now is cypress psoc.
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline jefflieuTopic starter

  • Contributor
  • Posts: 43
  • Country: au
Re: [POLL] Do you find it hard to setup FPGA-based embedded system?
« Reply #21 on: May 06, 2017, 12:00:36 am »
Quote from: free_electron on Today at 08:18:18 AM>Quote from: free_electron on May 02, 2017, 01:03:10 AM
it would require fixed pin mappings on the fpga and you would not be able to add your own logic. the bitstream is irellevant.
Yeah, we need Arduino model, where the interface remains the same between different development kits. Shields will be plugged in as required.
we do NOT need arduino model ! the beauty of an fpga is that you can assign any function to any pin !
i want to be able to add my own custom logic and map it to the pin i like the best ( because it makes my board layout simpler) if i need 25 pwm channels i can add those in the fpga.
for that purpose bitstreams don't work. i need the core package.

the best solution right now is cypress psoc.


If you can design your own board, there's nothing to discuss.
My point was for FPGA to have a chance to "thrive" in hobbyists' world, First, FPGA development kits have to have a "standard" interface, then people can have many choices of "shields".
Then, if it is difficult to setup hardware. FPGA development kit vendors should have pre-compiled bitfile with NIOS uC, timers, UART ... so that people who are familiar with uC can start straight away.

As rstofer pointed out, 8K logic is tiny. Can't do much with HDL code alone.
But its strength comes when you have uC running, and hobbyists can customize peripherals as required.

I have this kit http://www.alterawiki.com/wiki/BeMicro_Max_10 for US$30 and I loved it. Too bad it's discontinued.
With 8k Logic, I'm able to squeeze:
- 2 NIOS processors
- 1 SDRAM Controller
- 2 x 16kB on chip RAM for each processor. Without C++ support and full printf function, 16kB is kind of plenty. But there is SDRAM to use.
- 1 Timer that can be used for delay function
- 1 UART
- 1 Mutex for exclusive access to UART
- 1 custom IO module that supports Bidirectional and PWM. IO array can be changed from 1 to 31 by Generic settings
- 1 I2C master
- 1 ADC block to access MAX10 ADC Core
- System runs at 80MHz
- And I have 2000 LUT to spare.



Yes it'll be slower than the same-price ARM dev kit.
But I mean, this same board  can be used for lots of things for its flexibility.

So the whole point of this poll is to see why no one (in hobbyists world) cares about FPGA-based embedded system.

I agree that for the same price, you can have dev boards with pretty fancy processors










i love Melbourne
 

Offline james_s

  • Super Contributor
  • ***
  • Posts: 21611
  • Country: us
Re: [POLL] Do you find it hard to setup FPGA-based embedded system?
« Reply #22 on: May 06, 2017, 12:39:03 am »
There already are some Arduino-like FPGA boards such as the Papilio. They have their place, but the form factor is also quite limiting given the small number of IO pins. I've made a number of daughterboards that plug onto cheap Chinese FPGA boards and those work well. You can do a lot without any kind of standardized board though, all you need are header pins to which you can connect any sort of module you want. It's handy to have stuff like SRAM and/or ROM on the FPGA board itself since it uses a lot of pins and may need to be high speed but much can be external. The beauty of an FPGA is that you can use almost any pin for anything you want, and the HDL can be written relatively platform agnostic and easily modified to run on whatever hardware you're using. You just need a constraints file that maps the pins.
 

Online up8051

  • Frequent Contributor
  • **
  • Posts: 288
  • Country: pl
Re: [POLL] Do you find it hard to setup FPGA-based embedded system?
« Reply #23 on: May 06, 2017, 10:15:39 am »
Hi,
I bought "Future Electronics Creative Development Board " witch Microsemi SmartFusion2 (in promotion only 1 cent)

http://www.futureelectronics.com/en/Technologies/Product.aspx?ProductID=FUTUREM2SFEVBMICROSEMI8075272&IM=0
https://www.microsemi.com/products/fpga-soc/design-resources/dev-kits/smartfusion2/future-creative-board

I will try to  make my first project with FPGA SoC.
I have some experience with VHDL an Xilinx ISE but I think that FPGA SoC is rather very difficult to start.

Unfortunately "Future Electronics Creative Seminar Series" is not avaliable in Poland and Microsemi dosn't have own technical forum.
But Smartfusion2 looks interesting for me.

Regards,
up8051
 

Offline ebclr

  • Super Contributor
  • ***
  • Posts: 2328
  • Country: 00
Re: [POLL] Do you find it hard to setup FPGA-based embedded system?
« Reply #24 on: May 06, 2017, 11:05:15 am »
Check the tools quality and license terms , before wasting time and money on this board
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf