ComputerArchitecture_Chapter-II
ComputerArchitecture_Chapter-II
• Functional units are a part of a CPU that performs the operations and
calculations called for by the computer program.
Memory Unit
• It performs
1. arithmetic operations like addition, subtraction, multiplication, division
2. logical operations like AND, OR, NOT
Functional Units (Hardware) of a Computer
Control Unit
• The control unit is a component of a computer's central processing unit
that coordinates the operation of the processor.
• It tells the computer's memory, arithmetic/logic unit and input and
output devices how to respond to a program's instructions.
• The control unit is also known as the nerve center of a computer
system since it controls all the activities and operations of the
computer.
Functional Units (Hardware) of a Computer
Control Unit
• The control unit acts like the supervisor which determines the
sequence in which computer programs and instructions are executed.
• It retrieves instructions from memory, decodes the instructions,
interprets the instructions and understands the sequence of tasks to be
performed accordingly.
• It further transmits the instructions to the other parts of the computer
system to execute them. In short, the control unit determines the
sequence of operations to execute the given instructions.
Functional Units (Hardware) of a Computer
Output Unit
• The primary function of the output unit is to send the processed results
to the user:.
• Output devices display information in a way that the user can
understand.
• Output devices are pieces of equipment that are used to generate
information or any other response processed by the computer.
• These devices display information that has been held or generated
within a computer.
Examples : Monitor, Printer, Speakers, etc.
Von Neumann Architecture
• This architecture implemented the stored program concept in which the data
and instructions are stored in the same memory.
• It either fetches an instruction from memory or performs read/write operation on data, one at a
time and in order (serially).
• The processor decodes and executes an instruction, before cycling around to fetch the next
instruction
AC – Accumulator
PC – Program Counter
CIR – (Current Instruction Register)
MDR – (Memory Data Register)
MAR – (Memory Address Register)
Von Neumann Architecture
Buses:
• A communication system that is used to connect the computer
components
• Buses are the means by which information is shared between the
registers in a multiple Register configuration system.
• A bus structure consists of a set of common lines, one for each bit of a
register, through Which binary information is transferred one at a time.
Von Neumann Architecture
Buses:
• Control signals determine which Register is selected by the bus during
each particular register transfer.
• Von Neumann Architecture comprises 3 major bus systems for data
transfer:
1. Address Bus
2. Data Bus
3. Control Bus
Basic Operational Concepts
• To perform a given task an appropriate program consisting of a list of
instructions is stored in the memory.
• Individual instructions are brought from the memory into the
processor, which executes the specified operations.
• Data to be stored are also stored in the memory.