Computer System Architecture
Computer System Architecture
Architecture
Introduction
Digital Computer
Historical perspective
Computer is an electronic machine that makes performing any task very easy. In
computer, the CPU executes each instruction provided to it, in a series of steps, this
1. Input Unit
2. Output Unit
3. Storage Unit
5. Control Unit
Input Unit
Input unit connects the external environment with internal computer system.
Computer
Input data O/P
Circuit
Program ???
COMPUTER ARCHITECTURE
computer architecture is a set of rules and methods that describe the functionality,
organization, and implementation of computer systems. Some definitions of
architecture define it as describing the capabilities and programming model of a
computer but not a particular implementation.
In other definitions computer architecture involves instruction set
architecture design, micro-architecture design, logic design, and implementation.
COMPUTER ORGANIZATION
Computer org. Is concerned with the way the H/W components operate and the
way they are connected together to from the computer system.
A knowledge of computer org. Can help one to understand the internal operations
that are carried out by a computer while a program is being executed.
Computer org. Deals with how the different components of a computer such as the
processor , memory and other peripheral devices are interconnected , and the roles
that the different component play during program execution.
Application
Program
System
Program
Architecture
Organization
Von Neumann Computer Architecture
Von Neumann architecture was first published by John von Neumann in 1945.
His computer architecture design consists of a Control Unit, ALU, Memory
Unit, Registers and Inputs/Outputs.
Von Neumann architecture is based on the stored-program computer concept, where
instruction data and program data are stored in the same memory.
Central Processing Unit (CPU)
The Central Processing Unit (CPU) is the electronic circuit responsible for executing the
instructions of a computer program.
Registers
Registers are high speed storage areas in the CPU. All data must be stored in
a register before it can be processed
MAR :- Memory Address Register:- Holds the memory location of data that needs to be accessed
MDR:- Memory Data Register Holds data that is being transferred to or from memory
AC:- Accumulator Where intermediate arithmetic and logic results are stored
PC:- Program Counter Contains the address of the next instruction to be executed
CIR:- Current Instruction Register Contains the current instruction during processing
Arithmetic and Logic Unit (ALU)
The ALU allows arithmetic (add, subtract etc) and logic (AND, OR, NOT etc) operations to
be carried out.
Control Unit (CU)
The control unit controls the operation of the computer’s ALU, memory and input/output
devices, telling them how to respond to the program instructions it has just read and
interpreted from the memory unit.
The control unit also provides the timing and control signals required by other computer
components.
Buses
Buses are the means by which data is transmitted from one part of a computer to another,
connecting all major internal components to the CPU and memory.
A standard CPU system bus is comprised of a control bus, data bus and address bus.
Address Bus:- Carries the addresses of data (but not the data) between the processor and
memory
Data Bus:- Carries data between the processor, the memory unit and the input/output
devices
Control Bus:- Carries control signals/commands from the CPU (and status signals from
other devices) in order to control and coordinate all the activities within the computer
Memory Unit
The memory unit consists of RAM, sometimes referred to as primary or main
memory.
hard drive (secondary memory), this memory is fast and also directly accessible by
the CPU.
RAM is split into partitions. Each partition consists of an address and its contents
(both in binary form).
Loading data from permanent memory (hard drive), into the faster and directly
accessible temporary memory (RAM), allows the CPU to operate much quicker.
Basic organization of a Computer
Processor Monitor
Interconnection Bus
Hard- Key-
Memory
disk board
Processor
The processor is responsible for fetching an instruction stored in the memory and
executing it . It contains a arithmetic and logic unit for manipulating data, a number of
Main memory : Ram (Random access memory) bcz CPU can access any location in
memory at random .
Bus :- bus is group of wires. These wires into control and address wires.
Historical Perspective