[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN116305806A - Verification method, device, processing equipment and medium of simulation model - Google Patents

Verification method, device, processing equipment and medium of simulation model Download PDF

Info

Publication number
CN116305806A
CN116305806A CN202310088116.4A CN202310088116A CN116305806A CN 116305806 A CN116305806 A CN 116305806A CN 202310088116 A CN202310088116 A CN 202310088116A CN 116305806 A CN116305806 A CN 116305806A
Authority
CN
China
Prior art keywords
simulation
simulation model
model
simulation result
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310088116.4A
Other languages
Chinese (zh)
Inventor
刘勇辉
张坤
谢俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Phytium Technology Co Ltd
Original Assignee
Phytium Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Phytium Technology Co Ltd filed Critical Phytium Technology Co Ltd
Priority to CN202310088116.4A priority Critical patent/CN116305806A/en
Publication of CN116305806A publication Critical patent/CN116305806A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/02Reliability analysis or reliability optimisation; Failure analysis, e.g. worst case scenario performance, failure mode and effects analysis [FMEA]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a verification method, a verification device, a verification processing device and a verification medium for a simulation model, and relates to the technical field of computers. The verification method of the simulation model comprises the following steps: acquiring file information of a simulation model, wherein the simulation model is used for simulating the reliability of signals; judging whether the file information meets preset conditions or not; if the preset condition is met, the virtual transmission line is adjusted, and the simulation model is controlled to simulate to obtain a simulation result; the virtual transmission line is used for connecting an input model and an output model of the simulation model; and determining the reliability of the simulation model according to the simulation result. When the file information of the simulation model meets the preset conditions, the simulation result is obtained by adjusting the virtual transmission line and controlling the simulation model to simulate, the reliability of the simulation model is determined based on the simulation result, automatic reliability verification of the simulation model is realized, the verification result is more objective, the accuracy of the verification result is improved, and human resources are saved.

Description

Verification method, device, processing equipment and medium of simulation model
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a processing device, and a medium for verifying a simulation model.
Background
With the increasing transmission rate of signals, it means that the transmission loss required to support the signals is increasing, and such a large transmission loss causes the design margin of the system to become lower, so that it is becoming more important to simulate and verify high-speed signals when designing the system.
In the related art, full-link active simulation can be performed on the height signal, the dependence on an active simulation model is higher during active simulation, a simulation model with low reliability can obtain an error simulation result, and simulation personnel need to verify the reliability of the simulation model by means of own engineering experience.
However, in the related art, the reliability of the simulation model is verified manually, so that the problem of inaccurate verification results is easy to occur, and unnecessary human resources are wasted.
Disclosure of Invention
The present invention aims to solve the above-mentioned technical problems in the related art by providing a verification method, a verification device, a verification processing apparatus, and a verification medium for a simulation model, which address the above-mentioned drawbacks in the related art.
In order to achieve the above purpose, the technical scheme adopted by the embodiment of the invention is as follows:
in a first aspect, an embodiment of the present invention provides a method for verifying a simulation model, including:
acquiring file information of a simulation model, wherein the simulation model is used for simulating the reliability of signals;
judging whether the file information meets preset conditions or not;
if the preset conditions are met, adjusting a virtual transmission line and controlling the simulation model to simulate so as to obtain a simulation result; the virtual transmission line is used for connecting an input model and an output model of the simulation model;
and determining the reliability of the simulation model according to the simulation result.
Optionally, the determining whether the file information meets a preset condition includes:
judging whether the file information comprises the input model, the output model and a system file;
if yes, determining that the file information meets the preset condition;
if not, determining that the file information does not meet the preset condition, and determining that the simulation model is unreliable.
Optionally, the adjusting the virtual transmission line and controlling the simulation model to simulate to obtain a simulation result includes:
shorting the virtual transmission line to directly connect the input model and the output model;
controlling the transmission rate of the simulation model under the protocol supported by the simulation, and obtaining a first simulation result;
the determining the reliability of the simulation model according to the simulation result comprises the following steps:
judging whether the first simulation result meets a preset requirement or not;
and if the first simulation result does not meet the preset requirement, determining that the simulation model is unreliable.
Optionally, the first simulation result includes: an eye diagram;
the judging whether the first simulation result meets the preset requirement comprises the following steps:
and judging whether the eye height and the eye distance of the eye pattern meet the preset requirement or not, and obtaining a judging result.
Optionally, the method further comprises:
if the first simulation result meets the preset requirement, starting a balanced self-adaptation function of the simulation model;
the length of the virtual transmission line is adjusted to be a first preset length, wherein the loss of the virtual transmission line with the first preset length reaches the maximum transmission loss supported by a protocol corresponding to the simulation model;
controlling the transmission rate of the simulation model under the protocol supported by the simulation, and obtaining the second simulation result;
the determining the reliability of the simulation model according to the simulation result comprises the following steps:
and determining the reliability of the simulation model according to the second simulation result.
Optionally, the determining the reliability of the simulation model according to the second simulation result includes:
judging whether the second simulation result meets the preset requirement or not;
if the second simulation result does not meet the preset requirement, determining that the simulation model is unreliable;
if the second simulation result meets the preset requirement, the length of the virtual transmission line is adjusted, and the simulation model is controlled to simulate to obtain a third simulation result;
and determining the reliability of the simulation model according to the third simulation result.
Optionally, the adjusting the length of the virtual transmission line and controlling the simulation model to simulate to obtain a third simulation result includes:
the length of the virtual transmission line is adjusted to be a second preset length, and the statistical value is updated, wherein the loss of the virtual transmission line with the second preset length is increased by a preset loss value;
each time the statistical value is updated, the simulation model is controlled to simulate to obtain a third simulation result until the third simulation result does not meet the preset requirement;
the determining the reliability of the simulation model according to the third simulation result comprises the following steps:
and determining the reliability of the simulation model according to the final statistical value.
In a second aspect, an embodiment of the present invention further provides a verification apparatus for a simulation model, including:
the acquisition module is used for acquiring file information of a simulation model, wherein the simulation model is used for simulating the reliability of signals;
the judging module is used for judging whether the file information meets preset conditions or not;
the adjusting module is used for adjusting the virtual transmission line and controlling the simulation model to simulate if the preset condition is met so as to obtain a simulation result; the virtual transmission line is used for connecting an input model and an output model of the simulation model;
and the determining module is used for determining the reliability of the simulation model according to the simulation result.
Optionally, the judging module is specifically configured to judge whether the file information includes the input model, the output model and a system file; if yes, determining that the file information meets the preset condition; if not, determining that the file information does not meet the preset condition, and determining that the simulation model is unreliable.
Optionally, the adjusting module is specifically configured to short-circuit the virtual transmission line, so as to directly connect the input model and the output model; controlling the transmission rate of the simulation model under the protocol supported by the simulation, and obtaining a first simulation result;
the determining module is specifically configured to determine whether the first simulation result meets a preset requirement; and if the first simulation result does not meet the preset requirement, determining that the simulation model is unreliable.
Optionally, the first simulation result includes: an eye diagram;
the determining module is specifically configured to determine whether the eye height and the eye distance of the eye pattern meet the preset requirement, and obtain a determination result.
Optionally, the apparatus further includes:
the starting module is used for starting the balanced self-adaptation function of the simulation model if the first simulation result meets the preset requirement;
the adjusting module is used for adjusting the length of the virtual transmission line to be a first preset length, wherein the loss of the virtual transmission line with the first preset length reaches the maximum transmission loss supported by a protocol corresponding to the simulation model;
the control module is used for controlling the transmission rate under the protocol supported by the simulation model simulation to obtain the second simulation result;
the determining module is specifically configured to determine reliability of the simulation model according to the second simulation result.
Optionally, the determining module is specifically configured to determine whether the second simulation result meets the preset requirement; if the second simulation result does not meet the preset requirement, determining that the simulation model is unreliable; if the second simulation result meets the preset requirement, the length of the virtual transmission line is adjusted, and the simulation model is controlled to simulate to obtain a third simulation result; and determining the reliability of the simulation model according to the third simulation result.
Optionally, the determining module is specifically configured to adjust a length of the virtual transmission line to a second preset length, and update a statistical value, where a loss of the virtual transmission line of the second preset length increases by a preset loss value; each time the statistical value is updated, the simulation model is controlled to simulate to obtain a third simulation result until the third simulation result does not meet the preset requirement; and determining the reliability of the simulation model according to the final statistical value.
In a third aspect, an embodiment of the present invention further provides a processing apparatus, including: a memory storing a computer program executable by the processor, and a processor implementing the method for verifying a simulation model according to any one of the first aspects.
In a fourth aspect, an embodiment of the present invention further provides a computer readable storage medium, where a computer program is stored, where the computer program is read and executed to implement a method for verifying a simulation model according to any one of the first aspect.
The beneficial effects of the invention are as follows: the embodiment of the invention provides a verification method of a simulation model, which comprises the following steps: acquiring file information of a simulation model, wherein the simulation model is used for simulating the reliability of signals; judging whether the file information meets preset conditions or not; if the preset condition is met, the virtual transmission line is adjusted, and the simulation model is controlled to simulate to obtain a simulation result; the virtual transmission line is used for connecting an input model and an output model of the simulation model; and determining the reliability of the simulation model according to the simulation result. When the file information of the simulation model meets the preset conditions, the simulation result is obtained by adjusting the virtual transmission line and controlling the simulation model to simulate, the reliability of the simulation model is determined based on the simulation result, automatic reliability verification of the simulation model is realized, the verification result is more objective, the accuracy of the verification result is improved, and human resources are saved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a verification method of a simulation model according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a verification method of a simulation model according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of a verification method of a simulation model according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart of a verification method of a simulation model according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart of a verification method of a simulation model according to an embodiment of the present invention;
FIG. 6 is a flowchart of a verification method of a simulation model according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a complete flow of a verification method of a simulation model according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of a verification device for a simulation model according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a processing apparatus according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention.
Thus, the following detailed description of the embodiments of the present application, as provided in the accompanying drawings, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
Furthermore, the terms first, second and the like in the description and in the claims and in the above-described figures, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that, without conflict, features in embodiments of the present application may be combined with each other.
In the related art, the reliability of the simulation model is verified manually, the problem of inaccurate verification results is easy to occur, and unnecessary human resources are wasted.
Aiming at the technical problems in the related art, the embodiment of the application provides a verification method for a simulation model, which is used for acquiring file information of the simulation model, and when the file information meets preset conditions, a simulation result is obtained by adjusting a virtual transmission line and controlling the simulation model to simulate, and the reliability of the simulation model is determined based on the simulation result, so that the automatic reliability verification for the simulation model is realized, the verification result is more objective, the accuracy of the verification result is improved, and the manpower resources are saved.
The verification method of the simulation model provided by the embodiment of the application can be applied to processing equipment, the processing equipment can be a server or terminal equipment, and the terminal equipment can be any one of the following: desktop computers, notebook computers, tablet computers, smart phones, and the like.
The following explains a verification method of a simulation model provided in the embodiment of the present application.
Fig. 1 is a flow chart of a verification method of a simulation model according to an embodiment of the present invention, as shown in fig. 1, the method may include:
s101, acquiring file information of a simulation model.
Wherein the simulation model is used for simulating the reliability of the signal.
In this embodiment of the present application, the simulation model is used to perform active simulation of a full link on a signal, and the type of the signal simulated by the simulation model is not specifically limited, and by way of example, the signal simulated by the simulation model may be a high-speed signal, and the reliability of the signal may be determined by simulating the signal by the simulation model, that is, the quality of the final signal may be determined. Wherein, when the transmission rate of the signal is higher, the equalization function included in the simulation model becomes more complex.
In some implementations, the simulation model may be an IBIS-AMI (Input/Output Buffer Information Specification-Algorithmic Modeling Interface, input/output buffer information Specification—Algorithm modeling interface) model. The IBIS-AMI model is a behavior-level model, the internal structure of the model cannot be checked, and the reliability of the IBIS-AMI model is necessary to be verified. Of course, the simulation model may be other similar models, and may be selected according to actual requirements, which is not limited in particular in the embodiments of the present application.
In addition, file information of the simulation model may be acquired from inside the simulation model.
S102, judging whether the file information meets preset conditions.
In some embodiments, judging whether the file information meets the preset condition or not can obtain a judging result; the judgment result indicates that the file information meets the preset condition, or that the file information does not meet the preset condition. If the file information does not meet the preset conditions, the simulation model is determined to be unreliable.
The preset condition may be whether the file is complete, whether the format meets the requirements, etc., and is not particularly limited herein.
And S103, if the preset condition is met, the virtual transmission line is adjusted, and the simulation model is controlled to simulate, so that a simulation result is obtained.
The virtual transmission line is used for connecting an input model and an output model of the simulation model. The output model may be referred to as a TX (Transmit) model, and the input model may be referred to as an RX (Receive) model.
It should be noted that, if the preset condition is satisfied, the processing device may automatically adjust the virtual transmission line according to the preset program, and the processing device may also determine an adjustment instruction in response to an adjustment operation input by the user, adjust the virtual transmission line according to the adjustment instruction, and control the simulation model to perform simulation to obtain a simulation result.
Notably, adjusting the virtual transmission line can include: and adjusting the connection mode of the virtual transmission line and/or adjusting the length of the virtual transmission line.
S104, determining the reliability of the simulation model according to the simulation result.
In the embodiment of the application, the reliability of the simulation model is determined by analyzing according to the simulation result, and the reliability of the simulation model can be used for representing the reliability degree of the simulation model.
Of course, the processing device may present the reliability of the simulation model to the user so that the user knows the reliability of the simulation model. The display mode can be any one of the following modes: graphic displays, form displays, text displays, and the like.
In summary, an embodiment of the present invention provides a method for verifying a simulation model, including: acquiring file information of a simulation model, wherein the simulation model is used for simulating the reliability of signals; judging whether the file information meets preset conditions or not; if the preset condition is met, the virtual transmission line is adjusted, and the simulation model is controlled to simulate to obtain a simulation result; the virtual transmission line is used for connecting an input model and an output model of the simulation model; and determining the reliability of the simulation model according to the simulation result. When the file information of the simulation model meets the preset conditions, the simulation result is obtained by adjusting the virtual transmission line and controlling the simulation model to simulate, the reliability of the simulation model is determined based on the simulation result, automatic reliability verification of the simulation model is realized, the verification result is more objective, the accuracy of the verification result is improved, and human resources are saved.
Optionally, fig. 2 is a flow chart of a verification method of a simulation model according to an embodiment of the present invention, as shown in fig. 2, a process of determining whether file information meets a preset condition in S102 may include:
s201, judging whether the file information comprises an input model, an output model and a system file.
The system file may include: win system files or Linux system files. The Win system file may include: * System files with suffixes of ibs, ami, dll, etc., the Linux system may include: * System file of so suffix name.
In some embodiments, it may be determined whether the file information includes all of the TX model, the RX model, the ibs, the ami, the dll, and the like, or whether the file information includes all of the TX model, the RX model, the so, and the like.
S202, if yes, determining that the file information meets the preset condition.
It should be noted that, if the file information includes the input model, the output model and the system file, it is determined that the file information satisfies the preset condition. The process of S103 described above may be performed.
And S203, if not, determining that the file information does not meet the preset condition, and determining that the simulation model is unreliable.
In the embodiment of the application, if the file information does not include the input model, the output model and the system file at the same time, it is determined that the file information does not meet the preset condition, and it is determined that the simulation model is unreliable.
In summary, whether the file information includes the input model, the output model and the system file is determined, so that the reliability verification of the simulation model is more flexible.
Optionally, fig. 3 is a flow chart of a verification method of a simulation model according to an embodiment of the present invention, as shown in fig. 3, a process of adjusting a virtual transmission line and controlling the simulation model to perform simulation to obtain a simulation result in S103 may include:
s301, shorting the virtual transmission line so as to directly connect the input model and the output model.
The virtual transmission line is short-circuited to realize direct connection of the input model and the output model and close all energy gathering functions of the simulation model. Alternatively, the method of the present application may be implemented based on simulation software, and the user may control the short-circuit virtual transmission line by means of instructions, scripts, programs, or the like, or may manually adjust the short-circuit virtual transmission line by means of software, which is not limited herein.
In the embodiment of the application, a virtual transmission line conforming to the protocol target impedance supported by the simulation model can be created, and the virtual transmission line is adopted to connect an input model and an output model of the simulation model.
S302, controlling the transmission rate under the protocol supported by the simulation model simulation, and obtaining a first simulation result.
It should be noted that, the control simulation model obtains the first simulation result according to the transmission rate under the signal simulation support protocol, where the first simulation result may be in the form of an image, or may be in the form of a character, or may be in another form.
The process of determining the reliability of the simulation model according to the simulation result in S104 may include:
s303, judging whether the first simulation result meets the preset requirement;
s304, if the first simulation result does not meet the preset requirement, determining that the simulation model is unreliable.
In some embodiments, the first simulation result is analyzed to determine whether the first simulation result meets the preset requirement, if the first simulation result does not meet the preset requirement, that is, if the first simulation result is directly connected to the TX model, the simulation model cannot meet the effective transmission, the simulation model is determined to be unreliable, and if the first simulation result meets the preset requirement, other verification modes are needed to be further adopted to determine the reliability of the simulation model.
Optionally, the first simulation result includes: an eye diagram;
the process of determining whether the first simulation result meets the preset requirement in S303 may include:
and judging whether the eye height and the eye distance of the eye diagram meet the preset requirements or not, and obtaining a judging result.
The preset requirement may be a decision template of an Eye pattern, which may be expressed as eye_mask.
In the embodiment of the application, the Eye height and the Eye distance of the Eye pattern of the first simulation result are analyzed, whether the Eye pattern of the first simulation result and the eye_mask overlap or not is determined, if so, that is, if a pressure judgment template exists on the Eye pattern of the first simulation result, the simulated signal quality is considered to be bad, that is, the first simulation result does not meet the preset requirement, and then the simulation model can be determined to be unreliable.
In addition, if no overlap exists, that is, the eye diagram of the first simulation result does not have the compression judgment template, it can be determined that the first simulation result meets the preset requirement, and other verification modes are needed to be further adopted to determine the reliability of the simulation model.
Optionally, fig. 4 is a flow chart of a verification method of a simulation model according to an embodiment of the present invention, as shown in fig. 4, the method may further include:
s401, if the first simulation result meets the preset requirement, starting the balanced self-adaptation function of the simulation model.
S402, adjusting the length of the virtual transmission line to be a first preset length.
The loss of the virtual transmission line with the first preset length reaches the maximum transmission loss supported by the protocol corresponding to the simulation model.
It should be noted that, after the length of the virtual transmission line is adjusted to the first preset length, the loss of the virtual transmission line may reach the maximum transmission loss that can be supported by the protocol corresponding to the simulation model.
Alternatively, the user may manually adjust the length of the virtual transmission line in software, or may control the adjustment of the length of the virtual transmission line by means of instructions or the like.
S403, controlling the transmission rate under the protocol supported by the simulation model simulation, and obtaining a second simulation result.
In the embodiment of the present application, the control simulation model obtains a second simulation result for the transmission rate under the signal simulation support protocol, where the second simulation result may be in the form of an image, may be in the form of a character, or may be in other forms.
The process of determining the reliability of the simulation model according to the simulation result in S104 may include:
s404, determining the reliability of the simulation model according to the second simulation result.
And determining the reliability of the simulation model when the length of the virtual transmission line is the first preset length according to the second simulation result.
In summary, if the first simulation result meets the preset requirement, the length of the virtual transmission line is adjusted to the first preset length, a second simulation result is obtained based on the simulation, and the reliability of the simulation model is determined according to the second simulation result, so that the reliability verification of the simulation model is more comprehensive and accurate.
Optionally, fig. 5 is a flow chart of a verification method of a simulation model according to an embodiment of the present invention, as shown in fig. 5, a process of determining reliability of the simulation model according to the second simulation result in S303 may include:
s501, judging whether the second simulation result meets the preset requirement.
S502, if the second simulation result does not meet the preset requirement, determining that the simulation model is unreliable.
Optionally, the second simulation result includes an eye pattern, and it is determined whether the eye height and the eye distance of the eye pattern of the second simulation result meet the preset requirement.
In some embodiments, the Eye height and the Eye distance of the Eye pattern of the second simulation result may be analyzed, whether the Eye pattern of the second simulation result and the eye_mask overlap or not may be determined, if the Eye pattern of the second simulation result and the eye_mask overlap, that is, if the Eye pattern of the second simulation result has the compression judgment template, the simulated signal quality is considered to be bad, that is, the second simulation result does not meet the preset requirement, and then it may be determined that the simulation model is unreliable.
S503, if the second simulation result meets the preset requirement, adjusting the length of the virtual transmission line, and controlling the simulation model to simulate to obtain a third simulation result.
If the eye diagram of the second simulation result does not have the compression judgment template, the second simulation result can be determined to meet the preset requirement, and other verification modes are needed to be further adopted to determine the reliability of the simulation model. The length of the virtual transmission line can be further adjusted, the transmission rate of the protocol supported by the simulation model is controlled, and a third simulation result is obtained.
S504, determining the reliability of the simulation model according to the third simulation result.
In summary, if the second simulation result meets the preset requirement, the length of the virtual transmission line is adjusted, a third simulation result is obtained based on the simulation, and the reliability of the simulation model is determined according to the third simulation result, so that the reliability verification of the simulation model is more comprehensive and accurate.
Optionally, fig. 6 is a flow chart of a verification method of a simulation model according to an embodiment of the present invention, as shown in fig. 6, a process of adjusting a length of a virtual transmission line in the above step S503 and controlling the simulation model to perform simulation to obtain a third simulation result may include:
s601, adjusting the length of the virtual transmission line to be a second preset length, and updating the statistic value.
Wherein the loss of the virtual transmission line of the second preset length is increased by a preset loss value.
In some embodiments, the length of the virtual transmission line is adjusted to a second predetermined length, and after the length is adjusted to the second predetermined length, the loss of the virtual transmission line increases by a predetermined loss value. When the loss of the virtual transmission line increases by a preset loss value, the statistical value is updated once, and the statistical value can be increased by a preset value K.
For example, the preset loss value may be 1dB (decibel), and of course, the preset loss value may also be set according to actual requirements, which is not specifically limited in the embodiment of the present application.
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 plate, such as IT968, M6, and the unit transmission loss a of the transmission line is calculated when the 1inch (1 inch) line length; the 1/a is the transmission line length corresponding to the 1dB loss increase, i.e., the second preset length.
S602, controlling the simulation model to simulate to obtain a third simulation result after updating the statistical value every time until the third simulation result does not meet the preset requirement.
In some embodiments, the third simulation result includes an eye pattern, and it is determined whether the eye height and the eye distance of the eye pattern of the third simulation result meet the preset requirement. The Eye height and the Eye distance of the Eye pattern of the third simulation result can be analyzed, whether the Eye pattern of the third simulation result and the eye_mask overlap or not is determined, if so, namely, the Eye pattern of the third simulation result has a press judgment template, the simulated signal quality is considered to be poor, namely, the third simulation result does not meet the preset requirement.
The process of determining the reliability of the simulation model according to the third simulation result in S504 may include:
s603, determining the reliability of the simulation model according to the final statistical value.
In some embodiments, the greater the final statistics, the lower the reliability of the determined simulation model, and the greater the system margin to be maintained when performing full link simulation; when the final statistics are smaller, the reliability of the simulation model is determined to be higher, and when full-link simulation is performed, the system margin to be maintained is smaller.
In other embodiments, it may also be determined whether the final statistical value is greater than or equal to a preset threshold, if so, determining that the simulation model is unreliable; if not, determining that the simulation model is reliable.
Optionally, fig. 7 is a complete flow chart of a verification method of a simulation model according to an embodiment of the present invention, as shown in fig. 7, the method may include:
s1, acquiring file information of a simulation model.
S2, whether the file information comprises an input model, an output model and a system file.
If not, S12 is executed.
S3, shorting the virtual transmission line so as to directly connect the input model and the output model.
S4, controlling the transmission rate of the simulation model under the protocol supported by the simulation model to obtain a first simulation result.
S5, judging whether the first simulation result meets the preset requirement.
If not, S12 is executed.
S6, adjusting the length of the virtual transmission line to be a first preset length;
s7, controlling the transmission rate of the simulation model under the protocol supported by the simulation model to obtain a second simulation result.
S8, judging whether the second simulation result meets the preset requirement.
If not, S12 is executed.
S9, adjusting the length of the virtual transmission line to be a second preset length, and updating the statistic value.
And S10, controlling the simulation model to simulate to obtain a third simulation result after updating the statistical value every time until the third simulation result does not meet the preset requirement.
And S11, determining that the simulation model is less reliable as the final statistical value is larger.
S12, determining that the reliability of the simulation model is low.
In summary, when the file information of the simulation model meets the preset condition, the simulation result is obtained by adjusting the virtual transmission line and controlling the simulation model to simulate, and the reliability of the simulation model is determined based on the simulation result, so that the automatic reliability verification of the simulation model is realized, the verification result is more objective, the accuracy of the verification result is improved, and the human resources are saved.
The following describes a simulation model verification device, a processing device, a storage medium, etc. for executing the simulation model verification method provided in the present application, and specific implementation processes and technical effects thereof refer to relevant contents of the simulation model verification method, which are not described in detail below.
Fig. 8 is a schematic structural diagram of a verification device for a simulation model according to an embodiment of the present invention, where, as shown in fig. 8, the device may include:
an obtaining module 801, configured to obtain file information of a simulation model, where the simulation model is used to simulate reliability of a signal;
a judging module 802, configured to judge whether the file information meets a preset condition;
the adjusting module 803 is configured to adjust the virtual transmission line and control the simulation model to perform simulation if the preset condition is met, so as to obtain a simulation result; the virtual transmission line is used for connecting an input model and an output model of the simulation model;
a determining module 804, configured to determine reliability of the simulation model according to the simulation result.
Optionally, the determining module 802 is specifically configured to determine whether the file information includes the input model, the output model, and a system file; if yes, determining that the file information meets the preset condition; if not, determining that the file information does not meet the preset condition, and determining that the simulation model is unreliable.
Optionally, the adjusting module 803 is specifically configured to short-circuit the virtual transmission line, so as to directly connect the input model and the output model; controlling the transmission rate of the simulation model under the protocol supported by the simulation, and obtaining a first simulation result;
the determining module 804 is specifically configured to determine whether the first simulation result meets a preset requirement; and if the first simulation result does not meet the preset requirement, determining that the simulation model is unreliable.
Optionally, the first simulation result includes: an eye diagram;
the determining module 804 is specifically configured to determine whether the eye height and the eye distance of the eye pattern meet the preset requirement, and obtain a determination result.
Optionally, the apparatus further includes:
the starting module is used for starting the balanced self-adaptation function of the simulation model if the first simulation result meets the preset requirement;
the adjusting module is used for adjusting the length of the virtual transmission line to be a first preset length, wherein the loss of the virtual transmission line with the first preset length reaches the maximum transmission loss supported by a protocol corresponding to the simulation model;
the control module is used for controlling the transmission rate under the protocol supported by the simulation model simulation to obtain the second simulation result;
the determining module 804 is specifically configured to determine reliability of the simulation model according to the second simulation result.
Optionally, the determining module 804 is specifically configured to determine whether the second simulation result meets the preset requirement; if the second simulation result does not meet the preset requirement, determining that the simulation model is unreliable; if the second simulation result meets the preset requirement, the length of the virtual transmission line is adjusted, and the simulation model is controlled to simulate to obtain a third simulation result; and determining the reliability of the simulation model according to the third simulation result.
Optionally, the determining module 804 is specifically configured to adjust the length of the virtual transmission line to a second preset length, and update the statistics, where the loss of the virtual transmission line of the second preset length increases by a preset loss value; each time the statistical value is updated, the simulation model is controlled to simulate to obtain a third simulation result until the third simulation result does not meet the preset requirement; and determining the reliability of the simulation model according to the final statistical value.
The foregoing apparatus is used for executing the method provided in the foregoing embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
The above modules may be one or more integrated circuits configured to implement the above methods, for example: one or more application specific integrated circuits (Application Specific Integrated Circuit, abbreviated as ASIC), or one or more microprocessors (digital singnal processor, abbreviated as DSP), or one or more field programmable gate arrays (Field Programmable Gate Array, abbreviated as FPGA), or the like. For another example, when a module above is implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU) or other processor that may invoke the program code. For another example, the modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 9 is a schematic structural diagram of a processing device according to an embodiment of the present invention, as shown in fig. 9, the processing device may include: processor 901, memory 902.
The memory 902 is used for storing a program, and the processor 901 calls the program stored in the memory 902 to execute the above-described method embodiment. The specific implementation manner and the technical effect are similar, and are not repeated here.
Optionally, the present invention also provides a program product, such as a computer readable storage medium, comprising a program for performing the above-described method embodiments when being executed by a processor.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (english: processor) to perform some of the steps of the methods according to the embodiments of the invention. And the aforementioned storage medium includes: u disk, mobile hard disk, read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method of validating a simulation model, comprising:
acquiring file information of a simulation model, wherein the simulation model is used for simulating the reliability of signals;
judging whether the file information meets preset conditions or not;
if the preset conditions are met, adjusting a virtual transmission line and controlling the simulation model to simulate so as to obtain a simulation result; the virtual transmission line is used for connecting an input model and an output model of the simulation model;
and determining the reliability of the simulation model according to the simulation result.
2. The method of claim 1, wherein the determining whether the file information satisfies a preset condition comprises:
judging whether the file information comprises the input model, the output model and a system file;
if yes, determining that the file information meets the preset condition;
if not, determining that the file information does not meet the preset condition, and determining that the simulation model is unreliable.
3. The method of claim 1, wherein adjusting the virtual transmission line and controlling the simulation model to simulate results of the simulation comprises:
shorting the virtual transmission line to directly connect the input model and the output model;
controlling the transmission rate of the simulation model under the protocol supported by the simulation, and obtaining a first simulation result;
the determining the reliability of the simulation model according to the simulation result comprises the following steps:
judging whether the first simulation result meets a preset requirement or not;
and if the first simulation result does not meet the preset requirement, determining that the simulation model is unreliable.
4. A method according to claim 3, wherein the first simulation result comprises: an eye diagram;
the judging whether the first simulation result meets the preset requirement comprises the following steps:
and judging whether the eye height and the eye distance of the eye pattern meet the preset requirement or not, and obtaining a judging result.
5. A method according to claim 3, characterized in that the method further comprises:
if the first simulation result meets the preset requirement, starting a balanced self-adaptation function of the simulation model;
the length of the virtual transmission line is adjusted to be a first preset length, wherein the loss of the virtual transmission line with the first preset length reaches the maximum transmission loss supported by a protocol corresponding to the simulation model;
controlling the transmission rate of the simulation model under the protocol supported by the simulation to obtain a second simulation result;
the determining the reliability of the simulation model according to the simulation result comprises the following steps:
and determining the reliability of the simulation model according to the second simulation result.
6. The method of claim 5, wherein said determining the reliability of the simulation model based on the second simulation result comprises:
judging whether the second simulation result meets the preset requirement or not;
if the second simulation result does not meet the preset requirement, determining that the simulation model is unreliable;
if the second simulation result meets the preset requirement, the length of the virtual transmission line is adjusted, and the simulation model is controlled to simulate to obtain a third simulation result;
and determining the reliability of the simulation model according to the third simulation result.
7. The method of claim 6, wherein adjusting the length of the virtual transmission line and controlling the simulation model to simulate to obtain a third simulation result comprises:
the length of the virtual transmission line is adjusted to be a second preset length, and the statistical value is updated, wherein the loss of the virtual transmission line with the second preset length is increased by a preset loss value;
each time the statistical value is updated, the simulation model is controlled to simulate to obtain a third simulation result until the third simulation result does not meet the preset requirement;
the determining the reliability of the simulation model according to the third simulation result comprises the following steps:
and determining the reliability of the simulation model according to the final statistical value.
8. A verification apparatus for a simulation model, comprising:
the acquisition module is used for acquiring file information of a simulation model, wherein the simulation model is used for simulating the reliability of signals;
the judging module is used for judging whether the file information meets preset conditions or not;
the adjusting module is used for adjusting the virtual transmission line and controlling the simulation model to simulate if the preset condition is met so as to obtain a simulation result; the virtual transmission line is used for connecting an input model and an output model of the simulation model;
and the determining module is used for determining the reliability of the simulation model according to the simulation result.
9. A processing apparatus, comprising: a memory and a processor, the memory storing a computer program executable by the processor, the processor implementing the method of validating a simulation model as claimed in any one of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when read and executed, implements a method for verifying a simulation model according to any of the preceding claims 1-7.
CN202310088116.4A 2023-02-07 2023-02-07 Verification method, device, processing equipment and medium of simulation model Pending CN116305806A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310088116.4A CN116305806A (en) 2023-02-07 2023-02-07 Verification method, device, processing equipment and medium of simulation model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310088116.4A CN116305806A (en) 2023-02-07 2023-02-07 Verification method, device, processing equipment and medium of simulation model

