On-Demand Packetization for Chip-to-Chip Interfaces
The integrated circuit's protocol layer optimizes chip-to-chip interfaces by mapping and packetizing protocol words to data words, addressing bandwidth inefficiencies and enhancing interface performance.
Patent Information
- Application Number
- JP2024513778
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-09-01
- Filing Date
- 2022-05-26
- Publication Date
- 2024-08-29
- Estimated Expiration
- 2042-05-26
AI Technical Summary
Chip-to-chip interfaces are constrained by the limited number of wires, leading to inefficient bandwidth utilization due to mismatched data word sizes between internal data protocols and the C2C interface, resulting in wasted bandwidth or reduced functionality.
An integrated circuit with a protocol layer that maps sub-portions of protocol words to separate data words, packetizing excess portions and transmitting control data separately to optimize bandwidth usage.
Improves bandwidth utilization by efficiently mapping protocol words to data words, reducing latency and maximizing interface efficiency.
Smart Images

Figure 2024531529000001_ABST
Abstract
Description
[Technical field]
[0001] Examples of the present disclosure generally relate to on-demand packetization for transferring data across chip-to-chip interfaces where the data words transferred exceed the number of wires in the interface. [Background technology]
[0002] As computer systems become more densely integrated, chip-to-chip (C2C) interfaces are becoming more widely used. One such computing system is an anchor chip (e.g., a processor, application specific integrated circuit (ASIC), field programmable gate array (FPGA), or system on a chip (SOC)) that communicates with one or more chiplets (e.g., high speed I / O or high bandwidth memory (HBM)) using a C2C interface. To achieve a chiplet-based architecture, the C2C interface must be clearly defined. The C2C interface is constrained by the area of the beachfront (e.g., the side of the anchor chip), which limits the number of signals and wires that can pass through the interface. The required bandwidth is therefore achieved by operating the interface at a high data rate.
[0003] However, the data protocol used by the application circuitry executing within the chip may have a word size that is different from the size of the data word (DW) supported by the C2C interface. If the data protocol has a word size larger than the DW used by the C2C interface, the chip cannot do a one-to-one mapping between the protocol word and the DW. Instead, a single protocol word may be broken down and sent over the C2C interface as multiple DWs. However, the protocol word may only be slightly larger than the DW, meaning that much of the C2C bandwidth is wasted. Another approach is to limit the capabilities of the bus interface so that less data must be sent over the C2C, but reducing capabilities may not be an option. Summary of the Invention [Means for solving the problem]
[0004] One embodiment describes an integrated circuit including application circuitry, a chip-to-chip (C2C) interface, and a protocol layer coupled between the application circuitry and the C2C interface, the protocol layer configured to receive from the application circuitry a plurality of protocol words transmitted over the C2C interface, each of the plurality of protocol words exceeding a size of a data word (DW) supported by the C2C interface, packetize the plurality of protocol words by mapping subportions of the plurality of protocol words into separate DWs, each of the subportions being equal to or smaller than the size of the DW, and generate at least one DW that includes remaining portions of the plurality of protocol words not included in the subportions.
[0005] Another embodiment described herein is a system including a first integrated circuit connected to a second integrated circuit via a chip-to-chip (C2C) interface, the first integrated circuit including a protocol layer connected between the application circuitry and the C2C interface, the protocol layer configured to receive from the application circuitry a plurality of protocol words transmitted on the C2C interface, each of the plurality of protocol words exceeding a size of a data word (DW) supported by the C2C interface, packetize the plurality of protocol words by mapping subportions of the plurality of protocol words into separate DWs, each of the subportions being equal to or smaller than the size of the DW, and generate at least one DW including remaining portions of the plurality of protocol words not included in the subportions.
[0006] Another embodiment described herein is a method, at a protocol layer within an integrated circuit, that includes receiving a plurality of protocol words transmitted over a C2C interface, where each of the plurality of protocol words exceeds a size of a data word (DW) supported by the C2C interface; packetizing the plurality of protocol words by mapping subportions of the plurality of protocol words into separate DWs, where each of the subportions is less than or equal to the size of the DW; and generating at least one DW that includes remaining portions of the plurality of protocol words not included in the subportions.
[0007] So that the above features briefly summarized may be understood in detail, a more particular description can be made by reference to exemplary implementations, some of which are illustrated in the accompanying drawings. It should be noted, however, that the accompanying drawings illustrate only typical example implementations and therefore should not be considered as limiting the scope thereof. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a block diagram of a communication system having a packetizer for on-demand packetization for chip-to-chip interfaces, according to one embodiment. [Diagram 2] 4 is a flow chart for performing on-demand packetization according to one embodiment. [Diagram 3] 1 illustrates packetization of data transmitted over a C2C interface according to one embodiment. [Figure 4] 4 is a flow chart for encoding control signals to avoid packetization according to one embodiment. [Diagram 5] 4 illustrates control signals that may be coded and that may not be coded, according to one embodiment. [Figure 6] 1 is a flow chart for decoding control signals and performing depacketization on data words received on a C2C interface according to one embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Various features are described below with reference to the drawings. It should be noted that the drawings may or may not be drawn to scale, and elements of similar structure or function are represented by similar reference numerals throughout the drawings. It should be noted that the drawings are intended only to facilitate the description of features. They are not intended as an exhaustive description of features or as limitations on the scope of the claims. In addition, the illustrated examples do not necessarily have all aspects or advantages shown. An aspect or advantage described in connection with a particular embodiment is not necessarily limited to that embodiment and can be implemented in any other embodiment, even if not so illustrated or explicitly described.
[0010] The embodiments herein describe on-demand packetization where data that is too large to convert directly into a DW for the C2C interface is instead packetized. For example, due to limited wires, C2C may be able to support a DW of only 288 bits, but a protocol (e.g., a data streaming protocol) may generate words that are 300 bits. A protocol word may be mapped to two DWs when transmitted over the C2C interface, which means that 576 bits of the C2C interface are used to transmit only 300 bits, resulting in a 52% utilization of the bandwidth of the C2C interface. Instead, when the protocol layer identifies a protocol word that is larger than the DW of the C2C interface, it may perform packetization where multiple protocol words are packetized and transmitted as a transfer. In one embodiment, the protocol layer removes some or all of the control data or signals (e.g., strobe signals, redundant bits, error correction bits, flags, etc.) in the protocol word so that the protocol word no longer exceeds the size of the DW. These shortened protocol words may then be mapped to DWs and transmitted over the C2C as separate packets. The protocol layer can then collect the portions of the control data that were removed from the protocol words and transmit this data as separate packets over the C2C interface, which may introduce some latency (because the receiving chip must wait for the control bits to be received before it can reconstruct the protocol word), but reduces the amount of bandwidth wasted on the C2C interface.
[0011] In another embodiment, instead of packetizing large protocol words, the protocol layer can encode the control data to reduce the size of the protocol words so that they are equal to or smaller than the size of the DW. For example, the control data may have a series of consecutive ones or zeros. Instead of storing each one or zero, the protocol layer need only encode the protocol words to indicate where the series begins or ends. However, if the protocol layer cannot encode the protocol words so that they are smaller than the DW, packetization can be used.
[0012] 1 is a block diagram of a communication system 100 having a packetizer 125 for on-demand packetization for a C2C interface 140, according to one embodiment. As shown, the system 100 includes integrated circuits (ICs or chips) 105A and 105B. The communication system 100 can be an anchor chiplet system or any other system in which two ICs communicate directly using a C2C interface. The ICs 105 can be ASICs, FPGAs, SoCs, CPUs, memories, etc. One IC 105 can be a primary IC and the other a secondary IC, or the ICs 105 can be peers. In one embodiment, the ICs 105 can be disposed side-by-side on the same substrate or in a stacked configuration.
[0013] In this example, each IC 105 includes similar components: application circuitry 110, protocol layer 120, link layer 130, and physical (PHY) layer 135. Application circuitry 110 represents any circuitry that performs a user function. Circuitry 110 may include non-programmable (hardened) circuitry, such as a processor core, a data processing engine, a graphics processing unit, or the like. Or, circuitry 110 may include programmable circuitry, such as a configurable logic block (CLB) or other type of programmable logic that may be customized on the fly by a user. In either case, application circuitry 110 generates data that is transferred to the other ICs 105 using a C2C interface 140.
[0014] The application circuitry 110 transmits data to other hardware elements (e.g., protocol layer 120) in the IC 105 using a particular protocol. The protocol is often different from the protocol used to transmit data over the C2C interface 140. The protocol layer 120 performs a translation to map protocol words 115 compatible with the protocol used by the application circuitry 110 to DWs 150 compatible with the C2C interface 140 when transmitting data received from the application circuitry 110 over the C2C interface 140. The embodiments herein are not limited to any particular type of protocol, but rather may be applied to any IC whose internal circuitry uses a communication protocol different from or incompatible with the C2C interface 140. For example, the application circuitry 110 may use a data protocol such as Advanced eXtensible Interface (AXI), AXI Streaming, Advanced Microcontroller Bus Architecture (AMBA-CXS), or Peripheral Component Interconnect Express (PCIe).
[0015] The protocol layer 120 includes a packetizer 125 for converting protocol words 115 to DWs 150 and converting DWs 150 to protocol words 115. As will be discussed in more detail below, in general, the packetizer 125 (e.g., circuitry in the protocol layer 120) removes some or all of the control data from the protocol words 115 so that the resulting shortened protocol words 115 can be one-to-one mapped to the DWs 150. The removed control data can then be transmitted in a separate packet (e.g., another DW 150). The packetizer 125 in the receiving IC 105 can then reconstruct the protocol words 115 from the packets (e.g., DWs 150) and transmit the protocol words 115 to the application circuitry. In this manner, the bandwidth of the C2C interface 140 may be used more efficiently versus mapping one protocol word 115 to two or more DWs 150.
[0016] The IC 105 also includes a link layer 130 and a PHY layer 135 for communicating along the C2C interface 140. As described above, the C2C interface 140 may have a limited area to form wire connections between the ICs 105. As a result, the size (e.g., number of bits) of the DW 150 may be smaller than the size of the protocol word 115. However, packetization may be performed to reduce the size of the protocol word 115 in an efficient manner to maximize the bandwidth of the C2C interface.
[0017] 2 is a flow chart of a method 200 for performing on-demand packetization, according to one embodiment. In block 205, a packetizer in the protocol layer determines whether a protocol word received from the application circuitry exceeds the size of a DW used to transmit data over the C2C interface. In this embodiment, the protocol word may or may not be larger than the DW. For example, some protocol words may have more data or more control bits than other protocol words. In another example, the application circuitry may use two different protocols to transmit data to the protocol layer, where one protocol (e.g., a streaming protocol) has protocol words that exceed the size of a DW, but the other protocol (e.g., a memory-mapped protocol) does not.
[0018] If the protocol word does not exceed the size of the DW, then in block 210 the packetizer performs a one-to-one mapping of the protocol word to the DW, i.e., every bit in the protocol word can be mapped to a corresponding bit in the DW, so that the protocol word can be transmitted in a single DW over the C2C interface.
[0019] However, if the protocol word exceeds the size of the DW, then in block 215 the packetizer packetizes the protocol words, i.e., the packetizer shortens the protocol word by removing all or a portion of the control data / bits in the word, such that the shortened protocol word can be mapped to a corresponding DW and transmitted over the C2C interface.
[0020] This packetization can be represented by two blocks, where in block 220, a packetizer maps the data portions of the protocol words into separate DW packets. For example, the packetizer can remove all of the control bits from the protocol words so that the protocol words contain only data bits (e.g., user or application data) and are less than or equal to the DW. These protocol words can then be mapped one-to-one with the DW.
[0021] In another example, the packetizer may remove only a portion of the control bits (e.g., strobe signals) but leave other types of control bits (e.g., error redundancy bits) so that the protocol word contains a remainder of the control bits and not just data bits or user data. Again, this assumes that removing the portion of the control bits sufficiently reduces the protocol word so that it is equal to or smaller than the DW. Whether all or only a portion of the control data / bits are removed, the shortened protocol word can then be mapped to the DW and transmitted as a respective packet.
[0022] In block 225, the packetizer generates a DW packet that includes the control data removed from each of the multiple protocol words in block 220. That is, the packetizer collects the control data / bits removed from all the protocol words in block 220 and can then transmit this control data in its own packet (e.g., DW) over the C2C interface. Blocks 220 and 225 are illustrated in FIG.
[0023] 3 illustrates packetization of data transmitted over a C2C interface according to one embodiment. In this example, a transmitter (e.g., one of the ICs 105 in FIG. 1) wants to transmit eight protocol words 115 to a receiver (e.g., another one of the ICs 105 in FIG. 1). Each of the protocol words 115 includes control data and user data. Assume that the total size of each protocol word 115 (control data + user data) exceeds the size of the DW supported by the C2C interface.
[0024] To reduce the size of the protocol words 115 so that they can be mapped to DWs, the packetizer removes the control data from each of the protocol words 115. As shown in the bottom left of Figure 3, the packetizer transmits the user data (e.g., data portion) of the protocol words 115 as separate DWs (i.e., DW150B-DW150I). The packetizer also collects the control data removed from the protocol words 115 and transmits it as a separate packet (i.e., DW150A). In this way, the eight protocol words 115 are packetized and transmitted as nine DWs 150A-DW150I on the C2C interface.
[0025] Although FIG. 3 illustrates removing all control data as described above, the packetizer may only remove some of the control data to reduce the size of the protocol words 115 sufficiently to perform a one-to-one mapping with the DWs. Additionally, the number of protocol words 115 that are packetized as a group (for which their control data is collected) may be a user-configured attribute. Although FIG. 3 illustrates packetizing eight protocol words 115, in other embodiments, four or sixteen protocol words 115 may be collected and packetized. For example, the packetizer may receive four protocol words, remove all or some of the control data from those words, and transmit five (or six) DWs on the C2C interface (one of those five DWs (or two of the six DWs) contains control data).
[0026] The right side of Figure 3 illustrates a receiver receiving nine DWs 150A-DW150I at the protocol layer. To convert DW 150 back to the same protocol word 115 generated by the transmitter, a packetizer must receive DW 150A, which contains the control data. Once this packet is received, the packetizer can reconstruct the protocol word 115 by combining the control data in DW 150A with the corresponding user data in DWs 150B-DW150I.
[0027] Performing packetization can result in improved bandwidth utilization, for example, versus mapping each of the protocol words to two DWs. In that case, the C2C interface would have to transmit 16 DWs for eight protocol words 115. Although packetization may inject some additional latency (because the packetizer has to wait for DW 150A, which contains the control data, to convert DWs 150B-I back to protocol words 115), the C2C interface would only have to transmit nine DWs, which saves bandwidth that could be used to transmit other protocol words (e.g., another batch of eight protocol words).
[0028] 4 is a flow chart of a method 400 for encoding control signals to avoid packetization, according to one embodiment. Packetization can improve performance over mapping a protocol word to multiple DWs, but adds latency. Therefore, encoding control data within a protocol word such that the size of the protocol word is equal to or smaller than the size of the DW may be advantageous, as doing so allows for a one-to-one mapping and avoids the latency associated with packetization. Method 400 illustrates a packetizer that can encode control data.
[0029] In block 405, the packetizer determines whether the protocol word exceeds the size of the DW. This can be similar to block 205 in method 200, where in some cases the protocol word can be larger than the DW, but in other cases the protocol word can be equal to or smaller than the DW. If the protocol word is equal to or smaller than the DW, method 400 proceeds to block 210 of method 200, where the protocol word is transmitted using a one-to-one mapping. If not, method 400 proceeds to block 410, where the packetizer determines whether there is a hole in the control signal. In other words, the packetizer determines whether the control data in the protocol word can be encoded to a smaller size. In general, if the control data contains a hole, for example, a series of 1's bounded by zeros on both sides, a series of zeros bounded by 1's on both sides, a series of 1's that ends in a non-last word of a transfer of multiple protocol words, or a series of 1's that starts in the last word of a transfer of multiple protocol words, this means that the control data cannot be encoded. If so, method 400 proceeds to block 215 of method 200 where packetization occurs as shown in FIG.
[0030] FIG. 5 illustrates control data that may be encoded and that may not be encoded, according to one embodiment. That is, FIG. 5 illustrates control data in a transfer of a protocol word with holes and without holes. The control data in FIG. 5 is a strobe signal in AXI streaming, but the embodiments herein may be applied to any protocol that has control data with a series of ones or zeros (e.g., an identifiable pattern). In this example, the shaded portions of the control data indicate "ones" (valid bits) and the blank portions of the control data indicate "zeros" (invalid bits). Furthermore, the embodiments may be applied to any protocol that has control data with other types of identifiable patterns. For example, the control data may have one or more patterns of ones and zeros (e.g., 0011001100) that may be encoded using fewer bits. Thus, the embodiments are not limited to control data that includes a series of ones or zeros.
[0031] The top four examples of FIG. 5 illustrate the control data for a transfer of a protocol word that does not have a hole. In these examples, the control data may be encoded or compressed. For example, instead of transmitting all bits in the control data, the DW may indicate only the location of the first valid byte position in a non-last protocol word in the transfer (i.e., when TLAST is 0) or the location of the first invalid byte in the last protocol word in the transfer (i.e., when TLAST is 1). A flag bit may be used to indicate when all bytes of data in the control data for a transfer are valid. In this way, when there are no holes in the strobe signal, the DW requires only a few bits (e.g., 32 bits or less) to encode or represent all of the control data. This encoding or compression of the control data may be sufficient to reduce the size of the protocol word such that a one-to-one mapping can be made between the encoded protocol word and the DW. For example, if the protocol word is 300 bits, but the DW is 288, encoding the control data in the protocol word may reduce it to 288 bits or less so that each bit can be mapped to a corresponding bit in the DW.
[0032] The bottom six examples of Figure 5 illustrate embodiments where holes exist in the control data, meaning that the control data cannot be encoded or compressed. Using AXI Streaming as an example, a transfer of a protocol word has a hole if one or more of the following conditions are false: TLAST==0 and TKEEP[W-1]==0 TKEEP[N-1:0] are all ones, TKEEP[M-1:N+K] are all ones, and TKEEP[N+K-1:N] are all zeros, where K>1, M>N+1, and M<W. TKEEP[N-1:0] are all zeros, TKEEP[M-1:N+K] are all zeros, and TKEEP[N+K-1:N] are all ones, where K>1, M>N+1, and M<W. TLAST==1 and TKEEP[0]==0, where W is the width of the TKEEP signal at the AXI-S interface, M is the data bits in the protocol word, and N is the control bits in the protocol word.
[0033] Returning to method 400, assuming there are no holes in the transfer (e.g., a group of protocol words), method 400 proceeds to block 415 where the packetizer encodes the control data such that the size of the encoded protocol word does not exceed the size of the DW. Using the example of Figure 5, some bits of the DW are used to indicate the location of the first valid byte position in a protocol word that is not the last in the transfer, or the first invalid byte position in the last protocol word in the transfer. Flag bits can be used to indicate when all bytes of data in the control data for a transfer are valid.
[0034] In block 420, the packetizer can perform a one-to-one mapping for the encoded protocol words in their transfer to the respective DWs. As a result, the encoded protocol words can be transmitted over the C2C with the same efficiency as protocol words that originally did not exceed the size of the DW. Thus, encoding the protocol words avoids the latency introduced by packetization.
[0035] Encoding protocol words can be described mathematically. Assume that a protocol (e.g., a bus interface) transmits a word containing M data bits (e.g., user data) and N control bits to a protocol layer. Assume that DW has D available wires. The problem is as follows. That is, assuming M + N > D, M < D, and N < D, define a method to limit N to K under a restricted function such that M + K ≤ D, and define a method to packetize N when N cannot be limited to K, so as to achieve the desired trade-off between bandwidth and latency. When a transfer arrives that cannot compress N to K, the packetizer packetizes the transfer as indicated by the "yes" result in block 410 of the block diagram. Packetization is expressed as follows. That is, let R be a positive integer such that N * R ≤ D - 1 < N * (R + 1). The packetizer accumulates R transfers, strips off the N control bits, and accumulates them separately in a register. When R transfers are accumulated, the packetizer transmits a "header" flit that becomes R control bits, followed by R transfers. This is illustrated in FIG. 3 above.
[0036] Instead, if N can be compressed to K, the packetizer compresses the protocol word so that these encoded words can be mapped one-to-one with DW. This is illustrated by blocks 415 and 420 of method 400.
[0037] Additionally, method 400 may be modified for use with protocols that always generate protocol words that exceed the size of the DW. In that case, the logic of block 405 may be omitted since the protocol words are always larger than the DW. However, packetization is still "on-demand" since the packetizer can determine on the fly whether the protocol words can be encoded or compressed (e.g., when the control data has no holes) and, if so, transmit the encoded protocol words without performing packetization. However, if the protocol words cannot be compressed or encoded such that their size is reduced to or below the size of the DW, packetization is performed.
[0038] 6 is a flow chart of a method 600 for decoding control signals and performing depacketization on data words received at a chip-to-chip interface, according to one embodiment. While method 400 describes logic in a packetizer in a transmitter IC, method 600 describes logic in a packetizer in a receiver IC.
[0039] In block 605, the packetizer receives the DW from the PHY layer and the link layer after it has been transmitted over the C2C interface. In block 610, the packetizer determines whether the DW was sent normally (i.e., without encoding or packetization), with encoded control data, or by packetization. For example, the first DW in a transfer may have one or more bits used to indicate how the sending packetizer handled the protocol word (e.g., direct one-to-one mapping with the DW, performed control data encoding, or packetized).
[0040] If the DW was sent normally (ie, the original protocol word did not exceed the size of the DW), the method 600 proceeds to block 615, where a packetizer converts the DW back into a protocol word.
[0041] However, if the sending packetizer encoded the control data, method 600 proceeds to block 620 where the receiving packetizer decodes the control data in the DW. That is, the packetizer may evaluate the encoded data to determine the location of the first valid byte position in a protocol word that is not the last in the transfer, or the first invalid byte position in the last protocol word in the transfer. Alternatively, the packetizer may evaluate a flag bit to determine when all bytes of data in the control data for a transfer are valid.
[0042] Once decoded, in block 625, the packetizer can use this information to convert the decoded DW back to the original protocol word.
[0043] If the DW has been packetized, method 600 proceeds to block 630 where the receiving packetizer waits until it receives the entire packetized transfer. For example, as shown in Figure 3, the packetizer may know that each packetized transfer contains nine DWs, so upon detecting that the DW is the first word in the transfer, the packetizer waits until it receives all nine DWs in that transfer.
[0044] The packetizer merges the removed control data back into the protocol word in block 635. In this manner, the packetization process is reversed such that the original protocol word is reconstructed as shown by the last step in FIG.
[0045] In the foregoing, reference is made to the embodiments presented in this disclosure. However, the scope of the disclosure is not limited to the specific described embodiments. Instead, any combination of the described features and elements, whether related to different embodiments or not, is contemplated for implementing and practicing the contemplated embodiments. Furthermore, the embodiments disclosed herein may achieve other possible solutions or advantages over the prior art, but whether or not a particular advantage is achieved by a given embodiment does not limit the scope of the disclosure. Thus, the above-mentioned aspects, features, embodiments, and advantages are merely exemplary and are not considered elements or limitations of the appended claims unless expressly recited in the claims.
[0046] As will be appreciated by one of ordinary skill in the art, the embodiments disclosed herein may be embodied as a system, method, or computer program product. Accordingly, aspects may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, microcode, etc.), or an embodiment combining software and hardware aspects, all of which may be referred to generally herein as a "circuit," "module," or "system." Furthermore, aspects may take the form of a computer program product embodied in one or more computer-readable medium(s) having computer-readable program code embodied therein.
[0047] Any combination of one or more computer readable media may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (non-exhaustive list) of computer readable storage media include an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this specification, a computer readable storage medium is any tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device.
[0048] A computer-readable signal medium may include a propagated data signal in which computer-readable program code is embodied, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electromagnetic, optical, or any suitable combination thereof. A computer-readable signal medium is not a computer-readable storage medium, but may be any computer-readable medium that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
[0049] The program code embodied on the computer readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
[0050] Computer program code for carrying out operations of aspects of the present disclosure may be written in any combination of one or more programming languages, including, for example, object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as the "C" programming language or similar programming languages. The program code may execute completely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer, partially on a remote computer, or completely on a remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet Service Provider).
[0051] Aspects of the present disclosure are described below with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments presented in the present disclosure. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, a special purpose computer, or other programmable data processing apparatus such that the instructions, executed via a processor of the computer or other programmable data processing apparatus, cause a machine to create means for implementing the functions / acts specified in the blocks of the flowchart and / or block diagrams.
[0052] These computer program instructions may also be stored on a computer-readable storage medium, where the instructions stored on the computer-readable storage medium can direct a computer, programmable data processing apparatus, and / or other device to function in a particular manner to produce an article of manufacture including instructions that implement aspects of the functions / acts specified in the flowchart and / or block diagram blocks.
[0053] Computer program instructions may also be loaded into a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be executed on the computer, other programmable apparatus, or other device to generate a computer-implemented process, such that the instructions executing on the computer or other programmable apparatus provide a process for implementing the functions / acts specified in the flowchart and / or block diagram blocks.
[0054] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowcharts or block diagrams may represent a module, segment, or portion of instructions, including one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions described in the blocks may occur out of the order described in the figures. For example, two blocks shown in succession may in fact be executed substantially simultaneously, or the blocks may be executed in the reverse order, depending on the functionality involved. It should also be noted that each block of the block diagrams and / or flowchart illustrations, as well as combinations of blocks in the block diagrams and / or flowchart illustrations, may be implemented by a dedicated hardware-based system that performs the specified functions or acts, or executes a combination of dedicated hardware and computer instructions.
[0055] Some non-limiting examples of the disclosed techniques can be expressed as follows:
[0056] Example 1. An integrated circuit comprising: Application circuit configuration and a chip-to-chip (C2C) interface; a protocol layer coupled between the application circuitry and the C2C interface, the protocol layer comprising: receiving from the application circuitry a plurality of protocol words for transmission on the C2C interface, each of the plurality of protocol words exceeding a size of a data word (DW) supported by the C2C interface; Multiple protocol words, Mapping sub-portions of a plurality of protocol words into separate DWs, each of the sub-portions being less than or equal to the size of the DW; generating at least one DW including remaining portions of the plurality of protocol words not included in the subportions, thereby packetizing.
[0057] Example 2. The integrated circuit of example 1, wherein a remainder of the plurality of protocol words includes control data within the plurality of protocol words and the sub-portion includes user data.
[0058] Example 3. The integrated circuit of example 2, wherein at least one DW includes control data from each of the plurality of protocol words but does not include user data from the plurality of protocol words.
[0059] Example 4. The integrated circuit of example 1, wherein the size of the DW is limited to the number of wires in the C2C interface.
[0060] Example 5. A link layer; 2. The integrated circuit of embodiment 1, further comprising: a physical (PHY) layer, wherein the link layer and the PHY layer are coupled between the protocol layer and the C2C interface.
[0061] Example 6. The integrated circuit of example 1, wherein the protocol layer is configured to determine that at least one of the plurality of protocol words includes control data that cannot be encoded to reduce a size of at least one of the plurality of protocol words such that the size of the at least one of the plurality of protocol words is equal to or less than a size of the DW prior to packetizing the plurality of protocol words.
[0062] Example 7. Protocol layer: receiving a first protocol word from the application circuitry; determining that the control data within the first protocol word may be encoded to reduce a size of the first protocol word such that the size of the first protocol word is equal to or less than the size of the DW; 2. The integrated circuit of claim 1, further comprising: a first protocol word including encoded control data; and a second protocol word including encoded control data;
[0063] Example 8. The integrated circuit of example 7, wherein the encoded control data indicates a location of an identifiable pattern within the first protocol word.
[0064] Example 9. A system comprising: a first integrated circuit connected to a second integrated circuit via a chip-to-chip (C2C) interface; The first integrated circuit comprises a protocol layer coupled between the application circuitry and the C2C interface, the protocol layer comprising: receiving from the application circuitry a plurality of protocol words for transmission on the C2C interface, each of the plurality of protocol words exceeding a size of a data word (DW) supported by the C2C interface; Multiple protocol words, Mapping sub-portions of a plurality of protocol words into separate DWs, each of the sub-portions being less than or equal to the size of the DW; generating at least one DW including remaining portions of the plurality of protocol words not included in the subportions, thereby packetizing.
[0065] Example 10. The system of example 9, wherein a remainder of the plurality of protocol words includes control data within the plurality of protocol words, and the sub-portion includes user data.
[0066] Example 11. The system of example 10, wherein at least one DW includes control data from each of the plurality of protocol words but does not include user data from the plurality of protocol words.
[0067] Example 12. The system of example 9, wherein the size of the DW is limited to the number of wires in the C2C interface.
[0068] Example 13. A link layer; 10. The system of embodiment 9, further comprising: a physical (PHY) layer, wherein the link layer and the PHY layer are coupled between the protocol layer and the C2C interface.
[0069] Example 14. The system of Example 9, wherein the protocol layer is configured to determine that at least one of the plurality of protocol words includes control data that cannot be encoded to reduce a size of at least one of the plurality of protocol words such that the size of at least one of the plurality of protocol words is equal to or less than the size of the DW before packetizing the plurality of protocol words.
[0070] Example 15. A protocol layer comprising: receiving a first protocol word from application circuitry; determining that the control data within the first protocol word may be encoded to reduce a size of the first protocol word such that the size of the first protocol word is equal to or less than the size of the DW; 10. The system of embodiment 9, configured to transmit a first protocol word including encoded control data over the C2C interface without packetization.
[0071] Example 16. The system of example 15, wherein the encoded control data indicates a location of an identifiable pattern within the first protocol word.
[0072] Example 17. A method comprising: receiving, at a protocol layer within the integrated circuit, a plurality of protocol words transmitted over a C2C interface, each of the plurality of protocol words exceeding a size of a data word (DW) supported by the C2C interface; Multiple protocol words, Mapping sub-portions of a plurality of protocol words into separate DWs, each of the sub-portions being less than or equal to the size of the DW; generating at least one DW including remaining portions of the plurality of protocol words not included in the subportions; and packetizing by performing the above steps.
[0073] Example 18. The method of example 17, wherein the remaining portion of the plurality of protocol words includes control data within the plurality of protocol words, and the subportion includes user data.
[0074] Example 19. The method of example 18, wherein at least one DW includes control data from each of the multiple protocol words but does not include user data from the multiple protocol words.
[0075] Example 20. The method of example 17, wherein the size of the DW is limited to the number of wires in the C2C interface.
[0076] While the above is directed to particular examples, other and further examples may be devised without departing from the basic scope thereof, which is determined by the following claims.
Claims
1. 1. An integrated circuit comprising: Application circuit configuration and a chip-to-chip (C2C) interface; a protocol layer coupled between the application circuitry and the C2C interface, the protocol layer comprising: receiving from the application circuitry a plurality of protocol words for transmission over the C2C interface, each of the plurality of protocol words exceeding a size of a data word (DW) supported by the C2C interface; The plurality of protocol words mapping sub-portions of the plurality of protocol words into separate DWs, each of the sub-portions being less than or equal to the size of the DW; generating at least one DW including remaining portions of the plurality of protocol words not included in the subportions, thereby packetizing.
2. 2. The integrated circuit of claim 1, wherein the remaining portion of the plurality of protocol words comprises control data within the plurality of protocol words, and the sub-portion comprises user data.
3. 3. The integrated circuit of claim 2, wherein the at least one DW includes control data from each of the plurality of protocol words, but does not include user data from the plurality of protocol words.
4. The integrated circuit of claim 1 , wherein the size of the DW is limited to a number of wires in the C2C interface.
5. A link layer; 2. The integrated circuit of claim 1, further comprising: a physical (PHY) layer, the link layer and the PHY layer being coupled between the protocol layer and the C2C interface.
6. 2. The integrated circuit of claim 1, wherein the protocol layer is configured to determine that at least one of the plurality of protocol words includes control data that cannot be encoded to reduce a size of the at least one of the plurality of protocol words such that the size of the at least one of the plurality of protocol words is less than or equal to the size of the DW prior to packetizing the at least one of the plurality of protocol words.
7. The protocol layer comprises: receiving a first protocol word from the application circuitry; determining that control data within the first protocol word may be encoded to reduce the size of the first protocol word such that the size of the first protocol word is less than or equal to the size of the DW; 2. The integrated circuit of claim 1, configured to transmit the first protocol word including the encoded control data over the C2C interface without packetization, the encoded control data indicating a location of an identifiable pattern within the first protocol word.
8. 1. A system comprising: a first integrated circuit connected to a second integrated circuit via a chip-to-chip (C2C) interface; the first integrated circuit comprising a protocol layer coupled between application circuitry and the C2C interface, the protocol layer comprising: receiving from the application circuitry a plurality of protocol words for transmission over the C2C interface, each of the plurality of protocol words exceeding a size of a data word (DW) supported by the C2C interface; The plurality of protocol words mapping sub-portions of the plurality of protocol words into separate DWs, each of the sub-portions being less than or equal to the size of the DW; generating at least one DW including remaining portions of the plurality of protocol words not included in the subportions, thereby packetizing.
9. 9. The system of claim 8, wherein the remaining portion of the plurality of protocol words includes control data within the plurality of protocol words and the sub-portion includes user data, and wherein the at least one DW includes control data from each of the plurality of protocol words but does not include user data from the plurality of protocol words.
10. 9. The system of claim 8, wherein the size of the DW is limited to a number of wires in the C2C interface.
11. A link layer; 10. The system of claim 8, further comprising: a physical (PHY) layer, the link layer and the PHY layer being coupled between the protocol layer and the C2C interface.
12. 9. The system of claim 8, wherein the protocol layer is configured to determine, prior to packetizing the plurality of protocol words, that the at least one of the plurality of protocol words includes control data that cannot be encoded to reduce a size of the at least one of the plurality of protocol words such that the size of the at least one of the plurality of protocol words is less than or equal to the size of the DW.
13. The protocol layer comprises: receiving a first protocol word from the application circuitry; determining that control data within the first protocol word may be encoded to reduce the size of the first protocol word such that the size of the first protocol word is less than or equal to the size of the DW; and transmitting the first protocol word including the encoded control data over the C2C interface without packetization.
14. 14. The system of claim 13, wherein the encoded control data indicates a location of an identifiable pattern within the first protocol word.
15. 1. A method comprising: receiving, at a protocol layer within an integrated circuit, a plurality of protocol words transmitted over a C2C interface, each of the plurality of protocol words exceeding a size of a data word (DW) supported by the C2C interface; The plurality of protocol words mapping sub-portions of the plurality of protocol words into separate DWs, each of the sub-portions being less than or equal to the size of the DW; generating at least one DW including remaining portions of the plurality of protocol words not included in the subportion, thereby packetizing the plurality of protocol words.
Citation Information
Patent Citations
Data modification for device communication channel packets
JP2014529807A
Layered / lossless packet preemption to reduce latency jitter in flow-controlled packet-based networks
JP2016527790A
Data transfer system, image processing device, and data transfer device and control method thereof
JP2017211835A
Communication method, communication system, nodes and program
WO2007083687A1
