Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
公告
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
21615 討論

mutex with onchip memories?!

Altera_Forum
榮譽貢獻者 II
1,297 檢視

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 積分
3 回應
Altera_Forum
榮譽貢獻者 II
577 檢視

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.
Altera_Forum
榮譽貢獻者 II
577 檢視

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
Altera_Forum
榮譽貢獻者 II
577 檢視

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?
回覆