element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Project Videos
  • Challenges & Projects
  • element14 presents
  • Project Videos
  • More
  • Cancel
Project Videos
Documents Program Your Own FPGA Video Game -- Episode 353
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Project Videos to participate - click to join for free!
Related
Recommended
Engagement
  • Author Author: tariq.ahmad
  • Date Created: 2 Aug 2018 4:48 PM Date Created
  • Last Updated Last Updated: 3 Aug 2018 7:24 AM
  • Views 5320 views
  • Likes 20 likes
  • Comments 17 comments

Program Your Own FPGA Video Game -- Episode 353

image
Program Your Own FPGA Video Game

element14 Presents  |  Andy West's VCP Profile |  Project Videos

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

In this video, we learn how to make a retro-style table tennis game with an FPGA. We 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. Finally, with the help of some additional components, we interface directly with a VGA monitor and an NES game controller.

 

 

Product NameQuantity
Buy Kit

P0082 -  Development Kit, FPGA, DE0-Nano, 2x GPIO Headers, 32MB RAM, Accelerometer

1Buy Now

GS-630A -  Breadboard, ABS, 56 mm x 136 mm x 10 mm

1Buy Now

1739 -  Large Enclosed Piezo Element w/Wires

1Buy Now

OS-9975 -  Replacement NES Wired Controller

1Buy Now

Sub Connector High Density 15 Contacts Receptacle DE High Density Series Metal Body Solder

1Buy Now

826 -  Premium Female/Male Extension Jumper Wires, 40 x 6" (150mm)

1Buy Now
MC001810 -  Jumper Wire Kit, Multicolor, 2 mm - 125 mm, 22 AWG, 140 Piece1Buy Now
Female NES Controller Connector1
270 Ohm Through Hole Resistor3Buy Now

 

Click Herefor access to all the supporting files you will need to replicate this build!
  • fpga development
  • programmablelogicch
  • nes controller
  • 270 ohm through hole resistor
  • pong
  • piezo element
  • fpga development board
  • fpga
  • breadboard
  • vcpfpga
  • piezo
  • de0-nano
  • nes wired controller
  • field programmable gate arrays
  • female nes controller connector
  • d sub connector
  • vcp
  • e14presents_andywest
  • friday_release
  • jumper wires
  • Share
  • History
  • More
  • Cancel
Actions
  • Share
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • DAB
    DAB over 7 years ago +2
    Nice introduction to the internal part of an FPGA. I liked the walk through of the software and how to build the hardware descriptions. DAB
  • jomoenginer
    jomoenginer over 7 years ago +2
    Oh, cool! A Ben Heck cameo. This is really cool. I've been meaning to create a FPGA game so this might be a great place to start. Yeah, I know some FPGA folks that hate being called Software Engineers…
  • baldengineer
    baldengineer over 7 years ago +2
    Nicely done on your tutorial. FPGAs are that next-level factor that I think many electronics enthusiasts and professionals need. I think it was clever to combine teaching about them with an NES controller…
Parents
  • ravelox
    ravelox over 7 years ago

    I liked this video so much I got a DE0-Nano this week. Is there a primer for setting up the build environment? So far, I've followed the links in the Quick Start guide which took me from altera.com to intel.com and had me register with Intel before i could download the software. 5.8GB of data later and it takes an age to install. The Control Panel tool on the DE0-Nano CD (which I had to download)  doesn't work because it can't find the Quartus installation ( which I know I installed ). Additionally, the Quartus software generates a notification that it can't contact the Altera site image

     

    I've been doing some research and I understand there are some FAQs on the TerasIC site that might address the Control Panel issue.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • ravelox
    ravelox over 7 years ago

    I liked this video so much I got a DE0-Nano this week. Is there a primer for setting up the build environment? So far, I've followed the links in the Quick Start guide which took me from altera.com to intel.com and had me register with Intel before i could download the software. 5.8GB of data later and it takes an age to install. The Control Panel tool on the DE0-Nano CD (which I had to download)  doesn't work because it can't find the Quartus installation ( which I know I installed ). Additionally, the Quartus software generates a notification that it can't contact the Altera site image

     

    I've been doing some research and I understand there are some FAQs on the TerasIC site that might address the Control Panel issue.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • andywest
    andywest over 7 years ago in reply to ravelox

    I liked this video so much I got a DE0-Nano this week.

     

    That's awesome! As far as the complicated setup, this is a common issue among FPGA boards in general. It was a bit of trial-and-error for me as well. I'll do my best to share what I know.

     

    First, the version of Quartus II does matter. I use Quartus II 10.1sp1 Web Edition (64-bit, I think). Note that the DE0-Nano is a Cyclone IV E Family device.

     

    As you discovered, both Terasic and Altera require you to create accounts to download their software. I don't know any way around this. Altera assumes that you’re associated with a company, so if you’re a hobbyist, just fill it out the best you can.

     

    What OS are you using? When running the DE0-Nano Control Panel in Window 10 64-bit, you might get the error "quartus_pgm download fail". Check the Device Manager in the Windows Control Panel... the USB Blaster driver may be missing. Attempt to update it and point to the Quartus installation folder. You may get error "The hash for the file is not present in the specified catalog file. The file is likely corrupt or the victim of tampering." If so, disable driver signing enforcement, which is described in option 2 from this link: https://www.technipages.com/enable-disable-device-driver-signing.

     

    Again, the setup was slightly painful, but since I got it up and running I haven't had any more problems. Good luck!

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ravelox
    ravelox over 7 years ago in reply to andywest

    Thanks for the information. I'm up and running image

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • andywest
    andywest over 7 years ago in reply to ravelox

    That's great! Enjoy your new FPGA board and let us know what cool things you create.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube