SlideShare a Scribd company logo
5
Most read
13
Most read
16
Most read
Buses: Connecting I/O to Processor and
Memory
° A bus is a shared communication link
° It uses one set of wires to connect multiple subsystems
Control
Datapath
Memory
Processor
Input
Output
Advantages of Buses
• New devices can be added easily
• Peripherals can be moved between computer systems that use the
same bus standard
° Low Cost:
• A single set of wires is shared in multiple ways
MemoryProcessor
I/O
Device
I/O
Device
I/O
Device
Disadvantages of Buses
° It creates a communication bottleneck
• The bandwidth of that bus can limit the maximum I/O throughput
° The maximum bus speed is largely limited by:
• The length of the bus
• The number of devices on the bus
MemoryProcessor
I/O
Device
I/O
Device
I/O
Device
The General Organization of a
Bus
° Control lines:
• Signal requests and acknowledgments
• Indicate what type of information is on the data lines
° Data lines carry information between the source and the destination:
• Data and Addresses
• Complex commands
° A bus transaction includes two parts:
• Sending the address
• Receiving or sending the data
Data Lines
Control Lines
Master versus Slave
° Master is the one who starts the bus transaction by:
• Sending the address
° Salve is the one who responds to the address by:
• Sending data to the master if the master ask for data
• Receiving data from the master if the master wants to send data
Bus
Master
Bus
Slave
Master send address
Data can go either way
Types of Buses
° Processor-Memory Bus
• Short and high speed
• Only need to match the memory system
- Maximize memory-to-processor bandwidth
• Connects directly to the processor
° I/O Bus
• Usually is lengthy and slower
• Need to match a wide range of I/O devices
• Connects to the processor-memory bus or backplane bus
° Backplane Bus
• Backplane: an interconnection structure within the chassis
• Allow processors, memory, and I/O devices to coexist
• Cost advantage: one single bus for all components
A Computer System with One Bus: Backplane
Bus
° A single bus (the backplane bus) is used for:
• Processor to memory communication
• Communication between I/O devices and memory
° Example: IBM PC
Processor Memory
I/O Devices
Backplane Bus
A Two-Bus System
° I/O buses tap into the processor-memory bus via bus adaptors:
• Processor-memory bus: mainly for processor-memory traffic
• I/O buses: provide expansion slots for I/O devices
° Apple Macintosh-II
• NuBus: Processor, memory, and a few selected I/O devices
• SCCI Bus: the rest of the I/O devices
Processor Memory
I/O
Bus
Processor Memory Bus
Bus
Adaptor
Bus
Adaptor
Bus
Adaptor
I/O
Bus
I/O
Bus
A Three-Bus System
° A small number of backplane buses tap into the processor-memory bus
• Processor-memory bus is used for processor memory traffic
• I/O buses are connected to the backplane bus
° Advantage: loading on the processor bus is greatly reduced
Processor Memory
Processor Memory Bus
Bus
Adaptor
Bus
Adaptor
Bus
Adaptor
I/O Bus
Backplane Bus
I/O Bus
USB
° Universal Serial Bus
• Originally developed in 1995 by a consortium including
- Compaq, HP, Intel, Lucent, Microsoft, and Philips
• USB 1.1 supports
- Low-speed devices (1.5 Mbps)
- Full-speed devices (12 Mbps)
• USB 2.0 supports
- High-speed devices
– Up to 480 Mbps (a factor of 40 over USB 1.1)
- Uses the same connectors
– Transmission speed is negotiated on device-by-device basis
Synchronous and Asynchronous Bus
° Synchronous Bus:
• Includes a clock in the control lines
• A fixed protocol for communication that is relative to the clock
• Advantage: involves very little logic and can run very fast
• Disadvantages:
- Every device on the bus must run at the same clock rate
- To avoid clock skew, they cannot be long if they are fast
° Asynchronous Bus:
• It is not clocked
• It can accommodate a wide range of devices
• It can be lengthened without worrying about clock skew
• It requires a handshaking protocol
cs 152 buses.12 ©DAP & SIK 1995
Obtaining Access to the
Bus
° One of the most important issues in bus design:
• How is the bus reserved by a devices that wishes to use it?
° Chaos is avoided by a master-slave arrangement:
• Only the bus master can control access to the bus:
It initiates and controls all bus requests
• A slave responds to read and write requests
° The simplest system:
• Processor is the only bus master
• All bus requests must be controlled by the processor
• Major drawback: the processor is involved in every transaction
Bus
Master
Bus
Slave
Control: Master initiates requests
Data can go either way
cs 152 buses.13 ©DAP & SIK 1995
Bus Arbitration
° The arbitration procedure comes into picture whenever there are more
than one processors requesting the services of bus.
° Because only one unit may at a time be able to transmit successfully
over the bus, there is some selection mechanism is required to maintain
such transfers. This mechanism is called as Bus Arbitration.
° Bus arbitration decides which component will use the bus among
various competing requests.
° A selection mechanism must be based on fairness or priority basis.
° Various methods are available that can be roughly classified as either
centralized or distributed.
° There are three arbitration schemes-
• Daisy – chaining
• Polling
• Independent requesting
cs 152 buses.14 ©DAP & SIK 1995
The
Dai
sy
Cha
in
Bus
Arbi
trati
ons
Sch
eme
° In this method, all requesting components are attached serially on to the bus.
° This method involves three control signals-
• BUS REQUEST
• BUS GRANT
• BUS BUSY
° All the bus units are connected to BUS REQUEST line.
° When activated, it indicates that one or more devices are requesting to use the bus.
° Bus Controller responds to a BUS REQUEST only if BUS BUSY is inactive. When bus
control is given to requesting device, it enables its physical bus connection and
activates BUS BUSY.
cs 152 buses.15 ©DAP & SIK 1995
The
Dai
sy
Cha
in
Bus
Arbi
trati
ons
Sch
eme
° When the 1st
requesting device gets control of the bus and recievies BUS GRANT
signal, it blocks further propagation of signals, activates BUS BUSY and begins to use
bus.
° When a non requesting device receives BUS GRANT signal, it forwards the signal to
next device.
° Thus if two devices simultaneously request bus access, the device that is closer to the
bus controller receives BUS GRANT and receives the bus control.
° Means the devices that are closed to the bus controller are of higher priority than those
of the other devices.
Polling
° This method replaces the BUS GRANT line of daisy chain method with a set of poll
count lines that are connected directly to all devices on the bus.
° Devices request access to the bus via a common BUS REQUEST line.
° Bus controller generates a sequence of numbers on the poll count lines.
° Each device compares these numbers as their device address already assigned to
them.
° When a requesting device finds that its address matches the numbers on the poll-count
lines, the device activates BUS BUSY.
° The bus controller responds by terminating the polling process and the device connects
to the bus.
Independent Requesting
° There are separate BUS REQUEST and BUS GRANT lines for every device that are
sharing bus.
° In this, bus controller has the capability of immediate identifying all the requesting
devices.
° Bus controller responds rapidly to the request by determining the highest priority device
that has sent the bus request.
° This priority is programmable and is predetermined.

