System-on-chip interconnection parameter determination method and device

By modeling system-level chip interconnection parameter decisions as linear planning problems, identifying critical path circuits and building models, the problem of traditional methods relying on experience and intuition is solved, and more efficient and accurate chip interconnection parameter decisions are achieved, which significantly reduces the number of Design time and improve energy efficiency.

CN118917270APending Publication Date: 2024-11-08BEIJING SMARTCHIP MICROELECTRONICS TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410737056.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

Traditional system-on-chip interconnect parameter decision-making methods rely on experience and intuition, resulting in increased design time and cost, and the optimization of the overall chip performance cannot be fully considered.

Method used

Model the system-level chip interconnection parameter decision problem as a linear planning problem. By obtaining the chip's circuit netlist, identifying the critical path circuit, and building a linear planning model, using the interconnection parameters as the decision variables, and the component's target result parameters and power consumption as constraints. The interconnection performance is maximized, and decision variables are obtained as the interconnection parameters of the chip.

Benefits of technology

It reduces interference from subjective judgments, improves the objectivity and accuracy of decision-making, effectively reduces the decision-making time of system-level chip interconnection parameters, improves energy efficiency indicators, and avoids the drawbacks of traditional methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118917270A_ABST
    Figure CN118917270A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of chip parameters. The embodiment of the invention provides a system-on-chip interconnection parameter determination method and device. The system-on-chip interconnection parameter determination method comprises the following steps: acquiring a circuit netlist set of a chip, and obtaining a critical path circuit from the circuit netlist set; taking interconnection parameters as decision variables, taking solving target result parameters and power consumption of components in the critical path circuit as constraint conditions, and taking maximization of interconnection performance based on the critical path circuit as a target function to obtain a linear programming model; and solving the linear programming model to obtain a solution of the decision variable as an interconnection parameter of the chip. According to the implementation mode provided by the invention, the interconnection parameter decision-making time of the system-on-chip can be effectively shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of chip parameter technology, and in particular to a method for determining system-level chip interconnection parameters, a device for determining system-level chip interconnection parameters, an electronic device and a corresponding storage medium. Background Art

[0002] In the field of chip design, system-level chip interconnection is an important issue. System-level chip interconnection includes designing and determining the connection mode and parameters between various modules in the chip to achieve good signal transmission and data exchange. Correctly deciding the system-level chip interconnection parameters is crucial to the realization of chip performance and functions. The traditional system-level chip interconnection parameter decision method is mainly based on experience and rules, relying on the experience and intuition of design engineers.

[0003] Traditional methods usually require multiple attempts and adjustments to achieve satisfactory chip performance, resulting in increased design time and cost. In addition, traditional methods often only focus on local optimization and fail to fully consider the optimization of the overall performance of the chip. Summary of the invention

[0004] The purpose of the embodiments of the present invention is to provide a method and device for determining system-level chip interconnection parameters, which significantly improves the decision-making efficiency by modeling the interconnection parameter decision problem as a linear programming problem, so as to at least solve some of the problems in the background technology.

[0005] In order to achieve the above-mentioned purpose, the present invention provides a method for determining interconnection parameters of a system-level chip, which includes: obtaining a circuit netlist set of a chip, and obtaining a critical path circuit from the circuit netlist set; using interconnection parameters as decision variables, using target result parameters and power consumption of components in the critical path circuit as constraints, and using maximization of interconnection performance based on the critical path circuit as an objective function to obtain a linear programming model; solving the linear programming model, and using the solution of the decision variables as the interconnection parameters of the chip.

[0006] Preferably, the target result parameters to be solved include at least one of bus device parameters, processor core parameters, cache parameters, memory parameters and peripheral parameters.

[0007] Preferably, obtaining the critical path circuit from the circuit netlist set includes: extracting circuit information from the circuit netlist set; the circuit information includes circuit structure, component layout and connection relationship; identifying the circuit information according to a critical path circuit identification word library to obtain the critical path circuit.

[0008] Preferably, the critical path circuit identification word library is constructed by the following steps: obtaining samples of multiple critical path circuits; extracting circuit information from the samples of each critical path circuit to obtain critical path circuit information; defining critical path circuit identification keywords based on the critical path circuit information; organizing the obtained critical path circuit identification keywords into the critical path circuit identification word library; and the critical path circuit identification word library triggers an update when an identification error occurs or a critical path circuit type is missing.

[0009] Preferably, before solving the linear programming model, the method further comprises: obtaining a numerical factor defined by a user; and adjusting the weights and / or constraints of factors in the linear programming model according to the numerical factor.

[0010] Preferably, after the solution of the decision variable is obtained as the interconnection parameter of the chip, the method also includes: deploying the obtained interconnection parameters in the chip, and simulating according to the circuit netlist of the deployed chip to obtain simulation results; and determining or iterating the interconnection parameters according to whether the simulation results meet the design requirements.

[0011] The present invention also provides a system-level chip interconnection parameter determination device, which includes: a circuit extraction module, which is used to obtain a circuit netlist set of a chip and obtain a critical path circuit from the circuit netlist set; a model construction module, which is used to obtain a linear programming model by taking interconnection parameters as decision variables, the solution target result parameters and power consumption of components in the critical path circuit as constraints, and maximizing the interconnection performance based on the critical path circuit as the objective function; and a parameter determination module, which is used to solve the linear programming model and use the solution of the decision variables as the interconnection parameters of the chip.

[0012] Preferably, the target result parameters to be solved include at least one of bus device parameters, processor core parameters, cache parameters, memory parameters and peripheral parameters.

[0013] Preferably, obtaining the critical path circuit from the circuit netlist set includes: extracting circuit information from the circuit netlist set; the circuit information includes circuit structure, component layout and connection relationship; identifying the circuit information according to a critical path circuit identification word library to obtain the critical path circuit.

[0014] Preferably, the critical path circuit identification word library is constructed by the following steps: obtaining samples of multiple critical path circuits; extracting circuit information from the samples of each critical path circuit to obtain critical path circuit information; defining critical path circuit identification keywords based on the critical path circuit information; organizing the obtained critical path circuit identification keywords into the critical path circuit identification word library; and the critical path circuit identification word library triggers an update when an identification error occurs or a critical path circuit type is missing.

[0015] Preferably, the device further comprises: a factor adjustment module, the factor adjustment module being used to: obtain a user-defined numerical factor before solving the linear programming model; and adjust the weights and / or constraints of the factors in the linear programming model according to the numerical factor.

[0016] Preferably, the device also includes a simulation verification module, which is used to: after the solution of the decision variable is obtained as the interconnection parameter of the chip, the obtained interconnection parameter is deployed in the chip, and simulation is performed according to the circuit netlist of the deployed chip to obtain simulation results; according to whether the simulation result meets the design requirements, the interconnection parameter is determined or iterated.

[0017] The present invention also provides an electronic device, comprising: at least one processor; a memory connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the at least one processor implements the steps of the aforementioned system-level chip interconnection parameter determination method by executing the instructions stored in the memory.

[0018] The present invention further provides a chip, which includes the aforementioned system-level chip interconnection parameter determination device.

[0019] The present invention also provides a machine-readable storage medium, on which instructions are stored. When the instructions are executed by a processor, the processor is configured to execute the steps of implementing the aforementioned method for determining system-level chip interconnection parameters.

[0020] The present invention also provides a computer program product, comprising a computer program, which implements the steps of the aforementioned method for determining system-on-chip interconnection parameters when executed by a processor.

[0021] The above technical solution has the following beneficial effects:

[0022] By modeling the system-level chip interconnection parameter decision problem as a linear programming problem, the interference of subjective judgment is reduced, and the objectivity and accuracy of the decision are improved. The implementation method of the present invention is applicable to any hardware IP combination parameter decision, and many parameter automatic decisions are carried out for chip system indicators, which can effectively reduce the interconnection parameter decision time of the system-level chip by more than 50% and improve the energy efficiency index by more than 10%. It avoids the many disadvantages of the traditional system-level chip interconnection parameter decision method that is mainly based on experience and rules and relies on the experience and intuition of design engineers.

[0023] Other features and advantages of the embodiments of the present invention will be described in detail in the subsequent detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present invention, but do not constitute a limitation on the embodiments of the present invention. In the accompanying drawings:

[0025] Figure 1 A schematic diagram of the steps of a method for determining system-on-chip interconnection parameters according to an embodiment of the present invention is shown;

[0026] Figure 2 A schematic diagram of a system-level chip interconnection model is shown;

[0027] Figure 3 A schematic diagram of a system-on-chip parameter decision device according to an embodiment of the present invention is schematically shown;

[0028] Figure 4 A schematic diagram of the implementation steps of a method for determining system-on-chip interconnection parameters according to an embodiment of the present invention is schematically shown;

[0029] Figure 5 The structure diagram of the device for determining system-on-chip interconnection parameters according to an embodiment of the present invention is schematically shown. DETAILED DESCRIPTION

[0030] The specific implementation of the embodiment of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the embodiment of the present invention, and is not used to limit the embodiment of the present invention.

[0031] Figure 1 The following is a schematic diagram showing the steps of a method for determining system-level chip interconnection parameters according to an embodiment of the present invention. Figure 1 As shown, a method for determining system-level chip interconnection parameters, the method comprising:

[0032] S01, obtaining a circuit netlist set of a chip, and obtaining a critical path circuit from the circuit netlist set;

[0033] S02, taking interconnection parameters as decision variables, taking target result parameters and power consumption of components in the critical path circuit as constraints, and taking maximization of interconnection performance based on the critical path circuit as an objective function, to obtain a linear programming model;

[0034] S03. Solve the linear programming model to obtain solutions of decision variables as interconnection parameters of the chip.

[0035] Through the above implementation, the linear programming algorithm can be used to find the optimal solution in a shorter time, reducing the trial and error cost and design time. By introducing the linear programming method, the effect of system-level chip interconnection parameter decision-making can be improved, thereby improving the overall performance and function of the chip.

[0036] In some embodiments of the present invention, the target result parameters to be solved include at least one of bus device parameters, processor core parameters, cache parameters, memory parameters and peripheral parameters. Figure 2 The schematic diagram shows the system-level chip interconnection model. Figure 2 As shown in FIG. 1 , the system includes bus devices, processor cores, caches, memories, and peripherals. The parameters of the above devices are usually represented in vector form. For example, bus device parameters are represented by the corresponding bus device vector z, where z = (Z1, Z2, Z3, ..., Z n ), where n = 1, 2, ..., n, which is defined in sequence according to the number of devices; similarly, the processor core parameters are represented by the corresponding processor core vector c, c = (C1, C2, C3, ..., C k ), k is defined in sequence according to the number of processor cores, such as 1, 2, ..., k; the cache parameter is represented by the corresponding cache vector h, h = (H1, H2, H3, ..., H s ), s is defined in sequence according to the number of cache blocks, such as 1, 2, ..., s; the memory parameter is represented by the corresponding memory vector m, m = (M1, M2, M3, ..., M t );t is defined in sequence according to the number of memories, such as 1, 2, ..., t; the peripheral parameters are represented by the corresponding peripheral vector i, i = (I1, I2, I3, ..., I w ), w is defined in sequence according to the number of memories, such as 1, 2, ..., w.

[0037] In some embodiments of the present invention, obtaining a critical path circuit from the circuit netlist set includes: extracting circuit information from the circuit netlist set; the circuit information includes circuit structure, component layout and connection relationship; identifying the circuit information according to the critical path circuit identification word library to obtain the critical path circuit. The step of extracting circuit information from the system-level chip circuit netlist set may include: for example, this step extracts key circuit information of interconnect logic from the circuit netlist set of the system-level chip, and this information includes circuit structure, component layout and connection relationship between circuit elements. Specifically, for example, the data transmission bit width of the bus, the delay time of signal transmission between different components, the capacity setting of the cache component, the working clock frequency of different peripherals, etc.

[0038] In some embodiments of the present invention, the critical path circuit identification word library is constructed by the following steps: obtaining samples of multiple critical path circuits; extracting circuit information from each critical path circuit sample to obtain critical path circuit information; defining critical path circuit identification keywords according to the critical path circuit information; organizing the critical path circuit identification keywords into a word library or dictionary, and storing the word library or dictionary; verifying and updating the constructed critical path circuit identification word library. In this step, a system-level chip critical path circuit identification word library or dictionary is established, which contains identification information of critical path circuits, and these identification information are used to help the system-level chip parameter parser accurately identify critical path circuits. Specifically, samples of critical path circuits are collected from system-level chip designs, and the number of samples is not limited here, but these samples should cover different types of critical paths, including critical paths between various functional units, critical paths for signal transmission, etc. By parsing the circuit netlist or other related design files, circuit information extraction is realized for each critical path circuit sample. The extracted critical path circuit information should include circuit structure, component layout, and connection relationship between circuit elements, etc. Based on the extracted critical path circuit information, determine the critical path circuit identification words, which should be able to accurately describe the characteristics and structure of the critical path circuit. For example, some keywords, abbreviations or specific naming rules are used to represent different types of critical path circuits. Organize the defined critical path circuit identification words into a word library or dictionary. The word library can be stored using a text file, a database or other data structure. Each identification word should be associated with the corresponding critical path circuit sample so that the subsequent parameter parser can accurately identify the critical path circuit. Verify and update the constructed critical path circuit identification word library. This can be achieved by comparing and verifying with more critical path circuit samples. If identification errors are found or certain critical path circuit types are missing, the identification word library can be updated and corresponding adjustments and improvements can be made.

[0039] In some embodiments of the present invention, before solving the linear programming model, the method further includes: obtaining a user-defined numerical factor; adjusting the weights and / or constraints of the factors in the linear programming model according to the numerical factor. In this embodiment, a way to intervene in the linear programming model is provided. The user can intervene in the numerical factors according to his own experience and needs. These numerical factors can adjust the weights and constraints in the linear programming model to meet the user's specific requirements for the system-level chip interconnection parameters. Exemplarily, these numerical factors can be for various factors that affect the interconnection parameters, such as power consumption, performance, area, delay, etc. Each numerical factor is defined with a reasonable range of values, which can be a continuous numerical interval or a discrete set of values. The user selects an appropriate numerical factor within the range of values ​​according to the specific situation and user needs. For example, the power consumption factor can be defined in the range of 1 to 100, and the performance factor can be defined in the range of 0 to 1. An example of its action process on the constraint conditions is as follows:

[0040] Taking the power consumption constraint of bus device vector z as an example, the adjusted constraint is: z·p z ≤P Z α, z∈n;

[0041] Among them, z is the bus device vector, p z is the power consumption calculation corresponding to the elements in the bus device vector, P Z is the cumulative power consumption calculation corresponding to the bus device vector, n is the number of bus devices, and α is the corresponding numerical factor.

[0042] Similarly: c.p c ≤P C β, c∈k;

[0043] h.p h ≤P H γ, h∈s;

[0044] m·p m ≤P M δ, m∈t;

[0045] i·p i ≤P I ·ε,i∈w;

[0046] Among them, p z 、p c 、p h 、p m 、p i The vector elements of the parameters represent the power consumption calculation, P Z , P C , P H , PM , P I They represent the cumulative power consumption calculation corresponding to the parameter vectors. α, β, γ, δ, and ε represent the corresponding numerical factors. On this basis, the specific formula of the objective function is:

[0047] c z ·z+c c ·c+c h ·h+c m ·m+c i ·i

[0048] Among them, c z 、c c 、c h 、c m 、c i They respectively represent the performance value measurement corresponding to the parameter vector.

