1. Introdution to the 5-Stage Pipeline

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024
  • Introduction to multi-stage processors.

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

  • @christianabhishek647
    @christianabhishek647 3 года назад +6

    how can this be free? This is on another level; brilliantly done!

  • @SublimeCS
    @SublimeCS 4 года назад +2

    can't believe this content is free for everyone

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

    Sir, you're the best! Thank you so much for these lectures!!!! Shout-out from a CS student from Kazakhstan!

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

    Amazing, this is just so much better than my uni lecture.

  • @NIV-I-X
    @NIV-I-X 5 лет назад

    So these 5 compartments or stages all can preform instruction fetching, instruction decoding, executing, accessing memory and writing back? or are these all separate compartments that each can only preform only one of those functions?
    I hope my question was clear and correct enough and you are still active on you tube.

    • @NIV-I-X
      @NIV-I-X 5 лет назад

      Im doing an ARM architecture presentation, for your interest. maybe it makes a difference

    • @bsce100
      @bsce100 5 лет назад +8

      Hey so, I am learning architecture right now and from what I understand, the 5 stages are separate. Stage 1 is instruction fetch, stage 2 is instruction decode, stage 3 is execute and stage 5 is write back. So pipelining works by instead of 1 instruction going through all 5 stages and then the next instruction going through all 5 stages, instruction 1 will be fetched and then while instruction 1 is decoded, then instruction 2 will be fetched then while instruction 1 is being executed, instruction 2 is being decoded. Think of doing laundry. You wash them, then dry them then fold them. Well, say you have two loads of laundry to do; you wouldn't wash, dry and fold one load and then start washing the second load, it would simply take too long to finish both loads. So what you do is after you wash the first load you throw it in the dryer. While the dryer is drying the first load, you throw the second load in the washer. When load 1 is being folded, you throw load 2 in the dryer and then when you finishing folding load 1, its time to fold load 2. That is exactly how the stage pipeline works... like doing a bunch of laundry lol

    • @NIV-I-X
      @NIV-I-X 5 лет назад +1

      @@bsce100 this was lots of help :) thanks a lot

    • @bsce100
      @bsce100 5 лет назад

      Anar_NL no problem. I’m glad it helped

    • @naicguybawb1465
      @naicguybawb1465 5 лет назад +1

      @@bsce100 Nice and Simple Explanation Keep it up we need more people like u in the world :)