• ↑↓ pour naviguer
  • pour ouvrir
  • pour sélectionner
  • ⌘ ⌥ ↵ pour ouvrir dans un panneau
  • ←→ pour naviguer
  • esc pour rejeter
⌘ '
raccourcis clavier

Introduction to Computer Organization and Architecture

Computer Organization vs Architecture

Computer OrganizationComputer Architecture
Physical implementationLogical design
Hardware detailsInstruction set design
Memory technology, interfacesInstruction formats, addressing modes

Five Functional Units

  1. Input Unit - Keyboard, Mouse, Scanner
  2. Output Unit - Monitor, Printer, Speaker
  3. Memory Unit - RAM, ROM, Cache
  4. ALU - Arithmetic and Logic operations
  5. Control Unit - Coordinates all operations

Information Flow

Input → Memory → ALU → Memory → Output
              ↑
              ↓
            Control Unit

Von Neumann vs Harvard Architecture

Von Neumann:

  • Single memory for data and instructions
  • Sequential execution
  • Bottleneck: Single bus

Harvard:

  • Separate memories for data and instructions
  • Parallel access
  • Higher performance

Performance Metrics

Execution Time = (Instruction Count × CPI) / Clock Rate

CPU Time = CPU Clock Cycles × Clock Cycle Time

MIPS = Instruction Count / (Execution Time × 10^6)

Amdahl’s Law

Speedup = 1 / [(1 - P) + (P / S)]

Where P = enhanced portion, S = speedup of enhanced portion

Flynn’s Classification

TypeDescriptionExample
SISDSingle Instruction, Single DataTraditional PC
SIMDSingle Instruction, Multiple DataGPU
MISDMultiple Instruction, Single DataRare
MIMDMultiple Instruction, Multiple DataMultiprocessor