[0049] Through the above implementation, the numerical factor is set as an adjustable parameter to achieve user intervention. The user sets the value of the numerical factor to adjust the parameter weight and / or constraint condition. The user can set the value of the numerical factor as needed, for example, by selecting a default value as the initial setting, or providing a user interface or command line interface to obtain the user's input value as the value of the numerical factor. This implementation can balance different optimization objectives and make the constructed linear programming model more flexible and adaptable.

[0050] In some embodiments of the present invention, after the obtained solution of the decision variable is used as the interconnection parameter of the chip, the method further includes: deploying the obtained interconnection parameter in the chip, and simulating according to the circuit netlist of the deployed chip to obtain a simulation result; determining or iterating the interconnection parameter according to whether the simulation result meets the design requirements. In step S04, the obtained interconnection parameters are mostly saved in the form of a system-level chip interconnection parameter result file, which contains parameter configuration information of each component. According to the system-level chip interconnection parameter result file, the circuit netlist of the system-level chip is updated. The interconnection parameter configuration is applied to circuit design, including the interconnection relationship, layout and connection mode of the components. Then, a suitable circuit simulation tool is selected to perform circuit simulation verification to verify the effectiveness of the new interconnection parameter configuration in terms of circuit performance. The simulation results obtained by the circuit simulation tool are used to evaluate the impact of the interconnection parameter configuration on circuit performance, such as power consumption, delay, signal integrity, etc. Compare the simulation results with the design requirements or preset performance targets to determine whether the interconnection parameter configuration meets the design requirements or preset performance targets. When it is not met, performance optimization needs to be continued. During the optimization process, the parameter configuration can be readjusted and a new round of circuit simulation verification can be performed until the design requirements or performance goals are met. Figure 3A schematic diagram of a system-on-chip parameter decision device according to an embodiment of the present invention is shown schematically. Figure 3 As shown, the system-on-chip parameter decision device includes a system-on-chip interconnection parameter decision device and an integrated circuit simulator, wherein the integrated circuit simulator is used to implement the simulation verification of the interconnection parameters in this embodiment.

[0051] Through the above implementation method, the circuit netlist of the system-level chip is updated according to the system-level chip interconnection parameter result file, and circuit simulation verification is performed. This can verify the effectiveness of the new parameter configuration in terms of circuit performance and perform necessary optimization to meet design requirements and performance goals.

[0052] Figure 4 The following is a schematic diagram showing the implementation steps of a method for determining system-level chip interconnection parameters according to an embodiment of the present invention. Figure 4 As shown, the implementation includes the following steps: inputting the system-level chip circuit netlist set and the system-level chip critical path circuit identification word library into the system-level chip interconnection parameter parser, and then combining the user experience intervention numerical factor to construct a system-level chip interconnection parameter linear programming model, and using a multidimensional linear programming solver to solve the model to obtain a system-level interconnection parameter result file. The system-level interconnection parameter result file is used to update the system-level chip circuit netlist, and the updated system-level chip circuit netlist is verified by system-level chip circuit simulation.

[0053] Through the above implementation methods, the interconnection parameter planning problem is transformed into a linear programming model solution problem, which significantly improves the decision-making efficiency of the interconnection parameters in the chip.

[0054] Based on the same inventive concept, an embodiment of the present invention further provides a system-on-chip interconnection parameter determination device. Figure 5 The structure diagram of the system-on-chip interconnection parameter determination device according to an embodiment of the present invention is schematically shown. Figure 5 As shown, the device includes: a circuit extraction module, which is used to obtain a circuit netlist set of a chip and obtain a critical path circuit from the circuit netlist set; a model construction module, which is used to obtain a linear programming model with interconnection parameters as decision variables, target result parameters and power consumption of components in the critical path circuit as constraints, and maximization of interconnection performance based on the critical path circuit as an objective function; and a parameter determination module, which is used to solve the linear programming model and use the solution of the decision variables as the interconnection parameters of the chip.

