HIGH SPEED ACTIVE BUS

Abstract: A high speed bus structure comprises an active bus wherein a number of logic functions which control the operation of the bus are removed from the modules (40) and centrally incorporated into the bus. The amount of bus functionality provided by the modules (40) is minimized, decreasing the complexity and computational overhead of the modules (40) and traffic on the bus that are attributable to supporting the functionality of the bus. The number of bussed signal lines (10) is minimized by eliminating the bused lines relevant to the centralized bus functions and substituting dedicated signal lines (30) to connect the modules (40) inserted into the bus and the bus components (20) providing the centralized logic functions. Thus certain states or commands which were separate commands are incorporated into the basic bus commands or communicated through the dedicated signal lines (30) which connect the centralized bus components (20) and the modules (40).

Description: HIGH SPEED ACTIVE BUS BACKGROUND OF THE INVENTION A bus is a group of signal lines over which information is transferred from any of several sources to any of several destinations. A bus is typically a passive device which is part of backplane and is used to electrically connect a plurality of modules or circuit boards that are inserted into or attached to the backplane. A bus is referred to as a passive device because the logic or intelligence required to operate the bus is not part of the bus. Instead the active logic which provides the intelligence to make the bus function is contained in the modules which are inserted into the backplane. Because the active logic is located in the modules which plug into the bus and the specific modules to be inserted into a particular bus are generally unknown, many modules will contain duplicate circuits to support the bus operation functions. Depending upon the modules inserted into the bus, the circuits on all but one of the modules will be disabled because only one circuit is required to control the operation of the bus function. In another type of bus, the logic functions required to control the operation of the bus are distributed among a plurality of modules which are "daisy-chained" together, each module providing a portion of the functionality. An example of a bus is referred to as the Future Bus, IEEE Specification Number 896.1 , 1987. In order to increase the speed of a system, the speed of the bus as well as the speed of the modules must be increased. Thus, as the processing speed of the modules which plug into the bus increase, so does the need for increasing the speed of the bus. It follows that one problem evident in present busses is the speed of information transferred in the bus and the speed at which a bus transaction is performed. A problem seen in present busses is the number of signal lines required to accommodate different types of signals and signal conditions. This adds to the complexity and therefore the cost of the bus as well as add to the complexity and costs of the modules which plug into the bus. Thus, while some busses attempt to provide for most signal conditions which may occur by providing separate signal lines for each condition, other busses simply do not provide for these signal conditions. An example of this problem arises with respect to error coding. An error can occur on the bus for a variety of reasons such as inaccessible input/output devices, inaccessible memory or system failure. Many busses provide a single error code which indicates that an error has occurred. No further information is provided. In response to this error code, the processor halts its present processing and attempts to determine the cause of the error. If the system has crashed or failed, the processor has already halted and therefore the cause of the bus error is indeterminable. SUMMARY OF THE INVENTION It is therefore an object of the invention to provide a high speed bus that is practical to use in both a single processor and multiple processor environment. It is an object of a present invention to provide a bus structure that is cost effective, easy to implement and is system efficient. It is further an object of the present invention to provide a bus structure which provides for the determination and indication of bus errors which occur such that additional processor time is not required to determine the source of the error and actions may be taken in response to the error. A high speed bus structure is provided which makes the bus effective and practical to use for both single processor and multiple processor environments. This is achieved by providing an active bus wherein a number of logic functions which control the operation of the bus are removed from the modules and are centralized and incorporated into the bus. The amount of bus functionality provided by the modules is minimized therefore decreasing the complexity and computational overhead of the modules and traffic on the bus that are attributable to supporting the functionality to operate the bus. The number of bussed signal lines is minimized by multiplexing and by eliminating the bussed lines relevant to the centralized bus functions. In place of the bussed signal lines, dedicated signal lines connect the modules inserted into the bus and the bus components providing the centralized logic functions. Thus certain states or commands which were separate commands are now incorporated into one of the basic bus commands or communicated through dedicated signal lines which connect the centralized bus components and the modules. Furthermore, certain signal lines not considered to be directly related to system performance are eliminated and incorporated into a bus transaction. A bus protocol is provided wherein the address and data information of the command are multiplexed on to the bus from the transmitting or master module to the receiving or slave module. During the transmission of the first plurality of signals multiplexed, referred to as the address phase, the physical address of the device and transaction specific information are transmitted. One or more subsequent signal transmissions, referred to as the data phase, transfer the data relative to the information transmitted during the address phase. In addition, a means is provided which minimizes the decrease in bus speed caused by a single device controlling and preventing other devices access to the bus for an extended period of time. Furthermore, the bus structure provides for the encoding of bus errors, thereby providing detailed error codes and minimizing the amount of processor overhead required to determine and respond to error signals. BRIEF DESCRIPTION OF THE DRAWINGS The objects, features and advantages of the present invention will be apparent from the following detailed description of the invention in which: FIG. 1 is a block diagram illustration of the bus of the present invention. FIG. 2 illustrates the physical signals employed in the bus of the present invention. FIGS. 3a, 3b and 3c are timing diagrams which illustrate the electrical protocols associated with the signal lines employed in the preferred embodiment of the present invention and Fig. 3c shows an exemplary holding amplifier utilized in the preferred embodiment of the present invention. FIG. 4 illustrates the transaction specific bus information used during the address phase in the bus of the present invention. FIG. 5 illustrates the transaction type encoding employed in the bus of the present invention. FIG. 6 illustrates the transaction size encoding employed in the bus of the present invention. FIG. 7 illustrates the transaction status encoding used in the bus of the present invention. FIGS.δa, 8b and 8c are timing diagrams which illustrate the read operations. FIGS.9a, 9b and 9c are timing diagrams which illustrate the write operations. FIGS.IOa and 10b respectively are timing diagrams of the retry and relinquish and retry operations. FIGS.11a, 11b and 11c are timing diagrams which illustrate the implementation of error codes as acknowledgement of a bus operation. FIGS.12a and 12b are timing diagrams which illustrate the use by the arbiter of the MBB bussed signal line and MBR and MBG dedicated signal lines. FIG. 13 is a timing diagram which illustrates the coherent invalidate operation. FIGS.14a, 14b and 14c are timing diagrams which respectively illustrate the coherent read operation of shared data, the coherent read of owned data from long-latency memory and the coherent read of owned data from fast memory. FIGS.15a and 15b are timing diagrams which respectively illustrate the coherent read and invalidate of shared data and the coherent read and invalidate of owned data operations. FIG. 16 is a timing diagram which illustrates the coherent write and invalidate operation. DETAILED D ESCRIPTION OF THE INVENTION An active bus is provided in which the logic required to provide and control various bus functions are removed from the modules which are attached to the bus. These bus functions are incorporated into the bus as centralized components accessible by the modules. This is illustrated in Fig. 1. The bus structure of the present invention comprises bussed signal lines 10, centralized components 20, and dedicated signal lines 30. The bussed signal lines 10 related to those functions are eliminated and connections between the centralized components 20 and the modules 40 are made through dedicated signal lines 30. Furthermore, the number of different bus transactions which occur on the bussed signal lines is minimized. As a result, the bus structure and bus operation are simplified and the speed of the bus is increased for operation in both the single processor and multiple processor environment. In the following description for purposes of explanation, specific memory sizes, bit arrangements, numbers, data transfer rates, etc. are set forth in order to provide a thorough understanding of the present invention. It will be apparent to one skilled in the art, however, that the present invention may be practiced without these specific details. In other instances, well known circuits and components are shown in the block diagram form in order not to obscure the present invention unnecessarily. The preferred embodiment of the bus is designed to be used with CMOS technology. As such, certain power specifications and timing protocols are optimized to reduce power consumption and work efficiently with CMOS devices. It will be apparent to those skilled in the art that those specifications may be changed without departing from the spirit of the present invention. Throughout the following description, certain bus lines will be described as being "active high" or "active low." This terminology is used to indicate whether a particular bus signal in question is, or is not, asserted and relevant to the bus operation. It will be apparent, however, that it is a matter of design choice whether a given bus line is active high or active low. While the preferred embodiment has been designed to maximize data transfer speed and minimize power consumption, it will be appreciated that changing the design of the bus to change an active high line to active low is within the scope of the present invention. Similarly, as is illustrated below, the preferred embodiment of the bus is completely synchronous. All bus signals change on the rising edge of the clock pulses. The synchronous design is desirable because high data transfer rates require high clock speeds, and it is easier to detect clock pulse edges at high speeds. It will be appreciated that the use of the rising edge of the clock pulses is a matter of design choice and that the present invention could be made completely synchronous with the falling edges of the clock pulses. Added flexibility is provided to the bus and the modules which plug into the bus because the logic originally inserted into each of the modules is eliminated from the modules and a single centralized unit on the bus is provided which contains the logic necessary to supply the functionality. Therefore, the modules do not limit how certain functions are implemented and the implementation of such functions may be changed without affecting the modules. The centralized components which perform and control certain functions may be easily changed simply by modifying the logic of the centralized component which is part of the bus. The functions which are incorporated as centralized functions on the bus are preferably those functions which are not easily implemented in a distributed manner among the modules which are attached to the bus. Most preferably these functions include, but are not limited to, arbitration, interrupt handling, system reset and the system clock. By providing centralized functions as centralized components incorporated into the bus and connecting the centralized components to the modules via dedicated lines, the bus complexity and overhead are decreased. The centralized components are invisible to the bussed signal lines because they are separately handled through dedicated signal lines. Thus the overhead, and therefore decrease in bus speed, is decreased enabling the bus to work at high speeds regardless of the complexity added to the bus due to a multiple processor environment. Referring to Fig.2, the signals employed in the bus of the present invention are described. Fig. 2 depicts the bus signals used in the preferred embodiment which may be used with a 32 bit processor. As is illustrated by Fig. 2, the number of bussed signal lines required for the bus is minimized. Bussed signals are limited to a 64 bit wide address/control/data signal lines, address strobe signal line, data ready signal line, retry signal line, error indicator signal lines and asynchronous error out signal line. The signal lines, bus request signal line, bus grant signal line, interrupt level signal lines and module identifier signal line have been removed from the bussed signal lines and are dedicated lines between each module and a corresponding centralized function. For example, the bus grant and bus request signal lines are dedicated signal lines between each module and the arbiter which is now a centralized function in a component which is part of the bus. The interrupt level signal lines are dedicated signal lines between each module and the centralized component which handles interrupts. The ID signal lines are dedicated lines which connect the centralized component which determines module ID'S to each module. The module ID's may be distributed by the centralized component according to the module's location on the bus. Alternatively, the module ID may be hardwired to the ID signal lines; the module ID determined according to the module's location on the bus. Each bus transaction consists of two phases. The address control/data lines contain different information during each phase. During the first phase, referred to as the address phase, the address and transaction specific information is transmitted on the bus and during the second phase, referred to as the data phase, the data is transmitted. During the address phase, a portion of the 64 bit wide address/control/data signal lines is used to transmit an address from the master module (the module sending out the request) to the slave module (the receiver of the request) the remaining unused bits consist of transaction specific signals and status bits for the transaction. Preferably, during the address phase, a 36 bit address is transmitted from the master module to the slave module and the remaining 28 bits of the address/control/data signal lines consist of transaction specifics signals and status bits for the transaction. The transaction specific bits provide specific information regarding the bus transaction which, in prior art devices, may be reflected as a separate bus signal lines. Though the bus of the present invention, there exists a core set of bus transactions which may encompass a broad variety of situations and transactions on the bus through the use of the transaction specific bits that are transmitted during the address phase. in many prior art buses, the signal lines which make up the bus are digital lines which can be driven to either a high level (1) or a low level (0). These signal lines may be asserted by being driven active low by a module. When the line is to be deasserted, the module ceases driving the line low and pull-up resistors return the line to its normally high state. The speed which the line is returned to its in¬ active (high) state is a function of the capacitance of the line and the value of the pull-up resistance. Whenever a tri-statable signal is asserted, the module containing the driver for that signal first pulls the signal low (asserted). After asserting the signal, the driver will drive the signal high (inactive) before tri-stating (i.e. turning itself off)- The signals lines are connected to passive pull-up resistors which bring the signals to the inactive levels within a short time period. Because of the low power DC specifications of CMOS devices it is not possible to provide active pull-up resistors which change the signals from the active to inactive levels within a short time period. The bus of the present invention is not limited to a particular protocol for asserting and deasserting signal lines. However, in the preferred embodiment, a combination of pull-up resistors and holding amplifiers are connected to the signal lines as biasing means to maintian the signal line during those times the signal line is not active, i.e., not driven by a driver. The pull-up resistors connected to the signals lines do not change the state of the signal from active to inactive. The resistors merely maintain the signal at its inactive level. The signal lines are driven both low and then high, thereby avoiding the problem of floating signals which is present in many prior art bus system. This is illustrated in the timing diagram of Fig. 3a which shows a signal line driven at different times by two different drivers. At time Tι, the signal line is in an inactive state and is held high by the pull-up resistor. At time T2, the signal line is driven active low by a first driver. At time T4, the signal line is driven active high by the first driver and time T5 -T7 the driver is no longer driving the signal line and the signal line is held high by the pull-up resistor. At time Tβ, the signal line is driven active low by a second driver and at time Tg the signal line is driven high by the second driver which then turns itself off leaving the signal line in a high state as maintained by the pull-up resistor. This protocol is described in co-pending U.S. Patent Application Serial No. 07/387,227, filed July 28, 1989 which is a Divisional Application of U.S. Patent Application Serial No. 07/313,250, filed February 21, 1989, assigned to the Assignee of the present invention and is herein incorporated by reference. Alternatively, a holding amplifier is used in place of a pull-up resistor. The holding amplifier functions as a low driver amplifier that remembers the previous state of the line and tries to maintain that level with a high impedance. An exemplary holding amplifier is illustrated in Fig. 3c. The input signal is received by the input buffer/amplifier which amplifies the signal to drive the signal on the the input buffer 70 is transmitted on the bus and is also input to a weak amplifier 80 which has a high impedance and weak drive capacity. The weak amplifier causes t input to the imput buffer 70 to be held to the last driven value until the input to the inf buffer is driven to a different value by the input signal to the circuit. Similar to the pu up resistors, the weak amplifier of the holding amplifier is easily over-ridden by sign drivers (such as those in the modules) and does not affect signal timing or voltage levels. This is illustrated by the timing diagram of Fig. 3b. At time Tι. the signal line held low by the holding amplifier. At time T2, the signal line is driven low by the first driver. When the first driver becomes inactive, at time T , the holding amplifier holds the signal line in the low state. At time T7, the second driver drives the signal line hi and becomes inactive at time Tβ, at which time the holding amplifier maintains the signal line in the high state. At time T-n, the signal line is driven low by the second driver and is maintained low at time T 1 2 by the holding amplifier. Similarly, at time 1 the first driver becomes active and drives the signal line high and becomes inactive time T 1 5 whereby the holding amplifier maintains the signal line in a high state. Preferably the biasing means connected to each of the 64 address/control/data lines (MAD [63:0]) are holding amplifiers. This is preferred because unlike control signal lines, the information on MAD [63:0] does not need to be asserted and deasserted to convey the information. Rather, the information need only be present on the signal lines when control signals are asserted and deasserted which indicate that the information is present . Thus, it is desirable to use holding amplifiers because after signals are asserted on the MAD [0:63] lines, the holding amplifier maintains those signals in that state until another driver becomes active and drives the signal lines. Similarly, it is preferred that the MSH signal line is connected to a low impedance pull-up resistor because of its differing electrical characteristics provided because MSH can be simultaneously driven by multiple drivers. The remaining signal lines may use either a pull-up resistor or a holding amplifier as a biasing means depending upon the implementation used. Referring to Fig. 4, the transaction specific information (also referred to herein as "multiplexed signals") is described. The first series of bits, that is bits 0 to 35, indicate the physical address of the component with respect to the current transaction which is multiplexed on to the bussed signal lines. The next series of bits, 39 to 36, identify the transaction type of the bus transaction. Presently, in the single processor environment, the two transactions available are read and write as shown in Fig. 5. Four additional transaction types are employed for the multiprocessor environment. These additional bus transactions, Coherent Read, Coherent Invalidate, Coherent Read and Invalidate, and Coherent Write and Invalidate, provide for multiple processor cache operations. The next three transaction specific bits are referred to as the data size bits which indicate the transaction data size information. The size field is encoded as logarithm, base 2, of the number of data bytes transferred. For example, as illustrated in the chart of Fig. 6, the transactions size may be a byte, a half-word, a word, double word, or bursts of multiple bytes. It should be noted that for transactions having a data size greater than 8 bytes more than one bus ready (MRDY) signal will be needed. This is accomplished using a feature referred to as "wrapping". In this process, the first address transmitted during the address phase defines the first physical address of the data to be transferred. Data transferred on subsequent acknowledgments will be determined by incrementing address bits MAD [n:3] by a value of 1 where n = 3 for a size of 16 bytes, n = 4 for a size of 32 bytes, n = 5 for a size of 64 bytes and n = 6 for a size of 128 bytes. As the address is incremented, the MAD [n:3] field will wrap around without incrementing. MAD [35:n+1] remains unchanged for the entire transaction. Status bit MAD [44], referred to as the cache transaction indicator, indicates the current bus transaction is cacheable in the system caches attached to the bussed signal lines. The lock indicator signal or status bit permits a component to lock the bus and perform a number of indivisible transactions. This may be used to lock a master module to a particular slave module. The bus boot mode/local bus indicator (MBL) MAD [45], is an advisory bit asserted by processor modules during the address phase of boot mode transactions or during local bus transactions in order to provide an expanded address during boot, thereby providing access to additional memory. The supervisor access indicator (SUP) MAD [59] is asserted by processor modules to indicate that the transaction requires privileged or supervisor access. This is typically used during error recovery to determine whether the error occurred during a user process or during a supervisor access. If the error occurred during a user process, the error may typically be isolated from a system- wide error by halting the user process. However, if the error occurs during supervisor access, the system may be halted. During the data phase, the address/control/data lines are used to transmit the data relevant to the current bus transaction. The remaining physical signals perform the following functions: MAS is the memory address strobe signal line. A signal is asserted on this line by the master module during the first cycle of the bus transaction to indicate that the current cycle of the bus transaction is the address phase of the transaction. The MRDY, MRTY and MERR signal lines respectively represent the bus ready transaction status bit the bus retry transaction status bit, and the bus error transaction status bit. The MRDY, MRTY and MERR signal lines indicate a three bit status of the transaction currently on the bus providing up to a total of eight different status, and are typically asserted by the slave module in response to a transaction request by the master module. When MRDY is asserted by itself it indicates that valid data has been transferred. When the MRTY bit is asserted by itself, it indicates that the slave component wants the master component to abort the current transaction immediately and start over. When MERR is asserted by itself, it indicates that a bus error or other system implementation specific error has occurred. It has been found that most errors occurring on the bus are due to a time out because a module is inaccessible, a bus error or an uncorrectable error which occurred in the system. Typically, if an error occurs, a bus will activate the error signal line indicating that an error occurred. However, a single error line does not relay any information to the component or device which has requested a transaction through the bus regarding the type of error which has occurred. If an error signal is received, the processor has to take time out from its normal processing duties to determine the cause of the error and perform an action in response to the error. The bus of the present invention provides a plurality of different error status using the transaction status bits on the bussed signal lines. Thus, the transaction status bits provide information relevant not only to errors but also valid bus transfers. By using the status bits error coding, the complexity and overhead of the system is decreased and while the sophistication of the error detection and correction algorithms are increased. The transaction status and status bit organization of the preferred embodiment is illustrated in Fig. 7 which shows the organization sequence of MERR, MRDY and MRTY. When all three have values of one (i.e. inactive state) the bus cycle was idle; when MRTY is in a low state the transaction status reflects a relinquish and retry state; when MRDY is in a low state, a valid data transfer has occurred; and when MERR is low by itself or in combination with MRDY or MRTY a specific error has occurred such as bus error, time out or an uncorrectable system error. Referring back to physical signal summary of Fig. 2 the MBR physical signal line, bus request, is a dedicated line on which a signal is asserted by the master device on the bus to gain access to or ownership of the bus. MBG, bus grant, is a dedicated signal line on which a signal may be asserted by a centralized arbiter component, incorporated into the bus, when a particular master device is granted ownership of the bus. MBB, bus busy, is a bussed signal line on which a signal is asserted as an output during the entire bus transaction including locked cycles indicating that the bus is busy. A device wishing to access the bus samples this signal to determine when it can obtain the bus. As soon as the currently accessing device releases the bus and the MBB signal is reset, another device can access the bus. RSTIN is the reset input signal line. A signal is asserted on this line by a device to indicate that the system is to perform a reset action which initializes all devices residing on the bus to a predefined state. A signal is asserted on the dedicated RSTOUT line, reset output signal, to have the system perform some reset action which is system dependent. AERR, asynchronous error detect out signal, is a bus signal line on which a signal is asserted by a module to indicate that an asynchronous error was detected. The dedicated IRL lines, interrupt request level, are used by processor modules to transfer the interrupt request level to the t centralized interrupt handler. The dedicated ID lines provide signals indicative of the module identifier of the component connected to the bus. During the address phase of a bus transaction, the code indicated by the ID lines is reproduced on the multiplexed address/data control lines. This provides the means for uniquely identifying each module which is useful to distinguish processor modules in the multiple processor environment. In particular it provides the means to identify the source of a transaction which is important for the implementation of the relinquish and retry function. In the bus of the present invention, the bus transactions in a single processor environment have been limited to two transaction types: read and write. In a read transaction, the master module, such as a processor, will read information from a slave module, such as memory, and in a write transaction the master module will write data to a slave module. The slave module in response to a request to read and write will acknowledge the request by enabling the proper signal lines, MERR, MRDY, MRTY which provides a three bit transaction status code. This is illustrated by the timing diagrams of Figs.8a - 8c and 9a - 9c which show the timing diagrams for word read and write transactions and read and write transactions in which the data is transmitted in bursts. The first transaction status that may be asserted by the slave module is the idle state. The idle state occurs when there is no bus activity or when it is necessary to assert wait states in between the address cycle and the data cycle, or between consecutive data cycles. Another transaction status which may be returned over the MERR, MRDY and MRTY signal lines is referred to as "relinquish and retry". A problem which frequently occurs on the bus is that a single slow module will monopolize the bus for an extended period of time. The problem worsens as the speed of the bus increases because the overall speed of the bus is decreased by a factor attributable to the amount of time modules have to wait to gain access to the bus. This problem was addressed using a "retry" function for a bus operating in a single processor environment by pending patent applications: 07/313/250 filed February 21 , 1989; 07/387,599, filed July 28, 1989; and 07/307,227 filed July 28, 1989 and is illustrated by the timing diagram of Fig. 10a. The relinquish and retry acknowledgement of the present invention provides the means to limit the amount of time a module will monopolize the bus. If a slave module receives a transaction request on the bus from a master module and it cannot receive or transmit data immediately, it will capture the ID of the master module and transmit a relinquish and retry acknowledgement to the master module by asserting the code for a single bus cycle. This signal indicates to the master module that the slave module is not ready, and rather than monopolize the bus while waiting for the slave module to be ready, it should release the bus immediately so that the bus can be rearbitrated and possibly used by another master module that is waiting to use the bus. When the master module releases the bus, the corresponding transaction is suspended. The suspended transaction must then wait until the master module again obtains ownership of the bus before the transaction can be completed. On a burst transaction, that is one which involves multiple transactions and multiple acknowledgements, is typically used to transfer multiple contiguous blocks of data, a relinquish and retry acknowledgement can only be asserted on the first data transfer and cannot be asserted in the middle of the transfer of the multiple contiguous blocks of data. This is to prevent the break-up and retransmission of contiguous blocks of data. It is important in a multi-processor environment for the slave module which issues the relinquish and retry signal to capture the ID which is output through the multiplexed address/control/data lines of the master module whose transaction is being postponed in order to know which master module should receive acknowledgment when the slave module completes the transaction. If a master module with an ID other than that captured by the slave module should attempt to access the slave module while the module is busy, it should simply be given a relinquish and retry acknowledgment. The timing diagram for the relinquish and retry is illustrated in Fig. 10b. Another acknowledgement sent by the slave module is the valid data transfer acknowledgement which indicates that valid data has arrived on a read cycle or the data has been accepted by the slave module and the writing master module should stop sending the data. Still another status code asserted during the acknowledgement cycle is the retry which differs from the relinquish and retry in that the master module does not relinquish the bus but simply retries to access the slave module. As discussed earlier, there are three error code acknowledgement signals which may be asserted. The first error code that may be asserted is a bus error, which typically indicates a size error but may also be used to indicate an error which is system implementation dependent. The second error code that may be asserted is the time out, typically generated after a predetermined number of cycles have lapsed without any acknowledgement. The third error code is an uncorrectable error code which is mainly used by the address memory controller to inform the requesting controller that during the process of accessing the data, some sort of uncorrectable error had been encountered (e.g. parity error). The implementation of the error codes is illustrated by the timing diagrams of Figs. 11a - 11c. As discussed above, certain mechanisms or functions have been incorporated into the bus as components which provide centralized functions. These are correspondingly removed from the modules which connect to the bus. The corresponding bussed signal lines have been removed from the bused lines in order to simplify the physical structure of the bus, to decrease the amount of information transmitted over the bussed signal lines and therefore increase the speed of the bus. One mechanism removed from the modules is the bus arbitration mechanism (the arbiter). By making the arbiter a centralized component on the bus, the overhead of the modules and the amount of communication traffic over the bussed signal fines is decreased. Furthermore, the exact algorithm used by the arbiter is system implementation dependent, rather than module dependent, thereby providing added flexibility to the bus configuration because the bus is not limited to a specific implementation of an arbiter. The centralized arbiter uses the dedicated signal lines MBR, and MBG and bussed signal line MBB to communicate with the modules connected to the bus. This is illustrated by the timing diagrams of Figs. 12a and 12b. For example, the master module will activate a MBB signal when the bus is busy. If the bus is not busy, it is granted to a module and the arbiter will cause the MBG signal to be set. Another function removed from the modules is the interrupt handler. The interrupt handler uses dedicated signal lines, interrupt level signal line and asynchronous error out signal line to communicate with the modules connected to the bus. Similarly, it is preferred that the module ID function and the system clock function are implemented in centralized components on the bus and are connected to the modules via dedicated signal lines. Additional signals of the bus structure provides for multiple processor systems and a cache consistency protocol to keep consistent multiple caches using the bus. Only the minimal physical signals and types of the bus transactions are used thereby maintaining the simplicity of the bus while providing the functionality required. The additional physical signals required with the second tier structure, as shown in Fig. 2, are the memory inhibit (MIH) and shared block indicator (MSH) signals line. The shared block signal line is used to inform all caches that a line is shared. Whenever a read block request appears on the bus, each processor module immediately searches its cache directory for the particular block of data. If a valid copy is found, the MSH signal is asserted during the second or subsequent cycle after the address cycle. This indicates to the caches that contain the line to update the status to reflect a shared state. A signal on the MIH signal line is asserted by the owner of a cache block during the second cycle after the address cycle to inform the main memory that the current bus block read request should be ignored. This is because the owner, not the memory, will be responsible for delivering the cache data block. If the MIH signal is not asserted, the main memory will be responsible for delivering the data. The bus provides for the option of connecting virtual addressing caches to the bus. In addition to the transaction bits transmitted during the address phase of a transaction, as shown in Fig. 4, eight bits are provided for virtual addressing of virtually indexed caches. The bits are used to overcome the "virtual address aliasing" problem associated with large virtual caches by insuring the same index into the virtual directory as well as the snooping directory. The address bits ensure that direct mapped virtual caches are consistent regardless of aliasing. This is explained in copending patent application, Serial No. , filed , entitled : , which is herein incoφorated by reference. In the multi-processor environment, the same transaction type signals as shown in Fig. 5 are used to define the operations in the multiple processor environment with respect to caches by setting the size equal to the block size. Read operations of cachable data, are enabled by issuing the coherent read operation. However, if no cachable data operations are involved the signal lines are not set. As illustrated in Fig. 5, the additional transaction types provided in the multi-processor environment are coherent read, coherent invalidate, coherent read and invalidate, and coherent write and invalidate. The coherent invalidate operation, illustrated by the timing diagram of Fig. 13, is used when a cache is performing a write into shared data. Before the write can actually be performed, all other system caches must have their local copies invalidated by the coherent invalidate transaction. The coherent read operation is a block read transaction that maintains cache consistency. The participants in the transaction are the requesting cache, the other caches which snoop and memory. There are three situations which caches that snoop can experience: a) For a snooping cache which does not have a copy of the requested block, it simply ignores this transaction; b) For a snooping cache which does have a copy of the requested block but does not own it, it simply asserts a signal on the MSH line; c) For a snooping cache which owns the requested block, it will assert signals on both the MSH and MIH signals lines and will subsequently transmit the requested data. As discussed above, the MIH signal is only asserted by a snooping cache which owns the requested block. This signal affects three parties, the snooping cache, the memory and the requesting cache. The signal tells the requesting cache that it may have received stale data from memory and to ignore that data and wait for correct data. The signal tells memory to stop sending data immediately. Timing diagrams for the coherent read operation of shared data, coherent read operation of owned data from long-latency memory and the coherent read of owned data from fast memory are respectively illustrated in Figs. 14a - 14c. The coherent read and invalidate transaction combines a coherent read transaction with a coherent invalidate transaction in order to reduce the number of coherent invalidate transactions. This transaction is issued by caches that are performing coherent reads with the knowledge that they intend to immediately modify the data. Upon detection of this transaction on the bus, a cache will first provide the data and then invalidate its copy of the block. Timing diagrams for a coherent read and invalidate of shared data and coherent read and invalidate of owned data operations are respectively illustrated in Figs. 15a and 15b. Similarly, the coherent write and invalidate transaction, illustrated by the timing diagram of Fig. 16, contains a write transaction with a coherent invalidate transaction, in order to reduce the number of coherent invalidate transactions required. Upon detection of the transaction, each cache connected to the bus invalidates its copies of the data and the memory is updated in correspondence with the write. While the invention has been described in conjunction with the preferred embodiment, it is evident that numerous alternatives, modifications, variations and uses will be apparent to those skilled in the art in light of the foregoing description.

