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

Sdílet
Vložit
  • čas přidán 13. 09. 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.

Komentáře • 124

  • @beatlespennylane19
    @beatlespennylane19 Před 9 lety +1

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

  • @ThereminHero
    @ThereminHero Před 11 lety +1

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

  • @IntertubeNinja
    @IntertubeNinja Před 12 lety

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

  • @joesmoe71
    @joesmoe71 Před 12 lety +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.

  • @Wolf-427
    @Wolf-427 Před 12 lety

    This video pretty much just flew over my head.

  • @MegaManBn
    @MegaManBn Před 12 lety

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

  • @GateCrasherVI
    @GateCrasherVI Před 10 lety +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!?"

  • @Epyon3001
    @Epyon3001 Před 12 lety

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

  • @mrdavidrees
    @mrdavidrees Před 12 lety

    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.

  • @Yotanido
    @Yotanido Před 5 lety +8

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

  • @legokidnaruto
    @legokidnaruto Před 12 lety +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?

  • @Mountain-Man-3000
    @Mountain-Man-3000 Před 11 lety

    This video brings back fond memories from college. :)

  • @adrenalinem4n
    @adrenalinem4n Před 12 lety

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

  • @geekinginandout
    @geekinginandout Před 8 lety

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

  • @CarbsLVR
    @CarbsLVR Před 12 lety

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

  • @steveb7600
    @steveb7600 Před 11 lety

    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 Před 5 lety

      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.

  • @haz939
    @haz939 Před 11 lety

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

  • @theslvrbullt
    @theslvrbullt Před 10 lety

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

  • @WillPrice94
    @WillPrice94 Před 11 lety

    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.

  • @uRnotGOODLikeME
    @uRnotGOODLikeME Před 11 lety

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

  • @FuglyFatt
    @FuglyFatt Před 11 lety

    The red dot matrix cat looks like a character from one of the cheesy cut scenes in Far Cry 3: Blood Dragon.

  • @element14presents
    @element14presents  Před 12 lety

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

  • @jefftheusch3071
    @jefftheusch3071 Před 8 lety +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 Před 8 lety

      +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 Před 7 lety +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

  • @ig33ku
    @ig33ku Před 12 lety

    Merry Xmas man.

  • @zipzip143
    @zipzip143 Před 12 lety

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

  • @element14presents
    @element14presents  Před 12 lety

    @jaredarm It's good for you!

  • @RedneckNinjaTube
    @RedneckNinjaTube Před 12 lety

    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.

  • @rumdabbadoh
    @rumdabbadoh Před 12 lety

    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!)

  • @MegaManBn
    @MegaManBn Před 12 lety

    yay! TODAY I LEARN FPGA!

  • @alexwinger
    @alexwinger Před 11 lety +2

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

  • @JeffSmith03
    @JeffSmith03 Před 10 lety +1

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

  • @duncanjdavid10
    @duncanjdavid10 Před 11 lety

    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

  • @Is200Innit
    @Is200Innit Před 12 lety

    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 :)

  • @geekinginandout
    @geekinginandout Před 8 lety

    thanks for the infotainment ben

  • @TheJennetteFan
    @TheJennetteFan Před 12 lety

    LOVE THIS SHOW

  • @sumanmuppalla552
    @sumanmuppalla552 Před 10 lety

    very goood video more use i more video upload

  • @jinxhio5534
    @jinxhio5534 Před 12 lety

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

  • @Mixbag
    @Mixbag Před 11 lety

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

  • @rodhoffman
    @rodhoffman Před 11 lety

    What is the uC doing in this video at the end? Are you just sending the bitmap to fpga from uC or something like that?

  • @gdefombelle
    @gdefombelle Před 8 lety

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

  • @orangedac
    @orangedac Před 7 lety

    Thanks brother.

  • @kristianclem4954
    @kristianclem4954 Před 12 lety

    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.

  • @etothejtheta
    @etothejtheta Před 11 lety

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

  • @killbotkillbotkill
    @killbotkillbotkill Před 12 lety

    Why does youtube have no videos on how to biuld a portable intelivision game system.

  • @PonchoRCG
    @PonchoRCG Před 12 lety

    Fpga power!!!!

  • @CorruptReaper
    @CorruptReaper Před 12 lety

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

  • @zab666
    @zab666 Před 12 lety

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

  • @philip6382
    @philip6382 Před rokem

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

  • @bananathrower
    @bananathrower Před 12 lety

    yay

  • @SevenDeMagnus
    @SevenDeMagnus Před 9 lety

    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.

  • @nychold
    @nychold Před 12 lety

    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. :)

  • @adriandeveraaa
    @adriandeveraaa Před 8 lety

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

  • @Surge_Engineering
    @Surge_Engineering Před 12 lety

    Make a huge led cube

  • @gaming-zombie1392
    @gaming-zombie1392 Před 10 lety

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

  • @D3r3kY19
    @D3r3kY19 Před 12 lety

    That made | | that much sense

  • @Chrischippi
    @Chrischippi Před 11 lety

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

  • @adriandeveraaa
    @adriandeveraaa Před 8 lety +2

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

  • @DAVIDGREGORYKERR
    @DAVIDGREGORYKERR Před 7 lety

    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.

  • @DTZinatbakhsh
    @DTZinatbakhsh Před 12 lety

    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 Před rokem

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

  • @RealGengarTV
    @RealGengarTV Před 7 lety +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 Před 6 lety

      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.

  • @freeNode5
    @freeNode5 Před 12 lety

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

  • @AiurIkiza
    @AiurIkiza Před 11 lety

    17:21 I see kitty here :D

  • @asadhasan7485
    @asadhasan7485 Před 10 lety +8

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

  • @laserbeak43
    @laserbeak43 Před 9 lety

    I

  • @shadowing0000
    @shadowing0000 Před 11 lety

    Can u 3d print a labtop

  • @Minoru72991
    @Minoru72991 Před 12 lety

    1:45 so it's basically an emulator?

  • @Jorgie000
    @Jorgie000 Před 12 lety +1

    You lost me at hello lol

  • @starizowid
    @starizowid Před 11 lety

    Can you make a udoo portable ben?

  • @OldManRik
    @OldManRik Před 11 lety

    why does it have legs?

  • @SevenDeMagnus
    @SevenDeMagnus Před 9 lety

    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 Před 9 lety +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 CZcams 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 Před 9 lety

      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.

  • @juliusmullen4864
    @juliusmullen4864 Před 11 lety

    ben im wondering can you mod something thats good for beginners

  • @1luarluar1
    @1luarluar1 Před 6 lety

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

  • @metyler123
    @metyler123 Před 12 lety

    Wahoo.

  • @finaltheorygames1781
    @finaltheorygames1781 Před 7 lety

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

  • @companymen42
    @companymen42 Před 7 lety

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

  • @luisff7030
    @luisff7030 Před 10 lety

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

    • @luisff7030
      @luisff7030 Před 10 lety

      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.

  • @RandyLott
    @RandyLott Před 12 lety

    FPGA - Fucking powerful gatorade

  • @Surge_Engineering
    @Surge_Engineering Před 12 lety

    Make more videos

  • @hunterhartley583
    @hunterhartley583 Před 12 lety

    i understand duck tape, do something with ducktape

  • @smooooth_
    @smooooth_ Před 12 lety

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

  • @ThePepsiman1000
    @ThePepsiman1000 Před 12 lety

    I kept laughing because of that

  • @LukeTanti
    @LukeTanti Před 11 lety

    -128 to +127

  • @gruflord
    @gruflord Před 11 lety

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

  • @Pyrusmaster1996
    @Pyrusmaster1996 Před 11 lety

    Assassin creed hidden blades

  • @TheProCactus
    @TheProCactus Před 11 lety

    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.

  • @IDecaturX
    @IDecaturX Před 11 lety

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

  • @wereNeverToBeSeenAgain

    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???

  • @SevenDeMagnus
    @SevenDeMagnus Před 9 lety

    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 Před 8 lety

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

  • @metyler123
    @metyler123 Před 12 lety

    First like.

  • @almidi3
    @almidi3 Před 12 lety

    Thumbs up for the 303th viewer

  • @DFX2KX
    @DFX2KX Před 11 lety

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

  • @smooooth_
    @smooooth_ Před 12 lety

    if he had, thicker g

  • @gaming1chair
    @gaming1chair Před 12 lety

    15th

  • @erik61801
    @erik61801 Před 10 lety +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 Před 10 lety

      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 Před 5 lety

      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).

  • @alexvstheworld777
    @alexvstheworld777 Před 10 lety

    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

  • @mikael5743
    @mikael5743 Před 8 lety

    WTF is that wallpaper

  • @uimvbjhjzephhmfvyvjlhccabj3855

    zero = 0; //LOL

  • @xwingfighter999
    @xwingfighter999 Před 11 lety

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

  • @ShadowZekromX
    @ShadowZekromX Před 11 lety

    Bitcoin mining!

  • @woe1174
    @woe1174 Před 7 lety

    xyi sosi gondon228