System bus.

Slides:



Advertisements
Similar presentations
Computer Architecture and Organization
Advertisements

Computer Architecture
CSCI 4717/5717 Computer Architecture
1 Lecture 2: Review of Computer Organization Operating System Spring 2007.
TK 2123 COMPUTER ORGANISATION & ARCHITECTURE
1 Computer System Overview OS-1 Course AA
Chapter 3 System Buses.
University College Cork IRELAND Hardware Concepts An understanding of computer hardware is a vital prerequisite for the study of operating systems.
TECH CH03 System Buses Computer Components Computer Function
Computer Organization and Assembly language
CS-334: Computer Architecture
The Structure of the CPU
1 Computer System Overview Chapter 1. 2 n An Operating System makes the computing power available to users by controlling the hardware n Let us review.
Computer Architecture
Computer System Overview Chapter 1. Operating System Exploits the hardware resources of one or more processors Provides a set of services to system users.
THE COMPUTER SYSTEM. Lecture Objectives Computer functions – Instruction fetch & execute – Interrupt Handling – I/O functions Interconnections Computer.
ECE 456 Computer Architecture
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Top Level View of Computer Function and Interconnection.
Ihr Logo Operating Systems Internals & Design Principles Fifth Edition William Stallings Chapter 1 Computer System Overview.
Interrupts, Buses Chapter 6.2.5, Introduction to Interrupts Interrupts are a mechanism by which other modules (e.g. I/O) may interrupt normal.
2 nd Year - 1 st Semester Asst. Lect. Mohammed Salim Computer Architecture I 1.
COMPUTER ORGANIZATIONS CSNB123. COMPUTER ORGANIZATIONS CSNB123 Expected Course Outcome #Course OutcomeCoverage 1Explain the concepts that underlie modern.
Computer Architecture Lecture 2 System Buses. Program Concept Hardwired systems are inflexible General purpose hardware can do different tasks, given.
EEE440 Computer Architecture
Review Question (last week) 1.With the aid of diagrams, explain the significant difference between Von Neumann and Harvard Architecture. 1.
ECEG-3202 Computer Architecture and Organization Chapter 3 Top Level View of Computer Function and Interconnection.
Computer Architecture 2 nd year (computer and Information Sc.)
By Fernan Naderzad.  Today we’ll go over: Von Neumann Architecture, Hardware and Software Approaches, Computer Functions, Interrupts, and Buses.
Chapter 6: Computer Components Dr Mohamed Menacer Taibah University
Dr Mohamed Menacer College of Computer Science and Engineering, Taibah University CE-321: Computer.
Lecture 1: Review of Computer Organization
Overview von Neumann Architecture Computer component Computer function
Group 1 chapter 3 Alex Francisco Mario Palomino Mohammed Ur-Rehman Maria Lopez.
1 Computer Architecture. 2 Basic Elements Processor Main Memory –volatile –referred to as real memory or primary memory I/O modules –secondary memory.
Chapter 3 System Buses.  Hardwired systems are inflexible  General purpose hardware can do different tasks, given correct control signals  Instead.
Computer Architecture. Top level of Computer A top level of computer consists of CPU, memory, an I/O components, with one or more modules of each type.
CHAPTER 4 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Computer System Overview
Chapter 3 Top Level View of Computer Function and Interconnection
Computer System Overview
William Stallings Computer Organization and Architecture 8th Edition
ECEG-3202 Computer Architecture and Organization
Overview of Computer Architecture and Organization
BIC 10503: COMPUTER ARCHITECTURE
Overview of Computer Architecture and Organization
Computer System Overview
Chapter 3 System Buses.
Computer System Overview
A Top-Level View Of Computer Function And Interconnection
William Stallings Computer Organization and Architecture 7th Edition
Presentation transcript:

System bus

Overview

Computer components

