Electrical computers and digital data processing systems: input/ – Interrupt processing
Reexamination Certificate
2000-02-18
2003-04-29
Auve, Glenn A. (Department: 2181)
Electrical computers and digital data processing systems: input/
Interrupt processing
Reexamination Certificate
active
06557064
ABSTRACT:
BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates generally to a method of improving communication on a computer bus, and more particularly, to a method of adjusting the timing of REQ# and ACK# signals to account for a specific configuration of devices on the bus.
2. Description of the Related Art
As long as there have been computers, users have attached peripheral hardware devices to them. Some of the typical hardware interfaces include Integrated Drive Electronics (IDE) and Enhanced IDE (EIDE) buses. One of the more popular and enduring interfaces is the small computer system interface (SCSI) bus. While an IDE bus is restricted to two disk drives and an EIDE bus is restricted to four devices, including hard disks and CD-ROM drives, the SCSI bus is able to support up to fifteen devices such as disk drives, CD-ROM drives, optical drives, printers, and communication devices. One of the attractions of the SCSI bus is its ability to easily adapt to new types of devices by using a standard set of commands, or the SCSI-
3
command set.
The SCSI protocol specifies that communication between an initiator, or device that issues SCSI commands, and a target, a device that executes SCSI commands, takes place in phases: BUS_FREE, ARBITRATION, SELECTION, RE-SELECTION, COMMAND, DATA, MESSAGE_IN, MESSAGE_OUT and STATUS. The first four phases, BUS_FREE, ARBITRATION, SELECTION, and RE-SELECTION, are known collectively as the ADDRESS phases and are used to setup a connection between an initiator and a target device.
The BUS_FREE phase is the initial state and, during the BUS_FREE phase, any SCSI device on a particular SCSI bus can attempt to take control of the bus. Often two or more devices request control at the same time (or within the period of a “bus settle delay”—typically 400 ns). Which device gains control is determined in the ARBITRATION phase. After the ARBITRATION phase, the SELECTION phase is performed where the initiator selected in the ARBITRATION phase signals a specific target device that a service is requested. The RE-SELECTION phase is required when an interrupted connection needs to be reestablished.
The final phases, COMMAND, DATA, MESSAGE_IN, MESSAGE_OUT and STATUS, are known collectively as the DATA phases. During the DATA phases, the target device receives commands from the initiator, the two exchange data, and, if necessary, messages and status information are communicated.
If a data transfer is asynchronous, the initiator and the target participate in a handshaking scheme to insure the reliability of the communication. Typically, every data element sent is accompanied by a clock. The target uses the REQ# signal to initiate transfers; the initiator uses an ACK# signal to complete transfers. In the case DATA_IN, or a target sending data to a initiator, the target asserts the REQ# signal to indicate that a byte or word is available and the initiator asserts the ACK# signal to indicate that the byte or word has been received. In the case of DATA_OUT, or a target receiving data from the initiator, the target asserts REQ#, to which the initiator responds by placing data on the bus and asserting ACK#. The target then de-asserts REQ# to acknowledge receipt and the initiator asserts ACK# in response. The handshaking requirements of the SCSI protocol add a large overhead to asynchronous data transfers.
A synchronous data transfer, on the other hand, does not require this element-by-element protocol. During synchronous data transfer, a target does not wait for an individual acknowledgement of each transfer, but rather, employs an “offset value” and transmits that number of REQ#s before requiring an ACK#. The offset is a limit on the number of unacknowledged REQ#s that are allowed before the target must pause and wait for an acknowledgement from the initiator. The data in asynchronous transactions is clocked by the sender's REQ# or ACK# line.
To maximize performance, a SCSI bus should not exceed a predetermined length. For example, the predetermined length can be exceeded when a server, located in one box or unit, is connected through a SCSI bus to a mass storage subsystem, such as a disk drive array or a CD-ROM drive located in another box or unit. To prevent performance degradation, designers have implemented what are known as repeater circuits. Repeater circuits are used to couple short, terminated SCSI bus segments. The repeater circuit includes two ports with each port connected to a different terminated SCSI bus segment. The repeater circuit provides a buffer between the terminated bus segments in order to achieve a high performance SCSI bus that exceeds the predetermined length. To a SCSI controller, the terminated bus segments appear as a single SCSI bus.
SUMMARY OF THE INVENTION
The present invention relates generally to a method for improving the throughput of data transfers on a bus, particularly a SCSI bus. More specifically, data setup and hold times relative to REQ# and ACK# signal edges are adjusted to allow greater accuracy in the transmission of data. Depending upon the number of peripheral devices and SCSI repeaters installed on a computing system, load on the SCSI bus varies. In particular, a SCSI repeater which contains multiple REQ/ACK lines but only one data bus can develop a skew between a clock and the data bus. The setup and hold times are adjusted to compensate for the skew. Currently the SCSI protocol allows only for the reconfiguration of the offset value and the total transmission time per transaction. According to the current invention, a SCSI device, particularly a SCSI repeater, allows additional setup times to be adjusted, specifically the setup and hold times relative to the REQ# and ACK# signal edges. If a SCSI bus contains multiple segments connected by means of repeaters, the setup and hold times can be adjusted to compensate for the different load on the REQ and ACK signal lines than the load on the data bus. In one embodiment, the skew of the REQ# and ACK# signals is adjusted relative to the associated data element.
The configuration of the setup and hold times might need to be reconfigured either when the requirements of the computing system are first determined or when the requirements later change, perhaps due to the addition or removal of a peripheral device or repeater. Another factor that affects the timing characteristics necessary for clean data transmission is the distance peripheral devices are located from the computer and each other. The present invention can extend the permissible length of SCSI cables by enabling the use of multiple repeaters, allowing external SCSI devices such as an optical scanner and a CD-ROM drive to be placed in more convenient locations.
REFERENCES:
patent: 5463743 (1995-10-01), Galloway
patent: 5522054 (1996-05-01), Gunlock et al.
patent: 5613074 (1997-03-01), Galloway
patent: 5675723 (1997-10-01), Ekrot et al.
patent: 5692200 (1997-11-01), Carlson et al.
patent: 5751977 (1998-05-01), Alexander
patent: 6078979 (2000-06-01), Li et al.
patent: 6317417 (2001-11-01), Childs et al.
Akin Gump Strauss Hauer & Feld & LLP
Auve Glenn A.
Glass David
Hewlett-Packard Development Company
LandOfFree
Set up time adjust does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with Set up time adjust, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Set up time adjust will most certainly appreciate the feedback.
Profile ID: LFUS-PAI-O-3018649