Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21584 Discussions

mutex with onchip memories?!

Altera_Forum
Honored Contributor II
1,224 Views

hi, 

it is possible use one mutex by one processor to access multiple onchip memory. 

otherwise it is possible access theses memories through one mutex. 

if it is possible, how can i do this. 

best regards
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
504 Views

I'm afraid I don't understand your question. Could you describe the problem your are trying to solve, and why would you like to solve it with mutexes and several onchip memories? 

Mutexes are usually used to protect memory shared between several systems.
0 Kudos
Altera_Forum
Honored Contributor II
504 Views

hi, 

i use more than onchip memory and i want access theses memories through the mutex to avoid problem if the nios processessor access to one of thses memories. 

it is the same role that the mutex do with a shared memory. 

thk
0 Kudos
Altera_Forum
Honored Contributor II
504 Views

I still don't understand... if you have only one CPU and several onchip memories, you can just connect everything together without any mutex and it will work. 

Or do you have another component that can access those memories at the same time than the CPU?
0 Kudos
Reply