Introduction to Computer Architecture and Organization - Computer Architecture And Organization | Lecture Notes - YNetStudyHub
Computer Architecture And Organization

Introduction to Computer Architecture and Organization

2 mins read 358 words Topic 1 of 9
Study with AI Tutor Learn 2× faster Instant Q&A Quiz practice
Launch AI Lesson
Text Size:
PDF Save

This topic covers the basic concepts of computer architecture and organization, including the role of hardware and software in computing systems, the von Neumann architecture, and the relationship between hardware and software components.

Introduction to Computer Architecture & Organization
(A concise, easy‑to‑read study guide)


1. What Is Computer Architecture?

Aspect Definition
Architecture The visible attributes of a system that affect programming: instruction set, memory hierarchy, I/O mechanisms, addressing modes, and system‑level performance goals.
Organization The implementation details that realize the architecture: datapath design, control logic, micro‑operations, pipelines, cache structures, and physical interconnects.
Key Idea Architecture = what the computer does. Organization = how it does it.

2. Levels of Design (From High‑Level to Low‑Level)

  1. High‑Level Architecture – Instruction Set Architecture (ISA)
  2. Micro‑Architecture – Datapath & control unit design
  3. Logic Implementation – Gate‑level circuits, RTL (Register Transfer Language)
  4. Physical Implementation – Chip layout, floorplanning, packaging

(Each lower level must satisfy the specifications of the level above it.)


3. Instruction Set Architecture (ISA)

Category Examples Why It Matters
Data Types Integer, floating‑point, SIMD vectors, packed BCD Determines operand size & precision.
Instruction Formats R‑type, I‑type, J‑type (MIPS); VEX prefix (x86) Defines encoding, length, and decoding complexity.
Addressing Modes Register, immediate, base+offset, PC‑relative, indexed Impacts code density and compiler optimization.
Control Flow Branch, jump, call/return, conditional move Influences pipeline hazards & branch prediction.
Privilege Levels User, kernel (ring 0), hypervisor Provides security & isolation.
Exceptions & Interrupts Fault, trap, abort, system call Enables OS interaction and error handling.

Common ISAs: x86‑64, ARMv8‑A, RISC‑V, MIPS, PowerPC.


4. Basic Computer Organization

4.1. Central Components

Component Function
ALU (Arithmetic‑Logic Unit) Executes integer/floating‑point arithmetic, logical ops, shifts.
Registers Fast, on‑chip storage for operands, results, control info (e.g., PC, IR, status flags).
Control Unit Generates control signals; can be hardwired or microprogrammed.
Memory Hierarchy Registers → L1/L2/L3 caches → Main memory (DRAM) → Secondary storage.
I/O Subsystem Device controllers, buses, interrupt handling.
Clock Global timing reference; defines cycle time (period).

4.2. Data Path Overview

[Instruction Fetch] → [Decode] → [Execute] → [Memory Access] → [Write‑Back]
        |                |           |                |                |
      PC → IR        Control      ALU/FPU          Data Cache      Register File

The classic 5‑stage pipeline (IF, ID, EX, MEM, WB) is the foundation of many modern CPUs.


5. Memory System

Level Typical Size Latency (cycles) Purpose
Registers 32–256 KB (total) 1
Topic Concept Map
Ask AI Tutor 24/7 Live

Click any prompt to explore this topic interactively with your AI Tutor:

Explain in simple terms Give me 3 practice exam questions Summarize key principles in 5 points
Unit Syllabus 9 Topics
Introduction to Computer Architecture and Organization
Central Processing Unit (CPU)
Upgrade
Memory Hierarchy
Upgrade
Input and Output (I/O) Systems
Upgrade
Instruction Set Architecture (ISA)
Upgrade
Pipelining and Parallel Processing
Upgrade
Multiprocessor Systems
Upgrade
Performance Evaluation and Benchmarking
Upgrade
Emerging Trends in Computer Architecture
Upgrade