More Related Content

PPTX
Bus aribration
PPTX
Cache Memory
PPTX
General register organization (computer organization)
PPT
Instruction cycle
PPT
Program control
PPT
Input output organization
PPTX
Register organization, stack
PPTX
Unit 4-booth algorithm
Bus aribration
Cache Memory
General register organization (computer organization)
Instruction cycle
Program control
Input output organization
Register organization, stack
Unit 4-booth algorithm

What's hot (20)

PPTX
Register transfer language
PPTX
Input Output Organization
PPTX
Signed Addition And Subtraction
PPTX
Modes of transfer - Computer Organization & Architecture - Nithiyapriya Pasav...
PPTX
Modes of transfer
PPT
Addressing modes
PPTX
Arithmatic pipline
PPS
Computer instructions
PPTX
Memory Organization
PPTX
Computer architecture virtual memory
PPTX
Types of Instruction Format
PPTX
PPT
Bus interconnection
PPS
Cache memory
PPTX
DMA and DMA controller
PPTX
IEEE floating point representation
PPT
Instruction Set Architecture (ISA)
PPT
Types of instructions
PPTX
Stack organization
PPT
Memory management
Register transfer language
Input Output Organization
Signed Addition And Subtraction
Modes of transfer - Computer Organization & Architecture - Nithiyapriya Pasav...
Modes of transfer
Addressing modes
Arithmatic pipline
Computer instructions
Memory Organization
Computer architecture virtual memory
Types of Instruction Format
Bus interconnection
Cache memory
DMA and DMA controller
IEEE floating point representation
Instruction Set Architecture (ISA)
Types of instructions
Stack organization
Memory management
Ad

