CA1321657C - Scsi converter - Google Patents

Scsi converter

Info

Publication number
CA1321657C
CA1321657C CA000603299A CA603299A CA1321657C CA 1321657 C CA1321657 C CA 1321657C CA 000603299 A CA000603299 A CA 000603299A CA 603299 A CA603299 A CA 603299A CA 1321657 C CA1321657 C CA 1321657C
Authority
CA
Canada
Prior art keywords
bsy
signal
internal
external
line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CA000603299A
Other languages
French (fr)
Inventor
James Edward Korpi
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tandem Computers Inc
Original Assignee
Tandem Computers Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tandem Computers Inc filed Critical Tandem Computers Inc
Application granted granted Critical
Publication of CA1321657C publication Critical patent/CA1321657C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4221Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus
    • G06F13/4226Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus with asynchronous protocol
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4027Coupling between buses using bus bridges
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/407Bus networks with decentralised control
    • H04L12/413Bus networks with decentralised control with random access, e.g. carrier-sense multiple-access with collision detection (CSMA-CD)
    • H04L12/4135Bus networks with decentralised control with random access, e.g. carrier-sense multiple-access with collision detection (CSMA-CD) using bit-wise arbitration

Abstract

SCSI CONVERTER

ABSTRACT OF THE DISCLOSURE
A converter for coupling a single-ended and a differential SCSI bus that facilitates the use of the ARB, SELECTION, and RESELECTION phases of the SCSI pro-tocol.

Description

SCSI CONVE TER

BACKGROUND OF T~E INVENTION
Field of the Invention The present invention relates generally to digital bus structures and more particularly relates to a converter for converting between single-ended and differential bus signals.
;
D_scription of the Relevant Art The Small Computer System Interface (SCSI) bus protocol is fully described in the American ~iational Standard ANSI X3.131-1986 available from American National Standards Institute, Inc., 1430 ~roadway, New York, NY
10018. Generally, up to eight devices, including small computers and peripherals, may be coupled to the bus.
The bus includes data and control lines with the bus protocol facilitating information transfer between the devices on the bus. A particularly useful feature of this bus is that a separate bus controller is not uti-~ lized. The bus protocol is implemented by the devices :~ coupled to the b~ls.
A short overview of some aspects of the pro-tocol follows. A complete description is provided in ; the above-referenced standard, while more detailed ex-amples of particular aspects of the protocol are pro-" vided below.
Information transfers are initiated by a com-. puter, with the actual computer initiating a given trans-fer denoted the initiator. The init;ator selects a target which controls the actua] information transfer.
: In certain situations an information transfer may be interrupted and at a later time the target will reselect the initiator to continue the transfer.
q~ .
., ~

.
r ' . `

' ' ' The physical bus includes a set of conductive lines for carrying electrical bus signals and terminators at both ends of the bus. Devices coupled to the bus cannot be re~ote from the bus unless a special converter is coupled to the bus at one side and a cable to the remote device at the other side. The converter f~lnctions to satisfy the electrical requirements of the bus standard and includes receiver/driver pairs to interface the required signals to the remote device.
A particularly useful type of converter con-verts between single ended signals transmitted on an internal bus and differential signals transmitted on an external bus. These differential signals are less sen-sitive to noise and are required by some data storage devices. Ideally, the converter would be transparent to devices coupled to either bus and the combination of both buses would function as a single bus.
However, the SCSI protocol creates situations where the receiver/driver pairs converting between single-ended and differential signals become latched and cannot ,; be released by the device asserting the signal. ~ccord-,; ingly, converters may be utilized only for configurations that do not utilize the full capability of the SCSI
protocol. Thus, a converter providing for a more complete use of this capability is greatly needed because of the wide acceptance of the standard and the great n~lmber of :: devices being manufactured to interface witll the SCSI
bus.
`' ; 30 SUMMARY OF THE INVENTION
The present invention is a device for convert-ing between single-ended signals transmitted on an inter-nal SCSI bus and differential signals transmitted on an .~, external SCSI bus that facilitates the use of the ARBI-TRATION (ARB), SELECTION (SEL), and RESELECTION (RES) ; phases of the SCSI protocol.
' ~
:r , According to one aspect of the invention, the BSY lines of the internal and external buses are coupled to a unique ~ransceiver configuration that prevents latch-up during the ARB
and SEL phases of the protocol. A ~BSY signal is transmitted from the internal side to the external side only when a PASS.INT.BSY
(PIB) signal is set and Erom the external to the internal side only when a PASS.EXT.BSY (PEB) signal is set. The PIB signal is set when the bus is in the BUS.FREE or ARBITRATION phase and the PEB signal is set when the bus is in the BUS.FREE or ARBITRATION
phase and a device on the external side asserts its device ID.
Thus, a device on either side of the converter may transmit its BSY signal to the other side during the ARB phase.
According to a further aspect of the invention, the PIB
and PEB signals are reset when a device on either side asserts SEL
to terminate the ARB phase. Thus, any possible latch-up is terminated and the BSY line is released.
During the RESELECTION phase, a target device desiring to resume a previous data transfer has won ARBITRATION and asserted its SEL signal. During RESELECTION, the target releases BSY, and, after a delay, the reselected initiator asserts BSY in response. The target then reasserts BSY, and, after a delay, releases SEL. The initiator then releases BSY.
`- Thus, it is possible that latch-up can occur when both the target and the initiator are asserting BSY. In the present invention, when the target is on the external side, the BSY signal ' is transferred only from the external to the internal side ; subsequent to the release of SEL to prevent latch-up.

