Lecture 5: Computer systems architecture

Slides:



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

Room: E-3-31 Phone: Dr Masri Ayob TK 2123 COMPUTER ORGANISATION & ARCHITECTURE Lecture 5: CPU and Memory.
Elements of the Computer (How a processor works)
Lecture 13 - Introduction to the Central Processing Unit (CPU)
Basic Operational Concepts of a Computer
Processor Structure & Operations of an Accumulator Machine
An Introduction Chapter Chapter 1 Introduction2 Computer Systems  Programmable machines  Hardware + Software (program) HardwareProgram.
Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.
Introduction to Computing: Lecture 4
Lecture 8 Presented By Dr. Shazzad Hosain Asst. Prof. EECS, NSU.
CPU Computer Hardware Organization (How does the computer look from inside?) Register file ALU PC System bus Memory bus Main memory Bus interface I/O bridge.
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Basic Architecture Lecture 15. In general, if the number of bits is n, then the number of different combinations of 0s and 1s that can be made is 2 n.
Introduction to Computing Systems from bits & gates to C & beyond The Von Neumann Model Basic components Instruction 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.
CHAPTER 4 The Central Processing Unit. Chapter Overview Microprocessors Replacing and Upgrading a CPU.
Computer Structure & Architecture 7b - CPU & Buses.
Computer Studies/ICT SS2
Stored Program A stored-program digital computer is one that keeps its programmed instructions, as well as its data, in read-write,
Chapter 6: Computer Components Dr Mohamed Menacer Taibah University
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.
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.
Structure and Role of a Processor
The Processor & its components. The CPU The brain. Performs all major calculations. Controls and manages the operations of other components of the computer.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
Software Design and Development Computer Architecture Computing Science.
1 Computer System Overview Chapter 1. 2 Operating System Exploits the hardware resources of one or more processors Provides a set of services to system.
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
CPU Lesson 2.
Computer Organization and Architecture Lecture 1 : Introduction
Systems Architecture Keywords Fetch Execute Cycle
Chapter 10: Computer systems (1)
Basic Processor Structure/design
Control Unit Lecture 6.
Lecture 13 - Introduction to the Central Processing Unit (CPU)
Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)
The Central Processing Unit
CHAPTER 4 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Lecture on Microcomputer
Introduction of microprocessor
Course Name: Computer Application Topic: Central Processing Unit (CPU)
Microprocessor and Assembly Language
CENTRAL PROCESSING UNIT CPU (microprocessor)
Instructions at the Lowest Level
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Functional Units.
CS149D Elements of Computer Science
Morgan Kaufmann Publishers Computer Organization and Assembly Language
Basic Computer Organization
MARIE: An Introduction to a Simple Computer
Processor Organization and Architecture
Chapter 5: Computer Systems Organization
BIC 10503: COMPUTER ARCHITECTURE
William Stallings Computer Organization and Architecture 8th Edition
1-2 – Central Processing Unit
Chapter 1 Computer System Overview
GCSE OCR 1 The CPU Computer Science J276 Unit 1
A Top-Level View Of Computer Function And Interconnection
Information Representation: Machine Instructions
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
Computer Architecture
COMPUTER ARCHITECTURE
Presentation transcript:

Lecture 5: Computer systems architecture Fundamentals of IT Westminster International University in Tashkent 2015-2016 Lecture 5: Computer systems architecture

EC and BIS3 group will have a substitute tutor this week Fundamentals of IT Westminster International University in Tashkent 2011 Arrangements EC and BIS3 group will have a substitute tutor this week BA – need 2-3 Supermen tomorrow...to carry in the processors from IT COURSEWORK finally on the intranet 40% Deadline: 3 March 2016

Layers of Computing Systems Communications Applications Operating Systems Programming Hardware Information

Something familiar... Hardware

Lecture Outline Logical structure of Computer System Fundamentals of IT Westminster International University in Tashkent 2015-2016 Lecture Outline Logical structure of Computer System Computer Architecture Levels within computer architecture Physical organization of the computer Main components of digital logic layer Processor Control unit ALU

Logical structure of Computer System Fundamentals of IT Westminster International University in Tashkent 2015-2016 Logical structure of Computer System

Computer Architecture: Basic Levels Fundamentals of IT Westminster International University in Tashkent 2011 Computer Architecture: Basic Levels 7 SOFTWARE LEVEL 6 5 4 HARDWARE LEVEL 3 2 1

Computer Architecture: Levels in detail Fundamentals of IT Westminster International University in Tashkent 2011 Computer Architecture: Levels in detail 7 SOFTWARE LEVEL Application Layer 6 Higher-Order Software Layer 5 Operating System Layer 4 HARDWARE LEVEL Machine Layer 3 Microprogrammed Layer 2 Digital Logic Layer 1 Physical Device Layer Arrange following in the table: Physical Device Layer Application Layer Microprogrammed Layer Higher-Order Software Layer Operating System Layer Machine Layer Digital Logic Layer

Computer Architecture: Levels in detail Fundamentals of IT Westminster International University in Tashkent 2011 Computer Architecture: Levels in detail 7 SOFTWARE LEVEL Application Layer 6 Higher-Order Software Layer 5 Operating System Layer 4 HARDWARE LEVEL Machine Layer Machine language instructions 3 Microprogrammed Layer Interprets the machine language instructions and directly causes the digital logic elements to perform operations 2 Digital Logic Layer Gates that are combined onto a single chip 1 Physical Device Layer Transistors Capacitors Resistors

Physical organisation of the computer Fundamentals of IT Westminster International University in Tashkent 2011 Physical organisation of the computer Modular construction Many different microcomputers contain the same microprocessors Bus – collection of parallel electrical conductors called “lines” onto which a number of components may be connected Internal buses External buses

