Forum Discussion
Linux to/from fpga fabric command line examples
- 1 year ago
Hi
There is no documentation on the how to.
But in brief the command to access the fpga fabic from linux is using the md or mw command:
https://www.unix.com/man-page/osx/1/md/
https://www.barebox.org/doc/latest/commands/mem/mw.html
To connect the HPS to fabric, there are bridges that connects them. The bridge you are looking at is the H2F bridge:
To read and write to the FPGA Fabric you will need to access through the H2F bridge window which could be found here:
https://www.intel.com/content/www/us/en/programmable/hps/agilex/hps.html
As for the the IPs that are connected to the bridge, you could find the offset from the Address Map in the Platform Designer.
To read and write to the IP you would be h2f bridge + IP offset.
Regards
Jingyang, Teh
Hi
There is no documentation on the how to.
But in brief the command to access the fpga fabic from linux is using the md or mw command:
https://www.unix.com/man-page/osx/1/md/
https://www.barebox.org/doc/latest/commands/mem/mw.html
To connect the HPS to fabric, there are bridges that connects them. The bridge you are looking at is the H2F bridge:
To read and write to the FPGA Fabric you will need to access through the H2F bridge window which could be found here:
https://www.intel.com/content/www/us/en/programmable/hps/agilex/hps.html
As for the the IPs that are connected to the bridge, you could find the offset from the Address Map in the Platform Designer.
To read and write to the IP you would be h2f bridge + IP offset.
Regards
Jingyang, Teh