retagged by
557 views
0 votes
0 votes
Given a 32 bit processor with 16 MB main memory, 32 KB 4 way set associative on chip cache and block size of 16 words, The number of tag bits in memory address format are : ?

Here we will take the length of instruction as 32 bits or 24 ? Why ?
retagged by

1 Answer

0 votes
0 votes

32 bit processor means vitual address 32 bits

main memeory or physical address is 2^24 that is 24 bits

32 KB 4 way set associative on chip cache and block size of 16 words

block size of 16 words = 2^4   (here i have a doubt ,in this qs word size is not given,should i take standard word size 4 B..then block size will be 64 B,then 2^6)

cache size = 2^15

no of blocks  = 2^9

no of sets = 2^9 /4 = 2^7.

so tag bits = 24 - 6- 7 =11 (considering word size as 4 B...dont know i am right or wrong)

edited by

Related questions

1 votes
1 votes
2 answers
1
gauravkc asked Jan 15, 2018
468 views
0 votes
0 votes
1 answer
2
junior hacker asked Jan 15
175 views
a computer has 32-bit instructions and 12-bit addressing if there are already 250 two address instruction how many one address instruction can be formulated
2 votes
2 votes
1 answer
4