Author Topic: Is FPGA + SoC the 'way of the future'  (Read 3496 times)

0 Members and 1 Guest are viewing this topic.

Offline mrpacketheadTopic starter

  • Super Contributor
  • ***
  • Posts: 2845
  • Country: nz
  • D Size Cell
Is FPGA + SoC the 'way of the future'
« on: October 29, 2018, 02:10:43 am »

While trying to research an IP stack to run on Microblaze ( FreeRTOS+TCP vs LWip ) it was suggested that 'the way of the future' is to use a FPGA/SOC ( such as a Zync ).
Even the entry level Zync has a considerable price penatly over a Artic7 or Spartan7, so if you dot' need big performacne is this really still the case?



https://forums.xilinx.com/t5/Embedded-Processor-System-Design/LWIP-vs-FreeRTOS-TCP-IP/m-p/903973#M42418
On a quest to find increasingly complicated ways to blink things
 

Offline Bassman59

  • Super Contributor
  • ***
  • Posts: 2501
  • Country: us
  • Yes, I do this for a living
Re: Is FPGA + SoC the 'way of the future'
« Reply #1 on: October 29, 2018, 03:05:35 am »

While trying to research an IP stack to run on Microblaze ( FreeRTOS+TCP vs LWip ) it was suggested that 'the way of the future' is to use a FPGA/SOC ( such as a Zync ).
Even the entry level Zync has a considerable price penatly over a Artic7 or Spartan7, so if you dot' need big performacne is this really still the case?

I suppose it all depends on the application, and how much FPGA you need against how much CPU you need.
 

Offline NorthGuy

  • Super Contributor
  • ***
  • Posts: 3149
  • Country: ca
Re: Is FPGA + SoC the 'way of the future'
« Reply #2 on: October 29, 2018, 03:58:48 am »
I don't think the price difference between Zynqs and comparable Artix'es is that big. But, there are no really small Zynqs and Zynq's PS uses lots of pins.

If you buy more fabric you can run multiple Microblazes. This uses more resources, but it's much better than RTOS.

If you need lots of parallel things, may be it's better done directly in fabric. All depends on your needs.
 

Offline mrpacketheadTopic starter

  • Super Contributor
  • ***
  • Posts: 2845
  • Country: nz
  • D Size Cell
Re: Is FPGA + SoC the 'way of the future'
« Reply #3 on: October 29, 2018, 04:29:49 am »
lots of design considerations for an architecture!
On a quest to find increasingly complicated ways to blink things
 

Online EugenioN

  • Contributor
  • Posts: 30
Re: Is FPGA + SoC the 'way of the future'
« Reply #4 on: November 02, 2018, 06:18:07 pm »

While trying to research an IP stack to run on Microblaze ( FreeRTOS+TCP vs LWip ) it was suggested that 'the way of the future' is to use a FPGA/SOC ( such as a Zync ).
Even the entry level Zync has a considerable price penatly over a Artic7 or Spartan7, so if you dot' need big performacne is this really still the case?



https://forums.xilinx.com/t5/Embedded-Processor-System-Design/LWIP-vs-FreeRTOS-TCP-IP/m-p/903973#M42418
Some blend of SoC will be the future, for seriuos/industrial devices. No use in wasting time routing a bus from fpga to a cpu, and wasting space in pcb.

My question is: altera or xilinx?
Arm cores are the same, fpga fabric are (at a glance) the same. Developement tools are flavored Eclipse for both vendors.

I would say that Xilinx is a more common option, because discussions in forums always contains the word "zinq", and never "soc by altera". But this could also mean that xilinx has a poorer (professional) support or is more difficult to setup, so engineers need to ask to the general internet. May be just Xilinx named their soc with a fancy name, and Altera didn't.

Any experience?


Inviato dal mio ASUS_Z00AD utilizzando Tapatalk

 

Offline awallin

  • Frequent Contributor
  • **
  • Posts: 694
Re: Is FPGA + SoC the 'way of the future'
« Reply #5 on: November 03, 2018, 11:48:08 am »
can anyone comment on experiences with the arduino that combines uC with FPGA:
https://store.arduino.cc/arduino-vidor-4000
the FPGA looks like Intel Cyclone 10CL016