Claims: CLAIMS 1. An active high speed bus to connect at least one processor module and at least one device module, said bus, processor module and device module being located on the same circuit board, said bus comprising: a first plurality of bussed signal lines to connect the modules, comprising; bussed signal lines for transmitting address information, transaction specific information and data of a bus transaction, said address and transaction specific information transmitted across the bussed signal lines during a first time frame and said data being transmitted across the bus during a second time frame of the bus transaction; said address specific information comprising the address of the device to which the transaction specific information is sent; said transaction specific information comprising the bus transaction type and bus transaction data size, said bus transaction type comprising read and write operations; a second plurality of bussed signal lines which transmits a multiple- bit code returned by the device module to the processor module indicative of the status of the current bus transaction; a plurality of bus components which provide centralized logic functions to control the modules connected to the bus, comprising; an arbiter to perform arbitration of the modules which require access to the bussed signal lines; an interrupt handler to handle interrupts issued by the modules; a system reset function which resets the bus related status of the modules connected to the bus; and a system clock function which provides clock signals to the modules; and a plurality of dedicated signal lines which connect each module to each bus component which provides centralized logic functions. 2. The high speed bus as described in claim 1, further comprising a second tier of bussed signal lines and bus transactions comprising: bussed signal lines to operate in a multiple processor environment, said signal lines comprising a shared block indicator signal line and memory inhibit signal line to control multiple cache devices in a multiple processor environment; and said transaction specific information further comprising bus transaction types to perform read and write operations on cacheable data which may reside in a cache. 3. The high speed bus as described in claim 2, wherein said address information comprises virtual address information to transfer data to and from virtual cache devices. 4. The high speed bus as described in claim 1 , wherein said transaction specific information compresses module identification information and advisory information regarding the bus transaction. 5. The high speed bus as described in claim 1 , wherein the plurality of bus components further comprises ID logic which assigns an ID to each module connected to the bus. 6. The high speed bus as described in claim 1 , wherein the different status returned comprise: status indicative that the bus is idle; status indicative that a valid data transfer occurred; status indicative that a bus error occurred; status indicative that a time out has occurred; status indicative that an uncorrectable error has occurred; and status that the processor module should relinquish the bus and subsequently retry to gain access to the bus; and status indicative that a retry has occurred. 7. The high speed bus as described in claim 1 , wherein if the device module is unable to complete the transaction within a predetermined period of time allotted for a bus transaction or needs to resolve a deadlock situation, a status indicative that the processor module should relinquish the bus and subsequently retry to gain access to the bus is returned to the processor module from the device module during a third time frame; said bus further comprising means to provide the ID of the processor module to the device module; said processor module comprising means, whereby, upon receipt of the status, the processor module relinquishes the bus, and subsequently attempts to regain access to the bus; said device module completing the transaction with the processor module when the processor module regains access to the bus and the device module is able to complete the transaction and the processor module ID matches the ID provided to the device module when the status was returned; wherein the decrease in bus speed due to a module controlling the bus while waiting for a response from a device module is minimized. 8. The high speed bus as described in claim 7, wherein after the status is returned and the processor module relinquishes the bus and a second processor module with a different ID gains control of the bus and attempts to access the device module, if the device module cannot complete the transaction with the second processor module the device module returns a status indicative that the second processor module should relinquish the bus and subsequently retry to gain access to the bus. 9. The high speed bus as described in claim 1 wherein signals on the signal lines bus change synchronously with a rising edge of a clock signal asserted by the system clock function. 10. The high speed bus as described in claim 1 , said signal lines having connected to it driving means, controllable by the module to drive the signal lines to a predetermined state indicative of the status of the signal line; after the driving means is turned off, biasing means to maintain the signal line in its present state. 11. The high speed bus as described in claim 10 wherein the biasing means comprises pull-up resistors. 12. The high speed bus as described in claim 10 wherein said biasing means comprises a holding amplifier. 13. The high speed bus as described in claim 10 wherein the driving means comprise the modules. 14. The high speed bus as described in claim 10 wherein the biasing means connected to the bussed signal lines for transmitting address information, transaction specific information and data comprises holding amplifiers. 15. The high speed bus is described in claim 10 wherein the biasing means connected to control signal lines comprises pull-up resistors. 16. A method for transferring data during a bus transaction in a computer system among modules selectively coupled to a bus, comprising the steps of: transmitting a bus request signal from a processor module to an arbiter module over a first dedicated signal line; transmitting a bus grant signal from the arbiter module to the processor module over a second dedicated signal line; applying an address and transaction type code to a first plurality of bussed signal lines during a first time frame; applying data to the first plurality of bussed signal lines during a second time frame; applying a transaction status code to a second plurality of bussed signal lines indicative of the status of completion of the bus transaction. 17. The method of claim 16 wherein said bus further comprise a dedicated clock signal line connected to each module. 18. The method of claim 17 wherein signals on the bus change synchronously with a rising edge of a clock signal asserted over the clock signal line. 19. The method of claim 16 wherein said bus further comprises a clock signal line and wherein said signals on the signal lines change state synchronously with a rising edge of a clock signal asserted over said clock signal line. 20. The method of claim 16 wherein the different status return comprise: status indicative that the bus is idle; status indicative that a valid data transfer occurred; status indicative that a bus error occurred; status indicative that a time out has occurred; status indicative that an uncorrectable error has occurred; and status that the processor module should relinquish the bus and subsequently retry to gain access to the bus; and status indicative that a retry has occurred.

Inventors: BECHTOLSHEIM ANDRES, BUCHER TIMOTHY, KELLY EDMUND, BECHTOLSHEIM, ANDRES, BUCHER, TIMOTHY, KELLY, EDMUND
Applicants: SUN MICROSYSTEMS INC, SUN MICROSYSTEMS, INC.
Application year: 1990
Main classification: G06F13
IPC codes: G06F12, G06F13