• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Electrical Engineering News and Products

Electronics Engineering Resources, Articles, Forums, Tear Down Videos and Technical Electronics How-To's

  • Products / Components
    • Analog ICs
    • Connectors
    • Microcontrollers
    • Power Electronics
    • Sensors
    • Test and Measurement
    • Wire / Cable
  • Applications
    • Automotive/Transportation
    • Industrial
    • IoT
    • Medical
    • Telecommunications
    • Wearables
    • Wireless
  • Resources
    • DesignFast
    • Digital Issues
    • Engineering Week
    • Oscilloscope Product Finder
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Women in Engineering
  • Videos
    • Teschler’s Teardown Videos
    • EE Videos and Interviews
  • Learning Center
    • EE Classrooms
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
    • FAQs
    • Ebooks / Tech Tips
  • EE Forums
    • EDABoard.com
    • Electro-Tech-Online.com
  • 5G

FAQ: MCU vs FPGA — What’s the diff?

December 16, 2016 By Aimee Kalnoskas

FPGAs are highly configurable, general purpose integrated circuits (ICs) filled with small programmable digital logic building blocks called “logic cells” (by Altera) or “logic elements” (by Xilinx). A custom IC, or Application Specific Integrated Circuit (ASIC), is very similar but with ASICs, a custom circuit design is set in silicon and is difficult to change after the fact (las

Figure 1: Concept for reconfigurable region in dynamic reconfiguration. Dynamically modify blocks of logic by downloading partial bit files while the remaining logic continues to operate without interruption. (Source: Dynamic Reconfiguration of Xilinx FPGAs, Patrick Lysaght, Xilinx presentation, )

ers can affect some changes in circuits on ICs after manufacture and before packaging, however.) ASICs offer hardware-based solutions and are the ultimate choice in custom hardware designs to achieve specific application goals.

FPGAs stand somewhere in between microcontrollers (MCUs) and ASICs in terms of versatility and capability. However, as FPGAs have decreased in price and have been combined with processors in the same platform, the lines are starting to blur between ASICs and FPGAs. FPGAs are less flexible to program than MCUs but offer an exactness in customization through hardware that is not possible with MCUs, such as customized hardware-acceleration for algorithms.

Some FPGAs are one-time programmable, but most FPGAs can be reconfigured or updated after deployment, to the point of being dynamically reconfigured in a computing application.[i] According to Xilinx, “Partial Reconfiguration is the ability to dynamically modify blocks of logic by downloading partial bit files while the remaining logic continues to operate without interruption.”[ii]

FPGAs can execute scores of computations with low latency. FPGA programming involves a steep learning curve. MCUs are easier to use in development as design iterations are tested. FPGAs must do more than just “recompile;” the FPGA must re-place and re-route with changes.

MCUs have greater portability of design than FPGAs. FPGAs most often employ fixed-point operations. FPGAs are capable of sophisticated, time-critical signal processing with strict throughput and low latency requirements because dedicated hardware and memory can ensure time guarantees.

FPGAs are now offered with processor cores for a hybrid approach. The learning curve with FPGAs is one of the greater barriers to developing with FPGAs. Unfamiliarity with FPGAs and programming them leads to a bias towards solving problems with an MCU. Nevertheless, FPGAs cannot be avoided applications with stringent computational and memory requirements, such as imaging or with applications that require a high level of determinism, with extremely fast throughput and low latency.

Table 1: Some fundamental differences between FPGAs and MCUs.

MCU FPGA
Learning Curve Learning curve with some cross-over in tools (e.g. the ever more widespread Eclipse IDE, shared languages). Steeper learning curve
Fixed/Floating point operations available Fixed and floating point are widely available. Mostly fixed point. Difficult to accommodate floating point.
Time-critical processing Depends on requirements as to whether the MCU can accommodate. Limited reach. Capable of sophisticated, time-critical signal processing with strict throughput and low latency requirements.
Portable design Easier to port designs between MCUs with C/C++ language. No universal design method that is portable.
Total Flexibility Reprogramming software only. Superior in software and hardware flexibility in customization. Dynamic reconfiguration is possible.
Development Angst Code changes can often be added after compilation like a patch, without re-compiling, for a facile development process. Development iterations take longer with re-placing and rerouting required of FPGAs in the development process.
Tools Open source tools increasingly make the development process portable across platforms. No portability across tools. Universal design methods are non-existent.

 

[i] Pellerin, David, and Scott Thibault. Practical FPGA programming in C. Upper Saddle River, NJ: Prentice Hall Professional Technical Reference, 2005. Print.

[ii] “Partial Reconfiguration in the Vivado Design Suite.” Partial Reconfiguration in the Vivado Design Suite. N.p., n.d. Web. 18 Dec. 2016.

The post FAQ: MCU vs FPGA — What’s the diff? appeared first on Microcontroller Tips.

DesignFast Banner version: 05fffda6

Filed Under: FAQ, Featured, FPGA, Microcontroller Tips Tagged With: basics, FAQ, xilinx

Primary Sidebar

EE Training Center Classrooms

EE Classrooms

Featured Resources

  • EE World Online Learning Center
  • CUI Devices – CUI Insights Blog
  • EE Classroom: Power Delivery
  • EE Classroom: Building Automation
  • EE Classroom: Aerospace & Defense
  • EE Classroom: Grid Infrastructure
Search Millions of Parts from Thousands of Suppliers.

Search Now!
design fast globle

R&D World Podcasts

R&D 100 Episode 7
See More >

Current Digital Issue

April 2022 Special Edition: Internet of Things Handbook

How to turn off a smart meter the hard way Potential cyber attacks have a lot of people worried thanks to the recent conflict in Ukraine. So it might be appropriate to review what happened when cybersecurity fi rm FireEye’s Mandiant team demonstrated how to infiltrate the network of a North American utility. During this…

Digital Edition Back Issues

Sponsored Content

Positioning in 5G NR – A look at the technology and related test aspects

Radar, NFC, UV Sensors, and Weather Kits are Some of the New RAKwireless Products for IoT

5G Connectors: Enabling the global 5G vision

Control EMI with I-PEX ZenShield™ Connectors

Speed-up time-to-tapeout with the Aprisa digital place-and-route system and Solido Characterization Suite

Siemens Analogue IC Design Simulation Flow

More Sponsored Content >>

RSS Current EDABoard.com discussions

  • Help with Verilog replicate operator
  • ESP Serial Communication Problem with RS232
  • How to mark layer comments in CAP of spef file using StarRC
  • MAX5389 resetting by noise
  • Simulation of resonator in HFSS

RSS Current Electro-Tech-Online.com Discussions

  • Will Header and socket hold this PCB OK?
  • Relaxation oscillator with neon or...
  • software PWM
  • MPlab8 remove page breaks in list file
  • ATOM Diy module

Oscilloscopes Product Finder

Footer

EE World Online

EE WORLD ONLINE NETWORK

  • 5G Technology World
  • Analog IC Tips
  • Battery Power Tips
  • Connector Tips
  • DesignFast
  • EDABoard Forums
  • Electro-Tech-Online Forums
  • Engineer's Garage
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • Wire & Cable Tips

EE WORLD ONLINE

  • Subscribe to our newsletter
  • Lee's teardown videos
  • Advertise with us
  • Contact us
  • About Us
Follow us on TwitterAdd us on FacebookConnect with us on LinkedIn Follow us on YouTube Add us on Instagram

Copyright © 2022 · WTWH Media LLC and its licensors. All rights reserved.
The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media.

Privacy Policy