September 10, 2003Serguei A. Mokhov, 1 Introduction SOEN228 Revision 1.1 September 10, 2003.

Slides:



Advertisements
Similar presentations
May 14, 2003Serguei A. Mokhov, 1 Von Neumann Model Cond. Assembly Intro COMP5201 Revision: 1.2 Date: June 18, 2003.
Advertisements

The CPU The Central Presentation Unit What is the CPU?
Computer Architecture and the Fetch-Execute Cycle
Processor System Architecture
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
FIU Chapter 7: Input/Output Jerome Crooks Panyawat Chiamprasert
DH2T 34 Computer Architecture 1 LO2 Lesson Two CPU and Buses.
Microprocessor and Microcontroller Based Systems Instructor: Eng.Moayed N. EL Mobaied The Islamic University of Gaza Faculty of Engineering Electrical.
CHAPTER 4 COMPUTER SYSTEM – Von Neumann Model
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Introduction to Computer Systems
Elements of the Computer (How a processor works)
Computer Applications NCBS Stage 1. The Central Processing UnitSlide 2Computer Applications Stage 1 Course Content and Assessment Practical – 60% (2 Hrs.
Basic Computer Organization CH-4 Richard Gomez 6/14/01 Computer Science Quote: John Von Neumann If people do not believe that mathematics is simple, it.
0 What is a computer?  Simply put, a computer is a sophisticated electronic calculating machine that:  Accepts input information,  Processes the information.
CPU Describe the purpose of the CPU
Lecture 13 - Introduction to the Central Processing Unit (CPU)
Computer Architecture Lecture 01 Fasih ur Rehman.
Chapter 3 Computer Hard ware
Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
Computer Processing of Data
Introduction to Computing: Lecture 4
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
Unit - 1 Basic Computer Architecture P. Sugin Benzigar.
Basic Structure of Computer Computer Architecture Lecture – 2.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
The Computer Systems. Computer System CPU Is the brain of the PC. All program instructions are run through the CPU Control Unit This decodes and executes.
Intro to Computers Computer Apps 1.
Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 2.
Introduction to Computing Systems from bits & gates to C & beyond The Von Neumann Model Basic components Instruction processing.
Advanced Computer Architecture 0 Lecture # 1 Introduction by Husnain Sherazi.
Stages of Processing.  When a computer is given instructions, a series of tasks must take place in order for a result to be accomplished  To accomplish.
Section one revision:1. Computer Systems To be able to Identify and describe computer systems To demonstrate an understanding of the Central Processing.
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
General Concepts of Computer Organization Overview of Microcomputer.
Computer Architecture And Organization UNIT-II General System Architecture.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
Computer Organization & Assembly Language © by DR. M. Amer.
Computer System Internal components - The processor - Main memory - I / O controllers - Buses External components (peripherals). These include: - keyboard.
COMPUTER ORGANISATION I HIGHER STILL Computing Computer Systems Higher Marr College Computing Department 2002.
Lecture 2 Microprocessor Architecture Image from:
7. Peripherals 7.1 Introduction of peripheral devices Computer Studies (AL)
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Architecture 2 nd year (computer and Information Sc.)
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
Central Processing Unit
1 Copyright © 2010, Elsevier Inc. All rights Reserved Chapter 2 Parallel Hardware and Parallel Software An Introduction to Parallel Programming Peter Pacheco.
Overview von Neumann Architecture Computer component Computer function
Computer operation is of how the different parts of a computer system work together to perform a task.
C HAPTER 4 OS: C OMPUTER O RGANIZATION TOPICS: The Von Neumann Architecture The CPU.
Processor Organization and Architecture Module III.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
The CPU Central Processing Unit. Activity 1 5 minutes to discuss and feedback on the following: 1.What is this? 2.What is it for? What do you notice ?
Chapter I: Introduction to Computer Science. Computer: is a machine that accepts input data, processes the data and creates output data. This is a specific-purpose.
Computer Systems Nat 4/5 Computing Science Computer Structure:
CPU Lesson 2.
Systems Architecture Keywords Fetch Execute Cycle
Computing Systems Organization
Course Name: Computer Application Topic: Central Processing Unit (CPU)
CPU & its Components CPU stands for central Processing Unit
Teaching Computing to GCSE
The Von Neumann Model Basic components Instruction processing
Welcome to Architectures of Digital Systems
The Von Neumann Architecture Odds and Ends
Unit 1.1 System Architecture Lesson 2
GCSE OCR 1 The CPU Computer Science J276 Unit 1
A Top-Level View Of Computer Function And Interconnection
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
Presentation transcript:

September 10, 2003Serguei A. Mokhov, 1 Introduction SOEN228 Revision 1.1 September 10, 2003

Serguei A. Mokhov, 2 Contents Me, Myself, and I Lecture 1 Exercises review Assignment 1 Theory review Von Neumann Model

September 10, 2003Serguei A. Mokhov, 3 Me, Myself, and I Name: Serguei Mokhov; it is okay to call me just Serguei; prefixes such as “Sir”, “Professor” and alike are NOT part of my name :-) The best way to reach me is by

