Hi,
I want to understand a point about cache. Following is the example:
1. We have a global variable "var" which is cache line aligned and is present in MSMC RAM.
2. This variable is updated in CORE0 and I have performed Wb and Invalidation of this variable.
3. Now, in CORE1, I will try to read this variable. Should I invalidate this before reading??? I am just reading this variable not writing it. I understand that, if I have to write this var in CORE1, I have to invalidate -> change the var -> Wb.
Also, provide a case where we have to perform
1. Wb only
2. Wb and Inv together, by taking the same example
Thanks,
RC Reddy