MIPS Pipelining

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/6

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

7 Terms

1
New cards

IF

Fetch instruction from memory

2
New cards

ID

Read registers and decode instruction

3
New cards

EX

Execute operation or calculate an address

4
New cards

MEM

Access an operand in memory

5
New cards

add $t0, $t1, $t2

  • This instruction performs an addition and writes the result into register $t0.

  • Pipelined Execution:

    • In a pipelined architecture, multiple instructions can be processed simultaneously at different stages:

      • Stage 1 (IF - Instruction Fetch): The add instruction is fetched.

      • Stage 2 (ID - Instruction Decode): The add instruction decodes and reads the values from $t1 and $t2.

      • Stage 3 (EX - Execute): The add instruction executes the addition.

      • Stage 4 (MEM - Memory Access): Not applicable for add as it does not involve memory.

      • Stage 5 (WB - Write Back): The result of the add operation is written to $t0.

6
New cards

lw $t0, 0($t1)

load a word from memory into register “$t0". It retrieves a word (4 bytes) from the memory address specified by the contents of register $t1 and stores it in register $t0.

7
New cards