Synthesis of Network-on-Chip (NoC) using performance constraints and targets

The performance-aware topology synthesis tool automatically selects clock sources and determines data width for NoC components, solving the problems of NoC design complexity and low efficiency in the existing technology, and achieving efficient network topology synthesis.

CN114691599BActive Publication Date: 2024-10-22ATRIS CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111577009.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-12-30
Filing Date
2021-12-22
Publication Date
2024-10-22
Estimated Expiration
2041-12-22

AI Technical Summary

Technical Problem

During the network-on-chip (NoC) topology synthesis process, it is difficult for existing technologies to automatically derive the data width and select the clock source for each component, resulting in a complex and inefficient design. Users need to manually confirm multiple solutions, which takes a long time.

Method used

Provides a performance-aware topology synthesis tool that automatically selects clock sources for each element of the NoC by defining well-defined performance parameters, such as data width and clock frequency requirements, and generates feasible network topologies that meet performance constraints.

Benefits of technology

The automated NoC topology synthesis process is realized, improving design efficiency and accuracy, reducing the time and complexity of manual operations by users, and ensuring the feasibility of the network under performance constraints.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114691599B_ABST
    Figure CN114691599B_ABST
Patent Text Reader

Abstract

Disclosed are systems and methods for implementing a tool for performing performance-aware topology synthesis of a network, such as a network on a chip (NoC). The tool provides network information. The tool uses the network information to automatically determine the data width and clock speed of each element in the network that meets network constraints and performance requirements. The tool is capable of quickly providing performance-aware topology synthesis while meeting targets and network constraints.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present technology is in the field of system design, and more specifically, relates to using performance constraints and goals in network-on-chip (NoC) topology synthesis. Background Art

[0002] Multiprocessor systems have been implemented in System-on-Chip (SoC) that communicate through a Network-on-Chip (NoC). The SoC includes instances of master (initiator) intellectual properties IP and slave (target) IP. Transactions are sent from the master to one or more slaves using industry standard protocols. A master device connected to the NoC sends a request transaction to a slave device using the address to select the slave. The NoC decodes the address and transmits the request from the master to the slave. The slave processes the transaction and sends a response transaction, which is transmitted back to the master by the NoC.

[0003] The design and implementation of the NoC can be done by the user (designer) or it can be automatically provided to the user through a topology synthesis tool. Regardless of how the design and implementation are done, performance and performance constraints are considered throughout the design (and topology synthesis) process. One known approach is for the user (human) to create the NoC. The user has to select the NoC elements, their data widths, and the clock sources to which the NoC elements should be connected. Given the complexity of existing systems, this approach is a very complex and tedious task for the user.

[0004] Another known method is that when a network is created by a topology synthesis tool, the tool uses a topology synthesis algorithm to calculate the required data widths and clocks to which the elements are connected for the generated network elements. Therefore, the tool may find different solutions each time it is run with slightly different constraints. If the results generated by the tool are very different each time, then this will cause the designer to have to spend a lot of time in the design to confirm the implementation work that has been done. This process cannot be performed manually by the user efficiently and with high accuracy. Therefore, a tool is needed to derive the data width and automatically select the clock source for each element of the NoC. Summary of the invention

[0005] According to various embodiments and aspects of the present invention, systems and methods are provided for a topology synthesis tool that generates a network, such as a network on a chip (NoC), that derives data width and selects a clock source for each element of the NoC. The tool implements performance-aware topology synthesis, including using network element definitions with well-defined performance parameters (such as data width and clock frequency requirements) in the network. An advantage of the present invention is that the tool executes a process and generates a feasible network that considers performance constraints and goals throughout the topology synthesis process. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] For a more complete understanding of the present invention, reference is made to the accompanying drawings. The present invention is described according to aspects and embodiments in the following description with reference to the accompanying drawings or figures (figures), wherein the same reference numerals represent the same or similar elements. It is to be understood that these drawings should not be viewed as limiting the scope of the present invention, and the presently described aspects and embodiments of the present invention and the best mode currently understood are described in additional detail through the use of the drawings.

[0007] Figure 1 A connection diagram between sources and sinks through a network is shown in accordance with aspects and embodiments of the present invention.

[0008] Figure 2 The flowchart is shown as being executed by a tool for synthesizing a network topology according to aspects and embodiments of the present invention.

[0009] Figure 3 A network with connectivity according to aspects and embodiments of the present invention is shown, and elements are grouped into various layers.

[0010] Figure 4A The initial steps of a topology synthesis process through a network according to aspects and embodiments of the present invention are shown.

[0011] Figure 4B Another step of the topology synthesis process through the network is shown according to aspects and embodiments of the present invention.

[0012] Figure 4C Another step of the topology synthesis process through the network is shown according to aspects and embodiments of the present invention.

[0013] Figure 4D Another step of the topology synthesis process through the network is shown according to aspects and embodiments of the present invention.

[0014] Figure 4E Another step of the topology synthesis process through the network is shown according to aspects and embodiments of the present invention.

[0015] Figure 4F Another step of the topology synthesis process through the network is shown according to aspects and embodiments of the present invention.

[0016] Figure 5 A topology synthesis process on one layer of a network according to aspects and embodiments of the present invention is shown.

[0017] Fig. 6A The invention according to aspects and embodiments is shown Figure 5 A process in the topological synthesis process.

[0018] Figure 6BThe invention according to aspects and embodiments is shown Figure 5 Different processes in the topological synthesis process.

[0019] Figure 7 A flow process for determining data width and clock when performing a forward pass (requesting a network) of a topology synthesis process according to aspects and embodiments of the present invention is shown.

[0020] Figure 8 A process for determining data width and clock when performing back propagation (response network) of a topology synthesis process according to aspects and embodiments of the present invention is shown.

[0021] Fig. 9 A matrix of bandwidth constraints or requirements in a request network is shown in accordance with aspects and embodiments of the system.

[0022] Fig. 10A Bandwidth constraint determination for various scenarios in a request network according to aspects and embodiments of the system is shown.

[0023] Fig. 10B Bandwidth constraint determination in response to various scenarios in a network according to aspects and embodiments of the system is shown.

[0024] Fig.11 A topology synthesis process of a network with annotations of the bandwidth of the entire network is shown according to aspects and embodiments of the present invention.

[0025] Fig.12 A topology synthesis process for checking the admissibility of the bandwidth of any edge according to aspects and embodiments of the present invention is shown.

[0026] Fig.13 The topology synthesis process of the foldable nodes according to aspects and embodiments of the present invention is shown.

[0027] Fig.14 The invention according to aspects and embodiments is shown Fig.13 Connection diagram. DETAILED DESCRIPTION

[0028] Various examples of the present technology are described below, which illustrate various aspects and embodiments of the present invention. In general, the examples can use the described aspects in any combination. All statements describing principles, aspects and embodiments and their specific examples herein are intended to include their structural and functional equivalents. In addition, such equivalents include currently known equivalents and equivalents developed in the future, that is, any development element that performs the same function, regardless of its structure.

[0029] Note that, as used herein, the singular forms "a", "an", and "the" include plural references unless the context clearly dictates otherwise. References in this specification to "one embodiment", "an embodiment", "certain embodiments", "various embodiments", or similar language mean that a particular aspect, feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention.

[0030] As used herein, "source", "master device" and "initiator" refer to similar intellectual property (IP) blocks or units, and these terms can be used interchangeably in the scope and embodiments of the present invention. As used herein, "sink", "slave device" and "target device" refer to similar IP blocks or units, and these terms can be used interchangeably in the scope and embodiments of the present invention. As used herein, a transaction can be a request transaction or a response transaction. Examples of request transactions include write requests and read requests.

[0031] Thus, the appearance of the phrases "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. In addition, the aspects and embodiments of the invention described herein are exemplary only and should not be construed as limiting the scope or spirit of the invention as understood by one 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 the principles, aspects, and embodiments of the invention are intended to encompass structural and functional equivalents thereof. Such equivalents include currently known equivalents and equivalents developed in the future. In addition, where the terms "includes," "comprising," "having," "having," "having," or variations thereof are used in the detailed description and claims, these terms are intended to be included in a manner similar to the term "comprising."

[0032] According to aspects and embodiments of the present invention, based on a set of rules and a set of constraints, the tool creates a NoC by connecting configurable elements (switches, pipes, buffers, adapters, etc.). The tool considers the data width of the elements. The tool considers the clock source of each element. Elements that communicate in pairs (source, sink) and are connected to communicate through the network are configured with data width and clock source.

[0033] When considering paired elements (source, sink), the maximum achievable bandwidth between paired elements is based on the flow between paired elements (source, sink), which is the only flow through the network. In other words, if the flow between paired elements (source, sink) is the only flow in the network, the maximum achievable bandwidth between paired elements (source, sink) is the minimum of the bandwidth of the source and the bandwidth of the sink, which is carried by the network for communication between paired elements (source, sink). As used herein, bandwidth (in bits / second) is based on the data width and clock frequency of the element.

[0034] Reference now Figure 1 , a connection diagram of a source 100 and a sink 110 is shown according to various aspects and embodiments of the present invention, each element in the source 100 and the sink 110 having a data width and a clock frequency. In other words, each source has a data width specified for it and a clock bound to the source. In addition, each sink has a data width defined for it and a clock bound to the sink. Each clock has a defined frequency. In addition, the data widths defined at the sources and sinks are independent of the connectivity diagram, and the scope of the present invention is not limited by the connectivity diagram. For example, source 102 is connected to sinks 112, 116, and 118 having similar or different data widths.

[0035] According to various aspects and embodiments of the present invention, bandwidth is calculated at a source that defines the maximum bandwidth that can be carried by an outbound connection. According to various aspects and embodiments of the present invention, bandwidth is calculated at a sink that defines the maximum bandwidth carried by an inbound connection. For example, source 102 and sink 116 have a clock rate of 1 GHz and a data width of 4 bytes. Source 106 has a clock rate of 1.2 GHz and a data width of 8 bytes. Sink 116 has a clock rate of 1 GHz and a data width of 4 bytes.

[0036] Reference now Figure 2 , shows a NoC topology synthesis process 200 performed by a tool and the steps followed according to various aspects and embodiments of the present invention. Process 200 receives as input network information and parameters from a user, including: a connection diagram, floor plan information to be modeled, and other constraints and performance targets. Process 200 also receives parameters, including: clock speeds of all clock signals available to sources and sinks; data widths of all sources and sinks; usage scenarios for various connections; requested bandwidth limits; and performance targets. Parameters are input to a tool using process 200 by a user (designer) of the network.

[0037] According to various aspects and embodiments of the present invention, process 200 implements an algorithm that will simultaneously derive the data width and select a clock source for each element of the network. These parameters are selected using a defined (and unmodifiable) data width and using a defined clock source for the source and sink. This information is input to a tool that performs process 200. According to various aspects and embodiments of the present invention, all clock sources can be used for any element connected to the network in order to match the clock frequency identified or defined for the element.

[0038] The tool performs a process 200 to ensure that for any given pair (source, sink) transmitted through the network, the maximum achievable bandwidth between the pair can be carried by the network. The maximum achievable bandwidth is determined as the minimum of the source maximum bandwidth and the sink maximum bandwidth. Once the maximum achievable bandwidth is selected, the data width and clock source of all network elements associated with the pair of routes (source, sink) will determine the network bandwidth capacity at any point in the network between the pair of routes (source, sink).

[0039] According to various aspects and embodiments of the present invention, the process 200 of implementing the algorithm performs network topology synthesis based on user defined parameters. Network topology synthesis includes the following: topology synthesis transformation, link capacity propagation, link capacity checking and link capacity deviation, which are explained in more detail herein. The output of the network synthesis step produces logical and functional network descriptions, physical placement of network elements, link capacity annotations and link capacity deviations, which are explained herein.

[0040] According to some aspects and embodiments of the present invention, the process uses rules for automatically propagating data widths throughout network elements. If the data width of an inlet port or outlet port of an element is unknown, a value of 0 is assigned to the MAX function in the following formula. In other words, the value is ignored in the propagation unless all inlets or outlets are undefined; in this case, the value is 0. The process uses the following rules and assigns data widths to elements as follows:

[0041] MIN(MAX(data width of ingress port), MAX(data width of all egress ports))

[0042] According to some aspects and embodiments of the present invention, the process uses rules for automatically propagating clock connections (frequencies) to network elements. If the clock frequency of an ingress port or egress port is unknown, a value of 0 is assigned to the MAX function in the following equation. The process uses the following rules and distributes clocks to elements based on clock frequency as follows:

[0043] MIN(MAX(ingress port clock frequency), MAX(all egress ports clock frequency))