Publications (1)

Publication Number Publication Date
CN116305806A true CN116305806A (en) 2023-06-23

Family

ID=86798757

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310088116.4A Pending CN116305806A (en) 2023-02-07 2023-02-07 Verification method, device, processing equipment and medium of simulation model

Country Status (1)

Country Link
CN (1) CN116305806A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117666659A (en) * 2024-02-01 2024-03-08 山东安信种苗股份有限公司 Greenhouse seedling raising and cooling control method, system and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117666659A (en) * 2024-02-01 2024-03-08 山东安信种苗股份有限公司 Greenhouse seedling raising and cooling control method, system and terminal
CN117666659B (en) * 2024-02-01 2024-04-26 山东安信种苗股份有限公司 Greenhouse seedling raising and cooling control method, system and terminal

Similar Documents

Publication Publication Date Title
CN111177617A (en) Web direct operation and maintenance method and device based on operation and maintenance management system and electronic equipment
CN111314945A (en) Test method, system and terminal equipment
US20140156852A1 (en) Method and system for sharing testing resources through the web
WO2021103219A1 (en) Test apparatus, system and method for satellite receiver
CN107729538A (en) Comment information processing method, device, terminal device and storage medium
WO2014153311A1 (en) Automatic version management
CN113078962B (en) Radio frequency calibration method, radio frequency calibration device, test equipment and storage medium
CN111352778B (en) Network simulation processing method and device, electronic equipment and storage medium
CN116757134B (en) UVM-based traffic shaping verification method and related equipment
CN116305806A (en) Verification method, device, processing equipment and medium of simulation model
CN113626200A (en) Task load calculation method, device, storage medium and terminal
CN113254284A (en) Chip testing method, device, equipment, storage medium and program product
CN110737548B (en) Data request method and server
CN114692427B (en) Equipment calibration method and device
CN114040485B (en) Method for remote unit to open station, baseband unit, communication system and medium
CN113568793A (en) Serial port testing method, intelligent module and storage medium
CN110059326B (en) Simulation method and simulation system for debugging microwave device
CN107506540B (en) A Mixed Model Signal Integrity Simulation Method
CN117076227A (en) Simulation test system, method, device and medium for hard disk backplane monitoring function
CN117033212A (en) Method for automatically generating interface test case and test case generating device
CN115687187A (en) Simulation verification method and device, electronic equipment and storage medium
CN114417717A (en) Simulation method and device of printed circuit board
CN114138358A (en) Application program starting optimization method, device, equipment and storage medium
WO2021212492A1 (en) Information pushing method and apparatus, electronic device, and computer-readable medium
CN119210634B (en) Method, system, product, equipment and storage medium for generating received signal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination