Direct Memory Mapping - Solved Examples

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

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

  • @AnuthaOneShields
    @AnuthaOneShields 3 года назад +89

    Wow, this is an amazing lecture... far better than the three 1h 30m lectures that my professor gives. Once I start my career, I can't wait to donate to this channel. It's been SUCH a lifesaver for me!

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

      Same thought!

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

      Actually same ......

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

      Hum sb fees dete h college m pdhte youtube ss haii.... uske baad bhi clg balo ko placement nhi diye jte... etne paise ke baad bhi...

    • @umeshmadhusankha6562
      @umeshmadhusankha6562 Месяц назад

      R u donating now?

    • @AnuthaOneShields
      @AnuthaOneShields Месяц назад +1

      @@umeshmadhusankha6562 THANK YOU for reminding me of this. I actually did end up graduating with my computer science degree and took so many things from this RUclips channel. Imma put it in my calendar to donate!

  • @dushananuradha1098
    @dushananuradha1098 2 года назад +131

    My confusion is never ending on why these youtubers can explain these difficult stuff in very clear and concise way, while our university lectures suck at it.

    • @pragatsharma1580
      @pragatsharma1580 2 года назад +5

      exactly lol we get better quality for free than we get by paying a huge amount of money lol

    • @tuantranluuquoc2910
      @tuantranluuquoc2910 2 года назад +9

      man this seems to happen in every country, mine isn't exception too. The lecturer is atrocious!

    • @willemhekman1788
      @willemhekman1788 10 месяцев назад +8

      Having worked as a teacher professionally, I can tell you that most teachers do not (a) find the time/energy to make their educational content in this way (I can imagine each short video on this channel took 2 hours to make i.e. a university lecture = ~8 short videos = 16 hours of effort vs 1.5 hours of plain lecturing) and more importantly (b) fail to place themselves in the shoes of the learner i.e. as a beginner (this is called expert blindness).
      In practice you need someone crazy enough/talented enough to make content like this --- imagine taking 2-4 hours out of your day to make this powerpoint a 10 minutes video? and/or an economy of scale.

    • @fianyeku-kokonumichael4182
      @fianyeku-kokonumichael4182 7 месяцев назад

      @@willemhekman1788 well said

    • @vedantvyas2979
      @vedantvyas2979 Месяц назад

      Maybe it's because in lectures we're not paying same amount of attention as we do while watching the video. Other reason is most of the professors are in college just to do their research and they're not interested in teaching

  • @siddharthmagadum16
    @siddharthmagadum16 3 года назад +19

    third one can be done by 2^#tag bits= MM size/ Cache size , we know MM size and Cache size

  • @sherazarain871
    @sherazarain871 3 года назад +7

    Great explanation in just 10mins.
    keep it up.
    I recommended this lecture series to my children's XD

  • @TheChargingCap
    @TheChargingCap 3 года назад +7

    fabulous!! very clearly understood in less time!! thank you neso!!

  • @bob461
    @bob461 2 года назад +5

    Very informative and amazing lecture. Can you please suggest a good book also for computer architecture and to solve more numerical based problems like this

  • @gpsewtohul7652
    @gpsewtohul7652 9 месяцев назад

    Unbelievable explanation. The best one so far

  • @asterdogma
    @asterdogma 3 года назад +4

    Right on time for my exams

  • @mrincognito2371
    @mrincognito2371 6 месяцев назад

    you made this so easy to understand, thank you sir!!

  • @VinyZikss
    @VinyZikss Год назад +2

    Awesome video and teacher. Thank you so much for these easy-to-understand videos.
    There's one thing I haven't understood, isn't 1Kb the same as 1000 bytes, and not 1024 like in your examples? I thought 1Kib was 1024 bytes

  • @kamikamen_official
    @kamikamen_official Год назад +1

    For the last one, while I at first failed monumentally, after rewatching the video (and hopefully understanding better) I realized (to me at least) there's a simpler way to find the cache size.
    You are told the # of tag bits is 10. So you know you need 2^10 different tags, and by the same token that the cache fits 2^10 times into the MM. So you get this equation 2^34/2^x = 2^10. Since you know algebra, you know you can convert the system to (just use exponent laws) 34-x = 10. Solving for x you get 24.

  • @elmokretarasma665
    @elmokretarasma665 Год назад

    I love RUclips porofessors. They always save my poor life ... Thank you so much for your effort sir

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

    Thanks for covering every kind of questions 🙂🙂🙂🙂❤️❤️❤️❤️🙂🙂🙂🙂

  • @onlyintellectuals
    @onlyintellectuals Год назад

    so tag bits represent the log(times the cache would fit in the ram). if ram is 4 times the cache size, then the tag bits are 2. in above case, 2^10 times x cache size = ram size. therefore. cache size is ram size/2^10= 16 x 2^10 x 2^10 x 2^10 bytes. = 16 MB.

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

    Thank you, You all are really blessed. Thank you, one thousand times Thank You.

  • @geheron1946
    @geheron1946 3 года назад +1

    You saved me, LOVE YOU ❤️

  • @shalkar_mukazhan
    @shalkar_mukazhan 9 месяцев назад +1

    Thank you so much!!!

  • @rahulsyt_
    @rahulsyt_ 2 года назад +1

    Bow down 🙇🏻‍♂️ to him ❤

  • @anjaligupta-ew6ns
    @anjaligupta-ew6ns 3 года назад +2

    Please complete lecture video on Compiler design plsss sir really need

  • @himanshurana5880
    @himanshurana5880 Год назад +1

    Consider a main memory of the size 64 kB with each word being of 8 bits (one byte) only and a direct mapping Cache memory of size 4 kB also having data word size of 8 bits. Find the following :
    (i) What is the size of tag and index fields of cache ?
    (ii) In what location of Cache, hexadecimal address to main memory (AABB) (if exists in cache) will be located ?
    what's answer of this question, can anyone tell..?

  • @checkthisout1718
    @checkthisout1718 Месяц назад

    Thanks sir!❤❤

  • @himanshurana5880
    @himanshurana5880 Год назад +2

    8:07 Consider a main memory of the size 64 kB
    with each word being of 8 bits (one byte) only and a direct mapping Cache memory of size 4 kB also having data word size of
    8 bits. Find the following :
    (i) What is the size of tag and index fields of cache ?
    (ii) In what location of Cache, hexadecimal address to main memory (AABB) (if exists in cache) will be located ?
    can anyone solve this question..?
    @Nesco Academy can you solve it..?

    • @kedharguhan
      @kedharguhan 8 месяцев назад +1

      Without knowing block size, I am gonna assume arbitrarily that it is 1kB. So 10 lines for block offset, and 4 lines in cache. So AABB will be in line#1 of cache since AABB ends with 01.
      If you take a different block size, AABB will still end up in line#1 (01) but there may be more lines in the cache.

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

    where can i find your course ppt or pdf ? can you share it? thanks

  • @shubhamdas6519
    @shubhamdas6519 Год назад

    Thanks for the video sir ....

  • @sinekad5132
    @sinekad5132 Год назад

    Thank you sir❤

  • @anonfromearth
    @anonfromearth 5 месяцев назад

    So basically, the number of caches that can be fit in main memory = number of blocks that can fit in a cache

  • @angel11always
    @angel11always 7 месяцев назад +4

    my head hurts

  • @_Who_u_are
    @_Who_u_are Год назад

    WORD is 1 or 2 Bytes?

  • @gourisworld4081
    @gourisworld4081 Год назад

    Amazing🙏

  • @ritamghosh7622
    @ritamghosh7622 2 года назад +1

    MM size = 4GB =2^2*2^30Bytes=2^32bytes=2^32*2^3bits=2^35 bits right?

  • @durasaksham
    @durasaksham 2 года назад +1

    I didn't get the concept of tag directory. Can anyone help me out?

  • @sunyuting7330
    @sunyuting7330 2 года назад +1

    example 3: 10 tag bits..... So 2*34/2^10 = 2^24 =16MB. no need other info i think

  • @rahulchattopadhyay226
    @rahulchattopadhyay226 4 месяца назад +1

    Totally confused very confusing

  • @rajarshimondal1343
    @rajarshimondal1343 10 месяцев назад

    you should have taken one example for word size != 0
    that would be much helpfull

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

    Hey! I noticed one thing that size of cache is equal to the no. of blocks in MM. Is this true for every computer?

  • @ishuanand4840
    @ishuanand4840 Год назад +1

    i dont know why but the concepts are not clear might be too much vagueness is there..i have been watching neso for a long time now but only this time i m left with the doubts.

  • @EzeroXP
    @EzeroXP Год назад +9

    Screw it. Im'm going to fail

  • @Masakkalii
    @Masakkalii 7 месяцев назад

    Got it

  • @annafebland4460
    @annafebland4460 Год назад

    8:44

  • @sachinsudaraka6397
    @sachinsudaraka6397 3 года назад +1

    ❤️

  • @mdshahnawaz645
    @mdshahnawaz645 3 года назад +1

    👍

  • @thecritiquer9407
    @thecritiquer9407 2 месяца назад

    ❤❤❤

  • @kunalsharma3099
    @kunalsharma3099 3 года назад +1

    hates off

  • @kuntalbatabyal6676
    @kuntalbatabyal6676 3 года назад +1

    First viewer.. 👍🏾

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

    This playlist is progressing too slow.If possible please fast a little bit.

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

    disliked because of cringe voice. taking lecture at 3 in night for exam at 8 and this boy sound so cheerful

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

    You're too quick, slow down

  • @baloneypopo9609
    @baloneypopo9609 7 месяцев назад

    👍