Комментарии:
good vIDEO
Ответитьtag + set = log2(# of blocks in cache)
size of main memory/size of block = # of blocks in cache
N*2set = # of blocks in cache
2offset = size of block
2set = # of rows
Total bits in cache = (size of block * 8 + 2 + tag) * N * 2set //in WB
Total bits in cache = (size of block * 8 + 1 + tag) * N * 2set //in WT
Size of main address – set – offset = tag
I guess they never miss, huh?
Ответить