Cache Access Example (Part 1)

แชร์
ฝัง

ความคิดเห็น • 78

  • @adelaidee6053
    @adelaidee6053 4 ปีที่แล้ว +71

    Thank you so much for this video lol my CS classes have been kicking my ass since coronavirus started

  • @km-sc4kz
    @km-sc4kz 2 ปีที่แล้ว +9

    man its so hard to find channels like this where exactly what you're searching for is there. Thanks man!

  • @zainabzwain118
    @zainabzwain118 2 ปีที่แล้ว +11

    Finally!!! An amazing explanation, huge thanks 🙏🏼

  • @awatefalmayyas2943
    @awatefalmayyas2943 4 ปีที่แล้ว +4

    thank you so much, I have a prototyping final tomorrow and this video helped me a lot

  • @selvalooks
    @selvalooks 4 ปีที่แล้ว +1

    wonderful , this would be the last time i would need to look for cache hit and miss info

  • @silverelk13
    @silverelk13 3 ปีที่แล้ว +1

    Really appreciate this video, helping me clear up how this works before my final tomorrow, thanks.

  • @stepankylberger1971
    @stepankylberger1971 5 ปีที่แล้ว +41

    Thank you so much for this. English is my second language and I have a huge problem understanding indian English, so this is extremely valuable for me

    • @JohnDoe-fw3lw
      @JohnDoe-fw3lw 4 ปีที่แล้ว +9

      Indian English lets me forgets standart english as you can see

    • @bohdaniatsenko8428
      @bohdaniatsenko8428 4 ปีที่แล้ว +1

      English is my third language, and understanding my Chinese professor was very hard :D
      Great video! I feel like I finally begin to understand this!

    • @SmokeBloody
      @SmokeBloody 4 ปีที่แล้ว +2

      I know right. I mean no offence, but it's hard to perceive an Indian accent.

  • @Masterr59
    @Masterr59 6 ปีที่แล้ว +36

    You saved me life with this, thank you.

    • @LuisR357
      @LuisR357 5 ปีที่แล้ว +1

      Also Me! there is no one who have examples of this

  • @letitrotfuckit
    @letitrotfuckit ปีที่แล้ว +4

    You would do much better than my current cse230 teacher. thank you.

  • @ianrapp3373
    @ianrapp3373 7 ปีที่แล้ว +10

    this helps out a lot, thank you

  • @cindykim3147
    @cindykim3147 4 ปีที่แล้ว +2

    This is absolutely great, thank you!

  • @shikharchaudhary6984
    @shikharchaudhary6984 4 ปีที่แล้ว +1

    Thanks a million for creating this video.

  • @ronencfix3383
    @ronencfix3383 6 ปีที่แล้ว +10

    thanks for the great explanation!

  • @user-hi3yc3lq6r
    @user-hi3yc3lq6r 2 ปีที่แล้ว +2

    So clear and informative, thanks!

  • @sussybakamogus
    @sussybakamogus 3 ปีที่แล้ว +2

    thank you so muchhh!!! I have exam in 2hr and this video just saved me.

  • @jennyggf3556
    @jennyggf3556 5 ปีที่แล้ว +3

    FINALLY a great video!

  • @crashedbboy
    @crashedbboy 5 ปีที่แล้ว +2

    Thank you, very detailed explanation!

  • @ZainabAlAli94
    @ZainabAlAli94 6 ปีที่แล้ว +5

    Thank you clear and simple

  • @hritikpathak455
    @hritikpathak455 4 ปีที่แล้ว +2

    Very nicely explained. Thank you so much.

  • @TheDanchoSuper
    @TheDanchoSuper 7 หลายเดือนก่อน

    one of the best explanations

  • @clashersparadise
    @clashersparadise 2 ปีที่แล้ว

    Exactly what I need for my exam next week, thanks

  • @ahbysok
    @ahbysok 4 ปีที่แล้ว +1

    perfect example!!!!!!! you saved me thank u!!!!

  • @sabitkondakc9147
    @sabitkondakc9147 2 ปีที่แล้ว

    Thank you a lot, you cleared the holes in my mind.

  • @brianduenas5359
    @brianduenas5359 ปีที่แล้ว

    goat no one explains it better and got a final tomorrow wish me luck

  • @tawfiquee
    @tawfiquee 4 ปีที่แล้ว

    Man you are a life saver

  • @electricwatches1
    @electricwatches1 5 ปีที่แล้ว +1

    Made it easy to understand, thanks ;)

  • @hugoirwanto9905
    @hugoirwanto9905 4 ปีที่แล้ว +1

    thank you bro this is super helpful for me!

  • @thomasp3543
    @thomasp3543 ปีที่แล้ว

    great example, thank you!

  • @ismailboumehdi5340
    @ismailboumehdi5340 ปีที่แล้ว

    Very good content!!!!
    Thank you very much!

  • @JohnMarkIsaacMadison
    @JohnMarkIsaacMadison 5 ปีที่แล้ว

    Much better than the Udemy video.

  • @bastien14789
    @bastien14789 6 ปีที่แล้ว +12

    Clear example, thank you a lot. But is there any example with the offset separated in two : block offset and byte offset ? The block offset I think I understand it but I don't see the point to have the byte offset.

    • @matthewwatkins88
      @matthewwatkins88  ปีที่แล้ว +5

      Very, very delayed in my response, the byte offset just refers to the 4 bytes for a number (assuming a 32 bit number). (If it was a 64 bit (8 byte) system, then there would be 3 bits for this portion.)

  • @leeingzhen4152
    @leeingzhen4152 ปีที่แล้ว

    thank you for saving my life

  • @ole9799
    @ole9799 3 ปีที่แล้ว

    this helps me a lot, thx

  • @baneous18
    @baneous18 2 ปีที่แล้ว +1

    Thank you so much .. it's very useful

  • @danaemariegarcia751
    @danaemariegarcia751 7 หลายเดือนก่อน

    GOD BLESS YOU FOR THIS!!!💪

  • @user-ev9oh6qh9w
    @user-ev9oh6qh9w 22 วันที่ผ่านมา

    Thank you so much!!

  • @fariahasan3965
    @fariahasan3965 3 ปีที่แล้ว

    thanks a ton.. one question ... what did you mean by 'V ' in the table?

  • @rehy1989
    @rehy1989 5 ปีที่แล้ว

    Thanks man appreciated

  • @jameswo4794
    @jameswo4794 5 ปีที่แล้ว +2

    beautiful

  • @kirtilad7367
    @kirtilad7367 4 ปีที่แล้ว +3

    Thanks for the video! (PS. you sound just like Tony Stark/RDJ!)

    • @wachowski9525
      @wachowski9525 3 ปีที่แล้ว

      i cant unhear it now lol

  • @hughmungus1572
    @hughmungus1572 5 ปีที่แล้ว

    Literally the only explanation on the internet for this shit

  • @Christian93G
    @Christian93G 2 ปีที่แล้ว

    very helpful!!

  • @lllll7260
    @lllll7260 ปีที่แล้ว

    the table of addr,tag,set,offset of the left is memory or cache? The table on the right side is cache right?

  • @carljohnson7342
    @carljohnson7342 6 ปีที่แล้ว +1

    thanks

  • @AriyaAdinatha
    @AriyaAdinatha 3 ปีที่แล้ว

    thank you

  • @esfomeado99
    @esfomeado99 4 ปีที่แล้ว

    Muito obrigado !

  • @zefanyasoplantila1430
    @zefanyasoplantila1430 3 ปีที่แล้ว

    How about the data? Is there any changes? When we change the tag

  • @narasimhadeshpande5052
    @narasimhadeshpande5052 4 ปีที่แล้ว

    god bless u !!

  • @digitalogic7742
    @digitalogic7742 ปีที่แล้ว

    I have a question. What if the addresses in memory are not all uniform bit size. Each of your addresses in the example are 12 bit. But what if they differ, such as between 12 - 16 bits? Will the process you are using here work on addresses of varying bits? Such as 0x408ed4, 0x10019d94, 408ed8...

    • @matthewwatkins88
      @matthewwatkins88  ปีที่แล้ว

      Assuning you are refering to immediate values (bit positation 15-0 for the immediate values portion) they are all 16 bits. It may only show a smaller number if the higher order bits are all zero. As a further extendion, in MIPS, all addresses are 32 bits (with immediate values of 16 bits). Does that address your question?

    • @digitalogic7742
      @digitalogic7742 ปีที่แล้ว

      @@matthewwatkins88 yes ok thank you very much for your answer!

  • @kotexawa8183
    @kotexawa8183 3 ปีที่แล้ว

    So is the valid bit always set to 1 when we're leading data into the cache? When is it set to zero?

    • @michaelle4031
      @michaelle4031 3 ปีที่แล้ว +1

      It's always zero at the start. It becomes 1 once referenced

  • @TuanAnh-bq2wt
    @TuanAnh-bq2wt ปีที่แล้ว

    I don't know why in your example with the same tag we always have the same set ? What will be happen when we have the addresses with the same tag and the different set ?

    • @TuanAnh-bq2wt
      @TuanAnh-bq2wt ปีที่แล้ว

      Oh now i understood we must look at the set first before we compare the tags

  • @ChristopherRockhill
    @ChristopherRockhill ปีที่แล้ว

    What is the purpose of the offset bits? I’m confused on that point.

    • @matthewwatkins88
      @matthewwatkins88  ปีที่แล้ว

      The offset bits are the least significant portion of the number. The number as a whole has three portions, the offset, the set, and the tag.

  • @theuberman7170
    @theuberman7170 3 ปีที่แล้ว

    set = line?

  • @CROXoDyLE
    @CROXoDyLE ปีที่แล้ว

    can anyone please explain why we initially set the valid bit to 1 or 0. Every video I come across "so we set this bit to 1" with no further reasoning behind it. Otherwise everything was super helpful!

    • @matthewwatkins88
      @matthewwatkins88  ปีที่แล้ว

      By the nature of the system every bit must have a value, which in our case must be either a zero or a one. Does that help any?

  • @eddit0r890
    @eddit0r890 ปีที่แล้ว

    👍👍👍👍👍

  • @josephmasinre1840
    @josephmasinre1840 3 ปีที่แล้ว

    thanks man, you really helped a nigga out

  • @jinjing1857
    @jinjing1857 ปีที่แล้ว

    Save me from the poor lecture notes but advanced question sheet

  • @luisfernandobenavidesarias482
    @luisfernandobenavidesarias482 3 ปีที่แล้ว

    You shouldn't get 5 Bits from an logarithm of Bytes, seems like killing kitten

  • @han_4706
    @han_4706 3 ปีที่แล้ว

    thnx bro (=

  • @tarifadib
    @tarifadib 4 ปีที่แล้ว

    amazing example. university lecturer is not as good as you

  • @dpm2213
    @dpm2213 3 ปีที่แล้ว +1

    Professor explains concept for 3 hours... *doesn't make sense*
    5 minutes into TH-cam video... "This shit is so easy wtf"

    • @dpm2213
      @dpm2213 3 ปีที่แล้ว

      using a cache with only 5 blocks really makes it something simple enough you can visualize and understand

  • @mitchellchase6667
    @mitchellchase6667 5 ปีที่แล้ว +4

    Poor explanation. You should state if we are using byte addressing, word addressing, or what.

    • @AP-uc7oz
      @AP-uc7oz ปีที่แล้ว

      Explanation is fine, get your intellect up

  • @paulancajima
    @paulancajima 5 ปีที่แล้ว

    thanks