A multi-chip package (MCP) includes two or more silicon die adapted in a single package. Sometimes the chips in a single package communicate with each other using a standard serial interface like a Peripheral Component Interconnect Express™ interconnect in accordance with the PCI Express™ Specification Base Specification version 2.0 (published Jan. 17, 2007) (hereafter the PCIe™ Specification) or another such protocol. These interfaces would typically be externally visible (i.e., outside the package) if the dies were packaged individually. However in an MCP as these interfaces are not coupled to the external package, the visibility of the interfaces is lost at the package level. One solution is to provide dedicated pins on the package to enable observability of these interfaces to the external world, e.g., for post-silicon debug. Considering the differential nature of these interfaces, sometimes 50-100 dedicated pins are needed on the package to obtain complete visibility. Another option is to provide bumps on the top of the package to enable interconnection with this internal link. The former solution can raise the complexity of routing of interconnection pins, while the latter solution can mandate the need for additional layers of the die. Either option increases the amount of connections and package real estate and thus raises costs.
Embodiments provide a hardware implementation to be integrated in a silicon component to deliver visibility using an existing external interface from a MCP, e.g., via a PCIe™ or other interconnect. In various implementations, information from a first internal link can be tapped off and forwarded through a second existing interface to the external world. The transmit side of the existing interface can be coupled to a standard logic analyzer to monitor the internal symbols flowing through the internal interface.
Referring now to
As shown, each die may include various logic to perform the desired functionality of the die. In various embodiments one or both of die 110 and 170 may be processors, controllers, memory interfaces, chipsets, or so forth. In one embodiment, die 110 may be a multi-core processor including multiple processors, cache memories, a graphics engine, input/output (I/O) interfaces and so forth. In the same embodiment, die 170 may be a chipset including interface functionality to enable communication with a system memory, a display, and one or more other peripheral devices. As shown in
In addition, first die 110 includes multiple interfaces or protocol stacks, one of which to enable communication off-package and a second of which to enable intra-package communication. Specifically, first die 110 includes a first interface including a transaction layer 120, a common block 122 and an analog front end (AFE) 124. This interface may operate at the 2× clock speed. As shown, each of these layers or units includes a receive (RX) portion and a transmit (TX) portion. Transaction layer 120 may, in the transmit direction, receive data to be transmitted from first die 110 and generate one or more transaction layer packets (TLPs) which include the data, along with various header and other information dictated by a given protocol. In turn, common block 122 receives this data and appends other information to provide for reliability of transmission, such as various link protocol information including, for example, error correction information, parity information, routing information or so forth. Finally, AFE 124 operates to take the digital information and prepare the packets for physical transmission via link 195. In one embodiment, AFE 124 may include transmitter circuitry such as drivers or so forth to receive the link packets from common block 122 and transmit serial bits, e.g., on a given number of lanes of the interconnect. In one embodiment, AFE 124 may condition the data for transmission via link 195, such as converting the data into differential signals, such as low voltage differential signals (LVDS) for transmission. In the receive direction, AFE 124 may receive incoming signals and convert the differential signals to link packets for transmission to common block 122. Further, AFE 124 may include in the receive direction a so-called clock and data recovery (CDR) circuit to further recover a clock transmitted with the data. In the receive direction, common block 122 may perform various processing on the data and pass TLPs onto transaction layer 120, which may extract the received data and pass it on to further circuitry within first die 110, e.g., die logic 115.
To enable communication between first die 110 and second die 170, a second protocol stack or interface is also present within first die 110 including a transaction layer 130, a common block 132, and an AFE 134, and may operate similarly to that described above for the first interface. However, in certain embodiments this interface may operate at the 1× clock speed. Again, these layers or blocks of the interface are separated into transmit and receive portions.
To enable post-silicon debug or other testing operations, data along internal link 165 may be provided out of MCP 100 via second link 195. Thus as shown in
Note the clock crossing between the two clock domains, namely a 1× clock domain and a 2× clock domain. While shown in
Still referring to
Test controller 140 may include a register set that can be accessed externally, e.g., via a test access port (TAP) controller. Test controller 140 may further include hardware, software, or firmware to provide controllability to monitor various operational modes of the package. For example, control may be enabled to monitor just the transmit side or the receive side. Thus test controller 140 may provide for flexibility to enable different test modes. In some embodiments, test controller 140 may operate under limited control from an external source such as a logic analyzer, while in other embodiments greater control, e.g., via control of the internal register set, can be accommodated under limited control of an external source. As one example, a ping-pong pattern can be controlled such that a data pattern provided out of the package includes interleaved transmit and receive data.
As further shown in
Referring now to
To enable the communication of both incoming and outgoing data during test mode (i.e., Data A and Data B), the Ping_Pong_Sel signal may be provided from test controller 140 to first multiplexer 155. In this way, the output data from first multiplexer 155 (Data_Out) may be provided via second link 195 to, e.g., a test logic analyzer 199. During this test mode, the Test_Mode_Sel signal (not shown in
Thus as illustrated in
For the case when symbols are being transmitted from AFE 190 Tx side to the AFE 134 Rx side, the transmitted symbols are collected by tapping off symbols from the interface between AFE 134 and common block 132. The Data B (at the 1× clock rate) is pushed through elastic buffer 150 and the first and second multiplexers to AFE 124 Tx side. Elastic buffer 150 is used to adjust for minor clock phase variation between the recovered clock at AFE 124 used to clock the incoming symbols into elastic buffer 150 and the locally-generated clock “afe_clk” (2×_clk) is used to clock data out of elastic buffer 150.
Note that test controller 140 controls both multiplexer selects (Ping_Pong_Sel and Test_Mode_Sel). The “Ping_Pong_Sel” can be controlled to operate in ping-pong fashion between Data A and Data B or to select either Data A or B. The “Test_Mode_Sel” selects either regular symbol transmission from common block 122 and AFE 124 or the “Data_Out” data (i.e., internal PCIe™ data). When “Test_Mode_Sel” is asserted, “Data_Out” will be transmitted through the AFE 124 Tx side.
Thus using an embodiment of the present invention, visibility of the internal PCIe™ interface can be achieved without the need for use of additional pins, ports or other external interfaces over an existing interface. Thus embodiments avoid the need for dedicated ports or top-side custom probing solutions on the package to observe the internal serial bus-based interface. While shown with this particular implementation in the embodiment of
Referring now to
Still referring to
From block 220 control passes to block 230, where the test data may be selected for output from the second multiplexer at the second clock rate. Thus the test controller controls the second multiplexer such that the test data is output, rather than normal system data. As such, at block 240 the test data may be output from the external port of the multi-chip package at the second clock rate. While shown with this particular implementation in the embodiment of
Embodiments can be implemented in many different system types. Referring to
Chipset 315 may include a memory controller hub (MCH), a northbridge, an input/output controller hub (ICH) a southbridge, and root controller/hub among other such interfaces. Here, chipset 315 is coupled to a switch/bridge 320 through a serial link 323. Input/output modules 317 and 321, which may also be referred to as interfaces/ports 317 and 321, include/implement a layered protocol stack to provide communication between chipset 315 and switch 320. In one embodiment, multiple devices are capable of being coupled to switch 320.
Switch 320 routes packets/messages from a device 325 upstream, i.e., up a hierarchy towards chipset 315 and downstream, i.e., down a hierarchy away from chipset 315 to device 325. IO modules 322 and 326 implement a layered protocol stack to communicate between switch 320 and device 325 via a serial link 327. Device 325 includes any internal or external device or component to be coupled to an electronic system, such as an IO device, a network interface controller (NIC), an add-in card, an audio processor, a network processor, a hard-drive, a storage device, a monitor, a printer, a mouse, a keyboard, a router, a portable storage device, a Firewire device, a Universal Serial Bus (USB) device, a scanner, and other input/output devices.
A graphics accelerator 330 is also coupled to chipset 315 through serial link 332. In one embodiment, graphics accelerator 330 is coupled to an MCH, which is coupled to an ICH. IO modules 331 and 318 are also to implement a layered protocol stack to communicate between graphics accelerator 330 and chipset 315.
Embodiments may be implemented in code and may be stored on a storage medium having stored thereon instructions which can be used to program a system to perform the instructions. The storage medium may include, but is not limited to, any type of disk including floppy disks, optical disks, compact disk read-only memories (CD-ROMs), compact disk rewritables (CD-RWs), and magneto-optical disks, semiconductor devices such as read-only memories (ROMs), random access memories (RAMs) such as dynamic random access memories (DRAMs), static random access memories (SRAMs), erasable programmable read-only memories (EPROMs), flash memories, electrically erasable programmable read-only memories (EEPROMs), magnetic or optical cards, or any other type of media suitable for storing electronic instructions.
While the present invention has been described with respect to a limited number of embodiments, those skilled in the art will appreciate numerous modifications and variations therefrom. It is intended that the appended claims cover all such modifications and variations as fall within the true spirit and scope of this present invention.
Number | Name | Date | Kind |
---|---|---|---|
5568492 | Flint et al. | Oct 1996 | A |
5613144 | Hall et al. | Mar 1997 | A |
5796746 | Farnworth et al. | Aug 1998 | A |
6009488 | Kavipurapu | Dec 1999 | A |
6385236 | Chen | May 2002 | B1 |
6825683 | Berndt et al. | Nov 2004 | B1 |
6826100 | Ellis et al. | Nov 2004 | B2 |
6975954 | Mak et al. | Dec 2005 | B2 |
7139957 | Querbach et al. | Nov 2006 | B2 |
7437643 | Khanna et al. | Oct 2008 | B2 |
7500164 | Chelstrom et al. | Mar 2009 | B2 |
7525723 | Dabral | Apr 2009 | B2 |
7633877 | Sharma et al. | Dec 2009 | B2 |
20040117709 | Nejedlo et al. | Jun 2004 | A1 |
20060224815 | Yamada et al. | Oct 2006 | A1 |
20070226482 | Borkar et al. | Sep 2007 | A1 |
20070237527 | Dabral et al. | Oct 2007 | A1 |
20070261033 | Chen et al. | Nov 2007 | A1 |
20080005537 | Apparao et al. | Jan 2008 | A1 |
20080005621 | Bedwani et al. | Jan 2008 | A1 |
20080074992 | Sams et al. | Mar 2008 | A1 |
20080122463 | Dabral | May 2008 | A1 |
20080163034 | Tate et al. | Jul 2008 | A1 |
20090172243 | Champagne et al. | Jul 2009 | A1 |
Number | Date | Country |
---|---|---|
1 580 810 | Sep 2005 | EP |
2005069025 | Jul 2005 | WO |
2006061668 | Jun 2006 | WO |
Number | Date | Country | |
---|---|---|---|
20100042761 A1 | Feb 2010 | US |