0% found this document useful (0 votes)
38 views

Fundamentals of Computer Architecture

1. The document discusses the fundamentals of computer architecture, including the components of a computer system (hardware, software, human resources) and the internal organization of the CPU. 2. It describes the evolution of computers from the mechanical era to the electronic era, highlighting the IAS computer/Von Neumann architecture as the prototype for modern computers. 3. The Von Neumann bottleneck caused by the speed disparity between the CPU and main memory is discussed, along with techniques like cache memory and RISC architecture to reduce its impact.

Uploaded by

Sukanta Bose
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views

Fundamentals of Computer Architecture

1. The document discusses the fundamentals of computer architecture, including the components of a computer system (hardware, software, human resources) and the internal organization of the CPU. 2. It describes the evolution of computers from the mechanical era to the electronic era, highlighting the IAS computer/Von Neumann architecture as the prototype for modern computers. 3. The Von Neumann bottleneck caused by the speed disparity between the CPU and main memory is discussed, along with techniques like cache memory and RISC architecture to reduce its impact.

Uploaded by

Sukanta Bose
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

MCA 1st year, MCAN-103

Topic: Fundamentals of Computer Architecture


By
Dr. Sukanta Bose.
Fundamentals of Computer Architecture
A computer is an automatic machine made up of electronic and electromechanical devices,
which processes data.
Characteristics of Computers:
1. Speed : several millions operations per second
2. Accuracy : calculation to the extent of 64 decimal accuracy
3. Storage : capable of storing large volumes of data
4. Decision making : capable of decision making according to the supplied information.

The computer system consists of three main components


a. Hardware
b. Software
c. Human resources
A. Hardware:
1. Memory
I. Secondary memory
II. Main memory
III. Cache memory
2. Arithmetic logic unit (ALU)
3. Control Unit
4. Input Unit
5. Output Unit
6. Bus
B. Software:
The information processed by the hardware devices. Software consists of the
instructions and data that the computers manipulate to perform various tasks. A
sequence of instructions is called a program. Generally software can be
application software or system software. Examples of application software are
editor program, real player or railway reservation system.
Examples of system software are operating systems, compilers and device
drivers.
C. Human resources:
It is the manpower and skilled personnel (programmers) available to perform
operations on computer systems.
1. Hardware part consists of CPU, main memory, I/O devices, secondary storage etc.
The hardware provides basic computing resources.
2. BIOS: stands for Basic input output system, is a program consisting of I/O drivers,
which are different programs to perform various I/O operations on behalf of various
peripheral devices attached to the computer. When a program needs an I/O
operation, it calls this program. BIOS programs are basically programs embedded on a
chip, called firmwire.
3. When first power is on, this program runs. The main task of the BIOS is to identify and
initiate component hardware like hard drives, keyboard and mouse. This prepares the
computer to work by loading the operating system into the main memory from the
hard disk. This process is known as booting.

ADD X1, X2
Machine level
Assembley Assembler
language
language

High level
Machine level
language Compiler
language
program
program
1. Each processor needs its own compiler or interpreter for each high level language.
2. The compiler reads the entire program first and then generates the object code,
3. Interpreter reads one instruction at a time, produces its object code and executes the
instruction before reading the next instruction
4. An OS is a set of programs and utilities, which acts as the interface between user
programs and computer hardware. The purpose of an operating system is to provide an
environment in which a user may execute the programs. An OS can be viewed as the
resource manager.

The following are the functions of the operating system:


1. User’s program management
2. Memory management
3. Secondary storage management
4. I/O management
5. File management
6. Protection
7. Networking management
8. Command interpretation
Types of operating systems:
1. Batch processing OS
2. Multiprogramming OS
3. Multi-tasking or time sharing OS
4. Multithreading OS
5. Real-time OS
6. Distributed OS
7. Multiprocessing OS

Types of Computers:
1. Multiframe computer
2. Minicomputer
3. Microcomputer
4. Supercomputer
History of Computers:

Mechanical Era:

(A). Abacus, (B). Mechanical computer/Calculator, (C). Babbage’s Difference Engine, (D).
Babbage’s Analytical Engine
Electronic Era:

IAS Computer/Von-Neumann Computer:

In 1946, Von Neumann and his colleagues began the design of a new stored-program computer,
now referred to as the IAS computer, at the Institute for Advanced Studies, Princeton. Nearly, all
modern computers still use this stored-program concept. This concept has three main principal:
1. Program and data can be stored in the same memory.
2. The computer executes the program in sequence as directed by the instructions in the
program.
3. A program can modify itself when the computer executes the program.

This machine employed a random-access Cathode-Ray-Tube (CRT) main program, which


permitted an word to be accessed in one operation. Parrallel binary circuits were employed.
Each instruction contained only one memory address and had the format:

OPCODE ADDRESS

The central processing unit (CPU) contained several high speed (vacuum-tube) registers used as
implicit storage locations for operands and results. Its input-output facilities were limited. It can
be considered as the prototype of all subsequent general-purpose computers.
Instruction format: The basic unit of information i.e. the amount of information that can be
transferred between the main memory and CPU in one step is a 40-bit word. The memory has a
capacity of 2¹² =4096 words. A word stored in the memory can represent either instruction or
data.

Data: left most bit represent the sign of the number (0 for positive and 1 for negative) while the
remaining 39 bits indicate the number’s size. The numbers are represented as fixed –point
numbers. 39 38

Sign Bit

Instruction: IAS instructions are 20 bits long, so that two instructions can be stored in each 40-
bit memory location. An instruction consists of two parts: an 8-bit op-code (operation code),
which defines the operation to be performed (add, subtract, etc) and a 12 bit address part which
can identify any of 2¹² memory locations that may be used to store an operand of the instruction.
Reduced word length: IAS instruction allows only one memory address. This
results in a substantial reduction in word length. Two aspects of IAS organization
make this possible.
1. Fixed registers in the CPU are used to store operands and results. : IAS
instruction automatically make use of these registers as required. In other words
CPU register addresses are implicitly specified by the op-code.

2. The instruction of a program are stored in the main memory in approximately the
sequence in which they are to be executed. Hence the address of the next
instruction pair is usually the address of the current instruction pair plus one. The
need for a next instruction address in the instruction format is eliminated. Special
branch instructions are included to permit the instruction execution sequence to
be varied.
Structure of an IAS computer
Bottleneck of Von-Neumann Architecture:

1. One of the major factors contributing for a computer’s performance is the time required
to move instructions and data between the CPU and main memory. The CPU has to wait
longer to obtain a data word from the memory that from its registers, because the
registers are very fast and are logically placed inside the processor (CPU). This CPU-
memory speed disparity is referred to as Von-Neumann Bottleneck

2. This performance problem is reduced by using a special type memory is called cache
memory between the CPU and main memory. Spped o the cache memory is almost
same as the CPU, for which there is almost no waiting time of the CPU for the required
data-word to come.

3. Another way to reduce the problem is by using special type computers known as
Reduced Instruction Set Computer (RISC). This class of computers generally uses a
large number of registers, through which the most of the instruction are executed. This
computer usually limits access to main memory to a few load and store instructions.
This architecture is designed to reduce the impact of the bottleneck by reducing the total
number of the memory accesses made by the CPU and by increasing the number of
register accesses.
Various subsystems of a computer
Internal organization of CPU
Memory:
1. Main memory
2. Secondary menory
3. Cache memory

I/O unit:

System bus:

You might also like