By Fernan Naderzad.  Today we’ll go over: Von Neumann Architecture, Hardware and Software Approaches, Computer Functions, Interrupts, and Buses.

Slides:



Advertisements
Similar presentations
Computer Architecture and Organization
Advertisements

Chapter Three: Interconnection Structure
Digital Computer Fundamentals
Processor System Architecture
Chapter 6 Computer Architecture
CSCI 4717/5717 Computer Architecture
TK 2123 COMPUTER ORGANISATION & ARCHITECTURE
1 Computer System Overview OS-1 Course AA
1 CSIT431 Introduction to Operating Systems Welcome to CSIT431 Introduction to Operating Systems In this course we learn about the design and structure.
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
Module I Overview of Computer Architecture and Organization.
CS-334: Computer Architecture
The Structure of the CPU
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.
PCI Team 3: Adam Meyer, Christopher Koch,
MICROPROCESSOR INPUT/OUTPUT
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.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Chapter 6: Computer Components Dr Mohamed Menacer Taibah University
Dr Mohamed Menacer College of Computer Science and Engineering, Taibah University CE-321: Computer.
Chapter 3 : Top Level View of Computer Functions Basic CPU function, Interconnection, Instruction Format and Interrupt.
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.
Chapter 2: Computer Function And Interconnection
Computer System Overview
Chapter 3 Top Level View of Computer Function and Interconnection
Computer Organization and Architecture William Stallings 8th Edition
William Stallings Computer Organization and Architecture 8th Edition
ECEG-3202 Computer Architecture and Organization
Overview of Computer Architecture and Organization
Overview of Computer Architecture and Organization
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture
Presentation transcript:

By Fernan Naderzad

 Today we’ll go over: Von Neumann Architecture, Hardware and Software Approaches, Computer Functions, Interrupts, and Buses.

 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.

 I/O Components: a module that accepts data, and instructions and converts them into instruction signals usable by the system. It can also report results in the form of an output module.  Memory: A place to store instructions and data temporarily. (Von Neumann pointed out that the same memory could be used to store both instructions and data).

 The basic function of a computer is to execute a program.  In its simplest form, instruction processing consists of two steps: The processor reads (fetches) instructions from memory one at a time and executes each instruction.  Processing required for a single instruction is called an instruction cycle.  The instruction cycle has two steps: the fetch cycle and the execute cycle.

The instruction is then loaded into a register known as the Instruction Register (IR).

 Processor-memory: Data may be transferred from processor to memory or from memory to processor.  Processor-I/O: Data may be transferred to or from a peripheral device by transferring between processor and I/O module.  Data-processing: Processor performs arithmetic or logic operations on data.  Control: An instruction may specify that the sequence of execution be altered.

 A mechanism by which other modules may interrupt the normal processing of the processor. Classes of Interrupts  Program: Generated by some condition that occurs as a result of an instruction execution, such as arithmetic overflow, division by zero, attempt to execute an illegal machine instruction, or reference outside a user’s allowed memory space..

 Timer: Generated by a timer within the processor. This allows the operating system to perform certain functions on a regular basis.  I/O: Generated by an I/O controller, to signal normal completion of an operation or to signal a variety of error conditions.  Hardware Failure: Generated by failure such as power failure or memory parity error.

 They are provided as a way to improve processing efficiency!  For example.. Most external devices are much slower than the processor. Suppose the processor is transferring data to a printer using the instruction cycle. After each write operation, the processor must pause and remain idle until the printer catches up. The length of this pause may be on the order of hundred or even thousands of instruction cycles that do not involve memory. What a waste!

 So.. We have the components of a computer, but how are they connected?  The collection of paths connecting the various modules is called the interconnection structure.  Over the years, a number of interconnection structures have been tried. The most common is the bus and various multiple-bus structures.

 A bus is a communication pathway connecting two or more devices. It is a shared transmission medium. However, only one device can transmit successfully at a time.  A bus typically consists of multiple communication pathways, or lines. Each line is capable of transmitting signals representing binary 1 and binary 0. Eventually, a sequence of binary digits can be transmitted across a single line. Taken together, several lines of a bus can be used to transmit binary digits simultaneously. (EX: 8-bit unit of data can be transmitted over 8 bus lines.)

 A system bus consists from about 50 to hundreds of separate lines. Each line is assigned a particular meaning or function.  Although there are many different bus designs they can all be classified into three functional groups: data, address, and control lines.

 Data Lines: provide a path for moving data among system modules. These lines are called the data bus.  Address Lines: designate the source or destination of the data on the data bus.  Control Lines: control the access to and the use of the data and address lines.

Typical Control Lines:  Memory write: causes data on the bus to be written into the addressed location.  Memory read: causes data from the addressed location to be placed on the bus.  I/O write: causes data on the bus to be output to the addressed I/O port.  I/O read: causes data from the addressed I/O port to be placed on the bus.  Transfer ACK: indicates that data have been accepted from or placed on the bus.  Bus Request: indicates that a module needs to gain control of the bus.  Bus Grant: indicates that the requesting module has been granted control of the bus.  Interrupt Request: Indicates that an interrupt is pending.  Interrupt ACK: Acknowledges that the pending interrupt has been recognized.  Clock: Is used to synchronize operations  Reset: Initializes all modules

If a great number of devices are connected to the bus, performance will suffer because:  In general, the more devices attached to the bus, the greater the bus length and greater delay.  Bus may become a bottleneck as the aggregate data transfer demand approaches the capacity of the bus. So.. Because of this, it is important to have a hierarchy.

 Bus Lines: two generic types (dedicated and multiplexed).  A dedicated bus line is permanently assigned either to one function or to a physical subset of computer components. (EX: Address and Data Lines)

 Timing refers to the way in which events are coordinated on the bus.  Buses use either synchronous timing or asynchronous timing.

 With synchronous timing, the occurrence of events on the bus is determined by a clock.

 With asynchronous timing, the occurrence of one event on a bus follows and depends on the occurrence of a previous event.

 Peripheral component interconnect (PCI) is a popular high-bandwidth, processor- independent bus.  Intel began work on PCI in 1990 for its Pentium-based systems. Intel soon released all patents to the public domain and promoted the creation of an industry association, the PCI Special Interest Group.

 PCI may be configured as a 32 or 64-bit bus. There are 49 mandatory signal lines for the PCI and are divided into groups.  System pins: Include the clock and reset pins.  Address and data pins: Include 32 lines that are time multiplexed for addresses and data.  Interface control pins: Control the timing of transactions and provide coordination among initiators and targets.  Arbitration pins: Unlike the other PCI signal lines, these are not shared.  Error reporting pins: Used to report parity and other errors  Interrupt pins: These are provided for PCI devices that must generate requests for service.  Cache support pins: These pins are needed to support a memory on PCI that can be cached in the processor or another device.  64-bit bus extension pins: Include 32 lines that are time multiplexed for addresses and data that are combined with the mandatory address/data lines to form a 64-bit address/data bus.  JTAG/boundary scan pins: These signal lines support testing procedures defined in IEEE Standard

 Computer Organization and Architecture: Designing for Performance, 8th Edition By William Stallings, Prentice Hall; ISBN-10:  “Computer Buses” Harries, Ian.  “Module 2: Top-Level View of Computer Organization” Nguyen Thi Hoang Lan.