Control XBox 360, 3D Printers and MORE with FPGA's and CPLD's

Поделиться
HTML-код
  • Опубликовано: 28 окт 2024
  • WHAT are FPGA and CPLD devices, anyway?? Ben demonstrates how to get started with these devices that let you program logic.
    00:57 What ARE They??
    Ben describes what the devices are, and what they can do. And what is the difference between these are micro-computers?
    02:08 Getting Started with Quartus II
    Quartus II is not a planet from Star Trek, rather the tool you use you program a CPLD. Ben uses an example to show its use in VHDL.
    07:35 Do Androids Dream of Binary Sheep?
    Ben quickly explains binary math, then shows it physically working on the CPLD.
    10:40 Verilog Example
    Another popular language is Verilog. Ben demonstrates an example of this coding type.
    15:24 Dot Matrix Display
    A demonstration of The Longhorn Engineer's custom dot matrix display - a great example of when FPGA's are beter than embedded processors.
    Have something you want Ben to do?? Comment below!
    ~~~~~~~~~~~~~
    Like, Comment & Share This Video:
    • Control XBox 360, 3D P...
    Never miss and episode- Subscribe for free!:
    www.youtube.com...
    Watch more Ben Heck:
    www.revision3.c...
    Follow Ben on Twitter:
    / benheck
    Like The Ben Heck Show on Facebook:
    / benheckshow
    ABOUT THE BEN HECK SHOW
    Join master hacker, engineer, and conjurer of cool mods Ben Heck as he tackles a new project every other week. Submit YOUR idea for what Ben should build next at BenHeck@Revision3.com.

Комментарии • 123

  • @beatlespennylane19
    @beatlespennylane19 9 лет назад +1

    you are better at teaching than my actual teacher. thank you

  • @IntertubeNinja
    @IntertubeNinja 13 лет назад

    I understood none of it, but watched the whole video and damn well enjoyed it. Love the show!

  • @ThereminHero
    @ThereminHero 11 лет назад +1

    This was exactly at the right level for me. Learned a bunch!

  • @Epyon3001
    @Epyon3001 13 лет назад

    Awesome! Loved the intro into the details behind FPGAs.....we use them for logging multiple lines of acceleration data! Great Video as always :)

  • @GateCrasherVI
    @GateCrasherVI 10 лет назад +17

    Famous last words of so many coders. 00:13:50
    "Alright, lets see if this compiles..."
    Often followed by...."SON OF A >>>OMG WHAT NOW!?"

    • @Whatsthegeek
      @Whatsthegeek 7 лет назад +2

      probably the allmighty missing ';'

  • @Wolf-427
    @Wolf-427 13 лет назад

    This video pretty much just flew over my head.

  • @mrdavidrees
    @mrdavidrees 13 лет назад

    My uncle didn't teach me how to do it in code, compile it and then shows you the layout of the components, he just taught me how to do layout of components straight.

  • @joesmoe71
    @joesmoe71 12 лет назад +1

    I collect coin operated video games so I ought to take a crack at learning this, there's a lot of chips that are older than dirt they use and are next to impossible to get, it would be awesome to come up with some substitutes or even repro who game boards.

  • @jefftheusch3071
    @jefftheusch3071 9 лет назад +1

    Minor correction: 8 bits can only represent -128 to +127 (in 2's complement)
    But thanks for the show... I feel that FPGAs are underutilized for many applications, including hobby projects... and they are getting cheaper, faster, and bigger!

    • @danielpedroso4311
      @danielpedroso4311 8 лет назад

      +Jeff Theusch Depends on whether you're using a signed or unsigned value.
      8 bits can be used to store 0 to +255 (unsigned int8) or -128 to +127 (signed int8) - and that's due to the fact that you "lose" 1 bit to represent the signal.

    • @TheBilly
      @TheBilly 7 лет назад +2

      Daniel, watch the video around 14 minutes. The annoying little tip on the bottom says signed values can be -128 to positive 128. There is no way to represent 257 unique values in 8 bits, no "ifs" about it

  • @geekinginandout
    @geekinginandout 8 лет назад

    thanks ben heck for the missed days that i had when i was a failed ee student

  • @MegaManBn
    @MegaManBn 12 лет назад

    you are much better than my teacher. he teach i didn't know anything.

  • @adrenalinem4n
    @adrenalinem4n 12 лет назад

    Yes People please Read from your powerpoints.. those are my favorite presentations

  • @Mountain-Man-3000
    @Mountain-Man-3000 12 лет назад

    This video brings back fond memories from college. :)

  • @legokidnaruto
    @legokidnaruto 12 лет назад +1

    Hey ben! I'm pretty good in electronics but a noob with FPGAs and i got a question for you. I was wondering how do you know how many logic gates you need in your design?

  • @theslvrbullt
    @theslvrbullt 10 лет назад

    Oh jeez, I remember using FPGAs in college. So much fun to code, but it's been a while...

  • @haz939
    @haz939 11 лет назад

    Very interesting, will have to watch it a few time for it to make more sense.

  • @element14presents
    @element14presents  13 лет назад

    @Rumdabbadoh Thanks! Be sure to let us know how the laser cat toy works out

  • @steveb7600
    @steveb7600 11 лет назад

    There are many good reasons for choosing an FPGA over a MCU for specific applications, implying that an MCU would somehow have trouble displaying a dot matrix picture programmed correctly is rather contrived.

    • @Yotanido
      @Yotanido 5 лет назад

      Well, the MCU will need at least one clock cycle per pixel (probably at least three, though). An FPGA can do an entire row in a single clock cycle.
      The FPGA will likely have a lower clock speed, but you save so many cycles, it ends up being a lot faster. Even if the MCU can manage to process a row as fast as the FPGA, the FPGA can light up the entire row simultaneously, while the MCU has to light each LED individually. This ends up with the MCU driven display being a lot dimmer.

  • @Yotanido
    @Yotanido 5 лет назад +8

    "8 bit is -128 to +128"
    No, it isn't... it's -128 to +127.

    • @STRIKEcorperation
      @STRIKEcorperation 5 лет назад

      Not if you use ones compliment. Gotta have me some -0

  • @uRnotGOODLikeME
    @uRnotGOODLikeME 12 лет назад

    i'm so addicted to this show! AH MUH GAWD

  • @rumdabbadoh
    @rumdabbadoh 13 лет назад

    Though i love your shows with special requested missions, I enjoyed this even more! Really instructional and inspirational! Thanks! (I'm about to buy my first netduino, and try to replicate your laser cat-player!)

  • @Mixbag
    @Mixbag 11 лет назад

    how can i build a device that i can turn on my pc wirelessly ? build the receiver into a wireless keyboard

  • @duncanjdavid10
    @duncanjdavid10 11 лет назад

    I would like to see a interface between a fpga and a dsp chip. I don't have a preference between the fpga and dsp chip.
    Thanks

  • @ig33ku
    @ig33ku 13 лет назад

    Merry Xmas man.

  • @SevenDeMagnus
    @SevenDeMagnus 9 лет назад

    Hi. It's unfortunate, it has it's own programming language but is the Altera's programming language and IDE compatible for all brands and not just Altera. Is it also compatible for Asic, CPLD and FPGA or each of those has their own language and each brand have their own propriety language? What's ASIC, CPLD and FPGA called by the way as a whole?. Thank you.

  • @WillPrice94
    @WillPrice94 11 лет назад

    Hook up a IR phototransistor to a microcontroller, write some code to record the input from there, record the key you press on keyboard with the microcontroller. Finally hook up an output pin on the micro to the 'ON' pin on your computer motherboard et voila.

  • @CarbsLVR
    @CarbsLVR 13 лет назад

    I understood everything except that part about all that stuff you said.

  • @geekinginandout
    @geekinginandout 8 лет назад

    thanks for the infotainment ben

  • @JeffSmith03
    @JeffSmith03 10 лет назад +1

    Did you show us at least a glimpse or general idea of the FPGA program that shows the image? Maybe I blinked

  • @alexwinger
    @alexwinger 11 лет назад +2

    ¿Could you please make a snes or n64 cartridge demo using an fpga?

  • @gdefombelle
    @gdefombelle 9 лет назад

    I like the background music with the big band and the hammond b3; what is this album ?

  • @jinxhio5534
    @jinxhio5534 12 лет назад

    Man i love your mods you have such tallent which i wish i had

  • @RedneckNinjaTube
    @RedneckNinjaTube 13 лет назад

    Aah the good old VHDL-language... Haven't seen that in a LOT of years. Very efficient, but VERY complex and hard to read straight up and down.

  • @MegaManBn
    @MegaManBn 13 лет назад

    yay! TODAY I LEARN FPGA!

  • @TheJennetteFan
    @TheJennetteFan 13 лет назад

    LOVE THIS SHOW

  • @kristianclem4954
    @kristianclem4954 12 лет назад

    This isn't very relevant to this video but i was wandering if you could help me with this project I'm thinking of. Im planning to program a system to work with powerpoint, it basically detects what the speaker is saying and it matches it to words on a slide and switches to that slide I will probably use it to go through lyrics as a band is singing them.

  • @sumanmuppalla552
    @sumanmuppalla552 10 лет назад

    very goood video more use i more video upload

  • @element14presents
    @element14presents  13 лет назад

    @jaredarm It's good for you!

  • @adriandeveraaa
    @adriandeveraaa 8 лет назад

    why verilog over vhdl? you should show both of them (:

  • @Is200Innit
    @Is200Innit 12 лет назад

    a LPC2103 micro controller IS just fast enough to update a 128x32 DMD with 4 intensities (because i have done it!) but FPGA is deffo the better (more expensive) option :)

  • @SevenDeMagnus
    @SevenDeMagnus 9 лет назад

    Hi. Thanks again. It's still a bit confusing. The ASIC, CPLD and FPGA are using program so that it can physically arrange the switched inside the ICs of the ASIC, CPLD or FPGA. If this is so, what kind of physical switches is it actually using. Is it like a ferric oxide or similar that physically changes orientation to switch things to binary? Or it's also small transistor used in CPUs (by the way what's the difference between a CPU and an IC or is the CPU under the category of the IC?) but are physically altered like you would with the magnetic materials that a hard disk manipulates (or the cassette tapes still used for low cost back up)?. Thank you in advance. God bless. Rev. 21:4

    • @BenWard29
      @BenWard29 9 лет назад +4

      The way to conceptualize how programmable logic can change its function is to visualize an FPGA chip subdivided into thousands of single function blocks. If you look at the Altera Cyclone V FPGA and use that as representative sample, there are a handful of different types of blocks; blocks that can do floating point DSP functions, memory blocks, PLL blocks, as well as others. The most abundant are the general logic element blocks (called "logic elements" or "LE"s) which are the simplest operations that any traditional logic IC can be split up into. It is important to note that Boolean logic (which is the model that is used in integrated circuits) allows -all- functions (AND, OR, XOR, NOT) to be completed by arranging and adding together NOR function gates in specific arrangements. There are thousands and thousands of these LE blocks that can be grouped and configured to exactly replicate a typical "real" logic IC. The LE blocks are specially grouped, wired and networked logic gates in the silicon of the FPGA chip. The logic gates have transistors in between certain connections so that a signal is made to follow a reconfigurable path between LEs which creates the desired operations on the signal.
      So the whole programmable aspect isn't achieved through an actual physical reconfiguration of the FPGA's silicon, but through specific paths that the software chooses (via a simulated test to find the best "fit" aka route for the desired design- the "best fit" is usually decided to be a trade-off of wasted LEs on a cumbersome path/route and possible excessive signal delay because of an overly long path/route. Sometimes it is decided that wasted LEs or signal delay is better than a balance of the two because one of those essential resources is much more scarce in the design than the other resource.)
      I must say that I find it a bit difficult to go through this as a RUclips comment, but, hey- I gave it my best show. If it is only a confusing and frustrating mess, just ignore all of the above explanation and go to the Altera website and look at one of their wonderful explanations of the FPGA architecture. Hope that helped!

    • @Annihilator49
      @Annihilator49 9 лет назад

      SevenDeMagnus It is not mechanically changing anything. Think of it like this: a processor is a bunch of transistors wired together. An FPGA is a bunch of transistors wired to every other transistor inside it; however, all of them are disabled. When you write code a Synthesizer looks at the code and energizes some of the wires connecting certain transistors, making logic gates.

  • @zipzip143
    @zipzip143 13 лет назад

    i understood the most of the stuff on the white board the first time but thats about it.

  • @etothejtheta
    @etothejtheta 11 лет назад

    More like this please. Now, bring me my ranch hose.

  • @adriandeveraaa
    @adriandeveraaa 8 лет назад +2

    What are some FPGA projects at home that I can tackle?

    • @sethatkins3731
      @sethatkins3731 6 лет назад

      I wouldn't recommend tackling FPGAs...

  • @orangedac
    @orangedac 7 лет назад

    Thanks brother.

  • @CorruptReaper
    @CorruptReaper 13 лет назад

    So I never realized it until this episode so maybe you just lost/forgot it- Tri-pods are amazing;)

  • @1luarluar1
    @1luarluar1 6 лет назад

    Where are arcade games that use Fpga instead of software emulator?

  • @starizowid
    @starizowid 11 лет назад

    Can you make a udoo portable ben?

  • @gaming-zombie1392
    @gaming-zombie1392 10 лет назад

    Numbers & Math is cool Love Learning about them...
    111= 6, 10= 2, 11= 3, & 101= 4 right?
    Hopefully I don't forget it...

  • @juliusmullen4864
    @juliusmullen4864 11 лет назад

    ben im wondering can you mod something thats good for beginners

  • @Minoru72991
    @Minoru72991 12 лет назад

    1:45 so it's basically an emulator?

  • @Chrischippi
    @Chrischippi 11 лет назад

    could u show a 3d printed xbox 360 controller shell id love to seeit on your chanell

  • @shadowing0000
    @shadowing0000 11 лет назад

    Can u 3d print a labtop

  • @OldManRik
    @OldManRik 11 лет назад

    why does it have legs?

  • @PonchoRCG
    @PonchoRCG 13 лет назад

    Fpga power!!!!

  • @DTZinatbakhsh
    @DTZinatbakhsh 12 лет назад

    For the simpler stuff, wouldn't it be cheaper and easier to simply solder together a few simple logic ICs or even transistors for the simplest logic(of course this would require a little bit more space)? FPGAs an CPLDs can get kinda expensive.

    • @calebsteinmetz9471
      @calebsteinmetz9471 Год назад

      This is for teaching purposes, not really for optimization of cost

  • @laserbeak43
    @laserbeak43 9 лет назад

    I

  • @RealGengarTV
    @RealGengarTV 7 лет назад +1

    I hope (however unlikley) that when Nintendo make the Nintendo 64 mini (likely) they drop software emulation and go for using an FPGA instead (Unlikely)

    • @johnsimon8457
      @johnsimon8457 6 лет назад

      GengarTV eh. A more complex system to emulate needs a larger FPGA so that’s a high ticket item and Nintendo wants to sell these for $150 or less. It’s only recently that large FPGAs are cheap enough for consumers.

  • @luisff7030
    @luisff7030 10 лет назад

    altera doesn't accept my portuguese address to register and download the software.

    • @luisff7030
      @luisff7030 10 лет назад

      marcoswi obrigado pela dica, mas passado cerca de 2 semanas e depois de varias tentativas consegui fazer o download. já não me lembro o que fiz para funcionar.
      e depois esqueci deste comentário, senão apagava-o.
      mais tarde vou apagar para ter esta mensagem.
      no inicio, quando a morada não entrava, usava a versão 11 que arranjei com o torrent. mas é a gratuita à mesma.

  • @bananathrower
    @bananathrower 13 лет назад

    yay

  • @freeNode5
    @freeNode5 13 лет назад

    amazing :o
    I wonder how an fpga works...

  • @DAVIDGREGORYKERR
    @DAVIDGREGORYKERR 7 лет назад

    I would have thought it easier to write it in C++ so that it can be tested then compiled into VERILOG or VHDL which becomes a FPGA, I think that someone has built a YAMAHA organ from FPGA.

  • @companymen42
    @companymen42 7 лет назад

    I know FPGAs lose their configuration after power off, but what about CPLDs?

  • @asadhasan7485
    @asadhasan7485 10 лет назад +8

    I love vhdl...but microcontroller is good enough for my lazy buttt...

  • @nychold
    @nychold 12 лет назад

    Modern x86 processors, even in their 32 bit flavors, are/were not limited to 4 GB of RAM, thanks to the Pentium Pro's addition of PAE (Physical Address Extensions). Most operating systems just don't support it (well). It's a bit of obscure information, but the myth of 32 bit processors being limited to 4 GB of RAM has always annoyed me, and hasn't been true since the mid 90s. The register width doesn't matter, it's the address bus width that matters. :)

  • @philip6382
    @philip6382 Год назад

    11 years later, a lot of µC can pull this of :D

  • @Jorgie000
    @Jorgie000 13 лет назад +1

    You lost me at hello lol

  • @zab666
    @zab666 13 лет назад

    Well I got the part with the usb and the gatorade. But that's about it.

  • @finaltheorygames1781
    @finaltheorygames1781 7 лет назад

    Don't change the name of the Ben Heck show. Its fine with the current name as it is.

  • @AiurIkiza
    @AiurIkiza 11 лет назад

    17:21 I see kitty here :D

  • @Surge_Engineering
    @Surge_Engineering 13 лет назад

    Make a huge led cube

  • @metyler123
    @metyler123 13 лет назад

    Wahoo.

  • @hunterhartley583
    @hunterhartley583 13 лет назад

    i understand duck tape, do something with ducktape

  • @RandyLott
    @RandyLott 12 лет назад

    FPGA - Fucking powerful gatorade

  • @D3r3kY19
    @D3r3kY19 13 лет назад

    That made | | that much sense

  • @smooooth_
    @smooooth_ 12 лет назад

    If he had thicker glasses, and a beard he would look just like Adam savage from mythbusters

  • @gruflord
    @gruflord 11 лет назад

    this is also a simple way how to create a calc in minecraft.

  • @Surge_Engineering
    @Surge_Engineering 13 лет назад

    Make more videos

  • @wereNeverToBeSeenAgain
    @wereNeverToBeSeenAgain 8 лет назад

    WTF is he pluging those jumpers into the positive power rail?? The nodes in the rail also seem to be connected with small wires... WTF, how can those carry a signal instead of a constant 1???

  • @TheProCactus
    @TheProCactus 11 лет назад

    I find it hard to know when to fast forward past thoses stupid plugs for the elemont company. Sorry but I do avoid watching most of your shows because of it.
    Having said that, I got to get one of these.

  • @ThePepsiman1000
    @ThePepsiman1000 12 лет назад

    I kept laughing because of that

  • @LukeTanti
    @LukeTanti 11 лет назад

    -128 to +127

  • @almidi3
    @almidi3 13 лет назад

    Thumbs up for the 303th viewer

  • @Pyrusmaster1996
    @Pyrusmaster1996 11 лет назад

    Assassin creed hidden blades

  • @SevenDeMagnus
    @SevenDeMagnus 9 лет назад

    ASIC, CPLD and FPGA is the hardware equivalent of the machine language (faster but not human language friendly) and the micro controller like the Arduino, Rasberry Pi and Beagle Board are the high level languages (easy to program for but slower). ASIC, CPLD and FPGA is then analogous to muscle memory (fast and instant reflex without thinking), while the micro controllers are analogous to the usual brain function? Thank you. I hope and pray someone makes a circuit that functions as the GD-ROM of the Dreamcast and a light gun that works with an LCD:-) [I'll try using the cool projects here and on the 'net]. God bless. Rev. 21:4

    • @Folopolis
      @Folopolis 9 лет назад

      +SevenDeMagnus RasPi and Beagleboard/Beaglebone are not microcontrollers, they are just small general purpose computers.

  • @IDecaturX
    @IDecaturX 11 лет назад

    arduino has released a new(ish) board the arduino due it has a arm cortex m3 microcontroller and now acts more like a fpga

  • @erik61801
    @erik61801 10 лет назад +1

    damn all this time i thought it stood for flip pin grid array durr.. I do know these things are awesomely fast at bitcoin mining.

    • @asadhasan7485
      @asadhasan7485 10 лет назад

      I would assume they would be, but I think if u could leverage ur GPU on your graphics card, you can speed up the mining too.

    • @mrdanker6756
      @mrdanker6756 6 лет назад

      Not as fast as a circuit designed specifically for the bitmining algorithm(s). Aka an Application Specific Integrated Circuit (ASIC). Compare the two, an asic is way faster and way cheaper (excluding the millions needed to get the design set up for production).

  • @DFX2KX
    @DFX2KX 11 лет назад

    so THATs what FPGAs are... huh, I'll have to snag a chip and try that out.sometime. Fun, profit and pranks might abound.

  • @metyler123
    @metyler123 13 лет назад

    First like.

  • @alexvstheworld777
    @alexvstheworld777 10 лет назад

    Hello my Facebook is called Action4alex and I want to see you make a gator color wired controller please and if you do I need it to be as comfortable as it gets plus if you make it please send one to me pretty please -from alex

  • @smooooth_
    @smooooth_ 12 лет назад

    if he had, thicker g

  • @mikael5743
    @mikael5743 9 лет назад

    WTF is that wallpaper

  • @gaming1chair
    @gaming1chair 13 лет назад

    15th

  • @uimvbjhjzephhmfvyvjlhccabj3855
    @uimvbjhjzephhmfvyvjlhccabj3855 9 лет назад +1

    zero = 0; //LOL

  • @xwingfighter999
    @xwingfighter999 11 лет назад

    Looks cool but for me all of this is like Chinese...

  • @ShadowZekromX
    @ShadowZekromX 11 лет назад

    Bitcoin mining!

  • @woe1174
    @woe1174 7 лет назад

    xyi sosi gondon228

  • @Surge_Engineering
    @Surge_Engineering 13 лет назад

    Make more videos