Overview of Computer Architecture and Organization

Slides:



Advertisements
Similar presentations
Computer Buses Ref: Burd, Chp – 220 Englander, Chp 7 p
Advertisements

Chapter Three: Interconnection Structure
Digital Computer Fundamentals
1  1998 Morgan Kaufmann Publishers Interfacing Processors and Peripherals.
S. Barua – CPSC 440 CHAPTER 8 INTERFACING PROCESSORS AND PERIPHERALS Topics to be covered  How to.
University College Cork IRELAND Hardware Concepts An understanding of computer hardware is a vital prerequisite for the study of operating systems.
Module I Overview of Computer Architecture and Organization.
CS-334: Computer Architecture
COMPONENTS OF THE SYSTEM UNIT
Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower.
Chapter 8 Input/Output. Busses l Group of electrical conductors suitable for carrying computer signals from one location to another l Each conductor in.
Spring EE 437 Lillevik 437s06-l2 University of Portland School of Engineering Advanced Computer Architecture Lecture 2 NSD with MUX and ROM Class.
1 (Based on text: David A. Patterson & John L. Hennessy, Computer Organization and Design: The Hardware/Software Interface, 3 rd Ed., Morgan Kaufmann,
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.
System bus.
Interrupts, Buses Chapter 6.2.5, Introduction to Interrupts Interrupts are a mechanism by which other modules (e.g. I/O) may interrupt normal.
Input/Output Computer component : Input/Output I/O Modules External Devices I/O Modules Function and Structure I/O Operation Techniques I/O Channels and.
COMPUTER ORGANIZATIONS CSNB123. COMPUTER ORGANIZATIONS CSNB123 Expected Course Outcome #Course OutcomeCoverage 1Explain the concepts that underlie modern.
MBG 1 CIS501, Fall 99 Lecture 18: Input/Output (I/O): Buses and Peripherals Michael B. Greenwald Computer Architecture CIS 501 Fall 1999.
EEE440 Computer Architecture
ECEG-3202 Computer Architecture and Organization Chapter 3 Top Level View of Computer Function and Interconnection.
L/O/G/O Input Output Chapter 4 CS.216 Computer Architecture and Organization.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
By Fernan Naderzad.  Today we’ll go over: Von Neumann Architecture, Hardware and Software Approaches, Computer Functions, Interrupts, and Buses.
PC Internal Components Lesson 4.  Intel is perhaps the most recognizable microprocessor manufacturer. List some others.
Dr Mohamed Menacer College of Computer Science and Engineering, Taibah University CE-321: Computer.
Group 1 chapter 3 Alex Francisco Mario Palomino Mohammed Ur-Rehman Maria Lopez.
Mohamed Younis CMCS 411, Computer Architecture 1 CMCS Computer Architecture Lecture 26 Bus Interconnect May 7,
Chapter 3 System Buses.  Hardwired systems are inflexible  General purpose hardware can do different tasks, given correct control signals  Instead.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
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 2: Computer Function And Interconnection
DIRECT MEMORY ACCESS and Computer Buses
Department of Computer Science and Engineering
Chapter 6 Input/Output Organization
Chapter 13: I/O Systems Modified by Dr. Neerja Mhaskar for CS 3SH3.
Components of Computer
Operating Systems (CS 340 D)
Chapter 7.2 Computer Architecture
I/O Memory Interface Topics:
CHAPTER 4 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
CS 286 Computer Organization and Architecture
Chapter 3 Top Level View of Computer Function and Interconnection
CS703 - Advanced Operating Systems
BIC 10503: COMPUTER ARCHITECTURE
Computer Architecture
William Stallings Computer Organization and Architecture 6th Edition
Computer Organization and Architecture William Stallings 8th Edition
ECEG-3202 Computer Architecture and Organization
Overview of Computer Architecture and Organization
I/O BUSES.
Chapter 3 System Buses.
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture
Presentation transcript:

Overview of Computer Architecture and Organization Module I Overview of Computer Architecture and Organization

Control lines Used to control access to and the use of address and data lines They transmit: Timing Signals: Indicate the validity of address and data Control Signals: Specify operations to be performed

Typical Control lines Memory Write : causes data on bus to be written to a specified memory location Memory Read : causes data from addressed location to be placed on bus I/O Write: causes data on the bus to be placed on addressed I/O port I/O Read: causes data from the addressed I/O port to be placed on bus

Typical Control lines Transfer ACK : Indicates data have been accepted from or placed on the bus Bus Request: Indicates a module needs control of the bus Bus Grant: Indicates bus request is granted Interrupt Request : Indicates that an interrupt request is pending Interrupt Acknowledge: Indicates that the pending interrupt request is recognised

Typical Control lines Clock: It is used to synchronize operations Reset: It initializes all modules

Operation of Bus To send data To receive data Obtain the use of bus Transfer data via bus To receive data Transfer a request for data Wait for data from other module

Physical Realization of a Bus Architecture System bus is a number of parallel electrical conductors (metal lines etched in a card) and each of system components taps into bus lines.

Physical Realization of a Bus Architecture

Multiple Bus Hierarchies Why? The more the devices connected, the greater the propagation delay hence less performance Performance can be improved by increasing data rate and using wider databus Two Approaches : Traditional Bus Architecture High Performance Architecture

Traditional Bus Architecture Isolates processor to memory traffic from I/O traffic. Cache Memory act as an interface to system bus Expansion bus interfaces it to external devices

Traditional Bus Architecture

Traditional Bus Architecture 1. Local bus connects cache memory and support one or more local devices 2. Cache is attached to main memory,isolates main memory and Processor

Traditional Bus Architecture 3. Expansion Bus interface buffers data transfers between system bus and I/O controllers

Traditional Bus Architecture 4. Some examples of I/O devices attached: Network : Local Area Network(LAN) (10 Mbps) Modem : To connect to Wide Area Network(WAN) Small Computer System Interface (SCSI): To support local disk drives and peripherals Serial Port : for printer and Scanner

SCSI

Fire Wire

High Performance Architecture As I/O performance increased, a high speed architecture named mezzanine architecture is used A high speed bus is integrated to bring high speed devices closer to processor.

High Performance Architecture

High Performance Architecture 1) Local bus connects processor to cache controller which is connected to main memory via system bus

