Crosstalk generation in multi-channel links during channel testing
Through the PCIe interconnection architecture and expanded link training state machine, the problem of insufficient interconnection architecture capabilities in the existing technology is solved, high-performance and multi-channel link testing is achieved, and the needs of high-performance computing and mobile devices are met.
Patent Information
- Application Number
- CN202011581811.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-05-25
- Filing Date
- 2018-12-07
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2038-12-07
AI Technical Summary
Existing interconnect architectures struggle to meet high-performance computing demands, especially in the server space, due to a lack of capabilities due to the need for higher processor speeds.
Adopting PCIe interconnect architecture, through point-to-point interconnect, switch-based technology and packetized protocols, to achieve high performance and features such as power management, quality of service, hot plug/hot swap support, data integrity and error handling, and expansion Link training state machine to support testing of multi-channel links.
Improves communication performance and complexity between computing system components to meet different market needs, including performance and power saving needs of server and mobile ecosystems.
Smart Images

Figure CN112583540B_ABST
Abstract
Description
[0001] This application is a divisional application of the patent application with the same name with application number 201811492775.X filed on December 7, 2018.
[0002] Related Applications
[0003] This application claims the benefit of priority to U.S. Provisional Patent Application No. 62 / 614,874, filed on January 8, 2018, the disclosure of which is incorporated herein by reference in its entirety. Technical Field
[0004] The present disclosure relates to computing systems and, in particular, but not exclusively, to testing systems for point-to-point interconnects. Background Art
[0005] Advances in semiconductor processing and logic design have allowed for an increase in the amount of logic that may 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 on individual integrated circuits, as well as other interfaces integrated within 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.
[0006] Smaller computing devices are becoming more and more popular due to the greater ability to pack more processing power into smaller packages. Smart phones, tablet computers, ultra-thin notebooks and other user devices are growing exponentially. However, these smaller devices rely on servers for data storage and complex processing beyond the form factor. Therefore, the demand in the high-performance computing market (i.e., server space) is also increasing. For example, in modern servers, typically there is not only a single processor with multiple cores, but also multiple physical processors (also referred to as multiple sockets) to increase computing power. Servers can also be implemented in rack-scale architectures using distributed computing, as well as other alternative implementations. When processing power grows with the number of devices in a computing system, communication between sockets and other devices becomes more critical.
[0007] In fact, interconnects have evolved from more traditional multi-drop buses that primarily handled electrical communications to fully interconnected architectures that facilitate fast communications. Unfortunately, due to the demand for future processors to consume at even higher rates, corresponding demands are placed on the capabilities of existing interconnect architectures. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 An embodiment of a computing system including an interconnect architecture is shown.
[0009] Figure 2 An embodiment of an interconnect architecture including a layered stack is shown.
[0010] Figure 3 Embodiments of requests or packets to be generated or received within an interconnect fabric are shown.
[0011] Figure 4 An embodiment of a transmitter and receiver pair for an interconnect architecture is shown.
[0012] Figure 5 is a diagram illustrating an example link training state machine.
[0013] Figure 6A-6B is a diagram showing an example device connected to a tester device to conduct a test on a particular lane of a link.
[0014] Figure 7 is a diagram illustrating a portion of an example link training state machine including a dedicated test link state.
[0015] Figure 8 is a block diagram illustrating an example device connected to a tester device using an example compliance fixture.
[0016] Figures 9A-9E is a block diagram illustrating signaling within an example test link state.
[0017] Fig.10 An embodiment of a block diagram of a computing system including a multi-core processor is shown.
[0018] Fig.11 An embodiment of a block of a computing system including multiple processors is shown. DETAILED DESCRIPTION
[0019] Many specific details are set forth in the following description, 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 thorough understanding of the present invention. However, it will be apparent to those skilled in the art that these specific details need not necessarily be employed to practice the present invention. In other instances, the following well-known components or methods are not described in detail so as not to unnecessarily obscure the present invention: for example, specific and alternative processor architectures, specific logic circuits / code for the described algorithms, specific firmware code, specific interconnect operations, specific logic configurations, specific manufacturing techniques and materials, specific compiler implementations, specific algorithmic expressions in code form, specific power-down and gating techniques / logic, and other specific operational details of computer systems.
[0020] Although the following embodiments may be described with reference to energy conservation and energy efficiency in a particular integrated circuit (e.g., in a computing platform or microprocessor), other embodiments are also applicable to other types of integrated circuits and logic devices. Similar techniques and teachings of the embodiments described herein may be applied to other types of circuits or semiconductor devices that may similarly benefit from better energy efficiency and energy conservation. For example, the disclosed embodiments are not limited to desktop computer systems or Ultrabooks. TM , and can also be used for other devices, such as handheld devices, tablet computers, other thin notebook computers, 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), system-on-chips, network computers (NetPCs), set-top boxes, network centers, wide area network (WAN) switches, or any other system that can perform the functions and operations taught below. In addition, the apparatus, methods, and systems described herein are not limited to physical computing devices, but can also be related to software optimization for energy conservation and efficiency. As will become apparent in the following description, the embodiments of the methods, apparatuses, and systems described herein (whether with reference to hardware, firmware, software, or a combination thereof) are critical to the future of "green technology" balanced with performance considerations.
[0021] As computing systems evolve, the components therein become more complex. As a result, the complexity of the interconnect architecture used for coupling and communication between components is also increasing to ensure that bandwidth requirements for optimal component operation are met. In addition, different market segments require different aspects of the interconnect architecture to meet market needs. For example, servers require higher performance, while the mobile ecosystem is sometimes able to sacrifice overall performance to save power. However, the single purpose of most structures is to provide the highest possible performance and maximum power savings. A number of interconnects are discussed below that would potentially benefit from aspects of the present invention described herein.
[0022] One interconnect fabric architecture includes the Peripheral Component Interconnect Express (PCI) (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 and mobile), servers (standard, rack-scale, cloud, fog, enterprise, etc.), and embedded devices and communications devices. PCI Express is a high-performance general-purpose I / O interconnect that is defined for a variety of future computing and communications platforms. Some PCI attributes (e.g., its usage model, load-store architecture, and software interface) have been maintained through its revisions, while previous parallel bus implementations have been replaced by highly scalable, fully serial interfaces. The most recent PCI Express versions utilize improvements in point-to-point interconnects, switch-based technology, and packetized protocols to achieve new levels of performance and features. Some of the advanced features supported by PCI Express are power management, quality of service (QoS), hot-plug / hot-swap support, data integrity, and error handling.
[0023] refer to Figure 1 , shows an embodiment of a structure 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 conforms to different interconnect standards. In some implementations, the system may include logic for implementing multiple protocol stacks and additional logic for negotiating alternative protocols to be run on top of a common physical layer, as well as other example features.
[0024] System memory 110 includes any memory device, such as random access memory (RAM), non-volatile (NV) memory, or other memory accessible to 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.
[0025] In one embodiment, controller hub 115 is a root hub, root complex or root controller in a Peripheral Component Interconnect Express (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. Often, the term chipset refers to two physically separate controller hubs, i.e., a memory controller hub (MCH) coupled to an interconnect controller hub (ICH). Note that current systems often include an MCH integrated with processor 105, and controller 115 communicates with I / O devices in a manner similar to that described below. In some embodiments, peer-to-peer routing is optionally supported through root complex 115.
[0026] Here, controller hub 115 is coupled to switch / bridge 120 via serial link 119. Input / output modules 117 and 121 (also referred to as interfaces / ports 117 and 121) include / implement a layered protocol stack to provide communication between controller hub 115 and switch 120. In one embodiment, multiple devices can be coupled to switch 120.
[0027] The switch / bridge 120 routes packets / messages from the device 125 upstream (i.e., toward the level of the root complex upward) to the controller hub 115, and from the processor 105 or the system memory 110 downstream (i.e., away from the level of the root controller downward) to the device 125. In one embodiment, the switch 120 is referred to as a logical component 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, for example, an I / O device, a network interface controller (NIC), an insert 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. Often in PCIe, terms such as devices are referred to as endpoints. Although not specifically shown, the device 125 may include a PCIe to PCI / PCI-X bridge to support traditional or other versions of PCI devices. Endpoint devices in PCIe are often classified as legacy, PCIe, or root complex integrated endpoints.
[0028] 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 therefore the I / O device 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 discussed above, the graphics controller or graphics accelerator 130 itself can be integrated into the processor 105. In addition, one or more links (e.g., 123) of the system can include one or more expansion devices (e.g., 150), such as retimers, repeaters, etc.
[0029] Go to Figure 2 , showing 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 the following reference 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 including a transaction layer 205, a link layer 210, and a physical layer 220. The interface (e.g., Figure 1 The interfaces 117, 118, 121, 122, 126 and 131 in the embodiment of the present invention can be represented as a communication protocol stack 200. The representation as a communication protocol stack can also be referred to as a module or interface that implements / includes the protocol stack.
[0030] PCI Express uses packets to transfer information between components. Packets are formed in the transaction layer 205 and the data link layer 210 to carry information from the sending component to the receiving component. As the packets being sent flow through the other layers, the packets are extended with additional information necessary to process the packets at those layers. On the receiving side, the reverse process occurs and the packet is transformed from its physical layer 220 representation to the 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.
[0031] Transaction Layer
[0032] In one embodiment, transaction layer 205 is used to provide an interface between the processing core of the device and the interconnect architecture (e.g., data link layer 210 and physical layer 220). In this regard, the primary responsibility of transaction layer 205 is the assembly and unpacking of packets (i.e., transaction layer packets or TLPs). Transaction layer 205 typically manages credit-based flow control for TLPs. PCIe implements split transactions, i.e., transactions where requests and responses are separated by time, allowing the link to carry other traffic while the target device collects data for the response.
[0033] In addition, PCIe utilizes credit-based flow control. In this scheme, the device advertises the initial credit amount of each receive buffer in the transaction layer 205. The external device at the opposite end of the link (e.g., Figure 1 The controller hub 115 in the Controller Hub counts the number of credits consumed by each TLP. If the transaction does not exceed the credit limit, the transaction can be sent. When a response is received, a certain amount of credit will be restored. The advantage of the credit scheme is that if the credit limit is not encountered, the delay in the return of credit will not affect performance.
[0034] 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. Memory space transactions include one or more of read requests and write requests for transferring data to or from a memory mapped location. In one embodiment, memory space transactions can use two different address formats, for example, a short address format (e.g., a 32-bit address) or a long address format (e.g., a 64-bit address). Configuration space transactions are used to access the configuration space of a PCIe device. Transactions of 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.
[0035] Thus, in one embodiment, transaction layer 205 packages packet header / payload 206. The current format of packet header / payload can be found in the PCIe specification at the PCIe specification website.
[0036] Quick Reference Figure 3 , shows an embodiment of a PCIe transaction descriptor. In one embodiment, a transaction descriptor 300 is a mechanism for carrying transaction information. In this regard, the transaction descriptor 300 supports the identification of transactions in the system. Other potential uses include tracking modifications to default transaction ordering and the association of transactions with channels.
[0037] 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 as including a local transaction identifier field 308 and a source identifier field 310. In one embodiment, global transaction identifier 302 is unique for all outstanding requests.
[0038] 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 are required to be completed 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 field 308 provides a global identification of a transaction within the hierarchy domain.
[0039] 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 processing of the transaction. In one embodiment, attribute field 304 includes priority field 312, reserved field 314, sort field 316, and non-listening 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 use or vendor-defined use. Reserved attribute fields can be used to implement possible usage models that use priority or security attributes.
[0040] In this example, the sorting attribute field 316 is used to provide optional information that conveys the type of sorting that can modify the default sorting rules. According to an example implementation, a sorting attribute of "0" indicates that the default sorting rules are to be applied, wherein a sorting attribute of "1" indicates a relaxed sorting, wherein writes can be delivered in the same direction as writes, and read completions can be delivered in the same direction as writes. The snooping 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.
[0041] Link Layer
[0042] The link layer 210 (also referred to as the data link layer 210) acts as an intermediate stage 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 two link components. One side of the data link layer 210 accepts the TLPs packaged 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.
[0043] Physical Layer
[0044] In one embodiment, the physical layer 220 includes a logical sub-block 221 and an electronic block 222 to physically send packets to an external device. Here, the logical sub-block 221 is responsible for the "digital" functions of the physical layer 220. In this regard, the logical sub-block includes a transmit portion for preparing outgoing information for transmission by the physical sub-block 222, and a receiver portion for identifying and preparing received information before passing it to the link layer 210.
[0045] Physical block 222 includes a transmitter and a receiver. The transmitter is provided with symbols by logic sub-block 221, and the transmitter serializes the symbols and sends them to an external device. The receiver is provided with serialized symbols from an external device, and the receiver converts the received signal into a bit stream. The bit stream is deserialized and provided to logic sub-block 221. In one embodiment, 8b / 10b transmission code is adopted, in which ten-bit symbols are sent / received. Here, special symbols are used to frame the packets into frames 223. In addition, in one example, the receiver also provides a symbol clock recovered from the incoming serial stream.
[0046] As stated above, although the transaction layer 205, link layer 210, and physical layer 220 are discussed with reference to a specific embodiment of the PCIe protocol stack, the layered protocol stack is not limited thereto. 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 grouping packets, i.e., a transaction layer; a second layer for sequencing 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.
[0047] Next reference Figure 4 , an embodiment of a PCIe serial point-to-point structure is shown. Although an embodiment of a PCIe serial point-to-point link is shown, the serial point-to-point link is not limited thereto 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, device 405 includes a transmit logic 406 for sending data to device 410 and a receive logic 407 for receiving data from 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.
[0048] A transmission path refers to any path for transmitting data, such as a transmission line, a copper line, an optical line, a wireless communication channel, an infrared communication link, or other communication path. A connection between two devices (e.g., 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 represented by xN, where N is any supported link width, such as 1, 2, 4, 8, 12, 16, 32, 64, or wider.
[0049] 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, e.g., better signal integrity, i.e., cross-coupling, voltage overshoot / undershoot, ringing, etc. This allows for better timing windows, which enables faster transmission frequencies.
[0050] In some implementations, a high-performance interconnect and corresponding interconnect protocol (e.g., a next-generation PCIe-based interconnect) may be provided that is capable of operating at high speeds such as 25GT / s and / or 32GT / s. In one example, two speeds, 25GT / s and 32GT / s, may be defined for the high-performance interconnect based on characteristics determined for a channel (e.g., during link training). In one implementation, the interconnect may be backward compatible with existing PCIe generations and speeds provided for those generations (e.g., 8GT / s, 16GT / s, etc.).
[0051] Go to Figure 5 500, illustrates an example link training state machine, e.g., a PCIe link training and state state machine (LTSSM). Transitions between various link states may be defined, including signaling that will occur to notify another system on the link, or to complete a handshake between interconnected devices to request, negotiate, and / or confirm a transition from one state to the next in order to reach an active transmit link state (e.g., L0 (520)). For example, some state transitions may be defined as involving the sending and receiving of training set (TS) ordered sets (OS). In an implementation utilizing PCIe as a PHY protocol, the TS ordered sets may include TS1 and TS2 ordered sets, as well as other example ordered sets. The ordered sets and training sequences sent during link training may be based on a particular link training state, wherein the various link training states are utilized to accomplish corresponding link training activities and objectives.
[0052] In one example, for example, Figure 5As shown, the link training state machine 500 may include the following states: for example, a reset state, a detection state 505 (e.g., for detecting a far-end terminal (e.g., another device connected to the channel)), a polling state 510 (e.g., for establishing symbol lock and configuring channel polarity), a configuration (or "Config") state 515 (e.g., for configuring the connected physical channel as a link with a specific channel width, channel number, etc., performing channel-to-channel de-skew and other link configuration activities), a loopback state 535 (e.g., for performing testing, fault isolation, equalization and other tasks), a recovery 540 state (e.g., for changing the data rate of operation, reestablishing bit lock, symbol lock or block alignment, performing channel-to-channel de-skew, etc.), and other states (e.g., low power states L1 (525) and L2 (530)) that may be used to bring the link to an active link state (e.g., L0 (520)). In one example, the training sequence to be sent in a specific one (or more) of the link training states (e.g., in Figure 5 ) can be defined to accommodate negotiation of a specific one of the supported protocols for a specific device. For example, a specific training state can be a training state before entering an active link state (e.g., 520), or a training state in which a data rate can be increased (e.g., exceeding a data rate supported by at least one of the supported protocols), such as a PCIe state in which data rates are converted from Gen1 speeds to Gen3 and higher speeds, as well as other examples.
[0053] In some implementations, additional link states (and corresponding hardware circuitry and other logic implemented on a device that is compatible with the interconnect protocol) may be defined to support testing of ports on a device. For example, additional states may be defined that may be input to support testing of individual channels (i.e., the hardware and logic by which a device sends and receives data on a given bidirectional channel). In such instances, the link state machine may be augmented (e.g., Figure 5 The example link state machine introduced in ) allows state transitions to deviate from expected situations when training a link to a default or standard operating state to allow a channel to be tested to transition to a first state while other channels of a multi-channel link will transition to different states to support testing of the channel under test.
[0054] In some instances, conventional tester equipment (e.g., a conventional BERT) may only test a single lane, and the equipment may be programmed or designed (for various reasons) to limit the lanes that can be tested. For example, a conventional PCIe BERT may only be able to test Lane 0 of a PCIe device (e.g., due to other competing transmitter equalization considerations), and may be further limited to only being able to use existing PCIe LTSSM transitions. For example, a conventional BERT may train the DUT to L0 (e.g., resulting in Lane 0 correlation), perform equalization through recovery, transition from recovery to loopback (with the BERT as master), and then continue testing the receiver.
[0055] Additionally, in some conventional implementations, the tester may not use or cause true (near-end or far-end) crosstalk to be generated from other channels (not being tested), but using approximations in the BERT to artificially inject additional noise into the signal transmitted on the tested channel during testing may result in model-assumed (and in many cases, worst-case) crosstalk (e.g., combined near-end and far-end crosstalk). However, in cases where the interconnect is designed to handle increased data rates (e.g., 32.0GT / s (e.g., PCIe Gen4)), it may be more critical to test the exact packaging and channel-induced crosstalk by accurately capturing the actual crosstalk caused by the actual design of the packet rather than relying on approximations, as higher data rates allow for increasingly smaller margins of error. In some cases, a multi-channel BERT may be provided, which may simplify test implementations involving more than one channel at a time, but such a system may be prohibitively expensive in some applications. The link training state machine may alternatively be augmented (e.g., Figure 5 ), and corresponding logic is provided in a compliant device to allow a more cost-effective and accurate approach using traditional single-channel BERT designs. In fact, in some implementations, not only far-end crosstalk (FEXT) (e.g., crosstalk generated by transmissions from a remote device to the device under test) can be captured, but also near-end crosstalk (NEXT) (e.g., crosstalk generated by transmissions from channels other than the victim channel (e.g., the tested channel) on the device under test) can be captured. For example, these new test-enabled link states can allow NEXT to be captured from other transmitters on the DUT and / or allow FEXT to be captured by allowing signals to be sent to receivers on other channels on other tested devices while the tested channel remains in loopback and other states during testing by the BERT, as well as other example advantages and implementations.
[0056] In some implementations, the link state logic can be expanded to support not only the default or standard link state machine and the transitions between states defined in the standard link state machine, but also to support dedicated test states, which can allow the use of test equipment (e.g., die margin tester, independent bit error rate tester (BERT) equipment, etc.) to test individual channels of a multi-channel link, while other channels of the link generate far-end crosstalk and / or near-end crosstalk. Using these dedicated states and state machine transitions, far-end crosstalk (or FEXT) and near-end crosstalk (or NEXT) can be generated on untested channels to accommodate accurate testing of the tested channel (or in the case of a multi-channel tester, accurate testing of multiple tested channels). Although traditional channel testing involves injecting artificial or simulated noise into the data of the tested channel, this simulated noise is typically forced to transform to model the worst-case scenario, which may ignore the actual characteristics of the port being tested (e.g., it can be equipped with circuits and components to help minimize crosstalk on the device (testing with simulated worst-case crosstalk is overly pessimistic and impractical)). Therefore, in some cases, dedicated testing link status can achieve more realistic margin information at higher data rates (e.g., PCIe Gen 5 at 32.0GT / s), as opposed to traditional methods that rely on simulated crosstalk.
[0057] In some implementations, the standard or default link training state machine defined for the interconnect can be extended to support a dedicated test link state, which can enable the port to train the link so that different channels of the link enter different states to allow testing of some channels (e.g., by link training and link state transitions expected in default operation or defined for default operation) while other channels enter one of a potential plurality of different states to provide real (rather than synthetic) crosstalk and implement multiple real test modes. In one example, the link training algorithm can be extended to identify and select one or more specific channels of the link to be tested by a test device (e.g., a BERT). During the test, the selected channel can be driven by the tester device. The remaining channels of the device under test (DUT) can be self-trained, or can be placed in an idle state or other quiet state, while the BERT drives the link training and state state machine (LTSSM) changes on the channels under its control in conjunction with the test of the channel (or the channel under test (LUT)). In some implementations, the link can be placed in a loopback state, initiated by the tester device (e.g., by a dedicated ordered set sent to the device under test using the link by the tester device). In such an example, when the link enters loopback, based on training information sent by the tester device on the channel connected to the tester device, the DUT can drive a (modified) compliance mode in Loopback.Entry on all other channels, or stay in transmitter electrical idle on all other channels (i.e., other channels that are not being tested). In this way, the DUT itself can be used to generate the crosstalk desired to complete testing of one or more channels of the DUT (e.g., corresponding receiver-transmitter pairs) while the tester device manages the specific channels it wants to test. In addition, the DUT can also be placed in a state through training with the tester device where all other receivers on the DUT can receive traffic without affecting the loopback on the channel being tested by the tester device, as well as other examples, such as those discussed below.
[0058] Go to Figure 6A-6B In simplified block diagrams 600a-b of , an example system is shown including an example computing device (e.g., 605) and example test equipment (e.g., 610a, b). Fig. 6AIn the example of , a single channel bit error rate tester (BERT) device 610a is shown, which can be used to connect to a single channel (e.g., 630b) of a device under test (e.g., 605) and perform various margin and other tests on the channel. In this example, the computing device 605 may include one or more data processing cores (e.g., 615) and / or other data processing circuits, which can communicate with other devices via one or more interconnect links using a layered interconnect stack 620 (e.g., PCIe, UPI, Ethernet, OpenCAPI, Gen-Z or other layered interconnect stack). The interconnect stack 620 can be implemented by logic circuits and other hardware (and or alternatively, using software-implemented logic and / or firmware-implemented logic) to support and implement each layer in the interconnect layer (e.g., physical layer, logical PHY, data link layer, transaction layer, protocol layer, etc.), including generating and sending data units defined for the interconnect (e.g., packets, frames, flits, phit, etc.). The interconnect stack 620 may also enable the device's port(s) to enter and transition between various operational and link states defined for the interconnect, including link training and test states with defined ordered sets, training sequences, handshakes, and other signaling defined to enable two interconnected devices to orchestrate training and transmission of data on the link according to the corresponding interconnect protocol. Such logic may include state machine logic implemented at least in part in logic circuits or other hardware of the computing device 605.
[0059] continue Fig. 6A In some implementations, the interconnect stack logic 620 may be augmented to support additional test-specific link states and link state transitions, such as those described in the discussion above. For example, the interconnect stack logic 620 implemented on the device 605 may include test mode support logic 625 that is implemented at least in part using hardware logic circuits. The test mode logic 625 may implement additional test link states, and govern transitions to these test states and coordination of how the test link states are applied on which channels (e.g., 630a-d) during testing. Within the present disclosure, a "channel" may alternatively refer to a physical channel that implements a link connecting two devices, or a corresponding receiver / transmitter pair and support logic (e.g., 630a-d) on a device (e.g., 605) that couples the device to the corresponding physical channel of the link.
[0060] exist Fig. 6AIn the example of , a single channel BERT 610a is shown, which can be individually coupled to each of a plurality of different channels and tested. The test mode logic 625 can enable a specific channel to be tested (e.g., 630b) to be identified, and in conjunction with the testing of the channel, the tested channel (i.e., a receiver / transmitter pair of a port of the device 605 connected to a bidirectional channel that couples the device to be tested 605 to the BERT device 610a) enters one of the test link states (e.g., loopback, active transmit link state, link training state, etc.). In some cases, the BERT 610a can direct which link state(s) the tested channel enters during testing. During testing, the test mode logic 625 can identify one or more other channels (i.e., other than the tested channel) to enter other test link states to support the testing of the tested channel by the BERT device. For example, the test mode logic 625 may cause one or more (or all) channels (e.g., 630a, c, d) other than the channel under test (e.g., 630b) to enter a link state so that these channels can generate near-end and / or far-end crosstalk on the victim channel under test (e.g., 630b).
[0061] In some implementations, channels other than the tested channel may remain unconnected to the utility device (e.g., separate from the BERT but supporting the BERT), connected to the utility device, or connected to the BERT itself. In some implementations, as shown in the example of FIG. 6 , a tester device (e.g., a multi-channel BERT device (e.g., 605b)) may be provided with multiple channels (e.g., receiver / transmitter pairs) to connect to multiple channels of the device under test. A multi-channel tester (e.g., 610a-b) may be connected to each of the channels (e.g., 630a-d) of the device under test (605). The multi-channel tester may continuously test each channel of the device under test without reconnecting the channels. In addition, the multi-channel tester may work in conjunction with the test mode logic 625 on the device under test 605 to use the support test link state to help generate FEXT and NEXT on those channels that are not currently tested, as well as other example implementations.
[0062] Go to Figure 7 FIG. 700 of the present invention shows a simplified block diagram 700 showing a portion of a diagram of an augmented link state machine showing specialized test link states (e.g., 705, 710, 715, 720) that may be added to the state machine to facilitate testing of individual lanes of a link. For example, in Figure 7 In the example of , the extended state machine can be an extended version of the PCIe link state machine, for example, Figure 5500 of FIG. 501 . For example, standard link states defined for a state machine (e.g., according to a corresponding interconnect protocol) may include a receiver detection state (e.g., 505), a polling state (e.g., 510), a configuration state (e.g., 515), and potentially other link training states that may be entered and used prior to transitioning to an active, transmitting, or operational link state (e.g., an L0 state (not shown)), as well as other example states. During training of a link, various ordered sets (e.g., training sequences (e.g., PCIe TS1 or TS2 training sequences)) may be sent, which may include fields encoded to provide information specific to the link training state and define various aspects of the link (e.g., lane numbering, de-skew, synchronization, bit lock, configuration, etc.). In some implementations, a link may be efficiently trained on a lane-by-lane basis, with each receiver-transmitter pair sending and receiving its own instance of a training sequence to configure and train each lane to desired parameters to allow the entire link to be trained completely and reliably. As examples, symbol lock, bit lock, and block alignment may be accomplished on a per-lane basis, with the training sequence sent on each lane being adapted to achieve the correct configuration for that lane. In some cases, the same type of ordered sets may be sent synchronously on each lane in a link (but the values in each ordered set may vary per lane), among other examples.
[0063] exist Figure 7 In an example, one or more fields of a training sequence sent during one or more link training states in a link training state defined in a standard state of a link state machine may be augmented to provide an indication that a device participating in the training will enter a test mode. For example, bits in one or more symbols of a training sequence sent in a specific, defined state or sub-state of a state machine may be defined to convey that the device will be tested. In addition, one or more bits or fields in a training sequence may be defined to indicate that a tester device (e.g., a BERT) is connected to one or more channels of a link and that these channels will be tested. In addition, one or more bits or fields of the same (or different or subsequent instances thereof) training sequence may be encoded with information to indicate that other channels that are not being tested should be transitioned to other test link states to help facilitate testing of a particular channel. In addition, in conjunction with the identification of a particular channel to be tested, a training sequence may be encoded to indicate that the particular channel to be tested will enter another link state, consistent with the type of test to be performed, and other examples.
[0064] In one example implementation, the tester device may encode a training sequence sent during the polling state (e.g., 510) (or another specific link training state as defined in the interconnect protocol) to indicate that a specific lane of the link is to be tested, and that the other remaining lanes of the link are to be transitioned to another test link state to support testing of the specific lane. Thus, rather than causing all lanes to transition from the polling state 510 to the next standard link training state (e.g., configuration state 515) together, the extended fields of the training sequence may cause the device under test to transition the tested lane to a specific tested lane link state (e.g., 705) while transitioning the remaining lanes to another test link state (e.g., 710, 715, 720) that supports testing of the tested lane, and in some cases, to generate realistic crosstalk on the tested lane for various tests of the tested lane (LUT) performed by the tester device (e.g., single-channel or multi-channel BERT).
[0065] In some instances, the test link state (e.g., 705, 710, 715, 720) can be based on or include one or more of the standard link states (e.g., an active link state or a loopback link state, among other examples). In fact, in some cases, the tester device can interact with a specific channel to simulate the operation of a receiver / transmitter connected to the specific channel as it transitions between states within a standard link state machine. For example, the tester device can act as a loopback master within a loopback state, or can send signals during testing, as defined in a standard link trainer, to cause the tested channel to transition between standard link training states. Even in the case where a LUT test state (e.g., 705) can mimic or include a standard link state, the transition to the link state or sub-state during testing can be different from the transition defined in the standard link trainer. For example, because the LUT test state 705 only involves testing of a single channel, the activities involved in training all channels into states (during typical link training and state machine transitions) can be skipped. For example, activities such as lane numbering, lane-to-lane de-skewing, and others may be skipped, which may even allow for skipping of entire intermediate link training states. In other cases, the activities and signaling within the LUT test state 705 and the test link states for the remaining lanes (not being tested) (e.g., 710, 715, 720) may be completely different from the states defined in the standard link state machine, except for the differences in transitioning to these test link states (e.g., from the polling state 510). For example, the LUT test state 705 may be completely dictated by the tester device (e.g., a BERT), where the tester device may freely send any kind of signals to simulate various conditions, state transitions, states, etc., as desired in conjunction with a particular test, while the other test link states (e.g., 710, 715, 720) cause the remaining lanes of the link to inject (or not inject) crosstalk onto the lane being tested.
[0066] exist Figure 7In an example, some test link states may include states such as those shown in example diagram 700. For example, a test link state 710 may be suitable for generating near-end crosstalk (NEXT) on a channel different from the tested channel. In another example, a test link state (e.g., 715) may be suitable for generating only far-end crosstalk (FEXT) (while the transmitter of the receiver / transmitter pair of the untested channel remains quiet). In yet another example, a test link state (e.g., 720) may generate both NEXT and FEXT using an untested channel, as well as other examples. For example, multiple versions of NEXT (e.g., 710), only FEXT (e.g., 715), and NEXT / FEXT test link states (e.g., 720) may be provided and supported by the internal hardware and / or software logic of the device to be tested. For example, different types of stress signals may be sent within different test link states to generate corresponding types of crosstalk, for example, crosstalk of different severity (e.g., amplitude and frequency), intermittent or continuous crosstalk, as well as other examples.
[0067] In some instances, to implement some test link states, additional equipment may be provided in conjunction with the tester equipment (eg, 610), such as a signal generator (eg, to generate far-end crosstalk), or as in Figure 8 The compliance fixture 805 shown in the example block diagram 800, as well as other examples. Figure 8In an example, a compliance fixture 805 is provided that can allow connection to an untested channel (i.e., a corresponding receiver / transmitter pair) in the case of a single-channel BERT 610. In addition to or in conjunction with the single-channel BERT 610, the example passive compliance fixture 805 can be used to help facilitate one or more test modes. In one example, the compliance fixture 805 can be connected to each of the channels of the link (i.e., including the channel to be tested by the BERT 610) and facilitate a test mode involving a set of channels, and enable the tester device 610 to selectively connect to any one of the channels through a mechanism in the compliance fixture 805 (e.g., through a jumper cable, a dip switch, or other circuit). Thus, the compliance fixture 805 can enable the tester device 610 to connect to any particular channel (e.g., to continuously perform single-channel testing of each of the channels of the device under test 605) while connecting the transmitter of each of the remaining channels of the DUT 605 to another endpoint (e.g., on the compliance fixture 805). Additionally, in some implementations, the compliance fixture 805 can be configured to function in loopback mode for all channels except the tested channel (e.g., 810). In this manner, the compliance fixture 805 can effectively connect the transmitter of each channel in the untested channels to the corresponding receiver of the same receiver / transmitter pair to place any (or all) of these other channels in self-loopback (e.g., Figure 8 ), and other example implementations. In other implementations, Figure 8 The functionality of the example compliance fixture 805 shown in FIG. 8 may be integrated within a multi-channel BERT device or other tester device, among other alternative implementations.
[0068] Go to Figures 9A-9E The examples shown in block diagrams 900a-e of FIG. 1 show various test modes corresponding to the test link states of the standard link state machine utilizing the supplementary interconnect. For example, in Fig. 9A In the example of , a computing device 605 including receiver / transmitter pairs (and supporting logic) for implementing bidirectional channels of a multi-channel link (e.g., 630a-630) can be connected to a tester device 610. The tester device can be a standalone tester (e.g., a BERT used in verification testing), or a tester device implemented on-die or otherwise within the same computing system as device 605, among other examples. Fig. 9AIn the example of , the training sequence can be sent in the previous link state (e.g., the polling link state) to indicate that the device 605 is connected to the tester device and will enter a specific test mode. In this example test mode, one of the channels (e.g., 630c) will be tested by the tester device 610 and enter a state in which the normal operation of the test simulation channel 630c will be combined. In this example, the untested channels (e.g., 630a, b, d, e) will remain quiet (e.g., so as not to generate crosstalk). Since the tested channel 630c is the only receiver connected to another device (e.g., 610) and receives the training sequence, only the receiver of the receiver / transmitter pair 630c receives the training sequence. The test mode support logic can identify the (multiple) training sequences requesting entry into a specific test mode, and can cause the receiver / transmitter pair 630c to enter the link tested state, and the remaining receiver / transmitter pairs (e.g., 630a, b, d, e) enter another different test link state according to the identified test mode. In this example, the remaining receiver / transmitter pairs (e.g., 630a, b, d, e) are placed into a test link state in which no data is sent by the respective transmitters of the receiver / transmitter pairs (e.g., 630a, b, d, e) and all signals are ignored by the receivers of the remaining receiver / transmitter pairs (e.g., so that the protocol stack logic of the receiver / transmitter pairs (e.g., 630a, b, d, e) does not inadvertently interpret noise on their respective channels as legitimate signals as defined by the protocol stack).
[0069] In some implementations, the training sequence sent from the tester device 610 to the device under test 605 can not only identify the specific channel to be tested (e.g., the channel receiving the dedicated training sequence), but also explicitly identify a specific test mode in a set of test modes. For example, binary code can be injected into one or more fields of the dedicated training sequence (e.g., in a field otherwise reserved in a specific symbol sent in the training sequence within a specific link training state (e.g., the polling state)) to identify a specific test mode in a plurality of supported test modes. Based on the encoding, the device under test 605 can identify that the specific identified test mode is mapped to one of a set of test link states defined in the extended link state machine, and cause the remaining channels to enter the test link state to support the identified test mode. In other implementations, rather than explicitly identifying the defined test mode (e.g., by encoding in the dedicated training sequence), the tester device 610 can implicitly identify the test mode by providing encoding to identify the (multiple) test link states that the channels of the device under test 605 will enter in order to support the test requested by the tester device 605. For example, in one example implementation, a training sequence may identify the LUT test link state that the tested channel will enter, and may separately identify one of the supporting test link states that the remaining channels (not tested) will enter. In other implementations, the encoding within the training sequence may identify that a specific channel is to be tested, and may only explicitly identify the supporting test link state that the remaining channels (not tested) will enter, as well as other example implementations. In practice, it should be understood that a variety of different signals (e.g., ordered sets, training sequences, etc.) may be utilized to transmit a request to the device under test to enter a particular test mode. Various encodings including various information and encoded within various symbols, fields, time slots, etc. may be employed in various implementations without departing from the more general concepts presented herein.
[0070] Go to Fig. 9B , another example test mode is shown. As in other examples, for example, Fig. 9A As shown in , the tester device 610 can send a signal to the receiver of a specific channel (e.g., 630c) to be tested and (explicitly or implicitly) identify a specific test mode (defined or undefined) to be entered. The receiver of the receiver / transmitter pair of channel 630c can identify, based on the signal, that the remaining channels (e.g., 630a, b, d, e) are to enter a specific test link state among a plurality of test link states in order to support the test requested by the tester device 610. Similarly, in Figures 9C-9EIn the example of , device 605 may receive a corresponding signal from tester device 610 (at the tested channel) to cause device 605 to convert the remaining channels (not tested) to the corresponding test link state (as will be described in more detail in the following example). Fig. 9B In the case of the example, the remaining channels are forced to transition to the test link state, causing the transmitters of the receiver / transmitter pairs of these remaining channels to generate near-end crosstalk (NEXT) on the victim tested channel 630c. This can be done by the receiver / transmitter pairs of the remaining channels sending stress data on their transmitters. In addition, in this example (as in Fig. 9A ), the receivers of these receiver / transmitter pairs can ignore all signals received in this test link state (e.g., to avoid misinterpreting noise that may be received at these receiver / transmitter pairs).
[0071] Go to Fig. 9C , another example test link state may be provided that allows both NEXT and FEXT to be generated using an untested channel. In one example, such a test link state may be implemented by looping back stress data generated at the transmitter of a receiver / transmitter pair of an untested channel (e.g., 630a, b, d, e). Fig. 9C In the example of , compliance fixture 805 can be utilized to facilitate loopback of stress data generated at the transmitter of a receiver / transmitter pair of an untested channel, which results in both NEXT and FEXT being exhibited on the tested channel. Since the test link state can coexist with the standard link state defined in the link state machine of the protocol (e.g., so that these channels can later exit the test link state and transition between standard link states in normal (i.e., non-test) operation), there is a risk that stress data sent to the receiver of the receiver / transmitter pair of the untested channel may inadvertently match other signals defined within the protocol that are used to facilitate some other (e.g., non-test) action performed on a portion of the protocol stack logic of these receiver / transmitter pairs (e.g., transitioning to another (e.g., non-test) link state, performing a specific link training function, etc.). Thus, within a test link state in which the receivers of receiver / transmitter pairs of channels not under test will receive stress data, the protocol stack logic of these receiver / transmitter pairs while in these test link states can effectively ignore the substance or content of these stress signals so that the test link state is not inadvertently exited or otherwise interrupted.
[0072] Although Fig. 9CThe example shows the use of compliance fixture 805 to facilitate the NEXT / FEXT loopback state, but other implementations may use other devices (including the tester device itself, for example, in a multi-channel BERT) to facilitate the loopback of stress data. In this example, the compliance fixture can also be used as a retimer, redriver, repeater, or other data forwarding device to simply forward data to and from the tested channel and the single channel tester (e.g., 610). For example, the compliance fixture can utilize switching or multiplexing circuits to identify a specific channel (e.g., 630c) among the channels that the tester is testing, thereby implementing data forwarding for that channel, while implementing loopback or transmit mode for the remaining channels of the compliance fixture connected to the untested channels (i.e., the corresponding receiver of the device 605 connected to the receiver / transmitter pair (e.g., 630a, b, d, e)).
[0073] In another example, Fig.9D As shown, other test link states may be such that only far-end crosstalk is generated using the remaining untested channels. For example, a stress signal may be generated at another device such as a signal generator device (e.g., 905) and sent to the receivers of the receiver / transmitter pairs of the untested channels (e.g., 630a, b, d, e). In this example test link state, the transmitters of the receiver / transmitter pairs of the untested channels may be placed in idle mode so that no data is intentionally sent to generate NEXT on the tested channel (e.g., 630c). In addition, as in Fig. 9CIn the example of (and other test link states in which stress data is not received by the untested channel during testing of the tested channel), the receiver of the untested receiver / transmitter pair (e.g., 630a, b, d, e) can ignore the stress data generated by the signal generator 905. In some implementations, the signal generator (e.g., 905) used in the test of a particular channel (e.g., 630c) can be coupled to and driven by the tester device 610, so that the tester device 610 selects which stress signals are sent by the (multiple) signal generators (e.g., 905) on which channels, at what time, and at what intervals (e.g., to achieve specific goals of the test managed by the tester device (which can be selected, programmed, and otherwise defined by a human user or other system using a software interface)). In other instances, signal generators or other supplementary devices can be additionally used to support other test link states, such as the NEXT / FEXT test link state in which stress data is to be sent and received by the device 605 on the untested channel. In such an example, the signal generator(s) may include a receiver to receive (e.g., and efficiently ignore and process) a pressure signal transmitted from a transmitter of an untested receiver / transmitter pair (e.g., 630a, b, d, e), among other examples.
[0074] exist Figures 9A-9D In the example of , a single channel tester device is shown. However, in some implementations, a multi-channel tester device may be provided. Thus, in addition to the test link states specific to a single channel tester, the device (e.g., 605) may also add and support additional test link states. In some cases, for example, Fig.9E As shown in the example of , the same test link state used with a single channel tester can be used to support testing using a multi-channel tester. In fact, a multi-channel tester can simplify the implementation of various test modes (which otherwise may use supplementary equipment such as compliance fixtures (e.g., 805), signal generators (e.g., 905), etc.). For example, in Fig.9E In the example of , a multi-channel BERT (e.g., 610) can locally provide the functionality provided by such a supplementary device. Fig.9E In the example of FIG. 6 , the multi-channel tester device can implement a NEXT / FEXT test link mode in which the tester device receives stress data generated by and transmitted from transmitters of untested channels on device 605. In other implementations, the multi-channel tester device 610 can participate in a loopback-based NEXT / FEXT test link state (e.g., similar to Fig. 9C). In some cases, the multi-channel tester device can act as a master or slave in loopback-based NEXT / FEXT test link states, where some of the test link states are defined to cause a transmitter of the device under test to generate stress signals on non-test channels to be looped back through the tester device, and alternative test link states are defined to cause a transmitter of the multi-channel tester to generate stress signals on non-test channels to be looped back through a corresponding receiver / transmitter pair of the device under test 605. The multi-channel tester device can also be used in FEXT-only test link states to generate stress signals for delivery to the receivers of the receiver / transmitter pairs of non-test channels (e.g., instead of, for example, Fig.9D A separate dedicated signal generator (e.g., 905)) in the example, as well as other example uses.
[0075] Although Figures 9A-9E The examples each show the same channel (e.g., 630c) as a tested channel, but it should be understood that this is shown only for the convenience of illustrating the changes between different test link state examples. In fact, any one of the multiple channels (i.e., receiver / transmitter pairs (e.g., 630a-e)) can be connected to a tester device (e.g., a single-channel BERT) and is the subject tested channel. In addition, depending on the test, any one of the multiple channels can enter the LUT test link state (and be the tested channel) or enter the support test link state to generate crosstalk on the selected tested channel. Therefore, the protocol stack logic implemented at the corresponding receiver / transmitter pair (e.g., 630a-e) can not only support the standard link state defined for the protocol, but also support supplementary or added test link states to allow the channel to be tested as a tested channel or to support testing of another channel in the channel by generating crosstalk on the tested channel.
[0076] As introduced above, in some examples, the principles and aspects of a standard link state machine and corresponding logic can be utilized to facilitate transitions to specialized test link states, such as those introduced above. As an illustrative example, a tester device (e.g., a BERT including protocol stack logic that allows the BERT to be at least partially protocol-aware to send and interpret signals defined within a specific protocol supported by the device under test) can guide the device under test through various protocol-defined flows during testing. For example, within the LUT test state, the BERT can guide the device under test through an active L0 link state (e.g., skipping a configuration link state) to a recovery link state (in some cases, including equalization), to a loopback link state, and so on, as programmed according to a specific test. In such an instance, the BERT can utilize protocol-defined messaging to facilitate these test transitions between standard link states.
[0077] In a more detailed example, and returning to Figure 7 As shown in diagram 700, a device whose one or more of its receiver / transmitter pairs are being tested by a tester device may first cause each of its receiver / transmitter pairs corresponding to a multi-channel link to enter a receiver detection state 505. All channels may detect another device (e.g., due to self-loopback, or connection to a BERT or to a 50ohm termination or other test device or sourced from a 50ohm termination) in order to pass through the detection state. In other implementations, the device under test may simply detect an exit from an electrical idle state (e.g., where the device is placed in preparation for testing) because the tester device drives an electrical mode to the tested channel. In some implementations, the protocol-defined requirements for this transition may be further relaxed to force each channel in the channel that is not connected to the tester device to continue link training even though no connected receiver was detected on the other end of the channel during the detection state 505 (e.g., in the case of a NEXT-only test link state, e.g., in the case of a NEXT-only test link state). Fig. 9C ).
[0078] Continuing with the example, the port including the tested channel can exit the detection state 505 to enter the polling state 510. In this state, the tester device can send a modified training sequence (e.g., TS1 / TS2 ordered sets, via Polling.Active and Polling.Configuration) in which one or more bits (e.g., in symbol 5 of the training sequence) are set to indicate the test mode to be entered, which involves the remaining channels entering a specific test link state. In one example, (during detection 505) the channel of the detecting receiver can be trained when not connected to the tester device (e.g., using its own (looped back) TS1 / TS2 ordered sets). In other cases, the untested channel can be configured to simply ignore all traffic in the direction of the link-wide protocol stack logic (based on receiving a training sequence on the BERT-connected channel indicating that the link is in test mode) or by default after a specific timeout period (e.g., a timeout based on a failure to receive further training data on the channel not connected to the tester device), among other examples. In some implementations, the polling itself can be modified to accommodate the transition to the test link state.
[0079] In an example using a single channel tester device, a modified training sequence indicating a test mode will only be sent to the receiver of the receiver / transmitter pair to be tested. When the receiver / transmitter pair corresponding to the tested channel receives (multiple) modified training sequences (e.g., TS1 / TS2 ordered sets in the polling state), the receiver / transmitter pair logic can instruct the device link state machine logic (e.g., LTSSM logic) to convert the tested channel to the LUT link test state, and the remaining channels support the test link state. In one example, the LUT test link state can include or mimic the L0 state. Therefore, in such an example, the link state machine logic can skip the intermediate state (e.g., configuration state 515) that would normally be entered before entering the L0 state. For example, the configuration state can be skipped and the L0 state (e.g., 520) can be entered to start operations within the LUT test state (e.g., when a modified TS2 ordered set is received, where the bit is set to indicate the corresponding test mode). Aspects of the link trained during the skipped link training state can be set to default values (e.g., the channel number assignment can be a default channel number, and other examples).
[0080] Continuing with this example, the LUT test state (or sequence of steps) may involve driving the tested channel into a loopback state. Figure 5 , entering the loopback state 535 may involve first transitioning to the recovery state 540. In one example of implementing a PCIe-based interconnect, if the device under test is a downstream port (DSP), a transition from L0 520 to recovery 540 with equalization is initiated by the device under test (using a bypass mechanism as defined) at all relevant data rates, followed by the tester device. In the case where the device under test is an upstream port (USP), the tester device may initiate a transition from L0 to recovery with equalization at all relevant data rates (using a bypass mechanism as defined), followed by the device under test. Upon exiting the recovery state 540, the tester device (in the LUT test state) may initiate a transition to the loopback 535 as a loopback master. The device under test then enters the loopback 535 as a slave, with the loopback bit set on one channel. From Loopback.Entry, all channels in slave mode that did not receive a modified TS1 / TS2 ordered set during the polling state 510 may issue a compliance pattern (or a modified compliance pattern), as well as other example implementations. With the tested channel in loopback, the tester device may then perform measurements on the tested channel and generate results describing the performance of the receiver / transmitter pair on the device under test corresponding to the tested channel.
[0081] The foregoing disclosure has presented a number of example test link states that may supplement the standard link states defined in the interconnect protocol. It should be appreciated that other test link states may be provided in addition to those identified above without departing from the more general principles contained in the present disclosure. For example, while some of the example state machines and ordered sequences discussed herein are described with reference to PCIe or a PCIe-based protocol, it should be appreciated that similar corresponding enhancements may be made to other interconnect protocols such as OpenCAPI. TM , Gen-Z TM , UPI, Universal Serial Bus (USB), Cache Coherent Interconnect for Accelerators (CCIX TM )、Advanced Micro Device TM (AMD TM )Infinity TM , Common Communications Interface (CCI) or Qualcomm TM Centriq TM Interconnect, and others.
[0082] 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 utilizing 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 it is apparent that the advances described above can be applied to any of these interconnections, structures, or architectures.
[0083] refer to Fig.10 , depicts an embodiment of a block diagram of a computing system including a multi-core processor. Processor 1000 includes any processor or processing device, such as a microprocessor, an embedded processor, a digital signal processor (DSP), a network processor, a handheld processor, an application processor, a coprocessor, a system on a chip (SOC), or other device for executing code. In one embodiment, processor 1000 includes at least two cores, cores 1001 and 1002, which may include asymmetric cores or symmetric cores (illustrated embodiment). However, processor 1000 may include any number of processing elements that may be symmetric or asymmetric.
[0084] In one embodiment, a processing element refers to hardware or logic that supports a software thread. Examples of hardware processing elements include: thread units, thread slots, threads, processing units, contexts, context units, logical processors, hardware threads, cores, and / or any other elements that can maintain the state of a processor, such as an execution state or an architecture state. In other words, in one embodiment, a processing element refers to any hardware that can be independently associated with a code (e.g., a software thread, an operating system, an application, or other code). A physical processor (or processor socket) typically refers to an integrated circuit that potentially includes any number of other processing elements, such as a core or a hardware thread.
[0085] A core often refers to logic located on an integrated circuit capable of maintaining an independent architectural state, where each independently maintained architectural state is associated with at least some dedicated execution resources. In contrast to a core, a hardware thread typically refers to any logic located on an integrated circuit capable of maintaining an independent architectural state, where the independently maintained architectural states share access to execution resources. As can be seen, the boundaries between the nomenclature of hardware threads and cores overlap when certain resources are shared while other resources are dedicated to an architectural state. Often, however, an operating system treats cores and hardware threads as individual logical processors, where the operating system can schedule operations on each logical processor individually.
[0086] like Fig.10 As shown, physical processor 1000 includes two cores, cores 1001 and 1002. Here, cores 1001 and 1002 are considered to be symmetric cores, i.e., cores with the same configuration, functional units and / or logic. In another embodiment, core 1001 includes an out-of-order processor core, and core 1002 includes an in-order processor core. However, cores 1001 and 1002 can be selected separately from any of the following types of cores: for example, a native core, a software-managed core, a core suitable for executing a native instruction set architecture (ISA), a core suitable for executing a transformed instruction set architecture (ISA), a co-designed core, or other known cores. In a heterogeneous core environment (i.e., an asymmetric core), some form of transformation (e.g., a binary transformation) can be used to schedule or execute code on one or both cores. However, for further discussion, the functional units shown in core 1001 are described in further detail below, because the units in core 1002 operate in a similar manner in the depicted embodiment.
[0087] As depicted, core 1001 includes two hardware threads 1001a and 1001b, which may also be referred to as hardware thread slots 1001a and 1001b. Therefore, in one embodiment, a software entity such as an operating system potentially views processor 1000 as four separate processors, i.e., four logical processors or processing elements capable of concurrently executing four software threads. As mentioned above, a first thread is associated with architecture state register 1001a, a second thread is associated with architecture state register 1001b, a third thread may be associated with architecture state register 1002a, and a fourth thread may be associated with architecture state register 1002b. Here, each of the architecture state registers (1001a, 1001b, 1002a, and 1002b) may be referred to as a processing element, a thread slot, or a thread unit, as described above. As shown, architecture state register 1001a is replicated in architecture state register 1001b, so that individual architecture states / contexts can be stored for logical processor 1001a and logical processor 1001b. In core 1001, other smaller resources may also be replicated for threads 1001a and 1001b, such as the instruction pointer and renaming logic in allocator and renamer block 1030. Some resources may be shared through partitioning, such as the reorder buffers, ILTB 1020, load / store buffers, and queues in reorder / retirement unit 1035. Other resources, such as general purpose internal registers, page table base register(s), low level data-cache and data-TLB 1015, execution unit(s) 1040, and portions of out-of-order unit 1035, are potentially fully shared.
[0088] Processor 1000 often includes other resources, which may be fully shared, shared through partitioning, or dedicated by / to processing elements. Fig.10 , an embodiment of a purely exemplary processor with illustrative logical units / resources of the processor is shown. Note that the processor may include or omit any of these functional units, as well as include any other known functional units, logic, or firmware not depicted. As shown, core 1001 includes a simplified representative out-of-order (OOO) processor core. However, an in-order processor may be used in different embodiments. The OOO core includes a branch target buffer 1020 for predicting branches to be executed / taken, and an instruction translation buffer (I-TLB) 1020 for storing address translation entries for instructions.
[0089] The core 1001 also includes a decoding module 1025, which is coupled to the acquisition unit 1020 for decoding the acquired elements. In one embodiment, the acquisition logic includes individual sequencers associated with thread slots 1001a, 1001b, respectively. Typically, the core 1001 is associated with a first ISA, which defines / specifies instructions executable on the processor 1000. Often, a machine code instruction that is part of the first ISA includes a portion of the instruction (called an opcode) that references / specifies the instruction or operation to be performed. The decoding logic 1025 includes circuits that recognize these instructions from their opcodes and pass decoded instructions in the pipeline so as to be processed as defined by the first ISA. For example, as discussed in more detail below, in one embodiment, the decoder 1025 includes logic designed to or adapted to recognize specific instructions such as transaction instructions. Due to the recognition performed by the decoder 1025, the architecture or core 1001 takes specific, predefined actions to perform tasks associated with the appropriate instructions. It is important to note that any of the tasks, blocks, operations, and methods described herein may be performed in response to a single or multiple instructions; some of which may be new instructions or old instructions. Note that in one embodiment, decoders 1026 recognize the same ISA (or a subset thereof). Alternatively, in a heterogeneous core environment, decoders 1026 recognize a second ISA (a subset of the first ISA or a different ISA).
[0090] In one example, the allocator and renamer block 1030 includes an allocator for reserving resources (e.g., a register file for storing instruction processing results). However, threads 1001a and 1001b are potentially capable of out-of-order execution, where the allocator and renamer block 1030 also reserves other resources, such as a reorder buffer for tracking instruction results. Unit 1030 may also include a register renamer for renaming program / instruction reference registers to other registers internal to processor 1000. Reorder / retirement unit 1035 includes components such as the above-mentioned reorder buffer, load buffer, and store buffer to support out-of-order execution and later in-order retirement of instructions executed out of order.
[0091] In one embodiment, (multiple) scheduler and execution unit block 1040 includes a scheduler unit for scheduling instructions / operations on execution units. For example, floating point instructions are scheduled on execution unit ports with available floating point execution units. Also included are register files associated with the execution units to store information instruction processing results. Exemplary execution units include floating point execution units, integer execution units, jump execution units, load execution units, store execution units, and other known execution units.
[0092] A lower level data cache and data translation buffer (D-TLB) 1050 is coupled to the execution unit(s) 1040. The data cache is used to store recently used / operated elements, such as data operands, which are potentially retained in a memory coherency state. The D-TLB is used to store recent virtual / linear to physical address translations. As a specific example, the processor may include a page table structure to divide physical memory into multiple virtual pages.
[0093] Here, cores 1001 and 1002 share access to a higher level or further cache, e.g., a second level cache associated with on-chip interface 1010. Note that higher level or further refers to cache levels increasing or getting further away from the execution unit(s). In one embodiment, the higher level cache is a last level data cache—the last level cache in the memory hierarchy on processor 1000—e.g., a second level or third level data cache. However, the higher level cache is not limited to this, as it may be associated with or include an instruction cache. A trace cache—a type of instruction cache—may alternatively be coupled after decoder 1025 to store recently decoded traces. Here, instructions potentially refer to macroinstructions (i.e., general instructions recognized by a decoder), which may be decoded into multiple microinstructions (micro-operations).
[0094] In the depicted configuration, the processor 1000 also includes an on-chip interface module 1010. Historically, a memory controller, described in more detail below, is included in a computing system external to the processor 1000. In this scenario, the on-chip interface 1010 is used to communicate with devices external to the processor 1000, such as system memory 1075, a chipset (often including a memory controller hub for connecting to the memory 1075 and an I / O controller hub for connecting to peripheral devices), a memory controller hub, a north bridge, or other integrated circuits. And in this scenario, the bus 1005 can include any known interconnect, such as a multi-drop bus, a point-to-point interconnect, a serial interconnect, a parallel bus, a coherent (e.g., cache coherent) bus, a layered protocol architecture, a differential bus, and a GTL bus.
[0095] Memory 1075 may be dedicated to processor 1000 or shared with other devices in the system. Common examples of types of memory 1075 include DRAM, SRAM, non-volatile memory (NV memory), and other known storage devices. Note that device 1080 may include a graphics accelerator, a processor or card coupled to a memory controller hub, a data storage device coupled to an I / O controller hub, a wireless transceiver, a flash memory device, an audio controller, a network controller, or other known devices.
[0096] However, recently, as more logic and devices are integrated on a single die such as a SOC, each of these devices can be incorporated on the processor 1000. For example, in one embodiment, a memory controller hub is on the same package and / or die as the processor 1000. Here, a portion of the core (on-core portion) 1010 includes one or more controllers for interfacing with other devices such as memory 1075 or graphics device 1080. Configurations that include interconnects and controllers for interfacing with such devices are often referred to as on-core (or uncore configurations). As an example, the on-chip interface 1010 includes a ring interconnect for on-chip communication and a high-speed serial point-to-point link 1005 for off-chip communication. However, in a SOC environment, even more devices (e.g., network interfaces, coprocessors, memory 1075, graphics processor 1080, and any other known computer devices / interfaces) can be integrated on a single die or integrated circuit to provide a small form factor with high functionality and low power consumption.
[0097] In one embodiment, processor 1000 can execute compiler, optimize and / or converter code 1077 to compile, convert and / or optimize application code 1076 to support the apparatus and method described herein or its interface. Compiler often includes a program or assembly that converts source text / code into target text / code. Usually, compiling program / application code with compiler is completed in multiple stages, and is passed to converting high-level programming language code into low-level machine or assembly language code. However, single-pass compiler can still be used for simple compilation. Compiler can utilize any known compilation technology and perform any known compiler operation, for example, lexical analysis, preprocessing, parsing, semantic analysis, code generation, code conversion and code optimization.
[0098] Larger compilers often include multiple stages, but most often these stages are included in two general stages: (1) the front end, i.e., where syntactic processing, semantic processing, and some transformations / optimizations can occur, and (2) the back end, i.e., where analysis, transformations, optimizations, and code generation usually occur. Some compilers refer to the middle, which illustrates the ambiguity between the front end and the back end of the compiler. Therefore, references to the insertion, association, generation, or other operations of the compiler can occur in any of the above stages or transfers and any other known stages or transfers of the compiler. As an illustrative example, the compiler potentially inserts operations, calls, functions, etc. in one or more stages of compilation, for example, inserting calls / operations in the front end stage of compilation, and then transforming the calls / operations into lower level code during the transformation stage. Note that during dynamic compilation, compiler code or dynamic optimization code can insert such operations / calls, as well as optimize code for execution during runtime. As a specific illustrative example, binary code (already compiled code) can be dynamically optimized during runtime. Here, program code can include dynamic optimization code, binary code, or a combination thereof.
[0099] Similar to a compiler, a transformer (e.g., a binary transformer) transforms code statically or dynamically to optimize and / or transform the code. Thus, references to executing code, application code, program code, or other software environments may refer to: (1) dynamically or statically executing (multiple) compiler programs, code optimizers, or transformers to compile program code, maintain software structure, perform other operations, optimize code, or transform code; (2) executing a main program code including operations / calls, such as application code that has been optimized / compiled; (3) executing other program code (e.g., a library) associated with the main program code to maintain software structure, perform other software-related operations, or optimize code; or (4) a combination thereof.
[0100] Reference now Fig.11 , shows a block diagram of another system 1100 according to an embodiment of the present invention. Fig.11 As shown, multiprocessor system 1100 is a point-to-point interconnect system and includes a first processor 1170 and a second processor 1180 coupled via a point-to-point interconnect 1150. Each of processors 1170 and 1180 may be a version of a processor. In one embodiment, 1152 and 1154 are part of a serial point-to-point coherent interconnect structure, such as a high-performance architecture. Therefore, the present invention can be implemented within a QPI architecture.
[0101] Although only two processors 1170, 1180 are shown, it should be understood that the scope of the present invention is not limited in this regard.In other embodiments, one or more additional processors may be present in a given processor.
[0102] Processors 1170 and 1180 are shown as including integrated memory controller units 1172 and 1182, respectively. Processor 1170 also includes point-to-point (PP) interfaces 1176 and 1178 as part of its bus controller unit; similarly, second processor 1180 includes PP interfaces 1186 and 1188. Processors 1170, 1180 can exchange information via point-to-point (PP) interface 1150 using PP interface circuits 1178, 1188. Fig.11 As shown, IMCs 1172 and 1182 couple the processors to respective memories, namely, memory 1132 and memory 1134, which may be portions of main memory locally attached to the respective processors.
[0103] Processors 1170, 1180 each exchange information with chipset 1190 via individual PP interfaces 1152, 1154 using point-to-point interface circuits 1176, 1194, 1186, 1198. Chipset 1190 also exchanges information with high-performance graphics circuit 1138 via interface circuit 1192 along high-performance graphics interconnect 1139.
[0104] A shared cache (not shown) may be included in either processor or external to both processors; but connected to the processors via the PP interconnect so that if the processors are placed in a low power mode, local cache information of either or both processors may be stored in the shared cache.
[0105] Chipset 1190 may be coupled to first bus 1116 via interface 1196. In one embodiment, first bus 1116 may be a peripheral component interconnect (PCI) bus, or a bus such as a PCI Express bus or another third generation I / O interconnect bus, but the scope of the present invention is not limited in this regard.
[0106] like Fig.11 As shown, various I / O devices 1114 are coupled to first bus 1116, along with a bus bridge 1118 which couples first bus 1116 to a second bus 1120. In one embodiment, second bus 1120 comprises a low pin count (LPC) bus. Various devices are coupled to second bus 1120 including, for example, a keyboard and / or mouse 1122, communication devices 1127, and a storage unit 1128 (e.g., a disk drive or other mass storage device, which in one embodiment often includes instructions / code and data 1130). Additionally, audio I / O 1124 is shown coupled to second bus 1120. Note that other architectures are possible in which the included components and interconnect architecture vary. For example, instead of Fig.11 Instead of a point-to-point architecture, the system may implement a multi-point bus or other such architecture.
[0107] While the present invention has been described with respect to a limited number of embodiments, those skilled in the art will appreciate numerous modifications and variations therefrom. It is intended that the appended claims cover all such modifications and variations that fall within the true spirit and scope of the present invention.
[0108] The design may go through various stages from creation to simulation to manufacturing. The data representing the design may represent the design in a variety of ways. First, as useful in simulation, a hardware description language or another functional description language may be used to represent the hardware. 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 placement of various devices in the hardware model at a certain stage. In the case of using conventional semiconductor manufacturing technology, the data representing the hardware model may be data specifying the presence or absence of various features on different mask layers of a mask used to produce an integrated circuit. In any representation of the design, the data may be stored in any form of machine-readable medium. A memory such as a disk or a magnetic or optical storage device may be a machine-readable medium for storing information transmitted via light waves or electric waves 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 to the extent that a copy, buffering or retransmission of the electric signal is performed. Therefore, a communication provider or a network provider may store items (e.g., information encoded into a carrier wave, embodying the technology of an embodiment of the present invention) on a tangible machine-readable medium at least temporarily.
[0109] As used herein, a module refers to any combination of hardware, software, and / or firmware. As an example, a module includes hardware associated with a non-transitory medium, such as a microcontroller, for storing code suitable for execution 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 to be retained on a non-transitory medium. In addition, in another embodiment, the use of a module refers to a non-transitory medium including a code that is particularly suitable for execution by a microcontroller to perform a predetermined operation. And as can be inferred, in yet another embodiment, the term module (in this example) may refer to a combination of a microcontroller and a non-transitory medium. Module boundaries that are often shown as separate typically vary and potentially overlap. For example, a first module and a second module may 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 (e.g., programmable logic devices).
[0110] In one embodiment, the use of the phrase "configured to" refers to arranging, putting together, manufacturing, offering for sale, importing and / or designing a device, hardware, logic or element to perform a specified or determined task. In this example, if the device or its elements are designed, coupled and / or interconnected to perform the specified task, the device or its elements that are not operated are still "configured to" perform the specified task. As a purely illustrative example, a logic gate can provide 0 or 1 during operation. But the logic gate "configured to" provide an enable signal to the clock does not include that every potential logic gate can provide 1 or 0. Instead, the logic gate is coupled in a certain way 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 focuses on the hidden state of the device, hardware and / or element, where in the hidden state, the device, hardware and / or element is designed to perform a specific task when the device, hardware and / or element is in operation.
[0111] Furthermore, in one embodiment, the use of the phrases "for", "capable / capable of" and / or "operable for" refers to some device, logic, hardware and / or element being designed in such a manner so that the device, logic, hardware and / or element can be used in a specified manner. Note that as described above, the use of, "capable of" or "operable for" in one embodiment refers to a hidden state of a device, logic, hardware and / or element, where the device, logic, hardware and / or element is not operational but is designed in such a manner so that the device can be used in a specific manner.
[0112] As used herein, value includes any known representation of a number, state, logic state, or binary logic state. Often, the use of logic levels, logic values, or logical values is also referred to as the use of 1 and 0, which only represents a binary logic state. For example, 1 refers to a high logic level, and 0 refers to a low logic level. In one embodiment, a storage unit such as a transistor or a flash memory cell can hold a single logic value or multiple logic values. However, other representations of values have been used in computer systems. For example, decimal tens can also be represented as a binary value 1010 and the hexadecimal letter A. Therefore, a value includes any representation of information that can be stored in a computer system.
[0113] In addition, a state can be represented by a value or a portion of a value. As an example, a first value (e.g., a logical one) can represent a default or initial state, while a second value (e.g., a logical zero) can represent a non-default state. In addition, in one embodiment, the terms reset and set refer to a default value or state and an updated value or state, respectively. For example, a default value potentially includes a high logic value (i.e., reset) and an updated value potentially includes a low logic value (i.e., set). Note that any combination of values can be used to represent any number of states.
[0114] Embodiments of the methods, hardware, software, firmware, or code set forth 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 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 a transient (propagating) signal (e.g., a carrier wave, an infrared signal, a digital signal); and the like, as distinguished from a non-transitory medium from which information may be received.
[0115] Instructions for programming logic to perform embodiments of the present invention may be stored in a memory (e.g., DRAM, cache, flash memory, or other storage device) in the system. In addition, instructions may be distributed via a network or by other computer-readable media. Therefore, 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 read-only memory (CD-ROM), 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 for transmitting information via an electrical, optical, acoustic, or other form of propagation signal (e.g., a carrier wave, an infrared signal, a digital signal, etc.) via the Internet. 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).
[0116] In some embodiments, the electronic device may be configured to perform one or more processes, techniques, and / or methods as described herein, or portions thereof. Figure X-2 One such process is depicted in For example, the process may include performing SKP adjustments during a first SKP ordered set (OS) by a first retimer and a second retimer; and performing SKP adjustments during a second SKP OS by a third retimer and a fourth retimer.
[0117] In some embodiments, an electronic device may be configured to perform one or more processes, techniques and / or methods as described herein, or portions thereof. For example, the process may include enhancing a training ordered set (OS) to allow for five generations of speeds; and setting a configuration register to indicate a Gen 5 PCIe speed.
[0118] In some embodiments, the electronic device may be configured to perform one or more processes, techniques and / or methods as described herein, or portions thereof. For example, the process may include identifying a channel type provided by a platform; identifying the presence of one or more retimers; and selecting between 25 Gigabits per second (GT / s) and 32 GT / s transmission based on the channel type and the presence of one or more retimers.
[0119] In some embodiments, the electronic device may be configured to perform one or more processes, techniques and / or methods as described herein, or portions thereof. For example, the process may include identifying a channel link width from a set of widths including x20, x24, x28, and x28; and communicating over the channel link based on the identified channel link width.
[0120] In some embodiments, the electronic device may be configured to perform one or more processes, techniques and / or methods as described herein or portions thereof. For example, the process may include identifying recovered clock data from a clock data recovery (CDR); and transmitting transmit (TX) data after initial training based on the recovered clock data.
[0121] In some embodiments, a method for communicating according to a PCIe standard may be provided, comprising: performing SKP adjustment during a first SKP ordered set (OS) by a first retimer and a second retimer, and performing SKP adjustment during a second SKP OS by a third retimer and a fourth retimer. The method may also include halving the SKP OS frequency. In some cases, the first SKP OS may be sent in succession with the second SKP OS. The method may also include enhancing the training ordered set (OS) to allow five generations of speeds, and setting a configuration register to indicate a Gen 5 PCIe speed. In addition, a channel type provided by a platform may be identified, the presence of one or more retimers may be identified, and a channel speed may be selected based on the channel type and the presence of one or more retimers (e.g., from 25 Gigabits per second (GT / s) or 32GT / s transmission). The selection may also be determined based on whether forward error correction (FEC) is implemented or supported. The speed selection may occur during link training. These example methods may further include identifying a channel link width from a set of speeds including x20, x24, x28, and x28, and communicating through a channel link based on the identified channel link width. Furthermore, recovered clock data from the clock data recovery component may be identified, and transmit data may be transmitted based on the recovered clock data after the link is trained.
[0122] In some embodiments, a device for communicating in accordance with a PCIe-based standard may be provided, the device including an extended continuous time linear equalizer (CTLE) and / or a minimum 8-tap decision feedback equalizer (DFE), and / or T-coil or Pi-coil terminations, and / or data pattern filters associated with clock data recovery (CDR), and / or a 4-way interleaved clock architecture, among other example features and components.
[0123] In some embodiments, an apparatus may be provided that communicates in accordance with a Peripheral Component Interconnect Express (PCIe) standard having channel loss characteristics, such as discussed above. The PCIe standard may be a Gen 5 (or higher) PCIe standard.
[0124] The following examples relate to embodiments according to the present specification. Example 1 is an apparatus comprising: an interface comprising a port, wherein the port comprises a plurality of receiver-transmitter pairs, and each of the receiver-transmitter pairs comprises: a corresponding receiver for receiving data on a corresponding channel of a plurality of bidirectional channels; and a corresponding transmitter for transmitting data on the corresponding channel; and a state machine logic comprising hardware circuits. The state machine logic is used to: detect a training sequence received by a specific receiver of a specific receiver-transmitter pair of the plurality of receiver-transmitter pairs from a tester device on a specific channel of the plurality of bidirectional channels, wherein the training sequence comprises a value for indicating a test performed by the tester device on the specific receiver-transmitter pair; cause the specific receiver-transmitter pair to transition to a first link state in association with the test; and cause another receiver-transmitter pair of the plurality of receiver-transmitter pairs to enter a second link state different from the first link state in association with the test.
[0125] Example 2 may include the subject matter of Example 1, wherein the value indicates a specific test mode among multiple test modes to be applied in testing a specific receiver-transmitter pair, the second link state corresponds to the specific test mode, and another receiver-transmitter pair enters the second link state based on the specific test mode.
[0126] Example 3 may include the subject matter of Example 2, wherein the plurality of test modes include at least a first test mode for testing the channel in the presence of far-end crosstalk and at least a second test mode for testing the channel in the presence of near-end crosstalk.
[0127] Example 4 may include the subject matter of Example 3, wherein the specific test mode includes a first test mode, a transmitter of the other receiver-transmitter pair remains idle in a first link state, a receiver of the other receiver-transmitter pair receives a stress signal in the first link state, the stress signal causes crosstalk on a specific channel, and the other receiver-transmitter pair ignores the content of the received stress signal.
[0128] Example 5 may include the subject matter of Example 3, wherein the specific test mode includes a second test mode, and a transmitter of another receiver-transmitter pair transmits a signal in a second link state to induce crosstalk on the specific channel.
[0129] Example 6 may include the subject matter of Example 5, wherein the signal includes a first stress signal, the second test mode tests the channel in the presence of both near-end crosstalk and far-end crosstalk, a receiver of another receiver-transmitter pair receives the second stress signal in a second link state, the first stress signal causes near-end crosstalk on a specific channel, the second stress signal causes far-end crosstalk on the specific channel, and the other receiver-transmitter pair ignores content of the received second stress signal.
[0130] Example 7 may include the subject matter of Example 3, wherein the second pressure signal comprises a looped-back version of the first pressure signal.
[0131] Example 8 may include the subject matter of any of Examples 1-7, wherein the first link state comprises a loopback state, the tester device acting as a master in the loopback state.
[0132] Example 9 may include the subject matter of any of Examples 1-8, wherein the training sequence is received during polling the link status.
[0133] Example 10 may include the subject matter of Example 9, wherein polling the link state comprises a link training state in a state machine compatible with a Peripheral Component Interconnect Express (PCIe) based protocol.
[0134] Example 11 may include the subject matter of Example 9, wherein a particular receiver-transmitter pair transitions from a polling link state to a first link state, and another receiver-transmitter pair transitions from a polling link state to a second link state.
[0135] Example 12 may include the subject matter of any of Examples 1-11, wherein the tester device comprises a bit error rate tester (BERT) device.
[0136] Example 13 may include the subject matter of Example 12, wherein the BERT device comprises a single-channel BERT device to connect to only one of the plurality of receiver-transmitter pairs during testing of the device.
[0137] Example 14 may include the subject matter of Example 12, wherein the BERT device comprises a multi-channel BERT device to connect to each of the plurality of receiver-transmitter pairs during testing of the device.
[0138] Example 15 may include the subject matter of any of Examples 1-14, wherein the second link state comprises one of a plurality of test states supported by the state machine logic.
[0139] Example 16 may include the subject matter of Example 15, wherein the plurality of test states are separate from states in a link state machine adapted to bring the link to a standard active state.
[0140] Example 17 may include the subject matter of Example 16, wherein the standard activity state comprises an L0 state.
[0141] Example 18 may include the subject matter of any of Examples 1-17, wherein all receiver-transmitter pairs except for the specific receiver-transmitter pair of the plurality of receiver-transmitter pairs enter a second state for testing.
[0142] Example 19 may include the subject matter of Example 1, wherein in a first link state data is sent from a test device on a particular channel, and the second state includes one of: an idle state, wherein no data is sent by another receiver-transmitter pair on another channel of the multiple channels; a loopback state, wherein data is continuously sent from a transmitter of another receiver-transmitter pair on another channel to another device during a particular test mode and is looped back to a receiver of the other receiver-transmitter pair; and a transmit-only state, wherein data is continuously sent by a transmitter of another receiver-transmitter pair on another channel during a particular test mode and the signal is ignored by the receiver of the other receiver-transmitter pair on the other channel.
[0143] Example 20 may include the subject matter of Example 19, wherein data sent by a transmitter of another receiver-transmitter pair is used to test for near-end crosstalk on a particular channel, and data sent from another device to a receiver of another receiver-transmitter pair is used to test for near-end crosstalk on a particular channel.
[0144] Example 21 is a method comprising: receiving a training sequence at a receiver of a particular receiver-transmitter pair among a plurality of receiver-transmitter pairs, wherein each of the plurality of receiver-transmitter pairs implements a corresponding channel among a plurality of channels in a link, the training sequence is received from a tester device on a particular channel among the plurality of channels, and the training sequence includes a value for indicating a test performed by the tester device on the particular receiver-transmitter pair; converting the particular receiver-transmitter pair to a first link state in association with the test; and converting one or more other receiver-transmitter pairs among the plurality of receiver-transmitter pairs to a second link state different from the first link state in association with the test, wherein the second link state enables crosstalk to be generated on the particular channel during the test.
[0145] Example 22 may include the subject matter of Example 21, wherein the value indicates a specific test mode among multiple test modes to be applied in testing a specific receiver-transmitter pair, the second link state corresponds to the specific test mode, and another receiver-transmitter pair enters the second link state based on the specific test mode.
[0146] Example 23 may include the subject matter of Example 22, wherein the plurality of test modes include at least a first test mode for testing the channel in the presence of far-end crosstalk and at least a second test mode for testing the channel in the presence of near-end crosstalk.
[0147] Example 24 may include the subject matter of Example 23, wherein the specific test mode includes a first test mode, a transmitter of the other receiver-transmitter pair remains idle in a first link state, a receiver of the other receiver-transmitter pair receives a stress signal in the first link state, the stress signal causes crosstalk on a specific channel, and the other receiver-transmitter pair ignores the content of the received stress signal.
[0148] Example 25 may include the subject matter of Example 23, wherein the specific test mode includes a second test mode, and a transmitter of another receiver-transmitter pair transmits a signal in a second link state to induce crosstalk on the specific channel.
[0149] Example 26 may include the subject matter of Example 25, wherein the signal includes a first stress signal, the second test mode tests the channel in the presence of both near-end crosstalk and far-end crosstalk, a receiver of another receiver-transmitter pair receives the second stress signal in a second link state, the first stress signal causes near-end crosstalk on a specific channel, the second stress signal causes far-end crosstalk on the specific channel, and the other receiver-transmitter pair ignores the content of the received second stress signal.
[0150] Example 27 may include the subject matter of Example 23, wherein the second pressure signal comprises a looped-back version of the first pressure signal.
[0151] Example 28 may include the subject matter of any of Examples 21-27, wherein the first link state comprises a loopback state, the tester device acting as a master in the loopback state.
[0152] Example 29 may include the subject matter of any of Examples 21-28, wherein the training sequence is received during polling the link status.
[0153] Example 30 may include the subject matter of Example 29, wherein polling the link state comprises a link training state in a state machine compatible with a Peripheral Component Interconnect Express (PCIe) based protocol.
[0154] Example 31 may include the subject matter of Example 29, wherein a particular receiver-transmitter pair transitions from a polling link state to a first link state, and another receiver-transmitter pair transitions from a polling link state to a second link state.
[0155] Example 32 may include the subject matter of any of Examples 21-31, wherein the tester device comprises a bit error rate tester (BERT) device.
[0156] Example 33 may include the subject matter of Example 32, wherein the BERT device comprises a single-channel BERT device for connecting to only one of the plurality of receiver-transmitter pairs during testing of the device.
[0157] Example 34 may include the subject matter of Example 32, wherein the BERT device comprises a multi-channel BERT device to connect to each of the plurality of receiver-transmitter pairs during testing of the device.
[0158] Example 35 may include the subject matter of any of Examples 21-34, wherein the second link state comprises one of a plurality of test states supported by the state machine logic.
[0159] Example 36 may include the subject matter of Example 35, wherein the plurality of test states are separate from states in a link state machine adapted to bring the link to a standard active state.
[0160] Example 37 may include the subject matter of Example 36, wherein the standard activity state comprises an L0 state.
[0161] Example 38 may include the subject matter of any of Examples 21-37, wherein all receiver-transmitter pairs except for the particular receiver-transmitter pair of the plurality of receiver-transmitter pairs enter a second state for testing.
[0162] Example 39 may include the subject matter of Example 21, wherein in a first link state data is sent from the test device on a particular channel, and the second state includes one of: an idle state, wherein no data is sent by another receiver-transmitter pair on another channel of the multiple channels; a loopback state, wherein data is continuously sent from a transmitter of another receiver-transmitter pair on another channel to another device during a particular test mode and is looped back to a receiver of the other receiver-transmitter pair; and a transmit-only state, wherein data is continuously sent by a transmitter of another receiver-transmitter pair on another channel during a particular test mode and the signal is ignored by the receiver of the other receiver-transmitter pair on the other channel.
[0163] Example 40 may include the subject matter of Example 39, wherein data sent by a transmitter of another receiver-transmitter pair is used to test for near-end crosstalk on a particular channel, and data sent from another device to a receiver of another receiver-transmitter pair is used to test for near-end crosstalk on a particular channel.
[0164] Example 41 is a system comprising means for performing the method of any of Examples 21-40.
[0165] Example 42 may include the subject matter of Example 41, wherein the unit comprises a computer-readable medium storing instructions executable to perform at least a portion of the method of any of Examples 21-40.
[0166] Example 43 is a system, comprising: a device, the device comprising: one or more processor cores; a port comprising a plurality of receiver-transmitter pairs, each of the receiver-transmitter pairs comprising a corresponding receiver and a transmitter and connected to a corresponding channel of a plurality of bidirectional channels; and a state machine logic comprising hardware circuitry. The state machine logic is used to: detect a training sequence received by a particular receiver of a particular receiver-transmitter pair of the plurality of receiver-transmitter pairs from a tester device on a particular channel of the plurality of bidirectional channels, wherein the training sequence comprises a value for indicating a test performed by the tester device on the particular receiver-transmitter pair; cause the particular receiver-transmitter pair to transition to a first link state in association with the test; and cause one or more other receiver-transmitter pairs of the plurality of receiver-transmitter pairs to enter a second link state different from the first link state in association with the test.
[0167] Example 44 may include the subject matter of Example 43, further comprising a tester device, wherein the tester generates a test result based on the test.
[0168] Example 45 may include the subject matter of Example 44, wherein the tester device comprises a bit error rate tester (BERT) device.
[0169] Example 46 may include the subject matter of Example 45, wherein the BERT device comprises a single-channel BERT device for connecting to only one of the plurality of receiver-transmitter pairs during testing of the device.
[0170] Example 47 may include the subject matter of Example 45, wherein the BERT device comprises a multi-channel BERT device to connect to each of the plurality of receiver-transmitter pairs during testing of the device.
[0171] Example 48 may include the subject matter of Example 44, wherein the device comprises a tester device.
[0172] Example 49 may include the subject matter of Example 43, further comprising a compliance fixture for: connecting to each of a plurality of receiver-transmitter pairs using a plurality of channels; forwarding data between a particular receiver-transmitter pair and a tester device; and looping back data received from transmitters of one or more other receiver / transmitter pairs in a second link state so that both near-end crosstalk and far-end crosstalk are generated on a particular channel during testing.
[0173] Example 50 may include the subject matter of Example 43, wherein the value indicates a specific test mode among multiple test modes to be applied in testing the specific receiver-transmitter pair, the second link state corresponds to the specific test mode, and the other receiver-transmitter pair enters the second link state based on the specific test mode.
[0174] Example 51 may include the subject matter of Example 50, wherein the plurality of test modes include at least a first test mode and at least a second test mode, the first test mode being used to test the channel in the presence of far-end crosstalk, and the second test mode being used to test the channel in the presence of near-end crosstalk.
[0175] Example 52 may include the subject matter of Example 51, wherein the specific test mode includes a first test mode, a transmitter of another receiver-transmitter pair remains idle in a first link state, a receiver of another receiver-transmitter pair receives a stress signal in the first link state, the stress signal causes crosstalk on a specific channel, and the other receiver-transmitter pair ignores the content of the received stress signal.
[0176] Example 53 may include the subject matter of Example 51, wherein the specific test mode comprises a second test mode, and a transmitter of another receiver-transmitter pair transmits a signal in a second link state to induce crosstalk on the specific channel.
[0177] Example 54 may include the subject matter of Example 53, wherein the signal includes a first stress signal, the second test mode tests the channel in the presence of both near-end crosstalk and far-end crosstalk, a receiver of another receiver-transmitter pair receives the second stress signal in a second link state, the first stress signal causes near-end crosstalk on a specific channel, the second stress signal causes far-end crosstalk on the specific channel, and the other receiver-transmitter pair ignores the content of the received second stress signal.
[0178] Example 55 may include the subject matter of Example 51, wherein the second pressure signal comprises a looped-back version of the first pressure signal.
[0179] Example 56 may include the subject matter of any of Examples 43-55, wherein the first link state comprises a loopback state, the tester device acting as a master in the loopback state.
[0180] Example 57 may include the subject matter of any of Examples 43-56, wherein the training sequence is received during polling the link status.
[0181] Example 58 may include the subject matter of Example 57, wherein polling the link state comprises a link training state in a state machine compatible with a Peripheral Component Interconnect Express (PCIe) based protocol.
[0182] Example 59 may include the subject matter of Example 57, wherein the particular receiver-transmitter pair transitions from the polling link state to the first link state, and another receiver-transmitter pair transitions from the polling link state to the second link state.
[0183] Example 60 may include the subject matter of any of Examples 43-59, wherein the second link state comprises one of a plurality of test states supported by the state machine logic.
[0184] Example 61 may include the subject matter of Example 60, wherein the plurality of test states are separate from states in a link state machine adapted to bring the link to a standard active state.
[0185] Example 62 may include the subject matter of Example 61, wherein the standard activity state comprises an L0 state.
[0186] Example 63 may include the subject matter of any of Examples 43-62, wherein all receiver-transmitter pairs except for the particular receiver-transmitter pair of the plurality of receiver-transmitter pairs enter a second state for testing.
[0187] Example 64 may include the subject matter of Example 63, wherein in a first link state data is sent from the test device on a particular channel, and the second state includes one of: an idle state, wherein no data is sent by another receiver-transmitter pair on another channel of the multiple channels; a loopback state, wherein data is continuously sent from a transmitter of another receiver-transmitter pair on another channel to another device during a particular test mode and is looped back to a receiver of the other receiver-transmitter pair; and a transmit-only state, wherein data is continuously sent by a transmitter of another receiver-transmitter pair on another channel during a particular test mode and the signal is ignored by the receiver of the other receiver-transmitter pair on the other channel.
[0188] Example 65 may include the subject matter of Example 64, wherein data sent by a transmitter of another receiver-transmitter pair is used to test for near-end crosstalk on a particular channel, and data sent from another device to a receiver of another receiver-transmitter pair is used to test for near-end crosstalk on a particular channel.
[0189] Reference throughout this specification to "one embodiment" or "an embodiment" means 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 phrases "in one embodiment" or "in an embodiment" appearing 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.
[0190] In the foregoing description, detailed descriptions have 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. Therefore, the description and drawings should be regarded as illustrative rather than restrictive. Furthermore, the foregoing use of embodiments and other exemplary language do not necessarily refer to the same embodiment or the same example, but may refer to different and distinct embodiments, as well as potentially the same embodiments.
Claims
1. An apparatus for facilitating computer bus communications, the apparatus comprising: Ports, including: a plurality of receiver-transmitter pairs, wherein each of the plurality of receiver-transmitter pairs is configured to transmit and receive data on a corresponding lane of a plurality of lanes of a link; Protocol logic, which is used to: detecting, at one of the receiver-transmitter pairs associated with a particular one of the plurality of channels, a training sequence received from a tester device, wherein the training sequence identifies a test performed by the tester device on the particular channel and a subset of the plurality of channels is not tested; transmitting a compliance pattern on a subset of the plurality of receiver-transmitter pairs associated with a subset of the channels based on the test to generate crosstalk on the particular channels during the test; and Data is transmitted on the particular channel based on the test.
2. The device according to claim 1, wherein: A subset of the channels connects the port to another device.
3. The device according to claim 2, wherein: The other device includes a compliance fixture.
4. The device according to claim 2, wherein: The compliance mode is looped back by the other device on a receiver-transmitter pair in the subset of receiver-transmitter pairs.
5. The device according to claim 4, wherein: Near-end crosstalk (NEXT) is generated on the specific channel by a subset of the receiver-transmitter pairs by transmitting the compliance pattern, and far-end crosstalk (FEXT) is generated on the specific channel by the other device by looping back the compliance pattern.
6. The device according to any one of claims 1 to 5, wherein: The compliance mode is defined in a Peripheral Component Interconnect Express (PCIe) based protocol.
7. The device according to any one of claims 1 to 5, wherein: The protocol logic is used to: entering a receiver detection state for the link; transitioning from the receiver detection state to a polling state, wherein the training sequence is received from the tester device in the polling state; and Transitioning to a loopback state, wherein the test is performed in the loopback state.
8. The device according to claim 7, wherein: A subset of the receiver-transmitter pairs are trained by self-looping back the training sequence.
9. The device according to any one of claims 1 to 5, wherein: The training sequence includes one of a PCIe TS1 ordered set or a PCIe TS2 ordered set.
10. The device according to any one of claims 1 to 5, wherein: The test was performed after equalizing the flow to achieve a data rate of 32.0 GT / s for the link.
11. The device according to any one of claims 1 to 5, wherein: The tester device comprises a single channel bit error rate tester (BERT).
12. The device according to any one of claims 1 to 5, wherein: The specific channels include channels other than channel 0 among the plurality of channels.
13. The device according to any one of claims 1 to 5, wherein: The protocol logic includes hardware circuitry.
14. The device according to any one of claims 1 to 5, wherein: The protocol logic includes software logic.
15. A method for facilitating computer bus communications, the method comprising: entering a polling state of a link training and status state machine (LTSSM) during training of a link, wherein the link includes a plurality of channels and a particular channel of the plurality of channels is coupled to a tester device; receiving a training sequence from the tester device on the particular channel during the polling state; determining a test to be performed by the tester device on the particular channel based on a value in the training sequence received on the particular channel; and A compliance pattern is transmitted on a subset of the plurality of channels other than the particular channel based on the test, wherein transmitting the compliance pattern on the subset of channels causes crosstalk to be generated on the particular channel during the test.
16. The method of claim 15, further comprising performing the testing using the crosstalk generated on a subset of the channels.
17. The method according to claim 15, wherein: The crosstalk includes near-end crosstalk.
18. The method according to claim 17, wherein: The crosstalk also includes far-end crosstalk by looping back the compliance pattern on a subset of the channels.
19. The method according to any one of claims 15 to 18, wherein: The training is based on a PCIe based protocol.
20. A system comprising means for performing the method according to any one of claims 15-19.
21. The system of claim 20, wherein: The unit comprises a machine-readable storage medium having instructions stored thereon, the instructions being executable to cause a machine to perform a method according to any one of claims 15-19.
22. A system comprising: Single channel bit error rate tester (BERT) equipment; Compliance fixtures; as well as A device comprising a port, wherein the port is configured to couple to other devices via a plurality of physical channels, and the port comprises a state machine circuit configured to: detecting a training sequence received from the BERT device on a particular channel of the plurality of channels, wherein the training sequence identifies a test performed by the BERT device on the particular channel, and a subset of the plurality of channels is connected to the compliance fixture instead of the BERT device; causing a compliance pattern to be transmitted on a subset of the lanes based on the testing, wherein transmitting the compliance pattern on the subset of lanes causes crosstalk to be generated to affect the particular lanes during the testing; and Data is transmitted on the particular channel based on the test.
23. The system of claim 22, wherein: The crosstalk includes one of near-end crosstalk or far-end crosstalk.
24. The system of claim 22, wherein: The port is configured to implement a PCIe Gen 5 link.
