Courses/Electronics Engineering

Computer Architecture and Organization

VL321 · SVNIT Electronics Engineering

How a processor really runs a program: instructions and addressing, IEEE 754, the datapath and its control signals, the control unit, caches and their policies, virtual memory, I/O and buses. In plain words, with the teacher's own slides.

Read it on Tu ChahiyeFree with your SVNIT college email

What's inside

  • Full course: 16 chapters
  • Revision sheets: 15 sheets for the night before
  • Solved past papers

The chapters

  1. 00How to use this course0.1 What this subject is about · 0.2 The map of the course · 0.3 Where this material comes from · 0.4 How to read a page · 0.5 The notation used everywhere · 0.6 A plan for the exams
  2. 01Inside a computer1.1 The five functional units · 1.2 The stored-program idea · 1.3 Memory: bits, bytes, words and addresses · 1.4 Byte order: big-endian and little-endian · 1.5 The registers inside the processor · 1.6 The instruction cycle: fetch, decode, execute · …
  3. 02Instructions and addressing modes2.1 What an instruction says, and the three types · 2.2 Addressing modes: where is the operand? · 2.3 The operand is in the instruction or a register: immediate, register, implicit · 2.4 The instruction points into memory: direct and indirect · 2.5 A register points into memory: register indirect, auto-increment, auto-decrement · 2.6 The address is worked out: relative, indexed, base plus index · …
  4. 03Designing an instruction set, and the pipeline3.1 The parts of an instruction · 3.2 Three, two, one or zero addresses · 3.3 Encoding an instruction set: expanding opcodes · 3.4 The stack · 3.5 Subroutines: call, return and the stack frame · 3.6 MIPS: a modern RISC instruction set · …
  5. 04Numbers: fixed point and IEEE 7544.1 Number formats and binary fractions · 4.2 Whole numbers: unsigned and three ways to store a sign · 4.3 Working with 2's complement: negation, sign extension and overflow · 4.4 Fixed-point fractions · 4.5 From fixed point to floating point · 4.6 IEEE 754: the fields, the bias and the range · …
  6. 05Arithmetic hardware for integers5.1 Adding two bits: the half adder and the full adder · 5.2 The n-bit ripple-carry adder and its delay · 5.3 One circuit that adds and subtracts, with overflow detection · 5.4 The carry-lookahead adder · 5.5 A simple ALU slice · 5.6 Multiplying unsigned numbers: shift and add · …
  7. 06Floating-point arithmetic6.1 Getting ready: the format and the numbers we will use · 6.2 Addition and subtraction: the steps and the hardware · 6.3 Worked example: 5.75 + 3.25 · 6.4 Worked examples: subtraction · 6.5 Rounding: guard, round and sticky bits · 6.6 Multiplication · …
  8. 07The datapath: single bus and three bus7.1 What a datapath is · 7.2 The single-bus datapath, part by part · 7.3 Register transfer: gates and the tri-state buffer · 7.4 ALU operation: why Y and Z are needed · 7.5 Memory read and write: MDR, MFC and WMFC · 7.6 The fetch: three steps every instruction starts with · …
  9. 08The control unit: hardwired and microprogrammed8.1 What the control unit does · 8.2 The hardwired control unit, block by block · 8.3 From a control sequence to a logic equation · 8.4 Deriving the signals for fetch, ADD, branch and BZ · 8.5 The microprogrammed control unit · 8.6 The sequencer: choosing the next control word · …
  10. 09The memory hierarchy and cache write policies9.1 Why one memory is not enough · 9.2 The levels: size, speed and cost · 9.3 How data moves between the levels · 9.4 Why a hierarchy works: locality of reference · 9.5 Hits, misses and the miss penalty · 9.6 The average memory access time · …
  11. 10Cache mapping10.1 Where can a block go? · 10.2 Splitting the address: one recipe for all three · 10.3 Direct mapping · 10.4 Set-associative mapping · 10.5 Fully associative mapping · 10.6 Conflict misses, the cost of associativity, and a comparison · …
  12. 11Replacement policies11.1 Why a full cache must choose a victim · 11.2 FIFO and LIFO: go by arrival time · 11.3 Belady's anomaly: more frames, more misses · 11.4 LRU and MRU: go by last use · 11.5 LFU and MFU: count the uses · 11.6 The Optimal policy: look into the future · …
  13. 12Virtual memory, DMA and memory chips12.1 Why virtual memory? · 12.2 Pages, frames and the page table · 12.3 Page faults, the TLB and the effective access time · 12.4 Segmentation, and a real example: the Intel Pentium · 12.5 The DMA controller · 12.6 Inside a memory chip: SRAM and DRAM · …
  14. 13Input and output: programmed and interrupt-driven13.1 Why input and output need special care · 13.2 Inside an I/O interface · 13.3 Memory-mapped I/O and isolated I/O · 13.4 Programmed I/O: the processor keeps asking · 13.5 Interrupt-driven I/O: the device rings the bell · 13.6 Many devices: which one, and who goes first? · …
  15. 14Buses and protocols14.1 What a bus is · 14.2 Synchronous and asynchronous buses · 14.3 Bus arbitration: who may use the bus · 14.4 Serial and parallel buses · 14.5 IDE/ATA and SATA: the disk buses · 14.6 SCSI and SAS · …
  16. 15The exam kit15.1 How to write a COA answer · 15.2 Every formula, unit by unit · 15.3 The recipes for the numerical questions · 15.4 The mid-sem questions, with their answers · 15.5 The numbers to remember · 15.6 The descriptive questions that keep coming

Previous year papers

End-sem 2024 · Mid-sem 2024

The original papers, as they were set. All SVNIT previous year papers

Tu Chahiye is a student project, not an official SVNIT service. Course codes and names are used only to say which subject a page is about. All courses · Exam preparation