Tutorial to create a custom IP module in Qsys that is used to control LEDs via an Avalon bus. This is connected to the lightweight AXI bus so the HPS can control the LEDs by writing to memory.
Includes information such as creating custom IP, generating preloader, U-boot, writing to SD card, and more.
This tutorial is partially inspired by the Gist I made: https://gist.github.com/addisonElliot...
Also, the tutorial was inspired by Rocketboard tutorial: http://bitlog.it/general/building-emb...
Link for project files can be found at: https://addisonelliott.net/DE10NanoUA...
Annotation were removed from YouTube so I cannot document some of the errors I made in video without having to upload a new one. Here are my notes:
7:29 Do not delete soc_system.qsys.
21:59 No, display name is what is shown in the left hand side of Qsys. Name this Custom LEDs
25:10 When deleting that component, the old connections will still be there. In System, select Remove dangling connections to remove these.
26:18 When moving it, open the TCL and change the path to the .sv file. This caused me issues later on.
27:00 This is showing what path to change when you move the TCL file. This is where I messed up and it gave me errors.
27:38 Okay, so once you fix that, just generate the HDL files.
27:52 Don't close Qsys, we will need it a bit later.
29:12 Go back to Qsys to get the instantiation template.
32:26 Made mistake, must run analysis before TCL scripts.
42:55 On Windows, run EDS Command Shell as administrator! I received errors for this earlier
44:54 I messed up and my custom_leds did not have the DTB TCL stuff in it. However, it's not necessary to generate a new DTB in this case since we are not writing a driver. However, in some instances you will need to like is described in the guide.
Watch video DE10 Nano SoC - Blinking LEDs using HPS & FPGA Tutorial online without registration, duration hours minute second in high quality. This video was added by user Addison Elliott 16 October 2017, don't forget to share it with your friends and acquaintances, it has been viewed on our site 19,354 once and liked it 176 people.