Cache Basics Review I
A list of 32-bit memory address references is given as word addresses.
Assume a direct-mapped cache with 16 one-word blocks.
For each of these references, identify the following fields of the binary address:
Assume the cache is initially empty.
Below is a list of memory references:
# |
Address |
Address in Binary |
Cache Index |
(H)it/(M)iss |
|
1 |
1 |
... 0000 00012 |
1 |
M |
Assume a direct-mapped cache has the features: (i) 64
KiB cache data size, (ii) 1-word cache block size, and (iii) a 32-bit byte-addressed cache reference.
The following conversations took place between a girlfriend and boyfriend.
Girl: Do you think I’m pretty or ugly?
Boy: You’re both!
Girl: What do you mean?
Boy: You’re pretty ugly
|