Set Associative Mapping

  Рет қаралды 174,591

Neso Academy

Neso Academy

Күн бұрын

Пікірлер: 41
@gatecomputerscience1484
@gatecomputerscience1484 2 жыл бұрын
What a explanation! Your animation make learning more intresting 🙂🙂🙂❤️❤️❤️
@zenostang8953
@zenostang8953 2 жыл бұрын
so clearly. This lesson fits for me because it has examples, not pure cheory.
@Daniel-fj9ux
@Daniel-fj9ux Жыл бұрын
Wonderful class, your explanations are so clear. Thank you so much.
@kajalshukla8858
@kajalshukla8858 19 күн бұрын
Thank you so much sir ❤
@bekiteru7015
@bekiteru7015 11 сағат бұрын
u saved me bro thanks
@wct6824
@wct6824 2 жыл бұрын
so helpful and so clear
@VinayC.N-h8x
@VinayC.N-h8x 11 ай бұрын
Thank you so much sir
@rushilkulkarni7206
@rushilkulkarni7206 9 ай бұрын
thanks mate, you are a hero!
@gustavorivas5305
@gustavorivas5305 8 ай бұрын
thank you so much, God bless you
@Bluemystic_Edits
@Bluemystic_Edits 8 ай бұрын
Thank you so much sir. Its helpful!! ❤😊
@modemharikumar9232
@modemharikumar9232 3 жыл бұрын
good video
@mariorodriguezpinzon3542
@mariorodriguezpinzon3542 Жыл бұрын
Thank you
@baliyatra2k224
@baliyatra2k224 3 жыл бұрын
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 жыл бұрын
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 11 ай бұрын
​@nesoacademy Thanks a lot sir for the consideration for a student :)🎉
@MathAfta
@MathAfta Жыл бұрын
brilliant!!
@swarajpal6562
@swarajpal6562 3 жыл бұрын
Make DBMS video as playlists
@akash.manna.
@akash.manna. Жыл бұрын
Is it also called instruction set architecture? If not where from I can instruction set architecture?
@nabhay583
@nabhay583 2 жыл бұрын
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 жыл бұрын
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.
@achyutkayastha4248
@achyutkayastha4248 3 жыл бұрын
Nice.
@baliyatra2k224
@baliyatra2k224 3 жыл бұрын
How to solve plz shared a vdo on this question plz need the most
@ugcnet8015
@ugcnet8015 3 жыл бұрын
Sir, please teach Software engineering as well. This is my humble request to you
@akshchordia9842
@akshchordia9842 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
:)
@Bluemystic_Edits
@Bluemystic_Edits 8 ай бұрын
Bro there is caption
@Rudy-se4jt
@Rudy-se4jt 2 ай бұрын
oh my god, for real! this accent was so offputting, i have seen so many neso academy videos, but this one was so tough to get through
@folabi6210
@folabi6210 Жыл бұрын
aayein
@ahmedhussein223
@ahmedhussein223 3 жыл бұрын
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 3 жыл бұрын
Which country do you belong?
@good-tn9sr
@good-tn9sr 2 жыл бұрын
@@ajinkyakale3353 prob from Middle East
@ArtemisWrites
@ArtemisWrites Жыл бұрын
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 Жыл бұрын
Bro learn Indian English it will help throughout your life 😂
@Crims0nKin9
@Crims0nKin9 Жыл бұрын
But they are tho
@pokemonpikachu6326
@pokemonpikachu6326 Жыл бұрын
Your accent lol
@Bluemystic_Edits
@Bluemystic_Edits 8 ай бұрын
Hmm? Nothing funny bro. Stop mocking others accent. He is providing us good thing and we should study it. That's it.
@FEFFeX
@FEFFeX Жыл бұрын
Byte addressable doesn't mean word=1Byte! one word is always 4 Bytes
Set Associative Mapping - Solved Examples (Part 1)
12:52
Neso Academy
Рет қаралды 98 М.
Direct Memory Mapping
8:43
Neso Academy
Рет қаралды 393 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
Cache Access Example (Part 2)
13:08
Matthew Watkins
Рет қаралды 116 М.
Associative Mapping
9:51
Neso Academy
Рет қаралды 154 М.
Ep 076: Set-Associative Caches
17:07
Intermation
Рет қаралды 45 М.
The 7 Levels of Math Symbols
14:03
The Unqualified Tutor
Рет қаралды 59 М.
I Spent 100 Hours Inside The Pyramids!
21:43
MrBeast
Рет қаралды 23 МЛН
Cache Memory Mapping - A Comparative Study
10:02
Neso Academy
Рет қаралды 41 М.
CPU Cache Explained - What is Cache Memory?
4:51
PowerCert Animated Videos
Рет қаралды 1,1 МЛН
Direct Memory Mapping - Solved Examples
10:48
Neso Academy
Рет қаралды 357 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН