CHAPTER 4 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION

Slides:



Advertisements
Similar presentations
Computer Architecture and Organization
Advertisements

Chapter Three: Interconnection Structure
Digital Computer Fundamentals
FIU Chapter 7: Input/Output Jerome Crooks Panyawat Chiamprasert
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
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.
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
System Buses. Program Concept Hardwired systems are inflexible Hardwired systems are inflexible General purpose hardware can do different tasks, given.
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.
Chapter 6: Computer Components Dr Mohamed Menacer Taibah University
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.
Chapter 3 System Buses.  Hardwired systems are inflexible  General purpose hardware can do different tasks, given correct control signals  Instead.
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
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.
Types of Micro-operation  Transfer data between registers  Transfer data from register to external  Transfer data from external to register  Perform.
Chapter 2: Computer Function And Interconnection
Micro-Operations A computer executes a program Fetch/execute cycle
William Stallings Computer Organization and Architecture
William Stallings Computer Organization and Architecture 7th Edition
Computer System Overview
Chapter 3 Top Level View of Computer Function and Interconnection
Chapter 15 Control Unit Operation
Computer Organization and Architecture William Stallings 8th Edition
Computer System Overview
Chapter 3 A Top-Level View of Computer Function and Interconnection
William Stallings Computer Organization and Architecture 8th Edition
ECEG-3202 Computer Architecture and Organization
William Stallings Computer Organization and Architecture 7th Edition
Overview of Computer Architecture and Organization
BIC 10503: COMPUTER ARCHITECTURE
Chapter 14 Control Unit Operation
William Stallings Computer Organization and Architecture 8th Edition
Computer System Overview
Chapter 3 System Buses.
Computer System Overview
A Top-Level View Of Computer Function And Interconnection
A Top-Level View Of Computer Function And Interconnection
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture
Presentation transcript:

CHAPTER 4 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION CGMB143 COMPUTER SYSTEM CHAPTER 4 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION Cgmb143 coMPUTER SYSTEM

A sequence of steps What is a program? CGMB143 COMPUTER SYSTEM What is a program? A sequence of steps arithmetic or logical operation is done a different set of control signals is needed

Central Processing Unit (CPU) CGMB143 COMPUTER SYSTEM Computer Components Computer PC = Program Counter IR = Instruction Register MAR = Memory Address Register MBR = Memory Buffer Register I/O AR = Input/Output Address Register I/O BR = Input/Output Buffer Register Central Processing Unit (CPU) PC MAR System Bus Main Memory Instruction . Data 1 2 IR MBR I/O AR Execution Unit I/O BR I/O Module Buffers .

Fetch Next Instruction CGMB143 COMPUTER SYSTEM Instruction Cycle Two steps Fetch cycle Execute cycle Fetch cycle Execution cycle Fetch Next Instruction Execute Instruction Start Halt

Instruction Register (IR) CGMB143 COMPUTER SYSTEM Fetch Cycle Program Counter (PC) Holds address of next instruction to fetch Processor Fetch instruction from memory location pointed to by PC Increment PC Instruction Register (IR) Load the instruction Interprets instruction Perform required actions

Execute Cycle Execution Cycle CGMB143 COMPUTER SYSTEM Processor I/O Processor -Memory Data Processing Control

CGMB143 COMPUTER SYSTEM Interrupts Mechanism by which other modules (e.g. I/O) may interrupt normal sequence of processing

Interrupt Cycle Added to instruction cycle CGMB143 COMPUTER SYSTEM Fetch cycle Execution cycle Interrupt cycle Interrupts disabled Fetch Next Instruction Execute Instruction Check for interrupt; process interrupt Start Interrupts enabled Halt

Interrupt Cycle (Cont.) CGMB143 COMPUTER SYSTEM Interrupt Cycle (Cont.) Processor checks for interrupt Indicated by an interrupt signal If no interrupt, fetch next instruction If interrupt pending: Suspend execution of current program Save context Set PC to start address of interrupt handler routine Process interrupt Restore context and continue interrupted program

