CN116882345A - Circuit simulation data collection method, system, medium and electronic equipment - Google Patents

Circuit simulation data collection method, system, medium and electronic equipment Download PDF

Info

Publication number
CN116882345A
CN116882345A CN202310826640.7A CN202310826640A CN116882345A CN 116882345 A CN116882345 A CN 116882345A CN 202310826640 A CN202310826640 A CN 202310826640A CN 116882345 A CN116882345 A CN 116882345A
Authority
CN
China
Prior art keywords
data
target
collection
configuration file
circuit simulation
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
CN202310826640.7A
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.)
Hexin Technology Co ltd
Hexin Technology Suzhou Co ltd
Original Assignee
Hexin Technology Co ltd
Hexin Technology Suzhou 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 Hexin Technology Co ltd, Hexin Technology Suzhou Co ltd filed Critical Hexin Technology Co ltd
Priority to CN202310826640.7A priority Critical patent/CN116882345A/en
Publication of CN116882345A publication Critical patent/CN116882345A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/36Circuit design at the analogue level
    • G06F30/367Design verification, e.g. using simulation, simulation program with integrated circuit emphasis [SPICE], direct methods or relaxation methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/215Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing
    • G06F16/90344Query processing by using string matching techniques
    • 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

Abstract

The application provides a circuit simulation data collection method, a system, a medium and electronic equipment; the circuit simulation data collection method comprises the following steps: acquiring a collection analysis mode script and a circuit simulation data set; the target configuration file is customized according to the user requirements and the collection analysis mode script; the target configuration file includes data gathering instructions; invoking a collection analysis mode script to analyze the target configuration file so as to collect target data from the circuit simulation data set based on the data collection instruction; the target data corresponds to the data collection instruction; according to the application, a set of collection and analysis mode scripts applicable to all simulation data collection are compiled, and the target configuration file is customized according to the user requirements, so that various different requirements of the user can be met; when the requirements of the user change, the corresponding function scripts do not need to be modified or rewritten to realize the corresponding collection and analysis functions, so that the labor is saved, and the efficiency of simulating data collection is improved.

Description

