EEVblog #635 - FPGA's Vs Microcontrollers

  Рет қаралды 255,683

EEVblog

10 жыл бұрын

How easy are FPGA's to hook up and use use compared to traditional microcontrollers?
A brief explanation of why FPGA are a lot more complicated to setup and get working than microcontrollers.
A short video linking to several other FGPA videos.
NOTE: This is very old footage that was meant to be part of a series of videos on trying out some FPGA demo boards. It's been sitting around for too long, so I'm uploading all the footage I have now.
What is an FPGA: kzfaq.info/get/bejne/nbuje9qambOYqHk.html
FPGA Implementation Tutorial: kzfaq.info/get/bejne/bad2esZy3rGbm3k.html
What is JTAG: kzfaq.info/get/bejne/itKHn6-WqJumhac.html
FPGA Demo Boards: kzfaq.info/get/bejne/jsCgjMmenNCzpGw.html
Forum: www.eevblog.com/forum/blog/eevblog-635-fpga%27s-vs-microcontrollers/
EEVblog Main Web Site:
www.eevblog.com
EEVblog Amazon Store:
astore.amazon.com/eevblogstore-20
Donations:
www.eevblog.com/donations/
Projects:
www.eevblog.com/projects/
Electronics Info Wiki:
www.eevblog.com/wiki/

