Это видео недоступно.
Сожалеем об этом.

Data Hazards in Pipelining | IIT lecture Series | Computer Organization

Поделиться
HTML-код
  • Опубликовано: 16 авг 2024
  • In the domain of central processing unit (CPU) design, hazards are problems with the instruction pipeline in CPU microarchitectures when the next instruction cannot execute in the following clock cycle,[1] and can potentially lead to incorrect computation results. Three common types of hazards are data hazards, structural hazards, and control flow hazards (branching hazards).[2]
    There are several methods used to deal with hazards, including pipeline stalls/pipeline bubbling, operand forwarding, and in the case of out-of-order execution, the scoreboarding method and the Tomasulo algorithm.
    Data hazards Types :
    Data hazards occur when instructions that exhibit data dependence modify data in different stages of a pipeline. Ignoring potential data hazards can result in race conditions (also termed race hazards). There are three situations in which a data hazard can occur:
    1. read after write (RAW), a true dependency
    2. write after read (WAR), an anti-dependency
    3. write after write (WAW), an output dependency
    Source : en.wikipedia.o...)
    HAZARDS DURING PIPELINING (Operand Forwarding Technique)
    data hazards in instruction pipelining
    data forwarding in pipeline
    Data Dependency
    branch prediction computer architecture
    tomasulo algorithm
    data hazards and forwarding
    mips pipeline
    control hazards in pipelining
    structural hazards in pipelining
    pipelining hazards in computer organization
    Hope you liked the video !!
    Please don't forget to subscribe and click on the bell icon to get regular notifications.

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

  • @jenweatherwax7113
    @jenweatherwax7113 4 года назад +5

    You are a miracle! You explained in less than 8 minutes what no one else could explain in many, many hours! Thank you so much

  • @BytebroUK
    @BytebroUK 5 лет назад +3

    Mate, over 40 years ago I started out (after a bit of Fortran IV and SEL assembly language) on 'pipelined micro-code' for a 'Floating Point Array Processor Unit', which was about the size of an upright freezer, and I believe was sold by a company called "FPS Systems", and had a whole 32,768 words (each 32-bit plus some floating point stuff) of memory, and it had a five-stage instruction pipeline. It was intellectually the most fun I've ever had.

  • @alagurajan4460
    @alagurajan4460 3 года назад

    design the following set of instructions using a 5 stage instruction pipeline. if any hazards occur, identify those hazards and redesign the pipeline for rectifying each hazard. find the number of clock cycles taken to complete the following sequence of instructions. assume all stages take one clock cycle each to complete the operation. a. add r2, r1, r0 # r2 ← r0 + r1 b. mul r4, r3, r2 #r4 ← r3 + r2 c. sub r6, r5, r4 #r6 ← r5 + r4

  • @tombrady7390
    @tombrady7390 3 года назад +1

    in the first example after reading r1 from sub instruction we could have again read r1 value from sub only for instruction AND,OR
    why agin read from starting ADD instruction.

  • @sadgithendra8314
    @sadgithendra8314 3 года назад +3

    Super explanation

  • @satyajith5528
    @satyajith5528 3 года назад +2

    👍

  • @esraamohamed5601
    @esraamohamed5601 5 лет назад +2

    Thank you very much ..for all you have done !

  • @piyushpandey8365
    @piyushpandey8365 3 года назад +2

    Great explanation sir.

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

    the hazard is the 3rd guy learned it wrong from 2nd guy who diverged away from 1st guy

  • @atifbashir7229
    @atifbashir7229 5 лет назад +3

    das ist super .... danke schön

  • @user-kg4tt9fs1e
    @user-kg4tt9fs1e Год назад

    great explanation sir!

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

    Thank u Sir in depth Sesion

  • @kamilia4461
    @kamilia4461 3 года назад +3

    thank you so much

  • @dhruvchoksi826
    @dhruvchoksi826 2 года назад

    At 17:07 you mentioned that when lw follows sw, there is no data hazard. But the value to be stored will be stored at the end of mem stage. While that value will be required during ID stage. If it takes garbage value in the ID stage then it gets actual value only y forwarding. So it is ultimately a memory data hazard. Please explain.

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

    thank you

  • @Sgoose105
    @Sgoose105 4 года назад +1

    Excellent!

    • @honestindianpeople
      @honestindianpeople  4 года назад

      Thanks Payton !! We are grateful that you appreciated our work

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

    Confused @12:15 should it be SW R1, 4(R6) ?
    Instead of SW 4(R6), R1?

    • @elizabethstevenson9707
      @elizabethstevenson9707 3 года назад

      Yeah I think it’s the assembly language he used. It’s different from the normal one. Confused me a bit, too.

  • @mahanteshmise6930
    @mahanteshmise6930 5 лет назад +2

    I think sw syntax is wrong at 12:10. Correct me if I am wrong! Good explanation sir!

    • @wennie2939
      @wennie2939 4 года назад

      I believe the rs and rt are flipped

  • @gauravchaudhari3843
    @gauravchaudhari3843 4 года назад +1

    what is abbrevation of IM and DM

  • @gamaniprasad.n7100
    @gamaniprasad.n7100 2 года назад

    How we to learn this concept easily

  • @alagurajan4460
    @alagurajan4460 3 года назад

    Sir can you solve this question?