High Performance Architecture 1) Cache controller is integrated to a bridge (buffering device) that connects high speed bus 2) High Speed Bus connects to High Speed LANs (100 Mbps) Video and Graphic Workstation controllers Interface Controllers to local peripheral buses-SCSI and Firewire

High Performance Architecture Lower Speed devices are supported with an expansion bus with an interface buffering traffic between the expansion bus and the high speed bus.

Advantages High Speed Bus brings high demand devices close to processor but independent. Differences in the speed is tolerated Changes in processor architecture does not affect high speed bus and vice versa

Elements of Bus Design The parameters that classify buses are Bus Types Method of Arbitration Timing Bus Width Data Transfer Type

Bus Types Dedicated and Multiplexed Dedicated Bus line is permanently assigned to a function or a subset of computer components It uses multiple buses Adv: High throughput and less bus contention Disadv: increased size and cost

Bus Types Multiplexed: Same bus is used for different functions E.g. Address and data may be transmitted over same set of lines Adv: use of few lines saves space and cost Disadv: complex circuitry is needed and less performance

Bus Types Physically Dedicated: Multiple buses for a subset of modules. e.g : All I/O Modules thru I/O Adapter Adv: High throughput because of less contention Disadv: Increased size and cost of system.

Method of Arbitration Centralized and Distributed Centralized : A single hardware called bus controller allocates time on bus Distributed : Each module contains access control logic and modules act together to share the bus

Timing Synchronous and Asynchronous Synchronous: Occurrence of events are controlled by clock All events start at the beginning of clock cycle Adv: Simple to implement and test Disadv: less flexible – cannot take advantage of device performance

Synchronous

Timing Asynchronous: Occurrence of one event on bus follows the occurrence of previous event Adv: fast and slow device can share the bus Disadv: Difficult to implement

Asynchronous : Read

Asynchronous : Write

Bus Width Address Bus and Data Bus Address Bus: Data Bus Wider address bus  greater range of locations Data Bus Wider data bus  greater number of bits per unit time

Data Transfer Type

Multiplexed Address/Data Bus

Dedicated Address/Data Bus

Read Modify Write Read followed by immediate write to the same address Used to protect shared memory resources

Read After Write Write is immediately followed by Read It is for checking purpose

Block Data Transfer One address cycle is followed by n data cycles

End of Module I