Пікірлер: 145
@fieryfirevivin
@fieryfirevivin 7 жыл бұрын
I have come to accept that Bob's my uncle now.
@robertturner4913
@robertturner4913 4 жыл бұрын
And... Dave really does have an Uncle Bob :)
@PerryCodes
@PerryCodes 4 жыл бұрын
Me too!
@imabeapirate
@imabeapirate 7 жыл бұрын
PIC: I'm consistently the same all the time. FPGA: Who am I going to be next time I wake up?
@tombola9445
@tombola9445 Жыл бұрын
As an FPGA Engineer, I have had these difficulties whilst learning how to get going with the tech. However these devices are not intended to be hobby friendly, they are for specific applications and recently are becoming more popular due to the concurrent nature of the tech, also because you can design pretty much anything digital in these devices they are great for recreating obsolete protocols. But yes the tool chain and documentation is a pain especially for xilinx (but hey its free unless you want a paid core). I'd encourage people to get involved with them though, as there is a world wide shortage of engineers who can use them, and generally it's a well paid job with good job security.
@Dazza_Doo
@Dazza_Doo 9 ай бұрын
I've heard about these before. I've obviously this a 10-year-old video and a lot has changed, as it does. With TinyFPGA Boards and IceStudio - I think there is hope in this field on educating others about such hardware.
@233kosta
@233kosta 7 ай бұрын
FPGAs are next level! My beginner kit should show up in a week or so and I'm giddy af already 😁 Maybe in a year or two I'll be ready to join the field professionally.
@tohopes
@tohopes 7 жыл бұрын
I like the diagram of an FPGA controlling a single LED on the side.
@tohopes
@tohopes 7 жыл бұрын
Would make a good ironic t-shirt.
@admsamir467
@admsamir467 2 жыл бұрын
@@tohopes مننمج
@ocayaro
@ocayaro 10 жыл бұрын
FPGA = speed (up to 250 MHz), can emulate embedded cores (e.g. MicroBlaze MCS), multiple-clock generators, parallel execution, ease of intellectual property integration such as FIFOs, DSPs, you name it. *_The moral? FPGAs for the serious electronics person_*. I battled with learning Xilinx for six months, cursing every step of the way. Almost went NUTS but in the end, it is worth every bit of headache I got.
@deltaxcd
@deltaxcd 9 жыл бұрын
yes you are right: Problems with fpga use is not because they lack something but because projects that require FPGA are in several orders of magnitude more complex than those who only require microcontroller.
@litao2556
@litao2556 5 жыл бұрын
👍
@burgerking220
@burgerking220 4 жыл бұрын
What was the result?
@sky44david
@sky44david Жыл бұрын
Your energy and the clarity of this presentation is stellar! The insight into attempting to experiment with a BGA package (as if the Quad Flat Pack was not difficult enough) is so "right on".
@philipacovington
@philipacovington 2 жыл бұрын
FPGAs are really great for those interesting in retro-computing or learning how a CPU works. I am implementing Ben Eater's 8-bit computer in an FPGA in a series of videos on my channel for anyone interested. Very cool stuff!
@233kosta
@233kosta 7 ай бұрын
Please tell me you named the series "From breadboard to FPGA"
@myozone
@myozone 10 жыл бұрын
Getting flash with the four screen end selection - well done !
@tHaH4x0r
@tHaH4x0r 10 жыл бұрын
This is all assuming that you would be using an FPGA to replace a uC, whilst they are completly different things designed for different applications.
@xFuaZe
@xFuaZe 9 жыл бұрын
tHaH4x0r This.
@oriole8789
@oriole8789 9 жыл бұрын
FPGAs are harder to use than microcontrollers, but I don't consider FPGA hookups complicated. Same with the multiple voltage sources. If you're messing with FPGAs, surely you can build basic voltage reg circuits. It's not for beginners, true - however the applications aren't for beginners either. FPGAs can do some seriously hardcore stuff that AVR's can't dream about, but it's primarily about the numbers of IO's and total system performance. Obviously they're going to use BGA packages - you need the IOs. A beginner doesn't need 1000 IO's that need to be processed in realtime and in parallel, because beginners aren't trying to create radar guidance systems and the like. ;) Just to kind of throw some basics here though, this is what you can do with FPGAs which is impossible with microcontrollers: -Multiple clock domains (different parts of the chip running at different frequencies) -Multiple internal PLLs/DLLs - even a cheap FPGA can be a fantastic multiple clock source. Need 50 completely different clock outputs? No prob at all. Most inexpensive FPGAs can produce ~500MHz clock outputs as a maximum, unless you use a transciever as a clock output haha. If you want very low frequency clocks, just divide them down with user logic. PLLs are extremely easy to make/use - from starting up Altera's Quartus to having multiple clock outputs ready to go on a dev board - maybe 3-4 minutes? No coding even necessary. Don't be misled though! FPGAs are still huge time vampires for more general cases haha. :D -Massively parallel processing - you can have individual circuits for processing each pixel/pixel group simultaneously for realtime/high framerate image processing.. whether it's convolution or other kinds of deep frame analysis like doing gradient analysis on frame stacks for vector motion estimation, general matrix operations etc -Perfect for things like singular value decomposition or tensor analysis on multiple data lines for statistics/engineering/networking work.. I mean FPGAs are the #1 most used chip type for let's say deep packet network inspection hardware (Hi NSA!!).. -FPGAs are fantastic "bridge" chips, in being able to allow realtime communication between completely different bus types. They can both buffer and restructure the bus to allow them to freely communicate. If you need to wire unusual data buses together, FPGAs can handle that better than anything else out there. At most, you'll just need some level shifter chips if the bus voltages aren't compatible with your FPGA. -Transcievers!! FPGA transcievers are basically parallel to serial converters which are a "hard fabric" in a sense that they're pre-built onto the chips, and they can give you datarates of ~600Mbps to 20Gbps+ per pin. They're fully configurable and it's even possible to use them for low datarate stuff if you cheat a little. Even some inexpensive FPGAs can do 10Gbps+ throughput per chip. -You can interface many FPGAs (almost) directly with the PCIe bus for true modular hardware acceleration for various APIs. The PCIe bus is full of its own complications but there are dev kits that handle all that for you if your body isn't ready lol. One of the issues is that the PCIe bus needs a very fast response from any board that's plugged into it upon computer bootup.. and the FPGA programming time often exceeds that, but you can dedicate other controller chips for this job... -It's not hard to interface multiple FPGAs together for more power. This is very common for specialized applications where you need to achieve particular specifications, and no other hardware can provide it for you. You can keep shoving FPGAs into your design until it works. Horrible price/performance ratio but it will accomplish the goal when nothing else will! This is very common but rarely seen. -FPGAs are fantastic learning tools since you're the one who will need to build data buses to communicate with any other chips you'd like your FPGA to talk to.. which involves understanding the data and timing structure of those other chips. This kind of knowledge and experience is invaluable for hardware engineers.. but hey it's not supposed to be easy, you know? However, computer hardware gets much more complex than this and you can't let every little thing intimidate you. Take your time, just be persistent. Giving up should not be an option if this is what you set your goal to. Once you get the hang of it, it won't seem all that impossible, just challenging in a fun way. To avoid being overwhelmed, just start with an inexpensive dev kit until you're comfortable with the basics and then try your own designs. I will shut up now. Sorry but I love FPGAs.
@jbrookley
@jbrookley Жыл бұрын
This is a great, very detailed description of the many uses of FPGA 's! Thanks for this!
@onjofilms
@onjofilms 10 жыл бұрын
I'm still trying to learn how to use my Abacus.
@imabeapirate
@imabeapirate 7 жыл бұрын
I had to look up what that is... silly millennials...
@rendayigit
@rendayigit 6 жыл бұрын
good one
@jamesgoacher1606
@jamesgoacher1606 3 жыл бұрын
Lots of years ago I saw an article on using an EPROM (yes one of those ) as a logic controller. Vauguely from memory there was a step ticker which stepped through the EPROM addresses and the output pins were serviced. I cannot recall how inputs were handled but the system simply stepped through the EPROM addresses and the burnt status presented to the outputs. A sort of Truth Table. Sorry to be vaugue, it is 30 yrs ago in Z80 days and 2708/2716 time.
@russdill
@russdill 10 жыл бұрын
SPI is by for the easiest configuration memory to deal with assuming you are already hooking JTAG into the FPGA. To flash the SPI, the tool loads a special bitstream onto the FPGA that is used to program the SPI flash from the FPGA. But yes, its a pain, if you screw up the program select pins, or the voltages, or the pullup/pulldown, etc, etc, etc., it won't work, and it won't be clear why.
@GreatScottByJoe
@GreatScottByJoe 5 жыл бұрын
This is the kind of teaching I like... subbed !
@robertturner4913
@robertturner4913 4 жыл бұрын
I love FPGAs - can't argue with the complexity though - I use bi-directional bus switches to handle voltage level conversion (the commonly used mosfet level translator affects rise and fall times which can be significant in some designs). An EEPROM eliminates the need to reprogram it after cycling power and there are Non-Volatile FPGAs available. But yeah - if you can get the job done with an AVR, PIC, etcetera, I agree with Dave 100% that would be the way to go. I am about to watch ALL of his FPGA videos - Dave is a Dynamic personality with a beautiful method of presentation (i.e. Genius)
@YuGiOhJCJ
@YuGiOhJCJ 10 жыл бұрын
As the memory is volatile on the FPGA, you have added an external flash memory. But it solves only one of the problems you mentioned in the video. Have you found how to resolve the problem of the missing oscillator too?
@Robbinsffxi
@Robbinsffxi 3 жыл бұрын
The Intel/Altera Max 10 FPGA seems a bit easier than most FPGA's. It has internal Clock, internal Flash and internal SRAM. Intel also deliver dedicated power solution for easy implementation. It also Comes with ADC, and even optional NIOS ARM configuration. It also has support for Different types of RAM, PCIE, and Flash memory. It offers up to 50.000 Logic elements. Can do some cool stuff with this thing. Still micro controllers might be easier though. But it all comes down to the application you need it for I guess.
@mjidomaroc7483
@mjidomaroc7483 5 жыл бұрын
Dear Bob i love your videos. Fpga’s are superior products.i love them
@magnuswootton6181
@magnuswootton6181 3 жыл бұрын
everyone is buying development boards and Dave is here making his own.
@jgcertified
@jgcertified 10 жыл бұрын
I've got both FPGA dev kits and ARM dev boards.. I tend to stick to the ARM stuff as embedded is something I know, and I haven't learnt VHDL yet
@umaidimran
@umaidimran 10 жыл бұрын
Hi Dave, not sure if you know about FPGAs with processor cores embedded in them. A lot of embedded systems designers (like myself), that need custom RTL logic with a "simple" microcontroller can go for single chip FPGA solutions since it can do both.
@user-my6xn6jh8w
@user-my6xn6jh8w 8 ай бұрын
you can see M2S010 of microchip
@tomurkin5563
@tomurkin5563 3 жыл бұрын
Hi! Thanks for the video! Can you give an example of calculations/operations which are better suited for the MCU rather than the FPGA fabric in the modern SoC which have both? I have been designing controllers for DC/DC converters for quite some time now on FPGAs (and then ASICs) and have never felt i need an MCU. Would be happy to hear any thoughts on the matter
@macieksoft
@macieksoft 7 жыл бұрын
An outsider question. Can FPGA be programmed without JTAG by just programming flash chip directly with flash programmer?
@radoslavradoslavov3528
@radoslavradoslavov3528 7 жыл бұрын
Cheers for behind this!
@valiza123
@valiza123 10 жыл бұрын
Actually Lattice FPGA have internal oscillator and flash memory.
@FungSit
@FungSit 10 жыл бұрын
I would rather use an FPGA board and go through all the difficulty to program/map a simple function. Why? I get to learn all hardware works and how protocol is defined, but with micro-controller , you mostly use the existing library people wrote without needing to know how hardware works, that's not the spirit of electrical engineer. For example, who knows how a 16*2 hitach LCD actually works? Most of people just know how to use a command defined by others to display and scroll words...
@robertcalkjr.8325
@robertcalkjr.8325 10 жыл бұрын
I just started learning m/c's with an Arduino and do want to learn how everything works. This fpga stuff is way over my head.
@FungSit
@FungSit 10 жыл бұрын
Robert Calk Jr. Then I would recommend learning to write those functions yourself when you are fully familiar with the IDE and existing libraries. Microcontroller architecture is also interesting, I never mean to discourage anyone who's new to it. Just there's different ways of learning it, don't use the IDE and existing library, use assembly language if necessary. To begin with, it's okay to use existing functions, but getting dependent on those libraries isn't my way of doing electronics.
@FungSit
@FungSit 10 жыл бұрын
I don't claim that I know electronics until I can replicate those "black boxes" like 741 and 555. Using off-shelf product is quick and efficient, nice to get the job done and get praised by employers, but...that's not electronics. Who doesn't know how to look for pinouts and solder up based on the schematics of others? Designing amplifiers, oscillators, switches, and knowing all sorts of uses of capacitors, inductors, and diodes, knowing at least 100 transistor circuits and interesting circuits is the way to go to be design engineer, but not test engineer, I know I have a long way to go in this respect too. Anyways, this is a bit off-topic. 
@FungSit
@FungSit 10 жыл бұрын
Robert Calk Jr. I probably said something irrelevant, ignore it please. Knowing serial port on UNO board is a very good tool. I saw people hacking an optical mouse using the serial port to get the data. It's very useful still.
@robertcalkjr.8325
@robertcalkjr.8325 10 жыл бұрын
Yuji Naka I don't consider any tips irrelevant. I appreciate it. Instead of just pasting the library sketches in and going, I like to type them in and study why and how each line is used and try to learn the language.
@ChrisLeeX
@ChrisLeeX 8 жыл бұрын
"Bob's your uncle", love it!
@SE45CX
@SE45CX 8 жыл бұрын
+Chris Lee Yeah, how do you ever invent such a phrase?
@electronash
@electronash 7 жыл бұрын
It's originally a British saying. It's like saying "there you go, done and dusted.", or "that's sorted that out.". ;)
@stefanniedzielah1827
@stefanniedzielah1827 7 жыл бұрын
How did it evolve?
@philldavies7940
@philldavies7940 5 жыл бұрын
@@stefanniedzielah1827 Its a British idiom, we say "Bobs your uncle, fannys your aunt". Supposedly it originated from when Lord Sailisbury was the Prime Minister of the UK in the 1880's . Through nepotism, he promoted his nephew , Lord Balfour into successive government positions. Lord Salisburys real name was Robert Cecil, so Bob was Balfours uncle, the press had a field day, and "Bobs your uncle" came into common saying as to mean anything easy. The fanny bit is added for humour.
@abhijithanilkumar4959
@abhijithanilkumar4959 3 жыл бұрын
Time??
@lilianagonzalezarciniega3196
@lilianagonzalezarciniega3196 7 жыл бұрын
I have worked with Fpgas since 2 years ago, and I love to design my own system, I think that Fpgas are better than microcontrollers because you can understand how to work the hardware. You think like a machine. A simple example. If you need to divide 2 numbers using software programming like C/C++ you only need to write the symbol "/" by the way in a Fpga you need to understand how to operate the mathematical function to implement a Vhdl module which realize your operation. You need to generate your own code to your system can difference between a signed or unsigned number, number of bits, etc. format: fixed point or floating point. There's so many things that you need to consider, but the thing becomes more interesting :)
@Heroofutopia
@Heroofutopia 6 жыл бұрын
Abstraction was invented for a reason. Use of division operator is no crime although I understand your concerns.
@lowmax4431
@lowmax4431 4 жыл бұрын
Pro tip: don't even try to divide in an fpga, multiply by its fixed-point equivalent instead ;)
@sonicase
@sonicase 10 жыл бұрын
i have a little xula board, i read a how to for getting an led to blink, it was like 80 pages long and i had to go through it like 4 times before it worked i haven't gone back to it because i still feel like i have no idea how to use it
@ivanlam1304
@ivanlam1304 2 ай бұрын
Being an FPGA engineer is like the opposite of working at McDonald's, there is a high barrier to entry so they can command a high price. Surely businesses would want technology that doesn't depend on people in short supply, this is an economic problem that needs solving
@petercheung63
@petercheung63 8 жыл бұрын
Your video is completely awesome, thank you so much
@Fantasma25
@Fantasma25 10 жыл бұрын
I think the only difficult part of an FPGA is doing all the connections. After that it is just as easy as programming a micro, but with a totally different perspective on what you are doing and a totally different way of thinking.
@coolwinder
@coolwinder 10 жыл бұрын
I love your tshirt! :)
@EpicPCnerd94
@EpicPCnerd94 7 жыл бұрын
Most people here complaining about why use a FPGA didn't just use one and don't know the pros :/
@4CSmith
@4CSmith 10 жыл бұрын
"This is very old footage" - yeah the 5V devices kind of gave that away
@ubuntupokemoninc
@ubuntupokemoninc 6 жыл бұрын
can you do a video on DSPs?
@Kezat
@Kezat 10 жыл бұрын
Who are you and what did you do with Dave, a "Quick" video under 10 min? :)
@redtails
@redtails 10 жыл бұрын
2:48 well this is the whole reason that CPLDs exist
@mschiller3
@mschiller3 6 жыл бұрын
Many FPGAs actually do have Internal Oscillators. They aren't "trimmed" so the frequency can change over a wide range say like 50-80 MHz. The FPGA hard-logic uses it to self-program via SPI flash and the like. On Xilinx FPGAs checkout the Startup IP block: www.xilinx.com/support/documentation/user_guides/ug470_7Series_Config.pdf - StartupE2 primitive on page 95... But as you mention you'll need a flash chip or a programming cable or something to make it all work..
@mschiller3
@mschiller3 6 жыл бұрын
STARTUP_SPARTAN6 is the equivalent in your part...
@eni4ever
@eni4ever 10 жыл бұрын
Yet again, 10x for the video, Dave! There is something about FPGAs that I find mystical, even more ... magical. You cannot beat the feeling that when you're playing with such devices you are virtually a silicon God, being capable of (provided you have the time and patience) to accomplish ANYTHING (and I cannot emphasize this enough) in terms of electronic artifacts. This is the kind of feeling that I didn't get while working with normal MCUs, that's for sure. As Dave said, if you have the patience to go through all those tons of documentation materials that they imply, you can achieve wonderful things. But hey! All these capabilities/configurations/features have to appear somewhere, right? Otherwise, what good would they be if no one knew about them? But I guess this is also the reason why a lot of the people stay away from them in the first place. They can be intimidating, especially in the current WYSIWYG IDE ecosystem that we grew up with and are living on. Could be a matter of character, but if you have the curiosity yet still retain some doubt ... try them! What bad can it do? :)
@deltaxcd
@deltaxcd 9 жыл бұрын
Actually nowadays FPGAS are very niche devices, there are not so many things you can do with the that cannot be done with much cheaper microcontrollers typical FPGA has very little resources for building anything usable even when you use most expensive hips they are pathetic comparing to any half decent CPU
@hhputube
@hhputube 8 жыл бұрын
+deltaxcd FPGA is mostly widely used today, they are the core of all chip you see. FTDI, other customs digital circuit chip etc... FPGA(Field Programmable Gate Array) is very powerful, it is like a blank piece of paper and you can design any customs digital circuit on it and it is very fast. One example would be circuits that process graphics (NVIDIA chips are FPGA, yes they are). You can design your own little microcontroller as well and have your own instruction sets etc... Let say you came up with a better circuit to translate serial(RS232) to USB, much better and faster than the FTDI chip, you can design your circuit by coding/describing your circuit in VHDL or Verilog onto the FPGA and call that chip "Super FTDI" or something and sell it. That is what FPGA is for. Btw, I am speaking as an EE. Back in university, I mostly dealt with FPGA and very little with uC, I believe I had one class in uC which was the motorolla 6800 or something like that and coding them in assembly. Near the of my fourth year, they finally let us design an basic but working microcontroller similar to the 8051.
@deltaxcd
@deltaxcd 8 жыл бұрын
+hhputube Whule fpga is quite flexible, power is relative. because we have to compare power per price unit. and in this aspect FPGA is insanely expensive comparing to some SOC. if you check prices at digikey, defent FPGA START at 100$ and if you want something what can fit any decent design you will need FPGA which price is in the range of thousands dollars. I wonder how much will cost your superFTDI chip in comparison to some cheap alternative. I think you will need quite a moderate size low end FPGA to fit usb core so there is no way you can get away with price less than few $ and atemt to emulate functionality of NVIDIA GPU would bankrupt any millionaire. GPU is not fpga. Only use of FPGAs today are niche products with very low production volumes where it is not profitable to bother with ordering ASIC if product is popular enough you simply convert all your VHDL into specialized IC which price is only small fraction of FPGA
@c1ph3rpunk
@c1ph3rpunk 2 жыл бұрын
Ok, got it, massively complex, I’ll wait ‘til tomorrow to try.
@MohanRaj-pp6zz
@MohanRaj-pp6zz Жыл бұрын
super as always
@ChaitanyaDhareshwar
@ChaitanyaDhareshwar 5 жыл бұрын
FPGA for beginners = buy the kit or don't touch. Noted.
@griffgriffo9746
@griffgriffo9746 10 жыл бұрын
Hi...pyro electro,,are doing a course on CPLG,,using a altera chip on a breakout board..
@nayyerirbaz9408
@nayyerirbaz9408 5 жыл бұрын
I like your Ts hirt. How can i get the similar 1
@debihsofiane3229
@debihsofiane3229 2 жыл бұрын
Thank you
@meisam9592
@meisam9592 7 жыл бұрын
6:24 You lost me there man! I just watch EEVBlog for the sake of its comedy!
@petercheung63
@petercheung63 5 жыл бұрын
grear video, thanks
@xoox870
@xoox870 6 жыл бұрын
you described ROM-based devices such as Xilinx, but not other vendors such as flash based FPGAs or CPLDs such as Altera or Actel (now Microsemi) www.electronicproducts.com/Digital_ICs/Standard_and_Programmable_Logic/Comparing_flash_and_SRAM_based_FPGAs.aspx anyone that wants to learn should use a demo regardless of MCU/CPU, DSP, nad/or FPGA/CPLD !!
@kyoadam1593
@kyoadam1593 3 жыл бұрын
Is there any new update about fpga 2020?!
@Renanbmx123
@Renanbmx123 7 жыл бұрын
Nice T-shirt :D
@shivashankar28
@shivashankar28 5 жыл бұрын
I love FPGAs all the way :)
@phoenixlee3260
@phoenixlee3260 3 жыл бұрын
uncle Bob,love your video! where are u from,Scottish or Ireland ?
@kagemarukun
@kagemarukun 10 жыл бұрын
"The Blue Gene supercomputer must be so complex and have such a long Guide. And so big. Thank god I bought a Casio pocket calculator instead :D" This comparison is completely biased. Plus, I don't think there's a point in comparing those two, they're very different things. If you like HW design, you got to LOVE FPFA. In a PIC you put SW. For starters.
@annau7551
@annau7551 2 жыл бұрын
Your voice is amazing
@nosisabkenkeleh1159
@nosisabkenkeleh1159 10 жыл бұрын
Using FPGA as micro controller is just,,, awkward. The idea behind it is designing the chips themselves, including micro controllers.
@prixman300
@prixman300 8 жыл бұрын
My favorite controller is the Naional Instruments RoboRio, the one they use for the new seasons of FIRST Robotics, an impressive feature set, with common object oriented programming environments. Get one if you you have the chance.
@singhman1026
@singhman1026 4 жыл бұрын
Hi, gud one for hardware comparison but you should re-edit this one with additional info. Such as there working technique, spees etc.
@frankbucciantini388
@frankbucciantini388 4 жыл бұрын
*me, waking up out of the blue in the middle of the night, sweating* "What happened?" - I just had a terrible nightmare! "What was that about?" - I was configuring an FPGA!
@jonclarke5568
@jonclarke5568 10 жыл бұрын
This is SPARTAN (6)!!!!
@CrashPreinsertion
@CrashPreinsertion 6 жыл бұрын
5:50 use a demo kit FPGA is the upshot of all this.
@CEA9234
@CEA9234 Жыл бұрын
No mention of these AT ALL in university undergrad
@patronsoles892
@patronsoles892 2 жыл бұрын
Consuming a lot of your videos and this will bug me every day if I don't ask. Is Athleanx your brother?
@Razor2048
@Razor2048 10 жыл бұрын
I wonder, why cant they make a package that includes most of those passives built in so that people can just directly feed it a single power rail and then just worry about the data pins?
@sid6p8
@sid6p8 10 жыл бұрын
FPGAs are designed to work for pretty much every system imaginable and are therefore very flexible in terms of I/O voltages, clock sources, etc. The price for this flexibility is the effort you have to put into using them.
@theonlyari
@theonlyari 10 жыл бұрын
Many pins do have internal pull ups or pull downs, but not all of them. As my main man sid6p8 mentioned, they are designed to be flexible.
@theonlyari
@theonlyari 10 жыл бұрын
ungratefulmetalpansy Not even close. Good luck doing DSP or high speed data translation on a microcontroller. FPGAs have very specific jobs, just as microcontrollers or microprocessors do.
@puddingpimp
@puddingpimp 10 жыл бұрын
They do. Both Digilent (for Xilinx) and Terasic (for Altera) make FPGA dev boards that include VREGs, USB JTAG and flash. Digilent makes a few as PDIPs reminiscent of the BASIC stamp. Also Atmel make small, slow, FPGAs that run at 5V (AT40K) or have 5V tolerant IO (AT40KAL), as do Lattice and Microsemi (if I'm not mistaken). I don't really see the attraction of 5V logic as more and more devices are 3.3v or even 2.5v and logic buffers are cheap (~$0.50) and easy to use when you need to interface 5V logic.
@nagarajahuliyapuradamata3447
@nagarajahuliyapuradamata3447 3 жыл бұрын
No wonder! FPGA has not replaced microcontrollers!!
@bain5872
@bain5872 10 жыл бұрын
An eye opener to the digital age.... I do wonder how the youngsters would ever understand why analog was once a magical place where light bulbs ruled the world....? I just can't let go of the analog however, I do find digital so amazing......Uops... don't tell my ego! Thanks,... this vid has been most helpful and I have learned a great deal.
@josko7452
@josko7452 10 жыл бұрын
I wouldn't be as afraid to do it from scratch I practically managed to do my first HW design - Spartan 6 FPGA board and it worked on the first go, sure it's not ideal design but it works .. I designed the board from scratch in a course of 2 months in Eagle, not used any electronics CAD before, not designed any HW circuit or board before and this is result: github.com/josko7452/qwave-project - design working at 125MHz .. no problems ... of course I had experience using FPGAs as HDL programmer so that might helped a lot..
@FungSit
@FungSit 10 жыл бұрын
With FPGA, you need to define and declare signal, variable etc to actually program by yourself for the display to show or scroll words. A lot more flexible as well. The moon rover uses FPGA bit not a micro-controller.
@AldrinAlbano
@AldrinAlbano 2 жыл бұрын
FPGAs are "a pain in the @$$!" LoL!! That about sums it up. Thanks Dave!! :D
@lidarman2
@lidarman2 5 жыл бұрын
Good video but things are much better today in FPGA ease of use. If you need lightning fast, custom hardware FPGA is it. Most people won't need.
@bar10dr
@bar10dr 6 жыл бұрын
Why can't microcontrollers get the same speed as FPGA's?
@RaenYrtham
@RaenYrtham 6 жыл бұрын
FPGAs run tasks in parallel, they don't have to wait for a task to get completed, to do another one, while uC have CPUs and do have to wait, a task is only done when the previous one is completed.
@hhputube
@hhputube 8 жыл бұрын
Want to start in FPGA, do some digital circuit design, then learn VHDL or Verilog then get one of the Altera or Xilinx board and start coding your digital circuits... Basically you are just coding/describing your digital circuits in VHDL or Verilog. You can also design any kind of digital circuits on a FPGA or CPLD and even design your own microcontroller, of course you need to add all the extra memory and other goodies, but FPGA as I know from back in University days, most are used to design customs digital logic circuits although we did design a basic microcontroller with it.
@raykent3211
@raykent3211 8 жыл бұрын
+Iron Chief I reckon you've chosen a very good start point, assuming you chose one of the simplest arduinos, like the uno. You'll stay close enough to what the chip is doing to easily learn the connection through to other electronics, and the software development environment, short circuit protection, etc is a boon for beginners. I love my uno! It arrived in the post, I connected the usb cable to my pc, downloaded the dev environ, picked demo one and it worked. Can't get much easier than that.
@Jalae
@Jalae 10 жыл бұрын
sure fpgas have internal ocs! clk
@sid6p8
@sid6p8 10 жыл бұрын
Actually most FPGAs do have an internal oscillator, which is used for configuration. I think they're based on an RC-circuit and not a crystal and therefore very innacurate.
@QuantumFluxable
@QuantumFluxable 10 жыл бұрын
sid6p8 It doesn't matter anyway, oscillators are not that hard to build.
@theonlyari
@theonlyari 10 жыл бұрын
Mmmmm... precision oscillation... :)
@TomOtero1984
@TomOtero1984 4 жыл бұрын
In short: Micro Controller:
@jeremiahb7975
@jeremiahb7975 10 жыл бұрын
I use TI's cRIO. But the FPGA's are a complete pain in the ass to program because you have to use shitty LabView. I only use them because i'm already familiar with the product line because my robotics league uses them as the controller.
@lagman8908
@lagman8908 10 жыл бұрын
I still don't know how a FPGA is better than a PIC.
@YouCanHasAccount
@YouCanHasAccount 10 жыл бұрын
Signal processing power. In a PIC you can typically execute one instruction per clock cycle at best. In FPGA you can execute the equivalent of hundreds or even thousands of instructions per clock, while simultaneously reading data from the input pins and writing data to the output pins every clock. Also, the more expensive ones can operate at hundreds of MHz.
@lagman8908
@lagman8908 10 жыл бұрын
Thank you for the details.
@robertcalkjr.8325
@robertcalkjr.8325 10 жыл бұрын
YouCanHasAccount I don't know much about them, but what good are they if they are volatile? Won't you lose everything if your power get's cut for some reason?
@Z80Fan
@Z80Fan 10 жыл бұрын
Robert Calk Jr. That's why you need the external flash: when the FPGA boots up, it downloads its "program" from the flash and it configures itself.
@EEVblog
@EEVblog 10 жыл бұрын
Robert Calk Jr. Yes, but it will auto-reload from the flash when it boots up again.
@jonrc76
@jonrc76 6 жыл бұрын
FPGAs are really not necessarily that complicated, things has improved since 2014 off cause, especially if you use one of the non-volatile ones like the Altera(Intel) MAX10, which can be argued to be a CPLD and not a FPGA, but….
@masbro1901
@masbro1901 5 жыл бұрын
1:59 he expressing like he hate micro. lol
@someoneyoudontknow106
@someoneyoudontknow106 8 жыл бұрын
1:59 WASTED :-P
@dinithaw
@dinithaw 2 жыл бұрын
STM32 is my ultimate choice 😘 FPGAs are better but, don't try to replace microcontroller project with an FPGA!!!
@deltaxcd
@deltaxcd 9 жыл бұрын
This is all nonsense. None of those issues really exist: You can in fact just connect supply, jtag programmer and flash leds without using anything else, I did that with my first xilinx fpga, soldered on breadboard with nothing else than additional LED Even ancient FPGAs contain slow internal oscillators and modern fpgas even have several PLLs that run at any frequency you want. when you use jtag to program fpga configuration pins are pretty much irrelevant also fortunately it is not vital to connect all power pins. Yes it is true that configuration will be lost if you disconnect power supply but who need to retain some led flashing crap anyway? Real problem with fpga is pcb routing, since those things typically use 2 voltages and shitload of power pins that should be grounded and decoupled properly so it is practically impossible to use single sided pcb and even double sided pcb is at its limit. FPGAs are only useful at super high speed designs and when you do those you cannot route boards carelessly you typically need very expensive multilayer boards with no less than 4 layers for even most primitive design.
@thekaiser4333
@thekaiser4333 4 жыл бұрын
Well then, use a PIC.
@tessamccan9489
@tessamccan9489 7 жыл бұрын
The sky is falling ? Do you do anything ? Or you just say its too hard ? Lol
@NA12495
@NA12495 2 жыл бұрын
Maybe it is because I am not an FPGA expert, but I don't feel like you were comparing apples to apples here. From your discription of FPGAs, it seems like you were talking about the IC by it's self. An Arduino is not the ATmega 328p, it is a whole package. It includes the oscillator, the USB interface and more. So why not compare an Arduino to a FPGA development board? You have some great content, but this video like a lot others (that you create) has such a negative tone. Recognize the fact it is hard to get into FPGAs and unlike Arduino (which is open-source) FPGAs do not have a big community. But, that shouldn't stop a person, give some pointers on how to go about it. Remind people to start small.
@JoeCatshoee
@JoeCatshoee 10 жыл бұрын
They're really not *that* hard. Many do have an internal oscillator and if you're a beginner you're probably gonna start with a beginner/development board, which is gonna have everything you need to get started (flash, ram, i/o, etc..). As a beginner you're not gonna make your own FPGA based designs anyway. So I don't really consider the things you listed as deal breakers, they're just minor things. The advantages of FPGA's outweigh them anyway.
@HydeSladd
@HydeSladd 4 ай бұрын
this guy sounds tired of fpgas haha
@garrisongreenwood3144
@garrisongreenwood3144 11 ай бұрын
comparing an FPGA to a microcontroller is like comparing a dog to a cat. They are completely different devices intended for completely different things. The author clearly does not understand that. You can implement a microcontroller in the FPGA fabric. You cannot implement an FPGA in a microcontroller. This video is an example of someone putting together a video just so they can claim they uploaded a video to youtube.
@DoktorJeep
@DoktorJeep 5 жыл бұрын
I FINALLY got my USB Blaster drivers for my Cyclone II to work on Windows 10.
格斗裁判暴力执法!#fighting #shorts
00:15
武林之巅
Рет қаралды 75 МЛН
Omega Boy Past 3 #funny #viral #comedy
00:22
CRAZY GREAPA
Рет қаралды 18 МЛН
Индуктивность и дроссель.
1:00
Hi Dev! – Электроника
Рет қаралды 1,5 МЛН
Wow AirPods
0:17
ARGEN
Рет қаралды 1,2 МЛН
С Какой Высоты Разобьётся NOKIA3310 ?!😳
0:43
📱 SAMSUNG, ЧТО С ЛИЦОМ? 🤡
0:46
Яблочный Маньяк
Рет қаралды 1,7 МЛН
ПК с Авито за 3000р
0:58
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,3 МЛН