Forum Discussion
Altera_Forum
Honored Contributor
20 years agohi, thank for your explain about mutil-core CPU.
we know mutex appear in the quartusii4.2, but mailbox appear in the quartusii5.0 and later. i think the altera's idea is to improve the efficiency about the multi-core CPU operating the shared memory. therefore, we shall try our best to use the mailbox. 1 i have had a looked the <Altera Embedded Peripherals Handbook_v5> and <Creating Multiprocessor Nios II Systems Tutorial>, but, i can not find the explicit explain about mailbox how to avoid operation confusion to the same between multi-core CPU. since, i always worry about the problem. i think that only "altera_avalon_mailbox_pend" can not account for the problem. "altera_avalon_mailbox_pend" is only a function we can call. we do not know how to design the hardware in the mailbox. therefor, i only doubt the problem, and i can not sure the problem exist, but i can also not deny the problem do exist. 2 ERIKA Enterprise use the mutex in its design. the software is based upon the mutex which control CPUs to the one and only. it is right when the multi-core resets. but, if ERIKA Enterprise use the mailbox in its design when the multi-core resets, there maybe some problem about CPUs initialization early or late. since, mailbox can not control CPUs to the one and only to access. this is only the guess.