The von Neumann architecture is based on three key concepts: Data and instructions are stored in a single read-write memory The contents of this memory are addressable by location, without regard to the type of data contained there Execution occurs in a sequential fashion (unless explicitly modified) from one instruction to the next

Two approaches to programming Hardwired programming Software

Other components needed I/O Components Main memory

Interactions among Computer Components Memory Address Register Memory Buffer Register I/O address register I/O buffer register Memory module

Computer Function Processing required for a single instruction is called an instruction cycle Simple POV (Point-Of-View): 2 steps Fetch Execute

Fetch Program counter (PC) register keeps track of which instruction executes next Normally, CPU increments PC after each fetch Fetched instruction is loaded into the instruction register (IR)

Execute May involve several operations May utilize previously changed state of CPU and (indirectly) other devices General categories: CPU-Memory: Data may be transferred from CPU to memory or vice-versa CPU-IO: Data may be transferred between CPU and an I/O module Data Processing: CPU may perform some arithmetic or logic operation on the data Control: An instruction may specify that the sequence of execution be altered

More complex instructions May combine these categories May perform more than one reference to memory May specify I/O operation instead of memory reference May specify an operation to be performed on a vector of numbers or a string of characters

Expanded execution cycle Instruction Address Calculation Instruction Fetch Instruction Operation Decoding Operand Address Calculation Operand Fetch Data Operation Operand Store

Interrupts Mechanism by which other modules may interrupt the normal processing of the CPU Classes Program - as a result of program execution Timer - generated by hardware timer I/O - to signal completion of I/O or error Hardware failure

Instruction cycle with interrupts

When an interrupt signal is generated, the processor: Suspends execution of the current program and saves its context Sets PC to starting address of an interrupt handler routine

Multiple interrupts Can be handled by disabling some or all interrupts. Disabled interrupts generally remain pending and are handled sequentially Can be handled by prioritizing interrupts, allowing a higher priority interrupt to interrupt one of lower priority

Physical Interrupts Interrupts are represented as one or more lines in the system bus One line Polling Multiple lines Addressable interrupts

Interconnection Structures The collection of paths connecting the various modules of a computer (CPU, memory, I/O) is called the interconnection structure.

Memory

I/O Module

CPU

It must support the following types of transfers Memory to CPU CPU to Memory I/O to CPU CPU to I/O I/O to or from Memory - using Direct Memory Access (DMA)

Bus Interconnection A bus is a shared transmission medium Must only be used by one device at a time When used to connect major computer components (CPU, memory, I/O) is called a system bus

System bus Data bus Address bus Control bus

Three functional groups of communication lines Data bus Address bus Control bus

If one module wishes to send data to another? If one module wishes to request data from another?

Typical physical arrangement of a system bus A number of parallel electrical conductors Each system component taps into some or all of the bus lines System can be expanded by adding more boards A bad component can be replaced by replacing the board where it resides

Multiple Bus Hierarchies A great number of devices on a bus will cause performance to suffer Propagation delay Bottleneck

Traditional Hierarchical Bus Architecture

High-performance Hierarchical Bus Architecture

Elements of Bus Design Bus Types Physical dedication Method of Arbitration Timing Bus Width Data Transfer Type Combination operations Block data transfer

Elements of Bus Design Bus Types Physical dedication Dedicated Multiplexed Physical dedication Method of Arbitration Centralized Distributed Timing Synchronous Timing Asynchronous Timing Bus Width Data bus: wider Address bus: wider Data Transfer Type Combination operations Read-modify-write Read-after-write Block data transfer

Combination operations Bus elements Bus Types Dedicated Multiplexed Physical dedication Method of Arbitration Centralized Distributed Timing Synchronous Timing Asynchronous Timing Bus Width Data bus: wider Address bus: wider Data Transfer Type Combination operations Read-modify-write Read-after-write Block data transfer

PCI PCI=Peripheral Component Interconnect High-bandwidth Processor independent Can function as a mezzanine or peripheral bus