Simulation model verification method and device, processing equipment and medium
Patent Information
- Application Number
- CN202310088116.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-07
- Publication Date
- 2026-08-21
- Estimated Expiration
- 2043-02-07
AI Technical Summary
[0004]但是,相关技术中,人工对仿真模型的可靠性验证,容易出现验证结果不准确的问题,还浪费了不必要的人力资源
[0060]本发明的有益效果是:本发明实施例提供一种仿真模型的验证方法,包括:获取仿真模型的文件信息,仿真模型用于仿真信号的可靠性;判断文件信息是否满足预设条件;若满足预设条件,则调整虚拟传输线并控制仿真模型进行仿真得到仿真结果;其中,虚拟传输线用于连接仿真模型的输入模型和输出模型;根据仿真结果确定仿真模型的可靠性。在仿真模型的文件信息满足预设条件时,通过调整虚拟传输线并控制仿真模型进行仿真得到仿真结果,基于仿真结果确定仿真模型的可靠性,实现了自动的对仿真模型的可靠性验证,使得验证结果更加客观,提升了验证结果的准确性,节省了人力资源。
Smart Images

Figure CN116305806B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and more specifically, to a method, apparatus, processing device, and medium for verifying simulation models. Background Technology
[0002] As signal transmission rates continue to increase, the transmission loss that the signal needs to support also increases. Such high transmission loss leads to a lower design margin for the system, making it increasingly important to simulate and verify high-speed signals during system design.
[0003] In related technologies, active simulation of the entire link can be performed for altitude signals. When performing active simulation, the dependence on the active simulation model is high. A simulation model with low reliability may produce incorrect simulation results. Simulation personnel need to verify the reliability of the simulation model based on their own engineering experience.
[0004] However, in related technologies, manual verification of the reliability of simulation models is prone to inaccurate verification results and wastes unnecessary human resources. Summary of the Invention
[0005] The purpose of this invention is to address the shortcomings of the prior art by providing a method, apparatus, processing equipment, and medium for verifying simulation models, thereby resolving the aforementioned technical problems in the related technologies.
[0006] To achieve the above objectives, the technical solutions adopted in the embodiments of the present invention are as follows:
[0007] In a first aspect, embodiments of the present invention provide a method for verifying a simulation model, comprising:
[0008] Obtain the file information of the simulation model, which is used to simulate the reliability of the signal;
[0009] Determine whether the file information meets the preset conditions;
[0010] If the preset conditions are met, the virtual transmission line is adjusted and the simulation model is controlled to perform simulation to obtain simulation results; wherein, the virtual transmission line is used to connect the input model and the output model of the simulation model;
[0011] The reliability of the simulation model is determined based on the simulation results.
[0012] Optionally, determining whether the file information meets preset conditions includes:
[0013] Determine whether the file information includes the input model, the output model, and system files;
[0014] If so, then the file information is determined to meet the preset conditions;
[0015] If not, then it is determined that the file information does not meet the preset conditions, and the simulation model is determined to be unreliable.
[0016] Optionally, adjusting the virtual transmission line and controlling the simulation model to obtain simulation results includes:
[0017] Short-circuit the virtual transmission line to directly connect the input model and the output model;
[0018] The simulation model is controlled to simulate the transmission rate under the supported protocol to obtain the first simulation result;
[0019] Determining the reliability of the simulation model based on the simulation results includes:
[0020] Determine whether the first simulation result meets the preset requirements;
[0021] If the first simulation result does not meet the preset requirements, then the simulation model is determined to be unreliable.
[0022] Optionally, the first simulation result includes: an eye diagram;
[0023] The step of determining whether the first simulation result meets the preset requirements includes:
[0024] Determine whether the eye height and interocular distance of the eye diagram meet the preset requirements, and obtain the determination result.
[0025] Optionally, the method further includes:
[0026] If the first simulation result meets the preset requirements, then the equilibrium adaptive function of the simulation model is enabled;
[0027] The length of the virtual transmission line is adjusted to a first preset length, wherein the loss of the virtual transmission line of the first preset length reaches the maximum transmission loss supported by the protocol corresponding to the simulation model.
[0028] The simulation model is controlled to simulate the transmission rate under the supported protocol, and the second simulation result is obtained.
[0029] Determining the reliability of the simulation model based on the simulation results includes:
[0030] The reliability of the simulation model is determined based on the second simulation results.
[0031] Optionally, determining the reliability of the simulation model based on the second simulation result includes:
[0032] Determine whether the second simulation result meets the preset requirements;
[0033] If the second simulation result does not meet the preset requirements, then the simulation model is determined to be unreliable.
[0034] If the second simulation result meets the preset requirements, the length of the virtual transmission line is adjusted, and the simulation model is controlled to perform simulation to obtain the third simulation result;
[0035] The reliability of the simulation model is determined based on the third simulation result.
[0036] Optionally, adjusting the length of the virtual transmission line and controlling the simulation model to obtain a third simulation result includes:
[0037] The length of the virtual transmission line is adjusted to a second preset length, and the statistical value is updated, wherein the loss of the virtual transmission line of the second preset length is increased by a preset loss value.
[0038] Each time the statistical value is updated, the simulation model is controlled to perform simulation to obtain a third simulation result, until the third simulation result does not meet the preset requirements;
[0039] Determining the reliability of the simulation model based on the third simulation result includes:
[0040] The reliability of the simulation model is determined based on the final statistical values.
[0041] Secondly, embodiments of the present invention also provide a verification device for a simulation model, comprising:
[0042] The acquisition module is used to acquire file information of the simulation model, which is used to simulate the reliability of the signal;
[0043] The judgment module is used to determine whether the file information meets preset conditions;
[0044] An adjustment module is used to adjust the virtual transmission line and control the simulation model to perform simulation to obtain simulation results if the preset conditions are met; wherein, the virtual transmission line is used to connect the input model and the output model of the simulation model;
[0045] A determination module is used to determine the reliability of the simulation model based on the simulation results.
[0046] Optionally, the judgment module is specifically used to determine whether the file information includes the input model, the output model, and the system file; if yes, then the file information satisfies the preset condition; if no, then the file information does not satisfy the preset condition, and the simulation model is unreliable.
[0047] Optionally, the adjustment module is specifically used to short-circuit the virtual transmission line to directly connect the input model and the output model; control the transmission rate of the simulation model under the supported protocol to obtain the first simulation result;
[0048] The determining module is specifically used to determine whether the first simulation result meets the preset requirements; if the first simulation result does not meet the preset requirements, then the simulation model is determined to be unreliable.
[0049] Optionally, the first simulation result includes: an eye diagram;
[0050] The determining module is specifically used to determine whether the eye height and interocular distance of the eye diagram meet the preset requirements, and to obtain a determination result.
[0051] Optionally, the device further includes:
[0052] The activation module is used to enable the equilibrium adaptive function of the simulation model if the first simulation result meets the preset requirements.
[0053] An adjustment module is used to adjust the length of the virtual transmission line to a first preset length, wherein the loss of the virtual transmission line of the first preset length reaches the maximum transmission loss supported by the protocol corresponding to the simulation model.
[0054] The control module is used to control the transmission rate of the simulation model under the supported protocol to obtain the second simulation result;
[0055] The determining module is specifically used to determine the reliability of the simulation model based on the second simulation result.
[0056] Optionally, the determining module is specifically used to determine whether the second simulation result meets the preset requirements; if the second simulation result does not meet the preset requirements, the simulation model is determined to be unreliable; if the second simulation result meets the preset requirements, the length of the virtual transmission line is adjusted, and the simulation model is controlled to perform simulation to obtain a third simulation result; the reliability of the simulation model is determined based on the third simulation result.
[0057] Optionally, the determining module is specifically used to adjust the length of the virtual transmission line to a second preset length and update the statistical value, wherein the loss of the virtual transmission line of the second preset length is increased by a preset loss value; each time the statistical value is updated, the simulation model is controlled to perform simulation to obtain a third simulation result, until the third simulation result does not meet the preset requirements; and the reliability of the simulation model is determined based on the final statistical value.
[0058] Thirdly, embodiments of the present invention also provide a processing device, including: a memory and a processor, wherein the memory stores a computer program executable by the processor, and the processor executes the computer program to implement the verification method of the simulation model described in any of the first aspects above.
[0059] Fourthly, embodiments of the present invention also provide a computer-readable storage medium storing a computer program, wherein when the computer program is read and executed, it implements the verification method of the simulation model described in any of the first aspects above.
[0060] The beneficial effects of this invention are as follows: This invention provides a method for verifying a simulation model, comprising: acquiring file information of the simulation model, the simulation model being used to simulate the reliability of signals; determining whether the file information meets preset conditions; if the preset conditions are met, adjusting a virtual transmission line and controlling the simulation model to perform simulation to obtain simulation results; wherein, the virtual transmission line is used to connect the input model and the output model of the simulation model; and determining the reliability of the simulation model based on the simulation results. When the file information of the simulation model meets the preset conditions, the simulation results are obtained by adjusting the virtual transmission line and controlling the simulation model to perform simulation. The reliability of the simulation model is determined based on the simulation results, thus achieving automatic verification of the reliability of the simulation model, making the verification results more objective, improving the accuracy of the verification results, and saving human resources. Attached Figure Description
[0061] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0062] Figure 1 A flowchart illustrating a method for verifying a simulation model provided in an embodiment of the present invention;
[0063] Figure 2 A flowchart illustrating a method for verifying a simulation model provided in an embodiment of the present invention;
[0064] Figure 3 A flowchart illustrating a method for verifying a simulation model provided in an embodiment of the present invention;
[0065] Figure 4 A flowchart illustrating a method for verifying a simulation model provided in an embodiment of the present invention;
[0066] Figure 5A flowchart illustrating a method for verifying a simulation model provided in an embodiment of the present invention;
[0067] Figure 6 A flowchart illustrating a method for verifying a simulation model provided in an embodiment of the present invention;
[0068] Figure 7 A complete flowchart illustrating a verification method for a simulation model provided in an embodiment of the present invention;
[0069] Figure 8 A schematic diagram of the structure of a verification device for a simulation model provided in an embodiment of the present invention;
[0070] Figure 9 This is a schematic diagram of a processing device provided in an embodiment of the present invention. Detailed Implementation
[0071] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are some embodiments of the present invention, but not all embodiments.
[0072] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0073] Furthermore, the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Additionally, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0074] It should be noted that, where there is no conflict, the features in the embodiments of this application can be combined with each other.
[0075] In related technologies, manual verification of the reliability of simulation models is prone to inaccurate verification results and wastes unnecessary human resources.
[0076] To address the aforementioned technical problems in related technologies, this application provides a method for verifying a simulation model. The method involves acquiring the file information of the simulation model, and when the file information meets preset conditions, adjusting the virtual transmission line and controlling the simulation model to perform simulation to obtain simulation results. Based on the simulation results, the reliability of the simulation model is determined. This method achieves automatic verification of the reliability of the simulation model, making the verification results more objective, improving the accuracy of the verification results, and saving human resources.
[0077] The simulation model verification method provided in this application embodiment can be applied to a processing device, which can be a server or a terminal device. The terminal device can be any of the following: desktop computer, laptop computer, tablet computer, smartphone, etc.
[0078] The following explains a method for verifying a simulation model provided in an embodiment of this application.
[0079] Figure 1 A flowchart illustrating a verification method for a simulation model provided in an embodiment of the present invention is shown below. Figure 1 As shown, the method may include:
[0080] S101. Obtain the file information of the simulation model.
[0081] The simulation model is used to simulate the reliability of the signal.
[0082] In this embodiment, the simulation model is used to perform full-link active simulation of the signal. There are no specific restrictions on the type of signal simulated by the simulation model. For example, the simulated signal can be a high-speed signal. By simulating the signal through the simulation model, the reliability of the signal can be determined, i.e., the quality of the final signal can be judged. When the signal transmission rate is higher, the equalization function included in the simulation model becomes more complex.
[0083] In some implementations, the simulation model can be an IBIS-AMI (Input / Output Buffer Information Specification-Algorithmic Modeling Interface) model. The IBIS-AMI model is a behavioral-level model, and its internal structure cannot be viewed; therefore, verifying the reliability of the IBIS-AMI model is essential. Of course, other similar models can also be used for simulation, and the choice can be made based on actual needs. This application does not impose specific limitations on this.
[0084] Additionally, file information of the simulation model can be obtained from within the simulation model itself.
[0085] S102. Determine whether the file information meets the preset conditions.
[0086] In some implementations, a judgment result can be obtained by determining whether the file information meets preset conditions; the judgment result indicates that the file information meets the preset conditions, or that the file information does not meet the preset conditions. If the file information does not meet the preset conditions, the simulation model is determined to be unreliable.
[0087] Preset conditions can generally be whether the file is complete or whether the format meets the requirements, etc., and there are no specific restrictions here.
[0088] S103. If the preset conditions are met, adjust the virtual transmission line and control the simulation model to perform simulation and obtain the simulation results.
[0089] The virtual transmission line is used to connect the input and output models of the simulation model. The output model can be called the TX (Transmit) model, and the input model can be called the RX (Receive) model.
[0090] It should be noted that if the preset conditions are met, the processing device can automatically adjust the virtual transmission line according to the preset program. The processing device can also respond to the adjustment operation input by the user, determine the adjustment command, adjust the virtual transmission line according to the adjustment command, and control the simulation model to perform simulation to obtain the simulation result.
[0091] It is worth noting that adjusting the virtual transmission line may include: adjusting the connection method of the virtual transmission line and / or adjusting the length of the virtual transmission line.
[0092] S104. Determine the reliability of the simulation model based on the simulation results.
[0093] In this embodiment of the application, the reliability of the simulation model is determined by analyzing the simulation results. The reliability of the simulation model can be used to characterize the reliability of the simulation model.
[0094] Of course, the processing device can demonstrate the reliability of the simulation model to the user, so that the user can be aware of the reliability of the simulation model. The demonstration method can be any of the following: graphic display, table display, text display, etc.
[0095] In summary, this invention provides a method for verifying a simulation model, comprising: acquiring file information of the simulation model, wherein the simulation model is used to simulate the reliability of signals; determining whether the file information meets preset conditions; if the preset conditions are met, adjusting a virtual transmission line and controlling the simulation model to perform simulation to obtain simulation results; wherein the virtual transmission line is used to connect the input model and the output model of the simulation model; and determining the reliability of the simulation model based on the simulation results. When the file information of the simulation model meets the preset conditions, the simulation results are obtained by adjusting the virtual transmission line and controlling the simulation model to perform simulation. The reliability of the simulation model is then determined based on the simulation results, achieving automatic verification of the simulation model's reliability. This makes the verification results more objective, improves the accuracy of the verification results, and saves human resources.
[0096] Optional, Figure 2 A flowchart illustrating a verification method for a simulation model provided in an embodiment of the present invention is shown below. Figure 2 As shown, the process of determining whether the file information meets the preset conditions in S102 above may include:
[0097] S201. Determine whether the file information includes the input model, output model, and system files.
[0098] System files can include either Windows system files or Linux system files. Windows system files can include system files with extensions such as *.ibs, *.ami, and *.dll, while Linux system files can include system files with the *.so extension.
[0099] In some implementations, it can be determined whether the file information includes files such as TX model, RX model, *.ibs, *.ami, *.dll, etc., or whether the file information includes files such as TX model, RX model, *.so, etc.
[0100] S202. If so, then determine that the file information meets the preset conditions.
[0101] It should be noted that if the file information includes the input model, output model, and system files, then the file information meets the preset conditions. In this case, the above-described S103 process can be executed.
[0102] S203. If not, then determine that the file information does not meet the preset conditions and that the simulation model is unreliable.
[0103] In this embodiment of the application, if the file information does not simultaneously include the input model, the output model, and the system file, it is determined that the file information does not meet the preset conditions, and the simulation model is determined to be unreliable.
[0104] In summary, determining whether the file information includes the input model, output model, and system files makes the reliability verification of the simulation model more flexible.
[0105] Optional, Figure 3 A flowchart illustrating a verification method for a simulation model provided in an embodiment of the present invention is shown below. Figure 3 As shown, the process of adjusting the virtual transmission line and controlling the simulation model to obtain simulation results in S103 above may include:
[0106] S301. Short-circuit the virtual transmission line to directly connect the input model and the output model.
[0107] In this method, the virtual transmission line is shorted to directly connect the input and output models and disable all energy focusing functions of the simulation model. Optionally, the method of this application can be implemented based on simulation software. Users can control the shorting of the virtual transmission line through commands, scripts, programs, etc., or manually adjust the shorting of the virtual transmission line through software; no restrictions are imposed here.
[0108] In this embodiment of the application, a virtual transmission line that conforms to the target impedance of the protocol supported by the simulation model can be created, and the input model and output model of the simulation model can be connected by the virtual transmission line.
[0109] S302. The control simulation model simulates the transmission rate under the supported protocol to obtain the first simulation result.
[0110] It should be noted that the control simulation model is used to simulate the transmission rate under the signal simulation support protocol to obtain the first simulation result. The first simulation result can be in the form of an image, characters, or other forms. This application embodiment does not impose specific limitations on this.
[0111] The process of determining the reliability of the simulation model based on the simulation results in S104 above may include:
[0112] S303. Determine whether the first simulation result meets the preset requirements;
[0113] S304. If the first simulation result does not meet the preset requirements, then the simulation model is determined to be unreliable.
[0114] In some implementations, the first simulation result is analyzed to determine whether the first simulation result meets the preset requirements. If the first simulation result does not meet the preset requirements, that is, when the TX model and the RX model are directly connected, the simulation model cannot meet the effective transmission, then the simulation model is determined to be unreliable. If the first simulation result meets the preset requirements, other verification methods need to be used to determine the reliability of the simulation model.
[0115] Optionally, the first simulation result includes: eye diagram;
[0116] The process of determining whether the first simulation result meets the preset requirements in S303 above may include:
[0117] Determine whether the eye height and interocular distance of the eye diagram meet the preset requirements, and obtain the judgment result.
[0118] The preset requirement can be the decision template of the eye diagram, which can be represented as Eye_Mask.
[0119] In this embodiment of the application, the eye height and eye distance of the eye diagram of the first simulation result are analyzed to determine whether there is an overlap between the eye diagram of the first simulation result and Eye_Mask. If there is an overlap, that is, the eye diagram of the first simulation result has a compression decision template, then the signal quality of the simulation is considered to be poor, that is, the first simulation result does not meet the preset requirements, and thus it can be determined that the simulation model is unreliable.
[0120] In addition, if there is no overlap, that is, if the eye diagram of the first simulation result does not have a pressure decision template, then it can be determined that the first simulation result meets the preset requirements, and other verification methods need to be used to determine the reliability of the simulation model.
[0121] Optional, Figure 4 A flowchart illustrating a verification method for a simulation model provided in an embodiment of the present invention is shown below. Figure 4 As shown, the method may further include:
[0122] S401. If the first simulation result meets the preset requirements, then enable the equalization and adaptive function of the simulation model.
[0123] S402. Adjust the length of the virtual transmission line to the first preset length.
[0124] Among them, the loss of the virtual transmission line of the first preset length reaches the maximum transmission loss supported by the protocol corresponding to the simulation model.
[0125] It should be noted that after adjusting the length of the virtual transmission line to the first preset length, the loss of the virtual transmission line can reach the maximum transmission loss that the corresponding protocol of the simulation model can support.
[0126] Optionally, users can manually adjust the length of the virtual transmission line in the software, or control and adjust the length of the virtual transmission line through commands or other means.
[0127] S403. The control simulation model simulates the transmission rate under the supported protocol to obtain the second simulation result.
[0128] In this embodiment, the control simulation model is used to simulate the transmission rate under the signal simulation support protocol to obtain a second simulation result. The second simulation result can be in the form of an image, characters, or other forms. This embodiment does not impose any specific limitations on this.
[0129] The process of determining the reliability of the simulation model based on the simulation results in S104 above may include:
[0130] S404. Determine the reliability of the simulation model based on the second simulation results.
[0131] The reliability of the simulation model can be determined based on the second simulation results when the length of the virtual transmission line is the first preset length.
[0132] In summary, if the first simulation result meets the preset requirements, the length of the virtual transmission line is adjusted to the first preset length. Based on this simulation, the second simulation result is obtained. The reliability of the simulation model is determined according to the second simulation result, making the reliability verification of the simulation model more comprehensive and accurate.
[0133] Optional, Figure 5 A flowchart illustrating a verification method for a simulation model provided in an embodiment of the present invention is shown below. Figure 5 As shown, the process of determining the reliability of the simulation model based on the second simulation result in S303 above may include:
[0134] S501. Determine whether the second simulation result meets the preset requirements.
[0135] S502. If the second simulation result does not meet the preset requirements, then the simulation model is determined to be unreliable.
[0136] Optionally, the second simulation result includes an eye diagram, and it is determined whether the eye height and eye distance of the eye diagram in the second simulation result meet the preset requirements.
[0137] In some implementations, the eye height and eye distance of the eye diagram of the second simulation result can be analyzed to determine whether there is an overlap between the eye diagram of the second simulation result and Eye_Mask. If there is an overlap, that is, the eye diagram of the second simulation result has a compression decision template, then the signal quality of the simulation is considered to be poor, that is, the second simulation result does not meet the preset requirements, and thus the simulation model can be determined to be unreliable.
[0138] S503. If the second simulation result meets the preset requirements, adjust the length of the virtual transmission line and control the simulation model to perform simulation to obtain the third simulation result.
[0139] If the eye diagram of the second simulation result does not contain a pressure decision template, then the second simulation result meets the preset requirements. Further verification methods are needed to determine the reliability of the simulation model. The length of the virtual transmission line can be further adjusted, and the transmission rate under the supported protocols simulated by the simulation model can be controlled to obtain the third simulation result.
[0140] S504. Determine the reliability of the simulation model based on the third simulation results.
[0141] In summary, if the second simulation result meets the preset requirements, the length of the virtual transmission line is adjusted, and a third simulation result is obtained based on this simulation. The reliability of the simulation model is determined based on the third simulation result, making the reliability verification of the simulation model more comprehensive and accurate.
[0142] Optional, Figure 6 A flowchart illustrating a verification method for a simulation model provided in an embodiment of the present invention is shown below. Figure 6 As shown, the process of adjusting the length of the virtual transmission line and controlling the simulation model to obtain the third simulation result in S503 above may include:
[0143] S601. Adjust the length of the virtual transmission line to the second preset length and update the statistical value.
[0144] Among them, the loss of the virtual transmission line of the second preset length is increased by the preset loss value.
[0145] In some implementations, the length of the virtual transmission line is adjusted to a second preset length. After adjustment to the second preset length, the loss of the virtual transmission line increases by a preset loss value. Each time the loss of the virtual transmission line increases by the preset loss value, the statistical value is updated, and a preset value K can be added to the statistical value.
[0146] For example, the preset loss value can be 1 dB (decibels). Of course, the preset loss value can also be set according to actual needs. This application embodiment does not impose specific restrictions on this.
[0147] It should be noted that the dielectric constant / loss factor (Dk / Df) corresponding to the virtual transmission line can be determined. The value of Dk / Df is determined by the selected board material, such as IT968 or M6. Calculate the unit transmission loss A of the transmission line when the line length is 1 inch. Then 1 / A is the transmission line length corresponding to an increase of 1 dB of loss, which is the second preset length.
[0148] S602. Each time the statistical value is updated, the simulation model is controlled to perform simulation to obtain the third simulation result, until the third simulation result does not meet the preset requirements.
[0149] In some implementations, the third simulation result includes an eye diagram, and it is determined whether the eye height and eye distance of the third simulation result's eye diagram meet preset requirements. The eye height and eye distance of the third simulation result's eye diagram can be analyzed to determine whether there is overlap between the third simulation result's eye diagram and the Eye_Mask. If there is overlap, i.e., the eye diagram of the third simulation result has a compression decision template, then the simulated signal quality is considered poor, meaning the third simulation result does not meet the preset requirements.
[0150] The process of determining the reliability of the simulation model based on the third simulation result in S504 above may include:
[0151] S603. Determine the reliability of the simulation model based on the final statistical values.
[0152] In some implementations, the larger the final statistical value, the lower the reliability of the simulation model is determined, and the larger the system margin should be when performing full-link simulation; conversely, the smaller the final statistical value, the higher the reliability of the simulation model is determined, and the smaller the system margin should be when performing full-link simulation.
[0153] In other implementations, it can also be determined whether the final statistical value is greater than or equal to a preset threshold. If so, the simulation model is determined to be unreliable; if not, the simulation model is determined to be reliable.
[0154] Optional, Figure 7 A complete flowchart illustrating a verification method for a simulation model provided in an embodiment of the present invention is shown below. Figure 7 As shown, the method may include:
[0155] S1. Obtain the file information of the simulation model.
[0156] S2. Does the file information include the input model, output model, and system files?
[0157] If not, then execute S12.
[0158] S3. Short the virtual transmission line to directly connect the input model and the output model.
[0159] S4. The simulation model is controlled to simulate the transmission rate under the supported protocol, and the first simulation result is obtained.
[0160] S5. Determine whether the first simulation result meets the preset requirements.
[0161] If not, then execute S12.
[0162] S6. Adjust the length of the virtual transmission line to the first preset length;
[0163] S7. The simulation model is controlled to simulate the transmission rate under the supported protocol, and the second simulation result is obtained.
[0164] S8. Determine whether the second simulation result meets the preset requirements.
[0165] If not, then execute S12.
[0166] S9. Adjust the length of the virtual transmission line to the second preset length and update the statistical value.
[0167] S10. Each time the statistical value is updated, the simulation model is controlled to perform simulation to obtain the third simulation result, until the third simulation result does not meet the preset requirements.
[0168] S11. The larger the final statistical value, the less reliable the simulation model is.
[0169] S12. The reliability of the simulation model is low.
[0170] In summary, when the file information of the simulation model meets the preset conditions, the simulation results are obtained by adjusting the virtual transmission line and controlling the simulation model. Based on the simulation results, the reliability of the simulation model is determined, realizing automatic reliability verification of the simulation model. This makes the verification results more objective, improves the accuracy of the verification results, and saves human resources.
[0171] The following describes the verification apparatus, processing device, and storage medium of the simulation model used to execute the verification method of the simulation model provided in this application. For the specific implementation process and technical effects, please refer to the relevant content of the above-mentioned verification method of the simulation model, which will not be repeated below.
[0172] Figure 8 This is a schematic diagram of the structure of a simulation model verification device provided in an embodiment of the present invention, as shown below. Figure 8 As shown, the device may include:
[0173] The acquisition module 801 is used to acquire file information of the simulation model, which is used to simulate the reliability of the signal;
[0174] The judgment module 802 is used to determine whether the file information meets preset conditions;
[0175] The adjustment module 803 is used to adjust the virtual transmission line and control the simulation model to perform simulation to obtain simulation results if the preset conditions are met; wherein, the virtual transmission line is used to connect the input model and the output model of the simulation model;
[0176] The determination module 804 is used to determine the reliability of the simulation model based on the simulation results.
[0177] Optionally, the judgment module 802 is specifically used to determine whether the file information includes the input model, the output model, and the system file; if yes, then determine that the file information meets the preset conditions; if no, then determine that the file information does not meet the preset conditions, and determine that the simulation model is unreliable.
[0178] Optionally, the adjustment module 803 is specifically used to short-circuit the virtual transmission line to directly connect the input model and the output model; control the transmission rate of the simulation model under the supported protocol to obtain the first simulation result;
[0179] The determining module 804 is specifically used to determine whether the first simulation result meets the preset requirements; if the first simulation result does not meet the preset requirements, then the simulation model is determined to be unreliable.
[0180] Optionally, the first simulation result includes: an eye diagram;
[0181] The determining module 804 is specifically used to determine whether the eye height and interocular distance of the eye diagram meet the preset requirements, and obtain the determination result.
[0182] Optionally, the device further includes:
[0183] The activation module is used to enable the equilibrium adaptive function of the simulation model if the first simulation result meets the preset requirements.
[0184] An adjustment module is used to adjust the length of the virtual transmission line to a first preset length, wherein the loss of the virtual transmission line of the first preset length reaches the maximum transmission loss supported by the protocol corresponding to the simulation model.
[0185] The control module is used to control the transmission rate of the simulation model under the supported protocol to obtain the second simulation result;
[0186] The determining module 804 is specifically used to determine the reliability of the simulation model based on the second simulation result.
[0187] Optionally, the determining module 804 is specifically used to determine whether the second simulation result meets the preset requirements; if the second simulation result does not meet the preset requirements, the simulation model is determined to be unreliable; if the second simulation result meets the preset requirements, the length of the virtual transmission line is adjusted, and the simulation model is controlled to perform simulation to obtain a third simulation result; the reliability of the simulation model is determined based on the third simulation result.
[0188] Optionally, the determining module 804 is specifically used to adjust the length of the virtual transmission line to a second preset length and update the statistical value, wherein the loss of the virtual transmission line of the second preset length is increased by a preset loss value; each time the statistical value is updated, the simulation model is controlled to perform simulation to obtain a third simulation result, until the third simulation result does not meet the preset requirements; and the reliability of the simulation model is determined based on the final statistical value.
[0189] The above-described device is used to execute the method provided in the foregoing embodiments, and its implementation principle and technical effect are similar, so they will not be described again here.
[0190] These modules can be one or more integrated circuits configured to implement the above methods, such as one or more Application Specific Integrated Circuits (ASICs), one or more digital signal processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs). Alternatively, when a module is implemented using processing element scheduler code, the processing element can be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. Furthermore, these modules can be integrated together as a system-on-a-chip (SOC).
[0191] Figure 9 This is a schematic diagram of the structure of a processing device provided in an embodiment of the present invention, as shown below. Figure 9 As shown, the processing device may include: processor 901 and memory 902.
[0192] The memory 902 is used to store programs, and the processor 901 calls the programs stored in the memory 902 to execute the above method embodiments. The specific implementation and technical effects are similar, and will not be described again here.
[0193] Optionally, the present invention also provides a program product, such as a computer-readable storage medium, including a program that, when executed by a processor, is used to perform the above-described method embodiments.
[0194] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0195] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0196] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional units.
[0197] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0198] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for verifying a simulation model, characterized in that, include: Obtain the file information of the simulation model, which is used to simulate the reliability of the signal; Determine whether the file information meets the preset conditions; If the preset conditions are met, the virtual transmission line is adjusted and the simulation model is controlled to perform simulation to obtain simulation results; wherein, the virtual transmission line is used to connect the input model and the output model of the simulation model; The reliability of the simulation model is determined based on the simulation results; The process of adjusting the virtual transmission line and controlling the simulation model to obtain simulation results includes: Short-circuit the virtual transmission line to directly connect the input model and the output model; The simulation model is controlled to simulate the transmission rate under the supported protocol to obtain the first simulation result; Determining the reliability of the simulation model based on the simulation results includes: Determine whether the first simulation result meets the preset requirements; If the first simulation result does not meet the preset requirements, then the simulation model is determined to be unreliable; The method further includes: If the first simulation result meets the preset requirements, then the equilibrium adaptive function of the simulation model is enabled; The length of the virtual transmission line is adjusted to a first preset length, wherein the loss of the virtual transmission line of the first preset length reaches the maximum transmission loss supported by the protocol corresponding to the simulation model. The simulation model is controlled to simulate the transmission rate under the supported protocol, and a second simulation result is obtained; Determining the reliability of the simulation model based on the simulation results includes: Determine whether the second simulation result meets the preset requirements; If the second simulation result does not meet the preset requirements, then the simulation model is determined to be unreliable. If the second simulation result meets the preset requirements, the length of the virtual transmission line is adjusted, and the simulation model is controlled to perform simulation to obtain the third simulation result; The reliability of the simulation model is determined based on the third simulation result.
2. The method according to claim 1, characterized in that, The step of determining whether the file information meets the preset conditions includes: Determine whether the file information includes the input model, the output model, and system files; If so, then the file information is determined to meet the preset conditions; If not, then it is determined that the file information does not meet the preset conditions, and the simulation model is determined to be unreliable.
3. The method according to claim 1, characterized in that, The first simulation result includes: eye diagram; The step of determining whether the first simulation result meets the preset requirements includes: Determine whether the eye height and interocular distance of the eye diagram meet the preset requirements, and obtain the determination result.
4. The method according to claim 1, characterized in that, The process of adjusting the length of the virtual transmission line and controlling the simulation model to obtain a third simulation result includes: The length of the virtual transmission line is adjusted to a second preset length, and the statistical value is updated, wherein the loss of the virtual transmission line of the second preset length is increased by a preset loss value. Each time the statistical value is updated, the simulation model is controlled to perform simulation to obtain a third simulation result, until the third simulation result does not meet the preset requirements; Determining the reliability of the simulation model based on the third simulation result includes: The reliability of the simulation model is determined based on the final statistical values.
5. A verification device for a simulation model, characterized in that, include: The acquisition module is used to acquire file information of the simulation model, which is used to simulate the reliability of the signal. The judgment module is used to determine whether the file information meets preset conditions; An adjustment module is used to adjust the virtual transmission line and control the simulation model to perform simulation to obtain simulation results if the preset conditions are met; wherein, the virtual transmission line is used to connect the input model and the output model of the simulation model; A determination module is used to determine the reliability of the simulation model based on the simulation results; The adjustment module is specifically used to short-circuit the virtual transmission line to directly connect the input model and the output model; control the transmission rate of the simulation model under the supported protocol to obtain the first simulation result; The determining module is specifically used to determine whether the first simulation result meets the preset requirements; if the first simulation result does not meet the preset requirements, then the simulation model is determined to be unreliable. The device further includes: The activation module is used to enable the equilibrium adaptive function of the simulation model if the first simulation result meets the preset requirements. An adjustment module is used to adjust the length of the virtual transmission line to a first preset length, wherein the loss of the virtual transmission line of the first preset length reaches the maximum transmission loss supported by the protocol corresponding to the simulation model. The control module is used to control the transmission rate of the simulation model under the supported protocol to obtain the second simulation result; The determining module is specifically used to determine whether the second simulation result meets the preset requirements; if the second simulation result does not meet the preset requirements, the simulation model is determined to be unreliable; if the second simulation result meets the preset requirements, the length of the virtual transmission line is adjusted, and the simulation model is controlled to perform simulation to obtain a third simulation result; the reliability of the simulation model is determined based on the third simulation result.
6. A processing apparatus, characterized in that, include: A memory and a processor, wherein the memory stores a computer program executable by the processor, and the processor executes the computer program to implement the verification method of the simulation model according to any one of claims 1-4.
7. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, which, when read and executed, implements the verification method of the simulation model as described in any one of claims 1-4.
Citation Information
Patent Citations
Design method and device of high-speed serial link, electronic equipment and storage medium
CN114492291A