Howdy-
I have a FPGA connected to an IMX6Q via PCIe that provides some registers. My questions center around multi-core FPGA register access. Admittedly I have not dug into the docs - I was hoping to leverage someone else's knowledge.
Thanks!
Tim
Actually it is OK if different cores are using some external (outside of the core) unit like PCI.
Of course the software need to make sure that in one exact moment only one thread uses it.
However it does not matter on which core it run.
And in case of Linux it manages it fine on multicore processor like i.MX6Q.
Have a great day,
Victor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks for your reply!
So there is no HW arbitration between two threads accessing the FPGA (PCIe)?
If 2 threads mmap the region of FPGA registers, nothing in HW protects against a single u32 access/read (like the AXI)? It's a purely up to SW to arbitrate?
Thinking about PCIe like a memory, I don't believe I've seen protection around every time I read from RAM... unless there is a difference with-respect-to how the core/MMU views accesses between RAM and PCIe device.
Thanks!
Yuri answered the question in another thread:
https://community.nxp.com/thread/502868