[0044] As mentioned above, the topology synthesis process includes creating links in the network that are related to link capacity calculation, including link capacity propagation, link capacity checking, and link capacity deviation. Figure 3 , according to some aspects and embodiments of the present invention, a connection diagram 300 is shown for connecting a source 100 to a sink 110 (eg Figure 1 All routes (through the network) as shown in FIG. 300 propagate data through network elements (edges and nodes). FIG. 300 shows the nodes (circles) of the network to be synthesized. The synthesis takes into account the nodes, inter-node links, and link capacities. Each node contains information about its data width and clock frequency to propagate for each (source, sink) pairing in the network.

[0045] According to various aspects and embodiments of the present invention, the topology synthesis process applies forward and backward propagation back to back until the annotation is stable. The annotation is stable when the data width and clock frequency of no node are constantly changing between passes. The topology synthesis process divides the network nodes into disjoint buckets so that all nodes in the bucket have the same layer (i.e., network depth along the route) or the distance to the nearest source along the data propagation path. For the non-limiting example shown, starting from source 100, the data width and clock frequency are grouped into buckets step by step (from left to right) until the sink 110 is reached. Therefore, the first group of nodes starting from source 100 are placed in the bucket and marked as layer #1. The process continues to generate buckets and different layers, such as buckets for layer #2, layer #3, layer #4, and layer #5. This will generate an annotated network for forward propagation. When all layers are traversed and all sinks are reached, reverse propagation is performed in a similar manner, by propagating from the sink 110, through the nodes of the network, through the network to the source 100 with data width and clock speed. Back propagation uses the annotated map 300 generated by the previous process (ie, forward propagation).

[0046] Reference now FIG. 4A to FIG. 4F , shows a network 400 that summarizes the data width propagation rules at various stages (for any given node at any given layer) during a forward pass through a network node (e.g., NoC) from source 100 to sink 110. This process determines the link capacity along the path or route of a (source, sink) pair through the network. Figure 4A Starting from a source 100 and showing the propagation through the layers to a sink 110 . Figure 4B The link capacity calculation when propagating from source 100 to layer #1 is shown. Figure 4C The link capacity calculation when propagating from layer #1 to layer #2 is shown. Figure 4D The link capacity calculation when propagating from layer #2 to layer #3 is shown. Figure 4E The link capacity calculation when propagating from layer #3 to layer #4 is shown. Figure 4FThe link capacity calculation is shown when propagating from layer #5 to layer #5.

[0047] Reference now Figure 5 , Fig. 6A and Figure 6B , a forward propagation process for stabilizing and annotating a network is shown according to various aspects and embodiments of the present invention. In this example, layer #3 is used as an example of data width calculation. The process is applicable to all layers, although for clarity, only layer #3 is discussed herein. Layer #3 includes three nodes, each with data width on the inlet and outlet sides, for the first propagation from layer #2 to layer #3. Each node in the bucket of layer #3 includes a data width (DW) on the inlet and outlet sides. Using the rule MIN(MAX(data width inlet port), MAX(data width outlet port)) for node 610, the result is MIN(MAX(DW1, DW2), MAX(undefined DW4, undefined DW6)). If the data width is not defined, a value of 0 is assigned. Therefore, the result of node 610 is MAX(DW1, DW2). Similar calculations for nodes 620 and 630 result in the following data widths: for node 620, it is DW3, and for node 630, it is MIN(DW3, DW7). After completing the first pass of forward propagation, additional back-to-back forward and backward passes are performed until the data width stabilizes.

[0048] According to various aspects and embodiments of the present invention, Figure 6B An arbitrary process is shown in . This arbitrarily selected process (selected from any number of possible processes after the first process) is used as an example and not a limitation on the scope of the invention. The process again applies the rule MIN(MAX(data width of the inlet port), MAX(data width of all outlet ports)). This time, the outlet port data width is known from the previous pass. The process applies the rule MIN(MAX(data width inlet port), MAX(data width outlet port)) to node 610. The result is MIN(MAX(DW1, DW2), MAX(DW4, DW6)). Similar calculations for nodes 620 and 630 result in the following data widths: for node 620, it is MIN(DW3, DW5), and for node 630, it is MIN(DW3, DW7).

[0049] Reference now Figure 7, according to aspects and embodiments of the present invention, a process for determining data width and clock using forward propagation analysis through all nodes and edges (elements) in a network is shown. The process starts at step 710. At step 710, all nodes in the network are labeled or identified relative to the source closest to the node. This information is used to organize the nodes into layers. At step 712, nodes of the same layer are assigned to buckets and stored in buckets. The buckets are sorted in ascending order according to their proximity to the source. The initial or first bucket of the first layer is selected. The stagnation flag is set to true. As discussed herein, according to an aspect and embodiment of the present invention, the stagnation flag can be represented by a stagnation flag value using a single bit, where "1" is true and "0" is false. The first layer structure with bucket nodes is analyzed. At step 714, the process determines whether all buckets of different layers have been visited and analyzed. If not, the process continues to step 716. At step 716, the next bucket that has not been visited is selected, which is in the next layer with a higher value. The buckets are visited and analyzed.

[0050] In step 718, the process determines whether all nodes in the same layer (same layer) have been visited and analyzed according to data width and clock speed. If yes, the process continues to step 714. If not, the process continues to step 720, where unvisited nodes are analyzed. Calculations are performed on the nodes using rules. According to aspects and embodiments of the present invention, each node includes an access flag for indicating whether the node has been visited and analyzed. After the calculation is performed on the node, the access flag of the node is marked as visited.

[0051] During forward and backward propagation, the tool updates the stall flag using the stall flag value as it propagates from one layer to another. The tool checks the stall flag. In some embodiments, at the end of propagation through each layer, in some embodiments, at the end of a full (forward or backward) propagation, in some embodiments, at the end of each layer, at the end of a full propagation through all layers, examples of which are discussed herein. According to some embodiments, the stall flag value of the stall flag is reset to "true" at the beginning of each propagation phase.

[0052] According to some aspects and embodiments of the present invention, a local stagnation flag at each node or each layer can track the stability of the topological synthesis of each node. For the example of a local stagnation flag, the flag starts with a stagnation flag value of "true". The topological synthesis tool updates the flag each time the tool processes a node, during forward or reverse propagation. If the data width / clock information of the node changes, the flag is updated; it is changed to a "false" value. When all nodes have been visited, at the end of propagation (forward or backward) at any given layer (or according to some aspects, after all layers have been analyzed), the tool checks the flag. If the value of all flags is "true", no nodes were updated during the propagation process. This means that the topological synthesis of the network is stagnant (stable) and the tool completes (stops) the propagation process. If any stagnation flag value is "false", the data width / clock of the node has changed or updated.

[0053] According to some aspects and embodiments of the present invention, a global stagnation flag is used to track the stability of the entire network topology synthesis. For the example of a global stagnation flag, the flag starts with a stagnation flag value of "true". The topology synthesis tool updates the flag each time the tool processes a node, during forward or reverse propagation. If the data width / clock information of the node changes, the flag will be updated and changed to a "false" value. At the end of the propagation (forward or backward), when all nodes have been visited, the tool will check the flag. If the stagnation flag value is "true", no node was updated during the propagation process. This means that if the topological synthesis of the network is stable, the tool completes (stops) the propagation process.

[0054] In step 722, the data or information of the node is updated based on the result to set the data width and clock speed (DW / clock) of the node. Considering the example of a global stagnation flag, once the data width and clock of the node are determined, the stagnation flag value can be determined. If the data width / clock information of the node changes due to being accessed, the stagnation flag is set to false. As long as the parameters of the node do not change, the stagnation flag remains unchanged and the stagnation flag value remains "true". On the other hand, if there is a change in the performance data (data width and clock) of any node through the bucket layer, the stagnation flag is updated and the stagnation flag value is changed to true.

[0055] According to some aspects of the invention, as the process continues to determine whether the recently calculated data width and clock have caused the DW / clock value of any node to change, the stagnation flag is checked; as the tool processes and accesses new layers and more nodes, the calculated data causes the DW / clock to change, and the stagnation flag will be updated. Changes to performance data for previously visited nodes are generated by changing or updating stagnation flags to track visits to new (previously unvisited) nodes and layers. As outlined herein, the information (performance data) determined for nodes that have been visited can change as new nodes of different layers are visited and analyzed.

[0056] If all nodes have been visited in step 718 and all layer buckets have been visited in step 714, the process continues to step 730 to determine whether the stall flag has changed. If the process determines that the stall flag value is true, the process ends because stalling has occurred and the topological synthesis of the network is stable. On the other hand, if during the calculation of the data width and clock speed of each node, the resulting calculation changes or becomes outdated, then stalling does not occur and stalling is invalidated. This change is identified and tracked as a change in the stall flag, so the stall flag value is false. Stated another way, if the calculation information of any node (DW / clock) has changed, the stall flag will change from true to false (in one example, this is the bit that changes). If at step 730, the process determines that there is no stall, which means that the stall flags are all false, the process proceeds to Figure 8 On the other hand, if at step 730 the process determines that stagnation exists and the stagnation flag value is "true", the process ends.

[0057] Reference now Figure 8 , according to aspects and embodiments of the present invention, a process for determining data width and clock using back propagation analysis through all nodes and edges (elements) in a network is shown. Processing begins at step 810. At step 810, all nodes in the network are labeled or identified relative to the sink closest to the node. This information is used to organize the nodes into layers. At step 812, nodes of the same layer are assigned to buckets and stored in the buckets. The buckets are sorted in ascending order according to the distance from the sink. The first layer initial or first bucket closest to the sink is selected for analysis and calculation. The stagnation flag value of the stagnation flag is set to "true". The first layer bucket of the node is analyzed. At step 814, the process determines whether to visit and analyze all buckets at different layers. If not, the process continues to step 816. At step 816, the next bucket that has not been visited yet at the next numerically higher layer is selected. The bucket was visited and analyzed.

[0058] At step 818, the process determines whether all nodes in the same layer bucket have been visited and analyzed based on data width and clock speed. If yes, the process continues and returns to step 814. If not, the process continues to step 820, where an unvisited node is selected. The calculation is performed on the node using the rule. The node is marked as visited.

[0059] In step 822, the data or information generated by the calculation (for the node being analyzed) is updated. The data or information is stored for the node; this will set the data width and clock speed (DW / clock) of the node. Once the data width and clock of the node are determined, the data can be updated as described above with respect to Figure 7 The stagnation flag is updated as outlined, keeping in mind that a global stagnation flag or a local stagnation flag or both may be used. A "true" value for the stagnation flag indicates that the data of the node has not changed. In other words, the node is stable. The stagnation flag remains unchanged as long as the parameters of the node do not change. According to aspects and embodiments of the present invention, the stagnation flag is a value bit represented by "1" or "0" to indicate "true" or "false". As the process continues (propagates), the stagnation flag is checked for all nodes to see if the calculated data width and clock have changed when the process accesses new layers and nodes. As outlined herein, the determination information of the node may change when new nodes at different layers are accessed and analyzed.

[0060] If, at step 818, the process determines that all nodes have been visited, and at step 814, all layer buckets have been visited, the process continues to step 830 to determine if a stall occurred at any node during the propagation from the lowest layer bucket to the highest layer bucket. Stalling occurs if the DW / clock calculation result for each node does not change during the calculation of the data width and clock speed of each node. If there is a change (in any node DW / clock), the change is identified and tracked as a change in the stall flag value, which is changed to "false". If the calculated information has changed, the stall flag is changed to false (in one example, this is a changed bit). If there is no stall, which means that the stall flag is false, processing proceeds to Figure 7 . If, at step 830, there is stagnation (the stagnation flag value is "true"), this means that the calculations of all nodes are stagnant (or stable), and the process ends. If the value changes, the stagnation flag (for the changed node) will change from true to false. As described above, if at step 830, the process determines that there is a stagnation flag value of "true", the process ends.

[0061] According to some aspects and embodiments of the present invention, the network is using a dedicated path for each (source, sink) pair. The algorithm calculates the data width and clock source of the element through the design of the previous algorithm, which can ensure that any type of bandwidth requirements are met.

[0062] According to some aspects and embodiments of the invention, the network does not dedicate a path to each (source, sink) pair. Therefore, the network synthesis process will combine network resources to minimize the number of wires and logic in the network. Combinatorial transformations using node and edge clusters are bandwidth performance aware and control optimizations to ensure that the required bandwidth is always supported, and clustering will not be executed if the resulting cluster no longer supports the bandwidth requirement.

[0063] Reference now Fig. 9 , two tables or matrices are shown. Matrix 910 illustrates the bandwidth requirements for read (request and response) transactions in a network according to one aspect and embodiment of the present invention. Matrix 920 specifies the bandwidth requirements for write (request and response) transactions through a network according to one aspect and embodiment of the present invention. As used herein, a "scenario" is a superposition of two different 2D matrices, one for reading and one for writing, such as matrix 910 and matrix 920. Each matrix includes information or data about sources and sinks; each sink has columns and each source has rows. Then, for each (source, sink) pair, there is a bandwidth value, which is a number corresponding to the requirement or constraint of the pair. For example, in matrix 910, the bandwidth requirement for the (S1, M1) pair is 100MB / sec. For entries that are not connected in the table, there is no indication value. The overall network performance based on the bandwidth constraints is represented by the entries in the matrix, and the network needs to support all scenarios, even if only one scenario can be running at any time. User input includes or defines a user intent, such as a set of possible scenarios for bandwidth capacity at different points in the network or the entire network. The scope of the present invention is not limited by any number of scenarios.

[0064] Reference now Fig. 10A, three different bandwidth scenarios are shown for the request network. Each path for a pair of (source, sink) in the request network has a bandwidth constraint. For example, for simplicity and clarity, source 108 is selected and discussed. In scenario 1, source 108 communicates with two sinks. In scenario 1, one (source, sink) pair of source 108 has a 2GB / sec bandwidth constraint and the other (source, sink) pair has a 1GB / sec bandwidth constraint. In scenario 2, one (source, sink) pair of source 108 has a 1.5GB / sec bandwidth constraint and the other (source, sink) pair has a 1GB / sec bandwidth constraint. In scenario n, one (source, sink) pair of source 108 has a 1.8GB / sec bandwidth constraint and the other (source, sink) pair has a 1.2GB / sec bandwidth constraint. is connected to the source. For any number of (source, sink) pairs, the process requires determining the user's intent based on the required bandwidth described in the possible scenarios. Therefore, for any number of use cases, the algorithm considers constraints (bandwidth requirements) during network optimization transformations (such as node and edge clustering). The process uses the algorithm to ensure that the bandwidth capacity of the network meets the bandwidth required at each point in the network. According to one aspect and embodiment of the present invention, the resulting optimization just meets the required bandwidth capacity of the network and each point. According to one aspect and embodiment of the present invention, if the number of bandwidth capacity conflicts exceeds the specified number of allowed conflicts, the resulting optimization fails.

[0065] Reference now Fig. 10B , three different bandwidth scenarios for the response network are shown. Each path of a pair of (sink, source) in the response network that mirrors the corresponding request network path has a bandwidth constraint. For example, for simplicity and clarity, the path from all sinks to source 108 is selected and discussed. In scenario 1, one sink to source 108 path has a 2GB / sec bandwidth constraint, while the other sink to source 108 path has a 1GB / sec bandwidth constraint. In scenario 2, one sink to source 108 path has a 1.5GB / sec bandwidth constraint, while the other sink path has a 1GB / sec bandwidth constraint. In scenario n, one (sink, source) path has a bandwidth constraint of 1.8GB / sec; the other (sink, source) path has a bandwidth constraint of 1.2GB / sec. This process ensures that the bandwidth capacity of the response network meets the required bandwidth of each point in the network. According to one aspect and embodiment of the present invention, the resulting optimization just meets the required bandwidth capacity of the network and each point. According to one aspect and embodiment of the present invention, if the number of bandwidth capacity conflicts exceeds the specified number of allowed conflicts, the resulting optimization fails.

[0066] Reference now Fig.11 , shows a connection diagram for synthesizing a network having a source 100 and a sink 110 to generate an annotated connection diagram with network elements. Fig.11For illustration purposes, path 1110 is identified. A connection diagram for each (source, sink) pair of all sources 100 is displayed. The data width and clock of each source are determined. Using the data and clock of each source, the process determines the network bandwidth of each element and annotates the connection diagram with the bandwidth requirement (BW) at each node. For example, source 108 communicates with sink 118. The annotated network shows the bandwidth requirement through network elements BW5 and BW12.

[0067] According to various aspects and embodiments of the present invention, the process calculates the bandwidth capacity of each topology synthesis stage and stores it at the edge of the network being constructed. Circles represent network elements (e.g., switches, mergers, splitters, adapters). The process will continue until the network meets the constraints and is allowed. For each scenario, if the bandwidth capacity of each edge meets the scenario constraints of the bandwidth required by each edge, the network is acceptable in terms of performance constraints. The process determines the data width and clock speed by calculating the bandwidth based on propagation, thereby achieving admissibility.

[0068] Reference now Fig.12 , according to various aspects and embodiments of the present invention, a process for checking the admissibility of edge bandwidth is shown. For example, edge 1210 (labeled as e9) with bandwidth BW9 is the selected edge to be checked. Edge 1210 falls within Fig.11 BW9 is the bandwidth that satisfies all maximum bandwidth constraints in all scenarios in the mode (write or read) corresponding to the network type (request or response network) of the topology synthesis. To identify the constraints to consider, the process identifies all routes (edges and nodes) through edge 1210. These are Fig.12 1210 is shown as a solid line; routes that do not pass through edge 1210 are shown as dotted lines. This process identifies all involved connections. This process extracts all corresponding scenario constraints from the scenario matrix discussed above. This process checks the bandwidth BW9 based on the value of the scenario matrix. This process ensures that the performance-driven goals considered during the network synthesis process, including all bandwidth flowing at each edge of the network, comply with the scenario constraints while minimizing physical resources.

[0069] According to some aspects of the invention, the performance target can be relaxed by allowing a margin that all bandwidths of the edge need to drop. The margin can be used as an input to the process. As a non-limiting example, the margin is expressed as a percentage, such as 5%, 7%, etc.

[0070] According to various aspects and embodiments of the present invention, the deviation from the target (defined by the user) is measured as the maximum deviation, which is the maximum bandwidth deviation across all network edges. According to various aspects and embodiments of the present invention, the deviation from the target (as defined by the user) is measured as the average deviation, which is the average of the bandwidth of all network edges. The process attempts to find a feasible solution for the bandwidth. If no feasible solution is found, or if the initial scenario constraints are not feasible, then the process will generate a list of all conflicts that are provided to the user. For any edge marked with a bandwidth higher than the maximum limit of one of the scenarios, a violation is identified; this will cause the process to generate a conflict. When the difference between the calculated bandwidth and the maximum limit exceeds the specified deviation range, a conflict will be raised / reported.

[0071] According to various aspects and embodiments of the present invention, the process checks bandwidth admissibility at any time to see if the fully annotated network is admissible. The process is checking to ensure that all edges meet the performance constraints. Another way is that the process checks the acceptability of all network edges.

[0072] According to various aspects and embodiments of the present invention, the process checks bandwidth admissibility by verifying that the application topology composite transformation can be submitted and accepted. Alternatively, the process only checks the portion of the network affected by the change. For example, a portion of the network may be changed by a node cluster.

[0073] Reference now Fig.13 and Fig.14 , shows a network for identifying possible clusters of two nodes according to some aspects and embodiments of the present invention. Node clustering occurs when at least two nodes are selected to collapse into one node. The process uses a checking method to determine whether the nodes can be clustered. The process will identify all edges that are part of the route that will result in a new node through the clustering of two nodes (or through two old nodes). Nodes 1320 and 1322 are selected for clustering. In the example of clustering nodes 1320 and 1322, the process identifies edges 1310 and 1312, both of which originate from node 1330, which can be combined because edge 1310 is connected to node 1320 and edge 1312 is connected to node 1322. Once nodes 1320 and 1322 are collapsed, the corresponding edges 1310 and 1312 are also collapsed, forming edge 1410.

[0074] According to various aspects and embodiments of the present invention, the process determines the bandwidth values ​​for the result edge 1410 of the requesting network and all other edges connected to the collapsed nodes 1320 and 1322. For clarity, as a non-limiting example, consider two edges 1310 and 1312. Node 1320 has two inlet ports, one of which has a bandwidth of BW7. Node 1322 has an inlet port with a bandwidth of BW8. According to various aspects and embodiments of the present invention, when the different edges are reduced to one, the bandwidth considered for examination is the combination / sum of the bandwidths of all involved edges. The result of the folding is node 1420 with a bandwidth of BW7+BW8. When nodes 1320 and 1322 are folded, similarly, edges 1310 and 1312 are merged or combined onto edge 1410 with a combined bandwidth of BW7+BW8. The process determines the routing and identifies the corresponding (source, sink) pair connections. Therefore, all maximum bandwidth boundaries in the scenario matrix can be identified. This process checks all identified edges along the identified routes against the limits or boundaries of the matrix.

[0075] The process identifies and reports any violations or deviations. The process also updates the global performance targets (and their deviations) at this point. For performance-driven node clusters, all topology synthesis transformations incorporate physical / floorplanning constraints, node / switch size constraints, and performance constraints.

[0076] Certain methods according to various aspects of the present invention may be performed by instructions stored on a non-transitory computer-readable medium. The non-transitory computer-readable medium stores code including instructions that, if executed by one or more processors, will cause a system or computer to perform the steps of the methods described herein. Non-transitory computer-readable media include: rotating magnetic disks, rotating optical disks, flash random access memory (RAM) chips, and other mechanically moving or solid-state storage media. Any type of computer-readable medium is suitable for storing code including instructions according to the various examples.

[0077] Certain examples are described herein, and it should be noted that different combinations of different components in different examples are possible. In order to better explain the examples, significant features are given; however, it is obvious that certain features can be added, modified and / or omitted without modifying the functional aspects of the examples described.

[0078] Various examples are methods of using a machine or a combination of machines to act. The method examples are complete anywhere in the world, and most of the constituent steps will appear. For example, according to various aspects and embodiments of the present invention, the IP elements or units include: a processor (such as a CPU or GPU), a random access memory (RAM - such as off-chip dynamic RAM or DRAM), a network interface for wired or wireless connection, such as Ethernet, Wi-Fi, 3G, 4G Long Term Evolution (LTE), 5G, and other wireless interface standard radios. The IP may also include various I / O interface devices, such as touch screen sensors, geolocation receivers, microphones, speakers, Bluetooth peripherals, and USB devices (such as keyboards and mice, etc.). By executing instructions stored in RAM devices, the processor performs the method steps as described herein.

[0079] Some examples are one or more non-transitory computer-readable media for storing such instructions of the methods described herein. Any machine holding a non-transitory computer-readable medium containing any necessary code can implement the examples. Some examples can be implemented as: a physical device such as a semiconductor chip; a hardware description language representing the logical or functional behavior of such a device; and one or more non-transitory computer-readable media arranged to store such a hardware description language representation. The description of the principles, aspects, and embodiments described herein include their structural and functional equivalents. Elements described herein as coupled have an effective relationship that can be achieved by direct connection or indirectly with one or more other intermediate elements.

[0080] Those skilled in the art will recognize many modifications and variations. Modifications and variations include any relevant combination of disclosed features. The description of the principles, aspects, and embodiments described herein include their structural and functional equivalents. The elements described herein as "coupling" or "communication coupling" have an effective relationship that can be achieved by using a direct connection or indirect connection of one or more other intervening elements. The embodiments described herein as "communicating with another device, module, or element" or "communicating with it" include any form of communication or link, and include an effective relationship. For example, a wired connection, wireless protocol, near field protocol, or RFID can be used to establish a communication link.

[0081] Therefore, the scope of the present invention is not limited to the exemplary embodiments shown and described herein. Rather, the scope and spirit of the present invention are embodied by the appended claims.

Claims

1. A system comprising: Memory, used to store information and code; a processor in communication with the memory; A tool for network performance-aware topology synthesis, the tool communicating with the processor and the memory, the processor accessing the memory to execute the code, which when executed causes the tool to: receiving network information for the network, the network information including components and performance constraints; assigning each component to a layer based on proximity to an IP block to generate a plurality of layers; organizing the plurality of layers in an increasing order based on proximity; analyzing each element in the same layer using the tool to calculate performance data for each element in the same layer until all layers in the plurality of layers have been analyzed, wherein the performance data includes a clock frequency and a data width for each element; storing the performance data for each element in a memory; setting an access flag value for each element to indicate that the performance data for the element is stored; Checking the value of the stagnation flag to determine whether the performance data of any component has changed or remained unchanged; as well as If the value of the stall flag is true, the performance-aware topology synthesis of the network is generated using the stored performance data.

2. The system of claim 1, wherein the elements include nodes and edges that form a route through the network. The system of claim 1 , wherein the network is a request network. The system of claim 1 , wherein the network is a responsive network.

5. The system of claim 1, wherein the block of intellectual property is a source.

6. The system of claim 1, wherein the intellectual property block is a sink.

7. The system of claim 1, wherein the data width and the clock frequency for each element are used to determine a bandwidth for each element.

8. A method for performance-based network synthesis, the method comprising: receiving, at a tool, network information for the network, wherein the network information includes components and performance requirements; assigning each element in the network to a bucket layer based on proximity of an IP block of the element to generate a plurality of bucket layers; organizing the plurality of bucket layers based on proximity of each element that is part of a route through the network that the IP block uses to communicate with another IP block; calculating, using the tool, performance data for all elements at a first bucket layer selected from the plurality of bucket layers, wherein the performance data includes a clock frequency and a data width for each element; storing performance data of each element using the calculated performance data; setting a stall flag to indicate that performance data is stored and that the performance data determined for an initial access to the first bucket layer is unchanged; Calculate performance data for all components at the next bucket level; storing the performance data for each element of the next bucket layer; If the performance data for any element is updated, updating the stagnation flag to false; and If the stall flag is true, a performance-aware synthesis of the network is generated.

9. The method of claim 8, wherein elements include nodes and edges forming a route through the network.

10. The method of claim 8, wherein the network handling request transaction comprises at least one of: a read transaction and a write transaction. The method of claim 10 , wherein the intellectual property block is an initiator.

12. The method of claim 8, wherein the network handles a response transaction.

13. The method of claim 12, wherein the block of intellectual property is a target.

14. The method of claim 8, wherein the data width and the clock frequency for each element are used to determine a bandwidth for each element.