L-3.6: Direct Mapping with Example in Hindi | Cache Mapping | Computer Organisation and Architecture

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ค. 2024
  • 👉Subscribe to our new channel: / @varunainashots
    In Direct mapping, assign each memory block to a specific line in the cache. If a line is previously taken up by a memory block when a new block needs to be loaded, the old block is trashed. An address space is split into two parts index field and a tag field. The cache is used to store the tag field whereas the rest is stored in the main memory.
    Introduction to Cache Mapping Link: • L-3.5: What is Cache M...
    0:00 - Introduction
    0:46 - Understand Architecture
    5:20 - Direct Mapping
    9:33 - Referencing
    ►Computer Architecture (Complete Playlist):
    • Computer Organization ...
    Other subject-wise playlist Links:
    --------------------------------------------------------------------------------------------------------------------------------------
    ►Design and Analysis of algorithms (DAA):
    • Design and Analysis of...
    ►Database Management System:
    • DBMS (Database Managem...
    ► Theory of Computation
    • TOC(Theory of Computat...
    ►Artificial Intelligence:
    • Artificial Intelligenc...
    ►Computer Networks (Complete Playlist):
    • Computer Networks (Com...
    ►Operating System:
    • Operating System (Comp...
    ►Structured Query Language (SQL):
    • Structured Query Langu...
    ►Discrete Mathematics:
    • Discrete Mathematics
    ►Compiler Design:
    • Compiler Design (Compl...
    ►Number System:
    • Number system
    ►Cloud Computing & BIG Data:
    • Cloud Computing & BIG ...
    ►Software Engineering:
    • Software Engineering
    ►Data Structure:
    • Data Structure
    ►Graph Theory:
    • Graph Theory
    ►Programming in C:
    • C Programming
    ►Digital Logic:
    • Digital Logic (Complet...
    ---------------------------------------------------------------------------------------------------------------------------------------
    Our social media Links:
    ► Subscribe to us on TH-cam: / gatesmashers
    ►Subscribe to our new channel: / @varunainashots
    ► Like our page on Facebook: / gatesmashers
    ► Follow us on Instagram: / gate.smashers
    ► Follow us on Instagram: / varunainashots
    ► Follow us on Telegram: t.me/gatesmashersofficial
    ► Follow us on Threads: www.threads.net/@gate.smashers
    --------------------------------------------------------------------------------------------------------------------------------------
    ►For Any Query, Suggestion or notes contribution:
    Email us at: gatesmashers2018@gmail.com
    #directMapping#cacheMapping#COA

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

  • @deepanshumishra4568
    @deepanshumishra4568 4 ปีที่แล้ว +106

    Bhai,
    jaan daal di iss topic me, hats off bade bhai🙏🏻👌🏻😉

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

      Thanks this lecture is for those who are well conversant with basic of computer language.

  • @ita755khushalkoli2
    @ita755khushalkoli2 3 ปีที่แล้ว +45

    Yesterday I learnt OS from you and today COA. The bits concept of representation of physical address is as clear as crystal. Thank you sir.
    I have already suggested your channel to my entire barch. everyone is watching your videos! You are a savior.

  • @noor88833
    @noor88833 3 ปีที่แล้ว +162

    Sir im from Pakistan. Thank you so much. Bht kam time me achi preparation horhi h lecturer ki.. Allah apko eska ajar de. Ameen sum Ameen

  • @rahulbajetha4057
    @rahulbajetha4057 4 ปีที่แล้ว +164

    what a lecture sir.....u r better than my my teacher....

    • @mahimanishad3387
      @mahimanishad3387 3 ปีที่แล้ว

      same here sir

    • @anonymousfry
      @anonymousfry 3 ปีที่แล้ว

      Yes bro same case sir is so good I understood it so quickly

    • @nazeemaandrew9743
      @nazeemaandrew9743 3 ปีที่แล้ว

      Absolutely 👏

    • @BCS-QadeemHussain
      @BCS-QadeemHussain 2 ปีที่แล้ว

      Byta tm mujy class ma milo ma tumko btata ho

    • @vishaldas5692
      @vishaldas5692 2 ปีที่แล้ว

      He is from my university Lpu🕺😁

  • @Travel_learn_vdDiksha
    @Travel_learn_vdDiksha 4 ปีที่แล้ว +38

    What a great explanation💞💞 sir....commandable job..... always I was confused in this topic bt u cleared my all doubt related to this topic💕💓💞

  • @srijitanitamajumdar5904
    @srijitanitamajumdar5904 4 ปีที่แล้ว +38

    Amazing sir!!! Hands down!! The best explanation available on the entire Internet!!! We are indeed most fortunate to have you by our side!! THANK YOU SO MUCH!!

    • @a.k2751
      @a.k2751 ปีที่แล้ว

      Is word size is always 4 or given in the question please reply I want to clear my doubt sir

    • @pguruvishnusaigmail
      @pguruvishnusaigmail ปีที่แล้ว

      hey

  • @navidmuhammad3403
    @navidmuhammad3403 3 ปีที่แล้ว +5

    I have watched many of your videos. Just wana say thanks from the core of my heart. Well done and excellent teaching methodology.

  • @ayus_bieb
    @ayus_bieb 3 ปีที่แล้ว +29

    Just an another lever teaching...
    I haven't attended any Computer Organization classes mentally in my online classes...
    But after watching this video I'm getting very interested with this subject...❤️❤️❤️

  • @prashantsharma3134
    @prashantsharma3134 3 ปีที่แล้ว +9

    Example taken by you in last, where Tag is 010.
    To decode the block we can see first 5 bits of the physical address which is- 010 00 00, so block number 8 will be in Line0 of cache in this case.(Just to answer it fast)
    Sir, you explanation was🔥🔥

  • @arindamkashyap2077
    @arindamkashyap2077 7 หลายเดือนก่อน +13

    🎯 Key Takeaways for quick navigation:
    00:00 📚 *Direct mapping is the focus of the video, exploring how it works and its significance in computer organization and architecture.*
    01:29 🧠 *Main memory is assumed to have 128 words, organized into blocks of 4 words each. Cache, with a size of 16 words, is divided into lines, and the line size matches the block size to avoid internal fragmentation.*
    05:52 🔄 *Direct mapping employs the "K mod N" formula, where K is the block number, and N is the number of lines in the cache. This formula determines which line a block maps to, allowing for direct placement.*
    09:57 🏛️ *CPU generates physical addresses using block numbers, block offsets, and line numbers. Understanding how these components interact is crucial for accessing specific words in memory.*
    16:17 🏷️ *The cache utilizes tags, line numbers, and block offsets to map addresses and determine which blocks are present. Cache hits occur when the desired block is in the cache, while cache misses require replacement policies for new blocks.*
    Made with HARPA AI

    • @ar_gun18
      @ar_gun18 2 หลายเดือนก่อน

      Thanks ,helped to understand better.

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

    If we want to select directly block from available blocks in cache, convert tag number to decimal. That is in your example
    010= 2 means second block in L0 which is B8..
    001= 0 means 1st block in L1 which is B5..
    Thank you for your great explanation and making focus on concepts..

  • @tanishneema4507
    @tanishneema4507 ปีที่แล้ว

    Got the complete knowledge in single video. You covered every aspect of Direct Cache Memory Mapping. Excellent work done Sir.

  • @vipingautam1257
    @vipingautam1257 4 ปีที่แล้ว +3

    Thank you varun sir..happy to have you as a teacher instructor for gate...

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

    sahi mein bahut acha samjhaya hai ... jitna stallings ki book ne confuse kia, sara confusion idhar aakey clear hua ..

  • @jayantkarhade4365
    @jayantkarhade4365 4 ปีที่แล้ว +6

    What concepts u have Sir Great really great....

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

    Real world Jeethu bhaiyya. Thank you for your work!

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

    Loads of love and respect :) Thank you.

  • @gouravsaini4831
    @gouravsaini4831 4 ปีที่แล้ว +8

    Today I understood the concept of mapping sir....thank u so much..☺️😊

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

    awesome sir..we r confused in this concept for long days..you make it rock..saviour of cs

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

    Crystal Clear Direct mapping explanation, Thanks sir 🙏

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

    after watching your video my interest is going in this subject ,i was worried how shall i study this subject but now i m so happy n relax because your explanation is amazing i understood everything thank u soo much sir

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

    Hats off explanation , after seeing this I am upset that I don't have teachers like you in my College.
    Thank you sir

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

    You explained it very well. Thanks a lot for that Sir. Awaiting videos on other mapping techniques and numericals.

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

    Omg 100% concept clarity , now I understand topic very clearly,hats off to you,most of the teacher not able explain it in this way.

    • @a.k2751
      @a.k2751 ปีที่แล้ว

      Is word size is always 4 or given in the question please reply I want to clear my doubt sir

  • @baberghafoor105
    @baberghafoor105 3 ปีที่แล้ว

    Kia baat hai sir....Simple and straightforward explanation....sada khush raho.

  • @apoorvkansal9266
    @apoorvkansal9266 3 ปีที่แล้ว +6

    Sir, this is the best explaination that any teacher could have ever given. Finally You are the one who has made this topic easy now and have taught better than my COSS faculty. 🙏

  • @deepakkumarnirala9725
    @deepakkumarnirala9725 4 ปีที่แล้ว +10

    Best lecture! My concepts on Direct Mapping is 100% clear due to your best explanation technique...
    Thanks a lot, Sir!🙂🙂🙂

    • @a.k2751
      @a.k2751 ปีที่แล้ว

      Is word size is always 4 or given in the question please reply I want to clear my doubt sir

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

    The explanation is too simple to understand the inner story. Thanks a lot, sir.

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

    Your hard work is shown in your video sir 👍
    Keep uploading such amazing videos for students 👍👏👏

  • @nehaha-jr9cx
    @nehaha-jr9cx 3 ปีที่แล้ว +1

    I think isse accha direct mapping koi nai explain kar sakta hai sir🙌👍👏 excellent

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

    Tag kya Hota hai ye ab jakar smjh aaya. Sb Kuch Chaan mara Kahi Kuch nahi Mila. Shayad Shivratri Ka fal mujhe just abhi mila. Apka channel mil Gaya. How lucky I'm. Sir ji love you for your efforts. ❣️ Lord Shiva bless you always.

    • @aloneinmumbai
      @aloneinmumbai 3 หลายเดือนก่อน

      Mujhe bhi bata bhai mujhe nahi samjha tag

  • @constructivecritic8069
    @constructivecritic8069 3 ปีที่แล้ว

    apka set associative aur direct mapping ka lecture bahut hi simple bana deta hai is topic ko...can't thank you enough...everytime I stuck in some numerical I go through this again...

  • @rubaimandal3855
    @rubaimandal3855 4 ปีที่แล้ว +1

    thank you sir, apki padhane ki style bilkul apki mucho ki tara, in one word LAJABAB.

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

    No words for compliments sirr ...flawless 😇

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

    Sir ap kasam khaake aate ho ki baccho ko sab samazh aana chahiye.........thanks a lot sir

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

    hello sir,
    i am a b.tech 2nd year student and i ahve shifted to CSE branch from Mechanical branch and sir i was suffering a lot of problems regarding this subject infact i was in a fear of getting fail in this subject as this subject was totally unknown for me but after watching your videos i am in a state that i can easily score good in my exams infact now i also tech these topics yo my classmates. thankyou so much sir.

  • @user-gm5cw2ws2h
    @user-gm5cw2ws2h 4 ปีที่แล้ว +1

    Kyaaa dhasu... Samajhaya... Sir g.. Finally dimmag m chipkak gya.... Thanku so much sir 😍😍😍😍

  • @AdityaSharma-yu4zr
    @AdityaSharma-yu4zr 4 ปีที่แล้ว +5

    thank you sir, great explanation

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

    What a great and amazing explntn of this topic . Jazak-Allah sir✨

  • @rakeshsahani3805
    @rakeshsahani3805 3 ปีที่แล้ว +1

    Wow...bahut achhe tarike se padhaarahe ho as compared to other ...thanks a lot sir

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

    Sir aapke lecture dekh ke lagta hai padhte hee jao... Lecture kab katm hota hai pata hi nahi lagta... Thank u soo much sir... U are doing great for humanity..

    • @GateSmashers
      @GateSmashers  4 ปีที่แล้ว

      Thank you so much for your love and support

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

    what an amazing teacher he is!!

  • @SaFFire123x
    @SaFFire123x 3 หลายเดือนก่อน +2

    If anyone is in rush or having trouble, watch Neso Academy's direct mapping first like I did. Then come to this video, watch while skipping to understand how it works for 128 words memory, and the advantages, disadvantages. then move on to other mapping techniques from this channel.

  • @AmandeepKaur-gf9ur
    @AmandeepKaur-gf9ur 4 ปีที่แล้ว

    Proficiently explained........Thank you, sir!!!!

  • @priyankajhanwar7823
    @priyankajhanwar7823 5 หลายเดือนก่อน +1

    My semester exam of computer architecture is after 2 days and I'm learning all the topics from this channel he's making every topic very clear and easy amazing teaching skills tha thankyou so much sir

  • @trishna1051
    @trishna1051 4 ปีที่แล้ว +5

    U make this subject easy.. Asm sir😁

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

    thnkk u so much sir..nyc efforts...stay blessed..

  • @harshitavyas9863
    @harshitavyas9863 4 ปีที่แล้ว +1

    Wow so awesome Bro...
    Perfectly samjhadiya apne cache memory so nice explanation...😍😇💖

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

    best explanation ever...thank you sir..love from nepal👏👏👏

  • @saumytiwari7
    @saumytiwari7 3 ปีที่แล้ว +1

    This is most complicated but interesting topic..thanks sir

  • @rahulrai8216
    @rahulrai8216 4 ปีที่แล้ว +1

    Sir at last bahut sahi bole ... mein Direct Mapping 1st time samajh ra hu , baki sabhi concepts single time me hi clear ho jate hain But this video needs 2 or 3 times watching.. sir me to apka effort hi dekh ra tha. This concept is quite confusing/difficult for me..
    again Very well explained..👌Thank u sir..🙏

  • @sheerazirahmani7820
    @sheerazirahmani7820 4 ปีที่แล้ว +1

    You cleared all the concept related to direct mapping thanks a lot sir

  • @shwetachauhaan7266
    @shwetachauhaan7266 4 ปีที่แล้ว +1

    First time tag is so clear..... thanks man !!!

  • @deepakprajapati5064
    @deepakprajapati5064 3 ปีที่แล้ว +1

    Cleared all doubts, thanks a lot

  • @firdaushalam3301
    @firdaushalam3301 3 ปีที่แล้ว

    REALLY GREAT EXPLANATION SIR......EVERY POINT ARE EXPLAINED IN TO MUCH GOOD WAY AND FOR EVERY POINT U HAVE EXPLAINED WITH EXAMPLES..THATS REALLY TO MUCH HELPFULL TO UNDERSTAND THE CONCEPT...REALLY EXCELLENT EXPLANATION...THANKS ALOT...

  • @anusrutimitra1115
    @anusrutimitra1115 4 ปีที่แล้ว +5

    sir i m preparing for ugc net 2021,nd your videos help me to keep motivated...in this days i m praying only that one day i also can teach such concept clearing topic like you...wish me good luck please

    • @GateSmashers
      @GateSmashers  4 ปีที่แล้ว +3

      All the best...

    • @anusrutimitra1115
      @anusrutimitra1115 4 ปีที่แล้ว

      Thank you sir

    • @payaljain7796
      @payaljain7796 3 ปีที่แล้ว

      Plss tell me...is..this..is complete course of COA for gate !!???? And so is it enough to crack gate exam.?? !!plss reply...I am not studying anything yet..plss tell me..🙂🙏🙏

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

    Amazing explanation sir
    Hats off 🔥🙏🙏🙏

  • @nicolefalcao151
    @nicolefalcao151 ปีที่แล้ว

    Excellent Explanation Sir!Thank you soo much!!!

  • @Sinister_Rewind
    @Sinister_Rewind 4 ปีที่แล้ว +8

    amazing explanation sir, if you would have been my teacher i would have never missed any of your lecture!!!

  • @ashishlahari
    @ashishlahari 3 ปีที่แล้ว

    super sir simply awesome.
    Thanks for this video i got full clarity sir.

  • @amanchhabra7106
    @amanchhabra7106 3 ปีที่แล้ว

    Ek dum op👌
    Bahut bahut dhanyawad aapka

  • @karankhatter
    @karankhatter 2 ปีที่แล้ว

    Dude… good job and thank youuu… best on TH-cam

  • @madhushreekulkarni9866
    @madhushreekulkarni9866 3 ปีที่แล้ว

    Great explaination in simple words!

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

    Lectures, like this one, make TH-cam great.

  • @richadubey5654
    @richadubey5654 4 ปีที่แล้ว

    amazing explanation sir......simply outstanding

  • @NaveenKumar-os8dv
    @NaveenKumar-os8dv ปีที่แล้ว +2

    13:50. For those wondering why size is still 7, even though total words in Cache are 16, it's because of main memory blocks; they have 128 words, so how will we put word125 in cache? if size not 7 (but 4, for 16 words only), we can't put word125 of main memory in cache because we don't have enough bits to represent it! Even though maximum words are 16 in cache, but it can be any word (not just till word16 or whatever maximum 4 bits can accomodate), that's y it is still 7 so we can add any word of main memory block to cache.

  • @AnishaCS-yb3nd
    @AnishaCS-yb3nd 3 ปีที่แล้ว

    concept were crystal clear when I saw your videos thank you sir...!!

  • @haranathrakshit
    @haranathrakshit 2 ปีที่แล้ว

    One of the best chche mapping understanding video ever
    Thankyou Sir

  • @bhanurobotdancer1910
    @bhanurobotdancer1910 4 ปีที่แล้ว

    Thank you sir........ Bahut.. Kuch sikhne mila.... Thank you sir

  • @ausajhajaffery5809
    @ausajhajaffery5809 4 ปีที่แล้ว +1

    ALLAH khush Rakhay Bhai apko Great Respect from Pakistan...

  • @noorulain8463
    @noorulain8463 3 ปีที่แล้ว

    sir you are the best.....thank you so much ...such an amazing explanation.....wow superb.

  • @neerajchaudhari7563
    @neerajchaudhari7563 4 ปีที่แล้ว

    Your explanation manner is amazing 👌

  • @ShivamGupta-cx3hy
    @ShivamGupta-cx3hy 3 ปีที่แล้ว +3

    Thank You Sir ,My Test Was Awesome because of You 🔥🔥🤠

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

    Veryy amazing sir,,,,
    thank you sir for this video.
    Agar app mere college me padhte hote to kitna accha tha

  • @miraclespiritualastro
    @miraclespiritualastro 4 ปีที่แล้ว

    Mind blowing understanding sir....🥰🥰

  • @14dayztimeap8
    @14dayztimeap8 ปีที่แล้ว +1

    Great Explanation.

  • @mobasshirakhanmim789
    @mobasshirakhanmim789 3 ปีที่แล้ว

    You are genius. It's very useful content. Like it. Thanks for this content

  • @ersarthaksethi
    @ersarthaksethi 3 ปีที่แล้ว +1

    So awesome explanation , I commented before watching the video because i know its gonna be lit

  • @abishekbabu9247
    @abishekbabu9247 4 ปีที่แล้ว

    no words to say bhaiii jiiiiiii Brilliant Lecture!!!!!!!!!!!!!!!!!

  • @SM-eh6vz
    @SM-eh6vz 3 ปีที่แล้ว +2

    Excellent explanation 🔥🔥🔥

  • @jaideep62
    @jaideep62 ปีที่แล้ว

    such a super explanation just loved the video and the explanation thank you sir!!

  • @015hariraj6
    @015hariraj6 4 ปีที่แล้ว

    Really great explain sir!!! I don't know Hindi but I able to understand concepts

  • @navyagolash932
    @navyagolash932 3 ปีที่แล้ว +1

    This is a great video . And this video is very helpful . thank you so much sir.

  • @nishaverma5188
    @nishaverma5188 3 ปีที่แล้ว

    Really sir this lecture is very helpful for me ..... tq so much sir.......all doubts clear

  • @soumalyasahoo2664
    @soumalyasahoo2664 4 ปีที่แล้ว +3

    God level sir.

  • @STAY_CURIOUS_
    @STAY_CURIOUS_ ปีที่แล้ว +1

    thank u sirrrrrrrrr...........................u r a lifesaver

  • @govindjangid6201
    @govindjangid6201 4 ปีที่แล้ว +1

    Thanks sir ... 😃very well explained

  • @goharnaeem7782
    @goharnaeem7782 4 ปีที่แล้ว +1

    Sir This lecture is very helpful for me thanks

  • @shubhamsingh-zl4io
    @shubhamsingh-zl4io 4 ปีที่แล้ว

    sir, mere pass ravula sir ke lecture hai but direct mapping ka consept abhi ko clear hua hai. thank you sir.........

  • @khadijaafzal3349
    @khadijaafzal3349 3 ปีที่แล้ว

    Thank you so much sir. itna asaan krdiia itna complex topic. hats off to you.

  • @preethamm.n1161
    @preethamm.n1161 4 ปีที่แล้ว +4

    💞💞💞Salute for Ur work sir ,
    Thank you sir😍🌹🇮🇳💞💞💞

  • @unity3dconcepts434
    @unity3dconcepts434 3 ปีที่แล้ว

    Badhiya video. I dont think k book main se padh k ye samajh aata mujhko. Thanks bro..

  • @rahulagarkar4989
    @rahulagarkar4989 3 ปีที่แล้ว

    Thanks sir, u r doing great job...

  • @kamranqureshi3537
    @kamranqureshi3537 2 ปีที่แล้ว

    wonderful explanation, keep it up.

  • @abhishekmeena8019
    @abhishekmeena8019 ปีที่แล้ว

    Amazing vedios... Thanx sir!!

  • @rafimangrio4537
    @rafimangrio4537 3 ปีที่แล้ว +1

    Beautifully explained

  • @rupinderkaur3755
    @rupinderkaur3755 10 หลายเดือนก่อน

    Thank you sir...well explained in short time

  • @programmingtime8587
    @programmingtime8587 2 ปีที่แล้ว

    Thank alot sir only 1 month left for my BSCS Exam I faced very difficulty in mapping but after this lecture my all concept has cleared

  • @sriharikamariyala1931
    @sriharikamariyala1931 3 ปีที่แล้ว +7

    if u were our college teacher, i would never get sleep in your lecture!!

  • @chsufyan4386
    @chsufyan4386 4 ปีที่แล้ว

    Mind blowing teaching method 💝💝💝