-''' ; ~ ' ' ' : ~
~.

: 3a In summary, one exemplary aspect of the invention may becharacterized as a converter for selectively transferring signals between a single ended line of an internal bus and a differential line pair of an external bus, with both buses utili~ing the SCSI
bus protocol that included BUS.FREE (BF), ARBITRATION (ARB), and SELECTION phases and with both buses including BUSY (BSY), SELECT
~SEL) and DATA lines for transmitting BSY, SEL, and device ID
signals, respectively, where devices on both sides, internal and external, of the converter may assert BSY and their device ID
signals during the ARB phase, a subsystem for facilitating the transfer of a BSY signal during the ARB phase from either side to the other and for releasing the sSY line on both sides during the SELECTION phase, said subsystem comprising: a first driver, having an input port adapted to receive a first input signal, for asserting a differential BSY signal on the external differential BSY line pair when said first input signal is asserted; a first receiver, comprising a gate, having first and second inputs coupled to the internal BSY line of said internal bus and a first signal line that transmits a first signal, respectively, and an output coupled to the input port of said first driver, for transferring a BSY signal from the internal BSY line to the input port of said first driver only when said first signal is set; a second receiver, having input ports coupled to the differential BSY line pair and an output port coupled to an EXT.BSY signal line that transmits an EXT.BSY signal, for asserting said EXT.BSY
signal when a BSY signal is asserted on said differential external BSY line pair; a second driver, comprising a second gate, having first and second inputs coupled to said EXT.BSY signal line and a .~ .~.i ' .,:

3b second signal line that transmits a second signal, respectively, and an output coupled to the internal BSY line of said internal bus, for transferring an EXT.BSY signal on said EXT.BSY signal line to the internal BSY line only if said second signal is set;
means for setting said first signal when no signals are asserted on the internal BSY and internal SE~ lines, thereby indicating that the buses are in said BUS.FREE phase; means for setting said second signal only if a device coupled to the external bus asserts its device ID and said first signal is set; and means for resetting said first signal and said second signal when a device on either the internal or external side asserts the SEL signal to initiate the SELECTION phase.
Another exemplary aspect of the invention may be characterized as a converter for selectively transferring signals between a single ended line of an internal bus and a differential line pair of an external bus, with both buses utilizing the SCSI
bus protocol that includes BUS.FREE (BF), ARBITRATION (ARB), and SELECTION phases and with both buses including BUSY (BSY), SELECT
(SEL) and DATA lines for transmitting BSY, SEL, and device ID
signals, respectively, where devices on both sides, internal and external, of the converter may assert BSY and their device ID
signals during the ARB phase, a subsystem for facilitating the transfer of a BSY signal during the ARB phase from either side to the other and for releasing the BSY line on both sides during the SELECTION phase, said subsystem comprising: an external receiver circuit that converts a differential external BSY signal into a single ended BSY signal; an external gate circuit that receives the single ended BSY signal and transfers the single ended BSY

3c signal to the single ended internal BSY line only when an external gate signal is set; an internal driver circuit, having an enable port coupled to an enable line for receiving a signal asserted on said enable line, that asserts a differential external BSY signal only when said signal is asserted on said enable line; an internal gate that receives the single ended internal BSY signal and transfers the single ended internal BSY signal to said enable line only when an internal gate signal is set; an internal logic circuit, with inputs for receiving internal SEL and BSY signal and the external SEL and BSY signals, that sets the internal gate signal during the BF state only when both the internal BSY and SEL
signals are not asserted and resets the internal gate signal when either the internal or external SEL signal is asserted during the SELECTION phase; an external logic circuit, having inputs for receiving said internal gate signals and external device ID
signals, that sets the external gate signal only when the internal gate signal is set and an external device ID signal is asserted and resets said external gate signal only when said internal gate or device ID signals are reset or released.
Other features and advantages of the invention will become apparent in view of the appended drawings and following detailed description.

:~ , . ., ~ -:

, : .

BRIEF DESCRIPTION OF THE DRAWINGS
Fig. 1 is a block diagram of a converter cou-pling a single-ended and a differential SCSI bus;
Fig. 2 is a timing diagram illustrating the SCSI ARBITRATION and SELECTION phases;
Fig. 3 is a schematic diagram of a receiv-er/driver pair configuration coupling lines of the inter-nal and external buses;
Fig. 4 is a schematic diagram of a transceiver configuration utilized in a preferred embodiment;
Fig. 5 is a timing diagram illustrating the control signals utilized during the ARB and SEL phases;
Fig. 6 is a schematic diagram depicting a system for setting and resetting the FAS control signal;
Fig. 7 is a schematic diagram depicting a system for setting and resetting the CFAS , PASS.INT.SEL, PASS.EXT.SEL, FPIB, and FPEB control signals;
Fig. ~3 is a timing diagram illustrating the SCSI RES phase;
Fig. 9 is a timing diagram illustrating the control signals utilized during the RES phase and Fig. 10 is a schematic diagram depicting a system for setting and resetting the PIB(RES) and PEB(RES) control signals.
DETAILED DESCRIPTION
OF THE PREFERRED EMBODIMENTS
The present invention is a converter for trans-ferring signals between an internal single ended SCSI
bus and an external differential SCSI bus. Referring now to the drawings, where like reference numerals denote identical or corresponding parts throughout the several views, Fig. 1 is a block diagram illustrating the connec-tion of the converter to the buses.
In Fig. 1, a converter lO has an internal side coupled to an internal, single-ended SCSI bus 12 and an external side coupled to an external, differential SCSI bus 14. A single-ended signal 16 is asserted on one busline while its corresponding differential si~nal 18 is asserted on a pair of bus lines with the a signal corresponding to the single-ended signal asserted on one line and to its complement asserted on the other.
Thus, the external bus 14 has twice as many buslines as the internal bus 12.
The arrows 20 depicted within the converter 10 indicate which directions a signal asserted on a particular busline may be transmitted. For example, the BUSY (BSY) signal may be transmitted in either direc-tion while the REQUEST (REQ) signal may only be transmit-ted from the external side to the internal side of the converter 10. The reasons for restricting the direction of transfer for certain signals will be described below.
In the following description~ signals asserted on the actual bus lines will include the label SCSI, while signals internal to the converter 10 will not - include that label. Additionally, signals will be label-led EXT and INT to signify the side of the converter 10 where they function.
Fig. 2 is a timing diagram .illllstratillg the operation of the SCSI bus protocol during the BUS.FREE
(BF), ARBITRATION (ARB), and SELECTION phases. Each device is assigned a unique device ID data line corre-sponding to the device ID. The states of the BSY, SEL, I/O, and DATABUS (DB) signals are depicted in Fig. 2.
(Note that the actual bus signals on the internal bus are low true.) The BUS.FREE phase is defined when sig-nals BSY and SEL are false. During this phase any devicemay request control of the bus by asserting a signal on the BSY line and on its device ID line. Once a particular device asserts BSY and its device ID, there is a time window where other devices may also assert BSY and their device IDs. Accordingly, several devices may assert signals on the BSY line and their corresponding unique ID DATA lines. The BSY line is OR-tied to the various . :,. ~ -devices to facilitate several devices asserting BSY at the same time.
Referring back to Fig. 1, it is possible that a device on either side of the converter 10 will assert S BSY or that devices on both sides of the converter 10 may simultaneously assert BSY. Accordingly, the converter must be able to transmit the BSY signal in both directions as indicated by the arrow 20.
If more than one device is requesting control of the bus, each device examines the data lines to see which IDs are asserted. The SCSI protocol assigns pri-ority to the various lines with DB line 7 having the highest priority. Of the devices asserting BSY, the device with the highest priority wins the arbitration and asserts SEL to end the ARB pllase. When SEL is as-serted all other devices release BSY and their ID lines to begin the select (SEL) phase. The arbitration win-ning device asserts its ID and the ID of its selected target device and, after a delay, releases BSY (point A). After another delay, the selected target device - detects that SEL and its device ID are trl1e. that BSY
is false, and then asserts BSY (point B).
Fig. 3 is a schematic diagram of a typical driver configuration utilized to couple a single-ended internal bus line 30 to a differential external bus line pair 32. An internal to external receiver/driver (IER) 34 has its input coupled to the internal bus line 30, its outputs coupled to the external bus line pair 32 and is enabled when signal ENIE is set. Similarly, an external to internal receiver/driver (EIRD) 36 has its inputs coupled to the external bus line pair 32, it output coupled to the internal bus line 30, and is en-abled when signal ENEI is set.
If the bus lines 30 and 32 in Fig. 3, represent the internal and external BSY lines. then as described above, both receiver/driver pairs 34 and 36 could be enabled during the BUS.FREE state to transmit the BSY

13~1657 signal in either direction. However, if hoth pairs 34 and 36 are enabled, then a signal asserted on either side will causes the pairs to latch-up becau~e the out-put of each pair is coupled to the input of the other.
Thus, the latched-up pairs will continue to drive the buses regardless of whether the device oriqinally as-serting the signal later releases it.
Thus, for example, referring to Fig. 2 and the SELECTION phase, the BSY signal could not be re-moved by the device winning the arbitration to allowthe selection of the target. Accordingly, the use of a driver configuration similar to that depicted in Fig. 3 must be limited to configurations that avoid the possi-bility of latch-up.
Fig. 4 is a schematic diagram of a transceiver 37 and associated logic utilized to transmit signal~
between the internal BSY line and external BSY line pair 30 and 32 in a preferred embodiment of the invention.
In Fig. 4, the input of an IED 38 is tied to logic l through the DI port of the transceiver 37 and the enable input is coupled to the INT.BSY line 60 through the DE
port of the transceiver 37. The outputs of the IED 38 and the inputs of an EIR 39 and are coupled to the DO/RI
ports and DO /RI ports of the transceiver 37. The output of the EIR 39 is coupled to the RO port.
The RO port is coupled to the INT.SCSI.BSY
line 30 via a NAND gate 40 which functions as a driver for INT.SCSI.BSY line 30. The NAND gate 40 has a first input coupled to the RO port by an EXT.BSY signal line 41 and a second input coupled to the output of a first OR gate 42 by a PASS.EXT.BSY (PEB) signal line 43. The inputs of the first OR gate 42 are coupled to a PEB(RES) line 44 and the output of a second AND gate 46. The inputs of the second AND gate 46 are coupled to an FAS
signal line 48 and to the output of a second OR gate 50. The inputs of the second OR gate 50 are coupled to EXT.DB4 and EXT.DB5 signal lines 52 and 54.

: ` . . :, ' : ' ' ' The INT.SCSI.BSY line 30 is coupled to the DE port via an invertor 55, which functions as a receiver for the INT.SCSI.BSY line, and an AND gate 56. The inputs of the AND
gate 56 are coupled to the invertor 55 and to the output of a third OR gate 58 by a PASS.INT.BSY (~PIB) signal line 59 while its output is coupled to an INT.BSY line 60. The inputs of the third OR gate 58 are coupled to the FAS line 44 and to a PIB(RES) signal line 60.
The operation of the circuit depicted in Fig. 4 during the ARB and SELECTION phases will now be described with reference to the timing diagrams of Figs. 2 and 5. In the present example, only devices that assert their device lines on EXT.SCSI.ID lines 4 and 5 are located on the external side of the converter 10.
Additionally, the PEB(RES) and the PIB(RES) signals are not set during these phases. The IED 38 will assert the EXT.SCSI.BSY
signals when the INT.BSY signal is asserted by an internal device.
The INT.BSY signal is the inverted INT.SCSI.BSY signal gated by the AND gate 56. The gating signal for the AND gate 56 is the PIB
signal, which is set when the FREE.ARB.STATE (FAS) signal is set.
Thus, the INT.SCSI.BSY signal will be transmitted to the EXT.SCSI.BSY line pair 32 when the FAS signal is set.
The EIR 39 asserts an EXT.BSY signal on line 41 when the EXT.SCSI.BSY signal is asserted by an external device. The EXT.BSY signal is inverted and transmitted to the INT.SCSI.BSY
line 30 when the NAND gate 40 is enabled. The gating signal for the NAND gate 40 is the PEB signal, which is set when FAS is set and either EXT.DB5 or EXT.DB4 is asserted. Thus, the EXT.SCSI.BSY

' signal will be transmitted to the INT.SCSI.BSY line 30 when FAS
is set and either EXT.DB5 or EXT.DB4 is asserted.
Referring now to Fig. 2 and 5, when neither INT.BSY or INT.SEL is asserted the buses are in the BUS.FREE phase and the FAS signal is set. Thus, the AND gate 56 is enabled and the BSY
signal can be transmitted from the internal to the external side.
Further, if either EXT.ID4 or 5 is asserted the AND gate 40 is enabled and the BSY signal can be transmitted from the external to the internal side. From Fig. 2, an external device asserting BSY
will also assert its ID, so that the device ID signals function as the PEB signal when FAS is set.
If the BSY signal is asserted on both sides, then the inputs of EIR 39 are coupled to the outputs of the IED 38 and the input of the IED 38 is coupled to the output of the EIR 39 so that the transceiver 37 latches up. In this case, the drivers will continue to assert the BSY signal even though the devices originally asserting BSY have released the BSY line. To solve this problem, a CLEAR.FREE.ARB.STATE (CFAS) signal is set when a device on either side asserts SEL. The setting of this signal causes FAS be reset and disables either gate 40 or 56 so that the BSY signal is transmitted only from the side where the device asserting SEL resides to the other side. Thus, the latch-up conditions is terminated and the BSY lines are released at point A
of the SELECTION phase.
An advantage of utilizing the external device IDs to gate the NAND gate 40 is that if the device dies, e.g., loses power, its ID signal will be reset and the latch-up condition will be terminated.

, f , . .
..
~ . i 9a Fig. 6 is a schematic diagram of a circuit for setting and resetting the FREE.ARB.STATE (FAS) signal. A third AND gate 70 has its inverting inputs coupled to the INT.SEL signal line 72 and an INT.BSY signal line 60. The INT.SEL and INT.BSY are high true signals derived directly from the corresponding SCSI bus signals. The output of the third AND gate 70 is coupled to a delay element 76. The output of delay element 76 is coupled to the present (PS) input of a ~irst flip-flop (FF) 78 and the inverted output of the first FF 78 is ~ .
.

coupled to the FAS line 48 by inverter 80. The clear (CLR) input of the first FF 78 is coupled to a clear FAS (CFAS ) line 82 (note that in Fig. 5 the CFAS sig-nal is shown as a high true signal for clarity).
Fig. 7 is a schematic diagram of a circuit for setting and resetting the CFAS signal. The output of a fourth AND gate 90 is coupled to the PS input of a second FF 92 and the output of fifth AND gate 94 is coupled to the PS input of a third FF 96. The inputs of the fourth AND gate 90 are coupled to the FAS line 44, the INT.SEL line 72, and the inverted output of the third FF 96. The inputs of the fifth AND gate 94 are coupled to the FAS signal line 44, the output of a sixth AND gate 100, and the inverted output of the second FF
96. The inputs of the sixth AND gate 100 are coupled to an EXT.SEL signal line 102 and the EXT.BSY line 41.
The EXT.SEL and EXT.BSY signals are high true signals dèrived directly from the corresponding SCSI bus signals.
The inverted output of the second FF 92 is also coupled to the CLR input of third FF 96. The false outputs of the second and third FFs 92 and 96 are coupled to delay element 102 by NAND gate 104. The inverted output of delay element 102 is the CFAS signal.
The true output of the second FF 92 is coupled to a PASS.INT.SEL signal line 106 and to an FPIB signal line 108 via delay element 110 and the true output of the third FF 96 is coupled to a PASS.EXT.SEL signal line 112 via inverter 114 and to an OR gate 116 via inverter 114 and delay element 118. The second input of OR gate 116 is coupled to the EXT.SEL line 102 and the false output of the third FF 96 via a NOR gate 117.
The output of OR gate 116 is coupled to an FPEB signal line 118. The utilization of these signals is described below.
The RESELECTION phase will now be described with reference to the timing diagram of Fig. 8. During RESLECTION a target device desires to continue an : :

t 321 ~7 information transfer previously initiated by an initiator.
Referring to Fig. 8, the ARB phase is completed and BSY
has been released at point A by the reselecting target device that has won the arbitration. The target and initiator IDs are asserted on the DBUS, SEL is asserted, and I/O is asserted. The state of the I/O signal dif-ferentiates the SELECTION and RESELECTION phases. At point B the initiator detects that its ID and SEL are true and that BSY is false and asserts BSY. The target also asserts BSY at point C prior to releasing SEL. At point D the initiator releases BSY. This timing prevents the occurrence of a BUS.FREE state that could allow another device to gain control of the bus and interrupt the RESELECTION phase.
Note that at point C, the BSY signal could be transmitted in both directions thereby causing the trans-ceiver to latch-up. However, for the config~lration of Fig. 4, latch-up is avoided during the RES phase by controlling the PIB(RES) and PEB(RES) signals as depicted in the timing diagram of Fig. 9. In this example, an initiator may be coupled to only the internal side of the converter l0.
Referring back to Fig. 4, FAS is not set dur-ing the RESELECTION phase so that the gates 40 and 56 are controlled by the PEB(RES) and PIB(RES) signals respectively. Referring now to Fig. 9, the case where the initiator is on the internal side and the target is on the external side is illustrated. At point B, the INT.BSY signal is asserted by the initiator and PIB(RES) is set so that the BSY signal is transmitted from the internal side to the external side. At point C the target also asserts BSY but the signal PEB(RES) is not set. Thus, the only the AND gate 56 is enabled and the initiator is asserting the BSY signal on the interllal side.
As stated, the target is on the external side so it is imperative to give the target control of the BSY line on both the external and internal side. This is accomplished by setting a FORCE.PASS.~XT.BSY (FPEB) signal, when EXT.SEL is reset, which causes PIB(RES) to be reset and PEB(RES) to be set. Now the NAND gate 40 is enabled and the AND gate 56 is disabled so that the target has control of the BSY line and any latch-up problems are obviated. `-Since the target won the arbitration, it as-serted the SEL signal to end the ARB phase and begin the RES phase. The states of the FPIB and FPEB signals are determined by which side the target device asserting SEL is located.
A system for generating these signals is de-picted in Fig. 7. Referring back to Fig. 7, the second FF 92 is set when SEL is asserted by a device on the internal side and the third FF 96 is set when SEL is asserted by a device on the external side. Thus, the information regarding the side asserting SEL is stored and indicated by the state of the PASS.INT.SEL and PASS.EXT.SEL signals, with the states of these signals necessarily being complementary.
The FPIB signal is set, after a first prede-termined delay, when INT.SEL is asserted and the FPEB
signal is set, after a second predetermined delay, when the EXT.SEL signal is reset.
A circuit for setting and resetting the PIB(RES) and PEB(RES) signals is depicted in Fig. 10. The PIB(RES) line 44 is coupled to the true output of a fourth FF
150. The PR input of the fourth FF 150 is coupled to the INT.BSY line 60 by a NAND gate with inverted inputs 152, an NOR gate with inverting inputs 154, and a NAND
qate 156, to the FPIB line 108 by gates 154 and 152, and to the FPEB line 116 by gate 152. The CLR input of the fourth FF 150 is coupled to the INT.BSY line 60 by an invertor 156, a delay element 157, and a NOR gate 158, and to the FPEB line 116 by NOR gate 158.

~ 321 657 The PEB(RES) line 60 is coupled to the true output of a fifth FF 160. The PR input of the fifth FF 160 is coupled to the false output of the fourth FF 160 by an AND gate 162 and a NOR
gate 164, to the EXT.BSY line 41 by gates 162 and 164, and to the FPEB line 116 by gate 164. The CLR input of the fifth FF 160 is coupled to the false output of the fourth FF 150 by a NOR gate with inverting inputs 166, and to the EXT.BSY line 41 by a delay element 168 and gate 166.
The operation of the system for controlling the signals in Fig. 9 will now be described with reference to Fig. 7 and 10.
During the ARB phase, the third FF 96 will be set when the target asserts EXT.BSY. Accordingly, PAS.EXT.SEL is set, however, at the beginning of the RES phase, FPEB is not set because of the delay introduced by the delay element 118. When the initiator asserts INT.BSY, at B, the fourth FF 150 is set to set PIB(RES) and transmit the BSY signal to the external side. The signal EXT.BSY
is set at point C, but does not set the fifth FF 160 because the AND gate 162 is disabled by the false output of the fourth FF 150.
Subsequently, the delayed PASS.EXT.SEL signal causes FPEB to be set at time C which causes the fifth FF 160 to set PEB(RES) and resets the fourth FF 150 to reset PIB(RES).
The SEL line drivers are configured as shown in Fig. 4 except that the PASS.INT.SEL and PASS.EXT.SEL signals controlled by the configuration of Fig. 7 are utilized in place of the PIB
and PEB.
A single-ended/differential converter for use with the SCSI bus protocol has now been described. This system facilitates the use of the SELECTION and RESELECTION phases of the protocol ,~
' ' 13a when initiator devices are coupled only to the internal side of the converter. The invention has been described with reference to a preferred embodiment. However, al-terations and substitutions will now be apparent to persons of .

.. :

.
- .

:

ordinary skill in the art. In particular, different hardware configurations or combined hardware/software configurations could be designed to implement the con-trol described. Accordingly, the invention is not in-tended to be limited except as provided by the appendedclaims.

3~

Claims (5)

  1. THE EMBODIMENTS OF THE INVENTION IN WHICH AN EXCLUSIVE
    PROPERTY OR PRIVILEGE IS CLAIMED ARE DEFINED AS FOLLOWS:

    l. A converter for selectively transferring signals between a single ended line of an internal bus and a differential line pair of an external bus, with both buses utilizing the SCSI bus protocol that included BUS.FREE (BF), ARBITRATION (ARB), and SELECTION phases and with both buses including BUSY (BSY), SELECT
    (SEL) and DATA lines for transmitting BSY, SEL, and device ID
    signals, respectively, where devices on both sides, internal and external, of the converter may assert BSY and their device ID
    signals during the ARB phase, a subsystem for facilitating the transfer of a BSY signal during the ARB phase from either side to the other and for releasing the BSY line on both sides during the SELECTION phase, said subsystem comprising:
    a first driver, having an input port adapted to receive a first input signal, for asserting a differential BSY signal on the external differential BSY line pair when said first input signal is asserted;
    a first receiver, comprising a gate, having first and second inputs coupled to the internal BSY line of said internal bus and a first signal line that transmits a first signal, respectively, and an output coupled to the input port of said first driver, for transferring a BSY signal from the internal BSY line to the input port of said first driver only when said first signal is set;
    a second receiver, having input ports coupled to the differential BSY line pair and an output port coupled to an EXT.BSY signal line that transmits an EXT.BSY signal, for asserting said EXT.BSY signal when a BSY signal is asserted on said differential external BSY line pair;
    a second driver, comprising a second gate, having first and second inputs coupled to said EXT.BSY signal line and a second signal line that transmits a second signal, respectively, and an output coupled to the internal BSY line of said internal bus, for transferring an EXT.BSY signal on said EXT.BSY signal line to the internal BSY line only if said second signal is set;
    means for setting said first signal when no signals are asserted on the internal BSY and internal SEL lines, thereby indicating that the buses are in said BUS.FREE phase;
    means for setting said second signal only if a device coupled to the external bus asserts its device ID and said first signal is set; and means for resetting said first signal and said second signal when a device on either the internal or external side asserts the SEL signal to initiate the SELECTION phase.
  2. 2. A converter for selectively transferring signals between a single ended line of an internal bus and a differential line pair of an external bus, with both buses utilizing the SCSI bus protocol that includes BUS.FREE (BF), ARBITRATION (ARB), and SELECTION phases and with both buses including BUSY (BSY), SELECT
    (SEL) and DATA lines for transmitting BSY, SEL, and device ID
    signals, respectively, and where devices on both sides, internal and external, of the converter may assert BSY and their device ID
    signals during the ARB phase, a subsystem for facilitating the transfer of a BSY signal during the ARB phase from either side to the other and for releasing the BSY line on both sides during the SELECTION phase, said subsystem comprising:
    means, adapted to receive a first PASS signal, for transferring a BSY signal assert on the internal BSY line to the external differential BSY line pair only when said first PASS
    signal is set;
    means, adapted to receive a second PASS signal, for transferring a BSY signal asserted on the external differential BSY line pair to the internal BSY line only when said second PASS
    signal is set;
    means for setting said first PASS signal only when no signals are asserted on the internal BSY and SEL lines to indicate that the buses are in the BF phase;
    means for setting said second PASS signal only when said first PASS signal is set and a device on the external side is asserting BSY: and means for resetting said first and second PASS signals in response to a device on either the internal or external side asserting the SEL signal to initiate the SELECTION phase.
  3. 3. A converter for selectively transferring signals between a single ended line of an internal bus and a differential line pair of an external bus, with both buses utilizing the SCSI bus protocol that includes BUS.FREE (BF), ARBITRATION (ARB), and SELECTION or RESELECTION phases and with both buses including BUSY
    (BSY), SELECT (SEL) and DATA lines for transmitting BSY, SEL, and device ID signals, respectively, where initiator and target devices may be coupled to the internal bus and target devices may be coupled to the external bus and where devices on both sides, internal and external, of the converter may assert BSY and their device ID signals during the ARB phase, a subsystem for facilitating the transfer of a BSY signal during the RESELECTION
    phase, said subsystem comprising:
    means adapted to receive a first PASS signal, for transferring a BSY signal asserted on the internal BSY line to the external differential BSY line pair only when said first PASS
    signal is set;
    means, adapted to receive a second PASS signal, for transferring a BSY signal asserted on the external differential BSY line pair to the internal BSY line only when said second PASS
    signal is set;
    means for storing an indication of whether a target device asserting the SEL signal during the ARB phase was located on the internal side or the external side;
    means for setting said first PASS signal, during the RES
    phase, when an initiator device asserts the BSY signal; and means, responsive to said indication, for resetting said first PASS signal, set during the RES phase, and setting said second PASS signal when a target device asserts BSY only if a target device on said external side asserted SEL during the ARB
    phase.
  4. 4. A converter for selectively transferring signals between a single ended line of an internal bus and a differential line pair of an external bus, with both buses utilizing the SCSI bus protocol that includes BUS.FREE (BF), ARBITRATION (ARB), and SELECTION phases and with both buses including BUSY (BSY), SELECT
    (SEL) and DATA lines for transmitting BSY, SEL, and device ID
    signals, respectively, where devices on both sides, internal and external, of the converter may assert BSY and their device ID
    signals during the ARB phase, a subsystem for facilitating the transfer of a BSY signal during the ARB phase from either side to the other and for releasing the BSY line on both sides during the SELECTION phase, said subsystem comprising:
    an external receiver circuit that converts a differential external BSY signal into a single ended BSY signal;
    an external gate circuit that receives the single ended BSY
    signal and transfers the single ended BSY signal to the single ended internal BSY line only when an external gate signal is set;
    an internal driver circuit, having an enable port coupled to an enable line for receiving a signal asserted on said enable line, that asserts a differential external BSY signal only when said signal is asserted on said enable line;
    an internal gate that receives the single ended internal BSY
    signal and transfers the single ended internal BSY signal to said enable line only when an internal gate signal is set;
    an internal logic circuit, with inputs for receiving internal SEL and BSY signal and the external SEL and BSY signals, that sets the internal gate signal during the BF state only when both the internal BSY and SEL signals are not asserted and resets the internal gate signal when either the internal or external SEL
    signal is asserted during the SELECTION phase;
    an external logic circuit, having inputs for receiving said internal gate signals and external device ID signals, that sets the external gate signal only when the internal gate signal is set and an external device ID signal is asserted and resets said external gate signal only when said internal gate or device ID
    signals are reset or released.
  5. 5. A converter for selectively transferring signals between a single ended line of an internal bus and a differential line pair of an external bus, with both buses utilizing the SCSI bus protocol that included BUS.FREE (BF), ARBITRATION (ARB), and RESELECTION phases and with both buses including BUSY (BSY), SELECT (SEL) and DATA lines for transmitting BSY, SEL, and device ID signals, respectively, where initiator and target devices may be coupled to the internal bus and target devices may be coupled to the external bus and where devices on both sides, internal and external, of the converter may assert BSY and their device ID
    signals during the ARB phase, a subsystem for facilitating the transfer of a BSY signal during the ARB phase from either side to the other and for releasing the BSY line on both sides during the RESELECTION phase, said subsystem comprising:
    an external receiver circuit that converts a differential external BSY signal into a single ended BSY signal;
    an external gate circuit that receives the single ended BSY
    signal and transfers the single ended BSY signal to the single ended internal BSY line only when an external gate signal is set;
    an internal driver circuit, having an enable port coupled to an enable line for receiving a signal asserted on said enable line, that asserts a differential external BSY signal only when said signal is asserted on said enable line;

    an internal gate that receives the single ended internal BSY
    signal and transfers the single ended internal BSY signal to said enable line only when an internal gate signal is set;
    a logic circuit which sets said internal gate signal and resets said external gate signal when an initiator asserts the internal BSY signal and resets said internal gate signal and sets said external gate signal a fixed time interval after said initiator asserted the internal BSY signal only if a target device on the external side asserted SEL during the ARB phase.
CA000603299A 1988-06-21 1989-06-20 Scsi converter Expired - Fee Related CA1321657C (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US209,672 1988-06-21
US07/209,672 US4864291A (en) 1988-06-21 1988-06-21 SCSI converter

Publications (1)

Publication Number Publication Date
CA1321657C true CA1321657C (en) 1993-08-24

Family

ID=22779765

Family Applications (1)

Application Number Title Priority Date Filing Date
CA000603299A Expired - Fee Related CA1321657C (en) 1988-06-21 1989-06-20 Scsi converter

Country Status (6)

Country Link
US (1) US4864291A (en)
EP (1) EP0348148B1 (en)
JP (1) JP2672657B2 (en)
AU (1) AU624387B2 (en)
CA (1) CA1321657C (en)
DE (1) DE68920364T2 (en)

Families Citing this family (40)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA1320767C (en) * 1988-05-11 1993-07-27 Robert C. Frame Atomic sequence for phase transitions
JPH0264834A (en) * 1988-08-31 1990-03-05 Midori Denshi Kk Data transfer device in miniature computer system
US5257393A (en) * 1989-04-19 1993-10-26 Jrm Consultants, Inc. Serially controlled programmable test network
JP2545482B2 (en) * 1990-03-15 1996-10-16 富士通株式会社 Interface device transfer parameter setting method
US5758109A (en) * 1990-03-19 1998-05-26 Thomas A. Gafford Repeater/switch for distributed arbitration digital data buses
US5414818A (en) * 1990-04-06 1995-05-09 Mti Technology Corporation Method and apparatus for controlling reselection of a bus by overriding a prioritization protocol
US5655147A (en) * 1991-02-28 1997-08-05 Adaptec, Inc. SCSI host adapter integrated circuit utilizing a sequencer circuit to control at least one non-data SCSI phase without use of any processor
EP0580600B1 (en) * 1991-04-17 1997-10-08 Wang Laboratories, Inc. Apparatus for driving both single-ended and differential computer buses
US5255373A (en) * 1991-08-07 1993-10-19 Hewlett-Packard Company Decreasing average time to access a computer bus by eliminating arbitration delay when the bus is idle
US5272396B2 (en) * 1991-09-05 1996-11-26 Unitrode Corp Controllable bus terminator with voltage regulation
DE69228975T2 (en) * 1991-10-28 1999-11-18 Eastman Kodak Co Control circuit for data transfer from a VME bus to a SCSI disk unit
US5410674A (en) * 1991-10-28 1995-04-25 Eastman Kodak Company Circuit for controlling data transfer from SCSI disk drive to VME bus
US5237695A (en) * 1991-11-01 1993-08-17 Hewlett-Packard Company Bus contention resolution method for network devices on a computer network having network segments connected by an interconnection medium over an extended distance
EP0542087A3 (en) * 1991-11-10 1997-12-29 Hewlett-Packard Company Method and apparatus for efficient serialized transmission of handshake signal on a digital bus
KR940005440B1 (en) * 1991-12-31 1994-06-18 주식회사 금성사 Selection circuit for scsi regulation
WO1993023811A2 (en) * 1992-05-13 1993-11-25 Southwestern Bell Technology Resources, Inc. Open architecture interface storage controller
FR2698464B1 (en) * 1992-11-24 1997-06-20 Bull Sa NETWORK DISTRIBUTED DEVICE SYSTEM.
CA2116826C (en) * 1993-03-11 1998-11-24 Timothy J. Sullivan Data processing system using a non-multiplexed, asynchronous address/data bus system
US5978877A (en) * 1993-03-31 1999-11-02 Fujitsu Limited Translating SCSI bus control and/or data signals between differential and single-ended formats
US5715409A (en) * 1993-05-24 1998-02-03 I-Tech Corporation Universal SCSI electrical interface system
US5524236A (en) * 1993-09-15 1996-06-04 Unisys Corporation Apparatus for determining the direction of signal/data flow on CSI bus for converting between single ended and differential type signals
US5379405A (en) * 1993-09-15 1995-01-03 Unisys Corporation SCSI converter with simple logic circuit arbitration for providing bilateral conversion between single ended signals and differential signals
US5422580A (en) * 1993-10-14 1995-06-06 Aps Technologies Switchable active termination for SCSI peripheral devices
US5585741B1 (en) * 1994-04-22 2000-05-02 Unitrode Corp Impedance emulator
DE4426094C2 (en) * 1994-07-22 1998-04-16 Siemens Nixdorf Inf Syst Data reduction for bus couplers
US5579204A (en) * 1994-08-05 1996-11-26 Emc Corporation Disk carrier assembly
CN1049753C (en) * 1994-09-16 2000-02-23 联华电子股份有限公司 Transfer interface unit for data
US5613076A (en) * 1994-11-30 1997-03-18 Unisys Corporation System and method for providing uniform access to a SCSI bus by altering the arbitration phase associated with the SCSI bus
DE69425751T2 (en) * 1994-12-02 2001-04-19 Bull Sa Adapter / converter for differential and unbalanced SCSI interface
US5596169A (en) * 1995-05-12 1997-01-21 Iomega Corporation Combined SCSI/parallel port cable
US5832244A (en) * 1996-02-20 1998-11-03 Iomega Corporation Multiple interface input/output port for a peripheral device
US5864715A (en) * 1996-06-21 1999-01-26 Emc Corporation System for automatically terminating a daisy-chain peripheral bus with either single-ended or differential termination network depending on peripheral bus signals and peripheral device interfaces
US5978861A (en) 1997-09-30 1999-11-02 Iomega Corporation Device and method for continuously polling for communication bus type and termination
US6115771A (en) * 1998-03-31 2000-09-05 Lsi Logic Corporation Method and system for converting computer peripheral equipment to SCSI-compliant devices
US6243776B1 (en) 1998-07-13 2001-06-05 International Business Machines Corporation Selectable differential or single-ended mode bus
GB2350212B (en) * 1999-02-09 2003-10-08 Adder Tech Ltd Data routing device and system
US7032054B1 (en) * 2000-06-09 2006-04-18 Maxtor Corporation Method and apparatus for increasing the device count on a single ATA bus
US7010637B2 (en) * 2002-05-02 2006-03-07 Intel Corporation Single-ended memory interface system
TWI350526B (en) * 2005-11-21 2011-10-11 Infortrend Technology Inc Data access methods and storage subsystems thereof
US9270002B2 (en) 2013-07-22 2016-02-23 Raytheon Company Differential-to-single-ended transmission line interface

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4375639A (en) * 1981-01-12 1983-03-01 Harris Corporation Synchronous bus arbiter
JPS61156455A (en) * 1984-12-28 1986-07-16 Toshiba Corp Bus branch extending system
US4716525A (en) * 1985-04-15 1987-12-29 Concurrent Computer Corporation Peripheral controller for coupling data buses having different protocol and transfer rates
US4779089A (en) * 1985-11-27 1988-10-18 Tektronix, Inc. Bus arbitration controller
US4739323A (en) * 1986-05-22 1988-04-19 Chrysler Motors Corporation Serial data bus for serial communication interface (SCI), serial peripheral interface (SPI) and buffered SPI modes of operation
US4755990A (en) * 1987-10-08 1988-07-05 Karl Suss America, Inc. Collision avoidance in a multinode data communication network

Also Published As

Publication number Publication date
US4864291A (en) 1989-09-05
AU624387B2 (en) 1992-06-11
EP0348148A3 (en) 1990-09-05
JP2672657B2 (en) 1997-11-05
AU3658389A (en) 1990-01-04
JPH02110649A (en) 1990-04-23
DE68920364D1 (en) 1995-02-16
EP0348148B1 (en) 1995-01-04
EP0348148A2 (en) 1989-12-27
DE68920364T2 (en) 1995-08-17

Similar Documents

Publication Publication Date Title
CA1321657C (en) Scsi converter
AU639589B2 (en) Dynamic bus arbitration with grant sharing each cycle
US4050097A (en) Synchronization technique for data transfers over an asynchronous common bus network coupling data processing apparatus
CA1183272A (en) Synchronous data bus with automatically variable data rate
US5127089A (en) Synchronous bus lock mechanism permitting bus arbiter to change bus master during a plurality of successive locked operand transfer sequences after completion of current sequence
US4482954A (en) Signal processor device with conditional interrupt module and multiprocessor system employing such devices
EP0535822B1 (en) Methods and apparatus for locking arbitration on a remote bus
JPS5831617B2 (en) data processing system
JPS6112303B2 (en)
GB2060229A (en) Data processing apparatus with serial and parallel priority
JP3405360B2 (en) Computer device bus, method of communicating between master device and slave device and method of adjusting data width
JPH05233527A (en) Scsi interface using bus expander and auxiliary bus
WO2000058847A9 (en) System bus with serially connected pci interfaces
CA2021832C (en) Apparatus and method for improving the communication efficiency between a host processor and peripheral devices connected by an scsi bus
JPH03160545A (en) Interface circuit
US5379405A (en) SCSI converter with simple logic circuit arbitration for providing bilateral conversion between single ended signals and differential signals
US5566345A (en) SCSI bus capacity expansion controller using gating circuits to arbitrate DMA requests from a plurality of disk drives
US5951667A (en) Method and apparatus for connecting expansion buses to a peripheral component interconnect bus
US5961624A (en) Connection apparatus which facilitates conflict-free interfacing between host apparatuses and one or more peripherals
EP0114523B1 (en) Distributed priority logic network
US5611056A (en) Method for controlling the expansion of connections to a SCSI bus
KR940003319B1 (en) Interface method and system between pc and cd-rom drive
US5613076A (en) System and method for providing uniform access to a SCSI bus by altering the arbitration phase associated with the SCSI bus
US5524236A (en) Apparatus for determining the direction of signal/data flow on CSI bus for converting between single ended and differential type signals
US6636921B1 (en) SCSI repeater circuit with SCSI address translation and enable

Legal Events

Date Code Title Description
MKLA Lapsed