Computer Architecture Lecture 01 Fasih ur Rehman.

Slides:



Advertisements
Similar presentations
Components of a computer system
Advertisements

Computer Architecture
Chapter 1. Basic Structure of Computers
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
Microprocessor and Microcontroller Based Systems Instructor: Eng.Moayed N. EL Mobaied The Islamic University of Gaza Faculty of Engineering Electrical.
Room: E-3-31 Phone: Dr Masri Ayob TK 2123 COMPUTER ORGANISATION & ARCHITECTURE Lecture 5: CPU and Memory.
1 Lecture 2: Review of Computer Organization Operating System Spring 2007.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Introduction to Computer Systems
Introduction to Computers and Programming. Some definitions Algorithm: –A procedure for solving a problem –A sequence of discrete steps that defines such.
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.
Computer System Overview
Basic Input/Output Operations
Chapter 2: Impact of Machine Architectures What is the Relationship Between Programs, Programming Languages, and Computers.
Elements of the Computer (How a processor works)
Computer Organization and Assembly language
0 What is a computer?  Simply put, a computer is a sophisticated electronic calculating machine that:  Accepts input information,  Processes the information.
Chapter 1 Introduction. Computer Architecture selecting and interconnecting hardware components to create computers that meet functional, performance.
E0001 Computers in Engineering1 The System Unit & Memory.
The Computer Systems By : Prabir Nandi Computer Instructor KV Lumding.
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
Computer System Overview Chapter 1. Operating System Exploits the hardware resources of one or more processors Provides a set of services to system users.
Basic Structure of Computer Computer Architecture Lecture – 2.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Computer Systems Organization CS 1428 Foundations of Computer Science.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Operating Systems and Networks AE4B33OSS Introduction.
Advanced Computer Architecture 0 Lecture # 1 Introduction by Husnain Sherazi.
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.
Computer Organization & Assembly Language © by DR. M. Amer.
7. Peripherals 7.1 Introduction of peripheral devices Computer Studies (AL)
Computer Architecture Lecture 32 Fasih ur Rehman.
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.)
12/13/ _01 1 Computer Organization EEC-213 Computer Organization Electrical and Computer Engineering.
Computer Organization Instructors Course By: Lecturer: Shimaa Ibrahim Hassan TA: Eng: Moufeda Hussien Lecture: 9:45 Address:
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
Lecture 1: Review of Computer Organization
Introduction ELEC 330 Digital Systems Engineering Dr. Ron Hayne.
Lecture on Central Process Unit (CPU)
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Control Unit.
Overview von Neumann Architecture Computer component Computer function
HOW COMPUTERS WORK THE CPU & MEMORY. THE PARTS OF A COMPUTER.
C HAPTER 4 OS: C OMPUTER O RGANIZATION TOPICS: The Von Neumann Architecture The CPU.
بسم الله الرحمن الرحيم MEMORY AND I/O.
Statistics and Probability Theory Lecture 01 Fasih ur Rehman.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Control Unit.
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
Computer Architecture Organization and Architecture
Computer Organization and Architecture Lecture 1 : Introduction
Computer Organization
Control Unit Lecture 6.
What is a computer? Simply put, a computer is a sophisticated electronic calculating machine that: Accepts input information, Processes the information.
Chapter 7.2 Computer Architecture
Computer Organization
Functional Units.
Basic Computer Organization
Computer Organization
Chapter 5: Computer Systems Organization
Overview of Computer Architecture and Organization
Introduction to Computer Architecture
Chapter 5 Computer Organization
Course Outline for Computer Architecture
A Top-Level View Of Computer Function And Interconnection
Information Representation: Machine Instructions
Presentation transcript:

Computer Architecture Lecture 01 Fasih ur Rehman

About Instructor MSc in Electronics and MSc in Systems Engineering in 1994 and 1996 respectively from Quaid-e-Azam University and currently pursuing PhD from CIIT Worked for Software Industry (developing engineering application) for 5+ years in Pakistan and abroad as well. Joined CIIT Wah Campus in 2003 as Assistant Professor and worked at various academic and administrative positions since then Research Interests Mathematical Modeling, Computational Electromagnetics

Course Contents Control unit design, Instruction execution and sequencing of control signals. Hardwired and Micro programmed control. Input-output – programmed, interrupt driven and DMA I/O and interface design. Arithmetic logic unit implementation, addition, subtraction, multiplication and division operations for integer and floating point numbers. Memory organization, memory hierarchy, cache memories – mapping functions and page replacement policies, memory management requirements and virtual memory hardware support. Fundamentals of computer communication and error control.

Recommended Book(s) Computer Organization and Embedded Systems by C Hamacher …, 6 th Edition 2012 Structured Computer Organization by Andrew S Tanenbaum 5 th Edition

Why Computer Architecture The computer lies at the heart of the computing. The computer should not be regarded as just a black box that executes program by magic. All computing students must develop understanding of functional components, their characteristics, their performance and their interactions. Students need to understand computer architecture in order to –Structure a program so that it runs more efficiently on a real machine. –In selecting a system to use, they should to able to understand the tradeoff among various components, such as CPU clock speed, memory size etc.

Learning Outcome After successful completion of this course, a student should be able to –know internal architecture of a processor –understand how instruction are executed –know how cache is organized and function –know memory organization and virtual memory systems Thus exploiting this hardware to design an efficient software Describe performance of a computer system based on such parameters Should be able to design a processor, cache system and virtual memory system

Von Neumann Architecture Instructions and data are stored in memory Memory is region with binary data and every location has a unique address Instruction can only be executed in a CPU register Each high level language instruction is translated in many machine instructions

Fundamental Concepts

Execution Execution is based on one of the following operations 1. Transfer word of data from register to another or the ALU 2. Perform arithmetic or logical operation and store result in a register 3. Fetch contents of a memory location to a register 4. Store register to a memory location

Memory Unit Stores Programs and Data Two catagories –Primary Fast Holds program during execution Semiconductor cells Each location has a unique address Processed in words Random Access Memory (RAM) Access time Hierarchy –Secondary Larger Cheeper

Arithmetic and Logic Unit Computer operations are executed in ALU of the processor. Load the operands into memory – bring them to the processor – perform operation in ALU – store the result back to memory or retain in the processor. ALU

Control Unit All computer operations are managed by the control unit. The timing signals that govern the I/O transfers are also generated by the control unit. Control unit is usually distributed throughout the machine. How control signals can be generated –Hard-wired Control –Micro-programmed Control

Input and Output Data processed by the computer is not necessarily in the memory Data has to be exchanged among peripheral devices and outside world The way I/O operations are performed have impact on performance of the computer Input devices keyboard, mouse, graphic tablet etc. Output devices: Monitor, printer, plotter etc.

Basic I/O I/O is the means by which data are transferred between the processor and the outside world Devices operate at different speeds to the processor so handshaking is required

Keyboard / Display The keyboard and display are coordinated via software Register (on device) assigned to the keyboard hardware –DATAIN contains ASCII of last typed character –SIN is the status control flag, normally 0. When a character typed, becomes 1.After the processor reads DATAIN, it is automatically set back to 0 Register (on device) assigned to the display hardware –DATAOUT receives a character code –SOUT is the status control flag. It is 1 when ready to receive a character, set to 0 when the character is being transferred These registers form the respective device interface

Computer Operations The computer accepts information in the form of programs and data through an input unit and stores it in the memory. Information stored in the memory is fetched under program control into an arithmetic and logic unit, where it is processed. Processed information leaves the computer through an output unit. All activities in the computer are directed by the control unit.

Summary Introduction to the course Basic functional units of the computer Basic I/O