- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
i am writing soft- and hardware for a SOPC-System which includes three processors sharing on pheripherial. I am not really understanding the use of a mutex. Do i need a mutex for every processor, or is it enough to have only one mutex for one peripherial? My peripherial is a avalon memory mapped slave written in vhdl. If i have only one mutex, does the avalon bus automatically ensure, that the processors can access the mutex one after the other, or could it happen, that one processor never gets the mutex if the others aquire and relase it in a loop? What happens, if a processor writes ist id to the mutex while another one is reading? Corrupted data? PaddyLink Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page