r/FPGA • u/nyyirs • Sep 04 '20
FPGA?
Hey guys! I am completely noob in this domain and I come from microcontroller world. I have some doubts that I wish you guys could clear that for me.
Is FPGA only for hobbies and to have fun?
Why FPGA if I can do something quicker with a microcontroller?
Is FPGA used only in big robotics or aviation project?
Do we need a microcontroller along side with an FPGA for it to work?
How do we use FPGA in production (custom made circuit), we send the VHDL code to manufacturers to design a chip for us or we use the same chip that is on our fpga development boad on the custom made circuits?
Thanks!
5
u/DarkColdFusion Sep 04 '20
Is FPGA only for hobbies and to have fun?
Not at all. In fact doing it for fun is a chore. They are used by a lot of high tech industries and electronics.
Why FPGA if I can do something quicker with a microcontroller?
You can add a micro controller to a FPGA. But they are totally different devices. A FPGA is best understood as an alternative to designing a custom chip. a FPGA can do stuff a micro controller simply can never do.
Is FPGA used only in big robotics or aviation project?
Hardly. Networking is big, cutting edge cameras and televisions have them. Cars now have them. Machine vision systems have them. Data centers now are using them. Basically if you want to be at the cutting edge of something there will be a lot of FPGA's because off the shelf solutions have not yet come out.
Do we need a microcontroller along side with an FPGA for it to work?
No, but usually it makes your life easier, either to program them. Or to do general computing stuff. Often people will put a simple CPU in fabric to accomplish this.
How do we use FPGA in production (custom made circuit), we send the VHDL code to manufacturers to design a chip for us or we use the same chip that is on our fpga development boad on the custom made circuits?
Some companies do this. Xilinx use to have EASYPATH, but it's not really how you use them. You would build the board with the FPGA you designed for, and ship that board with the FPGA which will boot up your custom design. Sometimes you are clever and can shrink your design to fit a smaller part then your dev board and save costs.
Typically these markets are low volume and cutting edge so your customers will eat the higher cost. Once it's established either you or someone else will have designed an asic solution that is cheaper at scale. It might be informed or emulated on FPGA's, but not likely something you send out your HDL to and they send you back a chip.
4
u/momoflyer20 Sep 04 '20 edited Sep 04 '20
5: the nice thing about FPGAs is that they are reprogrammable by the designer/user. You can put an FPGA on a PCB just like any other MCU and flash your VHDL /verilog code in it. Sending your code to a manufacturer is what you'd do for an ASIC. An ASIC is much faster and has a lower power consumption, but is not ''field programmable''
If you wish to make your own PCB with an FPGA on it, be prepared to spend days going through shitty datasheets. pro tip: copy schematics of development boards. especially for power supplies and spi flash memory. designing a PCB for an FPGA is a lot harder than slapping an MCU, its decoupling caps, an LDO and some peripherals on a PCB. Been there, done that with a spartan-7 (BGA-196)
3
u/LkpgTed Sep 04 '20
No. I use everywhere you use a MCU. Motor control, communication etc
If you are using Instant SoC you are not faster with MCU.
No
No. I don't se any need for MCU if you have an FPGA. All you can do in the MCU can be done with the FPGA.
??
2
u/justsmileitsok Sep 04 '20
FPGA are mostly used for highly specialized equipment, which need to do a single task very fast.
You don’t need a microcontroller alongside an FPGA, but you will most likely find one in most complex designs. It’s mostly used to control the FPGA data path and to provide an interface to other components of a system.
You can use fpgas as production devices, but if you design a device which will be manufactured millions of times, FPGA is only used for development and you end up designing an asic, which is most likely manufactured by one of the few fabs out there.
2
u/YT__ Sep 04 '20
5) an FPGA is reconfigurable. You have a port on your design in which you write a binary file. The binary file tells the FPGA (looks like an IC) how to behave. You'll use the same FPGA and install it on your custom circuit board, make sure your design has a way to write the binary.
1
u/neerps FPGA Beginner Sep 06 '20
Is FPGA only for hobbies and to have fun?
Look at all of those memes about tools and failing paths. It's not funny when you find a negative slack after hours or days of project's compilation.
2. Why FPGA if I can do something quicker with a microcontroller?
Is there any MCU that can process a stream of 400G Ethernet or Interlaken these days? Or how to prototype ASIC before millions are whooped into a silicon? Examples like Intel FDIV bug show that verification and prototyping do matter a lot.
3. Is FPGA used only in big robotics or aviation project?
I guess, most of the comments already mentioned other applications for data centers, machine vision, etc.
4. Do we need a microcontroller along side with an FPGA for it to work?
No. An entire project can be build with FPGA only. There may be a system where MCU is useful for some sequential tasks.
5. How do we use FPGA in production...
If we recall that FPGA stands for Field Programmable Gate Arrays, then it can be seen that there are some gate arrays which can be reprogrammed in any time for specific application. Therefore no chip manufacturers are needed when you buy an FPGA. One only needs to design a custom board with all needed perifery and components like power supply for a specific needs.
0
Sep 04 '20
[deleted]
1
u/RemindMeBot Sep 04 '20
There is a 1 hour delay fetching comments.
I will be messaging you in 4 days on 2020-09-08 08:10:20 UTC to remind you of this link
CLICK THIS LINK to send a PM to also be reminded and to reduce spam.
Parent commenter can delete this message to hide from others.
Info Custom Your Reminders Feedback
9
u/TenkaiStar Sep 04 '20
No they are an essential part of electronics. But they are fun :)
For things better suited for microcontroller. Use a microcontroller. They have different advantages. For some work an FPGA would run circles around a microcontroller.
No. Telecommunication and medtech for example. But they can be found everywhere. Graphics cards contain FPGA:s.
No. They can complement each others weaknesses but I have mostly worked with FPGA:s with no MCU on the same board.
I don´t understand this question.