September 10, 2003Serguei A. Mokhov, 4 Exercise (1) You are given a class list that shows the university ID, name, addresses of each student enrolled in SOEN228. Write a human program that you can execute that systematically extract a sublist of students whose first name is Pierre. These students should be listed in ascending order of their ID. Give an incorrect solution that the human program should not generate.

September 10, 2003Serguei A. Mokhov, 5 Exercise (2) Show a sequence of state changes in executing your human program by showing all changes to the extracted sublist and the control pointer, up to and including processing of the first two entries of the given list. Assume both entries contain Pierre as the first name.

September 10, 2003Serguei A. Mokhov, 6 Exercise (3) Describe an example use of principle of locality in everyday life of yours that helps you to achieve better ‘performance’. Repeat the same in your experience in using the internet.

September 10, 2003Serguei A. Mokhov, 7 Exercises Suppose the area of a chip does not change in a decade but the number of transistors in a chip can double every 2 years. Suppose also that the current technology allows you to put 10 million transistors in a chip. How many transistors can be put in a chip 10 years later? Explain the implication of this technology curve on the capacity of a memory chip and the capability of a processor chip.

September 10, 2003Serguei A. Mokhov, 8 Three Basic Principles in System Design Locality Concurrency Atomicity

September 10, 2003Serguei A. Mokhov, 9 Locality Locality of information (data or program) to a processor reduces the latency (waiting time) and hence improves performance (speed, response time, time to solution). Examples that you will learn in this course include: –Registers inside a processor that a programmer can use to store (buffer) program variables temporally. –Cache memory that automatically buffers information stored in main memory (RAM). –Main memory that buffers information stored in disk Locality issues matter a lot in parallel computing (advanced topic if we have time).

September 10, 2003Serguei A. Mokhov, 10 Concurrency Operations can be performed in parallel when the outcome is as if they are performed in sequence according to the order they appear in a program. Hence concurrency improves system speed. Examples: –Concurrent transfers between different pairs of registers implement concurrent data-paths, leading to a faster instruction cycle (the duration for fetching and executing a program instruction). –Computation and input/output can be carried out concurrently whenever the processor is not needed in the latter.

September 10, 2003Serguei A. Mokhov, 11 Atomicity Information accesses should be serializable, i.e., the results are as if they have occurred in some serial ordering. Hence when a writer and a reader may overlap in their accesses, then the system must ensure that the end result is as if they have occurred in some temporal order. In some cases, the ordering is intended, and in some others, the it is not. (Related: Synchronization) Examples: –The computer (CPU) should not write into the printer buffer until the previous line stored in the buffer has already been printed. –System bus design ensures the atomicity of a bus transaction between a master and a slave connected to the bus.

September 10, 2003Serguei A. Mokhov, 12 Von Neumann Model A program formed of instructions and data is stored in memory; CPU fetches and executes instructions from the memory (sequentially). Being dropped in parallel computing Logical View of A Von Neumann Computer Model (see next slide)

September 10, 2003Serguei A. Mokhov, 13 Logical View of A Von Neumann Computer Model Memory Unit Arithmetic and Logic Unit Control Unit Output Unit Input Unit

September 10, 2003Serguei A. Mokhov, 14 Von Neumann Model Explained (1) Arithmetic and Logic Unit (ALU): –Performs arithmetical and logical operations Control Unit (CU): –Issues control signals to other units to do what and when ALU + CU = CPU, Central Processing Unit –A.k.a Processor

September 10, 2003Serguei A. Mokhov, 15 Von Neumann Model Explained (2) Memory Unit (MU) –Stores your program and its data; consists of distinct locations (like mailboxes) with distinct addresses, say from 0 to 2 30 Input Unit (IU) –Enables the CPU to receive input data from the external word (e.g. keyboard, mouse, CD-ROM) Output Unit (OU) –Accepts output from processor or memory and passes it on to the external world; (e.g. monitor, printer)

September 10, 2003Serguei A. Mokhov, 16 Logical View of A Von Neumann Computer Model (2) Memory Unit CPU Output Unit Input Unit KeyboardMouseMonitorPrinter