0% found this document useful (0 votes)
11 views28 pages

Comp Arch CH 05 L02 Bus Architecturer Revision

Bus architecture

Uploaded by

devanshsethiya2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views28 pages

Comp Arch CH 05 L02 Bus Architecturer Revision

Bus architecture

Uploaded by

devanshsethiya2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 28

Chapter 05: Basic Processing Units …

Control Unit Design Organization

Lesson 02:
Bus Architecture
Memory Bus (System Bus)

Schaum’s Outline of Theory and Problems of Computer Architecture 2


Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
Bus Interconnection of Processor units to
memory and IO subsystem

Schaum’s Outline of Theory and Problems of Computer Architecture 3


Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
Memory bus

• Memory bus (also called system bus since it


interconnects the subsystems)
• Interconnects the processor with the memory
systems and also connects the I/O bus.
• Three sets of signals –address bus, data bus,
and control bus

Schaum’s Outline of Theory and Problems of Computer Architecture 4


Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
System Bus

• A system’s bus characteristics  according


to the needs of the processor, speed, and
word length for instructions and data.
• Processor internal bus(es) characteristics
differ from the system external bus(es).

Schaum’s Outline of Theory and Problems of Computer Architecture 5


Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
Address, Data and Control Buses

Schaum’s Outline of Theory and Problems of Computer Architecture 6


Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
Address Bus

• Processor issues the address of the


instruction byte or word to the memory
system through the address bus
• Processor execution unit, when required,
issues the address of the data (byte or word)
to the memory system through the address
bus

Schaum’s Outline of Theory and Problems of Computer Architecture 7


Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
32-bits Address Bus

• The address bus of 32-bits fetches the


instruction or data from an address specified
by a 32-bit number

Schaum’s Outline of Theory and Problems of Computer Architecture 8


Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
Address Bus Example

• Let a processor at the start reset the


program counter at address 0
• Then the processor issues address 0 on the
bus and the instruction at address 0 is
fetched from memory

Schaum’s Outline of Theory and Problems of Computer Architecture 9


Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
Address Bus Example

• Let a processor instruction be such that it


needs to load register r1 from the memory
address M
• The processor issues address M on the
address bus and data at address M is
fetched

Schaum’s Outline of Theory and Problems of Computer Architecture 10


Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
Data Bus
• When the Processor issues the address of
the instruction, it gets back the instruction
through the data bus
• When it issues the address of the data, it
loads the data through the data bus
• When it issues the address of the data, it
stores the data in the memory through the
data bus

Schaum’s Outline of Theory and Problems of Computer Architecture 11


Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
32-bit Data Bus

• A data bus of 32-bits fetches, loads, or


stores the instruction or data of 32-bits

Schaum’s Outline of Theory and Problems of Computer Architecture 12


Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
Data bus use example 1

• When the processor issues address m for an


instruction, it fetches the instruction through
data bus from address m
• For a 32-bit instruction, the word at data bus
is fetched from addresses m, m + 1, m + 2,
and m + 3

Schaum’s Outline of Theory and Problems of Computer Architecture 13


Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
Data bus use example 2

• When an instruction is given to store


register r1 to the memory address M, the
processor issues address M on the bus and
sends the data at address M through the data
bus
• For 32-bit data, word at data bus is to the
memory addresses M, M + 1, M + 2, and M
+3

Schaum’s Outline of Theory and Problems of Computer Architecture 14


Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
Control Bus

• Issues signals to control the timing of


various actions during interconnection
• Bus signals synchronize the subsystems

Schaum’s Outline of Theory and Problems of Computer Architecture 15


Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
Control Bus Signals

• Control signals as per the processor


design

Schaum’s Outline of Theory and Problems of Computer Architecture 16


Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
Control Bus Signals
• Control bus issues signals to control the
timing of various actions during
interconnection
• Control bus signals from processor to
Memory read, Memory write, IO read, IO
write
• Control bus signals synchronize the
subsystems: memory and IO systems
• Control bus signals from processor to
Address latch enable or data valid
Schaum’s Outline of Theory and Problems of Computer Architecture 17
Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
Control Bus Signals

• Control bus signals from systems to


processor for Interrupt and hold
• Control bus signals from processor to
systems for Interrupt acknowledge, hold
acknowledge

Schaum’s Outline of Theory and Problems of Computer Architecture 18


Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
Control bus uses example 1

• When the processor issues the address, it


also issues a memory-read control signal
and waits for the data or instruction
• Memory unit must place the instruction or
data during the interval in which memory-
read signal is active (not inactivated by the
processor)

Schaum’s Outline of Theory and Problems of Computer Architecture 19


Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
Control bus uses example 2

• Let the processor issues the address on the


address bus, and (after allowing sufficient
time for the all address bits setup) it places
the data on the data bus

Schaum’s Outline of Theory and Problems of Computer Architecture 20


Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
CONTROL BUS USE EXAMPLE 2

• Also then issues memory-write control


signal (after allowing sufficient time for the
all data bits setup) for store signal to
memory. The memory unit must write
(store) the data during the interval in which
memory-write signal is active (not
inactivated by the processor).

Schaum’s Outline of Theory and Problems of Computer Architecture 21


Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
IO Bus and PCI Bus

Schaum’s Outline of Theory and Problems of Computer Architecture 22


Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
Devices on I/O Bus

• Devices can be designed to interface with


the bus, allowing them to be compatible
with any computer that uses the same type
of I/O bus

Schaum’s Outline of Theory and Problems of Computer Architecture 23


Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
Buses to interconnect the processor Functional
units to memory and IO subsystem

Schaum’s Outline of Theory and Problems of Computer Architecture 24


Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
Summary

Schaum’s Outline of Theory and Problems of Computer Architecture 25


Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
We learnt
• Data bus from and to processor
• Address bus from processor to address
memory and I/O systems
• Control bus issues signals to control the
timing of various actions during
interconnection
• Control bus signals from processor to
Memory read, Memory write, IO read, IO
write

Schaum’s Outline of Theory and Problems of Computer Architecture 26


Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
We learnt
• Control bus signals synchronize the
subsystems
• Control bus signals from processor to
Address latch enable or data valid and
from systems to processor for Interrupt and
hold
• Control bus signals from processor to
Interrupt acknowledge, hold acknowledge

Schaum’s Outline of Theory and Problems of Computer Architecture 27


Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
End of Lesson 02 on
Bus Architecture

Schaum’s Outline of Theory and Problems of Computer Architecture 28


Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

You might also like