Basic Structure of Computer Computer Architecture Lecture – 2.

Slides:



Advertisements
Similar presentations
Components of a computer system
Advertisements

MEMORY popo.
Chapter 1. Basic Structure of Computers
Computer Systems. Computer System Components Computer Networks.
CHAPTER 4 COMPUTER SYSTEM – Von Neumann Model
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
Computer Systems CS208. Major Components of a Computer System Processor (CPU) Runs program instructions Main Memory Storage for running programs and current.
0 What is a computer?  Simply put, a computer is a sophisticated electronic calculating machine that:  Accepts input information,  Processes the information.
5.1 Chaper 4 Central Processing Unit Foundations of Computer Science  Cengage Learning.
Basic Operational Concepts of a Computer
Computer Architecture Lecture 01 Fasih ur Rehman.
BLOCK DIAGRAM OF COMPUTER
Chapter 3 Computer Hard ware
INTRODUCTION TO COMPUTER PROGRAMMING itc-314 LECTURE 01.
UNIX Unbounded 5 th Edition Amir Afzal Chapter 1 First Things First.
Computer Organization 1. INTRODUCTION The Second half of the twentieth century is usually known as the Age of Computers The term ‘Computer’ originates.
The Computer Systems By : Prabir Nandi Computer Instructor KV Lumding.
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
Chapter 1 Basic Structure of Computers. Chapter Outline computer types, structure, and operation instructions and programs numbers, arithmetic operations,
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
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 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
What is a computer ?  A computer is an electronic device that can accept data and instruction, process them or store them for later retrieval, and sometimes.
Advanced Computer Architecture 0 Lecture # 1 Introduction by Husnain Sherazi.
Section one revision:1. Computer Systems To be able to Identify and describe computer systems To demonstrate an understanding of the Central Processing.
Cis303a_chapt04.ppt Chapter 4 Processor Technology and Architecture Internal Components CPU Operation (internal components) Control Unit Move data and.
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.
CHAPTER 4 The Central Processing Unit. Chapter Overview Microprocessors Replacing and Upgrading a CPU.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
Dr. ClincyLecture1 Chapter 1 Basic Structure of Computers Basic structure of a computer Intro to Machine instructions and their execution Intro to system.
Lecture 2 Microprocessor Architecture Image from:
Components of a Computer System
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 Instructors Course By: Lecturer: Shimaa Ibrahim Hassan TA: Eng: Moufeda Hussien Lecture: 9:45 Address:
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 4 Computer Systems Review.
Computer Systems. Bits Computers represent information as patterns of bits A bit (binary digit) is either 0 or 1 –binary  “two states” true and false,
Basic Computer Organization Rashedul Hasan.. Five basic operation No matter what shape, size, cost and speed of computer we are talking about, all computer.
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.
Overview of microcomputer structure and operation
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
24/06/20161 Hardware Processor components & ROM. 224/06/2016 Learning Objectives Describe the function and purpose of the control unit, memory unit and.
A computer consists of five functionally independent main parts.
Computer Architecture and Number Systems
CPU Lesson 2.
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)
What is a computer? Simply put, a computer is a sophisticated electronic calculating machine that: Accepts input information, Processes the information.
The Central Processing Unit
Course Name: Computer Application Topic: Central Processing Unit (CPU)
CS1251 Computer Architecture
Computer Architecture
Introduction to Computers
Interfacing Memory Interfacing.
Functional Units.
Basic Computer Organization
Introduction to Computers
Chapter 5: Computer Systems Organization
Overview of Computer Architecture and Organization
Introduction to Computer Architecture
Chapter 5 Computer Organization
Basic Computer Organization
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:

Basic Structure of Computer Computer Architecture Lecture – 2

Functional Unit(I/O)  I/O Unit : 1.Input Unit: ▪ Information handled by a computer must be encoded in a suitable format ▪ Any information is encoded as a string of binary digits, called bits, each having one of two possible values, 0 or 1 ▪ The Input Unit accepts coded information. ▪ The information received is either stored in the computer’s memory for later use or immediately used to perform the desired operations. 9/21/2015Sumaiya Iqbal, Lecturer, CSE, BUET

Functional Unit(I/O) A computer handles two types of information : Instruction : – An instruction controls the transfer of information between a computer and its I/O devices and also within the computer. – A list of instructions that performs a task is called a program, which is stored in the memory. – To execute a program, computer fetches the instructions one by one and specifies the arithmetic and logical operations to be performed which are needed for the desired program. – A computer is completely controlled by the stored programs except any external interrupts comes from any I/O device. 9/21/2015Sumaiya Iqbal, Lecturer, CSE, BUET

