0 What is a computer?  Simply put, a computer is a sophisticated electronic calculating machine that:  Accepts input information,  Processes the information.

Slides:



Advertisements
Similar presentations
The CPU The Central Presentation Unit What is the CPU?
Advertisements

Chapter 1. Basic Structure of Computers
INTRODUCTION OF COMPUTER
MICRO PROCESSER The micro processer is a multipurpose programmable, clock driven, register based, electronic integrated device that has computing and decision.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
2 pt 3 pt 4 pt 5pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt 2pt 3 pt 4pt 5 pt 1pt 2pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4pt 5 pt 1pt Category1 Computers Category2 CPU.
Introduction to Computer Systems
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
The central processing unit and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
Elements of the Computer (How a processor works)
General information CSE 243 : Introduction to Computer Architecture and Hardware /Software Interface. Instructor : Swapna S. Gokhale Phone :
Computer Systems CS208. Major Components of a Computer System Processor (CPU) Runs program instructions Main Memory Storage for running programs and current.
 Prof. Dr. M. H. Assal Introduction to Computer AS 26/10/2014.
What’s on the Motherboard? The two main parts of the CPU are the control unit and the arithmetic logic unit. The control unit retrieves instructions from.
 Chasis / System cabinet  A plastic enclosure that contains most of the components of a computer (usually excluding the display, keyboard and mouse)
Processing Devices.
General information Course :Computer Organization
BLOCK DIAGRAM OF COMPUTER
Chapter 3 Computer Hard ware
© Paradigm Publishing Inc. 2-1 Chapter 2 Input and Processing.
The Computer Systems By : Prabir Nandi Computer Instructor KV Lumding.
Input/OUTPUT [I/O Module structure].
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
Basic Structure of Computer Computer Architecture Lecture – 2.
Chapter 1 Basic Structure of Computers. Chapter Outline computer types, structure, and operation instructions and programs numbers, arithmetic operations,
Computer Architecture and Organization Introduction.
Introduction to the Computer System. What is a computer ? A computer is an electronic device that can accept data and instruction, process them or store.
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.
© Paradigm Publishing Inc. 2-1 Chapter 2 Input and Processing.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
Components of a Computer Prepared by: Mrs. McCallum-Rodney.
Advanced Computer Architecture 0 Lecture # 1 Introduction by Husnain Sherazi.
COMPUTER ARCHITECTURE. Recommended Text 1Computer Organization and Architecture by William Stallings 2Structured Computer Organisation Andrew S. Tanenbaum.
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
Chapter 5 Computing Components. 5-2 Chapter Goals List the components and their function in a von Neumann machine Describe the fetch-decode-execute cycle.
General Concepts of Computer Organization Overview of Microcomputer.
Computer Architecture And Organization UNIT-II General System Architecture.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
CPS 4150 Computer Organization Fall 2006 Ching-Song Don Wei.
Computer Organization. The digital computer is a digital system that performs various computational tasks Digital computer use binary number system which.
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.
Computer Organization. The Five Hardware Units General purpose computers use the "Von Neumann" architecture Also referred to as "stored program" architecture.
The Computer System.
Computer operation is of how the different parts of a computer system work together to perform a task.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
Introduction To Computers
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Overview of microcomputer structure and operation
Information Technology INT1001 Lecture 2 1. Computers Are Your Future Tenth Edition Chapter 6: Inside the System Unit Copyright © 2009 Pearson Education,
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
BASIC STRUCTURE OF COMPUTERS. 1 What is a computer?  Simply put, a computer is a sophisticated electronic calculating machine that:  Accepts input information,
A computer consists of five functionally independent main parts.
Computer Architecture and Number Systems
Computer Hardware What is a CPU.
What is a computer? Simply put, a computer is a sophisticated electronic calculating machine that: Accepts input information, Processes the information.
Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)
General information CSE 243 : Introduction to Computer Architecture and Hardware /Software Interface. Instructor : Swapna S. Gokhale Phone :
What is a computer? Simply put, a computer is a sophisticated electronic calculating machine that: Accepts input information, Processes the information.
Computer Architecture
Functional Units.
Computer Architecture
Basic Computer Organization
Chapter 5: Computer Systems Organization
Overview of Computer Architecture and Organization
Introduction to Computer Architecture
Presentation transcript:

0 What is a computer?  Simply put, a computer is a sophisticated electronic calculating machine that:  Accepts input information,  Processes the information according to a list of internally stored instructions and  Produces the resulting output information.  Functions performed by a computer are:  Accepting information to be processed as input.  Storing a list of instructions to process the information.  Processing the information according to the list of instructions.  Providing the results of the processing as output.  What are the functional units of a computer?

1 Functional units of a computer I/O Processor Output Memory Input Control Arithmetic & Logic Instr1 Instr2 Instr3 Data1 Data2 Input unit accepts information: Human operators, Electromechanical devices Other computers Output unit sends results of processing: To a monitor display, To a printer Arithmetic and logic unit(ALU): Performs the desired operations on the input information as determined by instructions in the memory Control unit coordinates various actions Input, Output Processing Stores information: Instructions, Data

