Forum Discussion
Altera_Forum
Honored Contributor
16 years agoAre all your Cpus trying to lock the mutex at the same time? Arbitration between different Avalon masters isn't always fair, and it could result in giving access to the same CPUs.
You could try and acquire the mutex through the altera_avalon_mutex_trylock() and wait a random number of cycles before trying again if it fails.