Viewers also liked (20)

PPTX
Types Of Buses
DOCX
Arbitration notes
PDF
Intro to Buses (Computer Architecture)
PPTX
Types of buses of computer
PPTX
PPT
Arbitration
PPTX
Computer system bus
PPT
Unit 5 I/O organization
PPTX
Direct Memory Access(DMA)
PPT
Cache memory presentation
PPT
Loop invariant computation
PPTX
Ec305.13 buses mgl
PPTX
Multiprocessor
PPTX
Lecture 48
PPT
DOCX
Introduction to CPU registers
PDF
Computer organization-and-architecture-questions-and-answers
PPTX
5.4 Data Bus
PPTX
3 phase diode rectifiers/power electronics
PPTX
Io techniques & its types
Types Of Buses
Arbitration notes
Intro to Buses (Computer Architecture)
Types of buses of computer
Arbitration
Computer system bus
Unit 5 I/O organization
Direct Memory Access(DMA)
Cache memory presentation
Loop invariant computation
Ec305.13 buses mgl
Multiprocessor
Lecture 48
Introduction to CPU registers
Computer organization-and-architecture-questions-and-answers
5.4 Data Bus
3 phase diode rectifiers/power electronics
Io techniques & its types
Ad

Similar to Arbitration in computer organization (20)

PDF
10 system bus.pdf
PPT
BUS Architecture(Unit1) computer architecture.ppt
PPTX
dem.pptx
PPT
Digital computer architecture issues in IO
PPTX
Ec305.13 buses mgl
PPT
Bus Arbitration Techniques in Computer Organization
PPT
Basic operational concepts.ppt
PDF
Unit 5
PPTX
iointerface in computer architecture.pptx
DOC
Ca 2 note mano
PPTX
How Long to Wait? Predicting Bus Arrival Time With Mobile Phone Based Partici...
PPTX
Computer System Architecture Lecture Note 9 IO fundamentals
PPTX
Management of I/O request & Communication among devices
PPTX
Data Path Design and Bus Organization.pptx
PPT
buses buses buses buses buses buses buses
PPT
Computer Organisation and Architecture
PPTX
Unit-4 (IO Interface).pptx
PPTX
Scalable multiprocessors
PPTX
CO lec.3.pptx ز
PDF
Computer Components with explanation 1.pdf
10 system bus.pdf
BUS Architecture(Unit1) computer architecture.ppt
dem.pptx
Digital computer architecture issues in IO
Ec305.13 buses mgl
Bus Arbitration Techniques in Computer Organization
Basic operational concepts.ppt
Unit 5
iointerface in computer architecture.pptx
Ca 2 note mano
How Long to Wait? Predicting Bus Arrival Time With Mobile Phone Based Partici...
Computer System Architecture Lecture Note 9 IO fundamentals
Management of I/O request & Communication among devices
Data Path Design and Bus Organization.pptx
buses buses buses buses buses buses buses
Computer Organisation and Architecture
Unit-4 (IO Interface).pptx
Scalable multiprocessors
CO lec.3.pptx ز
Computer Components with explanation 1.pdf