Interconnection Structures CGMB143 COMPUTER SYSTEM Interconnection Structures Collection of paths connecting the various modules Modules: Memory Processor I/O module

Modules: Major Form of Input and Output - Memory CGMB143 COMPUTER SYSTEM Modules: Major Form of Input and Output - Memory Word of data - Read from or written into the memory Assigned a unique numerical address Nature of the operation – indicated by read and write control signals Address – specify the location for the operation

Modules: Major Form of Input and Output - Processor CGMB143 COMPUTER SYSTEM Modules: Major Form of Input and Output - Processor Reads instruction and data Writes out data (after processing) Sends control signals to other units Receives (& acts on) interrupts

Modules: Major Form of Input and Output – I/O Module CGMB143 COMPUTER SYSTEM Modules: Major Form of Input and Output – I/O Module Operations; Read Write Control more than one external device External data path – input and output of data Send interrupt signals to CPU

Modules: Major Form of Input and Output CGMB143 COMPUTER SYSTEM Modules: Major Form of Input and Output

CGMB143 COMPUTER SYSTEM Types of Transfers Memory to processor: Processor reads instruction/data from memory Processor to memory: Processor writes data to memory I/O to processor: Processor reads data from I/O device (via I/O module) Processor to I/O: Processor sends data to I/O device I/O to/from memory: allowed to exchange data using Direct Memory Access (DMA) – exclude processor

CGMB143 COMPUTER SYSTEM Bus Interconnection Communication pathway connecting two or more devices Key characteristic: shared transmission medium Consists of multiple communication pathways/lines Lines – transmit signals representing binary 1 and 0 – one data at a time

CGMB143 COMPUTER SYSTEM System Bus A bus that connects major computer components (CPU, memory, I/O) Computer interconnection structures – use one or more system buses Consists of 50 to hundreds of separate lines Each line – function. E.g: power

Data Line Provide a path for moving data among system modules CGMB143 COMPUTER SYSTEM Data Line Provide a path for moving data among system modules Collective – data bus

Data Bus Collective of data lines CGMB143 COMPUTER SYSTEM Data Bus Collective of data lines Width of the data bus - Number of lines; 32, 64, 128 … Key factor in determining overall system performance Number of data lines – represents number of data can be transferred at a time

CGMB143 COMPUTER SYSTEM Address Lines Designate the source or destination of the data on data bus

Address Bus Collective of address lines CGMB143 COMPUTER SYSTEM Address Bus Collective of address lines Width of the address bus determines the maximum possible memory capacity of the system

CGMB143 COMPUTER SYSTEM Control Lines Used to control the access to and the use of the data and address lines Control signals transmit both command and timing information among system modules Command signals – specify operations to be performed Timing signals – validity of data and address information

Bus Interconnection Scheme CGMB143 COMPUTER SYSTEM Bus Interconnection Scheme

Operation of the Bus Send data Request data Obtain the use of the bus CGMB143 COMPUTER SYSTEM Operation of the Bus Send data Obtain the use of the bus Transfer data via the bus Request data Transfer a request to the other module over appropriate control and address lines

CGMB143 COMPUTER SYSTEM System Bus - Physical Number of parallel electrical conductors – metal lines on the circuit board

Single Bus - Problem Many of devices on one bus leads to: CGMB143 COMPUTER SYSTEM Single Bus - Problem Many of devices on one bus leads to: Propagation delays Long data paths mean that co-ordination of bus use can harmfully affect performance If aggregate data transfer approaches bus capacity Most systems use multiple buses to overcome these problems

Types of Bus Dedicated Multiplexed Separate data & address lines CGMB143 COMPUTER SYSTEM Types of Bus Dedicated Separate data & address lines Multiplexed Shared lines Address valid or data valid control line Advantage Fewer lines Disadvantages More complex control Reduction in performance

Systems and Networking Question 1) Draw the component of a computer. 2)How many steps needed to perform instruction in a computer. Draw the cycle of instruction cycle. 3) What is interrupt? 4) There are 3 main modules on a computer. Explain the operation of these three modules. 5) Draw the bus interconnection scheme and explain about address line, data line and control lines. May 2014 Systems and Networking

END