Pipelining (OCR A-Level Computer Science): Flashcards

📚Flashcards
Pipelining
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

15 cards from this deck

Show

What is pipelining?

Overlaps instruction execution stages to increase CPU efficiency

Two main types of pipelining

Instruction Pipeline and Arithmetic Pipeline

What does instruction pipeline do?

Handles multiple instructions simultaneously at different stages

Instruction pipeline stage 1

Fetch: instruction fetched from memory to instruction buffer

Instruction pipeline stage 2

Decode: Control Unit decodes the instruction

Instruction pipeline stage 3

Execute: ALU performs arithmetic or logical operations

Instruction pipeline stage 4

Write-back: results written to registers or memory

How does instruction pipeline improve performance?

Increases CPU throughput by processing multiple instructions

Arithmetic pipeline purpose

Breaks complex arithmetic calculations into sequential steps

Where are arithmetic pipelines used?

Graphics rendering, scientific simulations, engineering tasks

Pipelining advantage: throughput

Multiple instructions in progress simultaneously

Pipelining advantage: execution time

Execution time closer to single clock cycle

Pipelining advantage: CPU resources

Reduces idle times, keeps resources active

What is a data hazard?

Instruction depends on incomplete previous instruction result

What is a pipeline stall?

Delays when pipeline must wait for specific operations

Explore OCR A-Level Computer Science Revision Notes by Topics

Explore OCR A-Level Computer Science Model Answers by Topics

Explore OCR A-Level Computer Science Quizzes by Topics

Explore OCR A-Level Computer Science Exam Questions by Topics

Join 100,000+ A-Level students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.