The present invention relates generally to the data processing field, and more particularly, relates to a method and apparatus for implementing chip-to-chip interconnect bus initialization.
Point-to-point busses are used throughout the industry to communicate between separate chips. They provide advantages over shared buses in that point-to-point or chip-to-chip busses minimize the control overhead and are capable of running at higher speeds due to their lighter loading.
Some known buses use dynamic delay adjustment and training patterns to achieve link synchronization. A need exists for an improved method and apparatus for implementing chip-to-chip interconnect bus initialization.
A principal object of the present invention is to provide a method and apparatus for implementing chip-to-chip interconnect bus initialization. Other important objects of the present invention are to provide such a method and apparatus for implementing chip-to-chip interconnect bus initialization substantially without negative effect and that overcome many of the disadvantages of prior art arrangements.
In brief, a method and apparatus are provided for implementing chip-to-chip interconnect bus initialization. The chip-to-chip interconnect bus includes a first unidirectional bus and a second unidirectional bus for full duplex communications between two chips. A first receive initialization sequencer is connected to a first end of the first unidirectional bus and a first transmit initialization sequencer coupled to the first receive initialization sequencer is connected to the first end of the second unidirectional bus. A second receive initialization sequencer is connected to a second end of the second unidirectional bus. A second transmit initialization sequencer coupled to the second receive initialization sequencer is connected to the second end of the first unidirectional bus. Each transmit initialization sequencer includes a synchronization state for transmitting predefined SYNC symbols on the connected unidirectional bus and an idle state for transmitting IDLE symbols on the connected unidirectional bus. Each receive initialization sequencer includes a synchronization state for detecting a defined number of valid SYNC or IDLE symbols; and a run state for triggering the coupled transmit initialization sequencer for transmitting IDLE symbols on the connected unidirectional bus.
In accordance with features of the invention, a lower than normal bus frequency is used during the initialization process. The transmit initialization sequencer of a source device transmits predefined SYNC symbols on the connected unidirectional bus. The receive initialization sequencer of a destination device checks for a defined number of valid SYNC or IDLE symbols. When the receive initialization sequencer of a destination detects the defined number of valid SYNC or IDLE symbols, the receive initialization sequencer triggers the transmit initialization sequencer of the destination for transmitting IDLE symbols on the connected unidirectional bus. The transmitted IDLE symbols are detected by the receive initialization sequencer at the source, indicating that both ends of the interconnect bus have synchronized. Once link synchronization is established, the source transmits configuration information to the destination using normal bus messages. Programmable delay elements and configuration registers are set.
The present invention together with the above and other objects and advantages may best be understood from the following detailed description of the preferred embodiments of the invention illustrated in the drawings, wherein:
Having reference now to the drawings, in
Chip-to-chip interconnect 100 includes a chip-to-chip bus 110 formed by a pair of unidirectional buses 112 and 114 respectively connected between transmit block 102 of chip 1 and receive block 106 of chip 2, and transmit block 108 of chip 2 and receive block 104 of chip 1. The chip-to-chip bus 110 is a streaming parallel bus that provides full-duplex communication between the two devices, chip 1 and chip 2, using the two unidirectional buses 112, 114.
In accordance with features of the invention, methods are provided to initialize configuration registers and programmable, static delay elements at a receive end of a chip-to-chip interconnect bus. The chip-to-chip interconnect bus 110 is used to communicate the configuration information. This use of the chip-to-chip interconnect bus 110 removes any requirements for a side-band configuration bus or a control-point device that controls the initialization process.
In
In accordance with features of the preferred embodiment, custom CMOS designs are not required and a smaller silicon area is required as compared to conventional buses that use dynamic delay adjustment and training patterns to achieve link synchronization. The invention also allows for multiple bus configurations, for example, the chip-to-chip interconnect bus 110 can be configured to be a single 32-bit bus or 4 independent 8-bit buses which requires programmable clock selection that other buses to not have nor allow.
Referring now to
In
Referring to
In accordance with features of the preferred embodiment, at power-on reset and in the default configuration, the bus 110 runs at a first low frequency that guarantees proper operation with the default settings of the programmable delay elements D1202, D2204. Normal bus frequency is, for example, 250 MHz that provides bus throughput of 500 Mbps per pin. The bus 110 runs, for example, at ⅛ frequency of the normal bus frequency, such as 31 MHz, at power-on reset and in the default configuration.
Referring now to
At a SYNC state 404 of the receive initialization sequencer 400, the receiver at the destination end of the bus monitors incoming traffic for SYNC or IDLE symbols from the transmitter at the source end of the bus. After 8 SYNC or IDLE symbols are detected without any intervening errors, the receiver enters a link running (RUN) state 406. The RUN state 406 triggers the transmitter at the same destination end of the bus to start transmitting IDLE symbols. These IDLE symbols are detected at the opposite source end of the bus to indicate that link synchronization has occurred. The transmit initialization sequencer 300 enters an idle state 308 to start transmitting IDLE symbols. The source end of the bus detects that both ends of the bus have correctly synchronized.
In accordance with features of the preferred embodiment, the chip-to-chip bus 110 is used to communicate with the far end of the bus once synchronization is established. Configuration information is transmitted using normal bus messages from the source device to the destination device. After the configuration is written, the source device initiates a soft reset that commits the delay and configuration information and starts a new link synchronization sequence. After this second link synchronization has completed the bus runs at normal bus frequency and in the requested configuration. The delayed committing of configuration information is required because setting the programmable delay values for the clocks and some of the configuration bits can cause the link clocks to glitch. The resynchronization process allows the system to resynchronize and continue correct operation in a selected bus configuration.
Referring now to
In
While the present invention has been described with reference to the details of the embodiments of the invention shown in the drawing, these details are not intended to limit the scope of the invention as claimed in the appended claims.
A related United States patent application Ser. No. 10/147,682, entitled “METHOD AND APPARATUS FOR IMPLEMENTING MULTIPLE CONFIGURABLE SUB-BUSSES OF A POINT-TO-POINT BUS” by Jean Calvignac, Marco Heddes, Kerry Christopher Imming, Christopher Jon Johnson, Joseph Franklin Logan, and Tolga Ozguner, and assigned to the present assignee, is being filed on the same day as the present patent application.
Number | Name | Date | Kind |
---|---|---|---|
4850042 | Petronio et al. | Jul 1989 | A |
5260608 | Marbot | Nov 1993 | A |
5268937 | Marbot | Dec 1993 | A |
5412783 | Skokan | May 1995 | A |
5414830 | Marbot | May 1995 | A |
5495357 | Osterhout | Feb 1996 | A |
5625563 | Rostoker et al. | Apr 1997 | A |
6031473 | Kubinec | Feb 2000 | A |
6198752 | Lee | Mar 2001 | B1 |
6510549 | Okamura | Jan 2003 | B1 |
6687780 | Garlepp et al. | Feb 2004 | B1 |
6704516 | Dorsey et al. | Mar 2004 | B1 |
6738415 | Drost et al. | May 2004 | B2 |
Number | Date | Country | |
---|---|---|---|
20030217213 A1 | Nov 2003 | US |