Forum Discussion
tehjingy_Altera
Regular Contributor
2 years agoHi Itzthiru
Is the LED connected to the HPS GPIO or a PIO soft IP?
When you connect to the PIO Soft IP you could interface it through the HPS to FPGA bridge.
You could use the devmem tool to read the memory address starting from the HPS to FPGA bridge it is connected to , either lightweight or normal.
You could get the base address from here:
https://www.intel.com/content/www/us/en/programmable/hps/arria-10/hps.html
As for the offset you could get it from the Quartus Platform Designer Tool under the Address Map Tab.
If you have registered the GPIO in the device tree, you could view the GPIO in the linux /dev directory.
Regards
Jingyang, Teh