[0055] In some optional implementations, the target result parameters for solving include at least one of bus device parameters, processor core parameters, cache parameters, memory parameters, and peripheral parameters.

[0056] In some optional implementations, obtaining a critical path circuit from the circuit netlist set includes: extracting circuit information from the circuit netlist set; the circuit information includes circuit structure, component layout and connection relationship; identifying the circuit information according to a critical path circuit identification word library to obtain the critical path circuit.

[0057] In some optional embodiments, the critical path circuit identification word library is constructed by the following steps: obtaining samples of multiple critical path circuits; extracting circuit information from the samples of each critical path circuit to obtain critical path circuit information; defining critical path circuit identification keywords based on the critical path circuit information; organizing the obtained critical path circuit identification keywords into the critical path circuit identification word library; and the critical path circuit identification word library triggers an update when an identification error occurs or a critical path circuit type is missing.

[0058] In some optional embodiments, the device also includes: a factor adjustment module, which is used to: obtain a user-defined numerical factor before solving the linear programming model; and adjust the weights and / or constraints of the factors in the linear programming model according to the numerical factor.

[0059] In some optional embodiments, the device also includes a simulation verification module, which is used to: after the solution of the decision variable is obtained as the interconnection parameter of the chip, the obtained interconnection parameter is deployed in the chip, and simulation is performed according to the circuit netlist of the deployed chip to obtain a simulation result; according to whether the simulation result meets the design requirements, the interconnection parameter is determined or iterated.

[0060] The specific definition of each functional module in the above-mentioned system-level chip interconnection parameter determination device can refer to the definition of the system-level chip interconnection parameter determination method in the above text, which will not be repeated here. Each module in the above-mentioned device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules. It also uses a linear programming model to solve the interconnection parameters, and has the effect of improving the efficiency of interconnection parameter decision-making in the chip.

[0061] In some embodiments of the present invention, an electronic device is also provided, comprising: at least one processor; a memory connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the at least one processor executes the steps of the aforementioned system-level chip interconnection parameter determination method. The control module or processor here has the functions of numerical calculation and logical operation, and it has at least a central processing unit CPU with data processing capability, a random access memory RAM, a read-only memory ROM, a variety of I / O ports and an interrupt system, etc. The processor includes a kernel, and the kernel calls the corresponding program unit from the memory. One or more kernels can be set, and the aforementioned method is implemented by adjusting the kernel parameters. The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM), and the memory includes at least one storage chip. The electronic device is preferably a chip.

[0062] The present invention also provides a chip, which may be the aforementioned electronic device, the chip includes a processor and a memory architecture, and can execute the aforementioned steps of the aforementioned method for determining system-level chip interconnection parameters. The chip may also include the aforementioned system-level chip interconnection parameter determination device, and the circuit extraction module and other modules in the device realize corresponding functions in the form of an integrated circuit.

[0063] In one embodiment of the present invention, a machine-readable storage medium is provided, on which instructions are stored. When the instructions are executed by a processor, the processor is configured to execute the steps of the aforementioned method for determining system-level chip interconnection parameters.

[0064] In one embodiment of the present invention, a computer program product is provided, including a computer program, which implements the steps of the aforementioned method for determining system-on-chip interconnection parameters when executed by a processor.

[0065] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0066] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0067] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0068] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0069] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0070] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0071] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0072] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0073] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for determining system-level chip interconnection parameters, characterized in that: The method includes: Acquire a circuit netlist set of a chip, and obtain a critical path circuit from the circuit netlist set; A linear programming model is obtained by taking interconnection parameters as decision variables, taking target result parameters and power consumption of components in the critical path circuit as constraints, and taking maximization of interconnection performance based on the critical path circuit as an objective function; The linear programming model is solved to obtain solutions of decision variables as interconnection parameters of the chip.

2. The method according to claim 1, characterized in that The target result parameters include: At least one of bus device parameters, processor core parameters, cache parameters, memory parameters, and peripheral parameters.

3. The method according to claim 1, characterized in that Obtaining a critical path circuit from the circuit netlist set includes: Extracting circuit information from the circuit netlist set; the circuit information includes circuit structure, component layout and connection relationship; The circuit information is identified according to a critical path circuit identification word library to obtain the critical path circuit.

4. The method according to claim 3, characterized in that The critical path circuit recognition word library is constructed by the following steps: obtaining samples of multiple critical path circuits; Extracting circuit information from samples of each critical path circuit to obtain critical path circuit information; Defining a critical path circuit identification keyword according to the critical path circuit information; Organizing the obtained critical path circuit identification keywords into the critical path circuit identification word library; The critical path circuit identification word library triggers an update when an identification error occurs or a critical path circuit type is missing.

5. The method according to claim 1, characterized in that Before solving the linear programming model, the method further includes: Get user-defined numerical factors; The weights and / or constraints of factors in the linear programming model are adjusted according to the numerical factors.

6. The method according to claim 1, characterized in that After the obtained solution of the decision variable is used as the interconnection parameter of the chip, the method further includes: Deploy the obtained interconnection parameters in the chip, and perform simulation according to the circuit netlist of the deployed chip to obtain simulation results; The interconnection parameters are determined or iterated according to whether the simulation results meet the design requirements.

7. A system-level chip interconnection parameter determination device, characterized in that: The device includes: A circuit extraction module, used to obtain a circuit netlist set of a chip and obtain a critical path circuit from the circuit netlist set; A model building module is used to obtain a linear programming model by taking interconnection parameters as decision variables, solving target result parameters and power consumption of components in the critical path circuit as constraints, and maximizing interconnection performance based on the critical path circuit as an objective function; The parameter determination module is used to solve the linear programming model to obtain the solution of the decision variables as the interconnection parameters of the chip.

8. The device according to claim 7, characterized in that The target result parameters include: At least one of bus device parameters, processor core parameters, cache parameters, memory parameters, and peripheral parameters.

9. The device according to claim 7, characterized in that Obtaining a critical path circuit from the circuit netlist set includes: Extracting circuit information from the circuit netlist set; the circuit information includes circuit structure, component layout and connection relationship; The circuit information is identified according to a critical path circuit identification word library to obtain the critical path circuit.

10. The device according to claim 9, characterized in that The critical path circuit recognition word library is constructed by the following steps: obtaining samples of multiple critical path circuits; Extracting circuit information from samples of each critical path circuit to obtain critical path circuit information; Defining a critical path circuit identification keyword according to the critical path circuit information; Organizing the obtained critical path circuit identification keywords into the critical path circuit identification word library; The critical path circuit identification word library triggers an update when an identification error occurs or a critical path circuit type is missing.

11. The device according to claim 7, characterized in that The device further includes: a factor adjustment module, wherein the factor adjustment module is configured to: Before solving the linear programming model, obtaining a user-defined numerical factor; The weights and / or constraints of factors in the linear programming model are adjusted according to the numerical factors.

12. The device according to claim 7, characterized in that The device also includes a simulation verification module, which is used to: After the obtained solutions of the decision variables are used as interconnection parameters of the chip, the obtained interconnection parameters are deployed in the chip, and simulation is performed according to the circuit netlist of the deployed chip to obtain simulation results; The interconnection parameters are determined or iterated according to whether the simulation results meet the design requirements.

13. An electronic device, characterized in that: include: at least one processor; a memory connected to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the at least one processor implements the steps of the method for determining system-level chip interconnection parameters as described in any one of claims 1 to 6 by executing the instructions stored in the memory.

14. A chip, characterized in that: The chip comprises the system-on-chip interconnection parameter determination device as claimed in any one of claims 7 to 12.

15. A machine-readable storage medium, characterized in that: The machine-readable storage medium stores instructions, which, when executed by a processor, configure the processor to implement the method for determining system-on-chip interconnection parameters as described in any one of claims 1 to 6.