2 Information in a computer -- Instructions  Instructions specify commands to:  Transfer information within a computer (e.g., from memory to ALU)  Transfer of information between the computer and I/O devices (e.g., from keyboard to computer, or computer to printer)  Perform arithmetic and logic operations (e.g., Add two numbers, Perform a logical AND).  A sequence of instructions to perform a task is called a program, which is stored in the memory.  Processor fetches instructions that make up a program from the memory and performs the operations stated in those instructions.  What do the instructions operate upon?

3 Information in a computer -- Data  Data are the “operands” upon which instructions operate.  Data could be:  Numbers,  Encoded characters.  Data, in a broad sense means any digital information.  Computers use data that is encoded as a string of binary digits called bits.

4 Input unit Input Unit Processor Memory ComputerReal world Keyboard Audio input …… Binary information must be presented to a computer in a specific format. This task is performed by the input unit: - Interfaces with input devices. - Accepts binary information from the input devices. - Presents this binary information in a format expected by the computer. - Transfers this information to the memory or processor.

5 Memory unit  Memory unit stores instructions and data.  Recall, data is represented as a series of bits.  To store data, memory unit thus stores bits.  Processor reads instructions and reads/writes data from/to the memory during the execution of a program.  In theory, instructions and data could be fetched one bit at a time.  In practice, a group of bits is fetched at a time.  Group of bits stored or retrieved at a time is termed as “word”  Number of bits in a word is termed as the “word length” of a computer.  In order to read/write to and from memory, a processor should know where to look:  “Address” is associated with each word location.

6 Memory unit (contd..)  Processor reads/writes to/from memory based on the memory address:  Access any word location in a short and fixed amount of time based on the address.  Random Access Memory (RAM) provides fixed access time independent of the location of the word.  Access time is known as “Memory Access Time”.  Memory and processor have to “communicate” with each other in order to read/write information.  In order to reduce “communication time”, a small amount of RAM (known as Cache) is tightly coupled with the processor.  Modern computers have three to four levels of RAM units with different speeds and sizes:  Fastest, smallest known as Cache  Slowest, largest known as Main memory.

7 Memory unit (contd..)  Primary storage of the computer consists of RAM units.  Fastest, smallest unit is Cache.  Slowest, largest unit is Main Memory.  Primary storage is insufficient to store large amounts of data and programs.  Primary storage can be extended, but it is expensive.  Store large amounts of data on secondary storage devices:  Magnetic disks and tapes,  Optical disks (CD-ROMS).  Access to the data stored in secondary storage in slower, but take advantage of the fact that some information may be accessed infrequently.  Cost of a memory unit depends on its access time, lesser access time implies higher cost.

8 Arithmetic and logic unit (ALU)  Operations are executed in the Arithmetic and Logic Unit (ALU).  Arithmetic operations such as addition, subtraction.  Logic operations such as comparison of numbers.  In order to execute an instruction, operands need to be brought into the ALU from the memory.  Operands are stored in general purpose registers available in the ALU.  Access times of general purpose registers are faster than the cache.  Results of the operations are stored back in the memory or retained in the processor for immediate use.

9 Output unit Computers represent information in a specific binary form. Output units: - Interface with output devices. - Accept processed results provided by the computer in specific binary form. - Convert the information in binary form to a form understood by an output device. Output Unit Processor Memory Computer Real world Printer Graphics display Speakers ……

Structure - Top Level Computer Main Memory Input Output Systems Interconnection Peripherals Communication lines Central Processing Unit Computer

Structure - The CPU Computer Arithmetic and Login Unit Control Unit Internal CPU Interconnection Registers CPU I/O Memory System Bus CPU

Structure - The Control Unit CPU Control Memory Control Unit Registers and Decoders Sequencing Login Control Unit ALU Registers Internal Bus Control Unit

13 Control unit  Operation of a computer can be summarized as:  Accepts information from the input units (Input unit).  Stores the information (Memory).  Processes the information (ALU).  Provides processed results through the output units (Output unit).  Operations of Input unit, Memory, ALU and Output unit are coordinated by Control unit.  Instructions control “what” operations take place (e.g. data transfer, processing).  Control unit generates timing signals which determines “when” a particular operation takes place.

14 How are the functional units connected? For a computer to achieve its operation, the functional units need to communicate with each other. In order to communicate, they need to be connected. MemoryInputOutputProcessor Functional units may be connected by a group of parallel wires. The group of parallel wires is called a bus. Each wire in a bus can transfer one bit of information. The number of parallel wires in a bus is equal to the word length of a computer Bus

15 Organization of cache and main memory Main memory Processor Bus Cache memory Why is the access time of the cache memory lesser than the access time of the main memory?