Multi-chip package link error detection
Through multi-chip packaging link technology, using serial point-to-point interconnection architecture and layered protocol stack, it solves the bottleneck of high-speed communication and power saving in the existing interconnection architecture, and achieves high-performance and high-efficiency processors. communication between.
Patent Information
- Application Number
- CN202011427179.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2015-09-26
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2035-09-26
AI Technical Summary
The existing interconnect architecture is difficult to meet the needs of high-performance computing. In particular, there are bottlenecks in high-speed communication between processors, and it is difficult to achieve a balance between power saving and performance.
Using multi-chip package link (MCPL) technology, through serial point-to-point interconnection architecture and layered protocol stack, it provides high-bandwidth, low-power and low-latency interfaces, supports multiple protocols, and integrates physical and logical layers. layer to achieve high data rates and channel configuration capabilities.
It realizes high-speed communication between processors in high-performance computing systems, improves data rate and energy efficiency, and supports multi-protocol communication and power management to meet the needs of high performance and power saving.
Smart Images

Figure CN112612730B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to computing systems, and particularly (but not exclusively) to point-to-point interconnects. Background Art
[0002] Advances in semiconductor processing and logic design have allowed for an increase in the amount of logic that can be present on an integrated circuit device. As a corollary, computer system configurations have evolved from a single or multiple integrated circuits in a system to multiple cores, multiple hardware threads, and multiple logical processors present on individual integrated circuits, as well as other interfaces integrated with such processors. A processor or integrated circuit typically includes a single physical processor die, where the processor die may include any number of cores, hardware threads, logical processors, interfaces, memory, controller hubs, etc.
[0003] Smaller computing devices have become increasingly popular due to the greater ability to fit more processing power into smaller packages. Smartphones, tablets, ultra-thin notebooks, and other user devices are growing exponentially. However, these smaller devices rely on servers, both for data storage and for complex processing beyond the form factor. As a result, demand in the high-performance computing market (i.e., server space) has also increased. For example, in modern servers, there is typically not only a single processor with multiple cores, but also multiple physical processors (also known as multiple sockets) for increased computing power. But as processing power grows along with the number of devices in a computing system, communication between sockets and other devices becomes more critical.
[0004] In fact, interconnects have grown from more traditional multi-drop buses that primarily handled electrical communications to mature interconnect architectures that facilitate fast communications. Unfortunately, as future processors are required to consume at even higher rates, corresponding demands are placed on the capabilities of existing interconnect architectures. BRIEF DESCRIPTION OF THE DRAWINGS
[0005] Figure 1 An embodiment of a computing system is illustrated that includes an interconnect architecture.
[0006] Figure 2 An embodiment of an interconnect architecture is illustrated that includes a layered stack.
[0007] Figure 3 An embodiment of a request or packet to be generated or received within an interconnect fabric is illustrated.
[0008] Figure 4 An embodiment of a transmitter and receiver pair for an interconnect architecture is illustrated.
[0009] Figure 5 An embodiment of a multi-chip package is shown.
[0010] Figure 6 is a simplified block diagram of a multi-chip package link (MCPL).
[0011] Figure 7 is a representation of example signaling on an example MCPL.
[0012] Figure 8 is a simplified block diagram of MCPL.
[0013] Fig. 9 is a representation of a portion of an example link state machine.
[0014] Fig.10 is a representation of an example link state machine.
[0015] Fig.11 It is the signaling to enter a low power state.
[0016] Fig.12 is a block diagram illustrating an example implementation of MCPL.
[0017] Figures 13A-13C is an example bit map of data on the channels of an example MCPL.
[0018] Figure 14-1 , 14-2 , 14-3 illustrates an example syndrome decoder table.
[0019] Figure 15-1 , 15-2 , 15-3 illustrates another example of a check sub-decoder table.
[0020] Fig.16 is a block diagram illustrating an example implementation of MCPL.
[0021] Figures 17A-17B is a diagram illustrating an example of link reconfiguration according to at least some embodiments.
[0022] Figures 18A-18B is a simplified flow chart illustrating a technique for handling errors on MCPL.
[0023] Fig.19 An embodiment of a block is illustrated for a computing system including multiple processors.
[0024] Like reference numbers and numerals in the various drawings indicate like elements. DETAILED DESCRIPTION
[0025] In the following description, many specific details are set forth, such as examples of specific types of processors and system configurations, specific hardware structures, specific architectural and microarchitectural details, specific register configurations, specific instruction types, specific system components, specific measurements / heights, specific processor pipeline stages and operations, etc., in order to provide a comprehensive understanding of the present invention. However, it will be apparent to those skilled in the art that these specific details are not required to practice the present invention. In other instances, well-known components or methods, such as specific and alternative processor architectures, specific logic circuits / codes for the described algorithms, specific firmware codes, specific interconnect operations, specific logic configurations, specific manufacturing techniques and materials, specific compiler implementations, specific expressions of algorithms in code form, specific power-down and gating techniques / logic, and other specific operational details of computer systems are not described in detail, so as not to unnecessarily obscure the present invention.
[0026] Although the following embodiments may be described with reference to energy conservation and energy efficiency in a specific integrated circuit (e.g., a computing platform or a microprocessor), other embodiments may be applicable to other types of integrated circuits and logic devices. Similar techniques and teachings of the embodiments described herein may be applicable to other types of circuits or semiconductor devices, which may also benefit from better energy efficiency and energy conservation. For example, the disclosed embodiments are not limited to desktop computer systems or Ultrabooks™. And can also be used for other devices, such as handheld devices, tablets, other thin notebooks, system-on-chip (SOC) devices, and embedded applications. Some examples of handheld devices include cellular phones, Internet protocol devices, digital cameras, personal digital assistants (PDAs), and handheld PCs. Embedded applications typically include microcontrollers, digital signal processors (DSPs), systems on chips, network computers (NetPCs), set-top boxes, network hubs, wide area network (WAN) switches, or any other system capable of performing the functions and operations taught below. In addition, the devices, methods, and systems described herein are not limited to physical computing devices, but may also involve software optimization for energy conservation and efficiency. As will become readily apparent in the description that follows, embodiments of the methods, apparatus, and systems described herein (whether in hardware, firmware, software, or a combination thereof) are critical to a 'green technology' future balanced with performance considerations.
[0027] As computing systems become more advanced, the components therein are becoming more complex. Therefore, the interconnect architecture used for coupling and communication between components is also increasing in complexity to ensure that the bandwidth requirements for optimal component operation are met. In addition, different market segments require different aspects of the interconnect architecture to adapt to market needs. For example, servers require higher performance, while the mobile ecosystem can sometimes sacrifice overall performance for power conservation. However, the prominent purpose of most configurations is to provide the highest possible performance with the greatest power conservation. Many interconnects are discussed below, which will potentially benefit from aspects of the present invention described herein.
[0028] One interconnect fabric architecture includes the Peripheral Component Interconnect (PCI) Express (PCIe) architecture. The primary goal of PCIe is to enable components and devices from different vendors to interoperate in an open architecture across multiple market segments; clients (desktop computers and mobile devices), servers (standard and enterprise), and embedded and communications devices. PCI Express is a high-performance, general-purpose I / O interconnect defined for a wide variety of future computing and communications platforms. Some PCI attributes, such as its usage model, load-store architecture, and software interface, have been maintained through its revisions, while the previous parallel bus implementation has been replaced by a highly scalable fully serial interface. More recent versions of PCI Express take advantage of advances in point-to-point interconnects, switch-based technology, and packetized protocols to deliver new levels of performance and features. Power management, quality of service (QoS), hot-plug / hot-swap support, data integrity, and error handling are among some of the advanced features supported by PCI Express.
[0029] refer to Figure 1 , illustrates an embodiment of a configuration consisting of point-to-point links interconnecting a set of components. System 100 includes a processor 105 and a system memory 110 coupled to a controller hub 115. Processor 105 includes any processing element, such as a microprocessor, a host processor, an embedded processor, a coprocessor, or other processor. Processor 105 is coupled to controller hub 115 via a front side bus (FSB) 106. In one embodiment, FSB 106 is a serial point-to-point interconnect as described below. In another embodiment, link 106 includes a serial differential interconnect architecture that is compatible with different interconnect standards.
[0030] System memory 110 includes any memory device, such as random access memory (RAM), non-volatile (NV) memory, or other memory accessible by devices in system 100. System memory 110 is coupled to controller hub 115 via memory interface 116. Examples of memory interfaces include double data rate (DDR) memory interfaces, dual channel DDR memory interfaces, and dynamic RAM (DRAM) memory interfaces.
[0031] In one embodiment, controller hub 115 is a root hub, root complex or root controller in a peripheral component interconnect high speed (PCIe or PCIE) interconnection hierarchy. Examples of controller hub 115 include chipsets, memory controller hubs (MCH), north bridges, interconnect controller hubs (ICH), south bridges, and root controllers / hubs. The term chipset typically refers to two physically independent controller hubs, such as a memory controller hub (MCH) coupled to an interconnect controller hub (ICH). Note that current systems typically include an MCH integrated with processor 105, and controller 115 communicates with I / O devices in a similar manner as described below. In some embodiments, peer-to-peer routing is optionally supported through root complex 115.
[0032] Here, controller hub 115 is coupled to switch / bridge 120 via serial link 119. Input / output modules 117 and 121 (which may also be referred to as interfaces / ports 117 and 121) include / implement a layered protocol stack to provide communications between controller hub 115 and switch 120. In one embodiment, multiple devices can be coupled to switch 120.
[0033] The switch / bridge 120 routes packets / messages from the device 125 upstream (i.e., toward the upper layer of the root complex) to the controller hub 115 and from the processor 105 or the system memory 110 downstream (i.e., away from the lower layer of the root controller) to the device 125. In one embodiment, the switch 120 is referred to as a logical assembly of multiple virtual PCI to PCI bridge devices. The device 125 includes any internal or external device or component to be coupled to the electronic system, such as an I / O device, a network interface controller (NIC), an add-in card, an audio processor, a network processor, a hard drive, a storage device, a CD / DVD ROM, 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. Typically in PCIe terminology, for example, a device is referred to as an endpoint. Although not specifically shown, the device 125 may include a PCIe to PCI / PCI-X bridge to support legacy or other version PCI devices. Endpoint devices in PCIe are generally categorized as legacy, PCIe, or root complex integrated endpoints.
[0034] The graphics accelerator 130 is also coupled to the controller hub 115 via a serial link 132. In one embodiment, the graphics accelerator 130 is coupled to the MCH, which is coupled to the ICH. The switch 120 and, accordingly, the I / O devices 125 are then coupled to the ICH. The I / O modules 131 and 118 are also used to implement a layered protocol stack to communicate between the graphics accelerator 130 and the controller hub 115. Similar to the MCH discussion above, the graphics controller or graphics accelerator 130 itself can be integrated in the processor 105.
[0035] Steering Figure 2 , illustrating an embodiment of a layered protocol stack. The layered protocol stack 200 includes any form of layered communication stack, such as a Quick Path Interconnect (QPI) stack, a PCie stack, a next generation high performance computing interconnect stack, or other layered stack. Although immediately below reference is made to Figure 1-4 The discussion is related to the PCIe stack, but the same concepts can be applied to other interconnect stacks. In one embodiment, the protocol stack 200 is a PCIe protocol stack, which includes a transaction layer 205, a link layer 210, and a physical layer 220. Interfaces (e.g. Figure 1 The interfaces 117, 118, 121, 122, 126, and 131 in the protocol stack may be represented as a communication protocol stack 200. The representation as a communication protocol stack may also be referred to as a module or interface that implements / includes the protocol stack.
[0036] PCI Express uses packets to communicate information between components. Packets are formed in the transaction layer 205 and the data link layer 210 to carry information from a transmitting component to a receiving component. As the transmitted packets flow through the other layers, they are expanded with additional information necessary to process the packets at those layers. The reverse process occurs at the receiving side and packets are transformed from their physical layer 220 representation to a data link layer 210 representation and finally (for transaction layer packets) to a form that can be processed by the transaction layer 205 of the receiving device.
[0037] Transaction Layer
[0038] In one embodiment, transaction layer 205 is used to provide an interface between a device's processing core and an interconnect architecture (e.g., data link layer 210 and physical layer 220). In this regard, the primary responsibility of transaction layer 205 is to assemble and disassemble packets (i.e., transaction layer packets or TLPs). Translation layer 205 typically manages credit-based flow control for TLPs. PCIe implements split transactions, i.e., transactions with requests and responses separated by time, thereby allowing the link to carry other traffic while the target device is gathering data for the response.
[0039] In addition, PCIe uses credit-based flow control. In this scheme, the device advertises the initial credit amount for each receive buffer in the transaction layer 205. The external device at the other end of the link (e.g. Figure 1 The controller hub 115 in the Controller Hub 115 counts the number of credits consumed by each TLP. If the transaction does not exceed the credit limit, the transaction can be transmitted. A certain amount of credit is restored when a response is received. The advantage of the credit scheme is that the waiting time for credit return does not affect performance (assuming that the credit limit is not encountered).
[0040] In one embodiment, the four transaction address spaces include a configuration address space, a memory address space, an input / output address space, and a message address space. The memory space transaction includes one or more of a read request and a write request to transfer data to / from a memory mapping site. In one embodiment, the memory space transaction can use two different address formats, such as a short address format (e.g., a 32-bit address) or a long address format (e.g., a 64-bit address). The configuration space transaction is used to access the configuration space of the PCIe device. Transactions to the configuration space include read requests and write requests. Message space transactions (or simply, messages) are defined to support in-band communication between PCIe agents.
[0041] Thus, in an example embodiment, transaction layer 205 assembles a packet header / payload 206. The format for the current packet header / payload can be found in the PCIe specification at the PCIe specification website.
[0042] Quick Reference Figure 3 , illustrates an embodiment of a PCIe transaction descriptor. In one embodiment, a transaction descriptor 300 is a mechanism for conveying transaction information. In this regard, the transaction descriptor 300 supports identification of transactions in the system. Other potential uses include tracking modifications to default transaction ordering and association of transactions with channels.
[0043] Transaction descriptor 300 includes a global identifier field 302, an attribute field 304, and a channel identifier field 306. In the illustrated example, global identifier field 302 is depicted including a local transaction descriptor field 308 and a source identifier field 310. In one embodiment, global transaction descriptor 302 is unique for all outstanding requests.
[0044] According to one implementation, the local transaction identifier field 308 is a field generated by the requesting agent and is unique to all outstanding requests that require completion for the requesting agent. In addition, in this example, the source identifier 310 uniquely identifies the requester agent within the PCIe hierarchy. Therefore, together with the source ID 310, the local transaction identifier 308 field provides a global identification of the transaction within the hierarchical domain.
[0045] Attribute field 304 specifies the characteristics and relationships of the transaction. In this regard, attribute field 304 is potentially used to provide additional information that allows modification of the default handling of transactions. In one embodiment, attribute field 304 includes priority field 312, reserved field 314, sort field 316, and no snoop field 318. Here, priority subfield 312 can be modified by the initiator to assign a priority to the transaction. Reserved attribute field 314 is reserved for future or vendor-defined use. Possible usage models that use priority or security attributes can be implemented using reserved attribute fields.
[0046] In this example, the ordering attribute field 316 is used to supply optional information that conveys the type of ordering that can modify the default ordering rules. According to an example implementation, an ordering attribute of "0" indicates that the default ordering rules are to be applied, wherein an ordering attribute of "1" indicates that the ordering is relaxed, wherein writes can pass writes in the same direction, and read completions can pass writes in the same direction. The snoop attribute field 318 is used to determine whether the transaction is snooped. As shown, the channel ID field 306 identifies the channel with which the transaction is associated.
[0047] Link Layer
[0048] The link layer 210 (also referred to as the data link layer 210) acts as an intermediate level between the transaction layer 205 and the physical layer 220. In one embodiment, the responsibility of the data link layer 210 is to provide a reliable mechanism for exchanging transaction layer packets (TLPs) between the two components of the link. One side of the data link layer 210 accepts the TLPs assembled by the transaction layer 205, applies a packet sequence identifier 211 (i.e., an identification number or packet number), calculates and applies an error detection code (i.e., CRC 212), and submits the modified TLP to the physical layer 220 for transmission across the physical to an external device.
[0049] Physical Layer
[0050] In one example, the physical layer 220 includes a logical sub-block 221 and an electronic block 222 (which is used to physically transmit packets to external devices). Here, the logical sub-block 221 is responsible for the "digital" functions of the physical layer 221. In this regard, the logical sub-block includes: a transmit section for preparing outgoing information for transmission by the physical sub-block 222; and a receiver section for identifying and preparing received information before passing it to the link layer 210.
[0051] Physical block 222 includes a transmitter and a receiver. The transmitter is supplied with symbols by logic sub-block 221, and the transmitter serializes these symbols and transmits them to an external device. The receiver is supplied with serialized symbols from an external device and converts the received signal into a bit stream. The bit stream is deserialized and supplied to logic sub-block 221. In one embodiment, 8b / 10b transmission code is adopted, in which ten-bit symbols are transmitted / received. Here, special symbols are used to frame packets with frames 223. In addition, in one example, the receiver also provides a symbol clock recovered from the incoming serial stream.
[0052] As stated above, although the transaction layer 205, link layer 210, and physical layer 220 are discussed with reference to a specific embodiment of a PCIe protocol stack, the layered protocol stack is not so limited. In fact, any layered protocol may be included / implemented. As an example, a port / interface represented as a layered protocol includes: (1) a first layer for assembling packets, i.e., a transaction layer; a second layer for serializing packets, i.e., a link layer; and a third layer for transmitting packets, i.e., a physical layer. As a specific example, a common standard interface (CSI) layered protocol is used.
[0053] Next reference Figure 4 , illustrating an embodiment of a PCIe serial point-to-point configuration. Although an embodiment of a PCIe serial point-to-point link is illustrated, the serial point-to-point link is not so limited because it includes any transmission path for transmitting serial data. In the illustrated embodiment, the basic PCIe link includes two low voltage differential drive signal pairs: a transmit pair 406 / 411 and a receive pair 412 / 407. Therefore, the device 405 includes a transmit logic 406 for transmitting data to the device 410, and a receive logic 407 for receiving data from the device 410. In other words, two transmit paths (i.e., paths 416 and 417) and two receive paths (i.e., paths 418 and 419) are included in the PCIe link.
[0054] A transmission path refers to any path for transmitting data, such as a transmission line, copper wire, optical line, wireless communication channel, infrared communication link, or other communication path. A connection between two devices (such as device 405 and device 410) is called a link, such as link 415. A link can support one channel - each channel represents a set of differential signal pairs (one pair for transmission and one pair for reception). To expand bandwidth, a link can aggregate multiple channels denoted by xN, where N is any supported link bandwidth, such as 1, 2, 4, 8, 12, 16, 32, 64, or wider.
[0055] A differential pair refers to two transmission paths (e.g., lines 416 and 417) for transmitting differential signals. As an example, when line 416 switches from a low voltage level to a high voltage level (i.e., a rising edge), line 417 drives from a high logic level to a low logic level (i.e., a falling edge). Differential signals potentially exhibit better electrical characteristics, such as better signal integrity, i.e., cross-coupling, voltage overshoot / undershoot, ringing, etc. This allows for better timing windows, which enables faster transmission frequencies.
[0056] Figure 5 5 is a simplified block diagram 500 illustrating an example multi-chip package 505 including two or more chips or dies (eg, 510, 515) communicatively connected using an example multi-chip package link (MCPL) 520. Although Figure 5 An example of two (or more) dies interconnected using the example MCPL 520 is illustrated, but it should be appreciated that the principles and features described herein regarding implementations of the MCPL can be applied to any interconnect or link connecting a die (e.g., 510) and other components, including connecting two or more dies (e.g., 510, 515), connecting a die (or chip) to another off-die component, connecting a die to another device or die outside the package (e.g., 505), connecting a die to a BGA package, and implementations of a patch (POINT) on an interposer, among other potential other examples.
[0057] In general, a multi-chip package (e.g., 505) can be an electronic package in which multiple integrated circuits (ICs), semiconductor dies, or other discrete components (e.g., 510, 515) are packaged onto a unified substrate (e.g., silicon or other semiconductor substrate) to facilitate the use of a combined component as a single component (e.g., as if it were a larger IC). In some instances, the larger component (e.g., die 510, 515) itself can be an IC system, such as a system on a chip (SoC), a multi-processor chip, or other component, the other components including multiple components (e.g., 525-530 and 540-545) on a device (e.g., on a single die (e.g., 510, 515)). The multi-chip package 505 can provide the flexibility to build complex and varied systems from potential multiple discrete components and systems. For example, each of the dies 510, 515 can be manufactured or otherwise provided by two different entities, with the silicon substrate of the package 505 provided by a third entity, among many other examples. In addition, the tube core and other components in the multi-chip package 505 can themselves include interconnections or other communication structures (e.g., 535, 550) that provide an infrastructure for communicating between components (e.g., 525-530 and 540-545) in the device (e.g., 510, 515, respectively). Various components and interconnections (e.g., 535, 550) can potentially support or use multiple different protocols. In addition, the communication between the tube core (e.g., 510, 515) can potentially include transactions between various components on the tube core through multiple different protocols. Because traditional solutions use highly specialized, expensive, and package-specific solutions based on specific combinations of components (and desired transactions) that are attempted to be interconnected, the mechanism designed to provide communication between chips (or tube cores) on the multi-chip package can be challenging.
[0058] The examples, systems, algorithms, devices, logic, and features described in this specification can solve at least some of the problems identified above, including many other potential problems not explicitly mentioned herein. For example, in some implementations, a high-bandwidth, low-power, low-latency interface can be provided to connect a host device (e.g., a CPU) or other device to a companion chip in the same package as the host. Such a multi-chip package (MCPL) can support multiple packaging options, multiple I / O protocols, and reliability, availability, and serviceability (RAS) features. In addition, the physical layer (PHY) can include an electrical layer and a logical layer and can support longer channel lengths (including channel lengths up to and in some cases exceeding approximately 45mm). In some implementations, the example MCPL can operate at high data rates (including data rates exceeding 8-10Gb / s).
[0059] In one example implementation of MCPL, the PHY electrical layer is able to improve upon traditional multi-channel interconnect solutions (e.g., multi-channel DRAM I / O) to extend data rates and channel configurations, for example, through a number of features including, for example, regulated mid-rail termination, low power active crosstalk cancellation, circuit redundancy, per-bit duty cycle correction and de-skew, line coding, and transmitter equalization, among other potential examples.
[0060] In one example implementation of MCPL, a PHY logic layer can be implemented that can further help (e.g., electrical layer features) scale data rates and channel configurations while also enabling interconnects to route multiple protocols across the electrical layer. Such an implementation can provide and define a modular common physical layer that is protocol agnostic and is constructed to work with potentially any existing or future interconnect protocols.
[0061] Steering Figure 6 , a simplified block diagram 600 is shown representing at least a portion of a system that includes an example implementation of a multi-chip package link (MCPL). The MCPL can be implemented using physical electrical connections (e.g., wires implemented as channels) that connect a first device 605 (e.g., a first die that includes one or more subcomponents) to a second device 610 (e.g., a second die that includes one or more other subcomponents). In the specific example shown in the high-level representation of diagram 600, all signals (in channels 615, 620) can be unidirectional and channels can be provided for data signals to have both upstream and downstream data transmission. Although Figure 6 Block diagram 600 refers to the first component 605 as an upstream component and the second component 610 as a downstream component and the physical channel of the MCPL used in sending data is referred to as the downstream channel 615 and the channel used to receive data (from component 610) is referred to as the upstream channel 620, but it should be appreciated that the MCPL between devices 605, 610 can be used by each device to both send and receive data between the devices.
[0062] In one example implementation, the MCPL can provide a physical layer (PHY) including an electrical MCPL PHY 625a, b (or collectively 625) and executable logic implementing a MCPL logical PHY 630a, b (or collectively 630). The electrical or physical PHY 625 can provide a physical connection through which data is communicated between the devices 605, 610. Signal conditioning components and logic can be implemented in conjunction with the physical PHY 625 to establish the high data rate and channel configuration capabilities of the link, which in some applications can involve tightly clustered physical connections of approximately 45 mm or more in length. The logical PHY 630 can include logic for facilitating timing, link state management (e.g., for the link layer 635a, 635b), and protocol multiplexing between potentially multiple different protocols used for communication through the MCPL.
[0063] In one example implementation, the physical PHY 625 can include a set of data lanes for each channel (e.g., 615, 620) through which in-band data can be sent. In this particular example, 50 data lanes are provided in each of the upstream and downstream channels 615, 620, although any other number of lanes can be used as permitted by layout and power constraints, desired applications, device constraints, etc. Each channel can further include one or more dedicated lanes for a strobe signal or clock signal for the channel, one or more dedicated lanes for a valid signal for the channel, one or more dedicated lanes for a stream signal, and one or more dedicated lanes for link state machine management or sideband signals. The physical PHY can further include a sideband link 640, which in some examples can be a bidirectional, lower frequency control signal link for coordinating state transitions and other attributes of the MCPL connecting the devices 605, 610, among other examples.
[0064] As noted above, multiple protocols can be supported using an implementation of MCPL. In fact, multiple independent transaction layers 650a, 650b can be provided in each device 605, 610. For example, among others, each device 605, 610 can also support and use two or more protocols, such as PCI, PCIe, QPI, Intel Intra-die Interconnect (IDI). IDI is a consistency protocol used on the die to communicate between the core, the last level cache (LLC), memory, graphics, and IO controllers. Other protocols can also be supported, including Ethernet protocols, Infiniband protocols, and other protocols based on PCIe construction. Among other examples, a combination of logical PHY and physical PHY can also be used as a die-to-die interconnect to connect a SerDes PHY (PCIe, Ethernet, Infiniband or other high-speed SerDes) on one die to its upper layer implemented on another die.
[0065] The logical PHY 630 can support multiplexing between these multiple protocols on the MCPL. For example, a dedicated stream channel can be used to assert an encoded stream signal that identifies which protocol is applicable to data sent substantially concurrently on the data channel of the channel. In addition, the logical PHY 630 can be used to negotiate various types of link state transitions that various protocols can support or request. In some instances, the LSM_SB signal sent through the channel's dedicated LSM_SB channel can be used in conjunction with the sideband link 640 to communicate and negotiate link state transitions between devices 605, 610. In addition, link training, error detection, skew detection, de-skew, and other functionality of traditional interconnects can be partially replaced or managed using the logical PHY 630. For example, valid signals sent through one or more dedicated valid signal channels in each channel can be used to signal link activity, detect skew, link errors, and implement other features, among other examples. In Figure 6 In a specific example of , multiple valid channels are provided per channel. For example, data channels within a channel can be bundled or clustered (physically and / or logically) and valid channels can be provided for each cluster. In addition, among other examples, multiple strobe channels can be provided in some cases, also in order to provide a dedicated strobe signal for each of the multiple data channel clusters in the channel.
[0066] As noted above, the logical PHY 630 can be used to negotiate and manage link control signals sent between devices connected by the MCPL. In some implementations, the logical PHY 630 can include a link layer packet (LLP) generation logic 660 that can be used to send link layer control messages through the MCPL (i.e., in-band). Such messages can be sent through the data channel of the channel, where the stream channel identification data is link layer to link layer messaging, such as link layer control data (among other examples). In addition to other link layer features between the link layers 635a, 635b of the devices 605, 610, respectively, the link layer messages implemented using the LLP module 660 can also help negotiate and perform link layer state transitions, power management, loopback, disabling, re-centering, scrambling.
[0067] Steering Figure 7 , a diagram 700 is shown representing example signaling for a set of channels (eg, 615, 620) in a particular channel using an example MCPL. Figure 7 In the example of , two clusters of twenty-five (25) data channels are provided for a total of fifty (50) data channels in the channel. For convenience of illustrating a particular example, portions of the channels are shown while other channels (e.g., DATA[4-46] and a second strobe signal channel (STRB)) are omitted (e.g., as redundant signals). When the physical layer is in an active state (e.g., not powered off or in a low power mode (e.g., L1 state)), the strobe channel (STRB) can be provided with a synchronous clock signal. In some implementations, data can be sent on both the rising and falling edges of the strobe. Each edge (or half a clock cycle) can define a unit interval (UI). Thus, in this example, a bit (e.g., 705) can be sent on each channel, allowing a byte to be sent every 7 UIs. A byte period 710 can be defined as 8 UIs, or the time it takes to send a byte on a single channel of a data channel (e.g., DATA[0-49]).
[0068] In some implementations, a valid signal sent on one or more dedicated valid signal channels (e.g., VALID0, VALID1) can act as a leading indicator for a receiving device to identify that data is being sent from a transmitting device or source on a data channel (e.g., DATA[0-49]) during a subsequent period (e.g., byte period 710) when asserted (high) to the receiving device or sink. Alternatively, when the valid signal is low, the source indicates to the sink that the sink will not send data on the data channel during the subsequent period. Therefore, when the sink logic PHY detects that the valid signal is not asserted (i.e., on channels VALID0 and VALID1), the sink can ignore any data detected on the data channel (e.g., DATA[0-49]) during the subsequent period. For example, crosstalk noise or other bits may appear on one or more of the data channels when the source is not actually sending any data. Due to the low or unasserted valid signal during the previous period (e.g., the previous byte period), the sink can determine the data channel to be ignored during the subsequent period.
[0069] The data sent on each of the channels of the MCPL can be strictly aligned with the strobe signal. A period can be defined based on the strobe, such as a byte period, and each of these periods can correspond to a defined window, in which the signal will be sent on the data channel (e.g., DATA[0-49]), the valid channel (e.g., VALID1, VALID2) and the stream channel (e.g., STREAM). Therefore, the alignment of these signals can realize the identification that the valid signal in the previous period window is applicable to the data in the next period window and the identification that the stream signal is applicable to the data in the same period window. The stream signal can be a coded signal (e.g., 1 byte data for the byte period window), which is encoded to identify the protocol applicable to the data sent during the same period window.
[0070] For illustration purposes, Figure 7 In the specific example of , byte epoch windows are defined. A valid assertion is made at epoch window n (715) before any data is injected on the data channels DATA[0-49]. Data is sent on at least some of the data channels in the next epoch window n+1 (720). In this case, data is sent on all fifty data channels during n+1 (720). Because valid was asserted for the duration of the previous epoch window n (715), the sink device is able to verify the data received on the data channels DATA[0-49] during epoch window n+1 (720). In addition, the leading nature of the valid signal during epoch window n (715) allows the receiving device to prepare for the incoming data. Continued Figure 7In the example of , the valid signal remains asserted (on VALID1 and VALID2) during the duration of epoch window n+1 (720), thereby causing the sink device to expect data sent on data channels DATA[0-49] during epoch window n+2 (725). If the valid signal were to remain asserted during epoch window n+2 (725), the sink device could further expect to receive (and process) additional data sent during the immediately following epoch window n+3 (730). However, in Figure 7 In the example of , the valid signal is de-asserted during the duration of epoch window n+2 (725), thereby indicating to the sink device that no data will be sent during epoch window n+3 (730) and any bits detected on the data lanes DATA[0-49] during epoch window n+3 (730) should be disregarded.
[0071] As noted above, each channel can maintain multiple active channels and strobe channels. This can help maintain circuit simplicity and synchronization among a cluster of relatively lengthy physical channels connecting the two devices, among other advantages. In some implementations, a group of data channels can be divided into data channel clusters. For example, in Figure 7 In the example of , data channels DATA[0-49] can be divided into two twenty-five channel clusters and each cluster can have dedicated valid and strobe channels. For example, valid channel VALID1 can be associated with data channels DATA[0-24] and valid channel VALID2 can be associated with data channels DATA[25-49]. The signals on each "copy" of the valid and strobe channels for each cluster can be exactly the same.
[0072] As introduced above, the data on the stream channel STREAM can be used to indicate to the receiving logic PHY what protocol to apply to the corresponding data sent on the data channel DATA[0-49]. Figure 7 In the example of , the stream signal is sent on STREAM during the same epoch window as the data on the data channel DATA[0-49] to indicate the protocol of the data on the data channel. In an alternative implementation, the stream signal can also be sent during a previous epoch window (e.g., with a corresponding valid signal), among other potential modifications. However, continuing Figure 7In the example of , a stream signal 735 is sent during epoch window n+1 (720), which is encoded to indicate the protocol (e.g., PCIe, PCI, IDI, QPI, etc.) to be applied to the bits sent on data lanes DATA[0-49] during epoch window n+1 (720). Similarly, another stream signal 740 can be sent during a subsequent epoch window n+2 (725) to indicate the protocol to be applied to the bits sent on data lanes DATA[0-49] during epoch window N+2 (725), and so on. In some cases, for example Figure 7 In the example of (where two stream signals 735, 740 have the same encoding, binary FF), the data in successive epoch windows (e.g., n+1 (720) and n+2 (725)) can belong to the same protocol. However, in other cases, the data in successive epoch windows (e.g., n+1 (720) and n+2 (725)) can come from different transactions to which different protocols apply, and the stream signals (e.g., 735, 740) can be encoded accordingly to identify the different protocols applicable to successive bytes of data on the data channel (e.g., DATA[0-49]), among other examples.
[0073] In some implementations, a low power or idle state can be defined for the MCPL. For example, when no device on the MCPL is sending data, the physical layer (electrical and logical) of the MCPL can enter an idle or low power state. Figure 7 In the example of , in period window n-2 (745), the MCPL is in a silent or idle state and the strobe is disabled to save power. The MCPL can transition out of the low power or idle mode, thereby waking up the strobe in period window period window n-1 (e.g., 705). The strobe can complete the transmission preamble (e.g., to help wake up each of the channels of the channel and the sink device and synchronize them), thereby starting the strobe signal before any other signaling on the remaining non-strobe channels. After this period window n-1 (705), the valid signal can be asserted in period window n (715) to inform the sink that data is about to arrive in the next period window n+1 (720), as discussed above.
[0074] The MCPL may re-enter a low power or idle state (e.g., L1 state) after detecting an idle condition on the active channel, the data channel, and / or other channels of the MCPL channel. For example, starting at period window n+3 (730) and onwards, no signaling may be detected. Among other examples and principles (including those discussed later herein), logic on the source or sink device can initiate a transition back into a low power state, thereby again (e.g., period window n+5 (755)) causing the strobe to enter idle in a power save mode.
[0075] The electrical characteristics of the physical PHY can include one or more of the following, among other features: single-ended signaling, half-rate forwarding timing, interconnect channel matching and on-chip propagation delays of transmitters (sources) and receivers (sinks), optimized electrostatic discharge (ESD) protection, pad capacitance. In addition, MCPL can be implemented to achieve higher data rates (e.g., approaching 16Gb / s) and energy efficiency characteristics than traditional packaged I / O solutions.
[0076] Steering Figure 8 , a simplified block diagram 800 is shown that illustrates an example logical PHY of an example MCPL. A physical PHY 805 can be connected to a die that includes a logical PHY 810 and additional logic to support the link layer of the MCPL. The die in this example can further include logic to support multiple different protocols on the MCPL. For example, in Figure 8 In the example of , PCIe logic 815 and IDI logic 820 can be provided, in addition to potentially many other examples (including examples where more than two protocols or protocols other than PCIe and IDI are supported on the MCPL), so that the dies can communicate using PCIe or IDI through the same MCPL connecting the two dies.
[0077] The logical PHY 810 can include link state machine management logic 825 for negotiating link state transitions in conjunction with requests from upper layer logic of the die (e.g., received via PCIe or IDI). The logical PHY 810 can further include link test and debug logic (e.g., 830) in some implementations. As noted above, the example MCPL can support control signals sent between die via the MCPL to facilitate the protocol-independent, high performance, and power efficiency features of the MCPL (among other example features). For example, the logical PHY 810 can support the generation and transmission of valid signals, flow signals, and LSM sideband signals, as well as the reception and processing of data transmission and reception over dedicated data channels (e.g., as described in the examples above).
[0078] In some implementations, multiplexing (e.g., 835) and demultiplexing (e.g., 840) logic can be included in or otherwise accessible to the logical PHY 810. For example, the multiplexing logic (e.g., 835) can be used to identify data (e.g., embodied as packets, messages, etc.) to be sent out onto the MCPL. The multiplexing logic 835 can identify the protocol governing the data and generate a stream signal (the stream signal is encoded to identify the protocol). For example, in one example implementation, the stream signal can be encoded as two bytes of hexadecimal symbols (e.g., IDI: FFh; PCIe: F0h; LLP: AAh; sideband: 55h; etc.) and can be sent during the same window (e.g., byte period window) of data governed by the identified protocol. Similarly, the demultiplexing logic 840 can be employed to interpret the incoming stream signal to decode the stream signal and identify the protocol to be applied to data received concurrently with the stream signal on the data channel. The demultiplexing logic 840 can then apply (or ensure) protocol specific link layer processing and cause the data to be processed by the corresponding protocol logic (eg, PCIe logic 815 or IDI logic 820 ).
[0079] The logical PHY 810 can further include a link layer packet logic 850, which can be used to handle various link control functions, including power management tasks, loopback, disabling, re-centering, scrambling, etc. Among other functions, the LLP logic 850 can also facilitate link layer to link layer messages through MCLP. Data corresponding to LLP signaling can also be identified by a stream signal sent on a dedicated stream signal channel, which is encoded to identify the data channel of the LLP data. Multiplexing and demultiplexing logic (e.g., 835, 840) can also be used to generate and interpret stream signals corresponding to LLP services, and cause such services to be processed by appropriate tube core logic (e.g., LLP logic 850). Similarly, among other examples, some implementations of MCLP can also include dedicated sidebands (e.g., sideband 855 and supporting logic), such as asynchronous and / or lower frequency sideband channels.
[0080] The logical PHY logic 810 can further include link state machine management logic that can generate and receive (and use) link state management messaging through a dedicated LSM sideband channel. For example, the LSM sideband channel can be used to perform handshakes to advance the link training state, exit the power management state (e.g., L1 state), among other potential examples. Among other examples, the LSM sideband signal can also be an asynchronous signal in that it is not aligned with the data, valid, and flow signals of the link, but instead corresponds to a signaling state transition and is aligned with the link state machine between the two dies or chips connected by the link. Among other example benefits, providing a dedicated LSM sideband channel can also allow for the elimination of traditional noise suppression and received detection circuits of an analog front end (AFE) in some embodiments.
[0081] Steering Fig. 9 , a simplified link state machine transition diagram 900 is shown, along with the sideband handshake used between state transitions. For example, the Reset.Idle state (e.g., where a phase-locked loop (PLL) lock calibration is performed) can transition to the Reset.Cal state (e.g., where the link is further calibrated) via a sideband handshake. Reset.Cal can transition to the Reset.ClockDCC state (e.g., where duty cycle correction (DCC) and delay locked loop (DLL) lock can be performed) via a sideband handshake. Additional handshaking can be performed to transition from the Reset.ClockDCC to the Reset.Quiet state (e.g., to deassert a valid signal). To aid in the alignment of signaling on the channels of the MCPL, the channels can be centered via the Center.Pattern state.
[0082] In such Fig.16In some implementations shown in the examples of , during the Center.Pattern state, the transmitter can generate a training pattern or other data. The receiver can adjust its receiver circuit to receive such a training pattern, for example by setting the phase interposer position and the vref position and setting the comparator. The receiver can continuously compare the received pattern with the expected pattern and store the result in a register. After completing a set of patterns, the receiver can increment the phase interposer setting while keeping vref the same. The test pattern generation and comparison process can continue and new comparison results can be stored in the register with a procedure that repeatedly steps through all phase interposer values and through all values of vref. The Center.Quiet state can be entered when the pattern generation and comparison process is fully completed. After centering through the channels of the Center.Pattern and Center Quiet link states, a sideband handshake can be facilitated (e.g., using LSM sideband signals through the dedicated LSM sideband channel of the link) to transition to the Link.Init state to initialize the MCPL and enable the transmission of data on the MCPL.
[0083] Returning to the discussion of Figure 15 temporarily, as pointed out above, the sideband handshake can be used to promote the link state machine transition between the tube core or chip in the multi-chip package.For example, the signal on the LSM sideband channel of the MCPL can be used to synchronize the state machine transition across the tube core.For example, when the conditions of the exit state (for example, Reset.Idle) are met, the edge that meets those conditions can assert the LSM sideband signal on its outbound LSM_SB channel and wait for another remote tube core to reach the same condition and assert the LSM sideband signal on its LSM_SB channel.When two LSM_SB signals are asserted, the link state machine of each corresponding tube core can be transformed to the next state (for example, Reset.Cal state).It is possible to define a minimum overlap time, during which the two LSM_SB signals should remain asserted before the transition state.In addition, after LSM_SB is de-asserted, it is possible to define a minimum quiet time to allow accurate turnaround detection.In some implementations, each link state machine transition can be conditional on such LSM_SB handshakes and promoted by these LSM_SB handshakes.
[0084] Fig.10 1 is a more detailed link state machine diagram 1000 that illustrates at least some of the additional link states and link state transitions that can be included in the example MCPL. Fig.10In addition to the remaining states and state transitions illustrated in FIG. 1 , a “directed loopback” transition can be provided to place the channels of the MCPL in digital loopback. For example, the receiver channels of the MCPL can be looped back to the transmitter channels after the clock recovery circuit. In some instances, a “LB_Recenter” state can also be provided, which can be used to align data symbols. Additionally, as shown in FIG. Fig. 9 As shown in , MCPL can support multiple link states, including active L0 states and low power states, such as L1 idle states and L2 sleep states, among potential other examples. As another example, a configuration or centering state (e.g., CENTER) can be augmented or natively support reconfiguration of a link at power-up to allow reallocation of lanes of a link to route data around one or more lanes of a link that is determined to be faulty or marginal (among other examples).
[0085] Fig.11 is a simplified block diagram 1100 illustrating an example process in a transition between an active state (e.g., L0) and a low power or idle state (e.g., L1). In this particular example, a first device 1105 and a second device 1110 are communicatively coupled using MCPL. While in the active state, data is transmitted through channels (e.g., DATA, VALID, STREAM, etc.) of the MCPL. Link layer packets (LLPs) can be communicated through channels (e.g., data channels having stream signals indicating that the data is LLP data) to help facilitate link state transitions. For example, the LLP can be sent between the first and second devices 1105, 1110 to negotiate entry from L0 to L1. For example, an upper layer protocol supported by the MCPL can communicate a desire to enter L1 (or another state) and the upper layer protocol can cause the LLP to be sent through the MCPL to facilitate a link layer handshake to cause the physical layer to enter L1. For example, Fig.11At least a portion of the transmitted LLPs are shown, including an "enter L1" request LLP sent from the second (upstream) device 1110 to the first (downstream) device 1105. In some implementations and upper layer protocols, the downstream port does not initiate entry into L1. Among other examples, the receiving first device 1105 can also send a "change to L1" request LLP in response, which the second device 1110 can acknowledge with a "change to L1" confirmation (ACK) LLP. Upon detecting the completion of the handshake, the logical PHY can cause a sideband signal to be asserted on the dedicated sideband link to acknowledge that the ACK is received and the device (e.g., 1105) is ready and looking forward to entering L1. For example, the first device 1105 can assert a sideband signal 1115 sent to the second device 1110 to acknowledge receipt of the last ACK in the link layer handshake. In addition, the second device 1110 can also assert a sideband signal in response to the sideband signal 1115 to inform the first device 1105 of the sideband ACK 1105 of the first device. With link layer control and sideband handshaking completed, the MCPL PHY can transition to the L1 state, causing all lanes of the MCPL to be placed in an idle power saving mode, including the corresponding MCPL strobes 1120, 1125 of the devices 1105, 1110. L1 can be exited when upper layer logic of one of the first and second devices 1105, 1110 requests re-entry into L0 (e.g., in response to detecting that data is to be sent to another device via the MCPL).
[0086] As noted above, in some implementations, the MCPL can facilitate communication between two devices supporting potentially multiple different protocols, and the MCPL can facilitate communication over a channel of the MCPL according to potentially any one of the multiple protocols. However, facilitating multiple protocols can complicate entering and reentering at least some link states. For example, while some conventional interconnects have a single upper layer protocol that assumes a primary role in state transitions, an implementation of the MCPL utilizing multiple different protocols effectively involves multiple primary roles. As an example, if Fig.11 As shown in , each of PCIe and IDI can be supported between two devices 1105, 1110 through the implementation of MCPL. For example, placing the physical layer in an idle or low power state can be conditional on first obtaining permission from each of the supported protocols (e.g., both PCIe and IDI).
[0087] In some instances, entry into L1 (or another state) may be requested by only one of the multiple supported protocols supported for the implementation of the MCPL. Although there may be a possibility that the remaining protocols will also request entry into the same state (e.g., based on identifying similar conditions on the MCPL (e.g., little or no business)), the logical PHY is able to wait until permission or instructions are received from each upper layer protocol before actually facilitating the state transition. The logical PHY is able to track which upper layer protocol has requested a state change (e.g., a corresponding handshake has been performed) and trigger a state transition when each requested specific state change in the protocol is identified (e.g., a transition from L0 to L1 or another transition that will affect or interfere with the communication of other protocols). In some implementations, the protocols are blind to at least some of their dependencies on other protocols in the system. In addition, in some instances, the protocols may expect a response (e.g., from the PHY) to a request to enter a specific state, such as a confirmation or rejection of the requested state transition. Thus, in such an instance, while waiting for permission from other supported protocols to enter the idle link state, the logical PHY can generate a synthetic response to a request to enter the idle state to "trick" the requesting upper layer protocol into believing that a particular state has been entered (when in reality the channel is still active, at least until the remaining protocols also request to enter the idle state). Among other potential advantages, this can simplify coordinating entry into low power states between multiple protocols, among other examples.
[0088] Implementations of the logical PHY can include error detection, error reporting, and error handling logic. In some implementations, the logical PHY of the example MCPL can include logic to detect PHY layer deframing errors (e.g., on valid and streaming channels), sideband errors (e.g., involving LSM state transitions), errors in the LLP (e.g., those errors critical to the LSM state transitions), among other examples. Among other examples, some error detection / resolution can be delegated to upper layer logic, such as PCIe logic adapted to detect PCIe specific errors, or to system management software. In some implementations, error detection and handling mechanisms can also be provided, such as cyclic redundancy checks (CRCs), retry buffers, among other potential examples, to assist in bit error detection on the MCPL. In addition, whether the error detection logic is implemented in management software or the logical PHY, it can determine whether a particular channel is faulty or marginal based on determining channel-specific bit errors on the link.
[0089] MCPL ports can be composed of a large number of channels (e.g., 100 channels or more) operating at very high speeds (e.g., 8Gbs). For example, an MCPL port can include 80 or more channels in each direction (e.g., 160+ channels in total). In some instances, an MCPL link or port can proceed to an active state (L0) even when some of the channels of the port or link are faulty or "marginal". This can occur once the centering is completed and for a limited time in a controlled noise and crosstalk environment. The channel can also become marginal over time, for example, due to self-heating, electromigration, aging, packaging defects, and other reasons. The edge channel can cause the entire link to fail. Therefore, it is desirable to identify the channel that has become marginal and do so before the link fails. The identification of the edge channel can allow corrective actions to be taken, such as reconfiguring the link. In some cases, the discovery and correction of the edge channel can be performed dynamically without powering down the link and the corresponding system. This can be beneficial, for example, in a system where constant operation is expected (e.g., in a server system requiring 24x7 operation). Identifying stressed channels can also help adjust centering algorithms for process or packaging changes and improve manufacturing testing.
[0090] Monitoring the analog quality of even a single operating channel at high speed can be difficult. One conventional solution has been to provide an analog view pin to allow test equipment to access the problematic channel. However, in systems with a large number of channels (e.g., 100+ channels), this approach can be unsatisfactory. In addition, identifying a specific one of a large number of channels can be difficult. In addition, even if a specific edge channel can be identified, dynamically reconfiguring the link to account for the edge channel can be expensive and confusing. For example, although QPI links have functionality for identifying hard failures after they have occurred and reconfiguring around the bad channel, such conventional solutions result in reduced bandwidth and other problems.
[0091] In one implementation, MCPL logic can be provided that includes the ability to identify specific edge channels and autonomously take action to replace edge channels before a hard failure occurs without causing a system crash. Packets sent on high-speed links can be protected by checksums, parity, and other values that allow bit errors in packets to be detected. In one example, at least some of the protocols sent on the MCPL link can be protected by CRC. For CRC, a specific corresponding packet is treated as a Galois field polynomial (e.g., GF (2)), which is divided by the CRC polynomial. The remainder or checksum can then be attached to the packet before transmission. At the receiving end, the receiver can attempt to perform the same calculation. If there is no bit error in the packet, the same operation will always produce a fixed remainder (or syndrome). However, the erroneous bit will cause the syndrome to be different from the fixed syndrome.
[0092] In one specific example, a common CRC can be used in each of the data types sent through the MCPL. For example, a 16-bit CRC polynomial can be added to each of the (different protocols) flits, packets, or other data sent through the MCPL. In one example, the CRC polynomial can be selected so that the CRC check son generated from the CRC can be used to identify specific bit errors, which can then be mapped to specific channels of the link. In one example, the check son property of the 0x1f05316-bit polynomial calculation can be used to identify bad channels. Such a CRC polynomial can have the ability to allow all 1, 2, 3-bit errors and almost all 4-bit errors on the MCPL flit to be identified.
[0093] Steering Fig.12, a simplified block diagram 1200 is shown, which represents components implemented in hardware and / or software that can be provided to identify a problem channel from a CRC syndrome value identified during a CRC error calculation in some instances. For example, a first device 1205 can be coupled to a second device 1210 via a MCPL 1215. The first device 1205 can be a transmitting device in a particular transaction (or instance) in this example and send data to a second receiving device 1210 via the MCPL 1215. (It should be appreciated that in other instances, among other examples, the device 1210 can also be a transmitting device and send data to the device 1205 via the MCPL.) The first device 1205 can include logic 1220, which is used to generate one or more microchips for transmission across the MCPL 1215. The packet, message, or other expression of data to be sent via the MCPL can include one or more microchips. Each microchip can include a CRC value calculated and encoded using a CRC generator 1225. The flits can be sent to a second receiving device 1210 via link 1215. The second device 1210 can include logic to receive the flits and decode or otherwise identify the flits, including header values, slot values, and CRC values (eg, using CRC check logic 1230).
[0094] The receiving device can use the CRC value in the received microchip to identify bit errors in the microchip. In some implementations, the receiving device can regenerate the CRC from the remaining bits of the received microchip and compare the regenerated CRC value with the received CRC value (e.g., using CRC check logic 1230) to determine the bit errors. An error checksum (or residual or "symptom") can be generated (e.g., using CRC check logic 1230) during the comparison in response to errors in the microchip (and mismatches between the regenerated CRC value and the received CRC value). In some cases, the syndrome can be generated during the regeneration of the CRC on the payload portion of the microchip at the receiving device and the regenerated CRC can be compared to the received CRC value (e.g., by a bit-by-bit XOR comparison), where the value resulting from the comparison reflects the syndrome. In another example, a CRC can be performed on the entire microchip (i.e., including the received CRC field) at the receiving device, where the result of the operation reflects the syndrome. The syndrome can be generated at the receiver using hardware or firmware, or alternatively, the syndrome can be generated by software (e.g., software that oversees the operation of the receiver and link), among other potential implementations. In one specific implementation, a 16-bit syndrome value can be generated when an error is detected from a 16-bit CRC value. Other implementations can use other error residual values.
[0095] The syndrome value (e.g., 1240) determined by the receiving device (e.g., by the CRC check logic 1230) can be communicated to or otherwise made available to a channel monitor module 1250 implemented in hardware and / or software (or even at one of the first and second devices 1205, 1210). The channel monitor 1250 can include a bit error detection module 1255, which includes logic for mapping the syndrome value to a specific bit (or multiple bits) in a microchip. A CRC value can be generated from a CRC polynomial adapted to the organization of the microchip so that a unique syndrome value is generated from any specified one of an error set (e.g., an error set including any single bit error on any one of the bits of the microchip, any single two-bit error affecting any two consecutive bits of the microchip). Therefore, the bit error detection module 1255 can determine one or more specific bits of the microchip in which the bit error occurs from the syndrome 1240. The bit error detection module can also determine the error type from the syndrome, such as a single bit error or a double bit error, etc.
[0096] In some instances, bits of a flits can be transmitted in the same corresponding lanes in multiple different flits. Thus, a mapping can be maintained and determined (e.g., using a bit-to-lane mapping module 1260) to map errors affecting a specified bit to its corresponding lane of the link. In other cases, such as when a flits is transmitted during a partial width link state or during a lane reversal condition, it can be more involved to map the detected bit affected by the error to the lane where it is transmitted. In some implementations, the lane error monitor 1250 can receive additional data from the receiving device 1210 (and / or the transmitting device 1205) or from other resources (e.g., registers corresponding to the link) indicating the condition of the corresponding lane when the flits were transmitted. Such additional information can include, for example, a physical layer flits of the harmonized phase number, a physical layer link width indicator, an indicator showing whether link reversal is used, etc. Using such information, the bit-to-lane mapping module 1260 can determine the lane used in transmitting a particular flits and thereby determine the bit ordering used during transmission to determine the specific lane where each flits bit is transmitted. In this manner, the bit-to-lane mapping module 1260 can determine, for at least some of the bit errors, from the syndromes, the lanes on which the bit errors occurred. The bit-to-lane mapping module 1260 can record or report this information for the lane error monitor 1265. The lane error monitor 1265 can maintain a record, a counter, or some other data indicating, for each lane of a specified link (e.g., 1215), the number and frequency of errors detected on the lane (e.g., based on reported link errors determined using the bit error detection 1255 and the bit-to-lane mapping module 1260).
[0097] In one example, the channel error monitor 1250 can maintain one or more tables to record the bit errors determined on a channel-by-channel basis. The probability decision algorithm can be used by the channel error monitor 1265 to determine that a statistically significant number of bit errors are detected on a specified channel of the link during a period of time. Among other examples, the statistically significant value can also be a threshold number of errors determined during the period, and can be an error rate that exceeds a defined threshold error rate of the channel. In addition to other factors when determining when the error of the channel exceeds a threshold or other acceptable value, the algorithm can also consider the amount of time that the channel has been active (e.g., in the L0 state or remain active during the partial width state, etc.), the number of bits that have been sent. Based on identifying a statistically significant number of bit errors that occur on the specified channel, the channel error monitor 1265 can determine that the channel is an edge or faulty channel and do so before the problem of the channel causes a fault in the entire MCPL.
[0098] Upon determining that one or more lanes of the link are experiencing a problem, the lane manager 1270 can be invoked to perform an action on the lane or command one or both of the devices 1205, 1210 to enter a reconfiguration state to correct the problem based on a statistically significant number of bit errors determined for the lane from the syndrome value 1240 and / or the checksum comparison value 1280. For example, a lane determined to be "bad" can cause the MCPL to be re-centered and reconfigured to discard the bad lane and reallocate logical lanes to different physical lanes of the link.
[0099] Figures 13A-13C 1. A representation of an example bitmap on the data channels of an example MCPL for various types of data is illustrated. For example, the example MCPL can include fifty data channels. Some forms of traffic sent on the MCPL may use less than the total number of channels provided. Fig.13A The first bit mapping of an example 16-byte slot in a first protocol (e.g., IDI) that can be sent over a data channel within an 8UI symbol or window is illustrated. For example, within the defined 8UI window, three 16-byte slots (including the header slot) can be sent. In this example, two bytes of data remain, which can be sent over a fifty-channel link and these remaining two bytes can be used for CRC bits (i.e., in channels DATA[0] and DATA[1]), a 16-bit 0x1f053 CRC polynomial value, such as discussed above.
[0100] In another example, Fig. 13B A second example bitmap for PCIe packet data sent over fifty data lanes of an example MCPL is shown. Fig. 13BIn an example of PCIe, 16-byte packets (e.g., transaction layer (TLP) or data link layer (DLLP) PCIe packets) can be sent over MCPL. Framing tokens can be included in these symbols and are used to locate the start and end of each packet. In an example of PCIe, Fig. 13B The framing used in the example can be the same as those implemented for PCIe at 8GT / s. In an 8UI window, three PCIe packets (e.g., data link layer packets (DLLPs) or transaction layer packets (TLPs)) can be sent, with the remaining two bytes of bandwidth remaining unused within the window. Fig.13A As in the example of , these two remaining bytes can be used for the same 16-bit 0x1f053 CRC polynomial used in other protocols (eg, IDI) that allow bit-by-bit identification of bit errors using CRC syndromes.
[0101] exist Fig. 13C In yet another example illustrated in FIG, an example bit map of a link-to-link packet (e.g., LLP packet) sent via an example MCPL is shown. According to fault tolerance and error detection within the example implementation, the LLPs can be 4 bytes each and each LLP (e.g., LLP0, LLP1, LLP2, etc.) can be sent four times in a row. For example, failure to receive four consecutive identical LLPs can indicate an error. In addition, as with other data types, failure to receive a VALID within an ongoing time window or symbol can also indicate an error. In some instances, the LLP can have a fixed gap. In addition, in this example, unused or "spare" bits in a byte period can cause a logical 0 to be transmitted through the remaining channels. Among other examples, these free channels can also be expanded to allow the transmission of a 16-bit 0x1f053 CRC polynomial, thereby allowing bit errors to be detected in LLP packets as well. In addition to these examples, other example data types or stream types can also be supported. In addition, alternative bit maps can be adopted for these and other data types and the alternative bit maps can be used in the identification of bit errors on a channel-by-channel basis. As an example, while some of the examples map bits "right to left" starting with the least significant bit numbered lane (e.g., the least significant bit numbered lane of a cluster), other implementations (including other links within the same system) may map lanes from the most significant bit numbered lane (or "left to right"), among other examples.
[0102] Based on the above, with respect to a flitch error, the current flitch mapping can be saved or otherwise made identifiable to the bit-to-channel mapping logic. This state can be saved along with the syndrome to allow software (e.g., the bit-to-channel mapping logic) to decode the channel location of the error. A possible set of flitch mappings can be defined for use on the link. Figure 14-1 ,14-2 , 14-3, shows a representation of a mapping of a syndrome value calculated from a CRC value resulting from a single bit error in a microchip. Such a mapping can be implemented in a syndrome decoder table that can be used to decode the channel where a specified bit error occurred. For example, in Figure 14-1 , 14-2 , 14-3 shows the mapping diagram for a single bit error in a 400-bit (or smaller) microchip. It should be appreciated that Figure 14-1 , 14-2 , 14-3 can represent only a portion of the mapping in some implementations, where additional unique CRC syndrome values are generated to map syndromes to single bit errors in packets and microchips larger than 400 bits. For example, the use of the CRC can be extended to generate unique syndrome values for packets, microchips, or data packets larger than 400 bits (e.g., for a 1-byte window of data sent over fifty lanes of the MCPL).
[0103] The CRC polynomial can be chosen so that there is a unique syndrome value for each possible single bit error in the microchip, as in Figure 14-1 , 14-2 , as shown in 14-3. As an example, in this implementation when a single bit error affects bit 50 of a microchip, a check value of 0xcc48 can always be generated. As another illustration, when a single bit error affects bit 229 of a microchip, a check value of 0xb8d3 can always be generated (in this example implementation), and so on. Implementing such a mapping can be accomplished by determining and using a specific CRC polynomial that is adapted to generate such unique values for a specific microchip layout (and Phit format). For example, in Figure 14-1 and 14-2 In the example of , CRC polynomial 0x1f053 can be selected to generate a 16-bit CRC, which can achieve bit-specific error detection. There may also be multiple other CRC polynomials for a specified microchip format that allow unique single-bit CRC check subvalues for each single-bit error in the microchip. Software can be used to test combinations of bit errors that may newly occur for a specified microchip format and further determine which polynomials produce unique CRC check subvalues for each different microerror for a series of different candidate CRC polynomials.
[0104] Steering Figure 15-1 , 15-2and 15-3, showing a second syndrome decoder table 1500 corresponding to an example 400-bit microchip and a corresponding CRC generated from an example CRC polynomial (e.g., 0x1f053). Syndrome decoder table 1500 maps syndromes to a complete set of two-bit errors (i.e., consecutive bit errors) that may occur in a set of 400 consecutive bits, rather than to a single bit error. Thus, in some implementations, among other examples, a CRC polynomial can be selected and used that produces a unique CRC syndrome value not only for each possible single-bit error on a microchip, but also for all possible two-bit errors. As an example, in this implementation when a double-bit error affects a combination of bits 228 and 229 of a microchip, a syndrome value of 0x1c93 can always be generated. As another illustration, when a double-bit error affects bits 99 and 100 of a microchip, a syndrome value of 0xae58 can always be generated (in this example implementation), and so on. Naturally, it should be appreciated that, Figure 14-1 , 14-2 The examples shown in 14-3, 15-1, 15-2, and 15-3 are specific to the following example implementation, which is used to provide a 16-bit CRC value for a microchip of any of the multiple protocols that can be sent through the MCPL. However, these same principles can be applied to other interconnect link technologies. In addition, it should be appreciated that some CRC polynomials can result in unique detection of other bit-specific errors in addition to (or as an alternative to) single-bit and double-bit errors and other examples.
[0105] A bit error mapping to one or more microchip bits (e.g., implemented by a check sub decoder table) can be used to map the bit error to one or more corresponding channels for sending the corresponding microchip affected by the bit error. For example, a check sub can be received (e.g., from a specific device involved) in a corresponding transaction in which the corresponding bit error is determined from the CRC value of the microchip of the transaction. The channel monitor can determine whether the check sub value is included in one of the sets of check sub decoder tables (e.g., 1400, 1500). If so, the appropriate check sub decoder table can be used to identify the bit number within the microchip that is in error (and whether multiple bits are in error). If the check sub is not included in the available check sub decoder table, the error may not be mapped to a specific bit or channel (e.g., in an instance in which multiple non-continuous bit errors affect microchips). In the case where a table including a check sub value is identified, one or more specific bits can be identified as being affected by the error and then the bit-to-channel mapping can be determined for the identified bit that is in error to determine that the bit in error is sent on a specified one of multiple channels on the interconnected link. The channel number can be decoded, for example, by first determining the type of data in which the error was detected (e.g., from the corresponding stream ID). A corresponding bit-to-channel mapping corresponding to the data type (e.g., Figures 13A-13C). Furthermore, the bit-to-lane mapping used can also be influenced by determining whether any lanes have (previously) been retired on a port (e.g., because the lanes were marginal), the manner in which the lanes are allocated within the channel clusters, which lanes of the corresponding cluster are idle, whether (and which) harmonization phase is applied, and whether lane reversal is applied, among other example factors and considerations.
[0106] Steering Fig.16 , a simplified block diagram 1600 representing at least a portion of a system including an example implementation of an MCPL is shown, which includes clusters 1605-1615 of data channels for implementing the MCPL. The system can include an MCPL logical PHY 630 and an MCPL physical PHY 625. Clusters of channels (e.g., a common cluster 1620 and a phase-locked loop (PLL) cluster 1625) can be used to provide channels for timing and control, such as channels for sidebands, streams, strobes, and valid channels for the MCPL in addition to other channels. In one example, a control channel cluster 1605 can include one or more idle or unused channels. These channels can be used in the event that one or more of the control channels become marginal, where the marginal control channel is reallocated to one of the unused channels. Similarly, each of the clusters of data channels 1605-1615 can be provided with a defined number of channels. In some implementations, channels can be allocated to a specified MCPL on a cluster basis. For example, in one example, each cluster of data channels can include twenty physical channels. If the MCPL is to include fifty channels, three twenty channel clusters can be allocated to the MCPL to provide fifty (or practically, sixty) channels. Because not all of the allocated clusters will be allocated for use in the MCPL, additional unused channels (e.g., 10 channels) can be used in the event that one of the allocated channels becomes marginal.
[0107] As noted above, a CRC check can be included in each microchip of data sent on the MCPL, regardless of the data (or stream) type. In the case of using the check, individual bit errors can be identified and mapped to corresponding physical channels allocated for use in the MCPL. After identifying a threshold or statistically significant number of bit errors for a particular physical channel, the logical PHY, software management system, or other logic can determine that the particular channel is marginal. In order to avoid system failures caused by this marginal channel, the MCPL can be reconfigured without causing a system crash. In one example, the logical allocation of channels can move away from the edge channels toward unused channel blocks in the data channel cluster used in the MCPL. This reconfiguration of the channel can cause the rerouting of the channels used in the MCPL and can include causing the MCPL to enter a link state that allows reconfiguration.
[0108] In one example, a modified re-centering link state and process can be implemented and a sideband channel can be used to communicate with the transmitting and receiving devices to arrange the reconfiguration. For example, a software or hardware-based channel manager can use the MCPL sideband to guide the remote transmitter to reconfigure the link to cause the business of each channel on the left (or right) of the edge channel to be rerouted to its neighbors away from the edge channel. The unused channel adopted by the reconfigured MCPL can be ready for data transmission because it has participated in the initial centering performed during the MCPL initialization (e.g., carrying the scrambled "0" value during the L0 state), thereby allowing data to be sent on the unused channel immediately after the reconfiguration. Among other efficiencies, this can also allow the reconfiguration to abandon the re-centering using PRBS. In other instances, the unused channel remains idle during the L0 data transmission state to save power. In these instances, reconfiguration can be performed (again, without causing link collapse), but PRBS is used in both the reconfiguration and re-centering states.
[0109] Reconfiguring the link to account for the identified edge channels by rerouting a portion of the channels to adjacent channels (and an unused channel) can minimize the overall routing impact. A channel multiplexer that performs the rerouting of the transmitting and / or receiving devices can perform the rerouting. In some implementations, the channel multiplexer can be implemented in software or logical PHY 630, while in other implementations, the channel multiplexer can be implemented in hardware of the physical PHY 625. In some examples, the channel multiplexer can be incorporated into other multiplexers, such as loopback slaves and channel reversal multiplexers in the logical PHY 630. In some instances, among other example considerations, the channel multiplexer can also be advantageously implemented in software or logical PHY 630 to avoid complications caused by other circuits and control channel clusters (e.g., common clusters) at some data channel cluster boundaries.
[0110] Steering Fig.17A -B, illustrates an example implementation of link reconfiguration. For example, in Fig.17A, a cluster of n channels is illustrated. In this example, a total of y+2 channels in the cluster are allocated after the MCPL is configured (at 1705). Thus, after initial configuration, physical channels 0 to x+2 are assigned (logical) channels numbered 0 to y+2. In this example, the empty channels in the MCPL are positioned on the most significant bit channels of one of the clusters used to form the MCPL (in this case, channels x+3 to n). Continuing with this example, channel x can be determined to be marginal, for example, based on the detection of repeated bit errors mapped to the channels using a CRC check (e.g., as described above). In order to address edge channel x, two devices on the link (e.g., 1710, 1715) can enter a reconfiguration (and / or re-centering) state and reroute traffic on a portion of the allocated channels to deactivate edge channel x and replace it with one of the unused channels. For example, because the empty channel "follows" the active channel (and edge channel x), the reconfiguration can cause the channel assignments that "follow" the edge channel to switch 1720 in the direction of the open channel to the adjacent physical channel (as shown in 1725). Thus, the most significant bit assigned channel number y+2 can be moved to the previously unused physical channel x+3, y+1 can be moved to x+2, and the channel number y originally assigned to edge channel x can be moved to physical channel x+1. Edge channel x can be left unused after the move 1720. In some cases, this reconfiguration change can be permanent, where channel x is considered permanently marginal and cannot be used.
[0111] Fig. 17B Another example of reconfiguration of the MCPL of connection devices 1730, 1735 is illustrated. In this example, channel numbers 0 through y+n are initially assigned (at 1740) to physical channels x-3 through n. There are also additional unused physical channels in this example, such as channels 0 through x-4. In this example, the unused channels occupy the least significant physical channels of the link (e.g., channels 0 through x-4) rather than occupying the most significant physical channels of the link. In this example, physical channel x is again determined to be marginal, thereby triggering a reconfiguration of the link. However, considering that the empty channel "precedes" marginal channel x in this example, all channels "preceding" the marginal channel are in the same physical channel as Fig.17A1745. For example, channel number y is moved from edge channel x to channel x-1, channel number y-1 is moved from physical channel x-1 to x-2, channel number y-3 is moved from channel x-3 to previously unused channel x-4, and so on (as shown at 1750). Thus, in determining how to move and reallocate channels in a reconfiguration step, the logic can identify the location of unused channels in a channel cluster for implementing data channels of a link (e.g., MCPL), and can move channels from edge channels toward empty channels, as shown. Figures 17A-17B as in the example.
[0112] For example, when one of the active data channels i is included in one of the assigned clusters. Other examples may define MCPLs or data channel clusters with different numbers of channels, with a corresponding number of clusters assigned to a single MCPL, and a different number of unused channels still from one of the assigned clusters. Regardless of the implementation, the unused data channels remaining in the assigned cluster can be reserved to be reallocated to another data channel determined to be marginal.
[0113] Figures 18A-18B Flowcharts 1800a-b are shown, which illustrate example techniques for detecting and correcting edge channels on an interconnect link (eg, MCPL). Fig.18A As shown in , a microchip can be received 1805, wherein an error code (e.g., CRC) is embedded 1805 in or sent along with a data microchip on a link. Alternatively, errors can be detected by other mechanisms, such as by checking parity on a channel, among other examples. The link can time-multiplex the transmission of multiple different types (or protocols) of data using the same link. The error code can be used (e.g., by a receiving device) to detect 1810 one or more bit errors. For example, the error code can enable the generation of a corresponding syndrome, which can indicate which bits of the microchip are in error. A specific bit error can be mapped 1815 to a specific channel of the link for sending the error bit. The bit error mapping to the channel can be based on which protocol is applicable to the microchip, where different protocols potentially map bits to channels differently. The detected bit errors can be associated 1820 with a specific channel and can be used to detect a marginal channel (e.g., based on a higher average number of bit errors than occur on a specific channel).
[0114] Steering Fig.18B , a particular channel can be determined 1830 to be marginal. Determination 1830 can be based, for example, on Fig.18AThe technology described in the example of 1830 detects multiple bit errors that occur on a specific channel. Determining 1830 that the channel is edge can trigger the reconfiguration of the link to reallocate data to at least one empty or unused channel to deactivate the edge channel. This can be done, for example, by identifying 1835 an empty channel in a channel cluster used to form a link. There can be a continuous set of channels between the edge channel and the empty channel. In some cases, the empty channel can be the first of a section of empty channels in the cluster. The reconfiguration 1840 and reallocation of the channel can involve moving the allocation of each channel (including the edge channel) in the set toward the empty channel and away from the edge physical channel. Thus, the data for each channel in the set is sent on a physical channel adjacent to the physical channel (in the direction of the empty channel) to which it was originally allocated after reconfiguration 1840. One of the empty channels is adopted as the allocated channel in the link due to the movement and the edge channel is unallocated. The channels of the link not included in the set remain as they were initially allocated. This reconfiguration 1840 can occur while the system is active (eg, by transitioning to a reconfiguration link state, such as a centered state), and data transmission can automatically resume 1845 on the newly assigned channels following the reconfiguration 1840 .
[0115] Note that the apparatus, methods, and systems described above can be implemented in any electronic device or system as described above. As a specific illustration, the following figures provide exemplary systems for using the present invention as described herein. As the following systems are described in more detail, many different interconnections are disclosed, described, and revisited from the above discussion. And as is readily apparent, the advances described above can be applied to any of those interconnections, configurations, or architectures.
[0116] Reference now Fig.19 , showing an example implementation of a system 1900 according to an exemplary embodiment. Fig.19 As shown in , multiprocessor system 1900 is a point-to-point interconnect system and includes a first processor 1970 and a second processor 1980 coupled via a point-to-point interconnect 1950. Each of processors 1970 and 1980 may be a certain version of a processor. In one embodiment, 1952 and 1954 are part of a serial point-to-point consistent interconnect structure (e.g., a high-performance architecture). Therefore, the present invention can be implemented within a QPI architecture.
[0117] Although only two processors 1970, 1980 are shown, it is to be understood that the scope of the present invention is not so limited. In other embodiments, one or more additional processors may be present in a given processor.
[0118] Processors 1970 and 1980 are shown including integrated memory controller units 1972 and 1982, respectively. Processor 1970 also includes point-to-point (PP) interfaces 1976 and 1978 as part of its bus controller unit; similarly, second processor 1980 includes PP interfaces 1986 and 1988. Processors 1970, 1980 may exchange information via point-to-point (PP) interface 1950 using PP interface circuits 1978, 1988. Fig.19 As shown in FIG. 1 , IMCs 1972 and 1982 couple the processors to respective memories, namely, memory 1932 and memory 1934, which may be portions of main memory locally attached to the respective processors.
[0119] Processors 1970, 1980 each exchange information with chipset 1990 via separate PP interfaces 1952, 1954 using point-to-point interface circuits 1976, 1994, 1986, 1998. Chipset 1990 also exchanges information with high-performance graphics circuit 1938 along high-performance graphics interconnect 1939 via interface circuit 1992.
[0120] A shared cache (not shown) may be included in either processor or external to both processors; still connected to the processors via the PP interconnect so that local cache information of either or both processors may be stored in the shared cache if the processors are placed in a low power mode.
[0121] Chipset 1990 may be coupled to first bus 1916 via interface 1996. In one embodiment, first bus 1916 may be a peripheral component interconnect (PCI) bus, or a bus such as PCI Express or another third generation I / O interconnect bus, although the scope of the invention is not so limited.
[0122] like Fig.19 As shown in FIG. 1 , various I / O devices 1914 are coupled to a first bus 1916 along with a bus bridge 1918 that couples the first bus 1916 to a second bus 1920. In one embodiment, second bus 1920 comprises a low pin count (LPC) bus. Various devices are coupled to second bus 1920 including, for example, a keyboard and / or mouse 1922, communication devices 1927, and a storage unit 1928 (such as a disk drive or other mass storage device, which in one embodiment typically includes instructions / code and data 1930). Additionally, an audio I / O 1924 is shown coupled to second bus 1920. Note that other architectures are possible in which different components and interconnect architectures are included. For example, instead of Fig.19 Instead of a point-to-point architecture, the system may implement a multi-drop bus or other such architecture.
[0123] 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. The appended claims are intended to cover all such modifications and variations that fall within the true spirit and scope of the claimed invention.
[0124] A design may go through various stages, from creation to simulation to manufacturing. Data representing a design may represent the design in many ways. First, as is useful in simulation, hardware may be represented using a hardware description language or another functional description language. In addition, a circuit-level model with logic and / or transistor gates may be generated at certain stages of the design process. In addition, most designs reach a data level representing the physical layout of various devices in the hardware model at a certain stage. In the case where conventional semiconductor manufacturing techniques are used, the data representing the hardware model may be data that specifies the presence or absence of various features on different mask layers of a mask used to produce an integrated circuit. In any representation of a design, data may be stored in any form of machine-readable medium. A memory or magnetic or optical storage device (e.g., a disk) may be a machine-readable medium for storing information transmitted via light waves or electric waves, wherein the light waves or electric waves are modulated or otherwise generated to transmit such information. When an electric carrier wave indicating or carrying a code or design is transmitted, a new copy is made in terms of performing replication, buffering, or retransmission of the electric signal. Thus, a communications provider or network provider may store, at least temporarily, a product such as information encoded into a carrier wave on a tangible, machine-readable medium embodying the techniques of embodiments of the present invention.
[0125] When used in this article, module refers to any combination of hardware, software and / or firmware. As an example, a module includes hardware, such as a microcontroller, which is associated with a non-transient medium to store code adapted to be executed by the microcontroller. Therefore, in one embodiment, a reference to a module refers to hardware that is specifically configured to identify and / or execute code retained on a non-transient medium. In addition, in another embodiment, the use of a module refers to a non-transient medium including a code that is specifically adapted to be executed by a microcontroller to perform a predetermined operation. And as can be inferred, in another embodiment, the term module (in this example) can refer to a combination of a microcontroller and a non-transient medium. Typically, the module boundaries illustrated as being separated usually vary and potentially overlap. For example, the first and second modules can share hardware, software, firmware, or a combination thereof, while potentially retaining some independent hardware, software or firmware. In one embodiment, the use of the term logic includes hardware such as transistors, registers, or other hardware such as programmable logic devices.
[0126] In one embodiment, the use of the phrase 'configured to' refers to arranging, assembling, manufacturing, marketing, importing and / or designing a device, hardware, logic or element to perform a specified or determined task. In this example, a device or element that is not in operation is still 'configured to' perform the specified task if it is designed, coupled and / or interconnected to perform the specified task. As a purely illustrative example, a logic gate can provide 0 or 1 during operation. But a logic gate that is 'configured to' provide an enable signal to a clock does not include every potential logic gate that can provide 1 or 0. Instead, a logic gate is a logic gate coupled in a certain way so that a 1 or 0 output is used to enable the clock during operation. Note again that the use of the term 'configured to' does not require operation, but instead focuses on the potential state of the device, hardware and / or element, wherein in the potential state, the device, hardware and / or element is designed to perform a specific task when the device, hardware and / or element is in operation.
[0127] Additionally, in one embodiment, the use of the phrases 'to', 'can' and or 'operable to' refers to some device, logic, hardware and / or element being designed in a certain manner so that the device, logic, hardware and / or element can be used in a specified manner. As noted above, in one embodiment, the use of to, can or operable to refers to a potential state of a device, logic, hardware and / or element, wherein the device, logic, hardware and / or element is not in operation but is designed in a certain manner so that the device can be used in a specified manner.
[0128] As used herein, a value includes any known representation of a number, state, logic state, or state of binary logic. Typically, the use of logic levels, logic values, or values of logic is also referred to as 1 and 0, which simply represent binary logic states. For example, 1 refers to a high logic level and 0 refers to a low logic level. In one embodiment, a storage cell such as a transistor or a flash cell may be able to hold a single logic value or multiple logic values. However, other representations of values are used in computer systems. For example, the decimal number ten may also be represented as the binary value of 1010 and the hexadecimal letter A. Therefore, a value includes any representation of information that can be held in a computer system.
[0129] In addition, a state can be represented by a value or a portion of a value. As an example, a first value, such as a logical one, can represent a default or initial state, while a second value, such as a logical zero, can represent a non-default state. In addition, the terms reset and set, in one embodiment, refer to default and updated values or states, respectively. For example, a default value potentially includes a high logical value, i.e., reset, while an updated value potentially includes a low logical value, i.e., set. Note that any combination of values can be used to represent any number of states.
[0130] Embodiments of the methods, hardware, software, firmware, or code described above may be implemented via instructions or code stored on a machine-accessible, machine-readable, computer-accessible, or computer-readable medium that is executable by a processing element. Non-transitory machine-accessible / readable media include any mechanism that provides (i.e., stores and / or transmits) information in a form that is readable by a machine (e.g., a computer or electronic system). For example, non-transitory machine-accessible media include random access memory (RAM), such as static RAM (SRAM) or dynamic RAM (DRAM); ROM; magnetic or optical storage media; flash memory devices; electrical storage devices; optical storage devices; acoustic storage devices; other forms of storage devices for holding information received from transient (propagating) signals (e.g., carrier waves, infrared signals, digital signals); etc., which are to be distinguished from non-transitory media from which information may be received.
[0131] Instructions for programming logic to perform embodiments of the present invention may be stored in a memory in the system, such as a DRAM, cache, flash memory, or other storage device. In addition, instructions can be distributed via a network or through other computer-readable media. Thus, a machine-readable medium may include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer), but is not limited to a floppy disk, an optical disk, a compact disk, a read-only memory (CD-ROM), and a magneto-optical disk, a read-only memory (ROM), a random access memory (RAM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic or optical card, a flash memory, or a tangible machine-readable storage device, which is used in transmitting information through the Internet via electrical, optical, acoustic, or other forms of propagation signals (e.g., carrier waves, infrared signals, digital signals, etc.). Therefore, a computer-readable medium includes any type of tangible machine-readable medium suitable for storing or transmitting electronic instructions or information in a form readable by a machine (e.g., a computer).
[0132] The following examples relate to embodiments according to the specification. One or more embodiments may provide an apparatus, a system, a machine-readable storage device, a machine-readable medium, and / or a method for receiving first data on multiple data lanes of a physical link, receiving a stream signal corresponding to the first data on a stream channel (which identifies a type of the first data), identifying a first instance of a specific type of error detection code in the first data, receiving second data on at least a portion of the multiple data lanes, receiving a stream signal corresponding to the second data on the stream channel (which identifies a type of the second data), and identifying a second instance of a specific type of error detection code in the second data. The stream channel is another channel in the channels of the physical link, and in some instances, the type of the second data is different from the type of the first data.
[0133] In one example, a particular type of error detection code is a cyclic redundancy check (CRC) code.
[0134] In one example, the CRC code in the first data and the CRC code in the first data are based on a common CRC polynomial.
[0135] In one example, the error detection code is sent on one or more specific lanes of the plurality of lanes in the first data and the error detection code is sent on one or more other lanes of the plurality of lanes in the second data.
[0136] In one example, fewer of the plurality of lanes are used to transmit the second data than the first data.
[0137] In one example, lane error detection logic (in hardware circuitry and / or software) is provided to determine from a syndrome associated with an error detection code corresponding to the first data that a bit error exists in the first data, determine from the syndrome which bit in the first data is in error, and map the erroneous bit to a particular one of a plurality of lanes.
[0138] In one example, bit errors are to be associated with a particular channel.
[0139] In one example, a syndrome is generated from an error detection code corresponding to the first data.
[0140] In one example, mapping the erroneous bits to a particular one of the plurality of lanes is based on the type of the first data.
[0141] In one example, a particular one of the plurality of lanes is identified as marginal and at least one of the plurality of lanes is unused. The link can be reconfigured to discontinue routing data on the particular lane and replace the particular lane with the at least one unused lane.
[0142] In one example, reconfiguring the link includes rerouting a group of the plurality of channels to move each channel in the group to an adjacent channel away from the particular channel and toward the at least one unused channel.
[0143] In one example, each data type corresponds to a respective one of a plurality of different communication protocols.
[0144] In one example, the physical layer logic is to receive a valid signal associated with at least the first data to indicate that the first data is valid.
[0145] In one example, the physical layer logic is further to define a data window for data to be sent on the data channel, and the data window corresponds to a valid signal.
[0146] One or more embodiments may provide an apparatus, system, machine-readable storage device, machine-readable medium, and / or method for determining a first error correction code for first data to be sent on multiple data lanes of a physical link, sending the first data with the first error correction code on the multiple data lanes, determining a second error correction code for second data to be sent on at least a portion of the data lanes of the physical link, and sending the second data with the second error correction code on at least a portion of the data lanes. The first and second data can be data of different types or protocols. The first error correction code and the second error correction code can each be instances of the same error correction code type.
[0147] In one example, the error correction code type includes a cyclic redundancy check (CRC) code, and the first error correction code and the second error correction code are each instances of a CRC generated from a particular CRC polynomial.
[0148] In one example, wherein the particular CRC polynomial is configured to allow syndromes to be generated from a CRC code calculated according to the particular CRC polynomial, and each of these syndromes corresponds to a respective bit error on a specific corresponding bit in the microchip.
[0149] One or more embodiments may provide an apparatus, system, machine-readable storage device, machine-readable medium, and / or method for identifying that a particular one of a plurality of lanes of a link is marginal, wherein at least one of the plurality of lanes is unused. The link is then reconfigured to discontinue routing data on the particular lane and replace the particular lane with the at least one unused lane, wherein reconfiguring the link includes rerouting data for each lane in a subset of the plurality of lanes to an adjacent lane in the plurality of lanes.
[0150] In one example, a particular lane is identified as marginal based on a bit error mapping to the particular lane, and bit errors are detected based on syndrome values generated from error codes included in data sent over the link.
[0151] In one example, a particular lane is identified as marginal based on a threshold number of detected bit errors mapped to the particular lane.
[0152] In one example, multiple flits of multiple different protocols are to be sent using a link.
[0153] One or more embodiments may provide a system including an interconnect including a plurality of channels, wherein the plurality of channels include a plurality of dedicated data channels, at least one dedicated valid signal channel, and at least one stream signal channel, and the stream channel identifies which of a plurality of different protocols is to be sent in a corresponding microchip using the data channel. The system can further include a first device for sending data over the data channel, the data including a cyclic redundancy check (CRC) and a second device communicatively coupled to the first device using the interconnect, the second device for receiving the data and determining an error affecting a specific one of the plurality of data channels based on the CRC.
[0154] In one example, the system further includes a channel error manager to identify that a particular one of the plurality of data channels is marginal, wherein at least one of the plurality of data channels is unused, and to reroute the data channels to discontinue use of the particular channel and replace the particular channel with the at least one unused channel, wherein rerouting the data channels includes rerouting data of each channel in a subset of the plurality of data channels to an adjacent channel of the plurality of channels.
[0155] References throughout this specification to "one embodiment" or "an embodiment" mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0156] In the foregoing specification, a detailed description has been given with reference to specific exemplary embodiments. However, it will be apparent that various modifications and changes may be made thereto without departing from the broader spirit and scope of the invention as set forth in the appended claims. The specification and figures are therefore to be considered in an illustrative rather than a restrictive sense. Furthermore, the foregoing use of embodiments and other exemplary language does not necessarily all refer to the same embodiment or the same example, but may refer to different and distinct embodiments, as well as potentially the same embodiment.
Claims
1. An interface device for implementing a plurality of layered protocol stacks including a first layered protocol stack and a second layered protocol stack, the interface device comprising: A physical PHY layer comprising an electrical sub-block and a logical sub-block, the electrical sub-block comprising: a plurality of transmitters for transmitting data to an external device via at least one link, wherein the at least one link comprises a set of a plurality of data channels, and a plurality of receivers for receiving information from the external device via corresponding links; a plurality of transaction layer blocks for communicating data according to a corresponding plurality of data communication protocols, the plurality of transaction layer blocks comprising a first transaction layer block associated with the first layered protocol stack, the first transaction layer block for communicating first data according to a first data communication protocol, and a second transaction layer block associated with the second layered protocol stack, the second transaction layer block for communicating second data according to a second data communication protocol; as well as Logical PHY layer, including: multiplexing logic for interconnecting the first transaction layer block and the second transaction layer block to selected transmitter and receiver pairs of the electrical sub-block; a microchip generator, configured to encode the first data into a plurality of microchips; A cyclic redundancy check (CRC) generator, configured to generate a plurality of 16-bit CRC values based on bit values of corresponding flits of the plurality of flits; wherein a plurality of transmitters of the selected transmitter and receiver pairs are to transmit at least one flitter of the plurality of flitters having a first CRC value; as well as An error detector is configured to detect bit errors in received flits based on a second CRC value, the received flits and the second CRC value being received by one or more receivers of the selected transmitter and receiver pair.
2. The interface device of claim 1, wherein the microchip generator is used to encode the second data into a second plurality of microchips.
3. An interface device according to claim 1 or 2, wherein the error detector is used to detect 1, 2, 3 or 4 bit errors based on the second CRC value.
4. The interface device according to claim 1 or 2, in, The PHY layer is modular and protocol agnostic.
5. The interface device according to claim 1 or 2, in, The data channel is implemented using a transmitter differential signal pair and a receiver differential signal pair.
6. The interface device according to claim 1 or 2, in, One of the CRC values is added to each of the plurality of flits.
7. The interface device of claim 1 or 2, wherein the multiplexing logic is used to interconnect the first transaction layer block to a transmitter and a receiver of a first link comprising a first set of data lanes.
8. The interface device according to claim 7, further comprising: The channel manager is configured to remove the first one or more data channels from the first set of data channels.
9. The interface device of claim 8, wherein the channel manager is configured to add a second one or more data channels to the first set of data channels.
10. A multi-chip package comprising: substrate; A plurality of dies mounted on the substrate, wherein the multi-chip package comprises the interface device of any one of claims 1 to 9.
11. The multi-chip package of claim 10, wherein a first die of the plurality of dies comprises one or more processor cores.
12. The multi-chip package of claim 10, wherein a first die of the plurality of dies comprises a memory controller coupling the multi-chip package to a memory.
13. The multi-chip package of claim 10, wherein the at least one link is used to couple a first die of the plurality of dies to a second die on a different package.
14. A system for communicating data, comprising: system memory; and A multi-chip package according to any one of claims 10 to 13.
15. The system according to claim 14, further comprising: a graphics processor coupled to the multi-chip package to perform graphics processing operations; and / or One or more input / output IO devices are coupled to the multi-chip package through one or more data channels.
16. A device for processing data, the device include: A port for coupling to another die via a die-to-die D2D link, wherein the D2D link is a link supporting multiple protocols, and The ports include: Blocks for implementing the link layer; and Physical PHY layer circuit, including: Logical physical PHY layer; Multiple sideband channel pins; and Multiple master band channel pins, The main band channel pin is used to implement the main data path of the D2D link, and the multiple main band channel pins include a clock pin, a valid channel pin and a plurality of data channel pins; The PHY circuit is used for: receiving data from the link layer, wherein the data includes a cyclic redundancy check (CRC) value determined for the data; and The data is sent from the first die to the second die over the D2D link.
17. A system for processing data, the system include: a first tube core; as well as a second die coupled to the first die via a die-to-die D2D link, wherein the second die includes a port connecting the second die to the D2D link, wherein the D2D link is a link supporting multiple protocols, and The ports include: Blocks for implementing the link layer; and Physical PHY layer circuit, including: Logical physical PHY layer; Multiple sideband channel pins; and Multiple master band channel pins, The main band channel pin is used to implement the main data path of the D2D link, and the multiple main band channel pins include a clock pin, a valid channel pin and a plurality of data channel pins; The PHY circuit is used for: receiving data from the link layer, wherein the data includes a cyclic redundancy check (CRC) value determined for the data; and The data is sent from the first die to the second die over the D2D link.
Citation Information
Patent Citations
Multichip package link
WO2015099719A1
