1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.

Slides:



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

Processor System Architecture
MICRO PROCESSER The micro processer is a multipurpose programmable, clock driven, register based, electronic integrated device that has computing and decision.
Room: E-3-31 Phone: Dr Masri Ayob TK 2123 COMPUTER ORGANISATION & ARCHITECTURE Lecture 5: CPU and Memory.
CHAPTER 4 COMPUTER SYSTEM – Von Neumann Model
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Introduction to Computer Systems
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
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.
CPU Registers PC Arith Logic Unit Bus Interface I/O Bridge System bus Memory bus Main Memory USB Controller Graphics Adapter Disk Controller I/O Bus Mouse.
Chapter 1 Introduction. Computer Architecture selecting and interconnecting hardware components to create computers that meet functional, performance.
2 nd Year - 1 st Semester Asst. Lect. Mohammed Salim
AKT211 – CAO 01 - Introduction to Computer Organization and Architecture Ghifar Parahyangan Catholic University August 22, 2011 Ghifar Parahyangan Catholic.
Computer Architecture and Organization
The Structure of the CPU
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
Unit - 1 Basic Computer Architecture P. Sugin Benzigar.
THE COMPUTER SYSTEM. Lecture Objectives Computer functions – Instruction fetch & execute – Interrupt Handling – I/O functions Interconnections Computer.
Computer Architecture and Organization Introduction.
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Top Level View of Computer Function and Interconnection.
Components of a Computer Prepared by: Mrs. McCallum-Rodney.
Chapter 1 Introduction. Architecture & Organization 1 Architecture is those attributes visible to the programmer —Instruction set, number of bits used.
Advanced Computer Architecture 0 Lecture # 1 Introduction by Husnain Sherazi.
CPU How It Works. 2 Generic Block Diagram CPU MemoryInputOutput Address Bus Data Bus.
COMPUTER ORGANIZATIONS CSNB123. COMPUTER ORGANIZATIONS CSNB123 Expected Course Outcome #Course OutcomeCoverage 1Explain the concepts that underlie modern.
General Concepts of Computer Organization Overview of Microcomputer.
Computer Architecture Lecture 2 System Buses. Program Concept Hardwired systems are inflexible General purpose hardware can do different tasks, given.
EEE440 Computer Architecture
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.
Introduction Computer System “An electronic device, operating under the control of instructions stored in its own memory unit, that can accept data (input),
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.
Computer Structure & Architecture 7b - CPU & Buses.
Computer Architecture 2 nd year (computer and Information Sc.)
Computer Studies/ICT SS2
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Control Unit.
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.
Question What technology differentiates the different stages a computer had gone through from generation 1 to present?
Group 1 chapter 3 Alex Francisco Mario Palomino Mohammed Ur-Rehman Maria Lopez.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
E LEMENTS OF C OMPUTER P ROCESSING S YSTEM. W HAT IS COMPUTER ? Electronic device used to store, retrieve, and manipulate the data.
CPU Lesson 2.
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
CHAPTER 4 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Introduction of microprocessor
Functional Units.
ECEG-3202 Computer Architecture and Organization
Basic Computer Organization
ECEG-3202 Computer Architecture and Organization
Ghifar Parahyangan Catholic University August 22, 2011
ECEG-3202 Computer Architecture and Organization
Chapter 5: Computer Systems Organization
Computer components is a programmable machine that receives input, stores and manipulates data, and provides output in a useful format. Computer The computer.
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:

1 Chapter 1 Basic Structures Of Computers

Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling operations that can be expressed either in logical or numerical terms. Characteristics:  Speed  Accuracy  Diligence  Reliability  Versatility  Resource sharing

Computer Architecture Definition  It refers to those attributes of a system visible to a programmer (or)  It refers to those attributes that have a direct impact on the logical execution of a program.  Attributes : Instruction set, number of bits used for data representation, I/O mechanisms, addressing techniques.Computer Architecture.  e.g. Is there a multiply instruction?

Computer Organization Definition  The internal arrangements of a computer, which includes the design of the processor, memory and input / output circuits. (Or)  It refers to the operational units and their interconnections that realize the architectural specification.  Attributes : Control signals, interfaces, memory technology.  e.g. Is there a hardware multiply unit or is it done by repeated addition?

Structure & Function Structure is the way in which components relate to each other. Function is the operation of individual components as part of the structure.

Function All computer functions are: Data processing Data storage Data movement Control

Operations (1) :Data movement

Operations (2) : Storage

Operation (3) :Processing from/to storage

Operation (4) :Processing from storage to I/O

Structure The Computer CPU –Controls the operation of the computer and performs its data processing functions. Main memory –Stores data I/O –Moves data between the computer and its external environment System interconnection –Provides for communication among CPU, main memory, and I/O

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

Structure - The CPU Computer Arithmetic and Logic 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 Logic Control Unit ALU Registers Internal Bus Control Unit

Functional Unit

