0 votes 0 votes In a cache memory if total number of sets are ‘$s$’, then the set offset is: $2^8$ $\log_2s$ $s^2$ $s$ CO and Architecture nielit2017dec-scientistb co-and-architecture cache-memory + – admin asked Mar 30, 2020 • retagged Oct 21, 2020 by Krithiga2101 admin 1.6k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
2 votes 2 votes If $'s'$ is the number of sets in the cache, then the set index has $\log_{2}s$ bits. References: https://cseweb.ucsd.edu/classes/su07/cse141/cache-handout.pdf https://www.d.umn.edu/~gshute/arch/cache-addressing.xhtml https://courses.cs.washington.edu/courses/cse378/09wi/lectures/lec15.pdf So, the correct answer is $(B).$ Lakshman Bhaiya answered Aug 1, 2020 • edited Aug 1, 2020 by Lakshman Bhaiya Lakshman Bhaiya comment Share Follow See 1 comment See all 1 1 comment reply gatecse commented Aug 1, 2020 reply Follow Share Which of those refreences has the term "set offset"? 1 votes 1 votes Please log in or register to add a comment.
0 votes 0 votes If S is the number of sets in our cache, then the set index has s=log2 S bits. topper98 answered Mar 19, 2020 topper98 comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Number of bits required to address s sets = log S (base 2) B is correct. smsubham answered Apr 2, 2020 smsubham comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes option B) If s is the number of sets in cache then set offset is log2(S) Sanandan answered Sep 5, 2020 Sanandan comment Share Follow See all 0 reply Please log in or register to add a comment.