Forum Discussion
Altera_Forum
Honored Contributor
11 years agoYou'll probably need some kind of mutual exclusion lock anyway - most likely if two fields must be updated together.
Commenting in the code which cpu writes to which variables (or structure members) will highlight any places where you might have a write-write collision. Separating things out completely will generate ugly unmaintainable code.