subject

Consider a byte-addressable main memory consisting of 4 blocks, and a cache with 2 blocks, where each block is 4 bytes.
This means Block 0 and 2 of main memory map to Block 0 of cache, and
Blocks 1 and 3 of main memory map to Block 1 of cache.
Using the tag, block, and offset fields, we can see how main memory maps to
cache as follows.
First, we need to determine the address format for mapping. Each block is 4
bytes, so the offset field must contain 2 bits; there are 2 blocks in cache, so the
block field must contain 1 bit; this leaves 1 bit for the tag (as a main memory
address has 4 bits because there are a total of 24
=16 bytes).

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:00
Annie is creating a corporate report for a company’s annual meeting. in the report, she wants to add the signature of various department heads. which device can annie use to capture signatures to include in the report? a. printer b. monitor c. e-reader d. digitizing tablet
Answers: 1
question
Computers and Technology, 23.06.2019 06:10
The head restraint should be adjusted so that it reaches a.the top of your ears b.the base of your skull c.the top of the head
Answers: 1
question
Computers and Technology, 23.06.2019 20:00
What multimedia system creates an immersive, real-life experience that the user can interact with?
Answers: 1
question
Computers and Technology, 23.06.2019 23:30
What can you prevent issues related to downloading content form the internet
Answers: 1
You know the right answer?
Consider a byte-addressable main memory consisting of 4 blocks, and a cache with 2 blocks, where ea...
Questions
question
History, 27.02.2020 05:58
question
Mathematics, 27.02.2020 05:58
question
Mathematics, 27.02.2020 05:58