Physical organisation of the computer (processor)

Physical organisation of the computer

Physical organisation of the computer Fundamentals of IT Westminster International University in Tashkent 2011 Physical organisation of the computer Buses convey: Data signals Data address signals Control signals Power Bus lines Data lines (Data bus) Address lines (Address bus) Control lines (Control bus)

Physical organisation of the computer Fundamentals of IT Westminster International University in Tashkent 2011 Physical organisation of the computer Single-chip computers Single-board computers Small general-purpose microcomputers (ex. basic PC) Small special-purpose computers (ex. Systems controlling small-scale chemical distillation plant) Multiple-board, bus-based computers

Processor Functions Consists of two primary elements Fundamentals of IT Westminster International University in Tashkent 2011 Processor Functions To control the use of main storage to store data and instructions To control the sequence of operations To give commands to all parts of the computer system To carry out processing Consists of two primary elements Control Unit (CU) Arithmetic and Logic Unit (ALU)

Example of Bus connections Fundamentals of IT Westminster International University in Tashkent 2011 Example of Bus connections MDR – Memory Data Register MAR – Memory Address Register MBR -

Example of Bus connections Fundamentals of IT Westminster International University in Tashkent 2011 Example of Bus connections

Example of Bus connections Fundamentals of IT Westminster International University in Tashkent 2011 Example of Bus connections

Fundamentals of IT Westminster International University in Tashkent 2011 Processor Registers – special-purpose temporary-storage locations within the processor or other devices Types of registers Memory Address Register (MAR) Memory Data Register (MDR) Memory Buffer Register (MBR) Data Buffer Registers

Processor Memory Data Register (MDR) Memory Buffer Register (MBR) Fundamentals of IT Westminster International University in Tashkent 2011 Processor Memory Data Register (MDR) Handles all data and instructions passing in and out of the processor Memory Buffer Register (MBR) Handles all data and instructions passing in and out of main storage Memory Address Register (MAR) Handles location addresses (source/destination) during transfer between the MDR and MBR Data Buffer Registers Exists in I/O units connected to the processor and have similar purpose to the MBR

Details of a processor Fundamentals of IT Westminster International University in Tashkent 2011 Details of a processor

Fundamentals of IT Westminster International University in Tashkent 2011 Processor registers Registers in the processor are constructed so that their contents can be accessed and altered much faster than the contents of locations of main storage

Processor registers Fundamentals of IT IR (Instruction Register) Westminster International University in Tashkent 2011 Processor registers IR (Instruction Register) Holds an instruction to be executed which was first taken from main storage via the MDR and placed in). There it is rapidly decoded and performed DR (Data Registers) within ALU Hold data to be processed that was taken from main memory via MDR. The required arithmetic or logic operation is rapidly performed. ALU provides result in one DR from which it is taken and stored in main storage AR (address registers) hold addresses from Memory Address Register (MAR) STATUS register is used by the control unit as a means of detecting conditions which have occurred such as the ALU detecting the arithmetic error of division by zero.

Control Unit Is a nerve centre of the computer Fundamentals of IT Westminster International University in Tashkent 2011 Control Unit Is a nerve centre of the computer Coordinates and controls all-hardware operations (ie, those of peripheral units, main memory and the processor itself)

Control Unit operation Fundamentals of IT Westminster International University in Tashkent 2011 Control Unit operation Fetch-execute cycle Control unit causes the requisite instruction to be fetched from main storage via the MDR and placed in IR. When main storage receives an appropriate signal from the control unit it transfers the instruction, whose address is specified in the MAR, into the processor’s MDR via the data bus The control unit interprets the instruction in the IR and causes the instruction to be executed by sending command signals to the appropriate hardware devices.

Control Unit – Control of sequence of instructions Fundamentals of IT Westminster International University in Tashkent 2011 Control Unit – Control of sequence of instructions PC (Program Counter) or SCR (Sequence Control Register) registers Hold the location address of the next instruction to be performed

Control Unit – Pipelining Fundamentals of IT Westminster International University in Tashkent 2011 Control Unit – Pipelining Is a method of speeding up the fetch- execute cycle by fetching not just the next instruction but the next few that follow it in main storage. The instructions are placed in a queue of registers feeding into the IR.

Arithmetic and logic unit (ALU) Fundamentals of IT Westminster International University in Tashkent 2011 Arithmetic and logic unit (ALU) Functions Carries out the arithmetic (add, substract, multiply and divide) Performs certain “logical operations” (testing whether two data items match)

Arithmetic and logic unit (ALU) operation Fundamentals of IT Westminster International University in Tashkent 2011 Arithmetic and logic unit (ALU) operation Loading data into the data register from main storage Data items to be processed are taken from main storage, as directed by the control unit, and pass via the MDR into the data registers in the ALU, where they are stored. ALU performs the required operation(s) on the data (eg. adding) as directed by control unit. The ALU leaves the result in a data register. While such ALU is carrying out an operation it may make use of other registers of its own such as “OPERAND” and “RESULT” Storing data (the result) Results are taken from data registers and placed in main storage under the control unit signal.

Performance and cost

Cache  is random access memory (RAM) that a computer microprocessor can access more quickly than it can access regular RAM.  LFU (Least Frequently Used) and LRU (Least Recently Used) The difference is that determining which data items to overwrite.

Reading C.S. French “Computer Science”, 5th edition, Chapter 13 Fundamentals of IT Westminster International University in Tashkent 2011 Reading C.S. French “Computer Science”, 5th edition, Chapter 13 Dale, “Computer Science Illuminated”, Chapter 5

THANK YOU !! POWER POINT TEMPLATE Company's new low-cost and easy-to-use Web-site design tool will help entrepreneurs spiff up their online. THANK YOU !!