Apparatus for integrating bus master ownership of local bus load

Abstract: The invention provides an apparatus and method for integrating bus master ownership of a single local bus load by plural data transceivers. An integrated circuit is provided with: (a) a first plurality of local bus interface terminals for connecting to a local bus (e.g., PCI); (b) a second plurality of interface terminals for connecting to a first external communications channel (e.g., SCSI); (c) a third plurality of interface terminals for connecting to a second external communications channel (e.g., Ethernet); (d) a local bus interface means, connected to the first plurality of local bus interface terminals, for interfacing with the corresponding local bus and thereby applying a predefined load to the local bus; (e) a signal multiplexing means, operatively coupled to the local bus interface means, to the first communications channel (SCSI), and to the second communications channel (Ethernet), for selectively routing signals between the local bus interface means and a selected one of the first and second external communications channels (e.g., SCSI or Ethernet); and (f) an interface ownership designating means, operatively coupled to the multiplexing means, for designating one of the first and second communications channels (e.g., SCSI or Ethernet) as a current-owner of the local bus interface means and for controlling the multiplexing means to route signals between the local bus interface means and the designated current-owner of the local bus interface means.

Description: The invention relates generally to digital systems using a bus master architecture for data exchange. The invention relates more specifically to a method and apparatus for coupling plural communication channels such as Ethernet and SCSI to a local bus such as a PCI local bus. This application includes a listing of an HDL (Hardware Descriptor Language) source code for use with a computer program that compiles the source code into an implementation description of corresponding hardware. In so far as the HDL source code constitutes a copyrightable computer program, the applicant claims such copyrights in said HDL source code listing. The applicant has no objection, however, to the reproduction by others of this listing if such reproduction is for the sole purpose of studying it to understand the invention. The applicant reserves all other available copyrights in the listing including the right to reproduce the listing as part of a computer program that is in machine-executable form. The following publication(s) is/are believed to be related to the present application and is/are cited here for purposes of reference: (a) PCI Local Bus Specification, Revision 2.0, April 30,1993; available from PCI Special Interest Group, 5200 N.E. Elam Young Parkway, Hillsboro, Oregon (USA) 97124; and (b) Verilog-XL™ Reference Manual , Version 1.6, March 1991, available from Cadence Design Systems Inc. VerilogHDL is a trademark of Cadence Software of San Jose, California. Ethernet is a trademark of the Xerox Corporation. MicroChannel is a trademark of International Business Machines (IBM), Armonk, New York. TRISTATE is a trademark of National Semiconductor, of Sunnyvale, California. Bus master architectures are becoming increasingly popular as a means for the rapid exchange of digital data between data processing and/or transceiving units. The Small Computer Standard Interface (SCSI) is an example of an industry-standard data exchange architecture in which a form of bus mastering takes place. As many as eight devices can be simultaneously connected to a SCSI bus. One of the eight devices (the bus master) takes control of the shared bus and dictates the direction and routing of a data exchange between itself and another device (target device) on the bus. Although they are highly popular, the SCSI-1 and SCSI-2 data exchange protocols suffer the problem of not having sufficient bandwidth for voluminous, high-speed data exchanges. The data throughput rate of a SCSI communication channel is constrained by the relatively large, maximum length (approximately 10 meters) that is allowed for SCSI-compliant buses and by the relatively slow pulse rise time (approximately 35 nanoseconds) dictated by line termination specifications. There is a growing demand in the industry for a data exchange standard that supports a substantially wider communications bandwidth. Part of the demand is owed to an increasing popularity of multimedia applications wherein animated video and sound signals are transmitted and processed together in real-time. Another part of the demand comes from increased reliance on multi-processor systems in which plural data processors are tied together by a high-speed local area network (LAN) such as Ethernet. Yet a further aspect of the growing demand for greater bandwidth arises from continued improvements in the resolution graphics display systems. A recently introduced, "PCI local bus" standard promises to expand the data throughput rate of so-called personal computers by a substantial amount. Adoption of the PCI local bus standard is expected to enable high-speed multimedia activities and other operations requiring wide bandwidth. (PCI stands for Peripheral Component Interconnect and the standard is specified by the PCI Special Interest Group of Hillsboro, Oregon (USA).) The PCI local bus features a 32-bit wide, multiplexed address-data (AD) bus portion capable of operating at up to 132 megaBytes per second (132 MB/s peak). An already-defined, performance upgrade path allows for expansion to a 64-bit wide AD bus portion capable of operating at up to 264 MB/s peak. PCI bus access is based on arbitration between contending agents. Each device (agent) that wants to be a bus-master issues a bus-master request (REQ#) to a central arbiter. The central bus arbiter returns an active bus-grant (GNT#) signal to the winner. The arbitration scheme can be based on a rotating priority or on another fair scheme. A large number of devices (agents) may be found simultaneously contending for access to a PCI local bus in a high performance computer system. Examples of such potential contenders include, but are not limited to, a SCSI adaptor module, an Ethernet interface module, a CPU-to-memory bridge unit, a motion video processing unit, a sound processing unit, and an expansion bus interface unit (e.g., an EISA-to-PCI interface). A problem develops when designers want to couple more than a few devices (e.g., more than 10 "loads") to a PCI local bus. The high data throughput rate of the PCI local bus is due in part to a fixed limitation that is placed on the number of electrical AC and DC "loads" that can be attached to the bus while still maintaining peak performance (e.g., a 33MHz clock rate). The speed of the PCI local bus is owed in further part to another limitation that is placed on the physical length and on the capacitance of the conductor traces and connection pins that define the bus. Each PCI "load" typically has a capacitance of between 15 to 25 picofarads (15-25pF) per pin. The electrical-load, capacitance, and physical-size parameters of a PCI-compliant bus have to be jointly configured in order to assure a clock skew of less than a prespecified first amount (2 nS) for synchronous operations between any two bus devices and a data signal propagation time of less than a second prespecified amount (10 nS). Thus there are physical and electrical constraints which limit the number of attachment slots and input/output buffers that may be provided along a PCI local bus. Current technology appears to allow for no more than four expansion slots on any one PCI local bus. Each combination of a conventional expansion connector plus a conventional expansion board consumes two "loads". Each IC chip that connects directly to the PCI local bus consumes one "load". The PCI local bus is allowed no more than 10 loads under current specifications. Thus, four expansion slots and one direct-connect IC consume 9 of the 10 allowed loads. It appears that the number devices that designers may soon wish to attach to the PCI bus will quickly exceed the 10 load maximum. A need is developing within the industry for being able to couple many different device drivers such as SCSI, Ethernet, real-time audio/video, cache memory, expansion buses such as EISA, VESA or MicroChannel, and so forth onto the PCI local bus or onto a like, load-and-size constrained local bus, while giving each attached device an appropriate opportunity to act as a bus-master. US patent document US-A-4 313 160 already discloses a DMA distributed input/output system (DMA DIOS) allowing to connect a plurality of peripheral devices to a PC local bus. The individual peripheral devices are directly connected to the DMA DIOS and not via an intermediate further bus. The invention deals with the above mentioned problems by providing an integrated circuit as defined in claim 1 and special embodiments thereof as defined in dependent claims 2 to 15. BRIEF DESCRIPTION OF THE DRAWINGS The below detailed description makes reference to the accompanying drawings, in which: FIGURE 1 is a block diagram of a computer system in accordance with the invention that includes a PCI-compliant IC chip connectible to both a SCSI interface and an Ethernet interface; FIGURE 2 is a functional diagram of a PCI-compliant IC chip in accordance with the invention; and FIGURE 3 is a top plan view of a packaging pinout for a PCI-compliant IC chip in accordance with the invention that also provides integrated connectivity to a SCSI bus and to an Ethernet cable. FIGURE 4 is a top plan view of a semiconductor circuit layout pinout for a PCI-compliant IC chip in accordance with the invention. DETAILED DESCRIPTION Figure 1 shows a block diagram of a computer system 100 in accordance with a preferred embodiment of the invention. Computer system 100 includes a printed circuit board (PC Bd.) 101 on which there is provided a set of conductive traces defining a PCI local bus 102 and on which there is further provided, a PCI-compliant integrated circuit chip 105. The pinout and internal layout of IC chip 105 is illustrated in Fig. 3. IC chip 105 is preferably packaged in a 132-pin PQFP package 300. And the physical pinout is preferably as shown. The die area of chip 105 is subdivided physically, and in terms of power distribution, into: (a) an analog signal region 301 that contains analog circuits for supporting analog signal processing (e.g., such as used in the transmission and receipt of Ethernet signals); (b) a SCSI interface region 302 that contains input and output buffers for respectively receiving and outputting SCSI bus signals; (c) a PCI interface region 303 that contains input and output buffers for respectively receiving and outputting PCI local bus signals; and (d) a digital control core region 304 that contains digital control logic. Referring to Fig. 1, the IC chip package 300 includes a first plurality of PCI-interface pins 180 that connect directly to the printed circuit traces of the PCI local bus 102. While not shown, it is to be understood that the printed circuit board 101 of Fig. 1 can include one or more PCI-compliant expansion connectors attached to the PCI local bus 102 for enabling disconnective coupling of PCI-compliant expansion boards to the PCI local bus 102. It is to be further understood that the printed circuit board 101 can have a CPU (central processing unit) and memory (e.g., DRAM) mounted thereon for defining a microcomputer system thereon and that the printed circuit board 101 can further have one or more oscillator crystals mounted thereon for establishing frequencies of various clock signals. Typically, the CPU and its high speed memory will be connected by way of a PCI bridge circuit directly to the traces of the on-board PCI local bus 102. The PCI pins 180 of IC chip 105 are respectively labeled in Fig. 1 according to standard PCI specifications as: AD{31:0}, C/BE#{3:0}, PAR, FRAME#, TRDY#, IRDY#, STOP#, DEVSEL#, IDSEL#, PERR#, SERR#, CLK, and RST#. The designations, REQ#-1 (pin reference number 186) and GNT#-1 (pin 187), correspond to the REQ# and GNT# terminals of a first PCI-compliant, bus-mastering device. The designations, REQ#-2 (pin 188) and GNT#-2 (pin 189), correspond to the REQ# and GNT# terminals of a second PCI-compliant, bus-mastering device. The AD{31:0} designation represents a set of 32 IC pins (pins group 181) and a corresponding set of 32 printed circuit board traces which carry PCI address and data signals in time multiplexed fashion. The C/BE{3:0} designation represents a set of 4 IC pins (pins group 182) and a corresponding set of 4 printed circuit board traces which carry PCI command and byte-enable signals in time multiplexed fashion. The PAR designation represents one IC pin (pin 183) and a corresponding one printed circuit board trace which carry the PCI parity bit signal. Similarly, each of the designations: FRAME#, TRDY#, IRDY#, STOP#, DEVSEL#, IDSEL#, PERR#, SERR#, CLK (pin 184), and RST# (pin 185), represents a pin of IC chip 105 and a corresponding printed circuit board trace that carries the corresponding PCI signal. In addition to the PCI pins, the PCI-compliant IC chip 105 has a plurality of SCSI-interface pins and lines 118 extending outwardly therefrom for direct connection to a SCSI bus and a plurality of Ethernet-interface pins/lines 128 extending therefrom for connection to an Ethernet isolation transformer (or Ethernet "transceiver module" as it is otherwise known, not shown) which then connects directly to an Ethernet cable via an Ethernet connector (not shown). A PCI bus-arbiter 190 is provided on the printed circuit board 101 and coupled to a plurality of bus-master request (REQ#) and grant (GNT#) lines of the PCI local bus 102. In this particular implementation, the bus-arbiter 190 provides impartial grants on a rotating priority basis to as many as four requesters. Accordingly, the bus-arbiter 190 has four request input lines (186, 188, 192 and 194) and a corresponding four grant output lines (187, 189, 193, 195). If requests are simultaneously asserted on all four REQ# lines of the bus-arbiter 190, the bus-arbiter 190 will grant successive time slots of equal length to each of the requesting devices. The PCI-compliant IC chip 105 has four arbitration handshaking pins respectively denoted as REQ#-1 (186), GNT#-1 (187), REQ#-2 (188), and GNT#-2 (189). Each REQ# pin (186,188) has a tristate output buffer (not shown) provided within the IC chip 105 for asserting the corresponding request by pulling its pin to logic low (e.g., ground) in accordance with the PCI local bus specifications. (The pound symbol "#" is used here as a suffix in naming signals that are asserted by pulling their lines low.) Each GNT# pin (187,189) has a corresponding input buffer (not shown) provided within the IC chip 105 for receiving the corresponding grant signal. The PCI local bus 102 can operate in either a 5V mode or a 3.3V mode, and the PCI input/output buffers (IB's and OB's) of the IC chip 105 are accordingly designed so that they can be configured to operate in either voltage mode (5V or 3.3V). The PCI-compliant IC chip 105 is further configurable to function in either a first external-arbitration mode where chip 105 asserts a request signal on only the REQ#-1 line (through pin 186) or in a second arbitration mode where chip 105 asserts, on a mutually exclusive basis, request signals on both the REQ#-1 line and the REQ#-2 line (through respective pins 186 and 188). When the first external-arbitration mode (MODE-1) is active, the PCI-compliant IC chip 105 appears as a single bus-mastering device to the local bus-arbiter 190 and optional connections (OC's) of the REQ#-2 line to chip pin 188 and of the GNT#-2 line to chip pin 189 are not made. In such a case, the REQ#-2 and GNT#-2 lines of local bus-arbiter 190 can be used to service another PCI bus-mastering agent (not shown). A user-programmable, on-chip configuration section (see Fig. 2) determines whether the IC chip 105 is in arbitration MODE-1 or MODE-2. When the second external-arbitration mode (MODE-2) is active, the PCI-compliant IC chip 105 appears as two independent bus-mastering devices to the local bus-arbiter 190 and the optional connections (OC's) of the REQ#-2 line to chip pin 188 and of the GNT#-2 line to chip pin 189 are made. In either case, whether arbitration MODE-1 or MODE-2 is active, the IC chip 105 appears as a single "load" to the remainder of the PCI local bus 102 as will be understood shortly. A Bus-interface Ownership State Sequencer module (BOSS module) 150 is provided within IC chip 105 for asserting either the REQ#-1 signal (in MODE-1) or both the REQ#-1 and REQ#-2 signals (on a mutually exclusive basis in MODE-2) onto the external PCI bus 102, and correspondingly receiving from the external PCI bus 102, the GNT#-1 signal (by way of IC pin 187) and GNT#-2 signal (by way of IC pin 189). The BOSS module 150 has a set of "chip-internal" request and grant line pairs, 151-152 and 154-155, which are used for carrying out handshaking within IC chip 105 between the BOSS module 150 and a corresponding set of communication channel transceiver units 110-120. Transceiver units 110-120 connect to a corresponding set of communications channels (e.g., SCSI and Ethernet). Data transceiver units 110-120 can be of many different types (e.g., SCSI, Ethernet, ISDN, FDDI, RS232, IEEE 488, etc.). The number of such transceiver units can be more than the illustrated two. In the particular implementation 100 of Fig. 1, however, a first of the communication-channel transceiver units is a SCSI communications controller unit 110 that interfaces with a standard SCSI bus by way of SCSI-interface lines 118. And a second of the data transceiver units is an Ethernet communications controller unit 120 (including an AUI and an MAU) that interfaces with a standard Ethernet cable by way of a Ethernet-interface lines 128 and an isolation transformer (not shown). Both controllers, SCSI and Ethernet, are integrally defined within the one PCI-compliant IC chip 105. The functional organization of this arrangement is shown in Fig. 2. The on-chip, SCSI communications controller unit 110 (Fig. 1) is also referred to herein, for sake of generality as "OWNER-1" or "OWNER-a". The OWNER-1 controller unit 110 includes a corresponding first communications state sequencer 111 (a 53CF94 compatible SCSI-2 core circuit) that handles the various peculiarities of communications on the SCSI bus side. Controller unit 110 (OWNER-1) further includes a first DMA-controlled FIFO 115 for temporarily storing and transferring digital data as the data moves between the first communications state sequencer 111 and the PCI local bus 102. A "FIFO," as understood by those skilled in the art, is a First-In, First-Out data storage device which, as well known in the art, is used for transferring data between synchronous modules operating under independent clocks. The FIFO acts as an accordion of sorts, absorbing data bursts from one side at a first transfer rate (and/or phase) and unloading the data bursts to the other side at a second transfer rate (and/or phase), when access becomes available.) FIFO 115 has a Near-Full (NF) status line for indicating when the FIFO is about to overflow and a Near-Empty (NE) status line for indicating when the FIFO is about to experience an underflow condition. As seen in Fig. 1, the NF and NE status lines of FIFO 115 connect to respective inputs of a first, internal-request generating multiplexer 135. Multiplexer 135 outputs a iREQ-1 signal (152) to the BOSS module 150. A read/write direction line (R/W) connects to the selection terminal of multiplexer 135 to select the NF (near-full) status signal when data is supposed to be flowing from FIFO 115 (the SCSI FIFO) to the PCI local bus 102 and to select the NE (near-empty) status signal when data is supposed to be flowing in the other direction, from the PCI local bus 102 to FIFO 115 (the SCSI FIFO). Controller unit 110 (OWNER-1) also includes a first DMA-controller 112 for bidirectionally transferring data (Data-1) between the OWNER-1 FIFO (SCSI FIFO) 115 and the PCI local bus 102 by way of a bidirectional AD multiplexer 160. Transfer direction is indicated by the R/W signal that is output from the first DMA-controller 112 to the internal-request generating multiplexer 135. The AD multiplexer 160 receives data from the PCI local bus 102 by way of an AD input buffer 170 (IB 170) and outputs data to the PCI local bus 102 by way of an AD output buffer 171 (OB 171). It is to be understood that the illustrated AD input buffer 170 represents 32 individual input amplifiers coupled to the respective 32 AD bus-lines 181 and that the illustrated AD output buffer 171 represents 32 individual tristate drivers whose outputs are also respectively coupled to the 32 AD bus-lines 181. The first DMA-controller 112 sends address signals (Adrss-1), corresponding to a given data set (Data-1), by way of the AD multiplexer 160, and the AD multiplexer 160 outputs the address information to the PCI local bus 102 by way of the AD output buffer 171. The timing of this address transfer is controlled by a set of owner and phase control signals, 156 and 157, sent to the selection control inputs of AD multiplexer 160 from the BOSS module 150. The owner and phase control signals, 156 and 157, also define the time slots during which data transfers (read or write) take place between the AD bus lines 181 and the OWNER-1 FIFO 115 (the SCSI FIFO). The on-chip, Ethernet communications controller unit 120 (Fig. 1) is also referred to herein, for sake of generality as "OWNER-2" or "OWNER-b". The OWNER-2 controller unit 120 includes a corresponding first communications state sequencer 121 (an 802.3 compatible Media Access Control core circuit) that handles the various peculiarities of communications on the Ethernet bus side. Controller unit 120 (OWNER-2) further includes a second DMA-controlled FIFO 125 for temporarily storing and transferring digital data as the data moves between the second communications state sequencer 121 and the PCI local bus 102. FIFO 125 has a Near-Full (NF) status line for indicating when the FIFO is about to overflow and a Near-Empty (NE) status line for indicating when the FIFO is about to experience an underflow condition. As seen in Fig. 1, the NF and NE status lines of FIFO 125 connect to respective inputs of a second, internal-request generating multiplexer 145. Multiplexer 145 outputs a iREQ-2 signal (154) to the BOSS module 150. A read/write direction line (R/W) connects to the selection terminal of multiplexer 145 to select the NF (near-full) status signal when data is supposed to be flowing from FIFO 125 (the Ethernet FIFO) to the PCI local bus 102 and to select the NE (near-empty) status signal when data is supposed to be flowing in the other direction, from the PCI local bus 102 to FIFO 125. Controller unit 120 (OWNER-2) also includes a second DMA-controller 112 for bidirectionally transferring data (Data-2) between the OWNER-2 FIFO (SCSI FIFO) 125 and the PCI local bus 102 by way of the bidirectional AD multiplexer 160. The second DMA-controller 112 sends address signals (Adrss-2), corresponding to a given data set (Data-2), by way of the AD multiplexer 160, and the AD multiplexer 160 outputs the address information to the PCI local bus 102 by way of the AD output buffer 171. The timing of this address transfer is controlled by the owner and phase control signals, 156 and 157, sent to the selection control inputs of AD multiplexer 160 from the BOSS module 150. The owner and phase control signals, 156 and 157, also define the time slots during which data transfers (read or write) take place between the AD bus lines 181 and the OWNER-2 FIFO 125 (the SCSI FIFO). In the illustrated example, the OWNER-2 FIFO 125 (the Ethernet FIFO) is 128 bytes long while the OWNER-1 FIFO 115 (the SCSI FIFO) is 96 bytes long. It is to be understood, however, that other FIFO lengths may be used in accordance with the die area available on IC chip 105 and in accordance with the worst-case data transfer rate and phase differences expected between the PCI local bus 102 and the respective, secondary communication channels, 118 and 128. The BOSS module 150 can designate either the SCSI communications controller unit 110 or the Ethernet communications controller unit 120 as being the "current OWNER" of the on-chip interface to the PCI local bus 102. Respective input and output buffers, 170 and 171, define part of this on-chip interface. (It is understood that in a more general sense, one of the transceiver units in a set of two or more communication channel transceiver units 110-120 is designated as the "current OWNER" of the on-chip interface to the external local bus 102.) When a particular data transceiver unit of set 110-120 is designated as the "current OWNER", the BOSS module 150 sets the Owner selection input 156 (OwnerSel) of the AD multiplexer 160 to select the corresponding address output bus (Adrss-1 or Adrss-2) and data transfer bus (Data-1 or Data-2) of the designated current-owner. Although not shown (due to space limitations on the drawing sheet), it is understood that IC chip 105 includes additional on-chip multiplexers like MUX 160 and additional input/output buffers (local-bus interface means) like IB 170 and OB 171 that are operatively coupled to respective ones of the remaining PCI interface pins: C/BE#{3:0}, PAR, FRAME#, TRDY#, IRDY#, STOP#, DEVSEL#, IDSEL#, PERR#, SERR#, CLK, and RST#. The Owner selection signal 156 output from the BOSS module 150 is coupled to these other multiplexers (not shown) for routing the respective PCI interface signals between the PCI local bus 102 and the controller (110-120) of the designated current-owner. The time slots of time-multiplexed fields is designated by corresponding phase control signals such as 157 that are output from the BOSS module 150. By way of example, there is a C/BE multiplexer (not shown) within IC chip 105 that is used to selectively route command and byte-enable data from the controller (110-120) of the designated current-owner to the C/BE bus lines 182. Selection of the command or byte-enable data is carried out by corresponding phase control lines. Activation of tristate output drivers is carried out by corresponding OEN lines such as 158. The phase and OEN lines that extend from the BOSS module 150 to the unshown multiplexers and tristate output drivers are represented by output 159. To obtain current-ownership, the respective one of the plural data transceiver units 110-120 has to first send an internal request (iREQ-1 or iREQ-2) to the BOSS module 150. The BOSS module 150 then gives, depending on the state of a state sequencer within the BOSS module 150, current-ownership of the on-chip interface to the earlier requesting data transceiver unit 110-120 if the interface is not already owned. The BOSS module 150 then responsively outputs, depending on the internal state of the BOSS module 150, a corresponding bus-mastering request (REQ#-1 (pin 186) or REQ#-2 (pin 188)) to the off-chip, central bus-arbiter 190. Upon receipt of a corresponding grant (GNT#-1 (pin 187) or GNT#-2 (pin 189)) from the off-chip, central bus-arbiter 190, the BOSS module 150 activates the PCI output buffers (OB's such as 171) by sending respective output enable (OEN) signals to the tristate control terminals of the respective tristate drivers. The received external grant (GNT#-1 (pin 187) or GNT#-2 (pin 189)) is at the same time routed to the corresponding owner (e.g., 110 or 120) as an internal grant (iGNT-1 or iGNT-2) and this initiates a corresponding data transfer control sequence within the DMA controller (112 or 122) of the interface owner receiving such an internal grant. Thus, the current-owner gains access to the on-chip PCI interface and is able to define the address and data signals that pass on the AD bus lines 181 of the PCI local bus 102; and is further able to define the command and byte-enable signals that pass on the C/BE bus lines 182 of the PCI local bus 102; and so forth. One of the important things to note from this arrangement is that the local-bus interface means (e.g., PCI input buffers 170 and output buffers 171) represent a single "load" to the PCI local bus 102, and yet they provide access to two independent, event-driven, communication channels (e.g., SCSI and Ethernet). Another important feature to note is that the coupling of the plural, independent, communication channels (e.g., SCSI and Ethernet) does not consume a substantial portion of the limited physical length available along the PCI local bus 102. The remaining physical length of the PCI local bus is therefor made available for use by expansion slots or other on-board loads. Also, because the coupling of the plural, independent, communication channels (e.g., SCSI and Ethernet) to the PCI local bus 102 is made through, essentially a single integrated circuit chip, the cost of implementing such a connection can be greatly reduced when IC chip 105 is mass produced and placed on the motherboard of a personal computer or on an insertable daughter board. The internal configuration of the BOSS module 150 is described here by the below-included VerilogHDL™ listing. Those skilled in the art will recognize that the listing can be compiled by an appropriate circuit generator program (e.g., a logic synthesizer such as the DesignCompiler available from Synopsys of Mountain View, California) to define the gate level and transistor level implementation of the functions called forth in the listing. The following preface notes will help in the understanding of the following VerilogHDL listing: the listing name "GNTAFQ" corresponds to both the GNT#-1 signal (pin 187) of Fig. 1 and the internal grant iGNT-1 (151) of Fig. 1 (they are logically identical in this implementation.) Similarly, the listing name "GNTBFQ" corresponds to both the GNT#-2 signal (pin 189) of Fig. 1 and the internal grant iGNT-2 (155) of Fig. 1 (they are logically identical in this implementation.) The listing names "DREQA" and "DREQB" correspond respectively to the chip-internal request lines, iREQ-1 (152) and iREQ-2 (154) of Fig. 1. The listing names "REQAF_OEN" and "REQBF_OEN" correspond respectively, but inversely, to the direct request lines, REQ#-1 (pin 186) and REQ#-2 (pin 188) of Fig. 1. The on-chip output buffers that drive the direct request lines, REQ#-1 (pin 186) and REQ#-2 (pin 188) are tristate drivers whose inputs are tied low (to ground). The "REQAF_OEN" and "REQBF_OEN" signals are respectively applied to the output enable terminals of these tristate drivers in order to assert the low-true REQ# signals. Each of the below listing names that ends in "_OEN" or "_OE" is understood to be an output enable for a tristate driver. Each of the below listing names that has the phrase "_PHASE" within its ending is understood to be time multiplexing control signal that defines when the corresponding data or address signal is to asserted on the respective time-multiplexed bus (e.g., on the AD bus portion 181). The term "hilance" refers to Ethernet related signals. When OWNA is true, it means the SCSI communications controller unit 110 is the current-owner of the local bus interface. When OWNB is true, it means the Ethernet communications controller unit 120 is the current-owner of the local bus interface. The dual-ampersand symbol "&&" indicates a logical AND operation. The dual vertical-bar symbol "∥" indicates a logical OR operation. The exclamation symbol "!" indicates a logical NOT operation. The triple equate symbols "===" below may have to be replaced with double equate symbols "==" to avoid syntax errors in some design-compilers. Referring to Fig. 3, the IC chip 105 is approximately 300 to 400 mils on each side. A 0.8 micron, double-metal process is used to define its circuitry. The layout of IC chip 105 is subdivided as generally shown in Fig. 3, and better shown in Fig. 4, in order to limit problems associated with combining analog and digital circuits on a single chip. One of the problems with such hybrid IC chips is that switching noise (including ground-bounce) tend to be coupled from the digital section of such a chip to the analog section. The switching noise might lead to erroneous operations in the analog section. Another patent application is expected to be soon filed having the title, INTEGRATED SCSI AND ETHERNET CONTROLLER ON A PCI LOCAL BUS [Attorney Docket No. AMDI8019], and naming Chih-Siung Wu as an inventor. This other application will provide details about how the coupling of switching noise between chip sections is reduced. By way of a brief explanation, separate drain voltage (V DD ) and source voltage (V SS ) power lines are routed to each of regions 301-304 shown in Fig. 3 so that ground bounce generated by the simultaneous switching of many output buffers in the PCI interface region 303 and/or in the SCSI interface region 302 is inhibited from altering the operations of the analog signal region 301. The analog signal region 301 is, in essence, maintained as a "quiet zone" that is substantially devoid of ground bounce noise. As understood by those skilled in the art, ground bounce refers to voltage changes that are induced across inductive power and ground lines due to the L(di/dt) effect. When multiple output buffers simultaneously switch their outputs to low, to sink current from an external source, a sudden and large rush of current can flow from the ground terminals of chip-internal output buffers to the ground terminal of the chip package. Ground bounce is reduced by distributing this flow among a plurality of ground pins (V SS ) that are evenly distributed about the periphery of the chip package. Chip package 300 is unique in that the ratio of source voltage (V SS ) pins to drain voltage (V DD ) pins is substantially greater than one (roughly equal to two to one). A special set of V SS3B pins and V DD3B pins are provided for supplying either 3.3V or 5V operating power to the output buffers of the PCI interface region 303. A separate set of V SSB pins and V DDB pins are provided for supplying 5V operating power to the output buffers of the SCSI interface region 302. Yet another independent set of DV SS pins and DV DD pins are provided for supplying 5V operating power to an Ethernet portion 304a (see Fig. 4) of the digital control core region 304. Another independent set of V SS pins and V DD pins are provided for supplying 5V operating power to the remainder of the digital control core region 304. And yet another independent set of AV SS pins and AV DD pins are provided for supplying 5V operating power to the analog signal region 301. A set of back-to-back SCR's (silicon control rectifiers) are intentionally formed between regions 301-304 such that the SCR's will latch-up (into a conductive state) and supply power throughout the power distribution networks of regions 301-304 if one of the independently-powered regions 301-304 receives power at the same time that another of the regions 301-304 does not. (For example if one power supply switches on late.) This is done so that no one region can be powered up without simultaneously applying some power to the other regions. Otherwise there is the danger an isolation PN junction will be breached and excessive currents will flow through and damage the chip. Note that the Ethernet interface pins of Fig. 3 are positioned about one corner of the square-shaped die and the PCI interface pins are positioned about a diagonally-opposed second corner and spaced apart from the Ethernet pins. This is done to limit crosstalk of digital switching noise on the usually-active PCI local bus to the analog circuitry of the less-often active Ethernet lines. Referring to Fig. 4, the layout of a PCI-compliant IC chip 105 in accordance with the invention is shown to scale. White bands are painted around regions 301, 304a, 304b and 304c to better highlight them. The chip die lays circuit-side down when packaged in package 300. The pinout in Fig. 4 is therefore a mirror image of that shown in Fig. 3. The bonding pad for package-pin number PP-99, for example, near the top along the left edge of the layout shown in Fig. 4 while the corresponding package-pin number PP-99 (XTAL) is position near the top along the right edge of the package pinout shown in Fig. 3. The combination of the Ethernet analog signal region 301 and the Ethernet digital control region 304a generally defines a square shape in Fig. 4, with region 301 defining at top left quadrant of that square shape. The SCSI digital control region 304b is positioned as a rectangle whose longitudinal side extends below and adjacent to the bottom of the Ethernet digital control region 304a. The PCI digital control region 304c is positioned as a rectangle whose longitudinal side extends to right and adjacent the right sides of both the Ethernet digital control region 304a and the SCSI digital control region 304b. Digital output buffers are positioned about peripheral edges of digital control regions 304a to 304c. Each output buffer is positioned as close as possible to its corresponding I/O pad and also as close as possible to a corresponding V SS pin so as to minimize lead length and the associated ground bounce. The basic idea is to minimize the coupling of digital switching noise from high-current, digital, output buffers to those circuits that are most sensitive to such noise (e.g., the Ethernet analog signal region 301). Note in particular that the output buffers that are expected to generate the most switching noise on the most continuous basis; which in this PCI/SCSI/Ethernet embodiment are the PCI A/D and C/BE buffers, are arranged to be positioned as far away as possible from (that is, diagonally opposite from) the circuitry that is most sensitive to such noise; which in this PCI/-SCSI/Ethernet embodiment is the Ethernet analog signal region 301. The PCI output buffers create the most noise because they operate at the highest switching frequencies (e.g., 33MHz) and each such PCI output buffer both sources relatively large amounts of current (e.g., 44mA per pin) from within the chip 105 and sinks relatively large amounts of current supplied from outside the chip 105 (from other devices on the PCI local bus). The SCSI output buffers (e.g., those connected to package-pin numbers PP-68 to PP-78), on the other hand, are open-collector and thus do not source large amounts of current from within the chip. The SCSI output buffers do sink relatively large amounts of current, but they also tend to operate at switching frequencies substantially lower than those of the PCI local bus. Current-sourcing noise should be distinguished from noise generated by current sinking mechanisms within the chip 105. The current-sourced portion of switching noise tends to be most troublesome because it can couple from one region (e.g., PCI interface region 303) to another (e.g., Ethernet analog signal region 301) by way of the bulk portion of the substrate (and in particular, by way of the V DD power distribution lines of the IC chip 105). But since the PCI A/D and C/BE output buffers, and their associated pads and power supply lines, are positioned furthest away from the Ethernet analog signal region 301, this type of through-the-bulk noise coupling is minimized. Current-sink based switching noise is most troublesome in regard to its tendency to create ground-bounce. The illustrated chip 105 uses a large proportion of current-sinking, source voltage pins (V SS pins) relative to V DD pins so as to distribute current density through a plurality of many short leads rather than allowing di/dt currents to build to large levels in any one given lead. Where possible, each V SS pin is positioned centrally relative to the group of output buffers it serves so as to minimize inductive lead length. Note for example that the V SS3B pin PP-55 is centered relative to the output buffers that drive the AD0 through AD3 lines of the PCI bus. A separate ground line (not shown) is routed from each of the four output buffers (AD0-AD3) to the central V SS3B pin (PP-55) in order to minimize di/dt current in each. Package-pin number PP-50 functions as the central V SS3B pin for the next four output buffers (AD4-AD7), and so on. Pin compatible, downgraded versions of the PCI-compliant IC chip 105 can be manufactured and used to enable a simple upgrade procedure. The downgraded versions of the PCI-compliant IC chip 105 include a like PCI-compliant SCSI-only chip that does not include the analog signal region 301 and a like PCI-compliant Ethernet-only chip that does not include the SCSI interface region 302. Such downgraded versions can be laid out on a smaller die area and produced for less cost because mass-production yield tends to increase as die area decreases. The upgrade procedure comprises the steps of: (a) first manufacturing a computer with a downgraded, but pin-compatible, version of the PCI-compliant IC chip installed therein; and (b) afterwards replacing the downgraded version with a full-function version (integrated SCSI and Ethernet) of the PCI-compliant IC chip 105. Configuration software is installed in each computer and used to appropriately configure the operational modes of the downgraded versions or the full-feature PCI-compliant IC chip 105. The computer mother or daughter-board is designed with a common layout for both the downgraded versions or the full-feature PCI-compliant IC chip 105. Insertion spaces are provided on the mother/daughter board for adding an Ethernet isolation transformer and a corresponding oscillator crystal when an upgrade is made from PCI and SCSI-only operation to integrated PCI/SCSI/Ethernet operation. Further insertion spaces are provided on the mother/daughter board for adding an Ethernet connector and/or SCSI bus connectors. Then, performance upgrade is a simple mater of replacing the downgraded chip version with the full-function version (integrated SCSI and Ethernet) of the PCI-compliant IC chip 105 and adding a few external components (e.g., Ethernet connector, Ethernet isolation transformer and an optional oscillator crystal) to the printed circuit board as needed. The above disclosure is to be taken as illustrative of the invention, not as limiting its scope Numerous modifications and variations will become apparent to those skilled in the art after studying the above disclosure. Given the above disclosure of general concepts and specific embodiments, the scope of protection sought is to be defined by the claims appended hereto.

Claims: An integrated circuit comprising: (a) a first plurality of interface terminals (180) for connecting to an external local bus(102), the external local bus having associated therewith a prespecified maximum total load that may be present on the external local bus at a given time, said maximum total load defining a maximum data signal propagation time for the external local bus; (b) a second plurality of interface terminals (118) for connecting to a first external communications channel; (c) a third plurality of interface terminals (128) for connecting to a second external communications channel ; (d) local bus interface means (170, 171) connected to the first plurality of interface terminals (180) for interfacing with the corresponding local bus (102) and applying a predefined load to the local bus, said predefined load being substantially less than the prespecified maximum total load of the external local bus so as to enable attachment of at least two other loads, each similar to said predefined load, to the external local bus while maintaining a total load on the external local bus that does not exceed the prespecified maximum total load; (e) multiplexing means (160), operatively coupled to the local bus interface means (170,171), to the first communications channel by way of said second plurality of interface terminals (118), and to the second communications channel by way of said third plurality of interface terminals (128), for selectively routing signals between the local bus interface means (170, 171) and a selected one of the first and second communications channels; and (f) interface ownership designating means (150), operatively coupled to the multiplexing means (160), for designating one of the first and second communications channels as a current-owner of the local bus interface means(170, 171) and for controlling the multiplexing means(160) to route signals between the local bus interface means (170, 171) and the designated current-owner of the local bus interface means (170, 171). An integrated circuit according to claim 1 wherein said external local bus (102) is a Peripheral Component Interconnect (PCI) bus. An integrated circuit according to claim 1 wherein said first external communications channel is a Small Computer Standard Interface (SCSI). An integrated circuit according to claim 3 wherein the integrated circuit further comprises a SCSI communications controller unit (110) operatively coupled to the second plurality of interface terminals (118). An integrated circuit [105] according to Claim 4 wherein the SCSI communications controller unit [110] includes: a SCSI communications-channel state-sequencer [111] for sequencing through predefined communication protocols of the SCSI communications channel; a SCSI FIFO [115] for temporarily storing and transferring SCSI data; and a SCSI DMA-controller [112] for controlling data block transfers between the SCSI FIFO [115] and the local bus interface means [170,171] . An integrated circuit [105] according to Claim 1 wherein said second external communications channel is an Ethernet channel. An integrated circuit [105] according to Claim 6 wherein the integrated circuit further comprises an Ethernet communications controller unit [120] operatively coupled to the third plurality of interface terminals [128] . An integrated circuit [105] according to Claim 7 wherein the Ethernet communications controller unit [120] includes: an Ethernet communications-channel state-sequencer [121] for sequencing through predefined communication protocols of the Ethernet communications channel; an Ethernet FIFO [125] for temporarily storing and transferring Ethernet data; and an Ethernet DMA-controller [122] for controlling data block transfers between the Ethernet FIFO [125] and the local bus interface means [170,171] . An integrated circuit [105] according to Claim 7 wherein said first external communications channel is a Small Computer Standard Interface (SCSI). An integrated circuit [105] according to Claim 9 wherein the integrated circuit further comprises a SCSI communications controller unit [110] operatively coupled to the second plurality of interface terminals [118] . An integrated circuit [105] according to Claim 10 wherein the SCSI communications controller unit [110] includes: a SCSI communications-channel state-sequencer [111] for sequencing through predefined communication protocols of the SCSI communications channel; a SCSI FIFO [115] for temporarily storing and transferring SCSI data; and a SCSI DMA-controller [112] for controlling data block transfers between the SCSI FIFO [115] and the local bus interface means [170,171] . An integrated circuit [105] according to Claim 1 wherein said second external communications channel is an analog-signal based channel. An integrated circuit [105] according to Claim 12 wherein the first plurality of local bus interface terminals [180] are positioned about a first portion of the periphery of the integrated circuit substrate and wherein the third plurality of interface terminals [128] are positioned about an opposed second portion of the periphery of the integrated circuit substrate. An integrated circuit [105] according to Claim 13 wherein the integrated circuit substrate is rectangular in shape, the first portion of the integrated circuit periphery bends about a first corner of the rectangular shape, and the second portion of the integrated circuit periphery bends about a diagonally-opposed second corner of the rectangular shape. An integrated circuit [105] according to Claim 13 wherein the first and second portions of the integrated circuit periphery are spaced apart from one another.

Inventors: KUO CHEN-JEN, WU CHIH-SIUNG, KUO, CHEN-JEN, WU, CHIH-SIUNG
Applicants: ADVANCED MICRO DEVICES INC, ADVANCED MICRO DEVICES INC.
Application year: 1994
Main classification: G06F13
IPC codes: G06F13