CN110263399B - Data processing method and device based on Hsps and electronic equipment - Google Patents

Data processing method and device based on Hsps and electronic equipment Download PDF

Info

Publication number
CN110263399B
CN110263399B CN201910502089.4A CN201910502089A CN110263399B CN 110263399 B CN110263399 B CN 110263399B CN 201910502089 A CN201910502089 A CN 201910502089A CN 110263399 B CN110263399 B CN 110263399B
Authority
CN
China
Prior art keywords
simulation
file
hsps
hspice
data
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.)
Active
Application number
CN201910502089.4A
Other languages
Chinese (zh)
Other versions
CN110263399A (en
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.)
Institute of Microelectronics of CAS
Original Assignee
Institute of Microelectronics of CAS
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 Institute of Microelectronics of CAS filed Critical Institute of Microelectronics of CAS
Priority to CN201910502089.4A priority Critical patent/CN110263399B/en
Publication of CN110263399A publication Critical patent/CN110263399A/en
Application granted granted Critical
Publication of CN110263399B publication Critical patent/CN110263399B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/113Details of archiving
    • 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
    • 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention relates to the technical field of data processing, in particular to a data processing method, a device and electronic equipment based on Hspce.

Description

Data processing method and device based on Hsps and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a data processing method and device based on Hsepice and electronic equipment.
Background
In the chip development process, simulation verification is an essential important step in both the circuit design stage and the layout stage. Today, with the rapid development of chip research and development, the prior art is difficult to efficiently and accurately count simulation results.
Disclosure of Invention
In view of the above, the invention provides a data processing method and device based on Hsepice and an electronic device.
The embodiment of the invention provides a data processing method based on Hsps, which is used for processing Hsps simulation files and comprises the following steps:
acquiring a plurality of Hsps simulation files, wherein each Hsps simulation file comprises temperature information and at least one target data; obtaining voltage information and process information corresponding to each Hsepice simulation file from the simulation netlist file;
marking at least one target data in each Hsps simulation file in sequence according to the file name of each Hsps simulation file;
and storing at least one target data of the file name, the voltage information, the process information, the temperature information and the completion mark corresponding to each Hsps simulation file according to the data type.
Optionally, the step of marking at least one target data in each Hspice simulation file in turn according to the file name of each Hspice simulation file includes:
sorting the plurality of Hsps simulation files according to the file name of each Hsps simulation file;
and marking at least one target data in each Hsps simulation file in turn according to the ordering sequence.
Optionally, the target data includes a simulation result, and the step of marking at least one target data in each Hspice simulation file sequentially according to a sorting sequence includes:
and marking at least one simulation result in each Hsps simulation file in turn according to the ordering sequence.
Optionally, storing at least one target data of a file name, voltage information, process information, temperature information and a completion flag corresponding to each Hspice simulation file in sequence according to a data category, including:
sequentially storing the file name corresponding to each Hsps simulation file to a first storage space corresponding to a first data category according to the ordering sequence; wherein the first data category is a name.
Optionally, storing at least one target data of a file name, voltage information, process information, temperature information and a completion flag corresponding to each Hspice simulation file in sequence according to a data category, including:
sequentially storing the voltage information, the process information and the temperature information corresponding to each Hsps simulation file into a second storage space corresponding to a second data category according to the ordering sequence; wherein the second data category is process corner.
Optionally, storing at least one target data of a file name, voltage information, process information, temperature information and a completion flag corresponding to each Hspice simulation file in sequence according to a data category, including:
sequentially storing at least one simulation result of the completion mark in each Hsps simulation file to a third storage space corresponding to a third data category according to the ordering sequence; wherein the third data category is simulation data.
Optionally, the third storage space includes a plurality of sub-storage spaces, each sub-storage space is provided with a first identifier, and the step of sequentially storing at least one simulation result of the completion flag in each Hspice simulation file to the third storage space corresponding to the third data category according to the sorting sequence includes:
obtaining a second identifier of at least one simulation result aiming at least one simulation result of the completion mark in each Hsps simulation file;
and storing the at least one simulation result into a sub-storage space corresponding to the first identifier matched with the second identifier.
The embodiment of the invention also provides a data processing device based on Hsps, which is used for processing the Hsps simulation file, and comprises:
an Hsps simulation file acquisition module, configured to acquire a plurality of Hsps simulation files, where each Hsps simulation file includes parameter information and at least one target data; obtaining voltage information and process information corresponding to each Hsepice simulation file from the simulation netlist file;
the target data marking module is used for marking the temperature information and at least one target data in each Hsps simulation file in sequence according to the file name of each Hsps simulation file;
and the classification storage module is used for sequentially storing at least one target data of the file name, the voltage information, the process information, the temperature information and the completion mark corresponding to each Hsepice simulation file according to the data type.
The embodiment of the invention also provides electronic equipment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the data processing method based on Hsepice when executing the computer program.
The embodiment of the invention also provides a computer readable storage medium, which comprises a computer program, and the computer program controls the electronic equipment where the readable storage medium is located to execute the data processing method based on Hsps.
According to the data processing method, the device and the electronic equipment based on the Hsps, a plurality of Hsps simulation files and the voltage information and the process information corresponding to each Hsps simulation file can be obtained, at least one target data in each Hsps simulation file can be marked according to the obtained file name corresponding to each Hsps simulation file, and at least one target data of the file name, the voltage information, the process information, the temperature information and the completion mark corresponding to each Hsps simulation file can be stored according to the data type in sequence, so that a large number of simulation results can be counted efficiently and accurately.
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 block schematic diagram of an electronic device according to an embodiment of the present invention.
Fig. 2 is a flowchart of a data processing method based on Hspice according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of buffering target data according to an embodiment of the present invention.
Fig. 4 is another schematic diagram of buffering target data according to an embodiment of the present invention.
Fig. 5 is a schematic diagram of marking a simulation result in target data according to an embodiment of the present invention.
Fig. 6 is a schematic diagram of a storage space according to an embodiment of the present invention.
Fig. 7 is another schematic diagram of a storage space according to an embodiment of the present invention.
Fig. 8 is a schematic diagram illustrating another substep included in step S23 shown in fig. 2 according to an embodiment of the present invention.
Fig. 9 is a first schematic diagram of data storage based on a storage space according to an embodiment of the present invention.
Fig. 10 is a second schematic diagram of data storage based on a storage space according to an embodiment of the present invention.
Fig. 11 is a third schematic diagram of data storage based on a storage space according to an embodiment of the present invention.
Fig. 12 is a fourth schematic diagram of data storage based on a storage space according to an embodiment of the present invention.
Fig. 13 is a block diagram of a data processing apparatus according to an embodiment of the present invention.
Icon:
10-an electronic device; 11-memory; 12-a processor; 13-a network module;
20-an Hspice-based data processing device; a 21-Hsps simulation file acquisition module; 22-a target data tagging module; 23-a classification storage module;
30-storage space; 31-a first storage space; 32-a second storage space; 33-a third storage space.
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 only some embodiments of the present invention, but not all embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
The inventor finds that along with the rapid development of chip research and development, the current circuit scale is continuously increased, the simulation parameter indexes are gradually increased, the diversification of process corner combinations is more complex, and the generated simulation results are more and more in number. The prior art is difficult to realize efficient and accurate statistics of Hsps simulation results.
The common statistical method is to manually open the simulation result files one by one, manually count the simulation results according to a certain format or sequence, and when the number of the simulation result files is too large, the statistical efficiency of the method is lower, and errors easily occur in the statistical process.
Another common statistical method is to only count simulation results of part of critical process corners or part of critical ports in a chip, and the method can reduce the number of simulation results to be counted to a certain extent, but by adopting the method, it is difficult to perform comprehensive simulation verification on the characteristics of a chip circuit, some non-critical elements and circuits may be omitted, and if simulation verification is not performed on the omitted non-critical elements and circuits, hidden danger exists in the chip circuit.
The above prior art solutions have all the drawbacks that the inventors have obtained after practice and careful study, and thus the discovery process of the above problems and the solutions presented below by the embodiments of the present invention for the above problems should be all contributions to the present invention by the inventors during the present invention.
Based on the above researches, the embodiment of the invention provides a data processing method, a device and electronic equipment based on Hsepice, which can efficiently and accurately count simulation results.
Fig. 1 shows a block schematic diagram of an electronic device 10 according to an embodiment of the invention. The electronic device 10 in the embodiment of the present invention has functions of data storage, transmission and processing, as shown in fig. 1, the electronic device 10 includes: memory 11, processor 12, network module 13, and data processing device 20.
The memory 11, the processor 12 and the network module 13 are electrically connected directly or indirectly to enable transmission or interaction of data. For example, the components may be electrically connected to each other by one or more communication buses or signal lines. The memory 11 stores therein a data processing device 20, the data processing device 20 includes at least one software functional module that may be stored in the memory 11 in the form of software or firmware (firmware), and the processor 12 executes various functional applications and data processing by running software programs and modules stored in the memory 11, such as the data processing device 20 in the embodiment of the present invention, that is, implements the Hspice-based data processing method in the embodiment of the present invention.
The Memory 11 may be, but is not limited to, a random access Memory (Random Access Memory, RAM), a Read Only Memory (ROM), a programmable Read Only Memory (Programmable Read-Only Memory, PROM), an erasable Read Only Memory (Erasable Programmable Read-Only Memory, EPROM), an electrically erasable Read Only Memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc. The memory 11 is used for storing a program, and the processor 12 executes the program after receiving an execution instruction.
The processor 12 may be an integrated circuit chip having data processing capabilities. The processor 12 may be a general-purpose processor including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc. The methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The network module 13 is configured to establish a communication connection between the electronic device 10 and other communication terminal devices through a network, so as to implement a network signal and data transceiving operation. The network signals may include wireless signals or wired signals.
It is to be understood that the configuration shown in fig. 1 is merely illustrative and that electronic device 10 may also include more or fewer components than those shown in fig. 1 or have a different configuration than that shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
Embodiments of the present invention also provide a computer-readable storage medium including a computer program. The computer program, when executed, controls the electronic device 10 in which the readable storage medium is located to perform the following data processing method based on Hspice.
In this embodiment, the method may be used to count a large number of Hspice simulation files.
Fig. 2 shows a flowchart of a data processing method based on Hspice according to an embodiment of the present invention. The method steps defined by the flow of the method are applied to the electronic device 10 and may be implemented by the processor 12. The specific flow shown in fig. 2 will be described in detail below:
step S21, a plurality of Hsps simulation files are obtained, and voltage information and process information corresponding to each Hsps simulation file are obtained from the simulation netlist files.
In this embodiment, the Hspice simulation file is a file named "·mt".
It can be appreciated that when the Hspice is used to simulate and verify a certain integrated circuit, a plurality of Hspice simulation files are generated under a designated folder based on different Process-voltage-temperature (PVT) conditions, so that the plurality of Hspice simulation files can be obtained from the designated folder.
Further, for each Hspice simulation file, the first "×" in "· mt" · indicates a file name, and the second "×" indicates a file name number at the time of generating the Hspice simulation file. The file name number when the Hsps simulation file is generated can be determined according to the sequence of simulation conditions in the simulation netlist file.
For example, the acquired plurality of Hspice simulation files are: voh_a.mt4, voh_a.mt2, voh_a.mt3, voh_a.mt1, voh_a.mt6, voh_a.mt5, and voh_a.mt0. It should be understood that the file name number may also be determined by other means, and is not limited herein.
In this embodiment, each Hspice simulation file includes temperature information and at least one target data:
the temperature information is process corner information sampler.
Further, voltage information (Voltage) and Process information (Process) of each Hspice simulation file can be obtained through the simulation netlist file.
In this embodiment Process, voltage and sampler can be understood as process corner information.
In this embodiment, the simulated netlist file is a "·sp" file, for example, in this embodiment, the simulated netlist is voh_a.
In this embodiment, the target data is an array, and the structure of the array is as follows: [ all variables name-temper-alter-all simulation results-temperature values ].
For convenience of explanation, taking an Hspice simulation file voh_a.mt0 as an example, the Hspice simulation file voh_a.mt0 includes the following contents:
line 1: header information h1;
line 2: header information h2;
line 3: voha10min voha11min voha12min voha13min n;
line 4: temper alter\n;
line 5: 2.69632.69632.69632.6963\n;
line 6: 25 …
And S22, marking at least one target data in each Hsps simulation file in sequence according to the file name number of each Hsps simulation file.
Firstly, sorting a plurality of Hsps simulation files according to the file name number of each Hsps simulation file, wherein the sorting sequence of the plurality of Hsps simulation files is as follows: voh_a.mt0, voh_a.mt1, voh_a.mt2, voh_a.mt3, voh_a.mt4, voh_a.mt5, and voh_a.mt6.
It can be understood that the file name number of each Hspice simulation file is determined based on the generation time of each Hspice simulation file, in actual simulation, due to the influence of factors such as simulation requirements, simulation environments, simulation devices and the like, the arrangement and combination sequence of simulation conditions in the simulation netlist file may be adjusted, if a plurality of Hspice simulation files which are not ordered are directly processed and stored, when the sequence combination of the simulation conditions is needed to be ordered in the follow-up, all data corresponding to each Hspice simulation file processed before the sequence is needed to be ordered, which can definitely increase the processing pressure of a computer, the file name of each Hspice simulation file is numbered and ordered according to the arrangement and combination sequence of the simulation conditions in the simulation netlist file, the order sequence is obtained, the smoothness of the follow-up data statistics can be improved from the time dimension, and the processing pressure applied to the computer device when the Hspice simulation files are adjusted in the follow-up stage is avoided.
In this embodiment, the permutation and combination sequence of the simulation conditions may be a permutation and combination sequence of PVT values, for example, the permutation and combination sequence of PVT values is: [ TT,2.7, 25], [ TT,2.7, -55], [ TT,2.7, 125], [ FF,2.7, -55], [ FF,2.7, 125], [ SS,2.7, 25], so that the corresponding Hsps simulation files have file name numbers of 0-6 and are ordered in sequence of VOH_A.mt0, VOH_A.mt1, VOH_A.mt2, VOH_A.mt3, VOH_A.mt4, VOH_A.mt5 and VOH_A.mt6.
And then, marking at least one target data in each Hsps simulation file in turn according to the ordered sequence.
Optionally, before marking at least one target data in each Hspice simulation file, at least one target data in each Hspice simulation file may be cached.
Specifically, taking an Hspice simulation file voh_a.mt0 as an example, first deleting a line-end line-changing symbol "\n" from the third line in the Hspice simulation file voh_a.mt0, thereby obtaining the following format of the Hspice simulation file voh_a.mt0:
first row: header information h1;
second row: header information h2;
third row: [ voha10min voha11min voha12min voha13min temper alter 2.69632.69632.69632.6963 25 ℃ C. ]
Further, data is output to the tmp file from the third line for caching, and frequent line feed should be avoided when caching the data in order to improve efficiency and readability of subsequent data processing, storage and display. Therefore, the line feed symbol "\n" starting from the third line of the Hspice simulation file voh_a.mt0 is deleted before data caching is performed, so that the line feed storage of relevant data in the Hspice simulation file voh_a.mt0 is realized, and the subsequent data extraction, storage and display are facilitated. In addition, the name "voh_a.mt0" of the Hspice simulation file voh_a.mt0 may also be output to the tmp file for buffering.
Taking the Hspice simulation file voh_a.mt0 as an example, the related data of the Hspice simulation file voh_a.mt0 cached in the tmp file is shown in fig. 3. Further, after the above steps are sequentially executed on the Hspice simulation files voh_a.mt1 to voh_a.mt6 according to the ordered sequence, the relevant data cached in the tmp file is shown in fig. 4.
Further, marking at least one target data in each Hsps simulation file according to the ordering sequence is specifically as follows:
for each Hsps simulation file in the tmp file, the simulation result located after "alter" in the array corresponding to each Hsps simulation file is marked, where "alter" can be understood as a separation symbol in the array.
For example, simulation results located after "alter" may be labeled with "|i|".
For another example, the result of marking simulation results in the Hspice simulation files voh_a.mt0 to voh_a.mt6 is shown in fig. 5.
Step S23, storing at least one target data of the file name number, the voltage information, the process information, the temperature information and the completion mark corresponding to each Hsps simulation file according to the data type.
In the present embodiment, a storage space 30 for storing at least one target data of a file name number, voltage information, process information, temperature information, and completion flag corresponding to each Hspice simulation file is shown in fig. 6, and it is understood that the storage space 30 includes a first storage space 31, a second storage space 32, and a third storage space 33. The first data type of the first storage space 31 is a name, the second data type of the second storage space 32 is a process corner, and the third data type of the third storage space 33 is simulation data.
In the present embodiment, the first storage space 31, the second storage space 32, and the third storage space 33 may be presented in the form of a table, as shown in fig. 7. In other words, the header information corresponding to the first storage space 31 is named "voh_a", and the header information corresponding to the second storage space 32 is process information "process", voltage information "voltage" and temperature information "temperature".
Referring to fig. 6 and 7 in combination, the third storage space 33 includes a plurality of sub-storage spaces, each of which is provided with the first identifier, for example, five sub-storage spaces of the third storage space 33 are shown in fig. 6, and header information of each sub-storage space is "voha10 min", respectively (1) ”、“voha11min (2) ”、“voha12min (3) Sum-and voha13min (4) ". It will be appreciated that the first identifiers for each sub-storage space are "(1)", "(2)", "(3)", and "(4)", respectively. More specificallyThe header information of each sub-storage space corresponds to the variable name in the array where "alter" exists, respectively. In this embodiment, the variable names in the array with "alter" corresponding to each Hspice simulation file are the same, so the header information of each sub-storage space can also be obtained by the variable names in the array with "alter" corresponding to any one of the Hspice simulation files.
Referring to FIG. 5 in combination, an array [ voha10min voha11min voha12min voha13min temporal alter 2.6963 ] in the Hspice simulation file VOH_A.mt0 |1| 2.6963 |2| 2.6963 |3| 2.6963 |4| 25℃...]For example, simulation results 2.6963 in the array |1| Is "|1|".
It can be appreciated that the efficiency and accuracy of classification storage can be improved by the first identifier and the second identifier, and the simulation result 2.6963 is only needed under the condition of huge data volume |1| And storing the target data (simulation result) in the sub-storage space corresponding to the first identifier matched with the second identifier, so that the target data (simulation result) can be counted efficiently and accurately.
Referring to fig. 8 in combination, one implementation of step S23 is illustrated by step S231, step S232 and step S233 in this embodiment.
And step S231, storing the file name corresponding to each Hsps simulation file into a first storage space corresponding to the first data category according to the ordering sequence.
In this embodiment, a file name corresponding to each Hspice emulation file cached by the tmp file is stored in the first storage space 31. Referring to fig. 9 in combination, the file names stored in the first storage space 31 are: voh_a.mt0, voh_a.mt1, voh_a.mt2, voh_a.mt3, voh_a.mt4, voh_a.mt5, and voh_a.mt6.
And step S232, storing the voltage information, the process information and the temperature information corresponding to each Hsps simulation file into a second storage space corresponding to a second data category according to the ordered sequence.
As described above, the process information "process" and the voltage information "voltage" may be obtained from the simulated netlist file, and the temperature information "temperature" may be obtained from the tmp file. Specifically, a schematic diagram of storing the "process", "voltage" and "temp" corresponding to each Hspice simulation file in the second storage space 32 in turn according to the ordered sequence is shown in fig. 10.
And step S233, storing at least one simulation result of the completion mark in each Hsps simulation file into a third storage space corresponding to a third data category according to the ordered sequence.
Referring to fig. 5 in combination, taking Hspice simulation file voh_a.mt0 as an example, it can be understood that the simulation result of the completion flag in Hspice simulation file voh_a.mt0 is 2.6963 |1| 、2.6963 |2| 、2.6963 |3| And 2.6963 |4|
Further, for each simulation result in the Hspice simulation file voh_a.mt0, a second identifier of the simulation result is obtained, and the simulation result is stored into a sub-storage space corresponding to the first identifier matched with the second identifier of the simulation result.
For another example, for simulation results 2.6963 |1| And simulation result 2.6963 |1| The second identifier of "|1|" matching the first identifier of "(1)", and thus the simulation result 2.6963 will be obtained |1| The information stored to the header is voha for 10min (1) "and so on, a schematic diagram of completing the storage of each simulation result in the Hspice simulation file voh_a.mt0 is shown in fig. 11.
Further, a schematic diagram for storing each simulation result in the voh_a.mt1, voh_a.mt2, voh_a.mt3, voh_a.mt4, voh_a.mt5, and voh_a.mt6 is completed in order as shown in fig. 12.
It can be appreciated that a large number of simulation results can be processed quickly, efficiently and accurately by the method. Based on the file names, the method can intuitively reflect the result distribution condition of the simulation result under different simulation condition combinations on one hand, and can improve the efficiency of the subsequent statistics of PVT conditions and the simulation result on the other hand.
It can be understood that after the file name, the voltage information, the process information, the temperature information and the at least one target data of the completion flag corresponding to each Hspice simulation file are sequentially stored according to the data types, the file name, the voltage information, the process information, the temperature information and the at least one target data of the completion flag corresponding to each Hspice simulation file can be imported into the software of data statistics such as Excel for the technicians to analyze. Therefore, compared with a common statistical method, the method can accurately count at least one target data of the file name, the voltage information, the process information, the temperature information and the completion mark corresponding to each Hsepice simulation file.
In addition, the method can process the file of the mts and the file of the sp in parallel, avoids errors caused by manually counting simulation data one by one, has strong usability, and can count a large number of simulation results efficiently and accurately.
On the basis of the above, as shown in fig. 13, an embodiment of the present invention provides a block diagram of a data processing apparatus 20, the data processing apparatus 20 including: an Hpice simulation file acquisition module 21, a target data marking module 22 and a classification storage module 23.
An Hspice simulation file obtaining module 21, configured to obtain a plurality of Hspice simulation files, where each Hspice simulation file includes parameter information and at least one target data; and acquiring voltage information and process information corresponding to each Hsepice simulation file from the simulation netlist file.
Since the Hspice simulation file obtaining module 21 is similar to the implementation principle of step S21 in fig. 2, it will not be described in more detail here.
And the target data marking module 22 is configured to mark at least one target data in each of the Hspice simulation files in sequence according to the file name of each of the Hspice simulation files.
Since the target data marking module 22 is implemented in a similar manner to step S22 of fig. 2, it will not be described in more detail herein.
And the classification storage module 23 is configured to store, in sequence, at least one target data of a file name, voltage information, process information, temperature information and a completion flag corresponding to each of the Hspice simulation files according to a data class.
Since the classification storage module 23 is similar to the implementation principle of step S23 in fig. 2, it will not be described here in more detail.
In summary, the data processing method, the device and the electronic equipment based on the Hsepice provided by the embodiment of the invention can be used for counting a large number of simulation results efficiently and accurately.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus and method embodiments described above are merely illustrative, for example, flow diagrams and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present invention may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, an electronic device 10, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, randomAccess Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only of the preferred embodiments 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 (8)

