Professional Documents
Culture Documents
What is a Bus?
• Usually broadcast
• Often grouped
Data Bus
• Carries data
Address bus
• e.g. CPU needs to read an instruction (data) from a given location in memory
— e.g. 8080 has 16 bit address bus giving 64k address space
Control Bus
— Clock signals
If large number of devices are connected to the single shared bus , performance will suffer.
There are following problems
1>Bus length is longer. Therefore propagaton time is more. This propagation dealy can affect
performance. When control of the bus passes from one device to another frequently
2>The bus may become bottleneck as aggreagate data transfer demand approaches the
capacity of bus. Because data rate generated by attached deviceslike graphics and video
controller are growing rapidly
3>Only one master bus can operate at a time, other waits. To overcome this problem most
computer system use multiple buses, generally laid out in hierarchy.
Figure shows some typical example of I/O devices that might be attached to expansion devices
The traditional bus connection uses three buses local bus , system bus and expansion bus
1. Local bus connects the processor to cache memory and may support one or more local
devices
2. The cache memory controller connects the cache to local bus and to the system bus.
4. Input /output transfer to and from the main memory across the system bus do not interface
with the processor activity because process accesses cache memory.
5. It is possible to connect I/O controllers directly on to the system bus. A more efficient solution
is to make use of one or more expansion buses for this purpose.An expansion bus interface
buffers data transfer between system bus and i/o controller on the expansion bus.
This arrangement allows the system to support a wide variety of i/o devices and at the same
time insulate memory to process or traffic from i/o traffic.
i) In Centralized approach; A hardware device called bus controller or bus arbiter allocates bus.
It uses one of the following type
(1) Daisy chaining
(2) Polling
(3) Multiple priority levels
ii) In Distributed Approach: each master has arbiter compared to only single in centralized
approach. Equal responsibility is given to all devices to carry out arbitration process, without
using a central arbiter
3. Bus Timing: In synchronous timing ,e very event is synchronized by clock whereas in
asynchronous every event occurring depends on previous events of bus .
4. Bus width: It decides the number of lines to be used for address and data. More addrss lines
means more memory can be accessed e.g 16 line address make 2 16 = 64 kb , 20 address line
makes 220 = 1 mb memory access .
More data lines means more number of bits can be transferred at a time. Therefore speed
increases.
5. Data transfer type; A bus can support various type of data transfer
1) For multiplexed bus
independently of the processor. It is found on many desktops, but not limited to them.The PCI
bus is a 32 bit wide bus capable of transferring at data rates up to 132 MBytes per second. A
66 MHz, 64-bit version is capable of transfer
rates of up to 524 Mbytes/second.