Recently uploaded (20)

PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Basic Mud Logging Guide for educational purpose
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PDF
Insiders guide to clinical Medicine.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
01-Introduction-to-Information-Management.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Complications of Minimal Access Surgery at WLH
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
STATICS OF THE RIGID BODIES Hibbelers.pdf
Final Presentation General Medicine 03-08-2024.pptx
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
Renaissance Architecture: A Journey from Faith to Humanism
Basic Mud Logging Guide for educational purpose
human mycosis Human fungal infections are called human mycosis..pptx
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
Insiders guide to clinical Medicine.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
Week 4 Term 3 Study Techniques revisited.pptx
TR - Agricultural Crops Production NC III.pdf
01-Introduction-to-Information-Management.pdf

Arbitration in computer organization

  • 1. Buses: Connecting I/O to Processor and Memory ° A bus is a shared communication link ° It uses one set of wires to connect multiple subsystems Control Datapath Memory Processor Input Output
  • 2. Advantages of Buses • New devices can be added easily • Peripherals can be moved between computer systems that use the same bus standard ° Low Cost: • A single set of wires is shared in multiple ways MemoryProcessor I/O Device I/O Device I/O Device
  • 3. Disadvantages of Buses ° It creates a communication bottleneck • The bandwidth of that bus can limit the maximum I/O throughput ° The maximum bus speed is largely limited by: • The length of the bus • The number of devices on the bus MemoryProcessor I/O Device I/O Device I/O Device
  • 4. The General Organization of a Bus ° Control lines: • Signal requests and acknowledgments • Indicate what type of information is on the data lines ° Data lines carry information between the source and the destination: • Data and Addresses • Complex commands ° A bus transaction includes two parts: • Sending the address • Receiving or sending the data Data Lines Control Lines
  • 5. Master versus Slave ° Master is the one who starts the bus transaction by: • Sending the address ° Salve is the one who responds to the address by: • Sending data to the master if the master ask for data • Receiving data from the master if the master wants to send data Bus Master Bus Slave Master send address Data can go either way
  • 6. Types of Buses ° Processor-Memory Bus • Short and high speed • Only need to match the memory system - Maximize memory-to-processor bandwidth • Connects directly to the processor ° I/O Bus • Usually is lengthy and slower • Need to match a wide range of I/O devices • Connects to the processor-memory bus or backplane bus ° Backplane Bus • Backplane: an interconnection structure within the chassis • Allow processors, memory, and I/O devices to coexist • Cost advantage: one single bus for all components
  • 7. A Computer System with One Bus: Backplane Bus ° A single bus (the backplane bus) is used for: • Processor to memory communication • Communication between I/O devices and memory ° Example: IBM PC Processor Memory I/O Devices Backplane Bus
  • 8. A Two-Bus System ° I/O buses tap into the processor-memory bus via bus adaptors: • Processor-memory bus: mainly for processor-memory traffic • I/O buses: provide expansion slots for I/O devices ° Apple Macintosh-II • NuBus: Processor, memory, and a few selected I/O devices • SCCI Bus: the rest of the I/O devices Processor Memory I/O Bus Processor Memory Bus Bus Adaptor Bus Adaptor Bus Adaptor I/O Bus I/O Bus
  • 9. A Three-Bus System ° A small number of backplane buses tap into the processor-memory bus • Processor-memory bus is used for processor memory traffic • I/O buses are connected to the backplane bus ° Advantage: loading on the processor bus is greatly reduced Processor Memory Processor Memory Bus Bus Adaptor Bus Adaptor Bus Adaptor I/O Bus Backplane Bus I/O Bus
  • 10. USB ° Universal Serial Bus • Originally developed in 1995 by a consortium including - Compaq, HP, Intel, Lucent, Microsoft, and Philips • USB 1.1 supports - Low-speed devices (1.5 Mbps) - Full-speed devices (12 Mbps) • USB 2.0 supports - High-speed devices – Up to 480 Mbps (a factor of 40 over USB 1.1) - Uses the same connectors – Transmission speed is negotiated on device-by-device basis
  • 11. Synchronous and Asynchronous Bus ° Synchronous Bus: • Includes a clock in the control lines • A fixed protocol for communication that is relative to the clock • Advantage: involves very little logic and can run very fast • Disadvantages: - Every device on the bus must run at the same clock rate - To avoid clock skew, they cannot be long if they are fast ° Asynchronous Bus: • It is not clocked • It can accommodate a wide range of devices • It can be lengthened without worrying about clock skew • It requires a handshaking protocol
  • 12. cs 152 buses.12 ©DAP & SIK 1995 Obtaining Access to the Bus ° One of the most important issues in bus design: • How is the bus reserved by a devices that wishes to use it? ° Chaos is avoided by a master-slave arrangement: • Only the bus master can control access to the bus: It initiates and controls all bus requests • A slave responds to read and write requests ° The simplest system: • Processor is the only bus master • All bus requests must be controlled by the processor • Major drawback: the processor is involved in every transaction Bus Master Bus Slave Control: Master initiates requests Data can go either way
  • 13. cs 152 buses.13 ©DAP & SIK 1995 Bus Arbitration ° The arbitration procedure comes into picture whenever there are more than one processors requesting the services of bus. ° Because only one unit may at a time be able to transmit successfully over the bus, there is some selection mechanism is required to maintain such transfers. This mechanism is called as Bus Arbitration. ° Bus arbitration decides which component will use the bus among various competing requests. ° A selection mechanism must be based on fairness or priority basis. ° Various methods are available that can be roughly classified as either centralized or distributed. ° There are three arbitration schemes- • Daisy – chaining • Polling • Independent requesting
  • 14. cs 152 buses.14 ©DAP & SIK 1995 The Dai sy Cha in Bus Arbi trati ons Sch eme ° In this method, all requesting components are attached serially on to the bus. ° This method involves three control signals- • BUS REQUEST • BUS GRANT • BUS BUSY ° All the bus units are connected to BUS REQUEST line. ° When activated, it indicates that one or more devices are requesting to use the bus. ° Bus Controller responds to a BUS REQUEST only if BUS BUSY is inactive. When bus control is given to requesting device, it enables its physical bus connection and activates BUS BUSY.
  • 15. cs 152 buses.15 ©DAP & SIK 1995 The Dai sy Cha in Bus Arbi trati ons Sch eme ° When the 1st requesting device gets control of the bus and recievies BUS GRANT signal, it blocks further propagation of signals, activates BUS BUSY and begins to use bus. ° When a non requesting device receives BUS GRANT signal, it forwards the signal to next device. ° Thus if two devices simultaneously request bus access, the device that is closer to the bus controller receives BUS GRANT and receives the bus control. ° Means the devices that are closed to the bus controller are of higher priority than those of the other devices.
  • 16. Polling ° This method replaces the BUS GRANT line of daisy chain method with a set of poll count lines that are connected directly to all devices on the bus. ° Devices request access to the bus via a common BUS REQUEST line. ° Bus controller generates a sequence of numbers on the poll count lines. ° Each device compares these numbers as their device address already assigned to them. ° When a requesting device finds that its address matches the numbers on the poll-count lines, the device activates BUS BUSY. ° The bus controller responds by terminating the polling process and the device connects to the bus.
  • 17. Independent Requesting ° There are separate BUS REQUEST and BUS GRANT lines for every device that are sharing bus. ° In this, bus controller has the capability of immediate identifying all the requesting devices. ° Bus controller responds rapidly to the request by determining the highest priority device that has sent the bus request. ° This priority is programmable and is predetermined.

