Forum Discussion
Altera_Forum
Honored Contributor
11 years agoThere are lots of examples lurking.
Linux has a /dev entry for each BAR of every PCI slave, so it is as simple as identifying the correct entry, opening the device, and using read(), write() or mmap(). These transfers will be relatively slow because each memory access will be a separate PCIe transfer and they take a long time. Fine for program load and debug, not really any use for transferring 'real' data.