Circuit simulation data collection method, system, medium and electronic equipment
Technical Field
The application belongs to the technical field of data processing, relates to a circuit simulation technology, and in particular relates to a circuit simulation data collection method, a system, a medium and electronic equipment.
Background
In the process of designing a unit circuit, simulation result data (the result includes voltage, current, time sequence and the like) need to be collected, and currently, a one-to-one code mode is mostly used for different types of data collection modes, when the collection content or the result is increased or decreased, processed or displayed, a large number of source codes need to be modified to complete data collection, and a large amount of manpower is spent for maintaining the one-to-one source codes.
Disclosure of Invention
The application aims to provide a circuit simulation data collection method, a system, a medium and electronic equipment, which are used for solving the problems in the background technology.
In a first aspect, the present application provides a circuit simulation data collection method, including: acquiring a collection analysis mode script and a circuit simulation data set; the target configuration file is customized according to the user requirements and the collected analysis mode script; the target configuration file comprises data collection instructions; invoking the collection analysis mode script to analyze the target configuration file so as to collect target data from the circuit simulation data set based on the data collection instruction; the target data corresponds to the data gathering instructions.
According to the application, a set of collection analysis mode scripts applicable to all simulation data collection is compiled, and the target configuration file is customized according to the user requirements, so that various different requirements of the user can be met; when the requirements of the user change, the corresponding function scripts do not need to be modified or rewritten to realize the corresponding collection and analysis functions, so that the labor is saved, and the efficiency of simulating data collection is improved.
In one implementation manner of the first aspect, the circuit simulation data set includes at least one simulation data; the custom target configuration file includes: the same or different target configuration files are customized aiming at different simulation data; at least one target configuration file is customized for the same simulation data.
In the implementation manner, various target configuration files can be customized according to the requirements of a user according to different simulation data or the same simulation data, and regardless of the customization of several target configuration files, only one set of general collection and analysis mode scripts are needed to analyze the target configuration files, and new scripts do not need to be modified or rewritten according to different target configuration files, so that manpower is reduced.
In an implementation manner of the first aspect, a data display manner is further configured in the target configuration file; the circuit simulation data collection method further comprises the following steps: displaying the target data according to the data display mode; the data display mode at least comprises the following steps: forms and/or web pages.
In the implementation mode, the target data is displayed, so that a user can intuitively acquire the target data to analyze the target data.
In an implementation manner of the first aspect, the target configuration file is further configured with a data checking instruction and a data rationality condition; the circuit simulation data collection method further comprises the following steps: checking the rationality of the target data based on the data checking instruction and the data rationality condition; if the target data meets the data reasonable condition, the target data is reasonable; if the target data does not meet the data rationality condition, the target data is not rational.
In an implementation manner of the first aspect, a data format is further configured in the target configuration file; the data value of the target data is represented in the data format.
In one implementation of the first aspect, the circuit emulation data set includes a plurality of data files; the data structures of the plurality of data files are identical.
In a second aspect, the present application provides a circuit simulation data gathering system, comprising: the acquisition module is used for acquiring the collection analysis mode script and the circuit simulation data set; the self-defining module is used for self-defining a target configuration file according to user requirements and the collection analysis mode script; the target configuration file comprises data collection instructions; the data collection module is used for calling the collection analysis mode script to analyze the target configuration file so as to collect target data from the circuit simulation data set based on the data collection instruction; the target data corresponds to the data gathering instructions.
In a third aspect, the present application provides an electronic device comprising: a processor and a memory; the memory is used for storing a computer program; the processor is used for executing the computer program stored in the memory so as to enable the electronic equipment to execute the circuit simulation data collection method.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which when executed by an electronic device implements the circuit emulation data gathering method described above.
In a fifth aspect, the present application provides a circuit simulation data collection system, including a simulation tool and the above-mentioned electronic device; the simulation tool is connected with the electronic device, and is used for simulating a circuit, generating a circuit simulation data set and sending the circuit simulation data set to the electronic device.
As described above, the circuit simulation data collection method, system, medium and electronic device of the application have the following beneficial effects:
compared with the prior art, the application can realize the collection function of various different simulation data and collect different requirements of the same simulation data by providing a set of universal collection analysis mode script and matching with the user-defined target configuration file, thereby reducing the manpower waste caused by the need of modifying the source code due to different requirements of the user and improving the efficiency of collecting the circuit simulation data.
Drawings
FIG. 1 is a schematic diagram of a prior art circuit simulation data gathering method.
FIG. 2 is a flowchart illustrating a circuit simulation data collection method according to an embodiment of the application.
FIG. 3 is a schematic diagram of a circuit simulation data collection method according to an embodiment of the application.
FIG. 4 is a schematic diagram illustrating a circuit simulation data collection system according to an embodiment of the application.
FIG. 5 is a schematic diagram illustrating a circuit simulation data collection system according to another embodiment of the application.
FIG. 6 is a flowchart of a circuit emulation data gathering method according to another embodiment of the present application.
Description of the reference numerals
41 acquisition module
42 custom module
43 data collection module
51 simulation tool
52 electronic equipment
S1 to S6 steps
Detailed Description
Other advantages and effects of the present application will become apparent to those skilled in the art from the following disclosure, which describes the embodiments of the present application with reference to specific examples. The application may be practiced or carried out in other embodiments that depart from the specific details, and the details of the present description may be modified or varied from the spirit and scope of the present application. It should be noted that the following embodiments and features in the embodiments may be combined with each other without conflict.
It should be noted that the illustrations provided in the following embodiments merely illustrate the basic concept of the present application by way of illustration, and only the components related to the present application are shown in the drawings and are not drawn according to the number, shape and size of the components in actual implementation, and the form, number and proportion of the components in actual implementation may be arbitrarily changed, and the layout of the components may be more complicated.
Taking a sram design process as an example, bit cell simulation, instance timing margin, delay and other simulations can generate a large amount of data in the sram design process, the data are collected and analyzed for rationality, and the result is visually displayed, so that the data collection and rationality analysis have no good applicability when the traditional one-to-one directory architecture and the simulation data or the collected objects are changed; and the collection and display modes can be set through the configuration interface without being generalized in the process, and when the collection or analysis modes are changed, the corresponding function scripts are required to be modified or rewritten to realize the corresponding collection and analysis.
It should be noted that, the method, the system, the medium and the electronic device for collecting circuit simulation data provided by the application are not only suitable for collecting and analyzing simulation data in a sram design process, but also suitable for collecting and analyzing other IP development processes or similar result data; specifically, the collection and analysis of data can be completed as long as the data has a similar sram directory structure.
As shown in fig. 1, for simulation data 1, to obtain two different collected data 1 and collected data 2 (collected data 1 and collected data 2 herein, i.e. "target data"), two kinds of collected analysis mode scripts, i.e. collected analysis mode script 1 and collected analysis mode script 2, are written correspondingly; for the simulation data 2 (the simulation data 1 and the simulation data 2 are both from a circuit simulation data set), in order to acquire the collected data 1 and the collected data 2, two other collected analysis mode scripts are required to be written, namely, in the prior art, for different simulation data, different collected analysis mode scripts are required to be written even if the same data is required to be collected from the collected analysis mode scripts 3 and the collected analysis mode scripts 4; aiming at the same simulation data, different scripts of collecting and analyzing modes are compiled for collecting different data, and the mode greatly increases the time for maintaining the scripts by a user and reduces the efficiency of data collection.
See fig. 2-6. Compared with the prior art, the method, the system, the medium and the electronic equipment for collecting the circuit simulation data can realize the collection function of various different simulation data and collect different requirements on the same simulation data by providing a set of universal collection and analysis mode scripts and matching with user-defined target configuration files, reduce the manpower waste caused by the fact that source codes are required to be modified due to different requirements of users, and improve the collection efficiency of the circuit simulation data.
The following describes the technical solution in the embodiment of the present application in detail with reference to the drawings in the embodiment of the present application.
As shown in fig. 2, in an embodiment, the present application provides a circuit simulation data collection method, which includes:
and S1, acquiring a collection analysis mode script and a circuit simulation data set.
Specifically, in the process of designing a unit circuit, simulating the circuit by a simulation tool to obtain a circuit simulation data set; the circuit simulation data set has a certain directory hierarchy rule; the collection analysis mode script is written by the user himself.
In one embodiment, the circuit emulation data set comprises a plurality of data files; the data structures of the plurality of data files are identical.
And S2, customizing the target configuration file according to the user requirements and the collection analysis mode script.
Specifically, according to the user requirements, the target configuration file is customized according to the script of the collection analysis mode.
In one embodiment, the circuit simulation dataset includes at least one simulation data; such as current, voltage, timing, and the like.
In one embodiment, the custom object configuration file includes:
(21) The same or different target configuration files are customized for different simulation data.
(22) At least one target configuration file is customized for the same simulation data.
In this embodiment, the target profile includes data gathering instructions.
In an embodiment, a data display manner is further configured in the target configuration file.
In one embodiment, the data presentation means at least includes, but is not limited to: forms and/or web pages.
In an embodiment, the target configuration file is further configured with a data checking instruction and a data rationality condition.
In an embodiment, the target configuration file is further configured with a data format.
It should be noted that, what format is specifically selected for the data format is not a condition for limiting the present application, and in practical application, the data format may be set according to a specific application scenario, such as binary, decimal, or the like.
It should be noted that, what content is specifically configured in the target configuration file is not a condition for limiting the present application, in practical application, different target configuration files can be configured according to different requirements of users in a specific application scenario, so as to meet different requirements of the users.
And S3, calling the collection analysis mode script to analyze the target configuration file so as to collect target data from the circuit simulation data set based on the data collection instruction.
It should be noted that, the target data corresponds to the data collection instruction; which data is collected is specified in the data collection instruction, and the target data collected in step S3 is the data.
As shown in fig. 2, in an embodiment, the circuit simulation data collection method further includes:
and S4, displaying the target data according to the data display mode.
It should be noted that, by displaying the target data, a user (engineer) can intuitively view the target data, so as to facilitate the user to perform fine viewing and analysis on the target data, and re-perform circuit simulation according to the analysis result.
As shown in fig. 2, in an embodiment, the circuit simulation data collection method further includes:
and S5, checking the rationality of the target data based on the data checking instruction and the data rationality condition.
Specifically, it is determined whether the target data satisfies the data rationality condition.
If the target data meets the data reasonable condition, the target data is reasonable; if the target data does not meet the data rationality condition, the target data is not rational.
It should be noted that, the reasonable conditions of the data include what content, and are not limiting conditions of the present application, and in practical application, the reasonable conditions may be set according to specific application scenarios.
In one embodiment, the data justification condition is defined as: the data value of the target data is between the minimum threshold value and the maximum threshold value; wherein the minimum threshold is xxx1; the maximum threshold is xxx2.
Note that, the above-mentioned minimum threshold value xxx1 and maximum threshold value xxx2 are not limited to the specific values, and may be set according to the specific application scenario in practical applications; as long as the maximum threshold is met above the minimum threshold.
As shown in fig. 2, in an embodiment, the circuit simulation data collection method further includes:
and S6, displaying a reasonable data checking result.
It should be noted that, the reasonable checking result of the data is obtained through step S5; specifically, after checking the rationality of the target data in step S5, the result of the rationality check of the data is obtained, and the result of the rationality check of the data includes: both rational and irrational.
In an embodiment, the rationally checking the result for unreasonable data further includes: both larger and smaller cases.
Specifically, if the data value of the target data is greater than the maximum threshold value, the target data is larger; if the data value of the target data is smaller than the minimum threshold value, the target data is smaller.
The data value of the target data is represented by the data format.
The protection scope of the circuit simulation data collection method according to the embodiment of the present application is not limited to the execution sequence of the steps listed in the embodiment, and all the schemes implemented by the steps of increasing or decreasing and step replacing in the prior art according to the principles of the present application are included in the protection scope of the present application.
The circuit simulation data collection method of the present application is further explained by the following specific embodiments.
Example 1
As shown in fig. 3, in an embodiment, for a conventional circuit simulation data extraction manner, the present application provides a user-configurable circuit simulation data collection method, which implements collection and analysis verification of circuit simulation data i_leak_max, and improves the simplicity of circuit simulation data collection and analysis.
The content of the customized configuration file is as follows:
set path sim_path
set file“${path}/*/cell_${pvt}.ms0”
Set pattern“pvt:(\S+)”
set data_format“${i_leak_max}:isdigital”
set max_val“${i_leak_max}:1e-05”
set min_val“${i_leak_max}:1e-09”
set rpt“report.html report.csv report.xls”
set table_title“PVT;meas_name;meas_res;Status”
set table_value“${pvt};i_leak_max;${i_leak_max::res};${i_leak_max::status}”
1, reading and analyzing the self-defined configuration file
a) Resolution
set pattern“pvt:(\S+)”
Save to data structure { pattern: { pvt: "(\S+)" })
b) Resolution
set file“sim_path/*/cell_${pvt}.ms0”
Save to data structure { file } "sim_path/cell_ { $pvt }. Ms0 ]"
c) Resolution
set data_format“${i_leak_max}:isdigital”
set max_val“${i_leak_max}:1e-05”
set min_val“${i_leak_max}:1e-09
Save to data structure { status } { $ { i_leak_max } { data_format } "isdiginal", max_val: "1e-05", min_val: "1e-09" })
d) Resolution
set rpt“report.html report.csv report.xls”
Save to data structure { rpt: [ report. Html, report. Csv, report. Xls ] }
e) Resolution
set table_title“PVT;meas_name;meas_res:Status”
set table_value“${pvt};i_leak_max;${i_leak_max::res};${i_leak_max::status}”
Save to data structure
{table_title:[PVT,meas_name,meas_res,Status]}
{table_value:[${ptv},i_leak_max,${i_leak_max::res},${i_leak_max::status}]}
2, completing data collection and analysis according to the configuration file and generating corresponding data structure data
a) Listing all files according to file setting, wherein variables in the files are replaced by $ { pvt }, and the replacement is performed by command;
b) Cycling through files in a)
i. Resolving the file name: related variable content is obtained according to the regularities in the pattern data structure and a data structure: { var: { $ { pvt }
And ii, generating a line data structure { i_leak_max: [ $ { pvt }, i_leak_max:: res }, $ { i_leak_max:: status } ] corresponding to the file according to the table_value content
Analyzing the content according to the file format to obtain a data structure { var { $ { i_leak_max } { res:1.026e-06}
The obtained variable parameters complete the judgment of the data state by combining the status related structure mentioned in the section 1-c), and a data structure { var { $ { i_leak_max }: { res:1.026e-06, status: PASS }
v. the structure of the current stage var is as follows
{var:{${pvt}:ff_1.65v_m40c,${i_leak_max}:{res:1.026e-06,status:PASS}}
Traversing the data structure, performing variable replacement, and generating a data-filled data structure
{table:[ff_1.65v_m40c,i_leak_max,1.026e-06,PASS]}
And 3, finally writing out the data according to the report format requirement to generate all format files
a) And (3) reading the final table structure data in the step (2), analyzing the data format of { rpt: [ report. Xls ] } and carrying out output processing on the structure data.
As shown in table 1, there are 3 target data collected, and their corresponding data values are respectively: the rationality states for these three data values are reasonable (indicated by "PASS" in Table 1), smaller (less than the minimum threshold 1e-09, indicated by "FAIL (F)" in Table 1), and larger (greater than the maximum threshold 1e-05, indicated by "FAIL (R)" in Table 1) respectively, 1.026e-06, 6.786e-11, 4.6404 e-04.
TABLE 1
Index PVT meas_name Value Status
1 ff_1.65v_m40c i_leak_max 1.026e-06 PASS
2 tt_1.5v_m40c i_leak_max 6.786e-11 FAIL(F)
3 ss_1.35v_125c i_leak_max 4.6404e-04 FAIL(R)
It should be noted that the number of the substrates,
1, the first row in table 1 is set table_title "PVT set in the configuration file; meas_name, status ", index of the first column is sequence number, which is added by default;
2, the second line to the fourth line of the table 1 are the collected simulation data, which are the set table_value "$ { pvt }; i_leak_max; $ { i_leak_max:: res }; generated by $ { i_leak_max:: status };
3, take simulation data collected in the second row of table 1 as an example:
a) Pvt= > corresponds to $ { PVT } in table_value, obtained by the way in the configuration file
set file“${path}/*/cell_${pvt}.ms0”
set pattern“pvt:(\S+)”
The obtained and generated;
the first sentence is a directory structure of simulation data;
the second sentence is a regular matching rule of pvt;
the matching flow is as follows:
first, list all simulation data files conforming to the file, the data of the second row in Table 1 may be such file, sim_path/leak/cell_ff_1.65v_m40c.ms0
The value corresponding to pvt is matched to be ff_1.65v_m40c according to a regular rule
b) I_leak_max in table_value corresponding to meas_name
c) Value corresponds to $ { i_leak_max:: res }, in table_value
Analyzing sim_path/leak/cell_ff_1.65v_m40c.ms0 to obtain $ { i_leak_max:: res } with a value of 1.026e-06;
d) Status= > its acquisition is performed by the configuration file
set data_format "$ { i_leak_max }; data format settings
set max_val "$ { i_leak_max }:1e-05"; maximum threshold setting
set min_val "$ { i_leak_max }:1e-09"; minimum threshold setting
Automatically judging whether the data format and the size of $ { i_leak_max:: res } are reasonable or not according to the settings;
the data in the second row of Table 1 indicates passage between 1e-05 and 1e-09 because of the PASS representation of 1.036 e-06;
the data in the third row of Table 1 is less than the minimum threshold, so the result is FAIL (F);
the data in the fourth row of Table 1 is greater than the maximum threshold, so the result is FAIL (R).
As shown in fig. 3, in this embodiment, a set of analysis-mode scripts is provided, and two different collected data 1 and collected data 2 (here, collected data 1 and collected data 2, i.e. "target data") are to be acquired for the simulation data 1; for the simulation data 2 (the simulation data 1 and the simulation data 2 are both from a circuit simulation data set), only corresponding configuration files (corresponding to the configuration file 1, the configuration file 2, the configuration file 3 and the configuration file 4 in fig. 3) are required to be customized to acquire the collected data 1 and the collected data 2, and then the set of collection analysis mode scripts are called to analyze different configuration files respectively, so that the collection of corresponding data is realized.
Example two
In one embodiment, the content of the custom configuration file is as follows:
set path sim_path
set file“${path}/*/cell_${pvt}.measure”
Set pattern“pvt:(\S+);pin:(\S+);A:(${pin}_mrA);B:(${pin}_mrB)”
set data_format“${A},${B}:isdigital”
set min_val“${table_5}:0”
set rpt“report.html report.csv report.xls”
set table_title“PVT;pinname;A;B;ratio;status”
set table_value“${pvt};${pin};${A::res};${B::res};0.9*${A::res}-1.1*${B::res},${table_5::status}”
the measurement file is exemplified as follows:
1Exported variables from results directory:
2
3date :10:12:30AM,Tue Feb 14,2023
4design :.title***
5simulator :mdl
6version :21.1.0.462
7
8
9Measurement Name :timeSweep
10Analysis Type :tran
11port1_mrA=1.628e-10
12port1_mrB=1.536e-10
13port2_mrA=1.806e-10
14port2_mrB=1.423e-10
15port3_mrA=1.748e-10
16port3_mrB=1.489e-10
in this embodiment, the collected target data is shown in table 2.
TABLE 2
Index PVT pinname A B ratio status
1 ff_1.65v_m40c Port1 1.628e-10 1.536e-10 -0.2244e-10 FAIL(F)
2 ff_1.65v_m40c Port2 1.806e-10 1.423e-10 0.0631e-10 PASS
3 ff_1.65v_m40c Port3 1.748e-10 1.489e-10 -0.0647e-10 FAIL(F)
It should be noted that the number of the substrates,
1, a first row in table 1 is set table_title "PVT set in a configuration file; pinname; a, A is as follows; b, a step of preparing a composite material; ratio; status ", index of the first column is a sequence number, which is added by default;
2, the second line to the fourth line in the table 2 are the collected simulation data, which are the set table_value "$ { pvt }; $ { pin }; { A: res }; $ { B:: res }; 0.9: res } -1.1: { B: res }; generated by $ { table_5_all:: status };
3, take simulation data collected in the second row of table 2 as an example:
a) PVT= > corresponds to $ { PVT }, in the table_value, obtained by the set file "$ { path }/cell_ $ { PVT }, measurement" in the configuration file "
set pattern“pvt:(\S+)”
The obtained and generated;
the first sentence is a directory structure of simulation data;
the second sentence is a regular matching rule of pvt;
the matching flow is as follows:
first, list all simulation data files conforming to the file, the data of the second line in Table 2 may be such file, sim_path/leak/cell_ff_1.65v_m40c.measure
The value corresponding to pvt is matched to be ff_1.65v_m40c according to a regular rule
b) In the table_value corresponding to pinname, $ { pin }, according to the measurement file, the matching pin is the sequence [ port1, port2, port3]
c) A corresponds to $ { A:: res }, in the table_value, which is the value of [ port1_ mrA, port2_ mrA, port3_ mrA ] in the measurement file
d) B corresponds to $ { B:: res } in the table_value, the value of which is [ port1_ mrB, port2_ mrB, port3_ mrB ] in the measurement file
e) Ratio is a value of { A:: res } -1.1: $ { B:: res } according to the formula 0.9: $ }
f) Status= > its acquisition is by set min_val "$ { table_5 }; judging whether data corresponding to the 6 th column, namely the ratio is > =0; > = 0, PASS; <0, then FAIL.
It should be noted that, in the development process of the IC full-customization process, a large amount of simulation data is often associated, flexibility of data collection and automation determination is crucial for subsequent data analysis, and a plurality of ways can be expanded for rapid collected structured subsequent automation data analysis, so as to help to rapidly and clearly locate problem points in the IC full-customization process.
As shown in FIG. 6, in one embodiment, the circuit simulation data collection method of the present application is applied to collect parasitic parameters; the method comprises the following steps:
firstly, defining a design specification according to the requirements of a user; then, drawing a circuit diagram based on the design specification to generate a sub-circuit; then, carrying out circuit simulation on the sub-circuit to obtain simulation data; then, the circuit simulation data collection method is utilized to collect data of the simulation data, and parasitic parameters are obtained.
It should be noted that, the steps of data collection and parasitic parameter acquisition are as follows by utilizing the circuit simulation data collection method of the application to collect the simulation data:
(1) Analyzing the configuration file command, completing command analysis, and converting the configuration file command into a data extraction mode command original command data structure;
(2) Completing a data collection flow according to a collection related command structure set in an original command data structure, and generating an original collection data structure data set for collected data;
(3) Calculating a related command set based on the original collected data set and the original command data set to complete the calculation of the collected data, and generating a calculation data set by inserting calculation data into the original collected data set;
(4) After the data set is calculated, the command set is judged to complete data correctness judgment according to the data of the original command data set, the command set is judged to complete rationality judgment of collected data, and a data state is inserted into the calculated data set to generate a data set containing the data state;
(5) And completing the processing of the processing data state data set according to the output command related command set in the original command data set, and completing the generation of result data (i.e. parasitic parameters).
It should be noted that, as shown in fig. 6, after the parasitic parameter is collected, the sub-circuit is re-simulated again according to the parasitic parameter; through iterative simulation, the accuracy and reliability of a simulation result are improved.
The application provides the circuit simulation data collection method, which is convenient for research and development personnel to collect simulation data in a self-defining way in the unit circuit design process, and can quickly complete calculation processing among collected data to generate tables and process the tables into various charts, and the process development personnel are not required to modify source codes, so that the data analysis, review and review of the research and development process are facilitated.
The embodiment of the application also provides a circuit simulation data collection system which can realize the circuit simulation data collection method, but the realization device of the circuit simulation data collection method comprises but is not limited to the structure of the circuit simulation data collection system listed in the embodiment, and all the structural variations and substitutions of the prior art according to the principles of the application are included in the protection scope of the application.
As shown in FIG. 4, in one embodiment, the present application provides a circuit simulation data gathering system, comprising:
an acquisition module 41 for acquiring a collection analysis mode script and a circuit simulation data set;
a customization module 42, configured to customize a target configuration file according to a user's requirement and the collection analysis mode script; the target configuration file comprises data collection instructions;
a data gathering module 43 for invoking the gather analysis mode script to parse the target configuration file to enable gathering of target data from the circuit simulation dataset based on the data gathering instructions; the target data corresponds to the data gathering instructions.
It should be noted that, the working principles of the obtaining module 41, the custom module 42 and the data collecting module 43 are the same as those of the circuit simulation data collecting method, so that the description thereof is omitted herein.
In an embodiment, the present application further provides an electronic device, including: a processor and a memory; the memory is used for storing a computer program; the processor is used for executing the computer program stored in the memory so as to enable the electronic equipment to execute the circuit simulation data collection method.
In an embodiment, the present application further provides a computer readable storage medium, on which a computer program is stored, where the program is executed by an electronic device to implement the circuit simulation data collection method described above.
Those of ordinary skill in the art will appreciate that all or part of the steps in the method implementing the above embodiments may be implemented by a program to instruct a processor, where the program may be stored in a computer readable storage medium, where the storage medium is a non-transitory (non-transitory) medium, such as a random access memory, a read only memory, a flash memory, a hard disk, a solid state disk, a magnetic tape (magnetic tape), a floppy disk (floppy disk), an optical disk (optical disk), and any combination thereof. The storage media may be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital video disc (digital video disc, DVD)), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
As shown in FIG. 5, in an embodiment, the present application further provides a circuit simulation data collection system, which includes a simulation tool 51 and the above-mentioned electronic device 52.
Specifically, the simulation tool 51 is connected to the electronic device 52, and the simulation tool 51 is configured to simulate a circuit, generate a circuit simulation data set, and send the circuit simulation data set to the electronic device 52.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus, or method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules/units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple modules or units 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 modules or units, which may be in electrical, mechanical or other forms.
The modules/units illustrated as separate components may or may not be physically separate, and components shown as modules/units may or may not be physical modules, i.e., may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules/units may be selected according to actual needs to achieve the objectives of the embodiments of the present application. For example, functional modules/units in various embodiments of the application may be integrated into one processing module, or each module/unit may exist alone physically, or two or more modules/units may be integrated into one module/unit.
Those of ordinary skill would further appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The descriptions of the processes or structures corresponding to the drawings have emphasis, and the descriptions of other processes or structures may be referred to for the parts of a certain process or structure that are not described in detail.
The above embodiments are merely illustrative of the principles of the present application and its effectiveness, and are not intended to limit the application. Modifications and variations may be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the application. Accordingly, it is intended that all equivalent modifications and variations of the application be covered by the claims, which are within the ordinary skill of the art, be within the spirit and scope of the present disclosure.

Claims (10)

1. A circuit emulation data gathering method, the circuit emulation data gathering method comprising:
acquiring a collection analysis mode script and a circuit simulation data set;
the target configuration file is customized according to the user requirements and the collected analysis mode script; the target configuration file comprises data collection instructions;
invoking the collection analysis mode script to analyze the target configuration file so as to collect target data from the circuit simulation data set based on the data collection instruction; the target data corresponds to the data gathering instructions.
2. The circuit simulation data gathering method as recited in claim 1, wherein the circuit simulation data set includes at least one type of simulation data; the custom target configuration file includes:
the same or different target configuration files are customized aiming at different simulation data;
at least one target configuration file is customized for the same simulation data.
3. The circuit simulation data collection method according to claim 1, wherein a data display mode is further configured in the target configuration file; the circuit simulation data collection method further comprises the following steps: displaying the target data according to the data display mode; the data display mode at least comprises the following steps: forms and/or web pages.
4. The circuit emulation data gathering method of claim 1, wherein the target configuration file is further configured with a data inspection instruction and a data justification condition; the circuit simulation data collection method further comprises the following steps: checking the rationality of the target data based on the data checking instruction and the data rationality condition;
if the target data meets the data reasonable condition, the target data is reasonable;
if the target data does not meet the data rationality condition, the target data is not rational.
5. The circuit emulation data gathering method of claim 1, wherein a data format is further configured in the target configuration file; the data value of the target data is represented in the data format.
6. The circuit emulation data gathering method of claim 1, wherein the circuit emulation data set comprises a plurality of data files; the data structures of the plurality of data files are identical.
7. A circuit emulation data gathering system, the circuit emulation data gathering system comprising:
the acquisition module is used for acquiring the collection analysis mode script and the circuit simulation data set;
the self-defining module is used for self-defining a target configuration file according to user requirements and the collection analysis mode script; the target configuration file comprises data collection instructions;
the data collection module is used for calling the collection analysis mode script to analyze the target configuration file so as to collect target data from the circuit simulation data set based on the data collection instruction; the target data corresponds to the data gathering instructions.
8. An electronic device, the electronic device comprising: a processor and a memory;
the memory is used for storing a computer program;
the processor is configured to execute the computer program stored in the memory, so that the electronic device executes the circuit simulation data collection method according to any one of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when executed by an electronic device, implements the circuit emulation data gathering method of any one of claims 1 to 6.
10. A circuit simulation data gathering system comprising a simulation tool and the electronic device of claim 8;
the simulation tool is connected with the electronic device, and is used for simulating a circuit, generating a circuit simulation data set and sending the circuit simulation data set to the electronic device.
CN202310826640.7A 2023-07-06 2023-07-06 Circuit simulation data collection method, system, medium and electronic equipment Pending CN116882345A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310826640.7A CN116882345A (en) 2023-07-06 2023-07-06 Circuit simulation data collection method, system, medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310826640.7A CN116882345A (en) 2023-07-06 2023-07-06 Circuit simulation data collection method, system, medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN116882345A true CN116882345A (en) 2023-10-13

Family

ID=88265595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310826640.7A Pending CN116882345A (en) 2023-07-06 2023-07-06 Circuit simulation data collection method, system, medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN116882345A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112380239A (en) * 2020-11-17 2021-02-19 平安普惠企业管理有限公司 Script generation method, device, equipment and storage medium
CN112486708A (en) * 2020-12-16 2021-03-12 中国联合网络通信集团有限公司 Processing method and processing system of page operation data
CN114580146A (en) * 2022-01-19 2022-06-03 江闻文 Simulation data analysis method, device, terminal and storage medium
WO2022126983A1 (en) * 2020-12-18 2022-06-23 平安普惠企业管理有限公司 Electronic report file export method, apparatus and device, and storage medium
CN115809197A (en) * 2022-12-09 2023-03-17 上海联影医疗科技股份有限公司 Automatic debugging method, device, terminal, system and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112380239A (en) * 2020-11-17 2021-02-19 平安普惠企业管理有限公司 Script generation method, device, equipment and storage medium
CN112486708A (en) * 2020-12-16 2021-03-12 中国联合网络通信集团有限公司 Processing method and processing system of page operation data
WO2022126983A1 (en) * 2020-12-18 2022-06-23 平安普惠企业管理有限公司 Electronic report file export method, apparatus and device, and storage medium
CN114580146A (en) * 2022-01-19 2022-06-03 江闻文 Simulation data analysis method, device, terminal and storage medium
CN115809197A (en) * 2022-12-09 2023-03-17 上海联影医疗科技股份有限公司 Automatic debugging method, device, terminal, system and storage medium

