cacheBlock Type
a cache block consists of the following components:
- valid indicates that the block is used (i.e. holds data)
- dirty indicates that the block in cache has been modified, i.e., it is no longer consistent with the main memory and must therefore be written back before another block is replacing it
- tag is the tag of the cache block to reconstruct its address
- data holds the bytes of the cache block (its size is param.BlockSize)
Record fields
Record Field | Description |
|
|
Full Usage:
dirty
Field type: bool
Modifiers: mutable |
|
Full Usage:
tag
Field type: uint32
Modifiers: mutable |
|
Full Usage:
valid
Field type: bool
Modifiers: mutable |
|