UNIHIVE

Study Hub UNIPORT CSC 382

CSC 382 · Computer Architecture 1

Computer architecture and organisation

What architecture means, the von Neumann model, the main units of a computer and how they are connected by buses.

Our notes

2 min read

Architecture and organisation

  • Architecture: what a machine-language programmer sees: the instruction set, registers, data types, addressing modes, memory model. Example: whether there is a multiply instruction.
  • Organisation: how that architecture is built: the circuits, control signals, memory technology, pipelines. Example: whether multiply is done by a fast multiplier or by repeated addition.

Two computers can share an architecture and differ in organisation: every x86 processor from 1978 onward runs the same basic instructions in very different ways.

The von Neumann model (1945)

  1. A memory holds both instructions and data (the stored-program idea).
  2. A central processing unit (CPU) made of an arithmetic and logic unit (ALU), registers and a control unit.
  3. Input and output devices.
  4. Instructions are fetched from memory and executed one after another unless a jump changes the order.

The Harvard model keeps separate memories (and paths) for instructions and data; many microcontrollers and the caches inside modern CPUs use it.

Buses

A bus is a set of shared wires:

  • Address bus: carries the memory address (n address lines reach 2ⁿ locations).
  • Data bus: carries the data (8, 16, 32, 64 bits wide).
  • Control bus: read, write, clock, interrupt, reset signals.

Example: a 16-bit address bus reaches 2¹⁶ = 65,536 locations (64 K); a 32-bit bus reaches 4 GiB of bytes.

The von Neumann bottleneck

Instructions and data share one path to memory, so the CPU often waits. Caches, wider buses and separate instruction and data caches all ease this.

Levels of a computer system

Applications → high-level language → assembly language → operating system → instruction set architecture → microarchitecture (control, datapath) → digital logic → transistors. Each level hides the details below it.

Measuring performance

CPU time = instruction count × cycles per instruction (CPI) × clock period.
Example: 2 × 10⁹ instructions, average CPI 1.5, clock 3 GHz: time = 2 × 10⁹ × 1.5 ÷ (3 × 10⁹) = 1.0 s.

Exams usually ask

  • Distinguish architecture from organisation with examples.
  • Describe the von Neumann model and the bottleneck.
  • Explain the three buses; relate address lines to memory size.

Common mistake

Thinking a faster clock always means a faster computer. If the instruction count or CPI rises, the program can still be slower.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

No reading links here yet

Our team adds free books, videos and practice for each topic, and opens every link before it goes up.

All CSC 382 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.