logo

Crowdly

Consider a MIPS processor with a main meory of 16 Mbytes, with a cache of 4 Kbyt...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Consider a MIPS processor with a main meory of 16 Mbytes, with a cache of 4 Kbytes, with write-back policy, direct mapped and blocks of 64 words. The miss penalty is 27 cycles. Nevertheless, if a block has to be copied from Cache to Main Mermory, the miss penatly is doubled. Calculate the number of cycles of the memmory stage (MEM stage) when the instruction lw $5, 120($15)  is executed taking into account that this instruction accesses to Main Memory address 0x75B53C to get the data. In the nex table you have some information about the control area of the data cache (the valid bit of the cache blocks in the table is 1; in the rest of blocks the valid bit is 0).

Block

DTAG
0xA0

 75B

0x5

0

 55B
0xD1 CF8

Block=num. of block of Cache, D=Dirty bit

More questions like this

Want instant access to all verified answers on informatica.cv.uma.es?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome