Presentation is loading. Please wait.

Presentation is loading. Please wait.

The variety Of Processors And Computational Engines CS – 355 Chapter- 4 `

Similar presentations


Presentation on theme: "The variety Of Processors And Computational Engines CS – 355 Chapter- 4 `"— Presentation transcript:

1 The variety Of Processors And Computational Engines CS – 355 Chapter- 4 `

2 Introduction Processor: It is a digital device which performs computation involving multiple steps. Processors can be categorized into groups depending on their functionality and intended use.

3 Von Neumann Architecture System organized in this architecture uses stored program approach. Programs and data reside in memory. Principle components: processor, memory, I/O devices

4 From Essentials of Computer Architecture by Douglas E. Comer. ISBN 0131491792. © 2005 Pearson Education, Inc. All rights reserved.

5 What is a Processor? Is Processor = Central Processing Unit Processor = -Device that can perform computation involving multiple steps -Computes Boolean arithmetic etc -Need not be expensive and powerful.

6 Range Of Processors Processor categories based on flexibility(least to most) - Fixed logic (least flexible, single built operation) - Selectable logic (Several functions Exact function is determined when invoked).

7 Range Of Processors - Parameterized logic Computes a predetermined function, but input parameters Programmable Logic Most flexible Processor given a program to run, typically placed in memory.

8 Computational engines Computer architects use a hierarchical approach to develop the CPU. Subcomponents which implement complex functions are designed and tested independently. They behave like less powerful processors. These are called computational engines.

9 From Essentials of Computer Architecture by Douglas E. Comer. ISBN 0131491792. © 2005 Pearson Education, Inc. All rights reserved. CPU with many engines

10 From Essentials of Computer Architecture by Douglas E. Comer. ISBN 0131491792. © 2005 Pearson Education, Inc. All rights reserved.

11 Processor categories and Roles Coprocessor: under the control of a powerful processor, single task at high speed. Ex: floating point processors, fixed or selectable logic processors Microcontroller : programmable device dedicated to the control of physical system. It does not perform any computation as such but tests sensors and sends signals to the control devices. Ex: door sensors, engine in automobiles Micro sequencer : for internal control, controls co-processors and engines with large processors. ex: Micro sequencer to control data movement Embedded system processor : they are used to run DVD, Television,Dial up modems etc. General purpose processor: CPU in a PC is an example.

12 From Essentials of Computer Architecture by Douglas E. Comer. ISBN 0131491792. © 2005 Pearson Education, Inc. All rights reserved.

13 Processor Technology Earlier the processors were made by connecting digital logic circuits together on a circuit board. Today the general purpose processor consists of a single integrated circuit.

14 Stored programs Most processors follow the Neumann. architecture. This is also known as the “stored memory computer”. The computer stores the data and programs instructions in the RAM. A stored-program machine can easily change the program, and can do so under program control. But for other processors like microcontroller programs cannot be modified.|

15 Stored Programs Processors perform a series of computations Programs are stored either - internally in few cases -External access location E.g. main memory(easily modifiable) -ROM

16 The Fetch-Execute Cycle How does the processor identify the next step in the program? What are the operations that can be performed and how does the processor perform them? The Fetch-Execute Paradigm -Programmable processor accesses 1 step of a stored program executes it and then repeats above with the next step.

17 The Fetch-Execute Cycle At some level a programmable processor implements a fetch execute cycle. The control unit implements the Fetch-decode cycle. The algorithm used in fetch execute cycle Repeat forever { fetch: access the next step of the program from the location in which the program is stored. execute: perform the step of the program. }

18 Clock and Instruction rate How fast does a fetch execute cycle operate? Depends on -processor(clock speed) -time to execute each instruction -Program storage technology

19 Clock and Instruction rate The performance of a processor depends on the speed of the clock. Clock rate is not the rate at which the fetch- decode cycle proceeds. The execute phase depends on the type of instructions. Ex: floating point values requires more clock cycles then integer operations.

20 Control: of the fetch –execute cycle Working of the cycle Stopping A processor can be halted permanently by powering down the computer. In dedicated systems same program executes repeatedly. In general purpose systems the operating system is running when no application is running. Starting Processor begins execution from a fixed location. Possibilities: Reset, Bootstrap loader, soft power switch

21 Key Points Processors can use fixed or programmable logic. Coprocessors, micro sequencers, microcontrollers, embedded processors, general purpose processors. All programmable processors follow fetch- execute cycle.


Download ppt "The variety Of Processors And Computational Engines CS – 355 Chapter- 4 `"

Similar presentations


Ads by Google