Hello everyone
We know that C6678 has 32KB 2-way set-associative L1D cache. Does it mean one way has 32KB or 16KB?
L1D line size is 64 Bytes. Does it mean one way has the whole line or two way share one line?
Thanks
Xining Yu
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello everyone
We know that C6678 has 32KB 2-way set-associative L1D cache. Does it mean one way has 32KB or 16KB?
L1D line size is 64 Bytes. Does it mean one way has the whole line or two way share one line?
Thanks
Xining Yu
Hi Xining yu,
Xining yu says said:We know that C6678 has 32KB 2-way set-associative L1D cache. Does it mean one way has 32KB or 16KB?L1D line size is 64 Bytes. Does it mean one way has the whole line or two way share one line?
Here, the 32KB refers to the capacity of L1D cache. As per the doc below, it states
As per the section 1.8.3, Compared to a direct-mapped cache, each set of a 2-way set-associative cache consists
of two line frames, one line frame in way 0 and another line frame in way 1. A line in
memory still maps to one set, but now can be stored in either of the two line frames. In
this sense, a direct-mapped cache can also be viewed as a 1-way cache.
For C66xx, the size of the single cache line is 64 bytes. Please refer the table of section 1.8.3