03 System Buses Part 1
03 System Buses Part 1
and Architecture
Chapter 3
System Buses
Topics
• Computer Components
• Computer Function
• Interconnection Structures
• Bus Interconnection
• PC Buses
ORGANIZATION AND ARCHITECTURE
• Computer architecture refers to those attributes of a
system visible to a programmer or, put another way, those
attributes that have a direct impact on the logical execution
of a program.
• Computer organization refers to the operational units and
their interconnections that realize the architectural
specifications.
• Examples of architectural attributes include the instruction
set, the number of bits used to represent various data types
(e.g., numbers, characters), I/O mechanisms, and techniques
for addressing memory.
• Organizational attributes include those hardware details
transparent to the programmer, such as control signals;
interfaces between the computer and peripherals; and the
memory technology used.
Computer Architecture Computer Organization
Computer Architecture is concerned Computer Organization is concerned
with the way hardware components with the structure and behaviour of a
are connected together to form a computer system as seen by the user.
computer system.
It acts as the interface between It deals with the components of a
hardware and software. connection in a system.
Computer Architecture helps us to Computer Organization tells us how
understand the functionalities of a exactly all the units in the system are
system. arranged and interconnected.
A programmer can view architecture Whereas Organization expresses the
in terms of instructions, addressing realization of architecture.
modes and registers.
While designing a computer system An organization is done on the basis
architecture is considered first. of architecture.
• Combination of above
Example of Program
Execution
Characteristics of a
Hypothetical Machine
(Figure 3.4 in the text)
Example of Program Execution
• Want: Loc941 Loc940 + Loc941
• One address format
LOAD 940; AC Loc940
ADD 941; AC AC + Loc941
STORE 941; Loc941 AC
• Hex representation of instruction
1940 = 0001 1001 0100 0000
OP-code of LOAD
Example of Program Execution
(Figure 3.5 in the text)
• The PC contains 300, the address of the first instruction. This instruction
(the
• value 1940 in hexadecimal) is loaded into the instruction register IR and the
• PC is incremented. Note that this process involves the use of a memory
address
• register (MAR) and a memory buffer register (MBR). For simplicity,
• these intermediate registers are ignored.
• 2. The first 4 bits (first hexadecimal digit) in the IR indicate that the AC is to
be
• loaded. The remaining 12 bits (three hexadecimal digits) specify the
address
• (940) from which data are to be loaded.
• 3. The next instruction (5941) is fetched from location 301 and the PC is
• incremented.
• 4. The old contents of the AC and the contents of location 941 are added
and the
• result is stored in the AC.
• 5. The next instruction (2941) is fetched from location 302 and the PC is
• incremented.
• 6. The contents of the AC are stored in location 941.
Instruction Cycle -
State Diagram