is that a viable starting platform for learning things before trying to learn a zynq-board??
 

Offline CM800

  • Frequent Contributor
  • **
  • Posts: 882
  • Country: 00
Re: Is FPGA + SoC the 'way of the future'
« Reply #6 on: November 04, 2018, 12:30:53 am »
can anyone comment on experiences with the arduino that combines uC with FPGA:
https://store.arduino.cc/arduino-vidor-4000
the FPGA looks like Intel Cyclone 10CL016

is that a viable starting platform for learning things before trying to learn a zynq-board??


IMHO that thing looks like a trainwreck.

it's basically an arduino with an FPGA that it can talk to, to do very specific things.

It looks quite limited in it's functionality.

I'd suggest getting an UPDuino and an Arduino or STM32, experiment with them together (SPI bus between the two)

 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 14596
  • Country: fr
Re: Is FPGA + SoC the 'way of the future'
« Reply #7 on: November 04, 2018, 01:57:06 am »
I'd suggest getting an UPDuino and an Arduino or STM32, experiment with them together (SPI bus between the two)

+1. Or any kind of FPGA dev board connected to any kind of MCU dev board.

Unless you're really targetting an end-product or need a very high-performance bus between the MCU and the FPGA, using a SOC for learning FPGA+MCU interactions makes little sense IMO. You'll learn a lot more using separate boards and tools, especially if you're still learning.
 

Offline mrpacketheadTopic starter

  • Super Contributor
  • ***
  • Posts: 2845
  • Country: nz
  • D Size Cell
Re: Is FPGA + SoC the 'way of the future'
« Reply #8 on: November 04, 2018, 03:10:07 am »
I'd suggest getting an UPDuino and an Arduino or STM32, experiment with them together (SPI bus between the two)

+1. Or any kind of FPGA dev board connected to any kind of MCU dev board.

Unless you're really targetting an end-product or need a very high-performance bus between the MCU and the FPGA, using a SOC for learning FPGA+MCU interactions makes little sense IMO. You'll learn a lot more using separate boards and tools, especially if you're still learning.

For what i'm doign, microblaze looks like it will more than cope with the processing.
On a quest to find increasingly complicated ways to blink things
 

Offline CM800

  • Frequent Contributor
  • **
  • Posts: 882
  • Country: 00
Re: Is FPGA + SoC the 'way of the future'
« Reply #9 on: November 04, 2018, 11:10:13 am »
I'd suggest getting an UPDuino and an Arduino or STM32, experiment with them together (SPI bus between the two)

+1. Or any kind of FPGA dev board connected to any kind of MCU dev board.

Unless you're really targetting an end-product or need a very high-performance bus between the MCU and the FPGA, using a SOC for learning FPGA+MCU interactions makes little sense IMO. You'll learn a lot more using separate boards and tools, especially if you're still learning.

For what i'm doign, microblaze looks like it will more than cope with the processing.


This may or may not matter to you:

Icestorm takes literally seconds to compile and upload to your FPGA, even from a Linux VM like how I run it. Many of the toolchains from Xilinx and Altera are sweet-fucking-jezus slow. Multiple minutes to compile.
This makes it a lot easier to learn to code when you can fix errors / mistakes and try different ideas without the overhanging "Once I click compile I have to twiddle my thumbs for 10 minutes... and then it may not work."
 

Offline filssavi

  • Frequent Contributor
  • **
  • Posts: 433
Re: Is FPGA + SoC the 'way of the future'
« Reply #10 on: November 04, 2018, 11:22:55 am »
I'd suggest getting an UPDuino and an Arduino or STM32, experiment with them together (SPI bus between the two)

+1. Or any kind of FPGA dev board connected to any kind of MCU dev board.

Unless you're really targetting an end-product or need a very high-performance bus between the MCU and the FPGA, using a SOC for learning FPGA+MCU interactions makes little sense IMO. You'll learn a lot more using separate boards and tools, especially if you're still learning.

For what i'm doign, microblaze looks like it will more than cope with the processing.


This may or may not matter to you:

Icestorm takes literally seconds to compile and upload to your FPGA, even from a Linux VM like how I run it. Many of the toolchains from Xilinx and Altera are sweet-fucking-jezus slow. Multiple minutes to compile.
This makes it a lot easier to learn to code when you can fix errors / mistakes and try different ideas without the overhanging "Once I click compile I have to twiddle my thumbs for 10 minutes... and then it may not work."

Ice storm takes seconds if your code is obvious and small enough to easily fit in the fpga of choice (read no appreciable routing congestion present) violate one of the two assumptions and the tool will be as slow as vivado, quartus etc

10 minutes is also not very much at all. Doing place and route on box projects (I’m talking 100k to 1M Gates/logic blocks, so no lattice parts since they are far too small) can take multiple hours, even a full night

This is because place and route is a NP hard problem whose complexity grows exponentially (quite similar to The travelling salesman problem)
 

Offline NorthGuy

  • Super Contributor
  • ***
  • Posts: 3149
  • Country: ca
Re: Is FPGA + SoC the 'way of the future'
« Reply #11 on: November 04, 2018, 02:40:40 pm »
This is because place and route is a NP hard problem whose complexity grows exponentially (quite similar to The travelling salesman problem)

FPGA project usually consists of autonomous modules which are sparsely connected together. Such modules can be worked on relatively independent of each other and processing can be put into different threads. Therefore the necessary synthesis/implementation time doesn't necessarily grow exponentially with the size of the project.

Vivado is slow because it is over-bloated.
 

Offline asmi

  • Super Contributor
  • ***
  • Posts: 2733
  • Country: ca
Re: Is FPGA + SoC the 'way of the future'
« Reply #12 on: November 04, 2018, 09:15:07 pm »
Vivado is slow because it is over-bloated.
And now you're going to provide a demonstration of your own tool that does it faster, right?

Offline asmi

  • Super Contributor
  • ***
  • Posts: 2733
  • Country: ca
Re: Is FPGA + SoC the 'way of the future'
« Reply #13 on: November 04, 2018, 09:18:50 pm »
This may or may not matter to you:

Icestorm takes literally seconds to compile and upload to your FPGA, even from a Linux VM like how I run it. Many of the toolchains from Xilinx and Altera are sweet-fucking-jezus slow. Multiple minutes to compile.
This makes it a lot easier to learn to code when you can fix errors / mistakes and try different ideas without the overhanging "Once I click compile I have to twiddle my thumbs for 10 minutes... and then it may not work."
It won't matter to him because it's irrelevant. If you have to run P&R often than you will need to learn how to use simulation tools. Once you do that you'll realize that P&R time doesn't really matter.
But even this is beside the point as the OP is obviously talking about C code for the Microblaze CPU, and it's compilation takes a second, and so is upload to the board as you don't need to reprogram FPGA to upload new code.
« Last Edit: November 05, 2018, 02:02:42 am by asmi »
 
The following users thanked this post: mrpackethead

Offline NorthGuy

  • Super Contributor
  • ***
  • Posts: 3149
  • Country: ca
Re: Is FPGA + SoC the 'way of the future'
« Reply #14 on: November 04, 2018, 09:37:53 pm »
Vivado is slow because it is over-bloated.
And now you're going to provide a demonstration of your own tool that does it faster, right?

I don't think anyone will. There's no demand for that.
 

Offline asmi

  • Super Contributor
  • ***
  • Posts: 2733
  • Country: ca
Re: Is FPGA + SoC the 'way of the future'
« Reply #15 on: November 06, 2018, 01:19:38 am »
I don't think anyone will. There's no demand for that.
Well then it's not bloated. Can't have it both ways.

Offline NorthGuy

  • Super Contributor
  • ***
  • Posts: 3149
  • Country: ca
Re: Is FPGA + SoC the 'way of the future'
« Reply #16 on: November 06, 2018, 05:49:42 am »
I don't think anyone will. There's no demand for that.
Well then it's not bloated. Can't have it both ways.

Why is that? Vivado performs relatively simple tasks, and it is nothing difficult in reverse-engineering bitstreams and developing efficient tools. But development takes time and money. Therefore, it is only possible if there is some demand. I don't understand why do you think that the lack of demand for such tools makes Vivado any less bloated.

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf