The present technology is in the field of system design and, more specifically, related to topology generation of a network-on-chip (NoC).
Multiprocessor systems have been implemented in systems-on-chips (SoCs) that communicate through network-on-chips (NoCs). A NoC is an example for designing scalable communication architecture for SoCs. It is more desirable to eliminate the conditions that result in a deadlock in a network when using NoCs in design applications. It is currently known to route messages through an array of data processing nodes to facilitate a plurality of paths directed to a destination without the occurrence of a message delayed by a routing deadlock. An important aspect when designing application-specific NoCs is a more desirable deadlock-free operation with the use of minimum power and area overhead. There are two main types of deadlocks that are known to occur in NoCs. The first type of deadlock is a routing dependent deadlock. The second type of deadlock is a message-dependent deadlock.
The SoCs include initiator intellectual properties (IPs) and targets IPs.
Transactions, in the form of packets, are sent from a master to one or more slaves using industry-standard protocols. The master, connected to the NoC, sends a request transaction to a slave, using an address to select the slave. The NoC decodes the address and transports the request from the master to the slave. The slave handles the transaction and sends a response transaction, which is transported back by the NoC to the master.
For a given set of performance requirements, such as connectivity and latency between source and destination, frequency of the various elements, maximum area available for the NoC logic, minimum throughput between sources and destinations, position on the floorplan of elements attached to the NoC, it is a complex task to create an optimal NoC that fulfills all the requirements with a minimum amount of logic and wires. This is typically the job of the chip architect or chip designer to create this optimal NoC, and this is a difficult and time-consuming task. In addition to this being a difficult task, the design of the NoC is revised every time one of the requirement changes, such as modifications of the chip floorplan or modification of the expected performance. As a result, this task needs to be redone frequently over the design time of the chip. This process is time consuming, which results in production delays. Therefore, what is needed is system and method to efficiently generate a NoC from a set of constraints, which are listed as requirements, and a set of inputs. The system needs to produce the NoC with all its elements placed on a floorplan of a chip.
A current problem exists for supporting regular network topologies when performing NoC synthesis, especially when introducing new connections in an existing NoC. Thus, there is a need for a having the ability to support regular network topologies while allowing synthesis of a NoC topology that avoids both routing dependent deadlocks and message-dependent deadlocks and are integrated with the topology synthesis phase of the NoC design flow. Considering the deadlock avoidance issue during topology synthesis, a more desirable NoC design may be achieved compared to traditional methods, where the deadlock avoidance issue is managed with separately. Further, there is a need for new connections to be added without overwriting a previous result.
In accordance with various embodiments and aspects of the invention, a tool is disclosed that generates a network-on-chip (NoC) using a set of constraints and a set of step with inputs to produce or generate the NoC with all of its elements while supporting regular network topologies. The elements of the NoC are placed on a floorplan of a chip. An advantage of the invention is simplification of the design process and the work of the chip architect or designer. A NoC generation or synthesis method having an incremental design, whereby, the NoC is generated or synthesized one connection at a time. In particular, a set of nodes of a source-destination pair and each new connection is synthesized by taking the set of existing connections as an input. New components including, but not limited to, switches and/or links may be created when synthesizing a new connection to define a network route from a source to a destination. It is within the scope of this invention for a destination to include, but not be limited to, being a list of components to be traversed. Further, configuring the newly created components including, but not limited to a clock and/or data width is an important aspect when synthesizing a new connection.
In accordance with various embodiments and aspects of the invention, the tool is capable of reusing existing segments of a generated topology, even though the topology may be highly irregular and tree-like. Accordingly, in some designs, such as for one subsystem of the design with complex connectivity, it is be preferable to opt for a known regular topology, such as a Mesh network, due to its simplicity and efficiency in terms of implementation cost and bandwidth distribution. Thus, the tool can leverage generic formalism and add seamless support for regular topologies.
In an embodiment, the set of existing connections may by empty. As a result, the NoC will be synthesized from the beginning of the process without an existing connection.
The order in which connections are implemented affects the quality of the topology. In an embodiment, the order may be determined based on a plurality of mathematical optimization techniques and/or heuristics. For example, the order may be determined by the area of the floorplan spanned by the connections. In another example, the order may be a latency based communication policy configured to measure delays in a packet's arrival at the destination and implements the more sensitive connections at a higher priority. It is within the scope of this invention for the synthesis order to be an input to the method for deterministic and incremental physically-aware NoC topology synthesis.
The system configured for automatically generating or synthesizing a deadlock-free NoC from a specification includes: a floorplan, being a physical layout of the chip; technological parameters including, but not limited to, wire delay and/or logic density; floorplan regions including, but not limited to, modules and/or clock limits; a clock domain crossing (CDC) being the traversal of a signal in a synchronous digital circuit from a first clock domain into a second clock domain; performance requirements; and a component having a configuration and location on the floorplan, connectivity requirements between a first component and a second component, and a communication policy between the first component and the second component.
A method of transforming an existing deadlock-free network-on-chip (NoC) configuration, the existing deadlock-free network-on-chip configuration including of a plurality of existing physical segments and a set of existing turns that are allowable between segments, the plurality of existing physical segments and the set of existing turns forming a plurality of existing routes. The method includes generating a new NoC configuration by generating and/or synthesizing at least a first new connection into the existing deadlock-free network-on-chip configuration, the first new connection having a source and a destination, the generating creating a first new deadlock free route from the source to the destination, whereby the new network-on-chip configuration is deadlock free, and wherein the generating a first new deadlock-free route from the source to the destination preserves existing routes.
The generating including: for each existing route, translating the route into segments and turns; identifying one or more new connections to be synthesized, each of the plurality of new connections having undefined routes, a source, and a destination associated therewith, the one or more new connections being identified together with a synthesis order; for each of the one or more new connections and in accordance with sorting, identifying a plurality of possible routes from the source to the destination for the new connection.
The possible route includes of one or more of: a new entry segment connecting the source to the existing deadlock-free NoC configuration; a new exit segment connecting the existing deadlock-free network-on-chip configuration to the destination; one or more new internal segments connecting existing segments of the existing deadlock-free network-on-chip configuration, whereby the one or more new internal segments connect the source to the destination, wherein a new internal segment is not considered if it would create a cyclic dependency among segments, thereby causing a deadlock; and existing segments only.
Filtering the plurality of possible routes based on one or more criteria, which includes: a communication policy criteria based on allowed latency of the route from the source to the destination of the new connection; any of a plurality of user-defined criteria; selecting one of the plurality of possible routes for synthesis; and/or synthesizing the selected possible route into the existing deadlock-free network-on-chip configuration.
In accordance with one or more embodiments of the invention, the first new deadlock free route includes at least one of an existing physical segment and a new physical segment.
In accordance with one or more embodiments of the invention, the generating a first new deadlock-free route from the source to the destination preserves all existing routes.
In accordance with one or more embodiments of the invention, incrementally repeating the generating of new deadlock free routes.
In accordance with one or more embodiments of the invention, identifying a synthesis order includes sorting the one or more new connections in accordance with a heuristic.
In accordance with one or more embodiments of the invention, at least a portion of the existing segment is physically immutable.
In accordance with one or more embodiments of the invention, an endpoint of at least a portion of an existing segment is a switch. The switch is physically immutable.
In accordance with one or more embodiments of the invention, any component is logically mutable causing at least one existing component being reconfigured in response to a new resulting topology.
In accordance with one or more embodiments of the invention, selecting one of the plurality of possible routes for synthesis includes selecting the possible route that maximizes use of the existing deadlock-free network-on-chip configuration, wherein existing segments are made physically immutable, with an exception of an entry and an exit segment, a switch is made physically immutable, and at least one network element is made logically immutable.
In accordance with one or more embodiments of the invention, selecting one of the plurality of possible routes for synthesis includes selecting the possible route that minimizes latency of the route.
In accordance with one or more embodiments of the invention, selecting one of the plurality of possible routes for synthesis includes selecting the possible route that maximizes use of the existing deadlock-free network-on-chip configuration, wherein existing segments are not made physically immutable, switches are allowed to have new connections, and existing network elements are made logically immutable, which includes keeping clock frequencies and other attributes unchanged.
In accordance with one or more embodiments of the invention, selecting one of the plurality of possible routes for synthesis includes selecting while existing segments are not made physically immutable, switches are allowed to have new connections, and existing network elements are reconfigurable.
A method for incremental synthesis and transformation of a deadlock-free network-on-chip topology includes receiving an input being a network topology. The network topology is translated into an existing segment; reusing the existing segment in a new route, the existing segment is formed by a path between a first node and a second node; splitting the existing segment recursively at any geographical point along the path between the first node and the second node to form a split segment; responsive to the splitting, synthesizing the new route by adding a new segment and a new turn to the split segment; and generating the deadlock-free network-on-chip topology by routing a packet from the turn of the existing segment to the new segment, thereby, avoiding a deadlock in the network.
In accordance with one or more embodiments of the invention, identifying a synthesis order including sorting the one or more new connections in accordance with a heuristic.
In accordance with one or more embodiments of the invention, at least a portion of the existing segment is physically immutable.
In accordance with one or more embodiments of the invention, an endpoint of the at least a portion of the existing segment is a switch. The switch is physically immutable.
In accordance with one or more embodiments of the invention, any component is logically mutable causing at least one existing component being reconfigured in response to a new resulting topology.
A non-transitory computer readable medium for storing code, which when executed by one or more processors, would cause the processor to: receiving an input topology of a network-on-chip (NoC) to determine a source-destination pair to be selected for synthesis and at least one existing connection; transcribing the source-destination pair into a pair of segments; transcribing the at least one existing connection into a pair of existing segments; determining if the NoC is deadlock-free; responsive to determining, if the NoC is the deadlock-free, extracting the pair of segments that do not have defined routes and sort them using a heuristic; inputting the pair of segments and the pair of existing segments into a configuration explorer, the configuration explorer determining a configuration for routing from a source to a destination of the source-destination pair, using a communication policy, the communication policy is configured to receive user defined parameters associated with the source-destination pair, the communication policy is in communication with a configuration filtering module, the configuration filtering module configured to output eligible configurations; selecting, using a configuration selection module, a final configuration to be implemented for connecting the source-destination pair; splitting the pair of existing segments that need to be connected to the pair of segments at a point dictated by the final configuration; creating a new segment dictated by the final configuration; activating corresponding turns connecting the pair of existing segments with the pair of segments; and computing the route from the source to the destination of the source-destination pair.
The following describes various examples of the present technology that illustrate various aspects and embodiments of the invention. Generally, examples can use the described aspects in any combination. All statements herein reciting principles, aspects, and embodiments as well as specific examples thereof, are intended to encompass both structural and functional equivalents thereof. Additionally, it is intended that such equivalents include both currently known equivalents and equivalents developed in the future, i.e., any elements developed that perform the same function, regardless of structure.
It is noted that, as used herein, the singular forms “a,” “an” and “the” include plural referents unless the context clearly dictates otherwise. Reference throughout this specification to “one aspect,” “an aspect,” “certain aspects,” “various aspects,” or similar language means that a particular aspect, feature, structure, or characteristic described in connection with any embodiment is included in at least one embodiment of the invention.
Appearances of the phrases “in accordance with one or more embodiments,” “in one embodiment,” “in at least one embodiment,” “in an embodiment,” “in certain embodiments,” and similar language throughout this specification may, but do not necessarily, all refer to the same embodiment or similar embodiments. Furthermore, aspects and embodiments of the invention described herein are merely exemplary, and should not be construed as limiting of the scope or spirit of the invention as appreciated by those of ordinary skill in the art. The disclosed invention is effectively made or used in any embodiment that includes any novel aspect described herein. All statements herein reciting principles, aspects, and embodiments of the invention are intended to encompass both structural and functional equivalents thereof. It is intended that such equivalents include both currently known equivalents and equivalents developed in the future.
As used herein, a “master” and a “initiator” refer to similar intellectual property (IP) modules or units and the terms are used interchangeably within the scope and embodiments of the invention. As used herein, a “slave” and a “target” refer to similar IP modules or units and the terms are used interchangeably within the scope and embodiments of the invention. As used herein, a transaction may be a request transaction or a response transaction. Examples of request transactions include write request and read request.
As used herein, a node is defined as a distribution point and/or a communication endpoint that is capable of creating, receiving, and/or transmitting information over a communication path or channel. A node may refer to any one of the following: switches, splitters, mergers, buffers, and adapters. As used herein, splitters and mergers are switches; not all switches are splitters or mergers. As used herein and in accordance with the various aspects and embodiments of the invention, the term “splitter” describes a switch that has a single ingress port and multiple egress ports. As used herein and in accordance with the various aspects and embodiments of the invention, the term “merger” describes a switch that has a single egress port and multiple ingress ports.
Referring now to
Referring now to
Referring now to
Referring now to
Referring again to
In accordance with the various aspects of the invention, input 251 includes input about the global consolidation roadmap. The global consolidation roadmap includes a consolidation model that captures the global physical view of the connectivity of the floorplan's free space, as well as the connectivity across/between the initiators and targets. The global consolidation roadmap is modeled by a graph of physical nodes and canonical segments that are used to position the nodes. (splitters, mergers, switches, adapters) of the network under construction. The global consolidation roadmap is used to fasten computation. In accordance with various aspects of the invention, the global consolidation roadmap is persistent, which means that it is data the system exports and re-consumes in incremental synthesis and subsequent runs.
In accordance some aspects of the invention, input 259 incudes information about edge clustering. Edge clustering aims to minimize resources and enhancing performance goals through proper algorithms and techniques. In accordance with some aspects of the invention, edge clustering is applied in conjunction and in cooperation with input 260, node clustering. Edge clustering and node clustering can be used in combination by mixing, by being applied concurrently, or by being applied in sequence. The advantage and goal is to expand the spectrum of synthesis and span a larger solution space for the network.
In accordance with various aspects of the invention, input 262 includes information about re-structuring. Re-structuring includes a variety of transformations and capabilities. In accordance with some aspects of the invention, the transformations are logical in that there is a change in structure of the network. In accordance with some aspects of the invention, the transformation are physical because there is a physical change in the network, such as moving a node to a new location. Other examples of re-structing include: breaking a node into smaller nodes; reparenting between nodes; network sub-part duplication to avoid deadlocks and to deal with congestion; and physically re-routing links to avoid congestion areas or to meet timing constraints.
Referring now to
In accordance with the various aspects of the invention, another constraint includes extension of the clock domain and power domain constraints 212 can also be provided. The domain constraints 212 includes areas of the chip where logic belonging to a particular domain is allowed to be placed.
In accordance with the various aspects of the invention, capabilities of the logic library, which will be used to implement the NoC, are provided. The information includes the size of a reference logic gate, and the time it takes for a signal to cover a 1 mm distance.
Referring again to
In accordance with the various aspects of the invention, initiators and targets are communicatively connected to the NoC. An initiator is a unit that send requests, typically read and write commands. A target is a unit that serves or responds to requests, typically read and writes commands. Each initiator is attached to or connected to the NoC through a NIU. The NIU that is attached to an initiator is called an Initiator Network Interface Unit (INIU). Further, each target is attached to the NoC through an NIU. The NIU that is attached to a target is called a Target Network Interface Unit (TNIU). The primary functionality of the NoC is to carry each request from an initiator to the desired destination target, and if the request demands or needs a response, then the NoC carries each target's response to the corresponding requesting initiator. Initiators and targets have many different parameters that characterize them. In accordance with the various aspects of the invention, for each initiator and target, the clock domain and power domain they belong to are defined. The width of the data bus they use to send write and receive reads payloads is a number of bits. In accordance with the various aspects of the invention, the width of the data bus for the connection (the communication path to/from a target) used to send write requests and receive write responses are also defined. Furthermore, the clock and power domain definition are a reference to the previously described clock and power domains existing in the SoC, as described herein.
Continuing with
In accordance with the various aspects of the invention, initiators are not required to be able to send requests to all targets or slaves that are connected to the NoC. The precise definition of the target that can receive requests from an initiator is outline or set forth in the connectivity table, such as table 400. The connectivity and traffic class labelling information can be represented as a matrix. Each master has a row and each slave has a column. If a master must be able to send traffic to a slave, a traffic class label must be present at the intersection between the master row and the slave column. If no label is present at an intersection, then the tool does not need connectivity between that master and that slave. For example, master 1 (M1) is connectively communicating with slave 1 (S1) using a defined label 1 (L1) while M1 does not communicate with S2 and hence there is no label in the intersection of M1 and S2. In accordance with the various aspects of the invention, the actual format used to represent connectivity can be different, as long as each pair of master-slave combination has a precise definition of its traffic class, or no classification label if there is no connection.
Referring now to
A scenario can be represented as 2 matrices, one defining read throughputs and one defining write throughputs. In accordance with the various aspects of the invention, read throughput requirements will be used to size the response network, which handles data returning from slaves back to master. Write throughput requirements will be used to size the request network, which is data going from master to slave, in accordance with the various aspects of the invention. An example, in accordance with the various aspects of the invention, of the throughput requirements for the various scenarios is shown in table 500. The actual format used to represent a scenario can be different, as long as each pair of (master, slave) has a precise definition of its minimum required throughput for read and for write. In table 500, read transaction from M1 to S1 has a minimum performance throughput of 100 MB/s. In table 500, a write transaction from M1 to S1 has a minimum throughput of 50 MB/s.
In accordance with some aspects of the invention, scenarios are not defined for the tool, in which case the tool optimizes the NoC synthesis process for physical cost, such as lowest gate cost and/or lowest wire cost.
Referring now to
The data width of each switch, and the clock domain it belongs to, is computed using the data width of each attached interface, and their clock domain, as inputs to the tool. In accordance with the various aspects of the invention, each step that transforms the network, which is part of the NoC, also perform the computation of the data width and the clock domain of the newly created network elements.
Referring now to
Referring now to
Referring now to
Referring now to
Referring now to
In accordance with the various aspects of the invention, the tool transforms the network in order to reduce the number of wires used between switches achievable, while keeping the performances as defined in the scenarios, which are a set of required minimum throughput between master and slave. In accordance with the various aspects of the invention switches are clustered for performance aware switching, mergers and splitters that have been distributed on the roadmaps are treated like ordinary switches.
In accordance with an aspect of the invention, the tool uses a process that is iterative and will merge switches under the condition that performances are still met, until no further switch merge can occur. The tool uses a process that is described as follows:
In accordance with various aspects of the invention, it is possible for the process to ensure the switches do not grow above a certain size (maximum number of ingress ports, maximum number of egress ports). If a combined switch is above the set threshold, then the merge is prevented.
Referring now the
Referring again to
Continuing with
Referring now to
A turn, being a pair of segments, may be utilized in a manner that avoids deadlocks in a network. The network remains deadlock-free as long as no cycles exist between segments, given the allowed turn 1308, turn 1309, and turn 1310. In accordance with another aspect or embodiment of the invention, cycles may exist between the nodes. Turns have a dependency between the segments which is the basic mechanism that ensures that a network is deadlock-free. It is within the scope of this invention for cycles between nodes to exist, to reuse wire, without causing deadlocks so that only necessary channels are allocated to prevent node cycles. As a result, this eliminates unnecessary channels and reduces the associated wire cost associated therefrom.
Referring again to
Referring now to
A segment that has been split is no longer considered “as-is” because the split has resulted in sub-segments with variable routes. This recursive representation is essential for incrementality, as it ensures that segments which are part of existing routes and which may need to be split can still be recovered, as a succession of sub-segments, when re-constructing the existing routes. Splitting a segment allows the segment to be connected to a new segment. This results in a new set of turns.
In accordance with one aspect and embodiment of the invention, the system performs the generation and synthesis process and all existing network routes are translated into segments and turns. In an embodiment, the whole NoC is described as a set of at least one segment as defined by the physical path existing between two nodes (S,D) for example. In accordance with the various aspects and embodiments of the invention, if the network is not deadlock-free, the system provides a “fail” notice and returns to the user, as the network or NoC must be initially deadlock-free in accordance with one or more aspects of the invention. The system also extract the set of connections that do not have defined routes and/or connections that need to be synthesized. Sort the extracted set of connections given a heuristic. In accordance with the various aspects and embodiments of the invention, for each connection Source S to Destination D, the single connection synthesis process involves using a configuration explorer, a configuration filtering module, a configuration selection module, splitting, creating, and route computing. Configuring, by assigning a clock domain and a data width setting, each of the newly created components, switches and links, such that the bandwidth requirements are fulfilled.
‘is a flowchart illustrating method 1500 for a NoC generator using topology synthesis processing. Input 1503A to be synthesized may be new connection 1501 and/or input 1503B may be an existing segment 1502. New connection 1501 includes of creating new components, such as switches and/or links, defining a network route from S to D. Existing segment 1502 may be re-expressed as at least one segment and/or a pair of segments having at least one turn. An existing network has a set of turns that cannot be changed. When new segments are added, turns associated with the newly added segments are added as well to complete a route from S to D. The added turns do not generate cycles and/or deadlocks with existing turns.
Configuration explorer 1504 receives input 1503A being new connection 1501 and input 1503B being existing segment 1502. Since there are a plurality of ways to connect to a segment S to D, configuration explorer 1504 influences the best configuration based on each segment being assigned communication policy 1506. Configuration explorer 1504 explores different ways to connect S to D using exploration of legal configurations 1505. Legal configurations 1505 are a list of described parameters. Configuration explorer 1504 is configured to explore and/or review and analyze at least one configuration of possibilities indicating a location, traversing the segment, to split a segment from a list of meaningful configurations stored in memory. Configuration explorer 1504 may have a configuration with a new entry segment for connecting S to some segment of the NoC. If S is already connected, it already has an entry segment. Configuration explorer 1504 may have a configuration with a new exit segment for connecting.
The cost of a given path is updated at each step according to communication policy 1506. In an example, moving within an existing segment away from the destination may have more or less cost than creating a new segment that directly reaches the destination depending on whether communication policy 1506 favors wire length and/or latency. It is within the scope of this invention for a well-established, shortest path algorithm to explore both concrete segments and identify potential future segments, using the cost updates as a way to effectively implement several communication policies.
The main configuration exploration process (configuration explorer 1504) may be designed as specialized version of a common shortest-path algorithm including, but not limited to, A* and/or Dijkstra. A given step in the shortest path algorithm considers the different points that can be reached from the current point. The current point is at least one point along the physical path of an existing segment. The path from the current point in the current segment to a subsequent point is subject to considerations.
In an embodiment, the path may advance one step along the current segment's path. In an embodiment, if the end of the segment's path has been reached, the path may advance to the first point in the path of any of the next segments, such as segments that are directly connected to the current segment, and which the current segment is capable to “turn” to.
In an embodiment, if the destination is not connected, such as if no exit segment exists, the path may jump directly to the destination point. This corresponds to creating a new exit segment. The new and/or future exit segment is then added to the configuration.
In yet another embodiment, the path may jump to any point of any segment, as long as no cyclic-dependencies are created, the two segments have compatible communication policies, and the communication policy allows merging. This corresponds to creating a new internal segment, which is added to the configuration.
Referring again to
The first criteria is communication policy 1506 based criteria. A user may control the way in which new segments are created. Communication policy 1506 is a set of parameters that may be associated with any given connection in the network. The system may have a plurality of communication policies defined and each connection may be associated with one communication policy 1506. Communication policy 1506 has parameters and flags. In an example of a flag, low latency is when a connection should be implemented in a way that minimizes the total path length from source to destination. In another example of a flag, enable serialization is when the links involved in the path from source to destination are allowed to employ serialization to save wire. Some configurations for a given connection may not be legal with respect to communication policy 1506 governing the connection. Eligible configurations 1508 are a filtered version of legal configurations. In an example, if connection S to D is set to have a low latency communication policy, then a limit on the total length of the route and the number of hops or traversed components must be applied and configuration candidates that do not fall within these limits are discarded.
Referring again to
Once best configuration 1510 is selected, the system will implement 1511 best configuration 1510 by splitting the segments involved and creating 1512 new segments and turns and apply it to the network. It is within the scope of this invention for the best configuration to be the final configuration. When a segment is split, it is split at all the existing segments that need to be connected to new segments at the points dictated by the chosen configuration. In regards to optimization, if the splitting point is within a certain distance from one of the segment's endpoints, and the endpoint is a switch, then the endpoint shall be reused for the connection instead of creating a new switch. This can reduce the number of created switches. Creating 1512 the required new segments dictated by the chosen configuration and activate the corresponding turns. The newly created 1512 segments and turns in combination with existing segments 1502 and turns are input into routing tool 1513 that generates final route 1514. The route is computed from S to D given the newly created segments. The route is stored in memory. Routing tool 1513 is routing connections on the geographical floorplan because the segment is defined in terms of its geographical path following the floorplan.
In the illustration of
Referring again to
In an embodiment, the system may pre-set a number of common communication policies to make the choice easier for a user. It is more desirable for a user to pick from a list of presets instead of requiring a user to create a communication policy. Connections that are associated with different communication policies will have synthesized routes that are physically separated. During synthesis, configuration filtering module 1507 (
The basic method for incrementally synthesizing new connections while reusing existing segments is best shown in
In an alternate embodiment, incremental synthesis modes allow a user to customize how the existing topology is altered.
In regards to physical mutability of segments, a segment is mutable by default. The segment may be split to fork-out a new segment. A user may make a segment immutable if, for example, it is not desired to have a switch added to an existing route.
Referring to physical mutability of switches, a new segment may be connected to an existing endpoint of an immutable segment if the endpoint is a switch. If it is not desired to modify the physical size of the switch, then the switch may be immutable so that no new segments can be connected to the immutable switch.
Referring now to logical mutability of network elements, as a default, existing network elements including, but not limited to, data width and/or an assigned clock, are not reconfigured by the incremental synthesis process. Only newly created switches and adapters are configured. This may lead to inefficient configurations such as insufficient bandwidth and/or too many clock domain crossings. Any component may be marked as logically mutable to allow existing components to be reconfigured given new resulting topology. In an example of how preset incremental synthesis modes can be defined in the system based on the aforementioned concepts, three preset modes are discussed.
It is more desirable to preserve the greatest amount of existing topology. All segments are made physically immutable with the exception entry and exit segments because entry and exit segments are needed for implementing new connections. All switches are physically immutable and all the network elements are logically immutable. In an example, if one segment from S 1801 to D 1802 is marked immutable, and it will prevent splitting of the segment and facilitate a route around an existing segment. As a result, the existing segment remains unchanged.
In accordance with other aspects of the invention, extension of clock and power domains on the floorplan are provided and each element is tested to ensure it is located within the bounds of the specified clock and power domain. If the test fails, the element is moved until a suitable location is found where the test is passing. Once a suitable placement has been found for each element, a routing is done of each connection between element. The routing process will find a suitable path for the set of wires making the connections between elements. After routing is done, distance-spanning pipeline elements are inserted on the links if required, using the information provided regarding the capabilities of the technology, based on how long it takes for a signal to cover a 1 mm distance.
In accordance with some aspects and embodiments of the invention, the tool generates one or more computer files describing the generated NoC that includes:
The list of network elements with their configuration: data width, clock domain.
The position of each generated network element on the floorplan.
The set of routes through the network elements implementing the connectivity.
In accordance with the aspects of the invention, a route is an ordered list of network elements, one for each pair of (initiator, target) and one for each pair of (target, initiator). The route represents how traffic between the pairs will flow and through which elements.
In accordance with various aspects of the invention, the tool is used to generate metrics about the generated NoC, such as: histograms of wire length distribution, number of switches, histogram of switch by size.
In accordance with another aspect of the invention, the tool automatically inserts in the network various adapters and buffers. The tool inserts the adapters based on the adaptation required between two elements that have different data width, different clock and power domains. The tool inserts the buffers based on the scenarios and the detected rate mismatch.
Once the custom subnetwork description is established, the process includes, which is performed before starting the synthesis process, analyzing or processing each custom subnetwork description as follows:
With the subnetwork's new segments registered, the incremental synthesis process can be invoked to implement the new connections, while using the regular subnetwork whenever possible.
Referring again to
In accordance with some aspects and embodiments, the tool can be used to ensure multiple iterations of the synthesis are done for incremental optimization of the NoC, which includes a situation when one constraint provided to the tool is information about the previous run.
After execution of the synthesis process by the software, the results are produced in a machine-readable form, such as computer files using a well-defined format to capture information. An example of such a format is XML, another example of such a format is JSON. The scope of the invention is not limited by the specific format.
Some aspects of the invention employ an incremental approach to network synthesis. This incremental approach is useful in numerous contexts. For instance, in some embodiments, the incremental process begins from a specification and a clean floorplan. In these and other embodiments, some of which were discussed above,
In accordance with some aspects and embodiments, connections can have a communication policy, which specifies, for example, a connection's sensitivity to latency.
Certain methods according to the various aspects of the invention may be performed by instructions that are stored upon a non-transitory computer readable medium. The non-transitory computer readable medium stores code including instructions that, if executed by one or more processors, would cause a system or computer to perform steps of the method described herein. The non-transitory computer readable medium includes: a rotating magnetic disk, a rotating optical disk, a flash random access memory (RAM) chip, and other mechanically moving or solid-state storage media. Any type of computer-readable medium is appropriate for storing code including instructions according to various example.
Certain examples have been described herein and it will be noted that different combinations of different components from different examples may be possible. Salient features are presented to better explain examples; however, it is clear that certain features may be added, modified and/or omitted without modifying the functional aspects of these examples as described.
Various examples are methods that use the behavior of either or a combination of machines. Method examples are complete wherever in the world most constituent steps occur. For example, and in accordance with the various aspects and embodiments of the invention, IP elements or units include: processors (e.g., CPUs or GPUs), random-access memory (RAM—e.g., off-chip dynamic RAM or DRAM), a network interface for wired or wireless connections such as ethernet, WIFI, 3G, 4G long-term evolution (LTE), 5G, and other wireless interface standard radios. The IP may also include various I/O interface devices, as needed for different peripheral devices such as touch screen sensors, geolocation receivers, microphones, speakers, Bluetooth peripherals, and USB devices, such as keyboards and mice, among others. By executing instructions stored in RAM devices processors perform steps of methods as described herein.
Some examples are one or more non-transitory computer readable media arranged to store such instructions for methods described herein. Whatever machine holds non-transitory computer readable media including any of the necessary code may implement an example. Some examples may be implemented as: physical devices such as semiconductor chips; hardware description language representations of the logical or functional behavior of such devices; and one or more non-transitory computer readable media arranged to store such hardware description language representations. Descriptions herein reciting principles, aspects, and embodiments encompass both structural and functional equivalents thereof. Elements described herein as coupled have an effectual relationship realizable by a direct connection or indirectly with one or more other intervening elements.
Practitioners skilled in the art will recognize many modifications and variations. The modifications and variations include any relevant combination of the disclosed features. Descriptions herein reciting principles, aspects, and embodiments encompass both structural and functional equivalents thereof. Elements described herein as “coupled” or “communicatively coupled” have an effectual relationship realizable by a direct connection or indirect connection, which uses one or more other intervening elements. Embodiments described herein as “communicating” or “in communication with” another device, module, or elements include any form of communication or link and include an effectual relationship. For example, a communication link may be established using a wired connection, wireless protocols, near-filed protocols, or RFID.
To the extent that the terms “including”, “includes”, “having”, “has”, “with”, or variants thereof are used in either the detailed description and the claims, such terms are intended to be inclusive in a similar manner to the term “comprising.”
The scope of the invention, therefore, is not intended to be limited to the exemplary embodiments shown and described herein. Rather, the scope and spirit of present invention is embodied by the appended claims.
This application claims the priority benefit of U.S. Provisional Application Ser. No. 63/509,757 filed on Jun. 22, 2023 by Amir CHARIF et al and titled TOOL FOR SUPPORTING USE OF REGULAR NETWORK TOPOLOGIES IN GENERATING A NETWORK-ON-CHIP TOPOLOGY the entire disclosure of which is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
63509757 | Jun 2023 | US |