retagged by
1,626 views

4 Answers

2 votes
2 votes

If $'s'$ is the number of sets in the cache, then the set  index has $\log_{2}s$ bits.

References:

So, the correct answer is $(B).$ 

edited by
0 votes
0 votes
If S is the number of sets in our cache, then the set index has s=log2 S bits.
0 votes
0 votes
Number of bits required to address s sets = log S  (base 2)

B is correct.
0 votes
0 votes
option B) If s is the number of sets in cache then set offset is log2(S)
Answer:

Related questions

1 votes
1 votes
2 answers
1
admin asked Mar 30, 2020
3,255 views
Which of the following is added to the page table in order to track whether a page of cache has been modified since it was read from the memory?Reference bitDirty bitTag ...
3 votes
3 votes
5 answers
2
admin asked Mar 30, 2020
3,048 views
A stack organized computer has which of the following instructions?zero-addressone-addresstwo-addressthree-address
0 votes
0 votes
3 answers
4
admin asked Mar 30, 2020
1,975 views
We have $10$-stage pipeline, where the branch target conditions are resolved at stage $5$. How many stalls are there for an incorrectly predicted branch?$5$$6$$7$$4$