Set Associative Mapping

Поділитися
Вставка
  • Опубліковано 6 лис 2024

КОМЕНТАРІ • 38

  • @zenostang8953
    @zenostang8953 2 роки тому +9

    so clearly. This lesson fits for me because it has examples, not pure cheory.

  • @gatecomputerscience1484
    @gatecomputerscience1484 2 роки тому +19

    What a explanation! Your animation make learning more intresting 🙂🙂🙂❤️❤️❤️

  • @Daniel-fj9ux
    @Daniel-fj9ux 11 місяців тому +2

    Wonderful class, your explanations are so clear. Thank you so much.

  • @wct6824
    @wct6824 2 роки тому +2

    so helpful and so clear

  • @baliyatra2k224
    @baliyatra2k224 3 роки тому +4

    Q2) A two way set associative cache memory uses blocks of 4 words . The each can accommodate a total of 2048 words from main memory . The main memory size is 128 X 32 . What is the size of the cache memory ?

    • @nesoacademy
      @nesoacademy  3 роки тому +13

      Q: A two-way set associative cache memory uses blocks of four words.The cache can accommodate a total of 2048 words from main memory.The main memory size is 128K X 32.Find out the no. of bits in each of the TAG,SET,WORD fields of the main memory address required to design the cache memory.
      Ans.
      Main memory size=128K* 32
      =2^(10+7) * 32
      =2^17 * 32
      From this we get, 1 word = 32 bits
      Therefore,
      Main memory size=2^17 words
      Therefore, for P.A. we need 17 bits.
      Cache can accommodate 2048 words.
      Therefore, Cache Size= 2^11 words
      Given, 1 block has 4 words (i.e.2^2 words)
      Therefore,
      Offset (or WORD) bits=2 bits
      Now,
      No. of Cache lines= (Cache Size)/(Block or Line Size)
      =2^11/2^2
      =2^9
      Since it's a 2-way set associative cache,
      1 set =2^1 lines
      Hence,
      No. of Sets=(No. of cache lines)/(Set Size)
      =2^9/2^1
      =2^8
      Therefore, SET bits = 8
      So,
      TAG bits= P.A. bits - (SET bits + WORD bits)
      =17 - (8+2)
      =7 bits
      Hence, TAG+SET+WORD = 7+8+2

    • @baliyatra2k224
      @baliyatra2k224 3 роки тому

      Thanks sir.

    • @agamprakashmishra6602
      @agamprakashmishra6602 8 місяців тому

      ​@nesoacademy Thanks a lot sir for the consideration for a student :)🎉

  • @VinayC.N-h8x
    @VinayC.N-h8x 8 місяців тому +1

    Thank you so much sir

  • @rushilkulkarni7206
    @rushilkulkarni7206 6 місяців тому

    thanks mate, you are a hero!

  • @Thangutabbycat
    @Thangutabbycat 5 місяців тому

    Thank you so much sir. Its helpful!! ❤😊

  • @gustavorivas5305
    @gustavorivas5305 5 місяців тому

    thank you so much, God bless you

  • @modemharikumar9232
    @modemharikumar9232 3 роки тому +4

    good video

  • @swarajpal6562
    @swarajpal6562 3 роки тому +4

    Make DBMS video as playlists

  • @mariorodriguezpinzon3542
    @mariorodriguezpinzon3542 Рік тому

    Thank you

  • @MathAfta
    @MathAfta 11 місяців тому

    brilliant!!

  • @nabhay583
    @nabhay583 2 роки тому +1

    What's the use of block offset in set associative mapping? Since the block from MM is assigned a set based on it's set no. bits and then it can enter any block within the set, doesn't this make the block offset useless?

    • @Damnesia2
      @Damnesia2 2 роки тому +3

      The offset is used after the second step, first step identifies the set (instead of line) and then the second step has comparators identifying the tag between the 2 lines stored within the set, so by the time you find the cache line you're looking for, there are still only 4 bytes within that line.

  • @akash.manna.
    @akash.manna. 9 місяців тому

    Is it also called instruction set architecture? If not where from I can instruction set architecture?

  • @baliyatra2k224
    @baliyatra2k224 3 роки тому +2

    How to solve plz shared a vdo on this question plz need the most

  • @ugcnet8015
    @ugcnet8015 2 роки тому

    Sir, please teach Software engineering as well. This is my humble request to you

  • @achyutkayastha4248
    @achyutkayastha4248 3 роки тому

    Nice.

  • @folabi6210
    @folabi6210 11 місяців тому

    aayein

  • @pokemonpikachu6326
    @pokemonpikachu6326 10 місяців тому +2

    Your accent lol

    • @Thangutabbycat
      @Thangutabbycat 5 місяців тому

      Hmm? Nothing funny bro. Stop mocking others accent. He is providing us good thing and we should study it. That's it.

  • @ahmedhussein223
    @ahmedhussein223 2 роки тому +18

    I wish I can understand Indian accent 😂, it is so frustrating that I can have these amazing video explanations but I get thrown off frequently by some word that is mispronounced, the subtitle helps a little but it covers the lower part of the screen, and some words are totally mispronounced to the point neither the subtitle nor do I can figure out what he is saying

    • @ajinkyakale3353
      @ajinkyakale3353 2 роки тому

      Which country do you belong?

    • @good-tn9sr
      @good-tn9sr 2 роки тому +2

      @@ajinkyakale3353 prob from Middle East

    • @ArtemisWrites
      @ArtemisWrites Рік тому +11

      No...the words are not "mispronounced". That's the way it's said..and none of the western watchers have a problem with it.

    • @SandeepKumar-vo8hd
      @SandeepKumar-vo8hd Рік тому +7

      Bro learn Indian English it will help throughout your life 😂

    • @Crims0nKin9
      @Crims0nKin9 Рік тому +1

      But they are tho

  • @akshchordia9842
    @akshchordia9842 Рік тому +4

    I am sorry for my comment if this is your real accent.
    If not, then it would be really helpful knocking off the fake accent, so the video becomes pleasurable to listen to and easily understandable. Real quality content and a great explanation by an expert, but, the audio (as it feels un-natural) makes it unbearable to listen to.

    • @nesoacademy
      @nesoacademy  Рік тому +5

      We only try to keep the pronunciation accurate, and we don’t deliberately fake an accent. The teacher has the same English accent when he is not recording. So, we should accept his accent and focus on his wonderful illustrations.

    • @akshchordia9842
      @akshchordia9842 Рік тому

      @@nesoacademy makes sense, thanks a lot.

    • @nesoacademy
      @nesoacademy  Рік тому +2

      :)

    • @Thangutabbycat
      @Thangutabbycat 5 місяців тому

      Bro there is caption

  • @FEFFeX
    @FEFFeX Рік тому

    Byte addressable doesn't mean word=1Byte!
    one word is always 4 Bytes