Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Pipeline

Chen
October 24, 2022

 Pipeline

Chen

October 24, 2022
Tweet

More Decks by Chen

Other Decks in Science

Transcript

  1. 8 Pipeline Example: Cycle 1 PC Insn Mem S X

    Register File s1 s2 d Data Mem a d + 4 << 2 PC IR PC A B IR O B IR O D IR PC F/D D/X X/M M/W add $3,$2,$1
  2. 9 Pipeline Example: Cycle 2 PC Insn Mem Register File

    S X s1 s2 d Data Mem + 4 << 2 PC IR PC A B IR O B IR O D IR PC F/D D/X X/M M/W lw $4,0($5) add $3,$2,$1 S X << 2 Register File s1 s2 d + 4 Data Mem a d
  3. 10 Insn Mem Pipeline Example: Cycle 3 PC Register File

    S X s1 s2 d Data Mem + 4 << 2 PC IR PC A B IR O B IR O D IR PC F/D D/X X/M M/W sw $6,4($7) lw $4,0($5) add $3,$2,$1 Register File S X << 2 Data Mem a d
  4. 11 Pipeline Example: Cycle 4 PC Insn Mem Register File

    S X s1 s2 d Data Mem + 4 << 2 PC IR PC A B IR O B IR O D IR PC F/D D/X X/M M/W sw $6,4($7) lw $4,0($5) add $3,$2,$1 << 2 Register File s1 s2 d Data Mem a d
  5. 12 Pipeline Example: Cycle 5 PC Insn Mem Register File

    S X s1 s2 d Data Mem + 4 << 2 PC IR PC A B IR O B IR O D IR PC F/D D/X X/M M/W sw $6,4($7) lw $4,0($5) add S X Register File s1 s2 d << 2 Data Mem a d
  6. 13 Pipeline Example: Cycle 6 PC Insn Mem Register File

    s1 s2 d + 4 PC IR PC A B IR O B IR O D IR PC F/D D/X X/M M/W sw $6,4($7) lw Data Mem a d S X << 2
  7. 14 Pipeline Example: Cycle 7 PC PC IR PC A

    B IR O B IR O D IR PC F/D D/X X/M M/W sw Insn Mem S X Register File s1 s2 d Data Mem a d + 4 << 2