System and method for controlling bus access for bus agents...

Electrical computers and digital data processing systems: input/ – Access arbitrating

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C710S107000

Reexamination Certificate

active

06629178

ABSTRACT:

BACKGROUND OF THE INVENTION
1. Field of the Invention
This invention relates to computer system, and more particularly, to bus arbitration on multi-master buses.
2. Description of the Relevant Art
Computer systems typically use buses as a primary means of communication between various peripheral devices and a central processing unit (CPU). A bus in which two peripheral devices may autonomously communicate with each other is referred to as a multi-master bus. Examples of such multi-master a bus includes the Peripheral Component Interconnect (PCI) bus and the Advanced Graphics Port (AGP) bus. In a multi-master bus, the peripheral given access to the bus is considered to be the master for the duration of the access. Multi-master buses typically utilize an arbitration unit, which may employ a scheme to decide which peripheral may have access to the bus. Such a scheme may be based on a number of factors, such as the order in which requests are received or time elapsed since initial request.
A given bus arbitration scheme may rely on the behavior of devices connected to the bus in order to function effectively. Typically, in order to ensure fair access to the bus by all devices (also known as “bus agents”), the bus may rely on each device to relinquish mastership of the bus once it completes its current data transfer, if so requested by a bus arbitration unit. In many such buses, a bus arbitration unit may have no mechanism, or limited mechanisms, to force a given bus agent to relinquish control of the bus. In such cases, some bus agents may continue data transfers indefinitely, to the detriment of other bus agents. This problem may particularly affect bus agents known as high-priority bus agents.
A high-priority bus agent is one in which access to the bus is critical with respect to time. High-priority bus agents may include devices that require data to be moved within a fixed time scale (latency-sensitive devices), and peripherals that require a quick response to or from an external device. Another category of high-priority bus agents are soft devices, in which a system processor accomplishes with software many functions that would be otherwise accomplished with hardware in the device. Soft devices may include soft modems and soft network interface cards, as well as an assortment of other devices. Soft devices may be used in many instances to replace “hard” devices, which may accomplish a majority of their functions in hardware with minimal use of the system processor.
In many instances, if a high-priority bus agent does not gain access within a certain time period, the data which it must transfer or receive may be lost. Such lost data may cause erroneous operation of a computer system, and in some situations, may lead to fatal errors. For example, a soft modem may include the normal modulation and demodulation circuitry of a normal modem, while replacing most of the remaining hardware functions with software. Such a soft modem may lack the buffering of a normal modem. Thus, when receiving a large amount of data, the soft modem may be required to perform its processing functions as soon as the data is received. If the soft modem cannot gain access to the bus, data sent by the source may be lost. In some cases, this data may be critical to the operation of other programs, and failure to properly receive and process the sent data may cause these programs to crash or malfunction. In general, such a scenario is possible for a wide variety of high-priority bus agents where data transfers must occur within a critical time period.
SUMMARY OF THE INVENTION
The problems outlined above may in large part be solved by a system and method for bus arbitration. In one embodiment, a computer system includes one or more buses for transferring data. Access to each bus may be controlled by an arbitration unit and a bus interface unit. In addition to a processor, various bus agents (i.e. peripherals) may also be coupled to the bus. Some bus agents may be designated as normal-priority agents, while other bus agents may be designated as high-priority bus agents. A high-priority bus agent may be a peripheral that is a latency-sensitive device. The arbitration unit may grant bus access to a normal-priority bus agent based on an arbitration scheme. When a high-priority bus agent requests access to the bus, the arbitration unit may cause the termination of access by the normal-priority bus agent. The high-priority bus agent may then be granted access to the bus. When the high-priority bus agent has completed its use of the bus, the arbitration unit may then allow the normal-priority bus agent (that had access just prior to the high-priority agent) to regain access to the bus.
In one embodiment, an arbitration unit may be configured to receive bus request signals from each of a plurality of bus agents coupled to the bus. The arbitration unit may be configured to distinguish between a bus request signal received from a normal-priority bus agent and one received from a high-priority bus agent. After receiving a bus request signal from a high-priority bus agent, the arbitration unit may assert a bus disconnect signal. The bus disconnect signal may be received by the bus interface unit. The bus interface unit may terminate access to the bus by the normal-priority bus agent, while the arbitration unit may assert a bus grant signal to be received by the high-priority bus agent. Responsive to receiving the bus grant signal, the high-priority bus agent may begin transmitting or receiving data across the bus.
In general, the system and method may apply to any type of bus. Common bus types include the PCI bus, the AGP bus, ISA (Industry Standard Architecture) and EISA (Extended Industry Standard Architecture) bus, the General Purpose Instrument Bus (GPIB), and so on.
Thus, in various embodiments, the system and method for bus arbitration may allow access to a bus by high-priority bus agents in a timely manner, thereby allowing such devices to complete operations with no loss of data. Allowing preferential bus access to high-priority bus agents may furthermore prevent erroneous operation of the computer system in which the agents are operating.


REFERENCES:
patent: 4275440 (1981-06-01), Adams, Jr. et al.
patent: 4503535 (1985-03-01), Budde et al.
patent: 4729093 (1988-03-01), Mothersole et al.
patent: 4755933 (1988-07-01), Teshima et al.
patent: 5367657 (1994-11-01), Khare et al.
patent: 5438666 (1995-08-01), Craft et al.
patent: 5619663 (1997-04-01), Mizrahi-Shalom et al.
patent: 5673415 (1997-09-01), Nguyen et al.
patent: 5684977 (1997-11-01), Van Loo et al.
patent: 5721865 (1998-02-01), Shintani et al.
patent: 5802292 (1998-09-01), Mogul
patent: 5920894 (1999-07-01), Plog et al.
patent: 6058461 (2000-05-01), Lewchuk et al.
patent: 6065099 (2000-05-01), Clark et al.
patent: 6092186 (2000-07-01), Betker et al.
patent: 6438635 (2002-08-01), Date et al.
PowerPC™ 601, RISC Microprocessor User's Manual, ©Motorola Inc. 1993, Ch. 1, p. 10; Ch. 9, pp. 4-7, 22-27.
Tullsen et al., “Exploiting Choice: Instruction Fetch and Issue on an Implementable Simultaneous Multithreading Processor,” May 1996, pp. 191-202.
PCI Local Bus Specification, Dec. 1998, pp. 11, 47-62, 68-74.
Intel ® P6 Family of Processors, Hardware Developer's Manual, Sep. 1998, Ch. 3, pp. 3-4.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

System and method for controlling bus access for bus agents... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with System and method for controlling bus access for bus agents..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and System and method for controlling bus access for bus agents... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3092329

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.