Write Allocate versus Not Allocate
Assume: a 16-bit write to memory location 0x0 and causes a miss
Do we read in the block?
Yes: Write Allocate
No: Write Not Allocate
Cache Index
0
1
2
3
:
Cache Data
Byte 0
0
4
31
:
Cache Tag
Example: 0x00
Ex: 0x00
0x00
Valid Bit
:
31
Byte 1
Byte 31
:
Byte 32
Byte 33
Byte 63
:
Byte 992
Byte 1023
:
Cache Tag
Byte Select
Ex: 0x00
9
Dirty-bit
Previous slide
Next slide
Back to first slide
View graphic version