Forum Discussion
Altera_Forum
Honored Contributor
16 years ago<div class='quotetop'>QUOTE (mschnell @ Jul 27 2009, 04:36 PM) <{post_snapback}> (index.php?act=findpost&pid=23289)</div>
--- Quote Start --- <div class='quotetop'>QUOTE (babysnow @ Jul 27 2009, 03:33 PM) <{post_snapback}> (index.php?act=findpost&pid=23281) --- Quote End --- --- Quote Start --- If I replace the FIFO with mailbox as the use of a share memory. Would it be easier? I just read some materials about mailbox core.[/b] --- Quote End --- Not really. A FiFo separates the to processors completely like a data cable. No need for additional synchronization very simple programming logic. Shared memory needs a semaphore (Mutex) to protect mutual accesses (e.g.for delivering and accepting messages, see appropriate literature). Altera does provide such a hardware Mutex fr the Avalon bus. You need to do appropriate software to work decently with same. -Michael [/b] --- Quote End --- Thank you for your reply. The Mailbox Core datasheet says that it owns an inner mutex, no need for user to add it artificially.