High bandwidth link layer for coherence messaging
Through the combination of serial point-to-point interconnection architecture and IAL protocol, it solves the problem of interconnection architecture complexity and performance and energy saving in computing systems, achieves efficient data transmission and low latency, and is suitable for applications with high bandwidth requirements.
Patent Information
- Application Number
- CN202011585316.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-09-25
- Filing Date
- 2019-04-04
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2039-04-04
AI Technical Summary
The complexity of the interconnect architecture in existing computing systems has increased, making it difficult to meet the high bandwidth requirements between components. Especially in different market segments, servers require high performance, while mobile devices may sacrifice performance to save energy, resulting in interconnect architecture It is difficult to balance performance and energy saving.
It adopts a serial point-to-point interconnection architecture and implements a deviation-based consistency model through a combination of IAL.io, IAL.cache and IAL.mem protocols, supports efficient data transmission and low latency, and utilizes flit format and multi-data header technology to optimize the chain. path bandwidth and efficiency.
An efficient link layer system is implemented to maximize achievable link bandwidth while maintaining low latency, significantly improving the gap between PCIe-level link efficiency and consistent transmission, and is suitable for bandwidth-sensitive applications such as direct memory access.
Smart Images

Figure CN112631959B_ABST
Abstract
Description
[0001] This application is a divisional application of a patent application with the same name, filed on April 4, 2019, with application number 201910271381.X.
[0002] CROSS-REFERENCE TO RELATED APPLICATIONS
[0003] This application claims the benefit of U.S. Provisional Application No. 62 / 667,230, filed May 4, 2018, the entire contents of which are incorporated herein by reference. Background Art
[0004] In computing, a cache is a component that stores data so that future requests for that data can be served more quickly. For example, data stored in a cache may be the result of an earlier computation, or a copy of data stored elsewhere. In general, a cache hit may occur when the requested data is found in the cache, and a cache miss may occur when the requested data is not found in the cache. A cache hit is served by reading the data from the cache, which is typically faster than recomputing the result or reading from a slower data repository. Thus, improvements in efficiency can often be achieved by serving more requests from the cache. BRIEF DESCRIPTION OF THE DRAWINGS
[0005] Figure 1 is a schematic diagram of a simplified block diagram of a system including a serial point-to-point interconnect for connecting I / O devices in a computer system according to one embodiment.
[0006] Figure 2 is a schematic diagram of a simplified block diagram of a layered protocol stack according to one embodiment.
[0007] Figure 3 is a schematic diagram of an embodiment of a transaction descriptor.
[0008] Figure 4 is a schematic diagram of an embodiment of a serial point-to-point link.
[0009] Figure 5 is a schematic diagram of a processing system including a connected accelerator according to an embodiment of the present disclosure.
[0010] Figure 6 is a schematic diagram of an example computing system according to an embodiment of the present disclosure.
[0011] Fig. 7A is a diagram of an example flit format with a fixed width and a 16-bit cyclic redundancy check (CRC) according to an embodiment of the present disclosure.
[0012] Figure 7B is a schematic diagram of a full data flit according to an embodiment of the present disclosure.
[0013] Fig. 8A is a schematic diagram of an example flit packaging environment 800 according to an embodiment of the present disclosure.
[0014] Figure 8B -E shows an example flit packaging scenario according to an embodiment of the present disclosure.
[0015] Fig.9A -B is a process flow chart for packing and decoding chained flits including at least one full-data flit according to an embodiment of the present disclosure.
[0016] Fig. 10A is a block diagram of a processor that may have more than one core, may have an integrated memory controller, and may have integrated graphics, according to various embodiments.
[0017] Fig. 10B A block diagram of a system according to one embodiment of the present disclosure is depicted.
[0018] Fig.11 A block diagram of a more specific first exemplary system according to an embodiment of the present disclosure is depicted.
[0019] Fig.12 A block diagram of a more specific second exemplary system 1300 is depicted according to an embodiment of the present disclosure.
[0020] Fig.13 A block diagram of a SoC according to an embodiment of the present disclosure is depicted.
[0021] Fig.14 is a block diagram of using a software instruction converter to convert binary instructions in a source instruction set into binary instructions in a target instruction set according to an embodiment of the disclosure. DETAILED DESCRIPTION
[0022] 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 architectures and microarchitecture details, specific register configurations, specific instruction types, specific system components, specific processor pipeline stages, specific interconnect layers, specific grouping / transaction configurations, specific transaction names, specific protocol exchanges, specific link widths, specific implementations and operations, etc., in order to provide a thorough understanding of the present disclosure. However, it may be apparent to those skilled in the art that these specific details are not necessarily required to practice the subject matter of the present disclosure. In other instances, detailed descriptions of the following known components or methods are avoided so as not to unnecessarily obscure the present disclosure: for example, specific and alternative processor architectures, specific logic circuits / codes for the described algorithms, specific firmware code, low-level 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.
[0023] In the following detailed description, reference is made to the accompanying drawings forming a part thereof, in which the same reference numerals always represent the same parts, and the accompanying drawings are shown by way of illustrative embodiments that can be practiced. It should be understood that other embodiments can be utilized and structural or logical changes can be made without departing from the scope of the present disclosure. Therefore, the following detailed description should not be regarded as having a limiting meaning, and the scope of the embodiments is limited by the attached examples and their equivalents.
[0024] Aspects of the disclosure are disclosed in the attached description. Alternative embodiments of the disclosure and their equivalents may be envisioned without departing from the spirit or scope of the disclosure. It should be noted that the same elements disclosed below are indicated by the same reference numerals in the accompanying drawings.
[0025] Various operations may be described in turn as multiple discrete actions or operations in a manner that is most helpful in understanding the subject matter of the examples. However, the order of description should not be interpreted as implying that these operations must be order-dependent. In particular, these operations may not be performed in the order presented. The described operations may be performed in an order different from the described embodiments. Various additional operations may be performed and / or the described operations may be omitted in additional embodiments.
[0026] For purposes of this disclosure, the phrase "A and / or B" means (A), (B), or (A and B). For purposes of this disclosure, the phrase "A, B, and / or C" means (A), (B), (C), (A and B), (A and C), (B and C), or (A, B, and C).
[0027] The specification may use the phrases "in one embodiment" or "in an embodiment," which may each refer to the same embodiment or one or more of different embodiments. Furthermore, the terms "comprising," "including," "having," etc. as used with respect to the embodiments of the present disclosure are synonymous.
[0028] As used herein, the term "circuitry" may refer to, be a part of, or include an application specific integrated circuit (ASIC), an electronic circuit, a (shared, dedicated, or group) processor and / or (shared, dedicated, or group) memory that executes one or more software programs or firmware programs, combinational logic circuits, and / or other suitable components that provide the described functionality.
[0029] Although the following embodiments may be described with reference to energy conservation, energy efficiency, processing efficiency, etc. 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 these features. For example, the disclosed embodiments are not limited to server computer systems, desktop computer systems, laptop computers, or Ultrabooks. TM , and can also be used for other devices, such as handheld devices, smart phones, 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. Here, similar techniques for high-performance interconnects can be applied to enhance performance (or even save energy) in low-power interconnects. 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 involve software optimization for energy conservation and efficiency. As can be apparent in the following description, it can be considered that the embodiments of the methods, apparatuses, and systems described herein (whether with reference to hardware, firmware, software, or a combination thereof) are essential for a "green technology" future that is balanced with performance considerations.
[0030] As computing systems evolve, the components therein become more complex. The complexity of the interconnect architecture used to couple and communicate between components has also increased to ensure that the bandwidth requirements for optimal component operation are met. In addition, different market segments require different aspects of the interconnect architecture to meet the corresponding market. For example, servers require higher performance, while the mobile ecosystem is sometimes able to sacrifice overall performance for energy conservation. However, the single purpose of most structures is to provide the highest possible performance and maximum energy conservation. Further, a variety of different interconnects can potentially benefit from the subject matter described in this article.
[0031] Peripheral Component Interconnect (PCI) Express (PCIe) interconnect fabric architecture and Quick Path Interconnect (QPI) fabric architecture and other examples can potentially be improved according to one or more principles described herein and other examples. For example, the main 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 and enterprise), and embedded devices and communication devices. PCI Express is a high-performance general-purpose I / O interconnect that is defined for a variety of future computing and communication platforms. Some PCI attributes (e.g., its usage model, load-store architecture, and software interface) have been maintained through its revisions, and previous parallel bus implementations have been replaced by highly scalable, fully serial interfaces. The latest PCI Express versions utilize improvements in point-to-point interconnects, switch-based technologies, 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. Although the primary discussion herein refers to a new high performance interconnect (HPI) architecture, aspects of the disclosure described herein may be applicable to other interconnect architectures, such as a PCIe-compliant architecture, a QPI-compliant architecture, a MIPI-compliant architecture, a high performance architecture, or other known interconnect architectures.
[0032] 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 may include 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.
[0033] 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.
[0034] In one embodiment, controller hub 115 may include, for example, a root hub, root complex, or root controller in a PCIe interconnect hierarchy. Examples of controller hub 115 include chipsets, memory controller hubs (MCHs), north bridges, interconnect controller hubs (ICHs), south bridges, and root controllers / hubs. Often, the term chipset refers to two physically separate controller hubs, for example, a memory controller hub (MCH) coupled to an interconnect controller hub (ICH). Note that current systems often include an MCH integrated with processor 105, while 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.
[0035] 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) may 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.
[0036] 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 bridge (e.g., a PCIe to PCI / PCI-X bridge) to support legacy devices or other versions of devices, or interconnect structures supported by these devices.
[0037] The graphics accelerator 130 may also be 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 devices 125, are then coupled to the ICH. The I / O modules 131 and 118 are also used to implement a layered protocol stack to communicate between the graphics accelerator 130 and the controller hub 115. Similar to the MCH discussed above, the graphics controller or graphics accelerator 130 itself may be integrated into the processor 105.
[0038] Go to Figure 2 , shows an embodiment of a layered protocol stack. The layered protocol stack 200 may include any form of layered communication stack, such as a QPI stack, a PCIe stack, a next-generation high-performance computing interconnect (HPI) stack, or other layered stacks. In one embodiment, the protocol stack 200 may include 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.
[0039] Packets can be used to transfer information between components. Packets can be formed in the transaction layer 205 and the data link layer 210 to carry information from a sending component to a receiving component. As the packets being sent flow through the other layers, the packets are extended with additional information for processing 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 a data link layer 210 representation and finally (for a transaction layer packet) to a form that can be processed by the transaction layer 205 of the receiving device.
[0040] In one embodiment, the transaction layer 205 may provide an interface between the processing core of the device and the interconnect architecture (e.g., the data link layer 210 and the physical layer 220). In this regard, the primary responsibilities of the transaction layer 205 may include the packaging and unpacking of packets (i.e., transaction layer packets or TLPs). The transaction layer 205 may also manage credit-based flow control for the TLPs. In some implementations, split transactions may be utilized, i.e., transactions in which requests and responses are separated in time, allowing the link to carry other traffic while the target device is collecting data for the response, as well as other examples.
[0041] Credit-based flow control can be used to implement virtual channels and networks using interconnect structures. In one example, a device can advertise the initial credit amount of each receive buffer in the transaction layer 205. An external device at the opposite end of the link (e.g., Figure 1The controller hub 115 in the example embodiment may count the number of credits consumed by each TLP. If the transaction does not exceed the credit limit, the transaction may be sent. Upon receiving a response, a certain amount of credit is restored. An example of the advantage of such a credit scheme is that as long as the credit limit is not encountered, the delay in the return of credits does not affect performance, as well as other potential advantages.
[0042] In one embodiment, the four transaction address spaces may include a configuration address space, a memory address space, an input / output address space, and a message address space. The memory space transaction includes one or more of a read request and a write request for transferring data to or from a memory mapped location. In one embodiment, the memory space transaction 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). The configuration space transaction may be used to access the configuration space of various devices connected to the interconnect. Transactions for the configuration space may include read requests and write requests. Message space transactions (or simply messages) may also be defined to support in-band communication between interconnect agents. Therefore, in an example embodiment, the transaction layer 205 may package the packet header / payload 206.
[0043] Examples of data link layer devices may include bridges, repeaters, switches, and the like. A bridge may be similar to a repeater with the additional capability of filtering content by reading the MAC addresses of the source and destination. Bridges are also used to interconnect two devices or systems or networks operating on the same protocol (or in some embodiments, different protocols multiplexed into a single flit). A switch is a multi-port bridge with a buffer and a design that can improve its efficiency (a large number of ports means less traffic) and performance. A switch is a data link layer device. A switch can perform error checking before forwarding data, which makes the switch very efficient because it does not forward packets with errors and only selectively forwards good packets to the correct port. In other words, the switch divides the collision domain of the host, but the broadcast domain remains the same.
[0044] Quick Reference Figure 3, an example embodiment of a transaction layer packet descriptor is shown. In one embodiment, a transaction descriptor 300 may be a mechanism for carrying transaction information. In this regard, the transaction descriptor 300 supports identification of transactions in the system. Other potential uses include tracking modifications to default transaction ordering and association of transactions with channels. For example, the transaction descriptor 300 may include a global identifier field 302, an attribute field 304, and a channel identifier field 306. In the example shown, the global identifier field 302 is depicted as including a local transaction identifier field 308 and a source identifier field 310. In one embodiment, the global transaction identifier 302 is unique to all outstanding requests.
[0045] According to one implementation, the local transaction identifier field 308 is a field generated by the requesting agent and can be 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 interconnect hierarchy. Therefore, together with the source ID 310, the local transaction identifier field 308 provides a global identification of the transaction within the hierarchy domain.
[0046] 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.
[0047] 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.
[0048] Back to Figure 2As discussed above, the link layer 210 (also referred to as the data link layer 210) can be used 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 components on a link. 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 layer to an external device.
[0049] In one example, the physical layer 220 includes a logic sub-block 221 and an electronic block 222 to physically send packets to an external device. Here, the logic sub-block 221 is responsible for the "digital" functions of the physical layer 220. In this regard, the logic sub-block may include 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.
[0050] 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 an example embodiment, an 8b / 10b transmission code is used, in which ten-bit symbols are sent / received. Here, special symbols are used to group packets into frames using frame 223. In addition, in one example, the receiver also provides a symbol clock recovered from the incoming serial stream.
[0051] As stated above, while the transaction layer 205, link layer 210, and physical layer 220 are discussed with reference to a specific embodiment of a protocol stack (e.g., a PCIe protocol stack), the layered protocol stack is not limited thereto. In fact, any layered protocol may be included / implemented and the features discussed herein applicable. As an example, a port / interface represented as a layered protocol may include: (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 high performance interconnect layered protocol as described herein is used.
[0052] Next reference Figure 4, an example embodiment of a serial point-to-point structure is shown. A serial point-to-point link may include any transmission path for transmitting serial data. In the embodiment shown, the link may include two low voltage differential drive signal pairs: a transmit pair 406 / 411 and a receive pair 412 / 407. Thus, device 405 includes transmit logic 406 for transmitting data to device 410 and receive logic 407 for receiving data from device 410. In other words, in some implementations of the link, two transmit paths (i.e., paths 416 and 417) and two receive paths (i.e., paths 418 and 419) are included.
[0053] 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.
[0054] A differential pair can refer 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, and other example advantages. This allows for better timing windows, which enables faster transmission frequencies.
[0055] Accelerator Link (IAL) or other technologies (e.g., GenZ, CAPI) define a generic memory interface that allows memory associated with discrete devices such as accelerators to be used as consistent memory. In many cases, discrete devices and associated memory can be connected cards, or in a chassis separate from the core processor (multiple). The result of introducing consistent memory associated with the device is that the device memory is not tightly coupled to the CPU or platform. Platform-specific firmware cannot be expected to know device details. For modularity and interoperability reasons, memory initialization responsibilities must be divided fairly between platform-specific firmware and device-specific firmware / software.
[0056] This disclosure describes an extension to the existing Intel Accelerator Link (IAL) architecture. IAL uses a combination of three separate protocols called IAL.io, IAL.cache, and IAL.mem to implement IAL's bias-based consistency model (hereinafter referred to as the consistency bias model). The consistency bias model can promote high performance in accelerators while minimizing consistency overhead.
[0057] IAL.io is a PCIe-compatible input / output (IO) protocol used by IAL for functions such as discovery, configuration, initialization, interrupts, error handling, address translation services, etc. IAL.io is non-coherent in nature, supports variable payload sizes and follows PCIe ordering rules. The functionality of IAL.io is similar to the Intel On-Chip System-on-Ship Structure (IOSF). IOSF is a repackaged PCIe protocol for multiplexing, for discovery, register access, interrupts, etc.
[0058] IAL.mem is the I / O protocol used by the host to access data from device-attached memory. IAL.mem allows device-attached memory to be mapped into the system coherent address space. IAL.mem also has snoop and metadata semantics to manage the coherency of device-side caches. IAL.mem is similar to SMI3 for controlling memory flow.
[0059] IAL.cache is an I / O protocol used by devices to request cacheable data from host-attached memory. IAL.cache is non-posted and out-of-order, and supports cache line granularity payload sizes. IAL.cache is similar to the Intra-Die Interconnect (IDI) protocol for coherency requests and memory streaming.
[0060] This disclosure uses IAL attached memory (IAL.mem protocol) as an example implementation, but may also be extended to other technologies, such as those released by the GenZ Alliance or CAPI or OpenCAPI specifications, CCIX, NVLink, etc. IAL is built on top of PCIe and adds support for consistent memory attachment. However, in general, the systems, devices, and programs described herein may use other types of input / output buses that facilitate the attachment of consistent memory.
[0061] Figure 5is a schematic diagram of a processing system 500 including a connected accelerator according to an embodiment of the present disclosure. The processing system 500 may include a host device 501 and a connected device 530. The connected device 530 may be a discrete device connected across an IAL-based interconnect or connected through another similar interconnect. The connected device 530 may be integrated within the same chassis as the host device 501, or may be housed in a separate chassis.
[0062] The host device 501 may include a processor core 502 (labeled as CPU 502). The processor core 502 may include one or more hardware processors. The processor core 502 may be coupled to a memory module 505. The memory module 505 may include double data rate (DDR) interleaved memory, for example, dual in-line memory modules DIMM1 506 and DIMM2 508, but may also include more memory and / or other memory types. The host device 501 may include a memory controller 504 implemented in one or a combination of hardware, software or firmware. The memory controller 504 may include logic circuits for managing data flow to and from the host device 501 and the memory module 505.
[0063] The connected device 530 can be coupled to the host device 501 across an interconnect. As an example, the connected device 530 can include accelerators ACC1 532 and ACC2 542. ACC1 532 can include a memory controller MC1 534 capable of controlling a consistent memory ACC1_MEM 536. ACC2 542 can include a memory controller MC2 544 capable of controlling a consistent memory ACC2_MEM 546. The connected device 530 can include additional accelerators, memories, etc. ACC1_MEM 536 and ACC2_MEM 546 can be consistent memories used by the host processor; similarly, the memory module 505 can also be consistent memories. ACC1_MEM 536 and ACC2_MEM 546 can be or include host managed device memories (HDM).
[0064] The host device 501 may include a software module 520 for performing one or more memory initialization processes. The software module 520 may include an operating system (OS) 522, platform firmware (FW) 524, one or more OS drivers 526, and one or more EFI drivers 528. The software module 520 may include logic embodied on a non-transitory machine-readable medium, and may include instructions that, when executed, cause one or more software modules to initialize the consistent memories ACC1_MEM 536 and ACC2_MEM 546.
[0065] For example, the platform firmware 524 can determine the size of the consistent memory ACC1_MEM 536 and ACC2_MEM 546 and the overall characteristics of the memory in advance during boot-up through standard hardware registers or using a designated vendor specific extended capability register (DVSEC). The platform firmware 524 maps the device memory ACC1_MEM 536 and ACC2_MEM 546 to the consistent address space. The device firmware or software 550 performs the device memory initialization and signals the platform firmware 524 and / or system software 520 (e.g., OS 522). The device firmware 550 then communicates the detailed memory characteristics to the platform firmware 524 and / or system software 520 (e.g., OS 522) via a software protocol.
[0066] Figure 6 An example of an operating environment 600 is shown that may represent various embodiments. Figure 6 The operating environment 600 depicted in FIG. 6 may include a device 602 operable to provide processing capabilities and / or memory capabilities. For example, the device 602 may be an accelerator or processor device communicatively coupled to a host 612 via an interconnect 650, which may be a single interconnect, a bus, a trace, etc. The device 602 and the host 612 may communicate via a link 650 to enable data and messages to be passed therebetween. In some embodiments, the link 650 may be operable to support multiple protocols and communication of data and messages via multiple interconnect protocols. For example, the link 650 may support various interconnect protocols, including but not limited to non-coherent interconnect protocols, coherent interconnect protocols, and memory interconnect protocols. Non-limiting examples of supported interconnect protocols may include PCI, PCle, USB, IDI, IOSF, SMI, SMI3, IAL.io, IAL.cache, and IAL.mem, etc. For example, the link 650 may support a coherent interconnect protocol (e.g., IDI), a memory interconnect protocol (e.g., SMI3), and a non-coherent interconnect protocol (e.g., IOSF).
[0067] In an embodiment, the device 602 may include an accelerator logic 604, which includes a circuit 605. In some instances, the accelerator logic 604 and the circuit 605 may provide processing power and memory capabilities. In some instances, the accelerator logic 604 and the circuit 605 may provide additional processing power in conjunction with the processing power provided by the host 612. Examples of the device 602 may include a producer-consumer device, a producer-consumer plus device, a software-assisted device memory device, an autonomous device storage device, and a large cache device, as previously discussed. The accelerator logic 604 and the circuit 605 may provide processing power and memory capabilities based on the device. For example, the accelerator logic 604 and the circuit 605 may communicate with the host 612 via the interface logic 606 and the circuit 607 using an interconnection, which uses, for example, a consistency interconnection protocol (e.g., IDI) for various functions such as consistency requests and memory streams. The interface logic 606 and the circuit 607 may determine the interconnection protocol based on the message and data used for communication. In another example, the accelerator logic 604 and circuit 605 may include consistency logic that includes or accesses bias mode information. The accelerator logic 604 including the consistency logic may communicate access bias mode information and related messages and data with the host 612 via the interface logic 606 and circuit 607 using a memory interconnect protocol (e.g., SMI3). The interface logic 606 and circuit 607 may determine to use a memory interconnect protocol based on the data and messages used for communication.
[0068] In addition, the interface logic 606, circuit 607, or other parts of the device 602 may include a rollover counter to count rollover values. The rollover value is a count maintained by the link layer of the device 602 transmitter and receiver (i.e., the TX component and RX component of the interface logic 606 and circuit 607). The rollover value is a count of the discretized amount of data associated with the data transmission.
[0069] In some embodiments, the accelerator logic 604 and circuit 605 may include and process instructions for utilizing a non-coherent interconnect such as a structure-based protocol (e.g., IOSF) and / or a peripheral component interconnect express (PCIe) protocol. In various embodiments, the non-coherent interconnect protocol may be used for various functions, including but not limited to discovery, register access (e.g., registers of the device 602), configuration, initialization, interrupts, direct memory access, and / or address translation services (ATS). Note that the device 602 may include various accelerator logic 604 and circuit 605 to process information, and may be based on the type of device, for example, a producer-consumer device, a producer-consumer plus device, a software-assisted device memory device, an autonomous device memory device, and a large cache device. In addition, and as previously discussed, depending on the type of device, the device 602 including the interface logic 606, the circuit 607, the (multiple) protocol queues 609, and the multi-protocol multiplexer 608 may communicate according to one or more protocols, for example, a non-coherent protocol, a coherent protocol, and a memory interconnect protocol. The embodiments are not limited in this manner.
[0070] In various embodiments, host 612 may be similar to processor 105, such as Figure 1 , and include similar or identical circuits to provide similar functionality. The host 612 may be operably coupled to a host memory 626 and may include consistency logic (or consistency and cache logic) 614, which may include a cache hierarchy and have a lower level cache (LLC). The consistency logic 614 may communicate with an interface logic 622 including a circuit 623 and one or more cores 618a-n using various interconnects. In some embodiments, the consistency logic 614 may communicate via one or more of a consistency interconnect protocol and a memory interconnect protocol. In some embodiments, the consistency LLC may include a combination of at least a portion of the host memory 626 and the accelerator memory 610. The embodiments are not limited in this manner.
[0071] The host 612 may include bus logic 616, which may be or may include PCIe logic. In various embodiments, the bus logic 616 may communicate over the interconnect using a non-uniform interconnect protocol (e.g., IOSF) and / or a peripheral component interconnect express (PCIe or PCI-E) protocol. In various embodiments, the host 612 may include multiple cores 618a-n, each with a cache. In some embodiments, the cores 618a-n may include Architecture (IA) core. Each of the cores 618a-n can communicate with the coherence logic 614 via an interconnect. In some embodiments, the interconnect coupling the cores 618a-n and the coherence and cache logic 614 can support a coherence interconnect protocol (e.g., IDI). In various embodiments, the host processor can include a device 620 operable to communicate with the bus logic 616 via the interconnect. In some embodiments, the device 620 can include an I / O device, such as a PCIe I / O device.
[0072] In an embodiment, the host 612 may include interface logic 622 and circuitry 623 to enable multi-protocol communications between components of the host 612 and the device 602. The interface logic 622 and circuitry 623 may dynamically process and enable communication of messages and data between the host 612 and the device 602 according to one or more interconnect protocols, such as a non-coherent interconnect protocol, a coherent interconnect protocol, and a memory interconnect protocol. In an embodiment, the interface logic 622 and circuitry 623 may support a single interconnect, link, or bus capable of dynamically processing data and messages according to multiple interconnect protocols.
[0073] In some embodiments, the interface logic 622 can be coupled to a multi-protocol multiplexer 624, which has one or more protocol queues 625 to send and receive messages and data with the device 602, which includes the multi-protocol multiplexer 608 and also has one or more protocol queues 609. The protocol queues 609 and 625 can be protocol specific. Therefore, each interconnection protocol can be associated with a specific protocol queue. The interface logic 622 and circuit 623 can process messages and data received from the device 602 and sent to the device 602 using the multi-protocol multiplexer 624. For example, when sending a message, the interface logic 622 and circuit 623 can process the message according to one of the interconnection protocols based on the message. The interface logic 622 and circuit 623 can send the message to the multi-protocol multiplexer 624 and the link controller. The multi-protocol multiplexer 624 or the arbitrator can store the message in the protocol queue 625, which can be protocol specific. Based on the availability of resources in the protocol-specific queues of the protocol queues 609 at the multi-protocol multiplexer 608 at the device 602, the multi-protocol multiplexer 624 and the link controller may determine when to send a message to the device 602. When a message is received, the multi-protocol multiplexer 624 may place the message in the protocol-specific queues of the queues 625 based on the message. The interface logic 622 and the circuit 623 may process the message according to one of the interconnect protocols.
[0074] In an embodiment, the interface logic 622 and circuitry 623 can dynamically process messages and data to and from the device 602. For example, the interface logic 622 and circuitry 623 can determine the message type of each message and determine which of a plurality of interconnect protocols to use to process each of the messages. Different interconnect protocols can be used to process the messages.
[0075] In addition, the interface logic 622, circuit 623, or other parts of the host 612 may include a rollover counter to count rollover values. The rollover value is a count maintained by the link layer of the device 612 transmitter and receiver (i.e., the TX component and RX component of the interface logic 622 and circuit 623). The rollover value is a count of the amount of discretized data associated with the data transmission.
[0076] In an example, the interface logic 622 can detect a message to be transmitted via the interconnect 650. In an embodiment, the message may have been generated by the core 618 or another I / O device 620 and is intended for transmission to the device 602. The interface logic 622 can determine the message type of the message, for example, a non-coherent message type, a coherent message type, and a memory message type. In a specific example, the interface logic 622 can determine whether a message such as a request is an I / O request or a memory request for a coupled device based on a lookup in an address map. If the address associated with the message is mapped as an I / O request, the interface logic 622 can process the message using a non-coherent interconnect protocol and send the message as a non-coherent message to the link controller and the multi-protocol multiplexer 624 for transmission to the coupled device. The multi-protocol multiplexer 624 can store the message in an interconnect-specific queue of the protocol queue 625 and cause the message to be sent to the device 602 when resources are available at the device 602. In another example, the interface logic 622 can determine based on a lookup in an address table that the address associated with the message indicates that the message is a memory request. The interface logic 622 can process the message using the memory interconnect protocol and send the message to the link controller and multi-protocol multiplexer 624 for transmission to the coupled device 602. The multi-protocol multiplexer 624 can store the message in an interconnect protocol-specific queue of the protocol queue 625 and cause the message to be sent to the device 602 when resources are available at the device 602.
[0077] In another example, the interface logic 622 may determine that the message is a coherent message based on one or more cache coherence and memory access actions performed. More specifically, the host 612 may receive a coherence message or request sent by the coupled device 602. One or more of the cache coherence and memory access actions may be performed to process the message, and based on these actions; the interface logic 622 may determine that the message sent in response to the request may be a coherent message. The interface logic 622 may process the message according to the coherent interconnect protocol and send the coherent message to the link controller and the multi-protocol multiplexer 624 for sending to the coupled device 602. The multi-protocol multiplexer 624 may store the message in an interconnect protocol-specific queue of the queue 625 and cause the message to be sent to the device 602 when resources are available at the device 602. The embodiments are not limited in this manner.
[0078] In some embodiments, the interface logic 622 may determine the message type of the message based on an address associated with the message, an action caused by the message, information within the message (e.g., an identifier), a source of the message, a destination of the message, etc. The interface logic 622 may process the received message based on the determination and send the message to the appropriate component of the host 612 for further processing. The interface logic 622 may process the message to be sent to the device 602 based on the determination and send the message to a link controller (not shown) and a multi-protocol multiplexer 624 for further processing. The message type may be determined for a message sent from the host 612 or a message received by the host 612.
[0079] The current IAL architecture can implement IAL's bias-based consistency model (hereafter referred to as the "consistency bias model") using a combination of three separate protocols called IAL.io, IAL.cache, and IAL.mem. The consistency bias model can facilitate accelerators to achieve high performance while minimizing consistency overhead.
[0080] In an embodiment, the IAL architecture may support at least five types of accelerator models as defined below.
[0081]
[0082] The present disclosure describes systems, devices, and methods for a high efficiency (e.g., >90%) link layer for fixed cache line size (e.g., 64B) coherent data transfer. This efficiency maximizes the achievable link bandwidth while maintaining low latency. Based on aspects of the present disclosure, IAL can achieve high efficiency and low latency due to one or more of the following 4 factors:
[0083] 1. High flow control unit (flit) width: The IAL flit size can be 528 bits, independent of the input / output (I / O) link width, thereby amortizing the cost of the cyclic redundancy check (CRC) over a larger payload.
[0084] 2. Sub-flit multiplexing for multiple protocols: The ability to dynamically mix and match messages from multiple protocols on the same flit can be used.
[0085] 3. Full data flit format: The ability to send a flit without a header can be used.
[0086] 4. Multiple data headers: The ability to chain multiple unrelated data transmissions together can be employed, which amortizes the header overhead for each transmission.
[0087] Link bandwidth is a performance metric by which competing standards can be evaluated. I / O standards such as Peripheral Component Interconnect Express (PCIe) can support payload sizes of up to 4 kilobytes (KB), which helps the I / O standard achieve approximately 95% efficiency. However, the payload size of consistent transfers can be limited to a much smaller cache line granularity (64B). This can be a limiting factor in link efficiency and maximum achievable bandwidth. The techniques described herein can significantly reduce the gap between PCIe-level link efficiency and consistent transfers. High-efficiency links (e.g., those described herein) can be used in bandwidth-sensitive applications, such as direct memory access (DMA). In the following table, BW can refer to bandwidth, and GT / s can refer to gigatransfers per second.
[0088] Transmission Type Link efficiency BW(32GT / s link) IAL.$ Host to device data 94% 60.4 IAL.$Device to host data 94% 60.4 IAL.Mem slave to master data 91% 58.5 IAL.Mem master to slave data 80% 51.2
[0089] Fixed Flit Width with 16-bit CRC
[0090] Fig. 7A An example of a generic IAL.cache and IAL.mem flow control unit (flit) format is shown in FIG. Fig. 7A700 is a schematic diagram of an example flit format 700 with a fixed width and a 16-bit cyclic redundancy check (CRC) according to an embodiment of the present disclosure. In an embodiment, the IAL.cache and IAL.mem flit size can be fixed to 528 bits, of which 512 bits are the payload 702 and 16 bits are the rolling cyclic redundancy check (CRC) 704. The flit size can not change, regardless of the physical link width or forking. The fixed flit size with a 16-bit CRC amortizes the cost of the CRC over a large payload without affecting the error detection or correction capabilities. All single-bit, double-bit, and triple-bit errors, as well as some 4-bit errors, can be detected and these errors can be corrected using replay.
[0091] Multiplexing of sub-flits of multiple protocols
[0092] If you can Fig. 7A As can be seen in FIG, a flit can be divided into equal-sized slots (e.g., a header slot 712 and general slots 714, 716, and 718). The header slot 712 can contain header information, including definitions of protocol level messages contained in the remainder of the header slot and other slots in the flit. The IAL.cache and IAL.mem protocols can share a common link layer. Messages and data transmissions from both protocols can be multiplexed into a shared flit in a dynamic packaging format that allows low-granularity sharing of the flit slots while being flexible enough to allow a single active protocol to obtain full bandwidth. Because messages from both protocols are packed into sub-slot granularity, maximum flit utilization can be allowed.
[0093] Brief return Figure 6 , the multi-protocol MUX 608 can be used to multiplex data and messages from both the IAL.cache protocol and the IAL.mem protocol (or in other embodiments, the IDI protocol and the SMI3+ protocol or other similar protocols).
[0094] Full data flit format
[0095] For efficient data transfer, IAL.cache and IAL.mem can use the flit format without header slots, such as Figure 7B shown. Figure 7Bis a schematic diagram of a full data flit 750 according to an embodiment of the present disclosure. Each time slot 762, 764, 766, and 768 contains only data without carrying any header, and in addition to the CRC, the full data flit 750 can maximize link utilization. However, since the receiver does not receive a header for decoding the full data flit 750, a tracking mechanism is described for this purpose. The tracking mechanism can be based on the concept of "flips". Flips are counts of data blocks associated with a given transmission, which can be maintained by both the transmitter (Tx) link layer and the receiver (Rx) link layer. Whenever Tx is to send 512b data, as indicated by the flip count, Tx can send a full data flit 750. Similarly, since Rx keeps track of the messages it receives, Rx can maintain a shadow of Tx's flip count. Using this count, it can be deterministically known when a full data flit 750 is expected. The Tx component and the Rx component may be part of interface hardware and software, such as interface logic 606 and interface logic 622 .
[0096] The receiver (Rx) will receive a flit with only data (i.e., a full data flit without header information). Rx must have some information to help the receiver understand what it is receiving. RX maintains rollovers, which are counts of the number of data blocks associated with a given transmission maintained by both rx and tx. Whenever Tx is to send 512b of data, as indicated by Tx's rollover count, Tx sends a full data flit 750. Because of this rule, Rx keeps track of the messages it receives, for example, by maintaining a shadow count of Tx's rollovers. Rx can use rollovers to distinguish between a previous transmission that included a header and a subsequent transmission that is a full data flit. This is how Rx can decode a full data flit without additional information. The rollover count changes dynamically as data is transmitted across the link between Tx and Rx.
[0097] During a replay scenario (e.g., due to a CRC error), it may be necessary to disambiguate the control flits from the full data flits. This can be done by creating a sequence of control flits that the receiver can decode without any possibility of aliasing. For example, a sequence or series of control flits can be interpreted by the Rx as a replay scenario.
[0098] Multiple Data Header (MDH) Flit
[0099] Fig. 8Ais a schematic diagram of an example flit packing environment 800 according to an embodiment of the present disclosure. In an embodiment, the IAL.cache and IAL.mem link layers may have the ability to link multiple full-data floits together. This may be useful for data streaming uses (e.g., large DMA transfers). The concept here is that the data headers associated with multiple separate transfers can be tightly squeezed into a common header slot. After this, all subsequent slots and flits may contain only data associated with these headers. This can amortize the overhead of header information over a much larger payload. An example of this situation is shown schematically below. Each "DH" represents a data header, and each "DC" represents a 16-byte transfer associated with the header.
[0100] Fig. 8A A set of cache data arrays 802 and memory data arrays 812 are shown. The cache data array 802 includes a cache data header array 804 and a 4x16B cache data block array 806. The memory data array 812 includes a memory data header array 814 and a 4x16B memory data block array 816. The cache data header array 804 and the memory data header array 814 can each accumulate data transaction information and can generate a "pending" message or "multiple pending" messages depending on the number of full cache lines worth of data present therein. The cache data header array 804 and the memory data header array 814 can send the pending message or multiple pending messages to the flit packing decision logic 820. The flit packing decision logic 820 (or flit packer 820) can be implemented in hardware, software, or a combination of hardware and software.
[0101] The flit packer 820 may optimize semantics that enable multiple data headers to be packed together. The flit packer 820 may convert received header information from the cache data header array 804 and the memory data header array 814 to a multiple data header (MDH) slot format type defined to carry multiple data headers. An example of an MDH slot format is shown in Figure 8B 852, which includes data headers (DH0, DH1, DH2, and DH3). The flit packer 820 can then pack cache data blocks and memory data blocks into free slots based on the arrangement of the headers within the header slots. In some cases, the flit is a full data flit. For example, Flit 0 852 is Figure 8B854a is a full data flit including data content DC0_3, DC1_0, DC1_1, and DC1_2. Figure 8B More details are described below.
[0102] Depending on the number of data headers being packed, the flit packer must schedule the transfer of the 4x16B data blocks associated with the data headers while maintaining their prioritization. These arrays are constructed in such a way as to allow simultaneous access to up to 4 data headers, as well as individual controllability to read and manipulate each of the 4x16B data blocks.
[0103] Chained data transmission may result in the need to send one or more full data flits over the link. The remote receiver must decode the MDH slot format and maintain a rollover counter to determine how many full data flits will follow the flit containing the data header information.
[0104] Figure 8B -E shows example flit packaging scenarios 850, 860, 870, and 880 according to an embodiment of the present disclosure. Figure 8B The examples shown in -E are examples and may be adapted to cover the number of data headers that can be packed together, along with their location within a flit (slot #).
[0105] Figure 8B A first example flit encapsulation scenario 850 according to an embodiment of the present disclosure is shown. In this first example, the transmitter encapsulates the header and data blocks into linked flits. The transmitter can use the flit packer 820 to pack the four data headers (DH0, DH1, DH2, and DH3) into a single time slot of the flit with the header (in this case, time slot 0 of flit 0 852). Flit 0 852 is Figure 8B 854a is a full data flit including data content DC0_3, DC1_0, DC1_1, and DC1_2 in slots 0-3, respectively. Flit 2 854b and Flit 3 854c are also full data flits, similar to Flit 1 854a. Flit 4 856 is a flit with headers, which includes the MDH with headers DH0, DH1, DH2, and DH3 in slot 0, and DC0_0 in slot 1, DC0_1 in slot 2, and DC0_2 in slot 3. Flit1 854a is a full data flit including data content DC0_3, DC1_0, DC1_1, and DC1_2 in slots 0-3, respectively. Flit 2 854b and Flit 3 854c are also full data flits, similar to Flit 1 854a. Flit 4 856 is a flit with headers, which includes other Txn types in various slots, and the rest of the DC3 data (DC3_3) in slot 1.
[0106] Figure 8C A second example flit encapsulation scenario 860 according to an embodiment of the present disclosure is shown. In this second example, the transmitter encapsulates the header and data blocks into linked flits. The transmitter may use the flit packer 820 to pack two data headers (DH0 and DH1) into a single slot of the flit with headers (in this case, slot 0 of flit 0 862). Flit 0 862 is Figure 8C 864 is a full data flit including data content DC0_3, DC1_0, DC1_1, and DC1_2 in slots 0-3, respectively. Flit 3 866 is a headered flit including other Txn types in various slots, and the remainder of the DC1 data (DC1_3) in slot 1.
[0107] Fig.8D A third example flit encapsulation scenario 870 according to an embodiment of the present disclosure is shown. In this third example, the transmitter encapsulates the header and data blocks into linked flits. The transmitter can use the flit packer 820 to pack the four data headers (DH0, DH1, DH2, and DH3) into a single time slot of the headered flit (in this case, time slot 2 of flit 0872). Flit 0852 is Fig.8D 874a is a full data flit including data content DC0_1, DC0_2, DC0_3, and DC1_0 in slots 0-3, respectively. Flit 2 874b and Flit 3 874c are also full data flits, similar to Flit 1 874a. Flit 4 876 is a flit with headers, which includes other Txn types in slot 0, as well as DC3_1 in slot 1, DC3_2 in slot 2, and DC3_3 in slot 3.
[0108] Fig. 8EA fourth example flit encapsulation scenario 880 according to an embodiment of the present disclosure is shown. In this fourth example, the transmitter encapsulates the header and data blocks into linked flits. The transmitter may use the flit packer 820 to pack two data headers (DH0 and DH1) into a single slot (in this case, slot 2 of flit 0 882) of the flit with the header. Flit 0 882 is Fig. 8E 884 is a full data flit including data content DC0_1, DC0_2, DC0_3 in slots 0-3, respectively. Flit 2 886 is a flit with headers including other Txn types in slot 0, as well as DC1_1 in slot 1, DC1_2 in slot 2, and DC1_3 in slot 3.
[0109] Fig.9A -B is a process flow chart for packing and decoding chained flits including at least one full-data flit according to an embodiment of the present disclosure.
[0110] Figure 10A-Figure 14 is a block diagram of an exemplary computer architecture. Other system designs and configurations known in the art for laptop computers, desktop computers, handheld PCs, personal digital assistants, engineering workstations, servers, network devices, network centers, switches, embedded processors, digital signal processors (DSPs), graphics devices, video game devices, set-top boxes, microcontrollers, cellular phones, portable media players, handheld devices, and various other electronic devices are also suitable for performing the methods described in the present disclosure. In general, various systems or electronic devices that can contain processors and / or other execution logic as disclosed herein are generally suitable.
[0111] Fig. 10A is a block diagram of a processor 1000 that may have more than one core, may have an integrated memory controller, and may have integrated graphics, according to various embodiments. Fig. 10A The solid line box in the figure shows a processor 1000 having a single core 1002A, a system agent 1010, and a set of one or more bus controller units 1016; while the optional addition of the dashed line box shows an alternative processor 1000 having multiple cores 1002A-N, a set of one or more integrated memory controller units 1014 in the system agent unit 1010, and dedicated logic 1008.
[0112] Thus, different implementations of processor 1000 may include: 1) a CPU, where the dedicated logic 1008 is integrated graphics and / or scientific (throughput) logic (which may include one or more cores), and cores 1002A-N are one or more general purpose cores (e.g., general purpose in-order cores, general purpose out-of-order cores, or a combination of both); 2) a coprocessor, where cores 1002A-N are a large number of dedicated cores intended primarily for graphics and / or scientific (throughput); 3) a coprocessor, where cores 1002A-N are a large number of general purpose in-order cores. Thus, processor 1000 may be a general purpose processor, a coprocessor, or a dedicated processor, such as a network or communications processor, a compression and / or decompression engine, a graphics processor, a GPGPU (general purpose graphics processing unit), a high throughput many integrated core (MIC) coprocessor (e.g., including 30 or more cores), an embedded processor, or other fixed logic or configurable logic that performs logic operations. The processor may be implemented on one or more chips. Processor 1000 may be part of and / or implemented on one or more substrates using any of a variety of process technologies (eg, BiCMOS, CMOS, or NMOS).
[0113] In various embodiments, the processor may include any number of processing elements, which may be symmetric or asymmetric. In one embodiment, a processing element refers to hardware or logic that supports software threads. 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 element that can maintain the state of a processor (e.g., execution state or 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, which potentially includes any number of other processing elements, e.g., cores or hardware threads.
[0114] A core may refer to logic located on an integrated circuit capable of maintaining an independent architectural state, wherein each independently maintained architectural state is associated with at least some dedicated execution resources. A hardware thread may refer to any logic located on an integrated circuit capable of maintaining an independent architectural state, wherein 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 and other resources are dedicated to an architectural state. Often, however, an operating system treats a core and a hardware thread as separate logical processors, wherein the operating system can schedule operations on each logical processor separately.
[0115] The memory hierarchy includes one or more levels of cache within the core, a set or one or more shared cache units 1006, and external memory (not shown) coupled to the set of integrated memory controller units 1014. The set of shared cache units 1006 may include one or more intermediate level caches, such as level 2 (L2), level 3 (L3), level 4 (L4), or other levels of cache, a last level cache (LLC), and / or combinations thereof. While in one embodiment, a ring-based interconnect unit 1012 interconnects dedicated logic (e.g., integrated graphics logic) 1008, the set of shared cache units 1006, and the system agent unit 1010 / (multiple) integrated memory controller units 1014, alternative embodiments may interconnect these units using any number of well-known techniques. In one embodiment, coherency is maintained between the one or more cache units 1006 and the cores 1002A-N.
[0116] In some embodiments, one or more of the cores 1002A-N can be multithreaded. System agent 1010 includes those components that coordinate and operate cores 1002A-N. System agent unit 1010 may include, for example, a power control unit (PCU) and a display unit. The PCU may be or include logic and components required to regulate the power state of cores 1002A-N and dedicated logic 1008. The display unit is used to drive one or more externally connected displays.
[0117] The cores 1002A-N may be homogeneous or heterogeneous with respect to the architectural instruction set; that is, two or more of the cores 1002A-N may be capable of executing the same instruction set, while other cores may be capable of executing only a subset of the instruction set or a different instruction set.
[0118] Fig. 10B A block diagram of a system 1050 is depicted in accordance with one embodiment of the present disclosure. The system 1050 may include one or more processors 1052, 1054 coupled to a controller hub 1056. In one embodiment, the controller hub 1056 includes a graphics memory controller hub (GMCH) 1058 and an input / output hub (IOH) 1060 (which may be on separate chips or on the same chip); the GMCH 1058 includes a memory controller and a graphics controller coupled to a memory 1062 and a coprocessor 1064; the IOH 1060 couples an input / output (I / O) device 1066 to the GMCH 1058. Alternatively, one or both of the memory controller and the graphics controller are integrated within the processor (as described herein), the memory 1062 and the coprocessor 1064 are directly coupled to the processor 1052, and the controller hub 1020 is a single chip including the IOH 1060.
[0119] The optional nature of the additional processor 1054 is Fig. 10B Each processor 1052 , 1054 may include one or more of the processing cores described herein and may be a version of processor 1000 .
[0120] The memory 1062 may be, for example, a dynamic random access memory (DRAM), a phase change memory (PCM), other suitable memory, or any combination thereof. The memory 1062 may store any suitable data, such as data used by the processors 1052, 1054 to provide the functionality of the computer system 1050. For example, data associated with an executed program or a file accessed by the processors 1052, 1054 may be stored in the memory 1062. In various embodiments, the memory 1062 may store data and / or instruction sequences used or executed by the processors 1052, 1054.
[0121] In at least one embodiment, the controller hub 1056 communicates with the processor(s) 1052, 1054 via a multi-drop bus such as a front side bus (FSB), a point-to-point interface such as a Quick Path Interconnect (QPI), or similar connection 1095.
[0122] In one embodiment, the coprocessor 1064 is a special purpose processor, such as a high throughput MIC processor, a network or communication processor, a compression and / or decompression engine, a graphics processor, a GPGPU, an embedded processor, etc. In one embodiment, the controller hub 1056 may include an integrated graphics accelerator.
[0123] There may be various differences between the physical resources 1052, 1054 in terms of a range of metrics of advantage including architectural characteristics, microarchitectural characteristics, thermal characteristics, power consumption characteristics, and the like.
[0124] In one embodiment, the processor 1052 executes instructions that control general types of data processing operations. Embedded within the instructions may be coprocessor instructions. The processor 1052 recognizes these coprocessor instructions as being of a type that should be executed by the attached coprocessor 1064. Therefore, the processor 1052 issues these coprocessor instructions (or control signals representing coprocessor instructions) to the coprocessor 1064 on a coprocessor bus or other interconnect. (Multiple) coprocessor 1064 accepts and executes the received coprocessor instructions.
[0125] Fig.11 1 depicts a block diagram of a more specific first exemplary system 1100 according to an embodiment of the present disclosure. Fig.11As 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 of the disclosure, processors 1170 and 1180 are processors 1110 and 1115, respectively, and coprocessor 1138 is coprocessor 1145. In another embodiment, processors 1170 and 1180 are processors 1110 and coprocessor 1145, respectively.
[0126] Processors 1170 and 1180 are shown to include integrated memory controller (IMC) 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.
[0127] Processors 1170, 1180 may each exchange information with chipset 1190 via respective PP interfaces 1152, 1154 using point-to-point interface circuits 1176, 1194, 1186, 1198. Chipset 1190 may optionally exchange information with coprocessor 1138 via high performance interface 1139. In one embodiment, coprocessor 1138 is a special purpose processor, such as a high throughput MIC processor, a network or communication processor, a compression and / or decompression engine, a graphics processor, a GPGPU, an embedded processor, etc.
[0128] 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 either or both processors are placed in a low power mode, the processors' local cache information may be stored in the shared cache.
[0129] 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 disclosure is not limited in this regard.
[0130] like Fig.11As shown, various I / O devices 1114 may be coupled to the first bus 1116 along with a bus bridge 1118 which couples the first bus 1116 to a second bus 1120. In one embodiment, one or more additional processors 1115 such as a coprocessor, a high throughput MIC processor, a GPGPU, an accelerator (e.g., a graphics accelerator or a digital signal processing (DSP) unit), a field programmable gate array, or any other processor are coupled to the first bus 1116. In one embodiment, the second bus 1120 may be a low pin count (LPC) bus. In one embodiment, various devices may be coupled to the second bus 1120 including, for example, a keyboard and / or mouse 1122, communication devices 1127, and a storage unit 1128 such as a disk drive or other mass storage device which may include instructions / code and data 1130. Additionally, an audio I / O 1124 may be coupled to the second bus 1120. Note that the present disclosure contemplates other architectures. 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.
[0131] Fig.12 A block diagram of a more specific second exemplary system 1200 is depicted according to an embodiment of the present disclosure. Fig.11 and Fig.12 Like elements in FIG. 1 have like reference numerals, and Fig.12 Omitted Fig.11 to avoid blurring certain aspects of Fig.12 other aspects.
[0132] Fig.12 It is shown that processors 1270, 1280 may include integrated memory and I / O control logic ("CL") 1272 and 1282, respectively. Thus, CL 1272, 1282 includes an integrated memory controller unit and includes I / O control logic. Fig.12 It is shown that not only the memory 1232, 1234 is coupled to the CL 1272, 1282, but also the I / O device 1214 is coupled to the control logic 1272, 1282. The legacy I / O device 1215 is coupled to the chipset 1290.
[0133] Fig.13 A block diagram of a SoC 1300 according to an embodiment of the present disclosure is depicted. In addition, dashed boxes are optional features on more advanced SoCs. Fig.13, interconnect unit(s) 1302 are coupled to: application processor 1310, which includes a set of one or more cores 1004A-N and (multiple) shared cache units 1006; system agent unit 1010; bus controller unit(s) 1016; integrated memory controller unit(s) 1014; a set or one or more coprocessors 1320, which may include integrated graphics logic, image processor, audio processor, and video processor; static random access memory (SRAM) unit 1330; direct memory access (DMA) unit 1332; and display unit 1340, which is used to couple to one or more external displays. In one embodiment, coprocessor(s) 1320 include special purpose processors, such as network or communication processors, compression and / or decompression engines, GPGPUs, high throughput MIC processors, embedded processors, etc.
[0134] In some cases, the instruction converter can be used to convert instructions from a source instruction set to a target instruction set. For example, the instruction converter can convert (e.g., using static binary conversion, including dynamic binary conversion of dynamic compilation), deform, simulate or otherwise convert instructions to one or more other instructions to be processed by the core. The instruction converter can be implemented in software, hardware, firmware or a combination thereof. The instruction converter can be on the processor, outside the processor, or partly on the processor and partly outside the processor.
[0135] Fig.14 1 is a block diagram of a software instruction converter that converts binary instructions in a source instruction set into binary instructions in a target instruction set using a software instruction converter according to a comparison of an embodiment of the disclosure. In the illustrated embodiment, the instruction converter is a software instruction converter, but alternatively, the instruction converter can be implemented in software, firmware, hardware, or various combinations thereof. Fig.14It is shown that a program in a high-level language 1402 can be compiled using an x86 compiler 1404 to generate x86 binary code 1406 that can be natively executed by a processor 1416 having at least one x86 instruction set core. The processor 1416 having at least one x86 instruction set core represents any processor that is capable of performing substantially the same functions as an Intel processor having at least one x86 instruction set core by compatibly executing or otherwise processing (1) a substantial portion of the instruction set of an Intel x86 instruction set core or (2) an object code version of an application or other software targeted to run on an Intel processor having at least one x86 instruction set core so as to achieve substantially the same results as an Intel processor having at least one x86 instruction set core. The x86 compiler 1404 represents a compiler that is operable to generate x86 binary code 1406 (e.g., object code) that can be executed on a processor 1416 having at least one x86 instruction set core with or without additional link processing. Similarly, Fig.14 It is shown that a program in a high-level language 1402 can be compiled using an alternative instruction set compiler 1408 to generate an alternative instruction set binary code 1410 that can be executed natively by a processor 1414 that does not have at least one x86 instruction set core (e.g., a processor having a core that executes the MIPS instruction set of MFS Technologies (Sunnyvale, CA) and / or executes the ARM instruction set of ARM Holdings (Sunnyvale, CA)). An instruction converter 1412 is used to convert the x86 binary code 1406 into code that can be executed natively by a processor 1414 that does not have an x86 instruction set core. The converted code is unlikely to be the same as the alternative instruction set binary code 1410 because an instruction converter that can do this is difficult to implement; however, the converted code will perform general operations and be composed of instructions from the alternative instruction set. Therefore, the instruction converter 1412 represents software, firmware, hardware, or a combination thereof that allows a processor or other electronic device that does not have an x86 instruction set processor or core to execute the x86 binary code 1406 through simulation, emulation, or any other process.
[0136] A design can go through various stages from creation to simulation to manufacturing. The data representing the design can represent the design in a variety of ways. First, as useful in simulation, a hardware description language (HDL) or another functional description language can be used to represent the hardware. In addition, a circuit level model with logic and / or transistor gates can 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 some stage. In the case of using conventional semiconductor manufacturing technology, the data representing the hardware model can be data specifying the presence or absence of various features on different mask layers of a mask used to produce an integrated circuit. In some implementations, such data can be stored in a database file format such as a Graphic Data System II (GDS II), an Open Artwork System Interchange Standard (OASIS), or a similar format.
[0137] In some implementations, software-based hardware models and HDL and other functional description language objects may include register transfer language (RTL) files and other examples. Such objects may be machine-parseable, so that design tools may accept HDL objects (or models), parse HDL objects for the properties of the described hardware, and determine physical circuits and / or on-chip layouts based on the objects. The output of the design tool may be used to manufacture physical devices. For example, the design tool may determine the configuration of various hardware and / or firmware elements based on the HDL object, such as bus width, registers (including size and type), memory blocks, physical link paths, structural topology, and other properties of the system that is implemented to implement the modeling in the HDL object. The design tool may include tools for determining the topology and structural configuration of systems on chip (SoC) and other hardware devices. In some instances, HDL objects may be used as the basis for developing models and design files that can be used by manufacturing equipment to manufacture the described hardware. In fact, the HDL object itself may be provided as input to the manufacturing system software to manufacture the described hardware.
[0138] In any representation of a design, data representing the design 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 or electrical waves that are modulated or otherwise generated to transmit such information. When an electrical carrier wave indicating or carrying a code or design is transmitted, a new copy is made insofar as duplication, buffering, or retransmission of the electrical signal is performed. Thus, a communications provider or network provider may store an item (e.g., information encoded into a carrier wave embodying the techniques of an embodiment of the present disclosure) at least temporarily on a tangible machine-readable medium.
[0139] In various embodiments, a medium storing a representation of a design may be provided to a manufacturing system (e.g., a semiconductor manufacturing system capable of manufacturing integrated circuits and / or related components). The design representation may instruct the system to manufacture a device capable of performing any combination of the functions described above. For example, the design representation may instruct the system regarding which components to manufacture, how the components should be coupled together, where the components should be placed on the device, and / or regarding other suitable specifications related to the device to be manufactured.
[0140] Thus, one or more aspects of at least one embodiment may be implemented by representative instructions stored on a machine-readable medium, which represent various logic within a processor, which when read by a machine causes the machine to fabricate logic for performing the techniques described herein. Such representations, often referred to as "IP cores," may be stored on a non-transitory, tangible machine-readable medium and provided to various customers or manufacturing facilities to load into manufacturing machines that fabricate the logic or processor.
[0141] The embodiments of the mechanisms disclosed herein may be implemented in hardware, software, firmware, or a combination of these implementation methods. The embodiments of the disclosure may be implemented as a computer program or program code executed on a programmable system, the programmable system comprising at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device.
[0142] Such as Fig.11 Program codes such as code 1130 shown in can be applied to input instructions to perform the functions described herein and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, a processing system includes any system having a processor such as a digital signal processor (DSP), a microcontroller, an application specific integrated circuit (ASIC), or a microprocessor.
[0143] The program code can be implemented in a high-level procedural programming language or an object-oriented programming language to communicate with the processing system. If necessary, the program code can also be implemented in assembly language or machine language. In fact, the scope of the mechanism described herein is not limited to any specific programming language. In various embodiments, the language can be a compiled language or an interpreted language.
[0144] 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 (or otherwise accessible) by a processing element. 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, machine-accessible media include random access memory (RAM), such as static RAM (SRAM) or dynamic RAM (DRAM); ROM; magnetic or optical storage media; flash memory devices; electrical storage devices; optical storage devices; acoustic storage devices; other forms of storage devices for holding information received from transient (propagating) signals (e.g., carrier waves, infrared signals, digital signals), etc., which media are distinguished from non-transitory media from which information may be received.
[0145] Instructions for programming logic to perform embodiments of the disclosure 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 through 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) and a magneto-optical disk, a read-only memory (ROM), a random access memory (RAM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic or optical card, a flash memory, or a tangible machine-readable storage device 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.) through 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).
[0146] Logic can be used to implement any of the functions of various components. "Logic" can refer to hardware, firmware, software, and / or a combination of each thereof, for performing one or more functions. As an example, logic can include hardware such as a microcontroller or processor associated with a non-transitory medium, which is used to store code suitable for execution by the microcontroller or processor. Therefore, in one embodiment, reference to logic refers to hardware that is specifically configured to recognize and / or execute code to be retained on a non-transitory medium. In addition, in another embodiment, the use of logic refers to a non-transitory medium including code, which is particularly suitable for execution by a microcontroller to perform a predetermined operation. And as can be inferred, in yet another embodiment, the term logic (in this example) can refer to a combination of hardware and non-transitory media. In various embodiments, logic can include a microprocessor or other processing element operable to execute software instructions, discrete logic such as an application-specific integrated circuit (ASIC), a programming logic device such as a field programmable gate array (FPGA), a memory device containing instructions, a combination of logic devices (e.g., as can be found on a printed circuit board) or other suitable hardware and / or software. Logic may include one or more gates or other circuit components, which may be implemented by, for example, transistors. In some embodiments, logic may also be fully embodied as software. Software may be embodied as a software package, code, instructions, instruction sets, and / or data recorded on a non-temporary computer-readable storage medium. Firmware may be embodied as hard-coded (e.g., non-volatile) code, instructions, or instruction sets and / or data in a memory device. Often, logic boundaries shown as separate typically vary and potentially overlap. For example, a first logic and a second logic may share hardware, software, firmware, or a combination thereof, while potentially retaining some independent hardware, software, or firmware.
[0147] In one embodiment, the use of the phrase "for" or "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 task or a 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 a 0 or 1 during operation. However, the logic gate "configured to" provide an enable signal to the clock does not include that every potential logic gate can provide a 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.
[0148] Furthermore, in one embodiment, the use of the phrases "capable / capable for" and / or "operable for" refers to some device, logic, hardware, and / or element being designed in such a way that the device, logic, hardware, and / or element can be used in the specified manner. Note that as above, the use of for, 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 way that the device can be used in the specified manner.
[0149] 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.
[0150] 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.
[0151] The systems, methods, computer program products, and apparatus may include one or a combination of the following examples:
[0152] Example 1 may include a computer device comprising: a memory device; a cache device; and a link layer component coupled to the memory device and the cache device, the link layer component being used to: identify first data received from the memory device, the first data being in a first protocol format; identify second data received from the cache device, the second data being in a second protocol format; and generate a flow control unit (flit) for sending based on the first data and the second data, wherein the size of the flit is 528 bits.
[0153] Example 2 may include the computer device of Example 1, wherein generating the flit includes multiplexing a portion of the first data and a portion of the second data to generate the flit.
[0154] Example 3 may include the computer device of Example 1, wherein the flit includes 512 bits for the payload and 16 bits for the cyclic redundancy check.
[0155] Example 4 may include the computer device of Example 3, wherein the 512 bits consist of a portion of the first data and a portion of the second data.
[0156] Example 5 may include the computer device of Example 1, wherein the flit is divided into equal-sized slots, and wherein a first slot of the flit contains header information.
[0157] Example 6 may include the computer device of Example 1, wherein the link layer component includes a transmitter link layer and a receiver link layer, and wherein the transmitter link layer maintains the flips and the receiver link layer maintains a shadow flip corresponding to the flips.
[0158] Example 7 may include the computer device of Example 6, wherein the flit comprises a full data flit, wherein the transmitter link layer sends the flit, and wherein the receiver link layer determines when to expect a full data response flit based on the transmitter link layer sending the flit and shadow flipping.
[0159] Example 8 may include the computer device of Example 1, wherein the flit comprises a full data flit.
[0160] Example 9 may include the computer device of Example 1, wherein the flit is a first flit, wherein the first flit includes a first portion of the first data and a first portion of the second data, wherein the link layer component is further used to generate a second flit, the second flit including a second portion of the first data and a second portion of the second data, wherein the first flit includes a header associated with the first flit and the second flit, wherein the second flit includes a full data flit, and wherein the second flit is sent after the first flit.
[0161] Example 10 may include the computer device of Example 1, wherein the link layer component includes a flit packetizer circuit.
[0162] Example 11 may include the computer device of Example 1, wherein the link layer component comprises a bridge or a switch.
[0163] Example 12 may include a method comprising: identifying, by a link layer, first data received in a first protocol format; identifying, by the link layer, second data received in a second protocol format; multiplexing, by the link layer, a portion of the first data and a portion of the second data to produce multiplexed data; and generating, by the link layer, a flow control unit (flit) including the multiplexed data.
[0164] Example 13 may include the method of Example 12, wherein the size of the flit is 528 bits.
[0165] Example 14 may include the method of Example 12, wherein the flit includes 512 bits for the payload and 16 bits for the cyclic redundancy check, and wherein the payload includes multiplexed data.
[0166] Example 15 may include the method of Example 14, wherein the payload consists of multiplexed data.
[0167] Example 16 may include the method of Example 12, wherein the flit is divided into equal-sized slots, and wherein a first slot of the flit contains header information.
[0168] Example 17 may include the method of Example 12, further comprising: maintaining, by a transmitter link layer of the link layer, the flip; and maintaining, by a receiver link layer of the link layer, a shadow flip corresponding to the flip.
[0169] Example 18 may include the method of Example 17, further comprising: sending a flit by the transmitter link layer, wherein the flit includes a full data flit; and determining by the receiver link layer when a full data response flit is expected based on the sending of the flit by the transmitter link layer and shadow flipping.
[0170] Example 19 may include the method of Example 12, wherein the flit comprises a full data flit.
[0171] Example 20 may include the method of Example 12, wherein the portion of the first data is a first portion of the first data, wherein the portion of the second data is a first portion of the second data, wherein the multiplexed data is a first multiplexed data, wherein the flit is a first flit, and wherein the method further includes: multiplexing, by the link layer, a second portion of the first data and a second portion of the second data to produce second multiplexed data; generating, by the link layer, a second flit including the second multiplexed data, wherein the second flit includes a full-data flit, and wherein the first flit includes header information associated with the first flit and the second flit; sending the first flit by the link layer; and sending the second flit by the link layer after the first flit.
[0172] Example 21 is a system comprising a transmitter device and a receiver device, the transmitter device comprising: a memory for storing data, a cache for caching data, a link layer logic implemented at least in part in hardware, and a multiplexer logic implemented at least in part in hardware; the receiver device comprising: a decoder device for decoding a data packet received from the transmitter. The link layer logic is used to: identify, by the link layer device, first data received from the memory in a first protocol format; identify, by the link layer device, second data received from the cache in a second protocol format; multiplex, by the link layer device, a portion of the first data and a portion of the second data to generate multiplexed data; and generate, by the link layer device, a flow control unit (flit) including the multiplexed data.
[0173] Example 22 may include the subject matter of Example 21, wherein the size of the flit is 528 bits.
[0174] Example 23 may include the subject matter of Example 21 or 22, wherein the flit comprises 512 bits for the payload and 16 bits for the cyclic redundancy check, and wherein the payload comprises multiplexed data.
[0175] Example 24 may include the subject matter of Example 23, wherein the payload consists of multiplexed data.
[0176] Example 25 may include the subject matter of Example 21, wherein the flit is divided into equal-sized time slots, and wherein a first time slot of the flit contains header information.
Claims
1. An apparatus for facilitating computer communications, the apparatus comprising: A port coupled to a device via a link, wherein the port is used to support a plurality of different interconnect protocols, the port comprising a link layer logic unit and a multiplexer logic unit, the link layer logic unit being used to implement the plurality of different interconnect protocols, the multiplexer logic unit being used to support dynamic protocol multiplexing of the plurality of different interconnect protocols, wherein the plurality of different interconnect protocols include an input / output (I / O) protocol, a memory access protocol, and a cache coherence protocol, wherein the memory access protocol and the cache coherence protocol share a common link layer, in: The link layer logic unit is used to: generate a flit, wherein the flit includes a plurality of time slots and a cyclic redundancy check (CRC) for the flit, and the plurality of time slots include time slots of equal size; and The port is used to send the flit to the device through the link.
2. The device according to claim 1, wherein: The flit includes a protocol flit, the multiple time slots include a header time slot and multiple general time slots, wherein the header time slot is used to carry a header including link layer specific information, and a specific one of the multiple general time slots includes a message based on the cache coherence protocol.
3. The device according to claim 2, wherein: The link layer logic unit is further used to generate a full data flit, the full data flit includes a plurality of data time slots, each of the plurality of data time slots is used to carry payload data, and the header corresponds to at least a portion of the payload data.
4. The device according to claim 2, wherein: A first time slot of the plurality of time slots comprises the header time slot.
5. The device according to any one of claims 1 to 4, wherein: The flit comprises a full data flit, and each of the plurality of slots comprises a corresponding data slot to carry payload data.
6. The device according to any one of claims 1 to 4, wherein: The flit has a format to be used for both the memory access protocol and the cache coherence protocol.
7. The device according to any one of claims 1 to 4, wherein: The size of the flit is 528 bits.
8. The device according to claim 7, wherein: The plurality of time slots includes four 16-byte time slots.
9. The device according to claim 7, wherein: The CRC comprises a 16-bit CRC.
10. The device according to any one of claims 1 to 4, wherein: A particular one of the plurality of time slots includes data for the memory access protocol and another one of the plurality of time slots includes data for the cache coherence protocol.
11. The device according to any one of claims 1 to 4, wherein: The CRC is outside the plurality of time slots in the flit.
12. The device according to any one of claims 1 to 4, wherein: At least one of the plurality of different interconnect protocols is based on a Peripheral Component Interconnect Express (PCIe) protocol.
13. The device according to any one of claims 1 to 4, wherein: The link layer logic unit includes a hardware circuit.
14. The device according to any one of claims 1 to 4, wherein: The link layer logic unit includes a software-based logic unit.
15. A method for facilitating computer communications, the method comprising: generating a flow control unit (flit) at a first device, wherein the flit comprises a plurality of time slots and a cyclic redundancy check (CRC) code for the flit, and the plurality of time slots comprises time slots of equal size; multiplexing data of a plurality of different protocols, wherein the port of the first device supports data communication according to each of the plurality of different protocols, wherein the plurality of different interconnect protocols include an input / output (I / O) protocol, a memory access protocol, and a cache coherence protocol, wherein the memory access protocol and the cache coherence protocol share a common link layer; and The flit is sent to a second device over a link, wherein the flit includes information about two or more of the plurality of different protocols based on the multiplexing, and the link couples the first device to the second device, and the link includes a plurality of physical channels.
16. The method according to claim 15, wherein: The flit includes a protocol flit, the multiple time slots include a header time slot and multiple general time slots, wherein the header time slot is used to carry a header including link layer specific information, and a specific one of the multiple general time slots includes a message based on the cache coherence protocol.
17. The method according to claim 15, wherein: The flit comprises a full data flit, and each of the plurality of slots comprises a corresponding data slot to carry payload data.
18. The method according to claim 15, wherein: The flit is generated using link layer logic of the first device.
19. A system for facilitating computer communications, comprising means for performing the method according to any one of claims 15-18.
20. The system of claim 19, wherein: The unit comprises a machine-readable storage medium having instructions stored thereon, the instructions being executable to cause a machine to perform the method according to any one of claims 15-18.
21. A system for facilitating computer communications, comprising: Host device; as well as an endpoint device coupled to the host device via a link, Wherein, the host device includes: a multiplexer logic unit for supporting dynamic protocol multiplexing for a plurality of different interconnect protocols for use on said link; A protocol logic unit, comprising a link layer logic unit, the link layer logic unit being used to implement a link layer of each of the plurality of interconnection protocols, wherein the protocol logic unit is used to: generating a flit, wherein the flit comprises a plurality of time slots and a cyclic redundancy check (CRC) value for the flit, and the plurality of time slots comprises time slots of equal size; and causing the flit to be sent to the endpoint device over the link, Wherein, the plurality of different interconnect protocols include an input / output (I / O) protocol, a memory access protocol, and a coherence protocol, and wherein the memory access protocol and the coherence protocol share a common link layer.
22. The system of claim 21, wherein: The input / output (I / O) protocol, the memory access protocol, and the coherence protocol include sub-protocols of an accelerator link protocol, and the host device includes a port that supports both the accelerator link protocol and a Peripheral Component Interconnect Express (PCIe) based protocol.
23. The system of claim 21, wherein: The flit includes a protocol flit, the multiple time slots include a header time slot and multiple general time slots, wherein the header time slot is used to carry a header including link layer specific information, and a specific one of the multiple general time slots includes a message based on the consistency protocol.
24. The system of claim 21, wherein: The flit comprises a full data flit, and each of the plurality of slots comprises a corresponding data slot to carry payload data.
25. The system according to any one of claims 21 to 24, wherein: The endpoint device includes an accelerator device.
26. The system according to any one of claims 21 to 24, wherein: The endpoint device includes a memory device.
