Configurable Network-on-Chip for Programmable Devices
By designing a programmable IC in the SoC, including the processor, NoC master unit and NoC slave unit, and using the NoC programming interface to program the NoC, the problem of lack of programmability and configurability in the existing NoC is solved, and the Flexible multi-chip system communication and efficient data path configuration.
Patent Information
- Application Number
- CN201980048555.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-07-20
- Filing Date
- 2019-07-18
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2039-07-18
AI Technical Summary
Existing Networks on Chips (NoCs) lack programmability and configurability in programmable SoCs, and have irregular topologies, static routing configurations, fixed quality of service, non-programmable address mapping, non-programmable routing and fixed interface protocols, limitations its application in multi-chip systems.
A programmable IC is designed, including a processor, NoC master unit, NoC slave unit and NoC programmable switch. The NoC is programmed through the NoC programming interface, configures physical channels and data paths, and supports multiple virtual channels and services. Quality management,implementing programmable network-on-chip.
It achieves a NoC that is more programmable and configurable in SoC, improves communication flexibility and efficiency in multi-chip systems, supports dynamic routing configuration and quality of service management, and enhances the programmability and adaptability of the system.
Smart Images

Figure CN112470135B_ABST
Abstract
Description
Technical Field
[0001] Examples of the present disclosure relate generally to electronic circuits, and more particularly, to a configurable network-on-chip (NoC) for programmable devices and a multi-chip structure implementing the NoC for communication between chips. Background Art
[0002] Advances in integrated circuit technology have made it possible to embed an entire system (such as a processor core, memory controller, and bus) into a single semiconductor chip. This type of chip is often called a system on a chip (SoC). Other SoCs can embed different components in them for different applications. SoCs have many advantages over traditional processor-based designs. It is an attractive alternative to multi-chip designs because integrating components into a single device can increase overall speed while reducing size. SoCs are also an attractive alternative to fully customized chips (such as application-specific integrated circuits (ASICs)) because ASIC designs tend to have longer development times and greater development costs. A configurable SoC (CSoC) containing programmable logic has been developed to achieve a programmable semiconductor chip that can simultaneously obtain the benefits of programmable logic and SoC.
[0003] The SoC may include a packet network fabric called a network on chip (NoC) to route packets between logic blocks (e.g., programmable logic blocks, processors, memory, etc.) of the SoC. The NoC in a non-programmable SoC has irregular topology, static routing configuration, fixed quality of service (QoS) paths, non-programmable address mapping, non-programmable routing, and egress / ingress nodes with fixed interface protocols, widths, and frequencies. It is desirable to provide a more programmable and configurable NoC in a SoC. Summary of the invention
[0004] Techniques for providing a configurable NoC for a programmable device are described. In one example, a programmable IC is disclosed that may include a processor, a plurality of endpoint circuits, a NoC having a NoC master unit and a NoC slave unit and a NoC programmable switch, a plurality of registers, and a NOC programming interface. In addition, the processor may be coupled to the NoC programming interface and configured to program the NoC switch by loading an image into the register through the NoC programming interface for providing a physical channel between the NoC master unit for the NoC slave unit and providing a data path between the plurality of endpoint circuits.
[0005] In some embodiments, the programmable IC may further include a processing system including a processor and a first endpoint circuit of a plurality of endpoint circuits, wherein the first endpoint circuit is coupled to a first NoC master unit of the NoC master units.
[0006] In some embodiments, the programmable IC may further include programmable logic having a second endpoint circuit among the plurality of endpoint circuits, wherein each second endpoint circuit is coupled to one of the NoC master units or one of the NoC slave units.
[0007] In some embodiments, each second endpoint circuit may be one of a hardened circuit or a circuit configured in programmable logic.
[0008] In some embodiments, the programmable IC may further include a hardened circuit having a third endpoint circuit of the plurality of endpoint circuits, wherein the third endpoint circuit is coupled to a first NoC slave cell of the NoC slave cells.
[0009] In some embodiments, each NoC master unit may include: a master interface coupled to one of a plurality of endpoint circuits; a packetization circuit coupled to the master interface and configured to packetize inbound data received at the master interface; and a clock management circuit configured to perform rate matching and asynchronous data crossing between a clock domain of the master interface and a clock domain of the NoC.
[0010] In some embodiments, the NoC master control unit may further include a QoS circuit configured to rate limit a data packet entering the NoC and a VC mapping circuit configured to map the data packet to one of the plurality of virtual channels.
[0011] In some embodiments, each NoC master unit may further include a depacketization circuit coupled to the master interface, where the depacketization circuit is configured to depacketize a return data packet received from the NoC.
[0012] In some embodiments, each NoC slave unit may further include: an unpacking circuit configured to unpack a data packet received from the NoC; a slave interface coupled to one of the plurality of endpoint circuits; and a clock management circuit configured to perform rate matching and asynchronous data crossing between a clock domain of the NoC and a clock domain of the slave interface.
[0013] In some embodiments, each NoC slave unit may further include: a packetization circuit configured to packetize return data received from the slave interface; and a QoS circuit configured to rate limit data packets entering the NoC.
[0014] In some embodiments, the programmable IC may be part of a multi-chip module with another programmable IC, wherein the plurality of NoC programmable switches of the programmable IC are coupled to corresponding plurality of NoC programmable switches in the other programmable IC via conductors on a substrate of the multi-chip module.
[0015] In some embodiments, each of the plurality of NoC programmable switches includes a FIFO.
[0016] In one example, a method for programming a NoC in a programmable IC is disclosed. The method may include: receiving first programming data at a processor in the programmable IC at startup; loading the programming data into a register in the NoC through a NoC peripheral interface (NPI) to create a physical channel between a NoC master unit and a NoC slave unit in the NoC; and starting the programmable IC.
[0017] In some embodiments, the method may further include receiving second programming data at the processor during runtime, and loading the second programming data into registers in the NoC through the NOC programming interface.
[0018] In some embodiments, the second programming data configures a routing table in a NoC programmable switch in the NoC.
[0019] In some embodiments, the second programming data configures a QoS path in the NoC.
[0020] In some embodiments, the second programming data is configured in an address space in the NoC.
[0021] In some embodiments, the second programming data configures ingress and egress interface protocols, widths, and frequencies in the NoC.
[0022] In one example, a method for processing a request from an endpoint circuit in a NoC of a programmable IC is disclosed. The method may include: receiving the request at a master interface of a NoC master unit in the NoC; packetizing the requested data in the NoC master unit; sending the packetized data to a NoC slave unit in the NoC through one or more NoC programmable switches; unpacking the packetized data at the NoC slave unit; and providing the unpacked data to a slave interface of the NoC slave unit.
[0023] In some embodiments, the method may further include: receiving a response at a NoC slave unit; packaging data of the response at the NoC slave unit; sending the packaged response data to the NoC master unit through one or more NoC programmable switches; unpacking the packaged response data at the NoC master unit; and providing the unpacked response data to the master interface of the NoC master unit.
[0024] These and other aspects may be understood with reference to the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to understand the manner in which the above features are described in detail, a more specific description of the above invention can be obtained by referring to example embodiments, some of which are shown in the accompanying drawings. However, it should be noted that the accompanying drawings only show typical exemplary embodiments and should not be considered as limiting the scope thereof.
[0027] Figure 1 is a block diagram depicting a programmable device with an embedded system-on-chip (SoC) subsystem according to one example.
[0028] Figure 2 is a block diagram depicting a network on chip (NoC) according to one example.
[0029] Figure 3 is a block diagram depicting connections between endpoint circuits in a SoC through a NoC according to one example.
[0030] Figure 4 is a block diagram depicting a NoC according to another example.
[0031] Figure 5 is a flow chart depicting a method of programming a NoC according to one example.
[0032] Figure 6 is a flow chart depicting a method of programming a NoC according to one example.
[0033] Figure 7 is a block diagram depicting a data path through a NoC between endpoint circuits according to one example.
[0034] Figure 8 is a flow chart depicting a method of processing read / write requests and responses according to one example.
[0035] Fig. 9 is a block diagram depicting a NoC master unit (NMU) according to one example.
[0036] Fig.10is a block diagram depicting a NoC slave unit (NSU) according to an example.
[0037] Fig.11 is a cross section of a multi-chip module (MCM) according to an example.
[0038] Fig.12 is a schematic diagram of an extended NoC according to an example.
[0039] Fig.13 is a block diagram depicting communication between NPSs on different IC dies according to one example.
[0040] Fig.14 is a block diagram depicting a programmable integrated circuit in which the NoC described herein may be employed, according to one example.
[0041] Fig.15 is a depiction based on an example Fig.14 Block diagram of a system-on-chip (SoC) implementation of a programmable IC.
[0042] Fig.16 Shows an example Fig.14 A field programmable gate array (FPGA) implementation of a programmable IC.
[0043] To facilitate understanding, identical reference numerals have been used, where possible, to designate identical elements that are common to the figures. It is contemplated that elements of one example may be beneficially incorporated in other examples. DETAILED DESCRIPTION
[0044] Various features are described below with reference to the accompanying drawings. It should be noted that the drawings may be drawn to scale or not to scale, and that elements of similar structure or function are represented by similar reference numerals throughout the drawings. It should be noted that the drawings are intended only to facilitate the description of the features. They are not intended to be an exhaustive description of the claimed invention or a limitation on the scope of the claimed invention. In addition, the examples shown do not necessarily have all the aspects or advantages shown. The aspects or advantages described in conjunction with a particular example are not necessarily limited to that example and may be practiced in any other example, even if not shown or explicitly described herein.
[0045] Figure 11 is a block diagram showing a programmable device with an embedded system-on-chip (SoC) subsystem (SoC 100) according to an example. SoC 100 is an integrated circuit (IC) that includes multiple regions of circuits with different functions. In this example, SoC 100 includes a programmable logic (PL) region 102, a processing system (PS) 104, a network on chip (NoC) 106, and an input / output (IO) region 108. In some examples, SoC 100 includes hardened circuits 110, such as a memory controller, a math engine, etc. Programmable logic region 102 may include any number of configurable logic blocks (CLBs) that can be programmed or configured to form a specific circuit. PS 104 may include one or more processor cores and associated support circuits. For example, the processing system may include multiple ARM-based embedded processor cores. NoC 106 includes an interconnect network for sharing data between endpoint circuits in SoC 100. The endpoint circuit may be provided in the PL region 102, the PS 104, the hardened circuit 110, and / or the IO region 108. The NoC 106 may include a high-speed data path with a dedicated switching function. In one example, the NoC 106 includes a horizontal path, a vertical path, or both a horizontal path and a vertical path. The IO region 108 may include an input / output block (IOB) for sending and receiving signals outside the SoC 100, etc. Figure 1 The arrangement and number of regions shown are examples only. Generally, SoC 100 includes one or more PL regions 102 , PS 104 , and NoC 106 .
[0046] Figure 22 is a block diagram depicting a NoC 106 according to an example. The NoC 106 includes a NoC master unit (NMU) 202, a NoC slave unit (NSU) 204, a network 214, a NoC peripheral interconnect (NPI) 210, and a register 212. Each NMU 202 is an ingress circuit that connects an endpoint circuit to the NoC 106. Each NSU 204 is an egress circuit that connects the NoC 106 to the endpoint circuit. The NMU 202 is connected to the NSU 204 through the network 214. In one example, the network 214 includes a NoC packet switch 206 (NoC packet switch, NPS) and a route 208 between the NoC packet switches 206. Each NoC packet switch 206 performs an exchange of NoC packets. The NoC packet switches 206 are connected to each other and are connected to the NMU 202 and the NSU 204 through the route 208 to implement multiple physical channels. The NoC packet switch 206 also supports multiple virtual channels for each physical channel. The NPI 210 includes circuits for programming the NMU 202, the NSU 204, and the NoC packet switch 206. For example, the NMU 202, the NSU 204, and the NoC packet switch 206 may include registers 212 that determine their functions. The NPI 210 includes a peripheral interconnect coupled to the registers 212 for programming them to set their functions. The registers 212 in the NoC 106 support interrupts, QoS, error handling and reporting, transaction control, power management, and address mapping control. The registers 212 may be initialized to a usable state before being reprogrammed (e.g., by writing to the registers 212 using a write request). Configuration data for the NoC 106 may be stored in a non-volatile memory (NVM) and provided to the NPI 210 for programming the NoC 106 and / or other endpoint circuits.
[0047] NMU 202 is the traffic entry point. NSU 204 is the traffic exit point. The endpoint circuits coupled to NMU 202 and NSU 204 may be hardened circuits (e.g., hardened circuit 110), or circuits configured in programmable logic. A given endpoint circuit may be coupled to more than one NMU 202 or more than one NSU 204.
[0048] Figure 31 is a block diagram depicting connections between endpoint circuits in a SoC through NoC 106 according to one example. In this example, endpoint circuit 302 is connected to endpoint circuit 304 through NoC 106. Endpoint circuit 302 is a master circuit that is coupled to NMU 202 of NoC 106. Endpoint circuit 304 is a slave circuit that is coupled to NSU 204 of NoC 106. Each endpoint circuit 302 and 304 can be a circuit in processing system 104, a circuit in programmable logic region 102, or a circuit in another subsystem (e.g., hardened circuit 110). Each endpoint circuit in programmable logic region 102 can be a dedicated circuit (e.g., a hardened circuit) or a circuit configured in programmable logic.
[0049] The network 214 includes a plurality of physical channels 306. The physical channels 306 are implemented by programming the NoC 106. Each physical channel 306 includes one or more NoC packet switches 206 and associated routes 208. The NMU 202 is connected to the NSU 204 through at least one physical channel 306. The physical channel 306 may also have one or more virtual channels 308.
[0050] The connection through the network 214 uses a master-slave configuration. In one example, the most basic connection on the network 214 includes a single master connected to a single slave. However, in other examples, more complex structures can also be implemented.
[0051] Figure 4 1 is a block diagram depicting a NoC 106 according to another example. In this example, the NoC 106 includes a vertical portion 402 (vertical NoC, VNoC) and a horizontal portion 404 (Horizontal NoC, HNoC). Each VNoC 402 is disposed between PL regions 102. The HNoC 404 is disposed between the PL region 102 and the IO region 108. The hardened circuit 110 includes a memory interface 406. The PS 104 is coupled to the HNoC 404.
[0052] In this example, PS 104 includes a plurality of NMUs 202 coupled to HNoC 404. VNoC 402 includes NMUs 202 and NSUs 204 disposed in PL region 102. Memory interface 406 includes NSU 204 coupled to HNoC 404. HNoC 404 and VNoC 402 each include NPS 206 connected by routing 208. In VNoC 402, routing 208 extends vertically. In HNoC 404, routing extends horizontally. In each VNoC 402, each NMU 202 is coupled to NPS 206. Similarly, each NSU 204 is coupled to NPS 206. NPSs 206 are coupled to each other to form a switch matrix. Some NPSs 206 in each VNoC 402 are coupled to other NPSs 206 in HNoC 404.
[0053] Although only a single HNoC 404 is shown, in other examples, the NoC 106 may include more than one HNoC 404. Additionally, although two VNoCs 402 are shown, the NoC 106 may include more than two VNoCs 402. Although the memory interface 406 is shown by way of example, it should be understood that other hardened circuits may be used in place of or in addition to the memory interface 406.
[0054] Figure 5 is a flow chart depicting a method 500 for programming NoC 106 according to an example. In step 502, a processor in PS 104 receives NoC programming data at boot time. In one example, the processor is a platform management controller (PMC). In step 504, a processor (e.g., PMC) in PS 104 loads NoC programming data to register 212 via NPI 210 to create physical channel 306. In one example, the programming data may also include information for configuring a routing table in NPS. In step 506, a processor (e.g., PMC) in PS boots SoC 100. At this time, NoC 106 includes at least configuration information for physical channel 306 between NMU 202 and NSU 204. The remaining configuration information of NoC 106 may be received during runtime, as described below. In another example, all or part of the configuration information received during runtime described below may be received at boot time.
[0055] Figure 66 is a flow chart depicting a method 600 of programming the NoC 106 according to one example. At step 602, a processor (e.g., a PMC) in the PS 104 receives NoC programming data during runtime. At step 604, the processor (e.g., a PMC) in the PS 104 loads the programming data into the NoC registers 212 via the NPI 210. In one example, at step 606, the processor in the PS 104 configures a routing table in the NPS 206. At step 608, the processor in the PS 104 configures a QoS path on the physical channel 306. At step 610, the processor in the PS 104 configures an address space mapping. At step 612, the processor in the PS 104 configures an ingress / egress interface protocol, width, and frequency. The QoS paths, address space mapping, routing tables, and ingress / egress configurations are discussed further below.
[0056] Figure 7 7 is a block diagram depicting a data path 700 through a NoC 106 between endpoint circuits according to one example. The data path 700 includes an endpoint circuit 702, an AXI master circuit 704, an NMU 706, an NPS 708, an NSU 710, an AXI slave circuit 712, and an endpoint circuit 714. The endpoint circuit 702 is coupled to the AXI master circuit 704. The AXI master circuit 704 is coupled to the NMU 706. In another example, the AXI master circuit 704 is part of the NMU 706. The NMU 706 is coupled to the NPS 708. The NPSs 708 are coupled to each other to form a series of NPSs 708 (e.g., a series of five NPSs 708 in this example). Typically, there is at least one NPS 708 between the NMU 706 and the NSU 710. The NSU 710 is coupled to one of the NPSs 708. The AXI slave circuit 712 is coupled to the NSU 710. In another example, the AXI slave circuit 712 is part of the NSU 710. The endpoint circuit 714 is coupled to the AXI slave circuit 712.
[0057] Endpoint circuits 702 and 714 may be hardened circuits or circuits configured with programmable logic, respectively. Endpoint circuit 702 acts as a master circuit and sends a read / write request to NMU 706. In this example, endpoint circuits 702 and 714 communicate with NoC 106 using an Advanced Extensible Interface (AXI) protocol. Although AXI is described in the example, it should be understood that NoC 106 can be configured to receive communications from endpoint circuits using other types of protocols known in the art. For the sake of clarity of the example, NoC 106 is described herein as supporting the AXI protocol. NMU 706 relays the request through the group of NPS 708 to reach the target NSU 710. NSU 710 passes the request to the connected AXI slave circuit 712 to process the data and distribute the data to the endpoint circuit 714. AXI slave circuit 712 can send a read / write response back to NSU 710. The NSU 710 may forward the response to the NMU 706 via a set of NPSs 708. The NMU 706 passes the response to the AXI master circuit 704, which distributes the data to the endpoint circuit 702.
[0058] Figure 8 8 is a flow chart depicting a method 800 for processing read / write requests and responses according to an example. The method 800 begins at step 802, where the endpoint circuit 702 sends a request (e.g., a read request or a write request) to the NMU 706 via the AXI master circuit 704. At step 804, the NMU 706 processes the response. In one example, the NMU 706 performs asynchronous crossing and rate matching between the clock domains of the endpoint circuit 702 and the NoC 106. The NMU 706 determines the target address of the NSU 710 based on the request. In the case of virtualization, the NMU 706 can perform address remapping. The NMU 706 also performs AXI conversion of the request. The NMU 706 further packages the request into a data packet stream.
[0059] At step 806, the NMU 706 sends a data packet for the request to the NPS 708. Each NPS 708 performs a table lookup for the target output port based on the target address and routing information. At step 808, the NSU 710 processes the data packet for the request. In one example, the NSU 710 unpacks the request, performs AXI conversion, and performs asynchronous crossing and rate matching from the NoC clock domain to the clock domain of the endpoint circuit 714. At step 810, the NSU 710 sends the request to the endpoint circuit 714 through the AXI slave circuit 712. The NSU 710 may also receive a response from the endpoint circuit 714 through the AXI slave circuit 712.
[0060] At step 812, the NSU 710 processes the response. In one example, the NSU 710 performs asynchronous crossing and rate matching from the clock domain of the endpoint circuit 714 and the clock domain of the NoC 106. The NSU 710 also packages the response into a data packet stream. At step 814, the NSU 710 sends the data packet through the NPS 708. Each NPS 708 performs a table lookup on the target output port based on the target address and routing information. At step 816, the NMU 706 processes the data packet. In one example, the NMU 706 unpacks the response, performs AXI conversion, and performs asynchronous crossing and rate matching from the NoC clock domain to the clock domain of the endpoint circuit 702. At step 818, the NMU 706 sends the response to the endpoint circuit 702 through the AXI master circuit 704.
[0061] Fig. 9 9 is a block diagram depicting an NMU 202 according to an example. The NMU 202 includes an AXI master interface 902, a packetization circuit 904, an address mapping 906, an unpacking circuit 908, a QoS circuit 910, a VC mapping circuit 912, and a clock management circuit 914. The AXI master interface 902 provides an AXI interface to the NMU 202 for endpoint circuits. In other examples, different protocols may be used, and therefore, the NMU 202 may have different master interfaces that conform to the selected protocol. The NMU 202 routes inbound traffic to the packetization circuit 904, which generates a data packet from the inbound data. The packetization circuit 904 determines a target ID based on the address mapping 906, which is used to route the data packet. The QoS circuit 910 may provide ingress rate control to control the rate at which data packets are injected into the NoC 106. The VC mapping circuit 912 manages QoS virtual channels on each physical channel. The NMU 202 may be configured to select which virtual channel the data packet is mapped to. Clock management circuit 914 performs rate matching and asynchronous data crossing to provide an interface between the AXI clock domain and the NoC clock domain. Unpacking circuit 908 receives return data packets from NoC 106 and is configured to unpack the data packets for output by AXI master interface 902 .
[0062] Fig.101 is a block diagram illustrating an NSU 204 according to one example. The NSU 204 includes an AXI slave interface 1002, a clock management circuit 1004, a packetization circuit 1008, an unpacketization circuit 1006, and a QoS circuit 1010. The AXI slave interface 1002 provides an AXI interface for endpoint circuits to the NSU 204. In other examples, different protocols may be used, so the NSU 204 may have different slave interfaces that conform to the selected protocol. The NSU 204 routes inbound traffic from the NoC 106 to the unpacketization circuit 1006, which generates unpacked data. The clock management circuit 914 performs rate matching and asynchronous data crossing to provide an interface between the AXI clock domain and the NoC clock domain. The packetization circuit 1008 receives return data from the slave interface 1002 and is configured to packetize the return data for transmission through the NoC 106. QoS circuitry 1010 may provide ingress rate control to control the rate at which packets are injected into NoC 106 .
[0063] Fig.11 1 is a cross section of a multi-chip module (MCM) 1100 according to an example. MCM 1100 includes an IC die 1102, an IC die 1104, and a substrate 1110. IC die 1102 and IC die 1104 are mechanically and electrically coupled to substrate 1110. IC die 1102 includes the SoC 100 described above. IC die 1102 is mechanically and electrically coupled to substrate 1110 via external solder joints 1106. IC die 1104 includes another SoC 100 and is mechanically and electrically coupled to substrate 1110 via external solder joints 1108. Substrate 1110 includes external solder joints 1112. Substrate 1110 may be a package substrate, an interposer, etc.
[0064] In this example, IC chip 1102 includes NPS 1116. NPS 1116 is coupled to IC chip 1104 through conductors 1114 of substrate 1110. IC chip 1104 includes NPS 1118. NPS 1118 is coupled to conductors 1114. In general, any number of switches may be coupled in this manner through conductors on substrate 1110. Thus, the NoC in IC die 1102 is coupled to the NoC in IC die 1104, thereby forming a larger NoC spanning IC dies 1102 and 1104. Although conductors 1114 of substrate 1110 are shown as being on a single layer, substrate 1110 may include any number of conductive layers having conductors coupled to NoC switches on dies 1102 and 1104.
[0065] Fig.121 is a schematic diagram of an extended NoC 1200 according to an example. The extended NoC 1200 includes one or more VNOCs 402 (e.g., three are shown) that extend across the boundary 1202 between IC dies. Some NPSs 206A of the NPSs 206 in the VNOC 402 are connected using conductors 1114 on the substrate 1110. In this example, the extended NoC 1200 includes two horizontal channels at each die edge. However, the extended NoC 1200 can include any number of horizontal channels at the die edge. In addition, each VNOC 402 is shown as having two vertical channels, but it can include any number of vertical channels across the boundary 1202 between IC dies.
[0066] Fig.13 1 is a block diagram depicting communication between NPSs 206A on different IC dies according to an example. Each NPS 206A includes an NPS 206 and a FIFO 1302. Each NPS 206 is coupled to a FIFO 1302 in the NPS 206A opposite thereto. Each NPS 206 includes a clock path and a data path to the FIFO 1302 in the NPS 206A opposite thereto. In this example, each NPS 206A operates in a separate clock domain (e.g., clk1 and clk2). The clock domains do not have to be phase-aligned with each other (e.g., the clock domains are phase-independent). Each NPS 206 forwards the clock of its respective clock domain to the FIFO 1302. The FIFO 1302 realigns the data to the clock domain of the respective NPS 206A.
[0067] Fig.141 is a block diagram showing a programmable IC 1 in which the NoC 106 described herein may be used, according to one example. The programmable IC 1 includes programmable logic 3, configuration logic 25, and configuration memory 26. The programmable IC 1 may be coupled to external circuits, such as non-volatile memory 27, DRAM 28, and other circuits 29. The programmable logic 3 includes logic cells 30, support circuits 31, and programmable interconnects 32. The logic cells 30 include circuits that may be configured to implement general logic functions for multiple inputs. The support circuits 31 include specialized circuits, such as transceivers, input / output blocks, digital signal processors, memories, and the like. The logic cells and support circuits 31 may be interconnected using programmable interconnects 32. Information for programming the logic cells 30, for setting parameters for the support circuits 31, and for programming the programmable interconnects 32 is stored in the configuration memory 26 by the configuration logic 25. The configuration logic 25 may obtain configuration data from the non-volatile memory 27 or any other source (e.g., DRAM 28 or from other circuits 29). In some examples, the programmable IC 1 includes a processing system 2. The processing system 2 may include a microprocessor, memory, support circuits, IO circuits, and the like.
[0068] Fig.151 is a block diagram showing a system on chip (SoC) implementation of a programmable IC 1 according to an example. In this example, the programmable IC 1 includes a processing system 2 and a programmable logic 3. The processing system 2 includes various processing units, such as a real-time processing unit (RPU) 4, an application processing unit (APU) 5, a graphics processing unit (GPU) 6, a configuration and security unit (CSU) 12, a platform management unit (PMU) 122, etc. The processing system 2 also includes various support circuits, such as an on-chip memory (OCM) 14, a transceiver 7, a peripheral device 8, an interconnect 16, a DMA circuit 9, a memory controller 10, a peripheral device 15, and a multiplexed IO (MIO) circuit 13. The processing units and the support circuits are interconnected through the interconnect 16. PL3 is also coupled to the interconnect 16. The transceiver 7 is coupled to an external pin 24 or is connected to an external pin 24 (e.g., PCIe, Ethernet, etc.) through a protocol block (not shown). The PL 3 is coupled to an external pin 23. The memory controller 10 is coupled to an external pin 22. The MIO 13 is coupled to an external pin 20. The PS 2 is typically coupled to an external pin 21. The APU 5 may include a CPU 17, a memory 18, and support circuits 19. The APU 5 may include other circuits, including L1 and L2 caches, etc. The RPU 4 may include additional circuits, such as an L1 cache, etc. The interconnect 16 may include a cache coherency interconnect, etc.
[0069] Referring to PS 2, each processing unit includes one or more central processing units (CPUs) and associated circuits, such as memory, interrupt controllers, direct memory access (DMA) controllers, memory management units (MMUs), floating point units (FPUs), etc. Interconnect 16 includes various switches, buses, communication links, etc. configured to interconnect processing units and interconnect other components in PS 2 to processing units.
[0070] OCM 14 includes one or more RAM modules that can be distributed throughout PS 2. For example, OCM 14 can include battery backed RAM (BBRAM), tightly coupled memory (TCM), etc. Memory controller 10 can include a DRAM interface for accessing external DRAM. Peripheral devices 8, 15 can include one or more components that provide an interface to PS 2. For example, peripheral device 132 can include a graphics processing unit (GPU), a display interface (such as a display port DisplayPort, a high-definition multimedia interface (HDMI) port, etc.), a universal serial bus (USB) port, an Ethernet port, a universal asynchronous transceiver (UART) port, a serial peripheral interface (SPI) port, a general purpose IO (GPIO) port, a serial advanced technology attachment (SATA) port, a PCIe port, etc. Peripheral device 15 can be coupled to MIO 13. Peripheral device 8 can be coupled to transceiver 7. The transceiver 7 may include a serializer / deserializer (SERDES) circuit, an MGT, and the like.
[0071] Fig.16 A field programmable gate array (FPGA) implementation of a programmable IC 1 is shown, which includes a large number of different programmable tiles, including transceivers 37, configurable logic blocks (CLBs) 33, random access memory blocks (BRAMs) 34, input / output blocks (IOBs) 36, configuration and clock logic (CONFIG / CLOCKS) 42, digital signal processing blocks (DSPs) 35, dedicated input / output blocks (I / Os) 41 (e.g., configuration ports and clock ports), and other programmable logic 39, such as digital clock managers, analog-to-digital converters, system monitoring logic, etc. The FPGA may also include a PCIe interface 40, an analog-to-digital converter (ADC) 38, etc.
[0072] In some FPGAs, each programmable slice may include at least one programmable interconnect element (INT) 43 having connections to input and output terminals 48 of programmable logic elements within the same slice, such as in Fig.16 As shown in the example included at the top. Each programmable interconnect element 43 may also include a connection to an interconnect segment 49 of an adjacent programmable interconnect element in the same or other slices. Each programmable interconnect element 43 may also include a connection to an interconnect segment 50 of a general routing resource between logic blocks (not shown). The general routing resources may include routing channels between logic blocks (not shown) including tracks of interconnect segments (e.g., interconnect segments 50) and switch blocks for connecting interconnect segments 50. The interconnect segments of the general routing resources (e.g., interconnect segments 50) may span one or more logic blocks. The programmable interconnect elements 43 together with the general routing resources implement a programmable interconnect structure ("programmable interconnect") for the FPGA shown.
[0073] In an exemplary embodiment, CLB 33 may include a configurable logic element (CLE) 44 that can be programmed to implement user logic plus a single programmable interconnect element (INT) 43. BRAM 34 may include a BRAM logic element (BRL) 45 and one or more programmable interconnect elements. Typically, the number of interconnect elements included in a slice depends on the height of the slice. In the illustrated example, the BRAM slice has the same height as five CLBs, but other numbers (e.g., four) of height may also be used. In addition to an appropriate number of programmable interconnect elements, DSP slice 35 may also include a DSP logic element (DSPL) 46. In addition to one instance of programmable interconnect element 43, IOB 36 may also include, for example, two instances of input / output logic (IOL) 47. As will be clear to those skilled in the art, for example, the actual I / O pads connected to I / O logic element 47 are typically not limited to the area of input / output logic element 47.
[0074] In the example shown, the horizontal area near the center of the die (eg Fig.16 ) is used for configuration, clock and other control logic. Vertical columns 51 extending from this horizontal area or column are used to distribute clock and configuration signals across the entire width of the FPGA.
[0075] use Fig.16Some FPGAs of the illustrated architecture include additional logic blocks that disrupt the regular columnar structure that makes up a large portion of the FPGA. The additional logic blocks may be programmable blocks and / or dedicated logic.
[0076] Notice, Fig.16 It is intended only to illustrate an exemplary FPGA architecture. For example, the number of logic blocks in a row, the relative widths of the rows, the number and order of the rows, the types of logic blocks contained in the rows, the relative sizes of the logic blocks, and the order of the rows. Fig.16 The interconnect / logic implementation included at the top is exemplary only. For example, in a real FPGA, wherever CLBs appear, more than one adjacent CLB row is typically included to facilitate efficient implementation of user logic, but the number of adjacent CLB rows varies with the overall size of the FPGA.
[0077] While the foregoing is directed to particular examples, other and further examples may be devised without departing from the basic scope thereof, and the scope of the same is determined by the claims that follow.
Claims
1. A programmable integrated circuit IC, characterized in that: The programmable integrated circuit IC comprises: processor; Multiple endpoint circuits; A network on chip NoC, wherein the network on chip NoC has a network on chip NoC master control unit, a network on chip NoC slave unit, a network on chip NoC programmable switch, a plurality of registers and a network on chip NoC peripheral interface; wherein the processor is coupled to the network-on-chip NoC peripheral interface and is configured to program the network-on-chip NoC programmable switch by loading first programming data into the register through the network-on-chip NoC peripheral interface, so as to provide a physical channel between the network-on-chip NoC master units for the network-on-chip NoC slave units, and to provide a data path between the plurality of endpoint circuits; and The processor is further configured to receive second programming data during operation, and load the second programming data into a register in the network on chip NoC through the network on chip NoC peripheral interface, wherein the second programming data includes information for configuring a network on chip NoC programmable switch in the network on chip NoC.
2. The programmable integrated circuit IC according to claim 1, characterized in that: The programmable integrated circuit IC also includes: a processing system comprising the processor and a first endpoint circuit of the plurality of endpoint circuits; The first endpoint circuit is coupled to a first network on chip in the network on chip NoC master control unit. NoC master control unit.
3. The programmable integrated circuit IC according to claim 2, characterized in that: The programmable integrated circuit IC also includes: a programmable logic having a second endpoint circuit of the plurality of endpoint circuits; Each of the second endpoint circuits is coupled to one of the NoC master units or one of the NoC slave units.
4. The programmable integrated circuit IC according to claim 3, characterized in that: The programmable integrated circuit IC also includes: a hardened circuit having a third endpoint circuit among the plurality of endpoint circuits; The third endpoint circuit is coupled to a first NoC slave unit of the NoC slave units.
5. The programmable integrated circuit IC according to claim 1, characterized in that: Each NoC The main control unit includes: a host control interface coupled to one of the plurality of endpoint circuits; a packetizing circuit coupled to the host interface, the packetizing circuit being configured to packetize inbound data received at the host interface; and A clock management circuit is configured to perform rate matching and asynchronous data crossing between a clock domain of the master interface and a clock domain of the network on chip (NoC).
6. The programmable integrated circuit IC according to claim 5, characterized in that: Each NoC The main control unit also includes: The depacketizing circuit is coupled to the host control interface and is configured to depacketize a return data packet received from the NoC.
7. The programmable integrated circuit IC according to claim 1, characterized in that: Each NoC The main control unit also includes: a quality of service (QoS) circuit configured to rate limit packets entering the network-on-chip (NoC); and A virtual channel VC mapping circuit is configured to map the data packet to a virtual channel among a plurality of virtual channels.
8. The programmable integrated circuit IC according to claim 1, characterized in that: Each NoC Slave units include: An unpacking circuit, the unpacking circuit being configured to unpack a data packet received from the NoC; a slave interface coupled to one of the plurality of endpoint circuits; A clock management circuit is configured to perform rate matching and asynchronous data crossing between a clock domain of the network on chip NoC and a clock domain of the slave interface.
9. The programmable integrated circuit IC according to claim 1, characterized in that: The programmable integrated circuit IC is part of a multi-chip module having another programmable integrated circuit IC, and wherein a plurality of network-on-chip NoC programmable switches of the programmable integrated circuit IC are coupled to a corresponding plurality of network-on-chip NoC programmable switches in the other programmable integrated circuit IC via conductors on the multi-chip module substrate.
10. The programmable integrated circuit IC according to claim 9, characterized in that: Each of the plurality of network-on-chip (NoC) programmable switches includes a first-in-first-out (FIFO).
11. The programmable integrated circuit IC according to claim 1, characterized in that: The programmable integrated circuit IC is part of a multi-chip module with another programmable integrated circuit IC, and the network-on-chip NoC in the programmable integrated circuit IC is coupled to the network-on-chip NoC in the other programmable integrated circuit IC, thereby forming a larger network-on-chip NoC spanning two programmable integrated circuit ICs.
12. A method for programming a network on chip (NoC) in a programmable integrated circuit (IC), characterized in that: The method comprises: At a startup time, receiving first programming data at a processor in the programmable integrated circuit IC; Loading the programming data into registers in the network-on-chip NoC through a network-on-chip NoC peripheral interface to create a physical channel between a network-on-chip NoC master unit and a network-on-chip NoC slave unit in the network-on-chip NoC; and Starting the programmable integrated circuit IC; During operation, receiving second programming data at the processor; The second programming data is loaded into a register in the network on chip NoC through the network on chip NoC peripheral interface, wherein the second programming data includes information for configuring a network on chip NoC programmable switch in the network on chip NoC.
13. A method for processing a request from an endpoint circuit in a network on chip (NoC) of a programmable integrated circuit IC according to claim 1, characterized in that: The method comprises: Receiving the request at a master control interface of a network-on-chip (NOC) master control unit in the network-on-chip (NOC); Packaging the requested data at the NoC master control unit; Sending the packetized data to the NoC slave units in the NoC through one or more NoC programmable switches; Depacketizing the packetized data at the NoC slave unit; and The unpacked data is provided to the slave interface of the NoC slave unit.
14. The method according to claim 13, characterized in that The method further comprises: receiving a response at the NoC slave unit; Packaging the response data at the NoC slave unit; Sending the packetized response data to the on-chip network NoC master control unit through the one or more on-chip network NoC programmable switches; Unpacking the packaged response data at the NoC master control unit; and The unpacked response data is provided to the master control interface of the NoC master control unit.
