1 5 3 Hit or Miss Example

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ต.ค. 2024

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

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

    Cache Index = Block Address % #Cache Blocks
    but in the practice quiz, correct answer is shown as
    Cache Index = Byte Address % #Cache Blocks

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

    I guess they never miss, huh?

    • @eleanor7079
      @eleanor7079 3 ปีที่แล้ว +8

      lmao was looking for this

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

    tag + set = log2(# of blocks in cache)
    size of main memory/size of block = # of blocks in cache
    N*2set = # of blocks in cache
    2offset = size of block
    2set = # of rows
    Total bits in cache = (size of block * 8 + 2 + tag) * N * 2set //in WB
    Total bits in cache = (size of block * 8 + 1 + tag) * N * 2set //in WT
    Size of main address - set - offset = tag

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

    Practice Quiz at the end was somewhat wrong. Should have been Block address % #Cache blocks, not byte address

  • @pamp3657
    @pamp3657 11 หลายเดือนก่อน

    good vIDEO