Direct Memory Mapping - Solved Examples

  Рет қаралды 357,031

Neso Academy

Neso Academy

Күн бұрын

COA: Direct Memory Mapping - Solved Examples
Topics discussed:
For Direct-mapped caches
1. How to calculate P.A. Split?
2. How to find out Tag Directory size?
3. Significance of Tag bits & unique method of calculating the number of Tag bits.
4. How to find out Cache size?
Follow Neso Academy on Instagram: @nesoacademy (bit.ly/2XP63OE)
Contribute: www.nesoacademy...
Memberships: bit.ly/2U7YSPI
Books: www.nesoacademy...
Website ► www.nesoacademy...
Forum ► forum.nesoacad...
Facebook ► goo.gl/Nt0PmB
Twitter ► / nesoacademy
Music:
Axol x Alex Skrindo - You [NCS Release]
#COAByNeso #ComputerOrganizationAndArchitecture #DirectMemoryMapping

Пікірлер: 71
@AnuthaOneShields
@AnuthaOneShields 3 жыл бұрын
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 жыл бұрын
Same thought!
@tanugupta9333
@tanugupta9333 2 жыл бұрын
Actually same ......
@tanugupta9333
@tanugupta9333 2 жыл бұрын
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 3 ай бұрын
R u donating now?
@AnuthaOneShields
@AnuthaOneShields 3 ай бұрын
@@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 KZbin channel. Imma put it in my calendar to donate!
@dushananuradha1098
@dushananuradha1098 2 жыл бұрын
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 жыл бұрын
exactly lol we get better quality for free than we get by paying a huge amount of money lol
@tuantranluuquoc2910
@tuantranluuquoc2910 2 жыл бұрын
man this seems to happen in every country, mine isn't exception too. The lecturer is atrocious!
@willemhekman1788
@willemhekman1788 Жыл бұрын
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 9 ай бұрын
@@willemhekman1788 well said
@vedantvyas2979
@vedantvyas2979 4 ай бұрын
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 жыл бұрын
third one can be done by 2^#tag bits= MM size/ Cache size , we know MM size and Cache size
@sherazarain871
@sherazarain871 3 жыл бұрын
Great explanation in just 10mins. keep it up. I recommended this lecture series to my children's XD
@TheChargingCap
@TheChargingCap 3 жыл бұрын
fabulous!! very clearly understood in less time!! thank you neso!!
@mustafaincheema2097
@mustafaincheema2097 2 ай бұрын
Thanks!
@nesoacademy
@nesoacademy 2 ай бұрын
Thank you 😊
@gpsewtohul7652
@gpsewtohul7652 Жыл бұрын
Unbelievable explanation. The best one so far
@asterdogma
@asterdogma 3 жыл бұрын
Right on time for my exams
@gatecomputerscience1484
@gatecomputerscience1484 2 жыл бұрын
Thanks for covering every kind of questions 🙂🙂🙂🙂❤️❤️❤️❤️🙂🙂🙂🙂
@checkthisout1718
@checkthisout1718 4 ай бұрын
Thanks sir!❤❤
@elmokretarasma665
@elmokretarasma665 Жыл бұрын
I love KZbin porofessors. They always save my poor life ... Thank you so much for your effort sir
@shalkar_mukazhan
@shalkar_mukazhan 11 ай бұрын
Thank you so much!!!
@mrincognito2371
@mrincognito2371 9 ай бұрын
you made this so easy to understand, thank you sir!!
@krambow1509
@krambow1509 2 жыл бұрын
Thank you, You all are really blessed. Thank you, one thousand times Thank You.
@jishanbukhari223
@jishanbukhari223 2 ай бұрын
Very well explained. Thank you so much 🙏🙏
@bob461
@bob461 2 жыл бұрын
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
@rahulsyt_
@rahulsyt_ 2 жыл бұрын
Bow down 🙇🏻‍♂️ to him ❤
@geheron1946
@geheron1946 3 жыл бұрын
You saved me, LOVE YOU ❤️
@VinyZikss
@VinyZikss Жыл бұрын
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
@sinekad5132
@sinekad5132 Жыл бұрын
Thank you sir❤
@shubhamdas6519
@shubhamdas6519 2 жыл бұрын
Thanks for the video sir ....
@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.
@gourisworld4081
@gourisworld4081 Жыл бұрын
Amazing🙏
@angel11always
@angel11always 9 ай бұрын
my head hurts
@himanshurana5880
@himanshurana5880 Жыл бұрын
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 11 ай бұрын
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.
@anjaligupta-ew6ns
@anjaligupta-ew6ns 3 жыл бұрын
Please complete lecture video on Compiler design plsss sir really need
@himanshurana5880
@himanshurana5880 Жыл бұрын
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..?
@kamikamen_official
@kamikamen_official Жыл бұрын
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.
@livesdebug8225
@livesdebug8225 3 жыл бұрын
where can i find your course ppt or pdf ? can you share it? thanks
@ritamghosh7622
@ritamghosh7622 2 жыл бұрын
MM size = 4GB =2^2*2^30Bytes=2^32bytes=2^32*2^3bits=2^35 bits right?
@nibirbaruah938
@nibirbaruah938 2 жыл бұрын
have the same question man
@Masakkalii
@Masakkalii 10 ай бұрын
Got it
@anonfromearth
@anonfromearth 8 ай бұрын
So basically, the number of caches that can be fit in main memory = number of blocks that can fit in a cache
@Plutonium_357
@Plutonium_357 2 жыл бұрын
WORD is 1 or 2 Bytes?
@ishuanand4840
@ishuanand4840 Жыл бұрын
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.
@sunyuting7330
@sunyuting7330 2 жыл бұрын
example 3: 10 tag bits..... So 2*34/2^10 = 2^24 =16MB. no need other info i think
@durasaksham
@durasaksham 2 жыл бұрын
I didn't get the concept of tag directory. Can anyone help me out?
@oualidlaib5965
@oualidlaib5965 2 жыл бұрын
the same
@rajarshimondal1343
@rajarshimondal1343 Жыл бұрын
you should have taken one example for word size != 0 that would be much helpfull
@rahulchattopadhyay226
@rahulchattopadhyay226 7 ай бұрын
Totally confused very confusing
@thecritiquer9407
@thecritiquer9407 5 ай бұрын
❤❤❤
@EzeroXP
@EzeroXP 2 жыл бұрын
Screw it. Im'm going to fail
@jurin8230
@jurin8230 8 ай бұрын
+2
@pintodavy6558
@pintodavy6558 4 ай бұрын
Us b
@sachinsudaraka6397
@sachinsudaraka6397 3 жыл бұрын
❤️
@annafebland4460
@annafebland4460 Жыл бұрын
8:44
@mdshahnawaz645
@mdshahnawaz645 3 жыл бұрын
👍
@sweetjimmy
@sweetjimmy 3 жыл бұрын
Hey! I noticed one thing that size of cache is equal to the no. of blocks in MM. Is this true for every computer?
@kuntalbatabyal6676
@kuntalbatabyal6676 3 жыл бұрын
First viewer.. 👍🏾
@VasuVijay-g1o
@VasuVijay-g1o Ай бұрын
quite bit confusing😂
@kunalsharma3099
@kunalsharma3099 3 жыл бұрын
hates off
@anishmahasagar5901
@anishmahasagar5901 2 жыл бұрын
hates off
@rahulsyt_
@rahulsyt_ 2 жыл бұрын
Its 'hats off' brothers 😭
@yutaitadori7318
@yutaitadori7318 3 жыл бұрын
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
@okbasto
@okbasto Ай бұрын
lollllllllll how did it go, i know im 2 years late but idc
@aaronmbuzi3369
@aaronmbuzi3369 2 жыл бұрын
You're too quick, slow down
@baloneypopo9609
@baloneypopo9609 9 ай бұрын
👍
Direct Memory Mapping - Solved PYQs (Part 1)
11:55
Neso Academy
Рет қаралды 108 М.
Direct Memory Mapping
8:43
Neso Academy
Рет қаралды 393 М.
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Associative Mapping
9:51
Neso Academy
Рет қаралды 154 М.
How to Stop Procrastinating and Finally Take Action
16:31
Ali Abdaal
Рет қаралды 106 М.
8 patterns to solve 80% Leetcode problems
7:30
Sahil & Sarra
Рет қаралды 521 М.
Cache Access Example (Part 1)
8:49
Matthew Watkins
Рет қаралды 261 М.
Set Associative Mapping
10:52
Neso Academy
Рет қаралды 174 М.
Introduction to Cache Memory
6:56
Neso Academy
Рет қаралды 233 М.
Cache Systems Every Developer Should Know
5:48
ByteByteGo
Рет қаралды 541 М.
GATE 2014- Set Associative Mapping
9:00
Ritu Kapur Classes
Рет қаралды 58 М.
HOW TRANSISTORS REMEMBER DATA
16:58
Core Dumped
Рет қаралды 440 М.