This application claims the benefit of U.S. application Ser. No. 13/658,663, filed Oct. 23, 2012, the disclosure of which is hereby incorporated by reference.
1. Technical Field
Methods and example embodiments described herein are generally directed to interconnect architecture, and more specifically, to network-on-chip system interconnect architecture.
2. Related Art
The number of components on a chip is rapidly growing due to increasing levels of integration, system complexity and shrinking transistor geometry. Complex System-on-Chips (SoCs) may involve a variety of components e.g., processor cores, DSPs, hardware accelerators, memory and I/O, while Chip Multi-Processors (CMPs) may involve a large number of homogenous processor cores, memory and I/O subsystems. In both systems, the on-chip interconnect plays a key role in providing high-performance communication between the various components.
Due to scalability limitations of traditional buses and crossbar based interconnects, Network-on-Chip (NoC) has emerged as a paradigm to interconnect a large number of components on the chip. NoC is a global shared communication infrastructure made up of several routing nodes interconnected with each other using point-to-point physical links. Messages are injected by the source and are routed from the source node to the destination over multiple intermediate nodes and physical links. The destination node then ejects the message and provides it to the destination. For the remainder of the document, terms ‘components’, ‘blocks’ hosts' or ‘cores’ will be used interchangeably to refer to the various system components which are interconnected using a NoC. Terms ‘routers’ and ‘nodes’ will also be used interchangeably. Without loss of generalization, the system with multiple interconnected components will itself be referred to as ‘multi-core system’.
There are several possible topologies in which the routers can connect to one another to create the system network. Bi-directional rings (as illustrated in
As illustrated in
Packets are message transport units for intercommunication between various components. Routing involves identifying a path which is a set of routers and physical links of the network over which packets are sent from a source to a destination. Components are connected to one or multiple ports of one or multiple routers; with each such port having a unique identification (ID). Packets can carry the destination's router and port ID for use by the intermediate routers to route the packet to the destination component.
Examples of routing techniques include deterministic routing, which involves choosing the same path from A to B for every packet. This form of routing is oblivious of the state of the network and does not load balance across path diversities which might exist in the underlying network. However, deterministic routing is simple to implement in hardware, maintains packet ordering and easy to make free of network level deadlocks. Shortest path routing minimizes the latency as it reduces the number of hops from the source to destination. For this reason, the shortest path is also the lowest power path for communication between the two components. Dimension order routing is a form of deterministic shortest path routing in two-dimensional (2D) mesh networks. Adaptive routing can dynamically change the path taken between two points on the network based on the state of the network. This form of routing may be complex to analyze for deadlocks and have complexities associated with maintaining packet ordering. Because of these implementation challenges, adaptive routing is rarely used in practice.
Deterministic algorithms like dimension order routing can be implemented using combinatorial logic at each router. Routing algorithms can also be implemented using look-up tables at the source node or at each router along the path on the network. Source routing involves the source node embedding routing information for each packet into the packet header. In its simplest form, this routing information is an ordered list of output links to take on each router along the path. The routing information is updated at each node to shift out the information corresponding to the current hop. A distributed approach to table based routing is using lookup tables at each hop in the network. These tables store the outgoing link information for each destination through the router. Table based implementation of routing algorithms offer additional flexibility and is more suited to dynamic routing.
An interconnect may contain multiple physical networks. Over each physical network, there may exist multiple virtual networks, wherein different message types are transmitted over different virtual networks. Virtual channels provide logical links over the physical channels connecting two ports. Each virtual channel can have an independently allocated and flow controlled flit buffer in the network nodes. In any given clock cycle, only one virtual channel can transmit data on the physical channel.
NoC interconnects often employ wormhole routing, wherein, a large message or packet is broken into small pieces called flits (also called flow control digits). The first flit is the header flit which holds information about this packet's route and key message level info along with some payload data and sets up the routing behavior for all subsequent flits associated with the message. Zero or more body flits follows the head flit, containing the remaining payload of data. The final flit is tail flit which in addition to containing the last payload also performs some book keeping to close the connection for the message. In wormhole flow control, virtual channels are often implemented.
The term “wormhole” refers to the way messages are transmitted over the channels: When the head of a packet arrives at an input, the destination can be determined before the full message arrives. This allows the router to quickly set up the route upon arrival of the head flit and then transparently forward the remaining body flits of the packet. Since a message is transmitted flit by flit, it may occupy several flit buffers along its path at different routers, creating a worm-like image.
Mesh topology for NoC is well suited to silicon implementation because of the inherent 2D structure of the topology which maps well to planar semiconductor processes. Traditional 2D mesh topology assumes a regular and symmetric layout with uniformly sized blocks. However in practice, blocks on a chip can vary widely in shape and dimensions. Further, the blocks may have restrictions on allowing interconnect infrastructure amidst its internal logic and wires. An example would be a large hard macro or embedded memory, with all metal layers occupied, thus disallowing any interconnect related logic or links to pass through it. These restrictions mean that interconnect wires on practical chips cannot be as regular and structured as a 2D-mesh topology. Heterogeneous cores of such systems would need a modified mesh topology with an irregular or asymmetric structure to interconnect them. Further, depending on the communication pattern within the system, additional redundant links and routers from a full 2D mesh can be removed. Such customized topologies will often be more power efficient than standard topologies.
From the above paragraph it is clear that physical layout or floor plan of a modem chip heavily influences the layout of the wires and components (e.g., routers) making up the system interconnect. Traditional methodology considers the system interconnect as just another subsystem of the chip developed using standard register transfer level (RTL) design and backend flow. This approach can create significant problems during the chip's physical design phase. The system interconnect can place large demands on metal/wiring resources and routing channels on the die. Further, ad hoc layout of the interconnect can cause wiring congestions on the die and can aggravate cross-talk and SI related issues. Routing around blockages can result in unpredictable inter-router wire lengths causing timing paths within the interconnect to show large negative slacks in top level timing.
The present inventive concept provides “physical design aware” customized sparse mesh topologies made up of irregular sized grids to interconnect non-homogenous cores on a chip. An exemplary technique for synthesizing the custom topology along with routing and deadlock avoidance in such interconnects is also provided.
a) and
An option for interconnecting heterogeneous blocks is to use a network of routers in an ad hoc topology. Such a topology would need each router to be fully identified by a network ID and routing algorithm over the network would have to be fully flexible, requiring complex source routing or distributed table based routing. Compared to this approach, the present inventive concept uses a regular mesh as the underlying topology for synthesizing a custom topology.
As illustrated in
As illustrated in
Typically, irregular topologies use distributed routing in the form of routing tables or use source routing. Both these techniques have performance, area and power costs associated with it and are not optimal for on chip networks. The present inventive concept provides a static routing technique which combines aspects of source routing and per-router fixed routing logic to achieve optimal cost routing in sparse mesh networks.
The present inventive concept gathers relevant physical information about the blocks of a chip and its layout to factor that information into micro-architecture and structure of the chip's NoC interconnect. This makes the generated interconnect conducive to easier physical layout and timing closure of the chip. X and Y physical dimensions of the chip and of all blocks on the chip and relative placement information for these blocks on the die is provided as input.
In addition to actual physical placement restrictions and requirements, high level floor plan is based on several system specifications, for example, but not limited to, intercommunication graphs, inter-block bandwidth and latency requirements, etc. For example, keeping blocks that communicate with each other using large communication bandwidth in close proximity would increase performance as well as reduce the number of sections of interconnect with high bandwidth links. Thus, logical placement of the blocks is guided by multiple cost metrics like performance, power and overall network resource requirements. Such a floor plan can be automatically generated as part of the flow, or an external floor planning tool can provide all the physical information needed.
Additional physical information regarding the porosity of various blocks to interconnect resources can also be specified. One of ordinary skill in the art will appreciate that interconnect resources may be, for example, but not limited to, routers, links, and other interconnect wires. For example, some blocks might allow channels for interconnect wires, some might allow both interconnect wires and routers, some blocks might allow wiring along either X or Y directions etc.
A host block attaches to the NoC interconnect using ports which it uses to send and receive messages to and from other blocks over the NoC interconnect. Each block may require one or more of these host ports. Physical location of these host ports on the physical foot print of the blocks is another essential information that can be conveyed through the chip floor-plan.
Based on the provided physical dimensions and total number of host ports required, the presented inventive concept first computes a full 2D mesh reference grid with appropriate X and Y dimensions that would be needed for the interconnect. As shown in
Routers are only required at grid points where message packets might change directions on the XY plane or exit to host blocks from the NoC. In other words, routers are needed only when packets need to switch from one port to another on their path. A router is only required at points where packets from multiple input links might contend for a common output link. Based on these criteria, redundant routers 801 and unused links 802 to the redundant routers are removed as illustrated in
When multiple redundant routers 803 are removed, multiple smaller link sections 804 of the original network can be merged into a single link 805. The merged link 805 might be too long, and resulting wire delay might cause timing issues on the path. In such cases, the unused routers on these links can instead be replaced by one or more pipeline register stages 806 as needed for accommodating timing constraints. Instead of pipeline register stages, repeater or buffer stages can also be used.
Since dimensional ordered XY/YX routing cannot be used for all point to point routes on the reduced mesh, other static routes using available routers and physical links of the mesh are needed. From the high level specification of all inter-block communications in the system, point-to-point routes for each valid source-destination pair of nodes on the reduced mesh grid is identified. The example embodiments visualize the reduced mesh as a directed graph, with routers forming vertices of the graph and available physical links between routers forming edges of the graph, as illustrated in
There is a possibility of finding multiple paths between two given end points and paths have to be chosen to balance performance and overall cost of the interconnect. While adding new communications, preference could be given to the reuse of paths which already exist in the network. This criterion tends to minimize the amount of resources needed to construct the system interconnect. A complementary criterion could be to choose a non-exiting path to achieve good load balancing across available path diversity in the network for concurrent traffic.
Inter-block routes can also be defined to create logical topologies such as trees or rings on the physical reduced mesh NoC. These logical topologies might be dictated by application requirements such as transaction or messages ordering.
Once physical paths are identified for communication between all valid pairs of end points on the interconnect, the exact technique for routing packets over these paths needs to be identified. The example embodiment uses a combination of source routing and low cost forwarding logic at each router along the path. At the network interface bridge of the router of each host block, a table is used to lookup the routing path to each destination node to which the host block communicates. The routing information is then embedded in the header of each packet to the destination. Along the route path, the information might be modified before the packet is delivered to the final destination.
The example embodiment restricts the number of turns allowed on a path to two in order to keep the size of routing information optimal. One of ordinary skill in the art will recognize that other variations are possible and are encompassed by the present inventive concept.
Referring to
[first turn] [second turn] [last router] [last router: exit port]
Once routing paths for all valid point-to-point communication between source-destination pairs of nodes on the system are mapped to the available physical channels, there could still be physical channels on the network which are completely unused. These channels can also be removed to create the final sparse mesh interconnect topology. This is illustrated in
A complex and fully customized set of routing paths are identified for intercommunication on a sparse mesh topology. This introduces a possibility of fundamental network level deadlocks in the interconnect. Hence, the example embodiment next applies the deadlock avoidance technique as disclosed in U.S. patent application Ser. No. 13/599,559, the disclosure of which is incorporated herein in its entirety by reference, to map each communication sequence in the design based on the point-to-point physical paths identified in earlier steps. Virtual channels are suitably selected on the physical links of the network such that the entire communication pattern in the system is free of cyclic channel dependencies and hence is free of deadlocks.
The computer system 1200 includes a server 1205 which may involve an I/O unit 1235, storage 1260, and a processor 1210 operable to execute one or more units as known to one of skill in the art. The term “computer-readable medium” as used herein refers to any medium that participates in providing instructions to processor 1210 for execution, which may come in the form of computer-readable storage mediums, such as, but not limited to optical disks, magnetic disks, read-only memories, random access memories, solid state devices and drives, or any other types of tangible media suitable for storing electronic information, or computer-readable signal mediums, which can include transitory media such as carrier waves. The I/O unit processes input from user interfaces 1240 and operator interfaces 1045 which may utilize input devices such as a keyboard, mouse, touch device, or verbal command.
The server 1205 may also be connected to an external storage 1250, which can contain removable storage such as a portable hard drive, optical media (CD or DVD), disk media or any other medium from which a computer can read executable code. The server may also be connected an output device 1255, such as a display to output data and other information to a user, as well as request additional information from a user. The connections from the server 1205 to the user interface 1240, the operator interface 1245, the external storage 1250, and the output device 1255 may via wireless protocols, such as the 802.11 standards, Bluetooth® or cellular protocols, or via physical transmission media, such as cables or fiber optics. The output device 1255 may therefore further act as an input device for interacting with a user.
The processor 1210 may execute one or more modules and the modules executed by the processor may communicate with one another. The block placement module 1211 may be configured to compute a reference grid and place blocks on the reference grid based on their physical dimensions, relative placement information, and host port requirement. The route construction module 1212 may be configured to determine and remove unusable and/or redundant ones of the plurality of routers and associated physical links and map inter-block communication over the remaining ones of the plurality of routers and physical links of the interconnect for routing messages between blocks. The virtual channel allocation module 1213 may be configured to select available virtual channels for a link in the route between endpoints of a section in the remaining ones of the physical channels such that the entire communication pattern in the system is free of cyclic channel dependencies.
In 1301, relevant physical information is gathered or obtained. For example but not by way of limitation, such physical information may include, but is not limited to, dimensions of the chip, dimensions of one or more blocks, a guidance floor plan, and information on porosity of one or more of the blocks. At 1302, information is gathered or obtained regarding a number of host ports that are necessary for each block. Further, at 1303, a size of a full 2-D mesh reference grid is computed. This computation may be performed by a computing process as would be understood by one of ordinary skill in the art.
At 1305, host ports of each of the blocks are attached to the corresponding connection points that are available on the grid. Further, at 1306, the porosity information obtained in 1301 is applied to remove one or more routers and links from the reference grid that are blocked. Accordingly, at 1307, redundant routers are removed from the reference grid, and at 1308, links are merged and pipeline stages are added as required to fall within the conditions of the timing requirement.
At 1309, the reduced mesh generated by the foregoing operations is considered with respect to computation of routes for one or more source-destination pairs. At 1310, a determination is made as to whether physical paths have been identified for all of the inter-block communication for the system. If the determination of 1310 is that the physical paths have not been completely identified, the process returns to 1309. On the other hand, once it has been determined that the physical paths have an identified for all specified inter-block communication in the system, at 1311, a process is performed to identify virtual channels on the physical links for deadlock avoidance with respect to the specified inter-block communication of the system. At 1312, a removal process is performed to remove unused routers and links, so as to create a final sparse mesh topology for the network on-chip.
Some portions of the detailed description are presented in terms of algorithms and symbolic representations of operations within a computer. These algorithmic descriptions and symbolic representations are the means used by those skilled in the data processing arts to most effectively convey the essence of their innovations to others skilled in the art. An algorithm is a series of defined steps leading to a desired end state or result. In the example embodiments, the steps carried out require physical manipulations of tangible quantities for achieving a tangible result.
The example embodiment of the algorithm to synthesize a customized sparse mesh topology can be summarize as a merging process where, starting from a full regular mesh, routers, links and resources of the network are merged or removed based on application specification and demand.
Other implementations of the example embodiments will be apparent to those skilled in the art from consideration of the specification and practice of the example embodiments disclosed herein. Various aspects and/or components of the described example embodiments may be used singly or in any combination. It is intended that the specification and examples be considered as examples, with a true scope and spirit of the embodiments being indicated by the following claims.
Number | Name | Date | Kind |
---|---|---|---|
5432785 | Ahmed et al. | Jul 1995 | A |
5764740 | Holender | Jun 1998 | A |
5991308 | Fuhrmann et al. | Nov 1999 | A |
6003029 | Agrawal et al. | Dec 1999 | A |
6249902 | Igusa et al. | Jun 2001 | B1 |
6415282 | Mukherjea et al. | Jul 2002 | B1 |
6925627 | Longway et al. | Aug 2005 | B1 |
7065730 | Alpert et al. | Jun 2006 | B2 |
7318214 | Prasad et al. | Jan 2008 | B1 |
7590959 | Tanaka | Sep 2009 | B2 |
7725859 | Lenahan et al. | May 2010 | B1 |
7808968 | Kalmanek, Jr. et al. | Oct 2010 | B1 |
7917885 | Becker | Mar 2011 | B2 |
8050256 | Bao et al. | Nov 2011 | B1 |
8059551 | Milliken | Nov 2011 | B2 |
8099757 | Riedle et al. | Jan 2012 | B2 |
8136071 | Solomon | Mar 2012 | B2 |
8281297 | Dasu et al. | Oct 2012 | B2 |
8312402 | Okhmatovski et al. | Nov 2012 | B1 |
8448102 | Kornachuk et al. | May 2013 | B2 |
8492886 | Or-Bach et al. | Jul 2013 | B2 |
8541819 | Or-Bach et al. | Sep 2013 | B1 |
8543964 | Ge et al. | Sep 2013 | B2 |
8601423 | Philip et al. | Dec 2013 | B1 |
8635577 | Kazda et al. | Jan 2014 | B2 |
8667439 | Kumar et al. | Mar 2014 | B1 |
8717875 | Bejerano et al. | May 2014 | B2 |
20020071392 | Grover et al. | Jun 2002 | A1 |
20020073380 | Cooke et al. | Jun 2002 | A1 |
20020095430 | Egilsson et al. | Jul 2002 | A1 |
20040216072 | Alpert et al. | Oct 2004 | A1 |
20050147081 | Acharya et al. | Jul 2005 | A1 |
20060161875 | Rhee | Jul 2006 | A1 |
20070118320 | Luo et al. | May 2007 | A1 |
20070244676 | Shang et al. | Oct 2007 | A1 |
20070256044 | Coryer et al. | Nov 2007 | A1 |
20070267680 | Uchino et al. | Nov 2007 | A1 |
20080072182 | He et al. | Mar 2008 | A1 |
20080120129 | Seubert et al. | May 2008 | A1 |
20090070726 | Mehrotra et al. | Mar 2009 | A1 |
20090268677 | Chou et al. | Oct 2009 | A1 |
20090313592 | Murali et al. | Dec 2009 | A1 |
20100040162 | Suehiro | Feb 2010 | A1 |
20110035523 | Feero et al. | Feb 2011 | A1 |
20110060831 | Ishii et al. | Mar 2011 | A1 |
20110072407 | Keinert et al. | Mar 2011 | A1 |
20110154282 | Chang et al. | Jun 2011 | A1 |
20110276937 | Waller | Nov 2011 | A1 |
20120022841 | Appleyard | Jan 2012 | A1 |
20120023473 | Brown et al. | Jan 2012 | A1 |
20120026917 | Guo et al. | Feb 2012 | A1 |
20120110541 | Ge et al. | May 2012 | A1 |
20120155250 | Carney et al. | Jun 2012 | A1 |
20130051397 | Guo et al. | Feb 2013 | A1 |
20130080073 | de Corral | Mar 2013 | A1 |
20130103369 | Huynh et al. | Apr 2013 | A1 |
20130151215 | Mustapha | Jun 2013 | A1 |
20130159944 | Uno et al. | Jun 2013 | A1 |
20130174113 | Lecler et al. | Jul 2013 | A1 |
20130207801 | Barnes | Aug 2013 | A1 |
20130219148 | Chen et al. | Aug 2013 | A1 |
20130263068 | Cho et al. | Oct 2013 | A1 |
20130326458 | Kazda et al. | Dec 2013 | A1 |
20140068132 | Philip et al. | Mar 2014 | A1 |
20140092740 | Wang et al. | Apr 2014 | A1 |
20140098683 | Kumar et al. | Apr 2014 | A1 |
20140115298 | Philip et al. | Apr 2014 | A1 |
Number | Date | Country |
---|---|---|
103684961 | Mar 2014 | CN |
2014059024 | Apr 2014 | WO |
Entry |
---|
U.S. Appl. No. 13/658,663—related matter. |
Abts, D., et al., Age-Based Packet Arbitration in Large-Radix k-ary n-cubes, Supercomputing 2007 (SC07), Nov. 10-16, 2007, 11 pgs. |
Das, R., et al., Aergia: Exploiting Packet Latency Slack in On-Chip Networks, 37th International Symposium on Computer Architecture (ISCA '10), Jun. 19-23, 2010, 11 pgs. |
Ebrahimi, F, et al., Fairness via Source Throttling: A Configurable and High-Performance Fairness Substrate for Multi-Core Memory Systems, ASPLOS '10, Mar. 13-17, 2010, 12 pgs. |
Grot, B., Preemptive Virtual Clock: A Flexible, Efficient, and Cost-Effective QOS Scheme for Networks-on-Chip, Micro '09, Dec. Dec. 16, 2009, 12 pgs. |
Grot, B., Kilo-NOC: A Heterogeneous Network-on-Chip Architecture for Scalability and Service Guarantees, ISCA '11, Jun. 4-8, 2011, 12 pgs. |
Grot, B., Topology-Aware Quality-of-Service Support in Highly Integrated Chip Multiprocessors, 6th Annual Workshop on the Interaction between Operating Systems and Computer Architecture, Jun. 2006, 11 pgs. |
Jiang, N., et al., Performance Implications of Age-Based Allocations in On-Chip Networks, CVA MEMO 129, May 24, 2011, 21 pgs. |
Lee, J. W., et al., Globally-Synchronized Frames for Guaranteed Quality-of-Service in On-Chip Networks, 35th IEEE/ACM International Symposium on Computer Architecture (ISCA), Jun. 2008, 12 pgs. |
Lee, M. M., et al., Approximating Age-Based Arbitration in On-Chip Networks, PACT '10, Sep. 11-15, 2010, 2 pgs. |
Li, B. et al CoQoS: Coordinating QoS-Aware Shared Resources in NoC-based SoCs, J. Parallel Distrib. Comput., 71 (5), May 2011, 14 pgs. |
International Search Report and Written Opinion for PCT/US2013/064140, Jan. 22, 2014, 9 pgs. |
International Search Report and Written Opinion for PCT/US2014/012003, Mar. 26, 2014, 9 pgs. |
International Search Report and Written Opinion for PCT/US2014/012012, May 14, 2014, 9 pgs. |
Ababei, C., et al., Achieving Network on Chip Fault Tolerance by Adaptive Remapping, Parallel & Distributed Processing, 2009, IEEE International Symposium, 4 pgs. |
Beretta, I, et al., A Mapping Flow for Dynamically Reconfigurable Multi-Core System-on-Chip Design, IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, Aug. 2011, 30(8), pp. 1211-1224. |
Gindin, R., et al., NoC-Based FPGA: Architecture and Routing, Proceedings of the First International Symposium on Networks-on-Chip (NOCS'07), May 2007, pp. 253-262. |
Yang, J., et al., Homogeneous NoC-based FPGA: The Foundation for Virtual FPGA, 10th IEEE International Conference on Computer and Information Technology (CIT 2010), Jun. 2010, pp. 62-67. |
Number | Date | Country | |
---|---|---|---|
20140115218 A1 | Apr 2014 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 13658663 | Oct 2012 | US |
Child | 14027651 | US |