Segment-to-segment network interface
Through the use of segmented network structure and S2S network interface circuits, the problem of high network interconnection resource management costs between multiple integrated circuits is solved, efficient packet transmission and resource management are achieved, and high-bandwidth and low-latency networks are supported. optimization.
Patent Information
- Application Number
- CN202380017878.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-07-19
- Filing Date
- 2023-01-20
- Publication Date
- 2024-08-30
AI Technical Summary
In the existing technology, network interconnection between multiple integrated circuits results in high resource management costs, and it is difficult to achieve efficient packet transmission, especially in packet routing and interface management across network segments.
Using a segmented network structure, packets are bridged and forwarded between different network segments through S2S network interface circuits, and the credit mechanism is used to manage virtual channels and buffer resources, reducing resource consumption and improving transmission efficiency.
It effectively reduces resource consumption, improves packet transmission efficiency, reduces the overall cost of the system, and supports high-bandwidth and low-latency network optimization.
Smart Images

Figure CN118575172A_ABST
Abstract
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0001] The following detailed description refers to the accompanying drawings, which are now briefly described.
[0002] Figure 1 is a block diagram of a system of one embodiment including multiple networks interconnecting agents.
[0003] Figure 2 is a block diagram of one embodiment of a plurality of integrated circuits having a network having a plurality of network segments.
[0004] Figure 3 is a block diagram of one embodiment of a system having multiple integrated circuits including a network integrated circuit.
[0005] Figure 4 is a block diagram of one embodiment of a segment-to-segment (S2S) network interface circuit.
[0006] Figure 5 is a block diagram of one embodiment of a system on a chip (SOC).
[0007] Figure 6 is a block diagram of one embodiment of a portion of a system including a pair of SOCs.
[0008] Figure 7 is a flow chart of one embodiment of certain operations for transmitting packets.
[0009] Figure 8 is a block diagram of one embodiment of a system.
[0010] Fig. 9 is a block diagram of one embodiment of a computer-accessible storage medium.
[0011] Although the embodiments described in the present disclosure may be subject to various modifications and alternatives, specific embodiments thereof are shown by way of example in the drawings and will be described in detail herein. However, it should be understood that the drawings and specific embodiments thereof are not intended to limit the embodiments to the particular forms disclosed, but on the contrary, the present invention is intended to cover all modifications, equivalents and alternatives falling within the spirit and scope of the appended claims. The headings used herein are for organizational purposes only and are not intended to limit the scope of the specification. DETAILED DESCRIPTION
[0012] In one embodiment, the system may include multiple integrated circuits coupled via one or more networks. Each integrated circuit may be formed on a single semiconductor substrate or "chip", separate from the substrate / chip on which other integrated circuits may be formed. The integrated circuits may include multiple proxy circuits (referred to as "agents") that may be the source and destination of packets on one or more networks. Because the networks span multiple integrated circuits, and the agents are implemented across those integrated circuits, the resources used to manage packet flows within the network may be very large and therefore expensive to implement, for example, in terms of circuit area and / or power consumption.
[0013] In one embodiment, a given network can be divided into multiple network segments. A given packet can be transmitted by a source agent to a network segment to which the source agent is coupled. The network segment may include a structural circuit for transmitting packets within the segment. Any topology and structural transmission mechanism can be used. As an example of this article, a switching structure circuit / network is used, but any other structural circuit can be used in other embodiments, and different segments can adopt different mechanisms. A segment-to-segment (S2S) network interface circuit can also be coupled to the segment. Packets with target destination agents on different network segments can be transmitted to the S2S network interface circuit. From the perspective of a source agent for packet transmission, the S2S network interface circuit can be the target destination, even if the packet is ultimately targeted at a destination agent on another network. That is, the source agent's participation in the transmission of packets can be completed based on receiving packets at the S2S network interface circuit. Then, the S2S network interface circuit may be responsible for forwarding the packet to another network segment to reach the destination agent (or forwarding to another S2S network interface circuit, which may then be responsible for forwarding the packet to another network segment), until the packet reaches the network segment to which the destination agent is coupled.
[0014] Therefore, compared with unsegmented networks, the resources used by the S2S network interface circuits in the system and the switching fabric for routing the packets in each network segment can be reduced. For example, in one embodiment, various network interface circuits as a part of the switching fabric can adopt packet storage locations, and available locations can be divided between various virtual channels (and in some cases, subchannels of virtual channels) on the network and between various agents on the network. At least one storage location can be assigned to each virtual channel / subchannel and agent, and credits can be used to track and control how many packets being transmitted in each virtual channel / subchannel and destination agent. Credits can be consumed when transmitting packets, and credits are released when packets arrive at the destination. By segmentation, the number of destinations tracked in the scheme can be based on the number of agents and S2S network interface circuits in the segment, rather than across the entire network. Therefore, a reduction in resources can be achieved.
[0015] The S2S network interface circuits may be bridges between network segments, participating as sources and destinations for packets on the segments to which they are coupled. Thus, the S2S network interface circuits may terminate packets (or sink packets) originating from one segment and having a destination on a different segment. The S2S network interface circuits may provide packets received from a different segment on a segment, relaying these packets to a destination agent.
[0016] In one embodiment, the system may include multiple independent networks. The networks may be physically independent (e.g., having dedicated wires and other circuits forming the networks) and logically independent (e.g., communications initiated by an agent may be logically defined to be transmitted on a selected network among the multiple networks and may not be affected by transmissions on other networks). Independent networks may also be independently segmented. Other embodiments may employ a single segmented network.
[0017] By providing physically and logically independent networks, high bandwidth can be achieved via parallel communication on different networks. In addition, different services can be transmitted on different networks, and therefore a given network can be optimized for a given type of service. For example, a processor such as a central processing unit (CPU) may be sensitive to memory latency, and data expected to be consistent between the processor and the memory can be cached. Therefore, a CPU network can be provided, on which the CPU and the memory controller in the system are agents. The CPU network can be optimized to provide low latency. For example, in an embodiment, there may be a virtual channel for low latency requests and batch requests. Compared with batch requests, low latency requests are more favored when forwarded by the memory controller around the structure. The CPU network can also support cache consistency with messages and protocols defined as consistent communication. Another network can be an input / output (I / O) network. This network can be used by various peripherals ("peripherals") to communicate with memory. The network can support the bandwidth required by peripherals and can also support cache consistency. However, I / O services may sometimes have significantly higher latency than CPU services. By separating the I / O business from the CPU to the memory business, the impact of the I / O business on the CPU business may be smaller. The CPU may also be included as an agent on the I / O network for managing consistency and communicating with peripherals. In an embodiment, another network may be a relaxed order network. The CPU and the I / O network may both support the sorting models between the communications on these networks, which provide the sorting desired by the CPU and the peripherals. However, the relaxed order network may be non-consistent and may not execute a lot of sorting constraints. The relaxed order network may be used by a graphics processing unit (GPU) to communicate with a memory controller. Therefore, the GPU may have a dedicated bandwidth in the network and may not be limited by the sorting required by the CPU and / or peripherals. Other embodiments may adopt any subset of the above-mentioned network and / or any additional network as required.
[0018] A network switching circuit (or simply referred to as a "network switch") can be a circuit configured to receive communications on a network and forward communications on a network in the direction of a communication destination. For example, communications initiated by a processor can be transmitted to a memory controller that controls a memory mapped to a communication address. At each network switch, the communication can be forwarded to the memory controller. If the communication is read, the memory controller can transmit the data back to the source, and each network switch can forward the data on the network to the source. In an embodiment, the network can support multiple virtual channels. The network switch can use resources (e.g., buffers) dedicated to each virtual channel so that the communications on the virtual channels can remain logically independent. The network switch can also use arbitration circuits to select in the buffered communications to forward on the network. A virtual channel can be a channel that physically shares a network but is logically independent of the network (e.g., a communication in one virtual channel does not block the advancement of the communication on another virtual channel). Therefore, multiple network switches can form a switching structure for packet transmission within a network segment. Therefore, multiple network switches can have resources to manage packets between the source and destination on the segment (including one or more S2S network interface circuits bridged to other network segments). In one embodiment, fewer resources (eg, fewer buffers) may be used in a given network switch than would be possible using an unsegmented network.
[0019] Furthermore, implementations where segments correspond to integrated circuit boundaries can also provide a scalable solution, where a given integrated circuit implementation can be used in systems that use two instances of an integrated circuit as well as systems that use more than two instances of an integrated circuit (e.g., 4 instances, 8 instances, etc.). The same implementation can be used because the segment boundaries and IC boundaries are coextensive (e.g., the same or overlapping). A given IC can have more than one segment therein, but the IC boundary can be a segment boundary for at least one of the segments on the IC.
[0020] Proxy circuitry may generally be any device (e.g., a processor, peripheral device, memory controller, etc.) that can initiate and / or collect communications on a network. A source agent generates (initiates) communications, and a destination agent receives (collects) communications. A given agent may be a source agent for some communications and a destination agent for other communications. In one embodiment, communications may be packets generated according to a packet definition implemented by the agent.
[0021] Figure 1 is a block diagram of a system including one embodiment of a plurality of networks interconnecting agents. Figure 1, agents 10A, 10B, and 10C are shown, but any number of agents may be included in various embodiments. Agents 10A to 10B are coupled to network 12A, and agents 10A and 10C are coupled to network 12B. Likewise, in various embodiments, any number of networks 12A to 12B may be included. Network 12A includes a plurality of network switches, including network switches 14AA, 14AB, 14AM, and 14AN (collectively referred to as network switches 14A); and, similarly, network 12B includes a plurality of network switches, including network switches 14BA, 14BB, 14BM, and 14BN (collectively referred to as network switches 14B). Different networks 12A to 12B may include different numbers of network switches 14A to 14B. In addition, networks 12A to 12B include physically separate connections ("wires," "buses," or "interconnects") that are physically separate in nature. Figure 1 Shown as individual arrows.
[0022] Since each network 12A-12B has its own physically and logically separate interconnects and network switches, the networks 12A-12B are physically and logically separate. Communications on network 12A are not affected by communications on network 12B, and vice versa. Even the bandwidth on the interconnects in each network 12A-12B is separate and independent.
[0023] Optionally, the agents 10A-10C may be coupled to network interface circuits (respectively referenced 16A-16C). The network interface circuits 16A-16C may be configured to transmit and receive traffic on the networks 12A-12B on behalf of the corresponding agents 10A-10C. The network interfaces 16A-16C may be configured to convert or modify communications sent by the corresponding agents 10A-10C to conform to the protocol / format of the networks 12A-12B, and to remove modifications or convert received communications to the protocol / format used by the agents 10A-10C. Thus, the network interface circuits 16A-16C may be used for agents 10A-10C that are not specifically designed to interface directly with the networks 12A-12B. In some cases, the agents 10A-10C may communicate on more than one network (e.g., the agents 10A may communicate on more than one network). Figure 1The corresponding network interface circuit 16A may be configured to separate the traffic published by the agent 10A to the networks 12A to 12B according to which network 12A to 12B each communication is assigned to; and the network interface circuit 16A may be configured to combine the traffic received from the networks 12A to 12B for the corresponding agent 10A. Any mechanism for determining that a network 12A to 12B will carry a given communication may be used (e.g., in various embodiments, based on the type of communication, the destination agent 10B to 10C for the communication, the address, etc.). Alternatively, there may be a separate network interface circuit for each network to which the agent is coupled. Although the network interface circuits 16A to 16C are shown as being separate from the networks 12A to 12B, the network interface circuits may also be considered to be part of the networks 12A to 12B.
[0024] Because the networks 12A-12B are physically and logically independent, different networks may have different topologies. For example, a given network may have a ring, a mesh, a tree, a star, a fully connected set of network switches (e.g., the switches in the network are directly connected to each other), a shared bus with multiple agents coupled to the bus, etc., or a mixture of any one or more topologies. Each network 12A-12B may adopt a topology that, for example, provides the bandwidth and latency attributes desired by the network or provides any desired attributes of the network. Therefore, in general, a SOC may include a first network constructed according to a first topology and a second network constructed according to a second topology different from the first topology.
[0025] More details on other aspects of the independent network can be found at Figure 5 One or more of the networks may be segmented as described herein.
[0026] Figure 2 1 is a block diagram illustrating a system including a plurality of integrated circuits (ICs) 20A-20B, wherein a plurality of agents 10A-10B are distributed on the integrated circuits 20A-20B. The agents 10A-10B are coupled to a network 12A (in this embodiment through network interface circuits (NI circuits) 16A-16C). More specifically, the network 12A includes a plurality of network segments 12AA-12AD. The system also includes S2S NI circuits 22A-22D. The S2S NI circuit 22A is coupled to the network segment 12AA and the network segment 12AB (and more specifically to the network switch 14AN in the network segment 12AA). The S2S NI circuit 22C is coupled to the network segment 12AA (and more specifically to the network switch 14AM) and the network segment 12AD. On the integrated circuit 20B, the S2S NI circuit 22B is coupled to the network segment 12AB and the network segment 12AC. The NI circuit 16B is coupled to the network segment 12AC and to the agent 10B.
[0027] Figure 2 , the boundaries of ICs 20A to 20B are shown with short dash-dotted blocks. That is, the components within the corresponding groups of short dash-dotted blocks may be implemented entirely or completely within the corresponding ICs 20A to 20B. For example, agent 10A, NI circuit 16A, network segment 12AA including network switches 14AA to 14AN, network segment 12D, and S2S NI circuits 22A and 22C may be implemented completely within IC 20A. S2S NI circuit 22B, network segment 12AC, NI circuit 16B, and agent 10B may be implemented completely within IC 20B.
[0028] More specifically, network segment 12AA may include a switch fabric (e.g., formed by network switch circuits 14AA to 14AN) implemented entirely within integrated circuit 20A. The switch fabric may be configured to route packets between a subset of multiple agents within the first integrated circuit. For packets with destination agents on different segments, S2S NI circuit 22A may be the target destination on the switch fabric. That is, from the perspective of agents on network segment 12AA (and in particular, for example, a source agent that initiates packet transmission on the network and, for example, a NI circuit such as NI circuit 16A coupled to the source agent), the packet may have reached its target destination even though the packet may have traversed one or more additional network segments to reach the destination agent addressed by the packet. In one embodiment, NI circuits such as NI circuit 16A and / or network switch circuits 14AA to 14AN that form the switch network may be programmed with a table to map destination agents outside of network segment 12AA (e.g., on another IC such as IC 20B) to S2S NI circuit 22A. The table may be programmed to keep the target agents within network segment 12AA unchanged (e.g., uniform mapping). In a single IC including multiple network segments (e.g. Figure 2 In an embodiment where IC 20A in FIG. 2 has network segments 12AA and 12AD entirely within IC 20A), another S2S NI circuit 22C may be used to bridge to network segment 12AD, and a target destination agent on network segment 12AD may be mapped to S2S NI circuit 22C.
[0029] Viewed from another perspective, when S2S NI circuit 22A has received a given packet with a destination agent on a different network segment, the source agent (and its associated NI circuit) has completed participating in the transmission of the given packet. For example, S2S NI circuit 22A and multiple NI circuits associated with a subset of multiple agents on network segment 12AA may be configured to control the transmission of packets in network segment 12AA based on multiple credits, wherein the NI circuit associated with the source agent is configured to transmit the given packet based on the credits available at S2S NI circuit 22A for the given packet, and wherein credits are released to the given NI circuit / source agent based on S2S NI circuit 22A forwarding the given packet on another network segment, such as network segment 12AB.
[0030] The receiving S2S NI circuit may therefore be responsible for completing the transmission of a given packet based on receiving the given packet from the source network segment. The receiving S2S NI circuit may be a source agent for a given packet on another network segment. For example, S2S NI circuit 22A may be a source agent on network segment 12AB, and S2S NI circuit 22B may be a destination target for a given packet on network segment 12AB. From the perspective of S2S NI circuit 22A, packet transmission may be completed based on the reception of the given packet by S2S NI circuit 22B. For example, S2S NI circuit 22A may be configured to transmit a first packet on the second network segment 12AB based on a second plurality of credits associated with the second network segment. S2S NI circuit 22B may be responsible for transmitting the given packet based on the reception of the given packet by S2S NI circuit 22B, and may release credits consumed by S2S NI circuit 22A for transmitting the packet based on the reception of the given packet by S2S NI circuit 22B.
[0031] For implementations where multiple network segments are entirely within a given IC (e.g. Figure 2 In the example of FIG. 10A and FIG. 10B , S2S NI circuit 22C may be a target destination on first network segment 12AA for a destination agent on network segment 12AD and may be a source agent on network segment 12AD. In this case, the destination agent may be on network segment 12AD and thus a given packet may traverse two network segments instead of three (or more) network segments when the packet travels to another IC. Alternatively, network segment 12AD may also have another S2S NI circuit ( Figure 2 not shown) to bridge to another IC ( Figure 2 The network segment on the NAS is not shown.
[0032] S2S NI circuit 22B may be coupled to a third network segment 12AC of the plurality of network segments. Network segment 12AC may be implemented entirely within IC 20B, so a destination agent for a given packet may be coupled to network segment 12AC (e.g., via Figure 2 Alternatively, the NI circuit 16B in the agent 10B may be connected to another S2S NI circuit ( Figure 2 not shown) to the attached IC ( Figure 2 That is, the ICs can be effectively connected in a daisy-chain manner as desired.
[0033] The specific implementation of various network segments within a given network may vary. For example, network segment 12AA may be a switched fabric network, but network segment 12AB may be a point-to-point interconnect on an add-in board or in a multi-chip module package. Network segments entirely within different ICs may also have different specific implementations.
[0034] In one embodiment, network segment 12AB can be implemented using a die-to-die (D2D) interface implemented on each IC so that connections between dies can be implemented using only wiring external to the IC. For example, an embodiment may include an interface that is physically implemented along one edge of a die, and a relatively simple connection of a straight line between two dies can be used to make inter-die connections. S2SNI circuits 22A to 22B can be coupled to the D2D interface circuit. Therefore, in a specific implementation that supports only a single IC in a system in addition to a system with multiple ICs, S2S NI circuits 22A to 22B can provide such a boundary at which a complete power-off of a circuit (e.g., a D2D interface circuit) can be employed for a single IC system. In addition, S2SNI circuits 22A to 22B can act as a boundary for clock and power domain crossings, which can simplify power management that relies on clock gating or power gating between clock and power domains.
[0035] An alternative to daisy-chaining more than two ICs (as described above) could be to include a network IC in the system, e.g. Figure 3 The embodiment shown. Figure 3 , a network IC 24 is shown coupled to various ICs 20A to 20D, each of which may have multiple agents on a network segment and S2S NI circuits 22A to 22B and 22D to 22E (and optionally additional network segments and S2S NI circuits, such as Figure 2 1 circuit 22C and network segment 12AD shown in FIG. Figure 3As shown, the network IC 24 may also have S2S NI circuits 22F to 22I to couple to the S2S NI circuits 22A to 22B and 22D to 22E. Using the network IC 24 may provide more balanced latency from a given source agent on one IC 20A to 20D to a given destination agent in another IC 20A to 20D compared to daisy chaining because the same number of network segments may be traversed from any source agent to any destination agent in the system.
[0036] exist Figure 3 In an embodiment of the present invention, the network IC 24 includes a plurality of S2S NI circuits 22F to 22I and a third network segment entirely within the network IC 24. The S2S NI circuit that receives a packet from the S2S NI circuit on one of the ICs 20A to 20D may be a source agent for packets on the third network segment within the network IC 24. For example, for the above-mentioned given packet received from the S2S NI circuit 22A on the IC 20A, the S2S NI circuit 22F may receive the given packet and serve as a source packet in the network IC 24. The S2S NI circuit 22F may be configured to transmit the given packet to a third S2S NI circuit 22G to 22I on the network circuit 24 (e.g., based on a third plurality of credits associated with the third network segment). The third S2S NI circuit 22G to 22I may be coupled to a fourth network segment of the plurality of network segments, for example, respectively coupled to the ICs 20B to 20D. A fourth S2S NI circuit 22B or 22D to 22F on a corresponding one of the ICs 20B to 20D may be coupled to a fourth network segment. The third S2S NI circuit 22G to 22I may be configured to transmit a given packet on the fourth network segment (e.g., based on a fourth plurality of credits associated with the fourth network segment). The fourth S2S NI circuit 22B or 22D to 22F may be coupled to a fifth network segment of the plurality of network segments that is fully implemented with the receiving IC 22B to 22D, and the fourth S2S NI circuit 22B or 22D to 22F may be configured to transmit the given packet on the fifth network segment (e.g., based on a fifth plurality of credits associated with the fifth network segment). A destination agent for the given packet may be coupled to the fifth network segment.
[0037] Although Figure 3 The embodiment of FIG. 2 shows four ICs 20A to 20D coupled to the network IC 24, but other embodiments may have more or fewer ICs coupled to the network chip, up to the total number of S2S NI circuits implemented on the network IC 24. In other embodiments, multiple network ICs in a hierarchical arrangement or daisy chain arrangement may be used to couple more ICs 20A to 20D. The network ICs 24 in the system may include additional functionality, such as cache and / or processing circuitry, as desired.
[0038] In one embodiment, the S2S NI circuit can also ensure that certain network deadlock situations are impossible in the entire network. For example, a network with a ring topology may experience deadlock situations, which are usually solved using a dateline or packet coloring virtual network that effectively turns the ring into a spiral. Figures 2 to 3 The ring network shown across multiple ICs divides the ring into segments, thus providing a solution to possible deadlock.
[0039] It should be noted that the segmentation of the network in the system can be applied to packet networks or other types of interfaces. For example, in one embodiment, the agent may include a graphics processing unit (GPU). For example, the GPU can operate in parallel to render a given pixel frame, but may be physically located on different ICs. The shared workload distribution bus can be used by the control workload distribution circuit to transmit the workload specification to the GPU, thereby instructing the GPU to operate on which parts of the data describing the frame. The workload distribution bus may previously be a dedicated interface used only for workload data transmission. There is no need to implement a separate bus across the network segment, but the bus can be converted to a packet transmission on an existing network in an existing network. The packet can be a write packet, for example, a packet written to a specific address associated with the workload distribution bus transmission. The specific address can be fixed or programmable. The write data can be data to be transmitted on a dedicated workload distribution bus. The workload distribution bus can be assigned its own virtual channel, for example, on the network to which the workload distribution bus is assigned.
[0040] Additional details about the workload distribution bus implemented as a separate interface can be found in co-pending patent application serial number 17 / 158943 filed on January 26, 2021. The entire contents of the co-pending application are incorporated herein by reference. If the material in the co-pending application conflicts with the material explicitly set forth herein, the explicitly set forth material controls.
[0041] In one embodiment, packets transmitted on a given network may include command packets only (e.g., read requests, coherence messages, acknowledgements, etc.) and command packets with accompanying data packets (e.g., write requests, read responses, writebacks, etc.). For command packets with accompanying data packets, the requesting network interface / agent may wait until both the command and data are ready for transmission on the network, and then the command and data packets may be transmitted in parallel. The packets may travel through the network independently of each other, but both packets may be guaranteed to arrive at the destination without deadlock.
[0042] Figure 4is a block diagram of one embodiment of an S2S NI circuit 22A used in a credit-based packet control scheme. Other S2S NI circuits used in such schemes may be similar. In the illustrated embodiment, the S2S NI circuit 22A includes a credit storage device (e.g., one or more registers) 40 for storing credits of the network segment 12AA and a credit memory 42 for storing credits of the network segment 12AB. The S2S NI circuit 22A includes a buffer circuit (referred to as a "buffer") 46 for receiving packets from the network segment 12AA and an arbitration circuit 44 for arbitrating transmissions on the network segment 12AB. Similarly, the S2S NI circuit 22A may include a buffer 48 for receiving packets from the network segment 12AB and an arbitration circuit 50 for arbitrating transmissions on the network segment 12AA. The S2S NI circuit may include a credit management control circuit 52 coupled to the arbitration circuits 46 and 50 and the credit memories 44 and 48.
[0043] Buffer 44 is coupled to network segment 12AA and is configured to receive packets to be transmitted on network segment 12AB from network segment 12AA. For each NI circuit / agent on network segment 12AA and for each virtual channel supported by the NI circuit / agent, there may be at least one buffer entry (e.g., storage for at least one packet). The buffer entries for a given NI circuit / agent may be distributed between virtual channels, and for those virtual channels having them, between subchannels of the virtual channels. The number of buffers provided for each NI circuit / agent and the distribution of buffers between virtual channels may be determined at system initialization, and credits may be provided to the corresponding NI circuit / agent to represent available buffers. When providing a packet, a given NI circuit / agent consumes credits for a target destination (S2S NI 22A or any of the other NI circuits / agents on network segment 12AA) and for virtual channels and subchannels (if applicable) at the target destination. In order to provide another packet, a given NI circuit / agent requires credits for the target destination and virtual channels / subchannels of the packet. If credits are not available, a given NI circuit / agent may hold the packet until the credits are released. Thus, it is guaranteed that there is a buffer available at the target destination for the packets to be transmitted onto the network segment 12AA.Accordingly, the reception of the packets by the buffer 44 can be performed without delay or potential back pressure on the network segment 12AA.
[0044] Arbitration circuit 46 may be coupled to buffer 44 and credit storage 42. Arbitration circuit 46 may be configured to ensure that each possible packet in buffer 44 has available credit in credit storage 42, and may arbitrate between packets that are ready to be sent (e.g., for communications that include both commands and data, both command and data packets have arrived) and those packets that have available credit at their target destination on network segment 12AB. Any arbitration scheme may be used (e.g., round-robin, weighted round-robin, priority-based, a combination of the above, or any other scheme). If a packet is selected, arbitration circuit 46 may be configured to read the packet and transmit the packet on network segment 12AB, and may notify credit management control circuit 52. Credit management control circuit 52 may consume corresponding credits from credit storage 42 (e.g., deduct credits from a virtual channel / subchannel of the target destination). In addition, credit management control circuit 52 may transmit released credits corresponding to packets on network segment 12AA to source agent / NI circuit via arbitration circuit 42. The released credits may be carried in other packets on the network segment 12AA, for example, in the header of the packet. The released credits may be transmitted in a dedicated packet. In some embodiments, the released credits may also be supported to be transmitted in other packets and dedicated packets.
[0045] Credit management control circuitry 52 may also monitor network segment 12AB to detect a request by a target destination on network segment 12AB (e.g., Figure 2 In some embodiments, the credit management control circuit 42 may be configured to release the credits of the network segment 12A and 12B. The released credits may be carried in other packets on the network segment 12A, for example, in the header of the packet. The released credits may be transmitted in a dedicated packet. In some embodiments, the transmission of the released credits in other packets and dedicated packets may also be supported. Based on the reception of the released credits, the credit management control circuit 42 may be configured to increment the corresponding credits in the credit storage device 42.
[0046] In a similar manner, packets may be received from network segment 12AB into buffer 48, and arbitration circuitry 50 may arbitrate between ready packets based on credits on credit storage 40 (which may be stored per NI circuit / agent on the network segment and per virtual channel / subchannel at the NI circuit / agent) using any desired arbitration scheme. Arbitration circuitry 50 may read a selected packet from buffer 48 and transmit the packet on network segment 12AA. Arbitration circuitry 50 may notify credit management circuitry 52, which may reduce corresponding credits in credit storage 40. Credit management circuitry 52 may be configured to monitor released credits in network segment 12AA to increase corresponding credits in credit storage 40.
[0047] In one embodiment, a NI circuit such as NI circuit 16A may be similar to Figure 4 4. A portion of the S2S NI circuit 22A shown. For example, a specific implementation of the NI circuit may include a buffer 44, an arbitration circuit 46, a credit storage device 42, and a credit management control circuit 52 (and the credit storage device 42 may have credits for each NI / agent and S2S NI circuit on the network segment). Buffer 44 may receive packets from an agent for transmission on the network segment. The NI circuit may also have a buffer for receiving packets, but arbitration may not be required to deliver them to the agent.
[0048] Figure 5 is a block diagram of one embodiment of a system on a chip (SOC) 120 having multiple networks for one embodiment. Figure 5 In the embodiment of the present invention, SOC 120 includes a plurality of processor clusters (P clusters) 122A to 122B, a plurality of input / output (I / O) clusters 124A to 124D, a plurality of memory controllers 126A to 126D, and a plurality of graphics processing units (GPUs) 128A to 128D. As the name (SOC) implies, Figure 5 The components shown in (except for memory 130A to 130D in this embodiment) can be integrated onto a single semiconductor die or "chip." However, other embodiments may employ two or more dies coupled or packaged in any desired manner. Additionally, although in Figure 5 A specific number of P clusters 122A to 122B, I / O clusters 124A to 124D, memory controllers 126A to 126D, and GPUs 128A to 128D are shown in the example of FIG. 1 , but the number and arrangement of any of the above components may vary and may be greater or less than Figure 5 The memories 130A to 130D are coupled to the SOC 120, and more specifically, to the memory controllers 126A to 126D, respectively, as shown in FIG. Figure 5 shown.
[0049] In the illustrated embodiment, SOC 120 includes Figure 5 The three physically and logically independent networks formed by the multiple network switches 132, 134 and 136 shown in the figure and the interconnections between them are shown as arrows between the network switches and other components. Other embodiments may include more or fewer networks. For example, the network switches 132, 134 and 136 may be similar to those described above with respect to Figure 1 The network switches 14AA to 14BN described above are examples of network switches. Thus, the network switches 132, 134, and 136 may each form a switching network that is implemented entirely within the SOC 120. Figure 5 As shown, multiple network switches 132, 134, and 136 are coupled to multiple P clusters 122A to 122B, multiple GPUs 128A to 128D, multiple memory controllers 26A to 25B, and multiple I / O clusters 124A to 124D. P clusters 122A to 122B, GPUs 128A to 128B, memory controllers 126A to 126B, and I / O clusters 124A to 124D may all be examples of proxy circuits that communicate on various networks of SOC 120. Other proxy circuits may be included as needed.
[0050] exist Figure 5 , a central processing unit (CPU) network is formed by a first subset of a plurality of network switches (e.g., network switch 132) and interconnections therebetween, shown as short dashed / long dashed lines, such as reference numeral 138. The CPU network couples P clusters 122A-122B and memory controllers 126A-126D. An I / O network is formed by a second subset of a plurality of network switches (e.g., network switch 134) and interconnections therebetween, shown as solid lines, such as reference numeral 140. The I / O network couples P clusters 122A-122B, I / O clusters 124A-124D, and memory controllers 126A-126B. A relaxed order network is formed by a third subset of a plurality of network switches (e.g., network switch 136) and interconnections therebetween, shown as short dashed lines, such as reference numeral 142. The relaxed order network couples GPUs 128A-128D and memory controllers 126A-126D. In an embodiment, the relaxed order network may also couple the selected clusters in the I / O clusters 124A to 124D. As described above, the CPU network, the I / O network, and the relaxed order network are independent of each other (e.g., logically and physically independent). In an embodiment, the protocols on the CPU network and the I / O network support cache consistency (e.g., the network is consistent). The relaxed order network may not support cache consistency (e.g., the network is non-consistent). Compared with the CPU network and the I / O network, the relaxed order network also has a reduced sorting constraint. For example, in an embodiment, a group of virtual channels and subchannels within the virtual channels are defined for each network. For the CPU and I / O networks, the communication between the same source and destination agents and the same virtual channel and subchannel can be sorted. For the relaxed order network, the communication between the same source and destination agents can be sorted. In an embodiment, only the communication between the same source and destination agents to the same address (with a given granularity, such as cache blocks) can be sorted. Because the ordering performed on a relaxed order network is less strict, higher bandwidth on average can be achieved because transactions can be permitted to complete out of order if, for example, a younger transaction is ready to complete before an older transaction.
[0051] In various embodiments, the interconnects between network switches 132, 134, and 136 may have any form and configuration. For example, in one embodiment, the interconnects may be point-to-point unidirectional links (e.g., buses or serial links). Packets may be transmitted on the link, where the packet format may include data indicating the virtual channels and subchannels in which the packet is traveling, memory addresses, source and destination agent identifiers, data (if appropriate), etc. Multiple packets may form a given transaction. A transaction may be a complete communication between a source agent and a target agent. For example, a read transaction may include a read request packet from a source agent to a target agent, one or more consistent message packets between a cache agent and a target agent and / or a source agent in a transaction-consistent situation, a data response packet from a target agent to a source agent, and possible completion packets from a source agent to a target agent, depending on the protocol. A write transaction may include a write request packet from a source agent to a target agent, one or more consistent message packets in a transaction-consistent situation as a read transaction, and possible completion packets from a target agent to a source agent. In an embodiment, write data may be included in a write request packet, or may be transmitted from a source agent to a target agent in a separate write data packet.
[0052] In an implementation scheme, Figure 5 The arrangement of the agents in may indicate the physical arrangement of the agents on the semiconductor die forming the SOC 120. That is, Figure 5 can be considered as the surface area of the semiconductor die, and Figure 5 The locations of the various components in the SOC 120 may approximate their physical locations within the region. Thus, for example, the I / O clusters 124A to 124D may be arranged in the semiconductor die region represented by the top of the SOC 120 (eg, Figure 5 The P clusters 122A-122B may be arranged in an area represented by the portion of the SOC 120 located between and below the arrangement of the I / O clusters 124A-124D, as shown in FIG. Figure 5 GPUs 128A to 128D may be centrally located and extend toward the area represented by the bottom of SOC 120, as shown in FIG. Figure 5 The memory controllers 126A to 126D may be arranged on the areas indicated by the right and left sides of the SOC 120, as shown in FIG. Figure 5 oriented in the middle.
[0053] In an embodiment, SOC 120 may be designed to be directly coupled to one or more other instances of SOC 120, coupling a given network on the instance as a logical network over which an agent on one die may logically communicate with an agent on a different die over the network in the same manner as the agent communicates within another agent on the same die. As described above, each network implemented entirely within a given instance of SOC 120 may be a network segment of an overall network implemented across SOC 120 die instances. Although the latency of packets traveling between die may vary, communication may occur in the same manner. Thus, as Figure 5 As shown in FIG, the network extends to the bottom of SOC 120, such as Figure 5 The networks may each have an S2S NI circuit 144, which may be similar to the S2S NI circuits 22A to 22J described herein. Thus, from the perspective of a source agent in SOC 120, a packet originating within SOC 120 with a destination agent external to SOC 120 may terminate at S2S NI circuit 144.
[0054] in addition, Figure 5 A die-to-die (D2D) interface circuit 146 is shown coupled to the S2S NI circuit 144. The D2D interface circuit 146 may include any type of interface circuit (e.g., a serializer / deserializer (SERDES) circuit, a single-ended driver / receiver circuit, a bidirectional driver / receiver circuit, etc.) and may be used to communicate across a die boundary with another die (e.g., such as a Figure 3 120 or another example of a network IC 34). Thus, the network can be extended to two or more semiconductor dies. For example, two or more semiconductor dies can be configured as a single system, wherein the presence of multiple semiconductor dies is transparent to the software executed on the single system. In an embodiment, the delay in die-to-die communication can be minimized so that die-to-die communication generally does not incur significant additional latency compared to intra-die communication as an aspect of software transparency to a multi-die system. In other embodiments, the network can be a closed network that communicates only within a die.
[0055] As mentioned above, different networks can have different topologies. Figure 5In one embodiment, for example, the CPU and I / O networks implement a ring topology, and the relaxation order may implement a mesh topology. However, in other embodiments, other topologies may be used. The network switches 132 and 134 each form a ring when coupled to a corresponding switch on another die through the S2SNI circuit 144 and D2D interface circuit 146 of the die. If only a single die is used, a connection may be established between the two network switches 132 or 134 at the bottom of the SOC 120, such as Figure 5 Alternatively, the bottom two network switches 132 or 134 may have a link between them that can be used in a single die configuration, or the network may operate using a daisy chain topology.
[0056] Similarly, the connection of network switch 136 in a mesh topology between GPUs 128A to 128D and memory controllers 126A to 126D is shown. As previously described, in an embodiment, one or more of I / O clusters 124A to 124D may also be coupled to a relaxed order network. For example, an I / O cluster 124A to 124D including video peripherals (e.g., display controllers, memory expanders / rotators, video encoders / decoders, etc.) may access a relaxed order network for video data.
[0057] Processor clusters 122A-122B may each include one or more processors, and may optionally include other circuits, such as an interrupt controller and / or one or more levels of external cache. For example, in one embodiment, processor clusters 122A-122B may include a last level cache (LLC). LLC may include interface circuitry to interface to network switches 132 and 134 to transmit transactions on the CPU network and I / O network as needed.
[0058] The processor may include any circuitry and / or microcode configured to execute instructions defined in an instruction set architecture implemented by the processor. The processor may have any microarchitecture implementation, performance and power characteristics, etc. For example, the processor may execute in-order, out-of-order, superscalar, superpipelined, etc.
[0059] The LLC and any cache within the processor may have any capacity and configuration, such as set associative, direct mapped, or fully associative. The cache block size may be any desired size (e.g., 32 bytes, 64 bytes, 128 bytes, etc.). A cache block may be a unit of allocation and deallocation in LLC 70. Additionally, in this embodiment, a cache block may be a unit of maintaining consistency. In some cases, a cache block may also be referred to as a cache line. In an embodiment, a distributed directory-based consistency scheme may be implemented with a consistency point at each memory controller 126 in the system, where the consistency point is applied to the memory address mapped to the memory controller. The directory may track the state of the cache blocks cached in any consistent agent. The consistency scheme may be extendable to many memory controllers on possible multiple semiconductor dies.
[0060] I / O clusters 124A- 124D may generally include one or more peripheral devices and / or peripheral interface controllers, and may include bridges from the peripheral devices / peripheral controllers to a switch fabric in SOC 120 .
[0061] Peripherals may include any additional hardware function sets included in SOC 120 (e.g., in addition to CPU, GPU, and memory controller). For example, peripherals may include video peripherals, such as image signal processors, video encoders / decoders, scalers, rotators, mixers, display controllers, etc., configured to process image capture data from cameras or other image sensors. Peripherals may include audio peripherals, such as microphones, speakers, interfaces to microphones and speakers, audio processors, digital signal processors, mixers, etc. Peripherals may include networking peripherals, such as media access controllers (MACs). Peripherals may include other types of memory controllers, such as non-volatile memory controllers. Some peripherals may include on-chip components and off-chip components. Peripheral interface controllers may include interface controllers for various interfaces outside the SOC, including interfaces such as universal serial bus (USB), peripheral component interconnect (PCI) including PCI Express (PCIe), serial and parallel ports, etc.
[0062] The bridge may be configured to convert the communication from the local interconnect to the peripheral / peripheral interface unit to the communication on the system-wide interconnect, and vice versa. In an embodiment, the bridge may be coupled to one of the network switches 134. The bridge may also manage the ordering between transactions issued from the peripheral and the peripheral interface circuit. For example, the bridge may use the cache coherence protocol supported on the network to ensure the ordering of transactions representing the peripheral / peripheral interface circuit. Different peripherals may have different ordering requirements, and the bridge may be configured to adapt to different requirements. In some embodiments, the bridge may also implement various performance enhancement features. For example, the bridge may prefetch data for a given request. The bridge may capture a coherent copy (e.g., in an exclusive state) of a cache block targeted by one or more transactions from a peripheral to allow the transaction to be completed locally and enforce ordering. The bridge may speculatively capture an exclusive copy of one or more cache blocks targeted by subsequent transactions, and may use the cache block to complete subsequent transactions in the case of successfully maintaining an exclusive state until subsequent transactions can be completed (e.g., after satisfying any ordering constraints of previous transactions). Thus, in an embodiment, multiple requests within a cache block may be serviced from the cached copy.
[0063] The memory controllers 126A to 126D may generally include circuits for receiving memory operations from other components of the SOC 120 and for accessing the memories 130A to 130D to complete the memory operations. The memory controllers 126A to 126D may be configured to access any type of memory 130A to 130D. For example, the memory 130A to 130D may be a static random access memory (SRAM), a dynamic RAM (DRAM) such as a synchronous DRAM (SDRAM) including a double data rate (DDR, DDR2, DDR3, DDR4, etc.) DRAM. Low power / mobile versions of DDR DRAM (e.g., LPDDR, such as LP3, LP4, LP5, etc., mDDR, etc.) may be supported. The memory controllers 126A to 126D may include queues for memory operations for ordering (and potentially reordering) the operations and presenting these operations to the memories 130A to 130D. The memory controllers 126A to 126D may also include a data buffer for storing write data waiting to be written to the memory and read data waiting to be returned to the source of the memory operation. In some embodiments, the memory controllers 126A to 126D may include a memory cache (MCache) for storing recently accessed memory data. For example, in a SOC specific implementation, the MCache can reduce power consumption in the SOC by avoiding re-accessing data from the memory 16 when it is expected to be accessed again soon. In some cases, the MCache may also be referred to as a system cache, which is opposite to a private cache (such as a cache in an LLC or a processor) that only serves certain components. In addition, in some embodiments, the system cache does not need to be located in the memory controllers 126A to 126D.
[0064] GPUs 128A-128D may be specialized processors optimized for graphics operations, such as rendering, texturing, shading, etc. GPUs 128A-128D may be implemented on an instruction set developed with graphics manipulation in mind, and thus the definition of the instruction set may differ significantly from a general-purpose instruction set. A GPU may have any microarchitecture that can be modified for high-performance execution of a GPU instruction set. For example, a GPU may be an array of widely distributed texture processing circuits, pixel processing circuits, shader circuits, and any other such circuits.
[0065] Figure 61 is a block diagram of a two-die system, wherein each network extends across two SOC dies 120A to 120B, forming logically identical networks, even though they extend across two dies. S2SNI circuit 144 is shown coupled to an I / O network (solid line 140), a CPU network (short dashed and long dashed lines 138), and a relaxed order network (short dashed line 142). S2S NI circuit 144 and a network switch within the same SOC 120A to 120B may thus form a network segment. Another network segment may be formed by S2S NI circuit 144 of a given network (CPU, I / O, or relaxed order) on both SOCs 120A to 120B together with D2D interface circuit 146. Thus, for example, an agent on the CPU network in SOC 120A may initiate a packet with a destination agent on SOC 120B. The packet may be routed to one of the S2S NI circuits 144 coupled to the CPU network (line 138), which may terminate the packet on a network segment within SOC 120A. The S2S NI circuit 144 may provide the packet on an inter-die network segment formed by the S2S NI circuit 144 and the D2D interface circuit 146, which may have a target destination in the opposite S2S NI circuit 144 on the CPU network (line 138) in SOC 120B. The receiving S2S NI circuit 144 may terminate the packet on the inter-die network segment and may provide the packet on a network segment within SOC 120B over which the destination agent communicates. Thus, in Figure 6 In the embodiment of , three network segments can be traversed from the source agent to the destination agent. Figure 6 In an implementation scheme of , three network segments may form an I / O network, and three network segments may form a relaxed order network.
[0066] Next turn Figure 7 , a flow chart illustrating one embodiment of a method for transmitting packets over a segmented network, such as the network described herein, is shown. However, for ease of understanding, the blocks are shown in a particular order, and other orders may be used. The blocks may be executed in parallel in combinatorial logic circuits in the system. The blocks, combinations of blocks, and / or the flow chart as a whole may be pipelined over multiple clock cycles. Various circuits may be configured to implement the operations described herein.
[0067] A first proxy circuit in a first integrated circuit of a plurality of integrated circuits in a system may transmit a packet having a destination proxy circuit in a second integrated circuit of the plurality of integrated circuits (block 150). The first proxy circuit is configured to transmit the packet on a switch fabric circuit implemented entirely within the first integrated circuit. The switch fabric circuit may be configured to route the packet between a subset of the plurality of proxy circuits within the first integrated circuit. The switch fabric circuit corresponds to a first segment of a network comprising a plurality of segments. An S2S network interface circuit within the first integrated circuit may receive the packet (block 152). The S2S network interface circuit may be configured to interface the first segment with one or more additional segments within the network. From the perspective of the source proxy circuit, the S2S network interface circuit may be a target destination for the packet. The S2S network interface circuit may transmit the packet on a second segment of the plurality of segments (block 154).
[0068] In one embodiment, a second S2S network interface circuit on a second integrated circuit of the plurality of integrated circuits may receive the packet from the S2S network interface circuit (block 156). The second S2S network interface circuit may transmit the packet on a third segment of the plurality of segments that is implemented entirely within the second integrated circuit. A destination proxy circuit for the packet may be on the second integrated circuit and coupled to the third network segment (block 158).
[0069] Computer Systems
[0070] Next turn Figure 8 , a block diagram of one embodiment of a system 700 is shown. In the illustrated embodiment, the system 700 includes at least one instance of a system on a chip (SOC) 120 coupled to one or more peripheral devices 704 and an external memory 702. A power supply (PMU) 708 is provided that supplies a supply voltage to the SOC 120 and one or more supply voltages to the memory 702 and / or the peripheral devices 154. In some embodiments, more than one instance of the SOC 120 may be included (and more than one memory 702 may also be included). In an embodiment, the memory 702 may include Figure 5 Memories 130A to 130D are shown in FIG.
[0071] Depending on the type of system 700, peripheral device 704 may include any desired circuit. For example, in one embodiment, system 704 may be a mobile device (e.g., personal digital assistant (PDA), smart phone, etc.), and peripheral device 704 may include equipment for various types of wireless communications, such as Wi-Fi, Bluetooth, cellular, global positioning system, etc. Peripheral device 704 may also include additional storage devices, which include RAM storage devices, solid-state storage devices, or disk storage devices. Peripheral device 704 may include user interface devices, such as display screens, which include touch display screens or multi-touch display screens, keyboards or other input devices, microphones, speakers, etc. In other embodiments, system 700 may be any type of computing system (e.g., desktop personal computers, laptops, workstations, network set-top boxes, etc.).
[0072] The external memory 702 may include any type of memory. For example, the external memory 702 may be an SRAM, a dynamic RAM (DRAM) such as a synchronous DRAM (SDRAM), a double data rate (DDR, DDR2, DDR3, etc.) SDRAM, a RAMBUS DRAM, a low power version of a DDR DRAM (e.g., LPDDR, mDDR, etc.), etc. The external memory 702 may include one or more memory modules to which a memory device may be mounted, such as a single inline memory module (SIMM), a dual inline memory module (DIMM), etc. Alternatively, the external memory 702 may include one or more memory devices mounted on the SOC 120 in a chip-on-chip or package-on-package implementation.
[0073] As shown, system 700 is shown as having applications in a wide range of fields. For example, system 700 can be used as a part of a chip, circuit, component, etc. of a desktop computer 710, a laptop computer 7120, a tablet computer 730, a cellular or mobile phone 740, or a TV 750 (or a set-top box coupled to a TV). A smart watch and a health monitoring device 760 are also shown. In some embodiments, a smart watch may include various general computing related functions. For example, a smart watch may provide access to email, mobile phone services, user calendars, etc. In various embodiments, a health monitoring device may be a dedicated medical device or otherwise include dedicated health-related functions. For example, a health monitoring device may monitor a user's vital signs, track the proximity of a user to other users for the purpose of epidemiological social distance, contact tracking, provide communications to emergency services in the event of a health crisis, etc. In various embodiments, the above-mentioned smart watch may include or may not include some or any health monitoring related functions. Other wearable devices are also envisioned, such as devices worn around the neck, devices that can be implanted in the human body, glasses designed to provide enhanced and / or virtual reality experiences, and the like.
[0074] The system 700 may also be used as part of a cloud-based service 770. For example, the previously mentioned devices and / or other devices may access computing resources in the cloud (i.e., remotely located hardware and / or software resources). Still further, the system 700 may be used in one or more devices in a home other than those previously mentioned. For example, a home appliance may monitor and detect noteworthy situations. For example, various devices in a home (e.g., a refrigerator, a cooling system, etc.) may monitor the status of the device and provide an alert to the homeowner (or, for example, a maintenance agency) if a particular event is detected. Alternatively, a thermostat may monitor the temperature in a home and may automatically adjust the heating / cooling system based on a history of responses by the homeowner to various situations. Figure 8 The system 700 is also illustrated in the application to various modes of transportation. For example, the system 700 can be used for control and / or entertainment systems of airplanes, trains, buses, taxis, private cars, watercraft ranging from private boats to cruise ships, scooters (for rental or private use), etc. In various cases, the system 700 can be used to provide automated guidance (e.g., self-driving vehicles), general system control, etc. Any of these and many other embodiments are possible and contemplated. Note that Figure 8 The devices and applications shown are exemplary only and are not intended to be limiting. Other devices are possible and contemplated.
[0075] Computer readable storage medium
[0076] Now turn to Fig. 9, a block diagram of an embodiment of a computer-readable storage medium 800 is shown. Generally speaking, a computer-accessible storage medium may include any storage medium that can be accessed by a computer during use to provide instructions and / or data to a computer. For example, a computer-accessible storage medium may include a storage medium such as a magnetic or optical medium, for example, a disk (fixed or removable), a tape, a CD-ROM, a DVD-ROM, a CD-R, a CD-RW, a DVD-R, a DVD-RW or a blue-ray. The storage medium may also include a volatile or non-volatile memory medium, such as a RAM (for example, a synchronous dynamic RAM (SDRAM), a Rambus DRAM (RDRAM), a static RAM (SRAM) etc.), a ROM or a flash memory. The storage medium may be physically included in a computer to which the storage medium provides instructions / data. Alternatively, the storage medium may be connected to a computer. For example, the storage medium may be connected to a computer via a network or a wireless link such as a network attached storage device. The storage medium may be connected via a peripheral interface such as a universal serial bus (USB). Typically, the computer-accessible storage medium 800 can store data in a non-transitory manner, where non-transitory in this context can refer to not transmitting instructions / data via signals. For example, a non-transitory storage device can be volatile (and may lose the stored instructions / data in response to a power outage) or non-volatile.
[0077] Fig. 9 The computer-accessible storage medium 800 in the computer-accessible storage medium 800 may store a database 804 representing the SOC 120. In general, the database 804 may be a database that can be read by a program and used directly or indirectly to manufacture the hardware including the SOC 120. For example, the database may be a behavioral level description of the hardware functions in a high-level design language (HDL) such as Verilog or VHDL or a register transfer level (RTL) description. The description may be read by a synthesis tool, which may synthesize the description to generate a netlist including a list of gate circuits from a synthesis library. The netlist includes a set of gate circuits that also represent the functions of the hardware including the SOC 120. The netlist may then be placed and routed to generate a data set for describing the geometry to be applied to the mask. The mask may then be used in various semiconductor manufacturing steps to generate one or more semiconductor circuits corresponding to the SOC 120. Alternatively, the database 804 on the computer-accessible storage medium 800 may be a netlist (with or without a synthesis library) or a data set, as desired.
[0078] Although computer-accessible storage medium 800 stores a representation of SOC 120, other embodiments may carry a representation of any portion of SOC 120 as desired, including Figure 5 Database 804 may represent any subset of the components shown in .
[0079] ***
[0080] This disclosure includes references to "an embodiment" or groups of "embodiments" (e.g., "some embodiments" or "various embodiments"). Embodiments are different specific implementations or examples of the disclosed concepts. References to "an embodiment," "one embodiment," "a particular embodiment," etc. do not necessarily refer to the same embodiment. A large number of possible embodiments are contemplated, including those specifically disclosed, as well as modifications or substitutions that fall within the spirit or scope of this disclosure.
[0081] The present disclosure may discuss potential advantages that may be generated by the disclosed embodiments. Not all of these implementations will necessarily exhibit any or all of the potential advantages. Whether a particular implementation achieves an advantage depends on many factors, some of which are outside the scope of the present disclosure. In fact, there are many reasons why a particular implementation that falls within the scope of the claims may not exhibit some or all of any of the disclosed advantages. For example, a particular implementation may include other circuits outside the scope of the present disclosure, which, in combination with one of the disclosed embodiments, negate or weaken one or more of the disclosed advantages. In addition, suboptimal design execution of a particular implementation (e.g., a specific implementation technique or tool) may also negate or weaken the disclosed advantages. Even if a specific implementation of the technology is assumed, the realization of the advantages may still depend on other factors, such as the environmental conditions in which the specific implementation is deployed. For example, the input provided to a particular implementation may prevent one or more problems solved in the present disclosure from occurring in a particular occasion, and as a result, the benefits of its solution may not be realized. In view of the existence of possible factors external to the present disclosure, any potential advantages described herein should not be understood as claim limitations that must be met in order to prove infringement. Instead, the identification of such potential advantages is intended to show one or more types of improvements available to designers who benefit from the present disclosure. Permanently describing such advantages (eg, stating that a particular advantage "may occur") is not intended to convey a doubt as to whether such advantage can actually be achieved, but rather to recognize that achievement of such advantage typically depends on technical realities of additional factors.
[0082] Unless otherwise indicated, the embodiments are non-limiting. That is, the disclosed embodiments are not intended to limit the scope of the claims drafted based on the present disclosure, even if only a single example is described for a particular feature. The embodiments disclosed by the present invention are intended to be illustrative and non-restrictive, without any contrary statement in the present disclosure. Therefore, the present application is intended to allow claims covering the disclosed embodiments, as well as such alternatives, modifications and equivalent forms, which will be apparent to those skilled in the art who are aware of the effective effects of the present disclosure.
[0083] For example, features in this application may be combined in any suitable manner. Accordingly, new claims may be made during the prosecution of this patent application (or a patent application claiming priority thereto) for any such combination of features. In particular, with reference to the appended claims, features of dependent claims may be combined, where appropriate, with features of other dependent claims, including claims that are dependent on other independent claims. Similarly, features from corresponding independent claims may be combined, where appropriate.
[0084] Thus, while the appended dependent claims may be drafted such that each dependent claim is dependent upon a single other claim, additional dependencies are also contemplated. Any combination of dependent features consistent with the present disclosure is contemplated and may be claimed in this or another patent application. In short, the combinations are not limited to those specifically recited in the appended claims.
[0085] It is also contemplated that claims drafted in one format or legal type (eg, apparatus) are intended to support corresponding claims in another format or legal type (eg, method), where appropriate.
[0086] ***
[0087] Because this disclosure is a legal document, various terms and phrases may be subject to regulatory and judicial interpretation. Notice is hereby given that the definitions provided in the following paragraphs and throughout this disclosure will be used to determine how to interpret claims drafted based on this disclosure.
[0088] Unless the context clearly dictates otherwise, reference to an item in the singular (i.e., a noun or noun phrase preceded by "a," "an," or "the") is intended to mean "one or more." Thus, reference to "an item" in a claim does not exclude additional instances of that item without the accompanying context. A "plurality" item refers to a collection of two or more items.
[0089] The word "may" is used herein in a permissive sense (ie, having the potential to, being able to), rather than the mandatory sense (ie, must).
[0090] The terms "including" and "comprising" and forms thereof are open ended and mean "including, but not limited to."
[0091] When the term "or" is used in this disclosure with respect to a list of options, it will generally be understood to be used in an inclusive sense unless the context provides otherwise. Thus, the expression "x or y" is equivalent to "x or y, or both," thus covering 1) x but not y, 2) y but not x, and 3) both x and y. On the other hand, phrases such as "either x or y, but not both" make it clear that "or" is used in an exclusive sense.
[0092] The expressions "w, x, y, or z, or any combination thereof" or "... at least one of w, x, y, and z" are intended to cover all possibilities involving individual elements up to the total number of elements in the set. For example, given the set [w, x, y, z], these phrases cover any single element in the set (e.g., w but not x, y, or z), any two elements (e.g., w and x, but not y or z), any three elements (e.g., w, x, and y, but not z), and all four elements. The phrase "... at least one of w, x, y, and z" thus refers to at least one element in the set [w, x, y, z], thereby covering all possible combinations in the list of elements. The phrase should not be interpreted as requiring the presence of at least one instance of w, at least one instance of x, at least one instance of y, and at least one instance of z.
[0093] In this disclosure, various "labels" may precede a noun or noun phrase. Unless the context provides otherwise, different labels used for a feature (e.g., "first circuit," "second circuit," "particular circuit," "given circuit," etc.) refer to different instances of the feature. In addition, unless otherwise specified, the labels "first," "second," and "third" do not imply any type of ordering (e.g., spatial, temporal, logical, etc.) when applied to features.
[0094] The phrase "based on" or is used to describe one or more factors that influence a determination. This term does not exclude that there may be additional factors that may influence the determination. That is, a determination may be based only on the specified factors or on the specified factors and other unspecified factors. Consider the phrase "A is determined based on B." This phrase specifies that B is a factor used to determine A or that B influences the determination of A. This phrase does not exclude that the determination of A may also be based on some other factor such as C. This phrase is also intended to cover embodiments in which A is determined based only on B. As used herein, the phrase "based on" is synonymous with the phrase "based at least in part on."
[0095] The phrases "in response to" and "in response to" describe one or more factors that trigger an effect. The phrase does not exclude the possibility that additional factors may influence or otherwise trigger the effect, either in conjunction with the specified factors or independently of the specified factors. That is, the effect may be responsive to these factors alone, or may be responsive to the specified factors as well as other unspecified factors. Consider the phrase "in response to B, A is performed." The phrase specifies that B is a factor that triggers the execution of A or triggers a specific result of A. The phrase does not exclude that the execution of A may also be responsive to certain other factors, such as C. The phrase also does not exclude that the execution of A may be performed jointly in response to B and C. This phrase is also intended to cover embodiments in which A is performed only in response to B. As used herein, the phrase "in response to" is synonymous with the phrase "at least partially in response to." Similarly, the phrase "in response to" is synonymous with the phrase "at least partially in response to."
[0096] ***
[0097] Within the present disclosure, different entities (which may be variously referred to as "units," "circuits," other components, etc.) may be described or claimed as being "configured to" perform one or more tasks or operations. This expression—[an entity] configured to [perform one or more tasks]—is used herein to refer to a structure (i.e., a physical thing). More specifically, this expression is used to indicate that this structure is arranged to perform one or more tasks during operation. A structure may be said to be "configured to" perform a task even if the structure is not currently being operated. Thus, an entity described or stated as "configured to" perform a task refers to a physical thing used to implement the task, such as a device, a circuit, a system with a processor unit, and a memory storing executable program instructions, etc. This phrase is not used herein to refer to an intangible thing.
[0098] In some cases, various units / circuits / components may be described herein as performing a set of tasks or operations. It should be understood that these entities are "configured to" perform those tasks / operations, even if not specifically stated.
[0099] The term "configured to" is not intended to mean "configurable to". For example, an unprogrammed FPGA would not be considered "configured to" perform a particular function. However, the unprogrammed FPGA may be "configurable to" perform that function. After being appropriately programmed, the FPGA may then be considered "configured to" perform the particular function.
[0100] For purposes of U.S. patent applications based on the present disclosure, stating in a claim that a structure is “configured to” perform one or more tasks is expressly intended not to invoke 35 U.S.C. §112(f) for that claim element. If the applicant wishes to invoke section 112(f) during prosecution of a U.S. patent application based on the present disclosure, it would use the “means for [performing the function]” structure to phrase the claim element.
[0101] Different "circuits" may be described in the present disclosure. These circuits or "circuitry" constitute hardware, which includes various types of circuit elements, such as combinational logic, clock storage devices (e.g., flip-flops, registers, latches, etc.), finite state machines, memories (e.g., random access memory, embedded dynamic random access memory), programmable logic arrays, etc. Circuits can be custom designed or taken from standard libraries. In various specific implementations, circuits may include digital components, analog components, or a combination of both, as appropriate. Certain types of circuits may be generally referred to as "units" (e.g., decoding units, arithmetic logic units (ALUs), functional units, memory management units (MMUs), etc.). Such units are also referred to as circuits or circuitries.
[0102] Thus, the disclosed circuits / units / components and other elements shown in the drawings and described herein include hardware elements, such as those described in the preceding paragraphs. In many cases, the internal arrangement of hardware elements in a particular circuit can be specified by describing the functionality of that circuit. For example, a particular "decode unit" may be described as performing the function of "processing an opcode for an instruction and routing the instruction to one or more of a plurality of functional units," meaning that the decode unit is "configured to" perform that function. For a person skilled in the computer arts, this functional specification is sufficient to suggest a set of possible structures for the circuit.
[0103] In various embodiments, as discussed in the preceding paragraphs, circuits, units, and other elements defined by the functions or operations they are configured to implement. The arrangement of such circuits / units / components relative to each other and the way they interact form a microarchitecture definition of hardware, which is ultimately manufactured in an integrated circuit or programmed into an FPGA to form a physical implementation of the microarchitecture definition. Therefore, the microarchitecture definition is considered by those skilled in the art to be a structure from which many physical implementations can be derived, all of which fall into a broader structure described by the microarchitecture definition. That is, a technician with a microarchitecture definition provided in accordance with the present disclosure can implement the structure by coding a description of a circuit / unit / component in a hardware description language (HDL) such as Verilog or VHDL without excessive experimentation and using the application of ordinary technicians. HDL descriptions are often expressed in a way that can be displayed as functional. However, for those skilled in the art, the HDL description is a way to convert the structure of a circuit, unit, or component into the next level of specific implementation details. Such HDL descriptions may take the form of behavioral code (which is generally non-synthesizable), register transfer language (RTL) code (which is generally synthesizable compared to behavioral code), or structural code (e.g., a netlist specifying logic gates and their connectivity). The HDL description may be sequentially synthesized for a library of cells designed for a given integrated circuit manufacturing technology, and may be modified for timing, power, and other reasons to obtain a final design database that is transmitted to the factory to generate masks and ultimately produce integrated circuits. Some hardware circuits or portions thereof may also be custom designed in a schematic editor and captured into an integrated circuit design along with the synthesized circuits. The integrated circuit may include transistors and other circuit elements (e.g., passive elements such as capacitors, resistors, inductors, etc.), as well as interconnects between transistors and circuit elements. Some embodiments may implement multiple integrated circuits coupled together to implement the hardware circuit, and / or discrete elements may be used in some embodiments. Alternatively, the HDL design may be synthesized into a programmable logic array such as a field programmable gate array (FPGA), and may be implemented in an FPGA. This decoupling between the design of a set of circuits and the subsequent low-level implementation of those circuits often leads to a situation where a circuit or logic designer never specifies a specific set of structures for the low-level implementation beyond a description of what the circuits are configured to do, because that process is performed at different stages of the circuit implementation process.
[0104] The fact that many different low-level combinations of circuit elements can be used to achieve the same specification of a circuit results in a large number of equivalent structures for that circuit. As noted, these low-level circuit implementations can vary depending on variations in manufacturing technology, the foundry selected to manufacture the integrated circuit, the cell libraries provided for a particular project, etc. In many cases, the selection made by different design tools or methodologies to produce these different implementations can be arbitrary.
[0105] Furthermore, for a given embodiment, a single implementation of a particular functional specification of a circuit typically includes a large number of devices (e.g., millions of transistors). Thus, the shear volume of this information makes it impractical to provide a complete description of the low-level structure used to implement a single embodiment, let alone the large number of equivalent possible implementations. For this reason, the present disclosure describes the structure of the circuit using functional shorthand commonly used in the industry.
[0106] Numerous variations and modifications will become apparent to those skilled in the art once the above disclosure is fully appreciated. It is intended that the following claims be interpreted to include all such variations and modifications.
Claims
1. A system, wherein the system include: Multiple integrated circuits; a plurality of proxy circuits distributed across the integrated circuit; a fabric circuit implemented entirely within a first integrated circuit of the plurality of integrated circuits and configured to route packets between a subset of the plurality of agent circuits within the first integrated circuit, wherein the fabric circuit corresponds to a first segment of a network comprising a plurality of segments; and a segment-to-segment (S2S) network interface circuit within the first integrated circuit, the S2S network interface circuit configured to interface the first segment with one or more additional segments within the network; and Wherein for a given packet having a source agent circuit within the subset and a destination agent circuit outside the first segment, the S2S network interface circuit is a target destination from the perspective of the source agent circuit. 2 . The system of claim 1 , wherein the source agent circuit has completed participating in the transmission of the given packet based on the S2S network interface circuit's receipt of the given packet.
3. The system of claim 1 , wherein the S2S network interface circuit and the plurality of network interface circuits associated with the subset of the plurality of proxy circuits are configured to control transmission of packets in the first segment based on a plurality of credits, wherein a given network interface circuit associated with the source proxy circuit is configured to transmit the given packet based on credits available for the given packet at the S2S network interface circuit, and wherein the credits are released to the given network interface circuit based on receipt of the given packet by the S2S network interface circuit.
4. The system of claim 1, wherein the S2S network interface circuit is coupled to a second segment of the network and is configured to transmit the given packet on the second segment as a source agent circuit on the second segment.
5. The system of claim 4, wherein the second segment is implemented entirely within the first integrated circuit.
6. The system of claim 4, wherein the S2S network interface circuit is configured to transmit the given packet on the second segment based on a second plurality of credits associated with the second segment.
7. The system of claim 4, further comprising a second S2S network interface circuit on a second integrated circuit, wherein the given packet on the second segment is destined for the second S2S network interface circuit.
8. The system of claim 7, wherein the second S2S network interface circuit is coupled to a third segment of the plurality of segments that is implemented entirely within the second integrated circuit.
9. The system of claim 8, wherein the target destination of the given packet is a second proxy circuit of the plurality of proxy circuits, wherein the second proxy circuit is on the second integrated circuit and coupled to the third segment.
10. The system of claim 8, wherein the second integrated circuit is a network chip comprising a plurality of S2S network interface circuits coupled to the third segment, wherein the second S2S network interface circuit is one S2S network circuit among the plurality of S2S network circuits.
11. The system of claim 10, wherein the second S2S network interface circuit is configured to transmit the given packet to a third S2S network interface circuit on the second integrated circuit based on a third plurality of credits associated with the third segment.
12. The system of claim 11, wherein the third S2S network interface circuit is coupled to a fourth segment of the plurality of segments.
13. The system of claim 12, further comprising a fourth S2S network interface circuit on a third integrated circuit of the plurality of integrated circuits and coupled to the fourth segment, wherein the third S2S network interface circuit is configured to transmit the given packet on the fourth segment based on a fourth plurality of credits associated with the fourth segment.
14. The system of claim 13, wherein the fourth S2S network interface circuit is coupled to a fifth segment of the plurality of segments that is implemented entirely with the third integrated circuit, and wherein the fourth S2S network interface circuit is configured to transmit the given packet on the fifth segment based on a fifth plurality of credits associated with the fifth segment.
15. The system of claim 14, wherein the destination agent circuit for the given packet is coupled to the fifth segment.
16. An integrated circuit, the integrated circuit include: Multiple proxy circuits; a fabric circuit implemented entirely within the integrated circuit and configured to route packets between the plurality of agent circuits, wherein the fabric circuit corresponds to a first segment of a network comprising a plurality of segments; and segment-to-segment (S2S) network interface circuitry configured to interface the first segment with one or more additional segments within the network; and Wherein for a given packet having a source agent circuit within the plurality of agent circuits and a destination agent circuit outside the plurality of agent circuits, the S2S network interface circuit is a target destination from the perspective of the source agent circuit.
17. The integrated circuit of claim 16, further comprising a second fabric circuit implemented entirely within the integrated circuit, wherein the second fabric circuit corresponds to a second segment of the plurality of segments, and wherein the S2S network interface circuit is coupled to the second fabric circuit and is a second source agent circuit for the given packet on the second fabric circuit.
18. The integrated circuit of claim 16, further comprising a die-to-die (D2D) interface circuit configured to connect the integrated circuit to another integrated circuit, and wherein the S2S network interface circuit is coupled to the D2D interface circuit and is configured to transmit the given packet on the D2D interface circuit to the other integrated circuit.
19. A method, the method comprising: include: transmitting, by a first agent circuit in a first integrated circuit of a plurality of integrated circuits, a packet having a destination agent circuit in a second integrated circuit of the plurality of integrated circuits, wherein the transmitting is performed over fabric circuitry implemented entirely within the first integrated circuit, wherein the fabric circuitry is configured to route the packet between a subset of the plurality of agent circuits within the first integrated circuit, wherein the fabric circuitry corresponds to a first segment of a network comprising a plurality of segments; receiving the packet by a segment-to-segment (S2S) network interface circuit within the first integrated circuit, wherein the S2S network interface circuit is configured to interface the first segment with one or more additional segments within the network, and wherein the S2S network interface circuit is a target destination for the packet from the perspective of the first agent circuit; as well as The packet is transmitted by the S2S network interface circuit on a second segment of the plurality of segments.
20. The method according to claim 19, further comprising: include: receiving, by a second S2S network interface circuit on a second integrated circuit of the plurality of integrated circuits, the packet from the S2S network interface circuit; as well as The packet is transmitted by the second S2S network interface circuit on a third segment of the plurality of segments that is implemented entirely within the second integrated circuit, wherein the destination agent circuit for the packet is on the second integrated circuit and coupled to the third segment.
