Forum Discussion
Altera_Forum
Honored Contributor
15 years agoI need some help of creating shared ddr sdram memory
Hi, everyone:), My system is like this : Using NEEK, I created 2 processors both running in the ddr sdram. Processor1's reset vector offset is 0x100 and exception vector offset is 0x120. Proce...
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- You'll need to use Dekker's algorythm on uncached memory to do any form of inter-cpu synchronisation. Generating a 'spin lock' is easiest, and, in fact, all the other synchronisation schemes are based on them. --- Quote End --- Hi, dsl, thanks for your reply. However, Deckker's algorithm is kind of 'busy waiting' or 'spin lock' as you said. What I need is some kind of blocking machinism. Just like then recv() in socket programming , it will block the process. In mailbox, we have pend(). And though it seems that the lock() in Mutex is a blocking rountine, as I said before , it can not be used to coordinate processes.:(