Functional Unit(I/O) Data : – Data is a kind of information which is used as an operand for a program. – So, data can be any number or character. – Even, a list of instructions, means an entire program can be data if it is processed by another high-level program. – In such case, that data is called source program. The most well-known input device is the keyboard, beside this, there are many other kinds of input devices are available, i.e., mouses, joysticks etc. 9/21/2015Sumaiya Iqbal, Lecturer, CSE, BUET

Functional Unit(I/O) 2.Output Unit: The output unit is the counter part of the Input Unit. After processing the coded data and finishing the task, it outputs the information to the outside world. The most common and well-known output devices are monitor screen, printer etc. 9/21/2015Sumaiya Iqbal, Lecturer, CSE, BUET

Functional Unit(Memory) Memory Unit – Memory unit is the storage for programs(set of instructions) and data. Programs must reside in the memory, while they are being executed and Data are processed within the computer in units of words, multiple of words, or part of words. But when a memory is accessed, only one word of data is read or written. 9/21/2015Sumaiya Iqbal, Lecturer, CSE, BUET

Functional Unit(Memory) – The memory consists of a large number of semiconductor storage cells, each of which are capable of storing one bit of information. – But normally, these cells are not accessed individually, in fact, they are accessed and processed in groups of fixed size called words. – The memory is organized in such a way that one word fixed n bits is read(retrieved) and written(stored) in one operation. 9/21/2015Sumaiya Iqbal, Lecturer, CSE, BUET

Functional Unit(Memory)  Each word location in the memory has a distinct address.  So, in the memory a given word is accessed by specifying its address and issuing a command for respective operation.  The number of bits in each word is called word length of the computer.  Word lengths ranges from 16 to 64 bits which also indicates the capacity of the memory, which is an important characteristics of a computer. 9/21/2015Sumaiya Iqbal, Lecturer, CSE, BUET

Functional Unit(Memory) – The time needed to access any location of the memory is another important characteristics of a computer. – There are two types of storage/memory : – Primary Storage : Primary memory is fast memory. It can be reached in a short and fixed amount of time after specifying its address, this memory is called Random Access Memory(RAM). 9/21/2015Sumaiya Iqbal, Lecturer, CSE, BUET

Functional Unit(Memory) Time required to access one word is called the memory access time, which is fixed and independent of the location of the word. This memory of a computer is organized as memory hierarchy of multiple levels of semiconductor RAM units with different size and speed. The smallest and fastest RAM units are called Caches. And the largest and slowest RAM units are called Main Memory. Primary storage is essential, but expensive. 9/21/2015Sumaiya Iqbal, Lecturer, CSE, BUET

Functional Unit(Memory) – Secondary Storage : Secondary Storage is used when large amounts of data and many programs have to be stored. Secondary storage is larger and cheaper than Primary Storage. It normally used to store the information which are not frequently used. Well-known secondary storage devices are magnetic disks, magnetic tapes, optical disks etc. 9/21/2015Sumaiya Iqbal, Lecturer, CSE, BUET

Functional Unit(Processor) Processor Unit 1.Arithmetic and Logic Unit(ALU) Most of the operations are executed in the arithmetic and logic unit(ALU) of the processor. For any operation, if any operand is required, then at first the required operands are brought into the processor from stored memory or by input unit. Then the actual operation is performed by the ALU into the processor. Necessary control commands are provided from CU

Functional Unit(Processor) To keep the operands into processor, there is a high speed storage element attached to the processor This storage is called register, each of which can hold one word of data. Since registers are attached to the processor, time needed to access a register is less than even the time needed to access the fastest cache memory.

Functional Unit(Processor) 2.Control Unit This unit performs the coordination task while an operation is being executed. It sends control signals to the other units and also keeps the knowledge about their current status. For any I/O operation the timing signal is also generated by the Control unit. Timing signals determine when a given action is to take place.

Functional Unit(Processor) Data transfer between the memory and processor and execution any instruction is also controlled by Control Unit through timing signal. So, overall, the Control Unit performs the task of making the components of the function unit of a computer interactive.

Overall operation of a computer The total operation of the computer is executed as 1.Computer accepts programs and data through input unit. 2.Information is also fetched in the processor from memory. 3.Then information is processed and the operation is executed.

Overall operation of a computer 4.Processed information is passed from output unit. 5.All these activities described above are sequentially done under the control signal from the control unit.

Overall operation of a computer

References Zaky(Chapter 1 : 1.2) Class Lecture 9/21/2015Sumaiya Iqbal, Lecturer, CSE, BUET