Editor's Notes

  • #2: In a computer system, the various subsystems must be able to talk to one another. For example, the memory and processor need to communicate with each other. Similarly, the processor needs to communicate with the I/O devices. The most common way to do is to use a bus. A bus is a shared communication link that uses 1 set of wires to connect multiple subsystems. +1 = 6 min. (X:46)
  • #3: The two major advantages of the bus organization are versatility and low cost. By versatility, we mean new devices can easily be added. Furthermore, if a device is designed according to a industry bus standard, it can be move between computer systems that use the same bus standard. The bus organization is a low cost solution because a single set of wires is shared in multiple ways. +1 = 7 min. (X:47)
  • #4: The major disadvantage of the bus organization is that it creates a communication bottleneck. When I/O must pass through a single bus, the bandwidth of that bus can limit the maximum I/O throughput. The maximum bus speed is also largely limited by: (a) The length of the bus. (b) The number of I/O devices on the bus. (C) And the need to support a wide range of devices with a widely varying latencies and data transfer rates. +2 = 9 min. (Y:49)
  • #5: A bus generally contains a set of control lines and a set of data lines. The control lines are used to signal requests and acknowledgments and to indicate what type of information is on the data lines. The data lines carry information between the source and the destination. This information may consists of data, addresses, or complex commands. A bus transaction includes tow parts: (a) sending the address and (b) then receiving or sending the data. +1 = 10 min (X:50)
  • #6: The bus master is the one who starts the bus transaction by sending out the address. The slave is the one who responds to the master by either sending data to the master if the master asks for data. Or the slave may end up receiving data from the master if the master wants to send data. In most simple I/O operations, the processor will be the bus master but as I will show you later in today’s lecture, this is not always be the case. +1 = 11 min. (X:51)
  • #7: Buses are traditionally classified as one of 3 types: processor memory buses, I/O buses, or backplane buses. The processor memory bus is usually design specific while the I/O and backplane buses are often standard buses. In general processor bus are short and high speed. It tries to match the memory system in order to maximize the memory-to-processor BW and is connected directly to the processor. I/O bus usually is lengthy and slow because it has to match a wide range of I/O devices and it usually connects to the processor-memory bus or backplane bus. Backplane bus receives its name because it was often built into the backplane of the computer--it is an interconnection structure within the chassis. It is designed to allow processors, memory, and I/O devices to coexist on a single bus so it has the cost advantage of having only one single bus for all components. +2 = 16 min. (X:56)
  • #8: Here is an example showing a single bus, the backplane bus is used to provide communication between the processor and memory. As well as communication between I/O devices and memory. The advantage here is of course low cost. One disadvantage of this approach is that the bus with so many things attached to it will be lengthy and slow. Furthermore, the bus can become a major communication bottleneck if everybody wants to use the bus at the same time. The IBM PC is an example that uses only a backplane bus for all communication. +2 = 18 min. (X:58)
  • #9: Right before the break, I showed you a system with one bus only. Here is an example using two buses where multiple I/O buses tap into the processor-memory bus via bus adaptors. The Processor-memory bus is used mainly for processor-memory traffic while the I/O buses are used to provide expansion slots for the I/O devices. The Apple Macintosh-II adopts this organization where the NuBus is used to connect processor, memory, and a few selected I/O devices together. The rest of the I/O devices reside on an industry standard bus, the SCCI Bus, which is connected to the NuBus via a bus adaptor. +2 = 25 min. (Y:05)
  • #10: Finally, in a 3-bus system, a small number of backplane buses (in our example here, just 1) tap into the processor-memory bus. The processor-memory bus is used mainly for processor memory traffic while the I/O buses are connected to the backplane bus via bus adaptors. An advantage of this organization is that the loading on the processor-memory bus is greatly reduced because of the small number of taps into the high-speed processor-memory bus. +1 = 26 min. (Y:06)
  • #12: There are substantial differences between the design requirements for the I/O buses and processor-memory buses and the backplane buses. Consequently, there are two different schemes for communication on the bus: synchronous and asynchronous. Synchronous bus includes a clock in the control lines and a fixed protocol for communication that is relative to the clock. Since the protocol is fixed and everything happens with respect to the clock, it involves very logic and can run very fast. Most processor-memory buses fall into this category. Synchronous buses have two major disadvantages: (1) every device on the bus must run at the same clock rate. (2) And if they are fast, they must be short to avoid clock skew problem. By definition, an asynchronous bus is not clocked so it can accommodate a wide range of devices at different clock rates and can be lengthened without worrying about clock skew. The draw back is that it can be slow and more complex because a handshaking protocol is needed to coordinate the transmission of data between the sender and receiver. +2 = 28 min. (Y:08)
  • #13: Taking about trying to get onto the bus: how does a device get onto the bus anyway? If everybody tries to use the bus at the same time, chaos will result. Chaos is avoided by a maser-slave arrangement where only the bus master is allow to initiate and control bus requests. The slave has no control over the bus. It just responds to the master’s response. Pretty sad. In the simplest system, the processor is the one and ONLY one bus master and all bus requests must be controlled by the processor. The major drawback of this simple approach is that the processor needs to be involved in every bus transaction and can use up too many processor cycles. +2 = 35 min. (Y:15)
  • #14: A more aggressive approach is to allow multiple potential bus masters in the system. With multiple potential bus masters, a mechanism is needed to decide which master gets to use the bus next. This decision process is called bus arbitration and this is how it works. A potential bus master (which can be a device or the processor) wanting to use the bus first asserts the bus request line and it cannot start using the bus until the request is granted. Once it finishes using the bus, it must tell the arbiter that it is done so the arbiter can allow other potential bus master to get onto the bus. All bus arbitration schemes try to balance two factors: bus priority and fairness. Priority is self explanatory. Fairness means even the device with the lowest priority should never be completely locked out from the bus. Bus arbitration schemes can be divided into four broad classes. In the fist one: (a) Each device wanting the bus places a code indicating its identity on the bus. (b) By examining the bus, the device can determine the highest priority device that has made a request and decide whether it can get on. In the second scheme, each device independently requests the bus and collision will result in garbage on the bus if multiple request occurs simultaneously. Each device will detect whether its request result in a collision and if it does, it will back off for an random period of time before trying again. The Ethernet you use for your workstation uses this scheme. We will talk about the 3rd and 4th schemes in the next two slides. +3 = 38 min. (Y:18)
  • #15: The daisy chain arbitration scheme got its name from the structure for the grant line which chains through each device from the highest priority to the lowest priority. The higher priority device will pass the grant line to the lower priority device ONLY if it does not want it so priority is built into the scheme. The advantage of this scheme is simple. The disadvantages are: (a) It cannot assure fairness. A low priority device may be locked out indefinitely. (b) Also, the daisy chain grant line will limit the bus speed. +1 = 39 min. (Y:19)
  • #16: The daisy chain arbitration scheme got its name from the structure for the grant line which chains through each device from the highest priority to the lowest priority. The higher priority device will pass the grant line to the lower priority device ONLY if it does not want it so priority is built into the scheme. The advantage of this scheme is simple. The disadvantages are: (a) It cannot assure fairness. A low priority device may be locked out indefinitely. (b) Also, the daisy chain grant line will limit the bus speed. +1 = 39 min. (Y:19)
  • #17: The daisy chain arbitration scheme got its name from the structure for the grant line which chains through each device from the highest priority to the lowest priority. The higher priority device will pass the grant line to the lower priority device ONLY if it does not want it so priority is built into the scheme. The advantage of this scheme is simple. The disadvantages are: (a) It cannot assure fairness. A low priority device may be locked out indefinitely. (b) Also, the daisy chain grant line will limit the bus speed. +1 = 39 min. (Y:19)
  • #18: The daisy chain arbitration scheme got its name from the structure for the grant line which chains through each device from the highest priority to the lowest priority. The higher priority device will pass the grant line to the lower priority device ONLY if it does not want it so priority is built into the scheme. The advantage of this scheme is simple. The disadvantages are: (a) It cannot assure fairness. A low priority device may be locked out indefinitely. (b) Also, the daisy chain grant line will limit the bus speed. +1 = 39 min. (Y:19)