Determination method and device for PDN simulation result, medium and product

Through the automated PDN simulation result determination method, the problems of low efficiency and large error in the existing technology are solved, and efficient and accurate simulation result analysis is achieved, which is suitable for hardware development and verification.

CN120354587APending Publication Date: 2025-07-22ZHE JIANG JIAN QIAO TONG XIN SHE BEI YOU XIAN GONG SI +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510411709.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-02
Publication Date
2025-07-22

AI Technical Summary

Technical Problem

The prior art has problems such as low efficiency, large error and long-term use in the analysis of Max AC impedance simulation results, especially when manually organizing test data, it is easy to cause missing points and misjudgment.

Method used

It provides an automated PDN simulation result determination method. By reading parameter files, adding relevant parameters, calculating the Z value of each frequency point, generating a Z value curve, and generating a MASK file according to the preset template format for judgment, avoiding cumbersome processes and errors in manual input.

Benefits of technology

It improves the efficiency and accuracy of simulation result curve analysis, reduces manual errors, and can quickly identify the trend of simulation result curves, which is suitable for hardware development and verification processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120354587A_ABST
    Figure CN120354587A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of computers, and discloses a determination method and device for a PDN simulation result, a medium and a product. The method comprises the steps that a parameter file is read, and related parameters are added into the parameter file; selecting the parameter file in the system, and calling a target parameter from the related parameters for calculation to obtain a Z value corresponding to each frequency point; generating a Z value curve according to the Z value corresponding to each frequency point; generating a display factor according to a preset template format; and generating a MASK file based on the Z-value curve and the display factor for judging a PDN simulation result. By the adoption of the scheme, the tedious process of manual input can be omitted, meanwhile, errors caused by manual input are avoided, efficiency is improved, the integrity of the curve can be improved, the trend of the simulation result curve can be conveniently and rapidly recognized, and curve analysis efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular, to a method, device, medium, and product for determining PDN simulation results. Background Art

[0002] In recent years, with the rapid development of technology, the demand for power distribution network testing has gradually increased. The power distribution network (PDN) is the physical path that delivers power from the power source to the load. Current flows through the PDN from the power source end to the load end, and then through the PDN, back to the power source end from the load end. It includes a power regulation module (DCDC or LDO), large capacitors near the source end, decoupling capacitors, and finally reaches the main IC. The role of the PDN is actually to provide a stable voltage for the load, quickly respond to changes in load current, and reduce switching noise.

[0003] Currently, when analyzing and judging the Max AC impedance simulation results, it is necessary to analyze the Z curve generated by sigrity simulation, select the frequency points with higher Z values in the Z value curve, read the corresponding Z values, and compare them with the standard values corresponding to the frequency points to determine whether it passes. For example, select the 3.4M frequency point, read the Z Amplitude result, and compare it with the standard value. However, it is also necessary to pay attention to high frequencies at the same time, such as whether the Z values of frequency points above 100M meet the requirements. In the comparison, it is necessary to read and compare the results one by one, with poor efficiency, and there may be problems such as missing points and misjudgment due to a large step size in frequency point reading. Therefore, how to quickly and accurately organize test data, avoiding the possible errors and long time consumption in the manual organization process, is one of the technical pain points in this field. Summary of the Invention

[0004] An object of this application is to provide a method, device, medium, and product for determining PDN simulation results, at least to solve problems such as possible errors and long time consumption in the manual organization process. This solution avoids the cumbersome process of manually inputting standard values, and at the same time avoids the errors caused by manual input, improving efficiency. And because the step size can be set, the integrity of the curve can be improved, facilitating the quick identification of the trend of the simulation result curve, reducing the errors in manual curve analysis, and improving the efficiency of curve analysis. This solution can be used not only in the normal PDN test process, but also by hardware development engineers during the process of solving problems and verifying solutions.

[0005] To achieve the above object, some embodiments of this application provide the following aspects:

[0006] In a first aspect, some embodiments of the present application provide a method for determining PDN simulation results, the method comprising:

[0007] Read a parameter file and add relevant parameters to the parameter file;

[0008] Select the parameter file in the system, retrieve target parameters from the relevant parameters for calculation, and obtain Z values corresponding to each frequency point;

[0009] Generate a Z value curve according to the Z values corresponding to each frequency point;

[0010] Generate display factors according to a preset template format;

[0011] Generate a MASK file based on the Z value curve and the display factors for determining the PDN simulation results.

[0012] In a second aspect, some embodiments of the present application further provide an electronic device, the electronic device comprising: one or more processors; and a memory storing computer program instructions, the computer program instructions when executed cause the processor to execute the steps of the method as described above.

[0013] In a third aspect, some embodiments of the present application further provide a computer-readable medium having computer program instructions stored thereon, the computer program instructions being executable by a processor to implement the method as described above.

[0014] In a fourth aspect, some embodiments of the present application further provide a computer program product, comprising computer programs / instructions, the computer programs / instructions when executed by a processor implement the steps of the method as described above.

[0015] Compared with the related art, in the solution provided by the embodiments of the present application, a parameter file is read, and relevant parameters are added to the parameter file; the parameter file is selected in the system, target parameters are retrieved from the relevant parameters for calculation, and Z values corresponding to each frequency point are obtained; a Z value curve is generated according to the Z values corresponding to each frequency point; display factors are generated according to a preset template format; a MASK file is generated based on the Z value curve and the display factors for determining the PDN simulation results. This technical solution can eliminate the cumbersome process of manual input, avoid errors caused by manual input, improve efficiency, and can improve the integrity of the curve, facilitate quickly identifying the trend of the simulation result curve, and improve the efficiency of curve analysis. Description of the Drawings

[0016] One or more embodiments are exemplarily illustrated by the pictures in the corresponding drawings. These exemplary illustrations do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, unless otherwise stated, and the drawings in the figures do not constitute a scale limitation.

[0017] Figure 1 FIG. is an exemplary flowchart of a method for determining PDN simulation results provided according to some embodiments of the present application;

[0018] Figure 2 FIG. is a schematic diagram of the manual detection process of the Z-value curve provided according to some embodiments of the present application;

[0019] Figure 3 FIG. is a schematic diagram of the automatic detection process of the Z-value curve provided according to some embodiments of the present application;

[0020] Figure 4 FIG. is a flowchart of a PDN simulation result determination script provided according to some embodiments of the present application;

[0021] Figure 5 An exemplary structural diagram of the electronic device is disclosed. Detailed Embodiments

[0022] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Apparently, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.

[0023] First Embodiment

[0024] The first embodiment of the present application relates to a method for determining PDN simulation results. As Figure 1 shown, the method may include the following steps:

[0025] Step S101, read a parameter file and add relevant parameters to the parameter file;

[0026] The parameter file may be a file storing the parameters required for the operation of the system. The information stored therein may provide a basis for various attributes or settings of the system. These parameters may be initial values required for system startup, configuration information of different modules, etc.

[0027] The relevant parameters may refer to specific parameter information, and their types and meanings depend on the specific requirements of the system.

[0028] This solution can use the file operation functions provided by the corresponding programming language and operating system to load the content of the parameter file stored on the disk or other storage media into the memory space where the program runs. For example, in Java, FileInputStream and BufferedReader can be used to read text files; in Python, the open() function and read() method can be used to open and read the file content.

[0029] This solution can insert new parameter information into an existing parameter file. For different file formats, the addition methods are different. Taking the.json file as an example, the corresponding JSON library can be used to add new key-value pairs to the existing JSON object; for the.ini file, new lines can be added at the end of the file or at a specific position in the format of key-value pairs.

[0030] Step S102, select the parameter file in the system, retrieve the target parameters from the relevant parameters for calculation, and obtain the Z values corresponding to each frequency point;

[0031] The target parameter can be a parameter selected from the relevant parameters according to the current task of the system and prepared for calculation. For example, when calculating the frequency response of a circuit, the target parameters may be the values of resistors, capacitors, and inductors; in a statistical analysis system, they may be the set of sample data, mean, and standard deviation, etc. These parameters are the data directly used in the calculation process.

[0032] The frequency point can be a specific point representing frequency in a frequency-related system, and its unit is usually Hertz (Hz). For example, in an audio processing system, the frequency points can be different audio frequencies; in a communication system, the frequency points are different frequencies at which signals are transmitted, and signals at different frequency points have different characteristics, such as signal strength, phase, bandwidth, etc.

[0033] The Z value can be obtained through calculation.

[0034] This solution can determine the required parameter file from the system according to certain rules or user operations. For example, in the file system, the file can be selected by the file path, name, or other identifiers. In the user interface, the user can select it through a file selection dialog box; in the program, it can be found according to the predefined file name or search algorithm. The selection operation ensures that the program uses the correct parameter file and avoids using incorrect or irrelevant files from affecting subsequent calculations.

[0035] Retrieval can be an operation to obtain target parameters from a container (such as an array, a list, a map, etc.) storing parameters. In programming languages, for parameters stored in an array, array indices can be used; for parameters stored in a map, key-value pair lookups can be used. For example, in Java, the Map.get() method is used, and in Python, the get() method of a dictionary is used. The retrieval operation ensures that the parameters required in the calculation process can be accurately obtained, providing the data needed for subsequent calculations.

[0036] This solution processes the target parameters using specific mathematical formulas, algorithms, or logics. For example, when calculating the Z value, complex mathematical formulas may be used, involving algebraic operations, calculus operations, trigonometric function operations, etc. In scientific computing software (such as MATLAB) or programming languages, built-in mathematical functions and custom functions are used to substitute the target parameters into the formula to obtain the required results.

[0037] Step S103: Generate a Z value curve based on the Z values corresponding to each frequency point;

[0038] The Z value curve can represent different frequency points and their corresponding Z values in the form of a graph. Usually, a two-dimensional coordinate system is used, where the abscissa represents the frequency point and the ordinate represents the Z value. In data visualization, it can be in the form of a line chart, a smooth curve, or a scatter plot, etc. For example, in a signal analysis system, the Z value curve can display the characteristics of a signal at different frequencies.

[0039] This solution can use data visualization tools or the plotting libraries of programming languages to plot the data points (frequency points and Z values) into a curve. In Python, the plot() function of the matplotlib library can be used; in JavaScript, Canvas or SVG technology is used. The generation operation converts the calculated discrete data into an intuitive graph, helping users quickly discover the patterns and trends in the data, such as periodicity, monotonicity, peaks, and valleys, etc., providing a visual basis for further analysis and decision-making.

[0040] Step S104: Generate display factors according to a pre-set template format;

[0041] The template format can be a pre-defined display rule or style, which can be used to unify the appearance and layout of the display. The display factors can include elements that affect the display effect, such as color, font, font size, shape, position of the graph, etc.

[0042] This solution can combine the various elements of the display factors according to the requirements of the template format to create a complete display solution. Different technologies are used in different systems.

[0043] Step S105: Generate a MASK file based on the Z-value curve and the display factor for determining the PDN simulation results.

[0044] The content of the MASK file contains information about the Z-value curve and the display factor, which may be stored in binary or text form. In different applications, the structure and content of the MASK file are different. In image processing, it may store mask information of an image; in a simulation system, it stores key information required for simulation, such as the Z-value curve and the display factor here, providing a basis for determining the simulation results.

[0045] The PDN simulation results, which are the simulation outputs of the Power Distribution Network, include the results of performance indicators such as voltage, current, and power of the power network under different conditions. Through simulation, the performance of the power network can be evaluated, such as whether it can supply power stably and whether the voltage drop is within the allowable range.

[0046] This solution stores the information of the Z-value curve and the display factor as a MASK file in a certain file format. For example, use a file output stream to write data to a file. In different programming languages, file operation functions can be used, such as FileOutputStream and BufferedWriter in Java, and the open() function and write() method in Python. The generation operation saves the data obtained in the previous steps in the form of a file for subsequent use and sharing.

[0047] Evaluate and judge the PDN simulation results according to the information in the MASK file. It may compare with a predetermined standard, threshold, or reference model to determine whether the simulation results meet the requirements. For example, judge whether the voltage fluctuation of the power network is within the allowable range and whether the current exceeds the rated value. The determination operation ensures that the performance of the system meets the design and usage requirements, providing a basis for system optimization and improvement.

[0048] Figure 2 FIG. is a schematic diagram of the manual detection process of the Z-value curve provided according to some embodiments of the present application. As Figure 2 shown, during the manual analysis process, for example, select a 3.4M frequency point, read the Z Amplitude result, and compare it with the standard value. However, it is also necessary to pay attention to high frequencies at the same time, such as whether the Z-values of frequency points above 100M meet the requirements. During the comparison, it is necessary to read and compare the results one by one, with poor efficiency, and there may be missed points and misjudgments due to a relatively large step in frequency point reading.

[0049] In one embodiment, optionally, the target parameters include: Rmid_freq and AC Inductance;

[0050] Retrieve target parameters from the relevant parameters for calculation to obtain the Z values corresponding to each frequency point, including:

[0051] Retrieve Rmid_freq and AC Inductance from the relevant parameters, and input Rmid_freq and AC Inductance into a preset formula for calculation to obtain the Z values corresponding to each frequency point.

[0052] Among them, Rmid_freq can be a resistance parameter related to frequency. In a circuit system or a signal processing system, resistance is an important physical quantity that affects the flow of current and the consumption of energy. For signals of different frequencies, the resistance may exhibit different characteristics, and Rmid_freq may specifically refer to the resistance value within the intermediate frequency range. Its specific value can be obtained from the parameter file for subsequent calculation and analysis.

[0053] AC Inductance is the value of AC inductance. In an AC circuit, inductance will impede the change of current, and its magnitude will affect the performance of the circuit, especially at different frequencies. AC Inductance is a specific inductance parameter. In the analysis and calculation of AC circuits, it is an important component and will participate in the process of calculating the Z values corresponding to each frequency point together with other parameters.

[0054] In this solution, the retrieved Rmid_freq and AC Inductance are used as variables and substituted into the preset formula. This involves data transfer operations, passing the parameter values to the formula required for calculation so that the calculation can be performed. In programming, this can be achieved by passing parameters when calling a function to ensure that the formula can obtain the required data for calculation.

[0055] Specifically, a preset formula containing Rmid_freq and AC Inductance can be used to calculate the Z value based on their values and other possible information (such as frequency points). This preset formula may be derived from circuit theory or a system-specific mathematical model.

[0056] This solution makes the calculation process more targeted and operable by clearly specifying that the target parameters are Rmid_freq and AC Inductance and substituting them into a preset formula to calculate the Z value corresponding to each frequency point. On the one hand, the clear target parameters improve the accuracy of data extraction and avoid confusing or omitting important data among numerous relevant parameters. On the other hand, using the preset formula to combine these key parameters can accurately calculate the Z value according to the physical characteristics and mathematical principles of the system, providing reliable data support for subsequent analysis and decision-making, helping to deeply understand the performance of the circuit or system at different frequency points, such as evaluating the transmission characteristics of signals at different frequencies or the frequency response of the circuit, and then optimizing the design and performance of the system.

[0057] In one embodiment, optionally, substitute Rmid_freq and AC Inductance into the following calculation formula:

[0058]

[0059] where the Z value is Amplitude (Ohm).

[0060] This formula is used to calculate the impedance (Z value) in Ohms. Among them, Rmid_freq is the resistance value related to the frequency, AC Inductance is the AC inductance value, f is the frequency (usually in Hertz Hz), and π is the pi (approximately equal to 3.14159).

[0061] Based on the accurately calculated impedance value through this formula and calculation process, this solution can further analyze performance indicators such as the frequency response and power transmission of the circuit. For example, in a power distribution network (PDN), by calculating the impedance at different frequency points, the stability and noise suppression ability of the power network at different frequencies can be evaluated, thereby optimizing the design of the power network, reducing the impact of power supply noise on circuit performance, and improving the reliability and performance of the entire system. Facilitate system debugging and fault troubleshooting: When there are problems or the performance of the circuit does not meet expectations, by calculating and analyzing the impedance values at different frequency points, it can help engineers quickly locate the possible positions and causes of the problems. For example, if the impedance is abnormal within a certain frequency range, it may be that there are problems with the inductance or resistance components at that frequency, or the circuit connection method is unreasonable, etc., so as to conduct targeted debugging and fault troubleshooting and improve the efficiency of problem-solving.

[0062] Figure 3 Schematic diagram of the automatic detection process of the Z value curve provided according to some embodiments of the present application. As Figure 3As shown, the system needs to fill in five parameters in the parameter file: port name, Rmid_freq, AC Inductance, start frequency point, end frequency point, and frequency step. When the system is opened and the parameter file is selected, the program will automatically call two parameters, Rmid_freq and AC Inductance (L), and apply the formula And according to the frequency step, calculate the Z value corresponding to the corresponding frequency point, generate a curve, and automatically name it according to the port name, and batch generate MASK files. Import the corresponding files into the corresponding simulation software to visualize the simulation results.

[0063] In one embodiment, optionally, relevant parameters are added to the parameter file, including:

[0064] Add the start frequency point, end frequency point, and frequency step to the parameter file;

[0065] Correspondingly, select the parameter file in the system, retrieve the target parameters from the relevant parameters for calculation, and obtain the Z values corresponding to each frequency point, including:

[0066] Select the parameter file in the system, and calculate the Z values corresponding to each frequency point according to the start frequency point, end frequency point, frequency step, and the target parameters corresponding to each frequency point.

[0067] Among them, the start frequency point can be the starting value of the set frequency range when performing frequency domain analysis or calculation. It is the lower limit of the entire frequency range. For example, in an audio analysis system, the start frequency point may be set to 20 Hz, indicating that subsequent calculations and analyses will start from this frequency.

[0068] The end frequency point corresponds to the start frequency point and is the upper limit value of the frequency range. For example, in the above audio analysis system, the end frequency point may be set to 20 kHz, meaning that the analysis or calculation will be carried out within the range from the start frequency point to the end frequency point.

[0069] The frequency step can be used to determine the interval size of the frequency values between the start frequency point and the end frequency point. For example, if the start frequency point is 10 Hz, the end frequency point is 100 Hz, and the frequency step is 10 Hz, then during the calculation, the frequency points 10 Hz, 20 Hz, 30 Hz... up to 100 Hz will be taken in sequence for calculation.

[0070] This solution involves adding operation information of parameters such as start frequency point, end frequency point, and frequency step in the parameter file. The specific implementation method depends on the format of the parameter file. For example, for a text - formatted parameter file, these parameter values may be written at a specific position in the file according to certain format rules; for a structured parameter file (such as XML or JSON), corresponding parsing libraries and methods need to be used to add new elements or attributes. Adding these parameters enables the system to clearly define the frequency range and precision for calculation or analysis, enhancing the flexibility and configurability of the system.

[0071] By adding the start frequency point, end frequency point, and frequency step in the parameter file, users can flexibly set the frequency range and calculation precision according to specific requirements and analysis purposes. For example, when studying the characteristics of low - frequency circuits, a lower start frequency point and a smaller frequency step can be set to obtain more detailed information in the low - frequency band; when focusing on high - frequency characteristics, the parameters can be adjusted accordingly to meet the requirements of frequency analysis in different scenarios, improving the generality and adaptability of the system. Calculations based on these parameters can obtain the Z values corresponding to each frequency point within the entire frequency range, enabling a comprehensive and detailed analysis of the impedance changes of the circuit or system at different frequencies. This helps to discover potential problems in the system within a specific frequency range, such as resonance points and impedance mismatches, providing rich data basis for system optimization and improvement, and ensuring the stable and efficient operation of the system under various frequency conditions. Once the parameter file is set up, the system can automatically calculate according to the start frequency point, end frequency point, and frequency step, without the need to manually specify each frequency point one by one, greatly improving work efficiency. Especially in cases where a large amount of data needs to be processed or multiple repeated calculations are required, this automation and batch - processing ability can save time and effort, improving work efficiency and accuracy.

[0072] In one embodiment, optionally, adding relevant parameters in the parameter file includes:

[0073] Adding the port name in the parameter file;

[0074] Correspondingly, generating a MASK file based on the Z - value curve and the display factor includes:

[0075] Generating a MASK file based on the Z - value curve and the display factor, and naming the generated MASK file according to the port name.

[0076] Among them, the port name can be the name used to identify different ports in the system. These ports can be physical ports, such as Ethernet ports and USB ports in a computer network; or they can be logical ports, such as the ports for communication between different functional modules in a software system. In the current scenario, it is information added to a parameter file, possibly to more clearly identify the connection location or functional location in the system or circuit. In network communication, the port name may be "HTTP", "FTP", etc.; in a circuit system, it may be "Input Port A", "Output Port B", etc.

[0077] In this solution, the operation of adding the port name to the parameter file is similar to the operation of adding other parameters before, but here it is specifically for the port name. According to the different formats of the parameter file, for example, for a structured parameter file (such as JSON or XML), the corresponding parsing library can be used to add the port name as a new element or attribute; for a simple text file, the port name information can be added according to certain format rules. Adding the port name enables the system to clearly distinguish different ports in subsequent operations, facilitating management and operation.

[0078] Improve the convenience of file management: By adding the port name and naming the MASK file accordingly, the management of the file becomes clearer and more convenient. When there are multiple MASK files corresponding to different ports in the system, users can intuitively find the required file through the port name, avoiding file naming chaos and reducing errors in file search and use.

[0079] In one embodiment, optionally, the preset template format includes: the lower shadow of the Z-value curve, the upper shadow of the Z-value curve, and no shadow.

[0080] Among them, the lower shadow of the Z-value curve refers to the shadow effect presented in the area below the curve when the Z-value curve is displayed. This shadow can be an area filled with a certain color (such as gray, blue, etc.), used to highlight the part below the curve, and may play a role in emphasizing or differentiating visually to help users more intuitively focus on the information below the curve.

[0081] The upper shadow of the Z-value curve corresponds to the lower shadow and is the shadow effect in the area above the curve. It can also be filled with a specific color to highlight the part above the curve, which may represent an area above a certain threshold or within a specific range. Through this visual effect.

[0082] No shadow means a display method without adding any shadow effect, and the Z-value curve is presented only with lines or other basic graphic elements.

[0083] This solution provides multiple display template formats, including different shadow effects and a no-shadow option, enabling users to select the most suitable display method according to specific data characteristics and analysis focuses. For example, when it is necessary to highlight the situation where the Z value is lower than a certain standard, the lower shadow of the Z value curve can be selected to make the area below the standard more prominent; conversely, if the part higher than a certain standard needs to be emphasized, the upper shadow of the Z value curve can be selected. The no-shadow format is suitable for situations where more attention is paid to the shape and trend of the curve itself, avoiding the possible visual interference caused by shadows, and meeting the diverse needs of different users for data visualization in different scenarios.

[0084] In one embodiment, optionally, after selecting the parameter file in the system, the method further includes:

[0085] If the parameter files of all ports are selected, the process ends after generating the MASK files of all ports;

[0086] If there is at least one port whose parameter file is not selected, after generating the MASK file of the current port, select the parameter file of the next port.

[0087] The operation of determining and selecting the parameter file from the system involves the selection process of the parameter files of all ports. The selection of the parameter file can be achieved through the file management mechanism of the system, user interface operations, or the internal logic of the program to ensure that the correct parameter data can be obtained for subsequent operations.

[0088] The process of creating the MASK file, according to the Z value curve calculated in the previous steps and the set display factors and other information, generates the MASK file according to certain rules and formats. This may involve operations such as file creation and data writing to ensure that the generated MASK file can accurately reflect the relevant information and calculation results of the port.

[0089] When the condition is met, stop the execution of the entire process. This is a termination point of the process, indicating that the system has completed the processing tasks of all ports. In the case where there is at least one port whose parameter file is not selected, after generating the MASK file of the current port, continue to select the parameter file of the next port from the system for subsequent processing, including calculations, generating MASK files, etc., to ensure that the system can sequentially process all the relevant tasks of all ports.

[0090] Through this process design, this solution can ensure that the system processes the parameter files of all ports without missing any port. Whether it is a simple system or a complex multi-port system, it can process each port in an orderly manner in sequence, ensuring the integrity and accuracy of data processing, and avoiding incomplete or incorrect system performance analysis caused by missing ports.

[0091] For the solution provided in this embodiment, a parameter file is read, and relevant parameters are added to the parameter file; the parameter file is selected in the system, and target parameters are retrieved from the relevant parameters for calculation to obtain the Z values corresponding to each frequency point; a Z value curve is generated based on the Z values corresponding to each frequency point; display factors are generated according to a preset template format; and a MASK file is generated based on the Z value curve and the display factors for determining the PDN simulation result. This technical solution can eliminate the cumbersome process of manual input and avoid errors caused by manual input, improving efficiency. Moreover, it can improve the integrity of the curve, facilitating the quick identification of the trend of the simulation result curve and enhancing the efficiency of curve analysis.

[0092] Second Embodiment

[0093] Figure 4 This is a flowchart of a script for determining the PDN simulation result according to some embodiments of the present application. The second embodiment of the present application relates to a method for determining the PDN simulation result. As Figure 4 shown, this script extracts relevant parameters from a CVS parameter file through the Python language, sets the frequency point step, and sets the template format. The template format has three types, namely lower shadow, upper shadow, and no shadow. The template format can be set according to needs. After generating the curve, the comparison result is more intuitive.

[0094]

[0095] And according to the frequency point step, the Z values at the corresponding frequency points are calculated, curves are generated, and they are automatically named according to the port name, and MASK files are generated in batches. For example, one mask corresponds to one port. Generally, 20 to 30 ports are simulated in one project, and one curve corresponds to one mask. The corresponding files are imported into the corresponding simulation software to visualize the simulation results.

[0096] With such settings, this solution can avoid the cumbersome process of manually inputting standard values and the errors caused by manual input, improving efficiency. Moreover, since the step can be set, the integrity of the curve can be improved, facilitating the quick identification of the trend of the simulation result curve, reducing the error of manual curve analysis, and enhancing the efficiency of curve analysis. This system can be used not only in the normal PDN process but also by hardware development engineers during problem-solving and solution verification. This solution can quickly and accurately organize test data, avoid possible errors in the existing manual organization process, and save time.

[0097] In addition, some embodiments of the present application further provide an electronic device. The electronic device may be various forms of digital computers, such as, laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and the like. The electronic device may also be various forms of mobile devices, such as, personal digital processors, cellular phones, smart phones, wearable devices, and other similar computing devices.

[0098] The electronic device includes: one or more processors; and a memory storing computer program instructions, which when executed cause the processors to perform the steps of the method provided in any one or more of the above embodiments. Figure 5 An exemplary structural diagram of the electronic device is disclosed. As Figure 5 shown, the electronic device includes: one or more processors 501, a memory 502, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. Each component is interconnected using different buses and may be mounted on a common motherboard or otherwise mounted as required. The processor may process instructions executed within the electronic device, including instructions stored in the memory or on the memory to display graphical information of a graphical user interface (GUI) on an external input / output device (such as a display device coupled to the interface). In some other embodiments, if necessary, multiple processors and / or multiple buses may be used together with multiple memories and multiple memories. Similarly, multiple electronic devices may be connected, each device providing some necessary operations (for example, as a server array, a set of blade servers, or a multi-processor system). Among them, the components, their connections and relationships, and their functions shown herein are merely examples and are not intended to limit the implementation of the present application described and / or claimed herein.

[0099] The electronic device may further include: an input device 503 and an output device 504. The processor 501, the memory 502, the input device 503, and the output device 504 may be connected via a bus or other means, Figure 5 taking connection via a bus as an example.

[0100] The input device 503 can receive input digital or character information and generate key signal inputs related to the user settings and function controls of the electronic device, such as input devices like touchscreens, keypads, mice, trackpads, touchpads, pointing sticks, one or more mouse buttons, trackballs, joysticks, etc. The output device 504 can include display devices, auxiliary lighting devices (e.g., light-emitting diodes, LEDs), and haptic feedback devices (e.g., vibration motors), etc. The display device can include, but is not limited to, liquid crystal displays (LCDs), light-emitting diode (LED) displays, and plasma displays. In some embodiments, the display device can be a touchscreen.

[0101] To provide interaction with the user, the electronic device can be a computer. The computer has: a display device for displaying information to the user (e.g., a cathode-ray tube, CRT, or LCD monitor); and a keyboard and a pointing device (e.g., a mouse or a trackball), through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or haptic feedback); and the input from the user can be received in any form (including voice input, speech input, or haptic input).

[0102] In the embodiments of the present application, computer programs / instructions are stored on a computer-readable medium. When the computer programs / instructions are executed by a processor, the steps of the methods provided in any one or more of the above embodiments are implemented. The computer-readable medium can be included in the electronic device described in the above embodiments; or it can exist separately without being assembled into the device. The above computer-readable medium carries one or more computer-readable instructions.

[0103] The memory 502 can be used as a non-transitory computer-readable storage medium for storing non-transitory software programs, non-transitory computer-executable programs, and modules. The processor 501 executes various functional applications and data processing of the server by running the non-transitory software programs, instructions, and modules stored in the memory 502, so as to implement the program instructions / modules corresponding to the methods provided in any one or more of the above embodiments of the present application.

[0104] The memory 502 may include a program storage area and a data storage area. The program storage area may store an operating system and application programs required for at least one function. The data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 502 may include a high-speed random access memory and may also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the memory 502 may optionally include a memory remotely provided with respect to the processor 501, and these remote memories may be connected to the electronic device through a network. Examples of the above network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0105] It should be noted that the computer-readable medium described in this application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. The computer-readable medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium may include but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this application, the computer-readable medium may be any tangible medium that contains or stores a program, and this program may be used by or in combination with an instruction execution system, apparatus, or device.

[0106] The computer-readable medium includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. The information may be computer-readable instructions, data structures, program modules, or other data. Examples of the computer's storage medium 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 technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD), or other optical storage, magnetic cassette tapes, magnetic tape disk storage, or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible by a computing device.

