Closed nuraalkhateeb closed 7 years ago
Not between the HPS and the Nios, but only between 2 Nios processors. I'm not sure, but if I recall correctly the mailbox core does not pass data, but rather pointers. I'm not sure how it would behave if you use a HPS and a Nios processor, since the pointers would not correspond to the same address space.
I did see an altera powerpoint online called "Building Multi-Proccessor FPGA Systems" where they were using mmap to map the physical address of the mailbox to virtual memory.
I probably have to take this approach then instead of using the altera avalon mailbox simple core.
You can also just use a mutex to control access to some shared memory that both CPUs have access to.
Thanks Sahand. I'll look into using a mutex as well.
Hi Sahand,
I was wondering, have you used the altera avalon mailbox simple core in the past to communicate data between the HPS and Nios side?
Thanks