Altera_Forum
Honored Contributor
11 years agoArrow SoCKit FPGA-to-HPS SDRAM (f2h_sdram) Help Needed!
Hello All!
I've been visiting this forum daily and, for the most part, finding answers to my questions. However, I've finally gotten to a point in my project hat I have no idea what I'm doing! As a precursor, you should know that I'm a young engineer and I really do have very little experience using Altera products and coding linux drivers. But that is why I'm here -- to learn! Also, I've successfully followed a nice tutorial by Zhemao (?) for using the lightweight HPS-to-FPGA bridge to control FPGA I/O, but I now need to understand how to use HPS DDR3 memory and how to access the HPS memory from the FPGA. I have read through this (http://www.alteraforum.com/forum/showthread.php?t=45290)tutorial, but I am looking for something a bit more in depth (step-by-step) from start to finish, if you will. Just a simple example (as described below). I don't like to sell myself short, but... I've seen several examples on this forum and I really do need a dumbed-down, step-by-step guide of creating a very simple design (Qsys/Linux driver). Perhaps a simple example of taking a push button output (an HPS button?), storing it in DDR3 memory, and turning on an FPGA led...? That way I can begin to understand both the device driver, the Qsys, the Quartus, and the pin-layout aspects of dealing with DDR3 and f2h_sdram (possibly with the address span extender). As mentioned, I am using the Arrow SoCKit -- it has the Cyclone V 5CSXFC6D6F31C8 SoC. Any and all help is needed! (Even if it is just pointing me to other posts that I've already read.) Note: For those who are interested, here's my ultimate project goal that I need to accomplish once I understand how to utilize DDR3... Recieve streaming video over ethernet (at giga-bit rate) through the HPS and store in DDR3 SDRAM; read the stored video from the FPGA (f2h_sdram0?) and perform predefined video processing; push the processed data back to the HPS (f2h_sdram1?) where further processing will be performed (tracking, etc.). If any one has better design ideas, feel free to share (in a PM preferably).