FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5957 Discussions

Accessing Fabric PIO from the VxWorks on Arria10.

Sukesh1
Beginner
317 Views

 

Hi,

 

I am trying to Access the PIO IP instantiated on the FPGA fabric side from the VxWorks Application to toggle LED on the board.

I did not find any example design/reference to understand how it works. Could you please help me understand how it works and how we target PIO memory address from the application.

 

Also, where do we find the drivers of the FPGA IP cores? If i am not wrong it is at path: installation_folder>20.3>ip>altera>sopc_builder_ip>altera_avalon_pio.

But when I do it this way I found below error messages.  

Sukesh1_1-1714372508105.png

Kindly help me understand if i am missing something here.

 

Thanks,

Sukesh.Pednekar

Labels (2)
0 Kudos
1 Solution
Jeet14
Employee
191 Views

Hi Sukesh,


This is duplicated case. This same query has been answered on the IPS case and email id.


Regarding the example for PIO core with HWLIB. There is some reference given with the NIOS II and PIO in the below document.

https://www.intel.com/programmable/technical-pdfs/683525.pdf


It seems we don’t have driver for FPGA IP’s with the HPS with the Baremetal/HWLIB.

You can find the available and latest driver list with the Baremetal/HWLIB on https://github.com/altera-opensource/intel-socfpga-hwlib/tree/master/examples/A10


But if you are going to use the linux, then yes we do have PIO driver in linux and same we have showed you using the LED/Button example from the GSRD/GHRD.

https://www.rocketboards.org/foswiki/Documentation/LinuxDrivers


With that, I now transition this thread to community support. 

Thank you.


Best regards,

Tiwari


p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.




View solution in original post

0 Kudos
2 Replies
Vipin_Singh1
Moderator
247 Views

Hi Sukesh, we would like to inform you that we are routing your query to the dedicated team for further assistance.


0 Kudos
Jeet14
Employee
192 Views

Hi Sukesh,


This is duplicated case. This same query has been answered on the IPS case and email id.


Regarding the example for PIO core with HWLIB. There is some reference given with the NIOS II and PIO in the below document.

https://www.intel.com/programmable/technical-pdfs/683525.pdf


It seems we don’t have driver for FPGA IP’s with the HPS with the Baremetal/HWLIB.

You can find the available and latest driver list with the Baremetal/HWLIB on https://github.com/altera-opensource/intel-socfpga-hwlib/tree/master/examples/A10


But if you are going to use the linux, then yes we do have PIO driver in linux and same we have showed you using the LED/Button example from the GSRD/GHRD.

https://www.rocketboards.org/foswiki/Documentation/LinuxDrivers


With that, I now transition this thread to community support. 

Thank you.


Best regards,

Tiwari


p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.




0 Kudos
Reply