[0107] Computer program code for performing the operations of this application can be written in one or more programming languages or combinations thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and also including conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0108] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. For example, an application-specific integrated circuit (ASIC), a general-purpose computer, or any other similar hardware device can be used. In some embodiments, the software program of this application can be executed by a processor to implement the above steps or functions. Similarly, the software program of this application (including related data structures) can be stored in a computer-readable recording medium, such as a RAM memory, a magnetic or optical drive, or a floppy disk and similar devices. Additionally, some steps or functions of this application can be implemented using hardware, for example, as a circuit that cooperates with a processor to execute each step or function.

[0109] The computer program product provided by the embodiments of the present application includes one or more computer programs / instructions. When the computer programs / instructions are executed by a processor, they wholly or partially generate the processes or functions described in the embodiments of the present application. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center in a wired manner (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or a wireless manner (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more integrated available media. The available medium may be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (SSD), etc.).

[0110] The flowcharts or block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of devices, methods, and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code that contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, as well as the combination of blocks in the block diagram and / or flowchart, may be implemented by a dedicated hardware-based system that performs the specified functions or operations, or may be implemented by a combination of dedicated hardware and computer instructions.

[0111] The scope of the present application is defined by the appended claims rather than the above description. Therefore, all changes that fall within the meaning and scope of the equivalent elements of the claims are intended to be included in the present application. Any reference numerals in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the term "comprising" does not exclude other units or steps, and the singular does not exclude the plural. A plurality of units or devices stated in the apparatus claims can also be implemented by one unit or device through software or hardware. The terms "first", "second", etc. are only used for distinguishing descriptions and do not represent any specific order, nor can they be understood as indicating or implying relative importance.

[0112] As described above, it is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily mention changes or substitutions within the technical scope disclosed in the present application, and all of them should be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims, and the above embodiments should be regarded as exemplary and non-limiting.

Claims

1. A determination method for PDN simulation results, characterized in that, The method includes: Reading a parameter file and adding relevant parameters to the parameter file; Selecting the parameter file in the system, retrieving target parameters from the relevant parameters for calculation, and obtaining Z values corresponding to each frequency point; Generating a Z value curve based on the Z values corresponding to each frequency point; Generating display factors according to a preset template format; Generating a MASK file based on the Z value curve and the display factors for determining the PDN simulation result.

2. The method according to claim 1, wherein The target parameters include: Rmid_freq and ACInductance; Retrieving target parameters from the relevant parameters for calculation and obtaining Z values corresponding to each frequency point includes: Retrieving Rmid_freq and AC Inductance from the relevant parameters, inputting Rmid_freq and AC Inductance into a preset formula for calculation, and obtaining Z values corresponding to each frequency point.

3. The method according to claim 2, wherein Substitute Rmid_freq and AC Inductance into the following calculation formula: where the Z value is Amplitude(Ohm).

4. The method according to claim 1, characterized in that, Adding relevant parameters to the parameter file includes: Adding a start frequency point, an end frequency point, and a frequency step in the parameter file; Correspondingly, selecting the parameter file in the system, retrieving target parameters from the relevant parameters for calculation, and obtaining Z values corresponding to each frequency point includes: Selecting the parameter file in the system, and calculating according to the start frequency point, the end frequency point, the frequency step, and the target parameters corresponding to each frequency point to obtain Z values corresponding to each frequency point.

5. The method according to claim 1, wherein Adding relevant parameters to the parameter file includes: Adding a port name in the parameter file; Correspondingly, generating a MASK file based on the Z value curve and the display factors includes: Generating a MASK file based on the Z value curve and the display factors, and naming the generated MASK file according to the port name.

6. The method according to claim 1, wherein The preset template format includes: the lower shadow of the Z value curve, the upper shadow of the Z value curve, and no shadow.

7. The method according to claim 1, characterized in that, After selecting the parameter file in the system, the method further includes: If the parameter files of all ports are selected, the process ends after generating the MASK files of all ports; If there is at least one port's parameter file not selected, after generating the MASK file of the current port, select the parameter file of the next port.

8. An electronic device, characterized in that, The electronic device includes: One or more processors; and A memory storing computer program instructions, and when the computer program instructions are executed, the processor executes the steps of the method according to any one of claims 1 to 7.

9. A computer-readable medium having computer programs / instructions stored thereon, characterized in that, When the computer program / instructions are executed by the processor, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, the steps of the method according to any one of claims 1 to 7 are implemented.