First thing is understaning at high level what we are aimed to do.
We are going to use DDR3 Ram and map it as a common location that HPS (running linux) will write in memory location using a C program. FPGA looks into the same DDR3 Ram location. The memory is mapped to LEDs connected to FPGA. At the end, running a counter in C will light up LEDs.
How to design:
- We will use "Designer" to add IPs.
How to program:
- We will use JTAG to program FPGA
- We will generate header file listing the memory locations. Then we will write a C code to assign value based on a counter to the memory.
How to start:
Download the zip file. Open it in Quartus Prime.
you need linux loaded on HPS.
- Linux LXDE Desktop (kernel 4.5)
- Connect linux to internet
- Move HPS_FPGA_LED built from c file to linux that will run the counter.
- Program FPGA; MSEL[4:0] needs to be set to “01010” before the board is powered on.
- Run HPS_FPGA_LED in terminal
- You should see LEDs will light up on the counter running.
Comments
Please log in or sign up to comment.