computer architecture

17

Upload: paf-kiet

Post on 22-Jan-2017

192 views

Category:

Devices & Hardware


0 download

TRANSCRIPT

Page 1: Computer Architecture
Page 2: Computer Architecture

Group Members Name:FAIZAN AHMEDANUM

Page 3: Computer Architecture

WELCOME In The World Of

Page 4: Computer Architecture

ROAD MAP: Computer Architecture Major Components Fetch-Execute Cycle Cache Virtual Memory Computer System

Page 5: Computer Architecture

COMPUTER ARCHITECTURE:What does “Architecture” mean?Layouts And interaction of a computer system.What is a computer system?Input Process OutputCan a Computer System be more than one computer?

Think of an Example…

Page 6: Computer Architecture

BUT…..

Computer architecture deals with the functional behavior of a computer system as viewed by a programmer (like the size of a data type 32 bits to an integer). Computer organization deals with structural relationships that are not visible to the programmer (like clock frequency or the size of the physical memory).There is a concept of level in computer architecture .The basic idea is that there are many levels at which a computer can be considered ,from the highest level , where the user is running programs , to the lowest level , consisting of transistors and wires.

Page 7: Computer Architecture

MAJOR COMPONENTS OF A COMPUTER:

Central Processing Unit(CPU)Random Access Memory(RAM)Hard Drive/Disk

Page 8: Computer Architecture

CENTRAL PROCESSING UNIT(CPU)Also called the “Chip” or “Processor”.The brain of the computer.Major Components:

Arithmetic Logic Unit(ALU) Control Unit(CU) Communication bus system.

What’s a Bus?

Page 9: Computer Architecture

FETCH-EXECUTE CYCLE:

Fetch instruction from memory.

Decode instruction in control unit.

Execute instruction(data may be fetched from memory).

Store result if necessary. Repeat!

Page 10: Computer Architecture

REGISTERS:Temporary storage

container used inside the CPU.

Extremely fast.Fixed size, usually multiples

of 8-bits.

Page 11: Computer Architecture

PROGRAM COUNTER (PC)

Used to keep track of memory address of next instruction to be executed.

Once the instruction is fetched, PC is updated to point to next instruction.

PC= PC + d

Page 12: Computer Architecture

INSTRUCTION REGISTER(IR):

Once fetched, instructions are stored in IR for execution.

Page 13: Computer Architecture

CACHE:

Slower than registers. Faster then RAM. Located in front of main RAM. Different level of cache Size is usually around 1MB.

Page 14: Computer Architecture

VIRTUAL MEMORY:What if a program is too big for RAM?

If a program is too big for memory (RAM), then we start using the hard drive (disk) to store data.

Page 15: Computer Architecture

HARD DRIVES:

Page 16: Computer Architecture

COMPUTER SYSTEM:

Page 17: Computer Architecture