
































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
The digital system design, is very helpful series of lecture slides, which made programming an easy task. The major points in these laboratory assignment are:Cache Organization, Architectural View of Memory, Cache Memory, Part of Main Memory, Multiple Tag, Block Pairs, Cache Terminology, Average Cache Access Time, Cache Misses, Simple Memory System, Locality of Reference
Typology: Slides
1 / 40
This page cannot be seen from the preview
Don't miss anything!
Caching needs to be Transparent!
0 1 2 3 4 5 6 7 8 9
10 11 12 13 14 15
Ld R1 M[ 1 ] Ld R2 M[ 5 ] Ld R3 M[ 1 ] Ld R3 M[ 7 ] Ld R2 M[ 7 ]
Processor Cache
tag data
R R R R
Memory 2 cache blocks 4 bit tag field 1 byte block size
V V
0 1 2 3 4 5 6 7 8 9
10 11 12 13 14 15
Ld R1 M[ 1 ] Ld R2 M[ 5 ] Ld R3 M[ 1 ] Ld R3 M[ 7 ] Ld R2 M[ 7 ]
Processor Cache
tag data
R R R R
Memory Is it in the cache? No valid tags
This is a Cache miss Allocate: address tag Mem[1] block Mark Valid
0 1 2 3 4 5 6 7 8 9
10 11 12 13 14 15
Ld R1 M[ 1 ] Ld R2 M[ 5 ] Ld R3 M[ 1 ] Ld R3 M[ 7 ] Ld R2 M[ 7 ]
Processor Cache
tag data
R R R R
Memory
Misses: 1 Hits: 0
lru
Check tags: 5 1 74 Cache Miss 1 01 5 150
0 1 2 3 4 5 6 7 8 9
10 11 12 13 14 15
Ld R1 M[ 1 ] Ld R2 M[ 5 ] Ld R3 M[ 1 ] Ld R3 M[ 7 ] Ld R2 M[ 7 ]
Processor Cache
tag data
R R R R
Memory
Misses: 2 Hits: 0
lru
0 1 2 3 4 5 6 7 8 9
10 11 12 13 14 15
Ld R1 M[ 1 ] Ld R2 M[ 5 ] Ld R3 M[ 1 ] Ld R3 M[ 7 ] Ld R2 M[ 7 ]
Processor Cache
tag data
R R R R
Memory
Misses: 2 Hits: 1
lru
0 1 2 3 4 5 6 7 8 9
10 11 12 13 14 15
Ld R1 M[ 1 ] Ld R2 M[ 5 ] Ld R3 M[ 1 ] Ld R3 M[ 7 ] Ld R2 M[ 7 ]
Processor Cache
tag data
R R R R
Memory
Misses: 2 Hits: 1
lru
0 1 2 3 4 5 6 7 8 9
10 11 12 13 14 15
Ld R1 M[ 1 ] Ld R2 M[ 5 ] Ld R3 M[ 1 ] Ld R3 M[ 7 ] Ld R2 M[ 7 ]
Processor Cache
tag data
R R R R
Memory
Misses: 2 Hits: 1
lru
0 1 2 3 4 5 6 7 8 9
10 11 12 13 14 15
Ld R1 M[ 1 ] Ld R2 M[ 5 ] Ld R3 M[ 1 ] Ld R3 M[ 7 ] Ld R2 M[ 7 ]
Processor Cache
tag data
R R R R
Memory
Misses: 2 Hits: 1
lru
7 5 and 7 1 (MISS!)