Similar Documents

Publication Publication Date Title
CN107239392B (en) Test method, test device, test terminal and storage medium
CN110990274B (en) Data processing method, device and system for generating test cases
CN107451112B (en) Form tool data checking method, device, terminal equipment and storage medium
CN103605606B (en) A kind of embedded software test use-case batch execution method that can automatically change
CN104035873A (en) Method and device for generating testing codes
CN110737594A (en) Database standard conformance testing method and device for automatically generating test cases
CN109299879A (en) A kind of statistical method, device and the equipment of power grid audit issues
CN112181854A (en) Method, device, equipment and storage medium for generating flow automation script
US6117179A (en) High voltage electrical rule check program
CN103164335B (en) The method and system of inspection unit test mass
CN109408361A (en) Monkey tests restored method, device, electronic equipment and computer readable storage medium
CN111400169A (en) Method and system for automatically generating netlist file for testing software and hardware
CN114091383A (en) Test sequence generation method, device and system and related equipment
CN108170602B (en) Test case generation method and device, terminal and computer readable medium
CN116882345A (en) Circuit simulation data collection method, system, medium and electronic equipment
CN106650138B (en) A kind of method of automatic realization static state and dynamic timing analysis comparison
CN109639520B (en) Computer-aided test method for network communication of reactor protection system
CN107092716A (en) The implementation method and device of a kind of Electronic Design
CN115437621A (en) Process editing method and device based on robot process automation
CN109948251B (en) CAD-based data processing method, device, equipment and storage medium
CN109374038B (en) Change test method of nuclear security level instrument control product based on application prototype
CN111694752A (en) Application testing method, electronic device and storage medium
CN114448851B (en) Automatic data testing method and system
CN111126737B (en) Cross-scene cross analysis method and device, electronic equipment and storage medium
CN115185842A (en) Test case generation method and device, electronic equipment and storage medium

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