Draw a diagram of the cache memory system that shows: Memory Addresses for each
ID: 3728320 • Letter: D
Question
Draw a diagram of the cache memory system that shows:
Memory Addresses for each of the 32 bytes (in binary)
The cache structure
The memory address structure with the number of bits for each piece of the address
What is compared to what when checking for an address in the cache.
Now populate your memory with the lower case letters of the alphabet, followed by digits, both in ascending order. Start the population with the first (lowest address) memory location.
Now load the cache with the first and fourth memory blocks.
The CPU generates address 01101. Is it in the cache? Explain what the CPU does to determine this.
If the memory block is currently in the cache, what character is found at the above address?
Explanation / Answer
Answer
given by
Memory Address for both 32 Bytes:
Cache constitution:
every block can be map to any line as fully-associative.
come over is compare to what when examination for an address in the cache:
As map is fully associative, when CPU create an deal with, each block in cache reminiscence is compared againt generated deal with. There is no need to key here as every block can reside in any line, hence all lines need to be tartan eliminate index role.
CPU address 01101 does not exist within this reminiscence strcuture. Invalid deal with error will be terrified.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.