Program Your Own FPGA Video Game

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ต.ค. 2024
  • Learn how to make a retro-style table tennis game with an FPGA. Take a look at the DE0-Nano development board, along with Altera's Quartus II design software. We also learn about the Verilog language and dive into some code. With the help of additional components, interface directly with a VGA monitor and an NES game controller. Visit element14 Presents: bit.ly/2ACe9Pw
    Visit the FPGA group: bit.ly/2LXaMag
    Join Path to Programmable: bit.ly/2vvN0Ii
    Visit Project14: bit.ly/2LSN3rX
    Visit The Learning Circuit: bit.ly/2vcSokd
    Visit sudo Sergeant: bit.ly/2n5sjiw

ความคิดเห็น • 91

  • @aceflamez00
    @aceflamez00 6 ปีที่แล้ว +85

    Shit, I'm grateful that there's actually a high quality FPGA video on TH-cam.

    • @Decco6306
      @Decco6306 5 ปีที่แล้ว

      haha yeah

  • @DevinVanVolkenburg
    @DevinVanVolkenburg 6 ปีที่แล้ว +5

    I hope there are more FPGA videos coming out! I have a DE-10 Nano and these videos have gotten me interested in learning FPGA's again.

  • @DylanMatthewTurner
    @DylanMatthewTurner 6 ปีที่แล้ว +2

    They did me dirty showing Ben at the start of this. Miss you man! You're the reason I moved away from simple programming to electrical engineering. I've been watching your videos since I was 11

  • @MUDMAD83
    @MUDMAD83 6 ปีที่แล้ว +16

    Ben will be missed by many

  • @pudelz
    @pudelz 6 ปีที่แล้ว +31

    Not only is Ben gone but you took away the regrettable acting?! :'(

  • @nanolith
    @nanolith 6 ปีที่แล้ว +6

    Great video, Andy. I'm looking forward to seeing more FPGA based projects.

  • @abhijitbaral9283
    @abhijitbaral9283 หลายเดือนก่อน

    Thank you very much for sharing the project. This really encourages to begin fpga programming

  • @andrewdunbar828
    @andrewdunbar828 5 ปีที่แล้ว +1

    I've been looking for a well made game-related FPGA programming video since I stumbled across the FPGA emulator scene. Well done, and more please!

  • @uwezimmermann5427
    @uwezimmermann5427 6 ปีที่แล้ว +1

    It's a nice project and a nice introduction to FPGAs. However, like many other channels out there you definitely should increase the font size on your IDE - even playing back on a quite big screen leaves the text almost illegible.

    • @andrewdunbar828
      @andrewdunbar828 5 ปีที่แล้ว

      Yeah I hate how they assume their viewerships are limited only to young people with good eyes and stationary people with huge monitors when most of us are actually middle-aged, watching on laptops with reading glasses. Well some of us (-:

  • @evanl734
    @evanl734 7 วันที่ผ่านมา

    What is the latency like? Is it better than real pong due to being on an fpga?

  • @utopialabsvideos9408
    @utopialabsvideos9408 6 ปีที่แล้ว

    Ben inspired us for making electronic projects like nothing were impossible! I really LOVED those videos making computers and hacking computers!

  • @justinnamilee
    @justinnamilee 6 ปีที่แล้ว

    I enjoy working with FPGAs, the overview was nice, can't wait to check out the HDL.

  • @MAYERMAKES
    @MAYERMAKES 6 ปีที่แล้ว +9

    whao ultimate radio voice!! Andy should start an electronics podcast on element14

    • @andywest5773
      @andywest5773 6 ปีที่แล้ว

      Thanks, Clem! I never considered that before... I'll look into it.

  • @byakuyalight9007
    @byakuyalight9007 2 ปีที่แล้ว

    Hi, I'm new, I'm using Xilinx Spartan VI, you have the code separately. I'm learning and I'll use NES control and display on LEDs. Can you share the simple code for each module? which is better vhdl or verilog? Great gob 👏🏻

  • @andywest5773
    @andywest5773 6 ปีที่แล้ว +34

    Thanks everyone for watching and for all of your honest feedback! I really enjoyed making this video, and I've already got many ideas on ways to improve.

    • @braveitor
      @braveitor 6 ปีที่แล้ว +2

      I did like it. Good job. Maybe it's a bit too technical for me but I always enjoy tech related videos and stuff. :)

    • @leisergeist
      @leisergeist 6 ปีที่แล้ว +3

      Great video!
      I think many of us would like to see the full process uncondensed, on a secondary video or something
      Maybe a stream? There are plenty of successful software dev streams (The Coding Train to name one), but a hardware/FPGA stream would probably be unique

    • @andywest5773
      @andywest5773 6 ปีที่แล้ว

      Thanks for the idea! I'll have to check out The Coding Train. In the meantime, here is a link to the source code for the project which I just put up on GitHub: github.com/andy-west/fpga-pong

    • @electronash
      @electronash 6 ปีที่แล้ว

      Andy West
      It was a great vid overall. ;)
      Pong should always be the go-to project for people getting started in FPGAs, IMHO.
      (after doing the usual clock divider for flashing an LED, that EVERYONE seems to do. lol)
      For the controller, btw, you could just trigger reading from it using the Vsync signal (or the falling or rising edge), which is essentially how the SNES and many consoles work.
      I see you're using the signal as a clock enable though, so YMMV, of course.

    • @electronash
      @electronash 6 ปีที่แล้ว

      The basic VGA module can be very easily expanded upon to output 720p or other resolutions.
      A few years ago, I added some RAM blocks and a font ROM to a VGA generator, and made a kind of on-screen debugger for helping to debug retro-related CPU cores...
      i.imgur.com/9yDWB23.jpg
      (quite straightforward to get the video output working via HDMI, too.)
      I can view any FPGA signal or register in realtime, or view a hex / ASCII dump of small chunks of RAM.
      Or, single-step the CPU core using the buttons on the dev board, and set a "breakpoint" using a PS/2 keyboard. All written in pure Verilog, of course. ;)
      In the screenshot above, I'm using it to debug the MIPS R3000 core, and working on getting the PlayStation 1 BIOS booting.
      The serial debug output is coming directly from the FPGA, too, and from the PS1 BIOS itself.
      I still use my trusty old DE1 board for a lot of these projects, since it has SRAM, SDRAM, NOR Flash, serial, audio, PS/2, SD slot, VGA, and doesn't mind being hooked up directly to "5 Volt" consoles etc. It's still a great board for retro console / computer related projects.
      (the DE1 doesn't technically have "proper" voltage translation on its GPIO headers, but I've yet to zap any of the IO pins in nearly ten years.)

  • @TheeBuddylee
    @TheeBuddylee 6 ปีที่แล้ว +6

    Love this, want more fpga basics, but a bit dry and quick

  • @Shl0kk
    @Shl0kk 6 ปีที่แล้ว +4

    That is super cool - love the low-level instant-on of FPGA coding

  • @princeearly1993
    @princeearly1993 5 ปีที่แล้ว

    this is now my favorite channel

  • @mateuszobrzut3788
    @mateuszobrzut3788 3 ปีที่แล้ว +1

    Great job - very informative tutorial - but a full source code would be really valuable!

  • @praveensivakoti5641
    @praveensivakoti5641 2 ปีที่แล้ว

    sir can you please provide the De0 nano fpga board some project codes sir on hardware like uart and adc

  • @rpgduck
    @rpgduck 6 ปีที่แล้ว

    This guy's as dry a bone. Wouldn't hurt to crack a smile now and then.

  • @HalfMonty11
    @HalfMonty11 6 ปีที่แล้ว +17

    Let's be real... most of us didn't come to this channel for the electronics education, we came for Ben and his enjoyable personality. It's fun to watch Ben build something and hear his random barely related TV and Movie quotes. He could be doing just about anything and it'd be entertaining. Unfortunately, no one else on the team seems to be able to match or even come close to the personality and character of Ben. They're all good at relaying information but then so is a book...
    Just trying to provide some useful feedback for the success of this channel. Good luck, perhaps the current team just needs more camera time to come out of their shell but this was a dreadfully dry. Ben Heck show tended to ride that line between entertainment and education, edutainment. This video was clearly solely educational... I'm not going to watch educational videos unless I'm specifically interested in the topic. I will watch edutainment however regardless of the topic if it's sufficiently entertaining.

  • @dwietr
    @dwietr 6 ปีที่แล้ว +3

    Sweet, I did a similar project in college. This was great to get into fpga's.

  • @reduckulous6725
    @reduckulous6725 6 ปีที่แล้ว +4

    It's kind of funny how they shove Ben in at the beginning. It's almost like they're trying to convince us to watch by giving a familiar face

  • @RaisingAwesome
    @RaisingAwesome 6 ปีที่แล้ว +2

    That was a great first dose of FPGA for me. Good stuff. It would be good to see more things that Adam would consider impossible on the Pi or Arduino. I imagine it has to do with things that need a lot of speed.

    • @andywest5773
      @andywest5773 6 ปีที่แล้ว +1

      I've always wanted to try real-time ray tracing. That's the type of thing that would be very slow on a microcontroller or SBC, but would benefit greatly from the parallel processing capabilities of an FPGA.

  • @johnwilson3918
    @johnwilson3918 5 ปีที่แล้ว

    Thank you! Is the Daniel Tammet 'Pi' picture, an original?

    • @andywest5773
      @andywest5773 5 ปีที่แล้ว +1

      It's one of the 50 limited edition prints from his site.

  • @chrisrohlfs
    @chrisrohlfs 6 ปีที่แล้ว

    Cool to see stuff about FPGAs :)

  • @余祯兆
    @余祯兆 5 ปีที่แล้ว

    good video! But where to download the code?

  • @seal3081
    @seal3081 6 ปีที่แล้ว +2

    Verilog ftw!!!

  • @magnuswootton6181
    @magnuswootton6181 3 ปีที่แล้ว

    Id love to see an FPGA ragdoll physics simulator.

  • @byakuyalight9007
    @byakuyalight9007 2 ปีที่แล้ว

    Excelente contenido, puede porfavor compartir el código por secciones diferentes para estudiar, estoy aprendiendo vhdl y muchas gracias.

  • @troyBORG
    @troyBORG 6 ปีที่แล้ว +1

    Former Host of the Ben Heck show? Wait so you don't host your own show anymore?

    • @ttomkins4867
      @ttomkins4867 6 ปีที่แล้ว +1

      Its not his show anymore :(
      Ben was worked until he wasn't having fun any more, so he retired.
      E14 changed the name, rather then starting new, so they could keep the subscribers.

  • @casiothestrong
    @casiothestrong 6 ปีที่แล้ว

    Ben. Please come back.

  • @RealDids
    @RealDids 6 ปีที่แล้ว

    So what does Ben do now?

  • @PapasDino
    @PapasDino 6 ปีที่แล้ว

    Andy must be a ham...he sent the letters "FPGA" in Morse Code when demonstrating the first switch initiated key clicks! 73 DE KL0S!

  • @ehabcharek
    @ehabcharek 6 ปีที่แล้ว

    what what? former host?
    I haven't been here in a while, but what's that all about?

  • @gibs2b
    @gibs2b 3 ปีที่แล้ว

    saw your nuc in the back :)

  • @FixDaily
    @FixDaily 5 ปีที่แล้ว

    Thanks for the tut :)

  • @MrROHITBOHRA
    @MrROHITBOHRA 3 ปีที่แล้ว

    can I VHDL code

  • @byakuyalight9007
    @byakuyalight9007 ปีที่แล้ว

    No responde comentarios no comparte conocimientos 😢

  • @chriscollins4375
    @chriscollins4375 6 ปีที่แล้ว +2

    can we download the project?

    • @andywest5773
      @andywest5773 6 ปีที่แล้ว +1

      Yes! It's over on GitHub: github.com/andy-west/fpga-pong

  • @jonatanfelipe1830
    @jonatanfelipe1830 6 ปีที่แล้ว

    Ben Heck Show is dead. You know... the new channel name, the new people, the suppression of "regrettable acting", the "former host" thing. God, we will miss you. This is not about the new projects, they are cool. But nothing is the same. It's like Adventure Time without Jake. I think this is our farewell.

  • @bandrewm
    @bandrewm 6 ปีที่แล้ว

    1:01 "AUDIO JUNGLE" Guys, guys, guys, pay for your music...

  • @mrxfin
    @mrxfin 3 ปีที่แล้ว

    Actually I want to run this game github.com/mamedev/mame/blob/master/src/mame/drivers/goldnpkr.cpp I have rom file of that game but not source code, so if this game can run in raspberry pi board or another board without OS then my problem solve otherwise i need that game source code

  • @utopialabsvideos9408
    @utopialabsvideos9408 6 ปีที่แล้ว +6

    Great video! Thanks for using Verilog and not VHDL!

  • @DaveGamesVT
    @DaveGamesVT 6 ปีที่แล้ว +1

    Good luck with your channel in the future but... I came here for Ben =/

  • @slavauchitel8014
    @slavauchitel8014 6 ปีที่แล้ว +1

    Where are project files?

    • @andywest5773
      @andywest5773 6 ปีที่แล้ว +2

      You can find them here: github.com/andy-west/fpga-pong

  • @stevesm2010
    @stevesm2010 6 ปีที่แล้ว +1

    Well done sending FPGA in Morse Code in the sound test - Best 73 de Steve G0TDJ

    • @andywest5773
      @andywest5773 6 ปีที่แล้ว +1

      Thanks! I think you're the first one to discover it.

  • @romiolover6852
    @romiolover6852 6 ปีที่แล้ว +5

    thank you for this tutorial on the fpga

    • @andywest5773
      @andywest5773 6 ปีที่แล้ว +3

      You're welcome! I hope this inspires people who are on the fence about trying FPGAs to give it a shot.

    • @theengineer9910
      @theengineer9910 5 ปีที่แล้ว +1

      @@andywest5773 I recently got the Nano ! I began to go through the tutorials but got too busy with some other stuff but I'm gonna be doin fpga design full time after I finish up

    • @theengineer9910
      @theengineer9910 5 ปีที่แล้ว

      @@andywest5773 I can't really find a good verilog language tutorial series as easily as it is to find any software language series(Ya I know verilog is a hardware description language )

  • @HS-eq3gk
    @HS-eq3gk 6 ปีที่แล้ว

    ben pls leave already the pain pls pls. I'm guessing these are pre-recorded?
    Cool

    • @AirborneSurfer
      @AirborneSurfer 6 ปีที่แล้ว +1

      Hackmi HaKMI At least he seems to have been over his cold by the time this one was recorded.

    • @HS-eq3gk
      @HS-eq3gk 6 ปีที่แล้ว

      Yeah I was half jokin that was all, was just wondering if he'd properly left

  • @diogogcarvalho
    @diogogcarvalho 6 ปีที่แล้ว

    CW!! cool :)

  • @AirborneSurfer
    @AirborneSurfer 6 ปีที่แล้ว +1

    Great primer on FPGA programming, Andy! I might have to dig into this strange voodoo magic board with some kind of project soon! 😉

    • @andywest5773
      @andywest5773 6 ปีที่แล้ว +1

      Thanks, Matt! I'd love to see what you come up with.

  • @AlphasysNl
    @AlphasysNl 6 ปีที่แล้ว

    Although the idea behind the FPGA is very nice, these devices really are too expensive for the number of logic elements they have. While they're great for development of time critical digital circuitry, they are not really suited to build a project around beyond the development stage. 22320 logic elements may be enough to make Pong with a bitbanged VGA output, but for the same price you can get 2 Pi zero's. Ofcourse this is not the point of this video. It's to make you aware of this type of development system. Yet, this is still a very expensive board for what it eventually does. The flexibility comes at a premium cost.

  • @timrb
    @timrb 6 ปีที่แล้ว

    Hurry and do the dumpster dive with Dave from EEVBlog

  • @Decco6306
    @Decco6306 5 ปีที่แล้ว

    FoRmEr HoSt!!‽¡
    what happened?

  • @ythaloluigui
    @ythaloluigui 6 ปีที่แล้ว

    please anyone can make a ps2 fpga

  • @devjock
    @devjock 6 ปีที่แล้ว

    No more regrettable acting. Also, no more studio filled with cool gadgets and handmade equipment. Also, no more Ben. You guys must really be thinking "Why are all these people jumping ship? Is it because we sell stuff?" No, I watch adafruit with pleasure, and they sell stuff. "Is it because we teach stuff?" No, I watch Ben Krasnov, Rhinoa, and about 500 other folks and they teach awesome stuff. "Is it because we bought a marvelous maker channel and transformed it into a tech based home shopping channel?" YEAH THAT'S ABOUT IT. See how difficult it is to emulate a niche channel? We are rightfully leaving you behind. I gave you folks a month. The month has since passed. I'm not sticking around to see how ugly this becomes.
    No offence to Andy West. Good video man, but I'd much rather you'd upload it on your own channel and distance from element14. They obviously turned corporate, and it's an ugly sight to behold.. There is no way back. You know this. The maker soul is literally being monetised as we speak.. We don't need them. No really, we DON'T need them.

  • @tremorist
    @tremorist 6 ปีที่แล้ว

    meh

  • @zwenqi
    @zwenqi 6 ปีที่แล้ว

    Can't see the point of using a FPGA given single board computers have become so powerful now.

    • @andywest5773
      @andywest5773 6 ปีที่แล้ว +9

      The power of an FPGA is the parallelism. You can do things like process video in real time that would take a lot of CPU time on an SBC.

    • @zwenqi
      @zwenqi 6 ปีที่แล้ว

      Peter S Ha ha.

    • @zwenqi
      @zwenqi 6 ปีที่แล้ว +1

      Andy West Thanks, that's a good example.

  • @prehistoricBanana
    @prehistoricBanana 6 ปีที่แล้ว +2

    wtf is this, this is not my ben heck show, i miss my benny poos.

  • @markjohnson3737
    @markjohnson3737 6 ปีที่แล้ว

    Boring.