Awesome q2a theme
0 votes
45 views

in CO & Architecture by (191 points) | 45 views
0
16?
0
Yes... Can you please explain how.
+1
You'll have to convert the byte address into block address, as caches are always mapped according to the blocks 1440 byte address, means, 720 as the block address. (since there are two bytes in a block).

720%64 is the required address, which is 16.
0
Thanks

1 Answer

+2 votes
Best answer

Given:

Direct Mapped cache.

No of blocks in cache= $2^{6}$

Block offset = 2 bytes.

Byte address : 1440 (decimal).

Solution:

From given part, address format will look like,

Index                        BO
  6 1

 

Now,

Convert given byte address to Binary format.

(1440) decimal ---> 10110100000 (binary)

This binary address will be interpreted by cache controller as --                                     

1011(Tag) 010000(index) 0(BO)

From this u can get cache block index which is 16.

by (431 points)
selected by
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
Welcome to GATE CSE Doubts, where you can ask questions and receive answers from other members of the community.
9,003 questions
3,134 answers
14,387 comments
95,817 users