2 way set associative cache mapping: Hit and Miss

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2024

Комментарии • 12

  • @ti6252
    @ti6252 2 года назад +11

    my final is in 4 hours
    this really helped me thank you

    • @digitekkeys2024
      @digitekkeys2024  2 года назад +2

      Glad you like it. please subscribe and share.

  • @apollon-peterkallipolitis632
    @apollon-peterkallipolitis632 Год назад

    I saw that in this example we always changed the tag of the way1. I wanted to ask whether that depends on the LRU number or if it doesn't. Do we always change the way1 tag or the tag of the wayX with X being equal to the LRU.

  • @LamNguyen-jp5vh
    @LamNguyen-jp5vh 2 года назад +1

    Thank you so much! Subcribed!!

  • @sms22782697
    @sms22782697 2 года назад

    May l ask why it needs 2nd comparison?? if l just visit 1 times those address, is it only need 1st col? thanks!

    • @digitekkeys2024
      @digitekkeys2024  2 года назад +2

      In cache organizations, the 'SET' address identifies a set of '2' cache lines, the cache is said to be 2-way set associative. If the cache organization is such that the 'SET' address identifies a set of '4' cache lines, the cache is said to be 4-way set associative. So you need to map for each cache line. Sometimes in questions it is asked find hit ratio for second cache.

  • @elaanmoazem286
    @elaanmoazem286 3 года назад +2

    thanks, good work

  • @samuelchibinjimwanza443
    @samuelchibinjimwanza443 5 месяцев назад +1

    Thank.you

  • @m8121
    @m8121 2 года назад +3

    Didn’t understand at all