Docsity

Computer Architecture & Organization: A Top-Level View, Slides of Computer Architecture and Organization

Partial preview of the text

Download Computer Architecture & Organization: A Top-Level View and more Slides Computer Architecture and Organization in PDF only on Docsity!

EEC 216

Computer Architecture and

Organization

Spring 2020

Lecture

Dr. Mohamed Issa

Chapter 3. A Top-Level View

of Computer Function and

Interconnection (Cont.)

Transfer of Control via Interrupts

Multiple Interrupts

  • Disable interrupts —Processor will ignore further interrupts while processing one interrupt. —Interrupts remain pending and are checked after first interrupt has been processed. —Interrupts handled in sequence as they occur.
  • Define priorities —Low priority interrupts can be interrupted by higher priority interrupts. —When higher priority interrupt has been processed, processor returns to previous interrupt.

Multiple Interrupts – Nested

Multiple Interrupts – Nested (example)

Interrupt priorities: Printer (P): 2, Disk (D): 4, Communication line (C): 5 ISR execution: 10 units, Interrupt scenario: P @ t=10, C @ t=15, D @ t=

User Program Printer ISR

Communication ISR

Disk ISR









































t = 0

P

C

D

CPU Connection

  • Reads instructions and data
  • Writes out data (after processing)
  • Sends control signals to other units
  • Receives (& acts on) interrupts

Memory Connection

  • Receives control signals. —Read —Write
  • Receives addresses (of locations).
  • Sends data (read operation).
  • Receives data (write operation).
  • CPU to memory.
  • Memory to CPU.
  • CPU to I/O.
  • I/O to CPU.
  • I/O to memory.
  • Memory to I/O.

Types of Transfers

Direct Memory Access (DMA)

Bus Interconnection

  • There are a number of possible interconnection

systems.

  • Single and multiple Bus structures are most

common.

  • Examples of a bus: —Internal: Uni-bus (DEC PDP-11), PCI, SATA —External: USB —Internal/external: SCSI

What is a Bus? (2)

  • Data lines — Carries data: Remember that there is no difference between “data” and “instruction” at this level. — Width is a key determinant of performance: 8, 16, 32, 64 bit.
  • Address lines — Identify the source or destination of data. - e.g. CPU needs to read an instruction (data) from a given location in memory. — Bus width determines maximum memory capacity of system. - e.g. 8080 has 16 bit address bus giving 64k address space.
  • Control lines — Control and timing information: memory read/write signal, interrupt request, clock signals

Bus Interconnection Scheme

Traditional Bus Architecture

High Performance Bus