Input Unit Input unit reads the data. It captures information and translates it into a form that can be processed by the central processing unit. It accepts inputs in two ways, either manually or directly. Manually : user enters the data by hand. Directly : information is fed into the computer automatically from a source document. Input devices: Keyboard, mouse, joystick and scanners.

Central Processing unit It is referred to as ‘brain’ of the computer system, converts data into meaningful information. It controls all internal and external devices, performs arithmetic and logical operations, and operates only on binary data. It controls the usage of main memory to store data and instructions, and controls the sequence of operations. It consists of three main subsystems: The Arithmetic and Logic Unit(ALU) The Control Unit (CU) and The Registers. These three work together to provide the operational capabilities to the computer.

Arithmetic and logic unit It contains the electronic circuitry that executes all arithmetic and logical operations on the data available to it. It consists of two units: Arithmetic unit: The arithmetic unit contains the circuitry that is responsible for performing the actual computing and carrying out the arithmetic calculations. It performs at a very high speed. Logic unit:  It enables the CPU to perform logical operations based on the instructions provided to it.  It make logical comparison between data items.  It can test for three conditions :’=‘,’>’ and ‘<‘ condition

Control Unit It checks the correctness of sequences of operations. It fetches program instruction from the memory, interprets them, and ensures the correct execution of the program. It also controls the input/output devices and directs the overall functioning of the other units of the computer.

Registers A Register is a group of flip-flops with each flip- flop capable of storing one bit of information. Registers are special purpose,high speed temporary memory units. It holds various types of information such as data, instructions, address, and the intermediate results of calculations. It offers the advantages of speed.

Memory Unit It refers to the electronic holding place for instructions and data. CPU requires memory to handle the intermediate results and to store the final output. It is classified into two categories: Primary Memory(to handle the data):It stores data and instructions for processing. It is also known as Main Memory. It is temporary and limited in size. It is classified into RAM and ROM Secondary Memory (to store the output):It is used for storing instructions and data.It is also known as auxiliary memory. This memory is least expensive and has much larger storage capacity. It is permanent in nature..

Output unit Computers communicate with users using output devices. It take the machine coded output results from the CPU and convert them into a form that is easily readable by users. It processes data into useful information.  Hard copy: The physical form of output.  Soft copy: The electronic version of an output. Output devices : Printers, Monitors

Basic operational concepts –To Execute a given task as per the appropriate program –Program consists of list of instructions stored in memory –Individual instructions are brought from the memory into the processor, which executes the specified operations. –Data to be used as operands are also stored in the memory. –Example: Add LOCA, R0 –Instruction is fetched from the memory into the processor – the operand at LOCA is fetched and added to the contents of R0 – the resulting sum is stored in register R0.

Registers  Two registers-MAR (Memory Address Register) and MDR (Memory Data Register) : To handle the data transfer between main memory and processor. MAR-Holds addresses, MDR-Holds data  Instruction register (IR) : Hold the Instructions that is currently being executed  Program counter (PC): Points to the next instructions that is to be fetched from memory.  General-purpose register (R 0 – R n-1 )

Operational concept

Operating Steps  Programs reside in the memory through input devices.  PC is set to point to the first instruction.  The contents of PC are transferred to MAR.  A Read signal is sent to the memory.  The first instruction is read out and loaded into MDR.  The contents of MDR are transferred to IR.  Decode and execute the instruction.  Increments the contents of PC by 1, so that it points to the next instruction address.  If data required for operation is available in register, it performs the operation.

Steps contd..  Address of the data  MAR  MAR  Address bus ; select memory location where is issued RD signal  Reads data via data bus  MDR  From MDR data can be directly routed to ALU or it can be placed in register and then operation can be performed  Results of the operation can be directed towards output device, memory or register  Normal execution preempted (interrupt)

Interrupt An interrupt is a request from I/O device for service by processor. Processor provides requested service by executing interrupt service routine (ISR). When ISR completed, processor restored, so that interrupted program may continue.

BUS STRUCTURE

Bus concept Definition: A group of lines that serves as a connecting path for several devices is called a Bus. Bus must have lines for  Address  Data  control

Address, data and control bus Data bus: The data lines provide a path for moving data among system modules. These lines collectively called the data bus. It is bidirectional. It consists of 32,64,128 or even more separate lines, the number of lines being referred to as the width of the data bus. The width of the data bus is a key factor in determining overall system performance.

Address, data and control bus Address bus: The address lines are used to designate the source and destination of the data on the data bus. It is unidirectional. The width of the address bus determines the maximum possible memory capacity of the system.

Address, data and control bus Control bus:  The control lines are used to control the access to and the use of data and address lines.  It is bidirectional.  Control signals transmit both command and and timing information among system modules.  Typical control lines include;  Memory write, memory read, I/O write,I/O read, Transfer ACK, Bus request, Bus grant, Interrupt request, Interrupt ACK, Clock, Reset