Unit 1 of 4 · B.Sc IT Sem 3

Unit 1: Computer organization fundamentals

Computer System Architecture notes · PTU syllabus (BSIT301/BSBC204)

3 min read6 topics10 exam questions
On this page
  1. Unit summary
  2. Computer organisation, design and architecture
  3. Functional units of a computer
  4. Stored program concept and Von Neumann architecture
  5. Flynn's classification
  6. Register transfer language and micro-operations
  7. Common bus system and data movement
  8. Key terms
  9. Quick revision
  10. Important questions

Unit summary

Computer architecture explains how hardware is organised to execute programs. This unit covers computer organisation, design and architecture, the stored program concept, Von Neumann architecture, Flynn's classification — SISD, SIMD and MIMD — register transfer language, logic, shift and arithmetic micro-operations, and the common bus system and data movement.

After this unit you can

  • Distinguish computer organisation, design and architecture
  • Explain the stored program concept and Von Neumann architecture
  • Classify computers by Flynn's taxonomy
  • Write register transfers and micro-operations and explain the common bus

PTU syllabus topics

  • Computer organization/design/architecture
  • stored program concept
  • Von Neumann architecture
  • Flynn's classification (SISD/SIMD/MIMD)
  • register transfer language
  • micro-operations (logic, shift, arithmetic)
  • common bus system and data movement
ClassificationFlynn's classification
Computer architectures
  • SISD

    Single instruction, single data: classic uniprocessor

  • SIMD

    Single instruction, multiple data: GPUs, vector processors

  • MISD

    Multiple instruction, single data: rare

  • MIMD

    Multiple instruction, multiple data: multicore systems

1

Topic 1

Computer organisation, design and architecture

  • Computer architecture: attributes visible to the programmer — instruction set, data types, addressing modes, I/O mechanisms (what the computer does).
  • Computer organisation: how features are implemented — control signals, interfaces, memory technology (how it does it).
  • Computer design: determining the hardware components and their interconnection to meet specifications.
2

Topic 2

Functional units of a computer

A computer has four functional parts: the input unit, the memory unit, the CPU and the output unit. The CPU has three main parts:

  • Arithmetic Logic Unit (ALU): performs arithmetic and logical operations.
  • Control Unit (CU): fetches and decodes instructions and sends control signals to every part.
  • Registers: small, very fast storage inside the CPU, such as the Program Counter (PC), Accumulator (AC), Instruction Register (IR), Memory Address Register (MAR) and Memory Data Register (MDR).
ProcessHow the CPU runs an instruction
  1. 1Fetch

    PC gives the address; instruction goes to IR

  2. 2Decode

    CU works out the operation

  3. 3Execute

    ALU or memory carries it out

  4. 4Store and repeat

    PC moves to the next instruction

3

Topic 3

Stored program concept and Von Neumann architecture

The stored program concept (John von Neumann, 1945) says that both the program instructions and the data are stored together in main memory, so a computer can be reprogrammed simply by loading a new program.

ComparisonVon Neumann vs Harvard
Von Neumann
Harvard

Memory

One memory for instructions and data

Separate memories for instructions and data

Buses

One shared bus

Separate buses

Speed

Slower: instruction and data fetches take turns (Von Neumann bottleneck)

Faster: both can be fetched at once

Used in

General-purpose PCs

Microcontrollers, DSPs, CPU caches

4

Topic 4

Flynn's classification

FrameworkFlynn's taxonomy
  • SISD

    Single instruction, single data — traditional uniprocessor

  • SIMD

    Single instruction, multiple data — vector processors, GPUs

  • MISD

    Multiple instruction, single data — rare (fault-tolerant systems)

  • MIMD

    Multiple instruction, multiple data — multicore processors, clusters

5

Topic 5

Register transfer language and micro-operations

Register Transfer Language (RTL) is a notation for describing data moving between registers. R2 ← R1 means "copy the contents of R1 into R2". A control condition is written before a colon: P: R2 ← R1 happens only when P = 1. A micro-operation is an elementary operation on data stored in registers, completed in one clock pulse.

  • Register transfer: R2 ← R1
  • Arithmetic: R3 ← R1 + R2, R1 ← R1 + 1 (increment), R2 ← R2' + 1 (2's complement)
  • Logic: R1 ← R1 ∧ R2 (AND), R1 ← R1 ⊕ R2 (XOR)
  • Shift: shl R1 (shift left), shr R1, circular shift and arithmetic shift
ClassificationTypes of micro-operations
Micro-operations
  • Register transfer

    R2 ← R1

  • Arithmetic

    Add, subtract, increment, decrement, 2's complement

  • Logic

    AND, OR, XOR, complement — selective set, clear, mask

  • Shift

    Logical, circular (rotate), arithmetic shifts

6

Topic 6

Common bus system and data movement

Connecting every register to every other register with separate wires would need too many wires. Instead, a common bus — a set of shared lines — carries data between registers and memory, and select lines choose which register puts data on the bus at a time.

  • Data bus: carries the actual data; bidirectional.
  • Address bus: carries the memory address; unidirectional (CPU to memory). A 16-bit address bus can address 2¹⁶ = 64K locations.
  • Control bus: carries control signals such as read, write, clock and interrupt.

Key terms

Computer architecture
Programmer-visible attributes of a computer
Stored program concept
Instructions and data stored together in memory
SIMD
One instruction operating on multiple data items
Micro-operation
Elementary operation completed in one clock pulse
Common bus
Shared set of lines for data transfer

Quick revision

  • Architecture vs organisation vs design.
  • Input, memory, CPU (ALU, CU, registers), output.
  • Stored program; Von Neumann (and bottleneck).
  • SISD, SIMD, MISD, MIMD.
  • RTL notation; arithmetic, logic, shift micro-operations; common bus.

Important exam questions

Practice questions written to the PTU exam pattern for this unit's syllabus: short answers (Section A style) and long answers (Sections B and C style).

Short-answer questions

  1. Q1.Distinguish computer architecture and organisation.
  2. Q2.State the stored program concept.
  3. Q3.What is the Von Neumann bottleneck?
  4. Q4.Give an example of SIMD.
  5. Q5.Write the RTL for transferring R1 to R2 when P = 1.
  6. Q6.Name three types of shift micro-operations.

Long-answer questions

  1. Q1.Explain the stored program concept and Von Neumann architecture.
  2. Q2.Explain Flynn's classification of computers.
  3. Q3.Explain register transfer language and micro-operations.
  4. Q4.Explain the common bus system with a diagram.

Stuck on this unit?

Message SBS on WhatsApp for help with Computer System Architecture, or to ask about studying B.Sc IT at Synetic.

WhatsApp us