Altera_Forum
Honored Contributor
11 years agoCommunication between arm hps and fpga slave
Hi everybody,
I need to transfer data from arm to fpga on a Cyclone V 5CSXFC6D6F31C6. I'm trying with a little test program, I've a simple peripheral in FPGA connected to the 4 leds and mapped in the hps memory space. I finally managed to write and read data from it from a C program running on ARM, using mmap() to map the device in the program virtual space. This is a peaky approach, I've seen several tutorials using hps library and functions, but I cannot figure out how I can use them (which compiler I have to use? which include path? wich... I don't know?!). Any help would be really appreciate, Thank you in advance.