Forum Discussion
Altera_Forum
Honored Contributor
20 years agoQuestion about multiprocessor code execution
When I use nios2-download to send an elf file to a multiprocessor system, how does it know which processor to use to execute the code? Is it solely based on the addresses in memory that the code is l...
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by bkucera@Jan 3 2006, 08:48 PM ok, but how would sending that message work? doesn't that imply that there's already some code running on that cpu waiting to receive the message?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=11913)
--- quote end ---
--- Quote End --- Yes... the second CPU have to stay somehow sleeping (e.g., in an onchip memory inside a loop), then when the transfer is completed the CPU recognises it and you have to jump to the right location... there was a thread on a similar topic a few days ago on the forum... (I looked for it bu I couldn't find it again, sorry!) bye Paolo