1. An Hspice-based data processing method, which is used for processing an Hspice simulation file, the method comprising:
acquiring a plurality of Hsps simulation files, wherein each Hsps simulation file comprises temperature information and at least one target data; obtaining voltage information and process information corresponding to each Hsepice simulation file from the simulation netlist file;
marking at least one target data in each Hsps simulation file in sequence according to the file name of each Hsps simulation file, wherein the marking comprises the following steps: sorting the plurality of Hsps simulation files according to the file name of each Hsps simulation file; marking at least one target data in each Hsps simulation file in sequence according to a sequencing sequence;
storing at least one target data of a file name, voltage information, process information, temperature information and a completion mark corresponding to each Hsps simulation file in sequence according to the data category;
the step of marking at least one target data in each Hsps simulation file sequentially according to a sequencing sequence comprises the following steps:
and marking at least one simulation result in each Hsps simulation file in turn according to the ordering sequence.
2. The Hspice-based data processing method according to claim 1, wherein the step of sequentially storing at least one target data of a file name, voltage information, process information, temperature information and completion flag corresponding to each of the Hspice simulation files according to a data category includes:
sequentially storing the file name corresponding to each Hsps simulation file to a first storage space corresponding to a first data category according to the ordering sequence; wherein the first data category is a name.
3. The Hspice-based data processing method according to claim 1, wherein the step of sequentially storing at least one target data of a file name, voltage information, process information, temperature information and completion flag corresponding to each of the Hspice simulation files according to a data category includes:
sequentially storing the voltage information, the process information and the temperature information corresponding to each Hsps simulation file into a second storage space corresponding to a second data category according to the ordering sequence; wherein the second data category is process corner.
4. The Hspice-based data processing method according to claim 1, wherein the step of sequentially storing at least one target data of a file name, voltage information, process information, temperature information and completion flag corresponding to each of the Hspice simulation files according to a data category includes:
sequentially storing at least one simulation result of the completion mark in each Hsps simulation file to a third storage space corresponding to a third data category according to the ordering sequence; wherein the third data category is simulation data.
5. The Hspice-based data processing method according to claim 4, wherein the third storage space includes a plurality of sub-storage spaces, each of the sub-storage spaces is provided with a first identifier, and the step of sequentially storing at least one simulation result of the completion flag in each of the Hspice simulation files to a third storage space corresponding to a third data class according to the sorting sequence includes:
obtaining a second identifier of at least one simulation result aiming at least one simulation result of the completion mark in each Hsps simulation file;
and storing the at least one simulation result into a sub-storage space corresponding to the first identifier matched with the second identifier.
6. An Hspice-based data processing apparatus for processing an Hspice emulation file, the Hspice-based data processing apparatus comprising:
an Hsps simulation file acquisition module, configured to acquire a plurality of Hsps simulation files, where each Hsps simulation file includes parameter information and at least one target data; obtaining voltage information and process information corresponding to each Hsepice simulation file from the simulation netlist file;
the target data marking module is used for marking the temperature information and at least one target data in each Hsps simulation file in sequence according to the file name of each Hsps simulation file, and comprises the following steps: sorting the plurality of Hsps simulation files according to the file name of each Hsps simulation file; marking at least one target data in each Hsps simulation file in sequence according to a sequencing sequence;
the classified storage module is used for sequentially storing at least one target data of the file name, the voltage information, the process information, the temperature information and the completion mark corresponding to each Hsepice simulation file according to the data type;
the step of marking at least one target data in each Hsps simulation file sequentially according to a sequencing sequence comprises the following steps:
and marking at least one simulation result in each Hsps simulation file in turn according to the ordering sequence.
7. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the Hspice-based data processing method of any one of claims 1-5 when the computer program is executed.
8. A computer readable storage medium comprising a computer program which, when run, controls an electronic device in which the readable storage medium is located to perform the Hspice-based data processing method of any one of claims 1-5.
CN201910502089.4A 2019-06-11 2019-06-11 Data processing method and device based on Hsps and electronic equipment Active CN110263399B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910502089.4A CN110263399B (en) 2019-06-11 2019-06-11 Data processing method and device based on Hsps and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910502089.4A CN110263399B (en) 2019-06-11 2019-06-11 Data processing method and device based on Hsps and electronic equipment

Publications (2)

Publication Number Publication Date
CN110263399A CN110263399A (en) 2019-09-20
CN110263399B true CN110263399B (en) 2023-04-25

Family

ID=67917589

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910502089.4A Active CN110263399B (en) 2019-06-11 2019-06-11 Data processing method and device based on Hsps and electronic equipment

Country Status (1)

Country Link
CN (1) CN110263399B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8793292B1 (en) * 2009-10-23 2014-07-29 Lockheed Martin Corporation System and method for computer simulations
CN102033990B (en) * 2010-11-30 2012-09-26 深圳市国微电子股份有限公司 Method for producing excitation waveform during logic parameter extraction of combinational logic circuit
US20130246347A1 (en) * 2012-03-15 2013-09-19 Ellen L. Sorenson Database file groups
US10192052B1 (en) * 2013-09-30 2019-01-29 Fireeye, Inc. System, apparatus and method for classifying a file as malicious using static scanning
CN104899397B (en) * 2015-06-19 2018-04-06 国家电网公司 The treating method and apparatus of fault simulation result
JP2017084082A (en) * 2015-10-27 2017-05-18 富士電機株式会社 Simulation device, test scenario file creation method, and test method using test scenario file

Also Published As

Publication number Publication date
CN110263399A (en) 2019-09-20

Similar Documents

Publication Publication Date Title
CN107609186B (en) Information processing method and device, terminal device and computer readable storage medium
CN107688618B (en) Data comparison method, apparatus, computer equipment and storage medium
CN106681921B (en) Method and device for realizing data parameterization
CN106681903B (en) Method and device for generating test case
CN110633198A (en) Block chain-based software test data storage method and system
CN110597708A (en) Test case file conversion method and device, electronic equipment and storage medium
CN114090671A (en) Data import method and device, electronic equipment and storage medium
CN109815112B (en) Data debugging method and device based on functional test and terminal equipment
CN111159329A (en) Sensitive word detection method and device, terminal equipment and computer-readable storage medium
CN110990276A (en) Automatic testing method and device for interface field and storage medium
WO2018066661A1 (en) Log analysis method, system, and recording medium
CN110162764A (en) Method for splitting, device, equipment and the medium of electronic document
CN112818937B (en) Excel file identification method and device, electronic equipment and readable storage medium
CN110263399B (en) Data processing method and device based on Hsps and electronic equipment
CN109828759A (en) Code compiling method, device, computer installation and storage medium
CN108933691B (en) Method for obtaining standard configuration template of network equipment and computing equipment
CN110263417B (en) Time sequence characteristic acquisition method and device and electronic equipment
CN114611039B (en) Analysis method and device of asynchronous loading rule, storage medium and electronic equipment
CN108197086B (en) Passive element parameter analysis method and device
CN111078671A (en) Method, device, equipment and medium for modifying data table field
CN109840080B (en) Character attribute comparison method and device, storage medium and electronic equipment
CN112882707B (en) Rendering method and device, storage medium and electronic equipment
US8302045B2 (en) Electronic device and method for inspecting electrical rules of circuit boards
CN103761247B (en) A kind of processing method and processing device of error file
CN112579472B (en) Automatic generation method and device for test cases

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
GR01 Patent grant
GR01 Patent grant