Computer Organization and Architecture
Computer Organization and Architecture
Computer Organization and Architecture
ORGANIZATION AND
ARCHITECTURE
(COA)
Computer Architecture Computer Organization
Computer Architecture is concerned with the way Computer Organization is concerned with the
hardware components are connected together to form structure and behaviour of a computer system as seen
a computer system. by the user.
It acts as the interface between hardware and It deals with the components of a connection in a
software. system.
Computer Architecture helps us to understand the Computer Organization tells us how exactly all the
functionalities of a system. units in the system are arranged and interconnected.
A programmer can view architecture in terms of Whereas Organization expresses the realization of
instructions, addressing modes and registers. architecture.
While designing a computer system architecture is
An organization is done on the basis of architecture.
considered first.
Computer Architecture deals with high-level design Computer Organization deals with low-level design
issues. issues.
Architecture involves Logic (Instruction sets, Organization involves Physical Components (Circuit
Addressing modes, Data types, Cache optimization) design, Adders, Signals, Peripherals)
Units:
• Unit – I : Introduction - Computer System:
• Unit – II : Instruction Set - CPU
• Unit – III : Computer Memory System Overview -
Internal Memory - External Memory
• Unit – IV : Characteristics of CISC and RISC
• Control unit - Micro Programmed Control
• Unit – V : Processor Structure and Function
• Unit – VI : Input/Output
Books:
• 1. William Stallings, “Computer Organization and
Architecture – Designing for Performance”, Prentice
Hall, 9th Edition, 2013
• 2. John P.Hayes, “Computer Architecture and
Organization”, Tata McGraw Hill, 3rd Edition, 2002.
Unit - 1
• Introduction:
• Organization and Architecture,
• Structure and Function
• Computer Evolution - Brief history of computers
• Designing for performance.
• Computer System: Components, Function
• Interconnection Structures
• Bus interconnection
• PCI.
Introduction
• Architecture is those attributes visible to the
programmer
• Instruction set, number of bits used for data
representation, I/O mechanisms, addressing techniques.
• e.g. Is there a multiply instruction?
• Organization is how features are implemented
• Control signals, interfaces, memory technology.
• e.g. Is there a hardware multiply unit or is it done by
repeated addition?
Computer Architecture & Organization
•Attributes of a •Instruction set, number
system visible to of bits used to represent
the programmer various data types, I/O
•Have a direct mechanisms, techniques
impact on the for addressing memory
logical execution
of a program Computer Architectural
Architecture attributes include:
Organizational Computer
•Hardware details attributes include: Organization
transparent to the •The operational units
programmer, control and their
signals, interfaces between interconnections that
the computer and realize the architectural
peripherals, memory specifications
technology used
Computer Architecture & Organization
• All Intel x86 family share the same basic
architecture
• The IBM System/370 family share the same basic
architecture
Control Bus
• Control and timing information
• Memory read/write signal
• Interrupt request
• Clock signals
Control lines
Typical control lines include:
• Memory write: causes data on the bus to be written into the addressed location.
• Memory read: causes data from the addressed location to be placed on the bus.
• I/O write: causes data on the bus to be output to the addressed I/O port.
• I/O read: causes data from the addressed I/O port to be placed on the bus.
• Transfer ACK: indicates that data have been accepted from or placed on the bus.
• Bus request: indicates that a module needs to gain control of the bus.
• Bus grant: indicates that a requesting module has been granted control of the bus.
• Interrupt request: indicates that an interrupt is pending.
• Interrupt ACK: acknowledges that the pending interrupt has been recognized.
• Clock: is used to synchronize operations.
• Reset: initializes all modules.
Bus Operation
• If one module wishes to send data to another, it
must do two things: (1) obtain the use of the bus,
and (2) transfer data via the bus.
• If one module wishes to request data from another
module, it must (1) obtain the use of the bus, and
(2) transfer a request to the other module over the
appropriate control and address lines. It must then
wait for that second module to send the data.
PCI
• Peripheral Component Interconnect (PCI)
• It is popular high-bandwidth, processor-
independent bus that can function as a
Intermediate or peripheral bus.
• Compared with other common bus specifications,
PCI delivers better system performance for high-
speed I/O subsystems (e.g., graphic display
adapters, network interface controllers, and disk
controllers).