CN112417799B - Multi-signal selection and response method - Google Patents
Multi-signal selection and response method Download PDFInfo
- Publication number
- CN112417799B CN112417799B CN202011413534.9A CN202011413534A CN112417799B CN 112417799 B CN112417799 B CN 112417799B CN 202011413534 A CN202011413534 A CN 202011413534A CN 112417799 B CN112417799 B CN 112417799B
- Authority
- CN
- China
- Prior art keywords
- signals
- calculation
- response method
- signal selection
- selection
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/30—Circuit design
- G06F30/32—Circuit design at the digital level
- G06F30/33—Design verification, e.g. functional simulation or model checking
- G06F30/3308—Design verification, e.g. functional simulation or model checking using simulation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Design And Manufacture Of Integrated Circuits (AREA)
- Tests Of Electronic Circuits (AREA)
Abstract
A multiple signal selection and response method comprising the steps of: reading in a waveform file of periodic steady-state analysis simulation; analyzing the waveform file to establish a hierarchical tree structure of signals; selecting a calculation function according to the requirement; selecting a specified number of signals according to the calculation function; and when the number of the selected signals meets the condition, completing the calculation and displaying the result. The multi-signal selection and response method can directly select a plurality of signals, corresponding calculation and result display can be automatically completed after the number of the selected signals reaches the function designated number, and in terms of using modes, operations such as signal dragging operation and calculation button clicking are avoided, and the tool usability is improved.
Description
Technical Field
The invention relates to the technical field of Integrated Circuit Computer Aided Design (Integrated Circuit/Computer Aided Design), in particular to a multi-signal rapid selection calculating and displaying method based on a Periodic Steady State (PSS) analysis simulation result data.
Background
In the prior art, in the process of processing the simulation result of the periodic steady-state analysis, a plurality of signals need to be selected for mathematical calculation, and the number of the signals needed to be selected for different calculation functions is also different, for example, when calculating the voltage gain, two voltage signals need to be selected for calculation, and for each frequency, one of the signals is used as a numerator and the other signal is used as a denominator, and the signals are divided to obtain the voltage gain in the frequency domain. Similarly, the calculation of other functions involves three signals, and four signals. At this time, the number of signals to be selected needs to be judged according to different calculation functions selected by the user, so as to guide the user to make correct selection.
The periodic steady-state analysis simulation saves the result of the appointed node voltage or device current in a waveform file, and in the result analysis after the periodic steady-state analysis simulation, the mathematical operation results of a plurality of signals are often required to be checked, and the data are required to be operated by using the selected signal data and the result is drawn after the simulated waveform file is read through a waveform processing tool.
Disclosure of Invention
In order to solve the defects in the prior art, the invention aims to provide a multi-signal selection and response method, which can directly select a plurality of signals, automatically complete corresponding calculation and result display after the number of the selected signals reaches the function designated number, avoid the operations of signal dragging, calculation button clicking and the like in a use mode, and improve the usability of a tool.
In order to achieve the above object, the present invention provides a multi-signal selecting and responding method, comprising the steps of:
reading in a waveform file of periodic steady-state analysis simulation;
analyzing the waveform file to establish a hierarchical tree structure of signals;
selecting a calculation function according to requirements;
selecting a specified number of signals according to the calculation function;
when the number of the selected signals satisfies the condition, the calculation is completed and the result is displayed.
Further, the step of reading in the waveform file of the period steady-state analysis simulation further includes that the waveform file comprises a file readable by a waveform display described in a text format and a binary format.
Further, the step of analyzing the waveform file to establish a hierarchical tree structure of the signal further includes establishing the hierarchical tree structure of the signal according to a name of a specified output signal in the netlist.
Further, the step of selecting a specified number of signals according to the calculation function further includes substituting signal data into the corresponding calculation function according to the selection order of the signals.
Further, the step of selecting the specified number of signals according to the calculation function further includes clearing the current signal selection state and reselecting the specified number of signals when the number of selected signals does not meet the condition or the selection is wrong.
Further, the step of completing the calculation and displaying the result when the number of the selected signals satisfies the condition further includes setting a waveform display tool and displaying the calculation result.
Further, the step of completing the calculation and displaying the result when the number of the selected signals meets the condition further comprises reading in the waveform file of the periodic steady-state analysis simulation or selecting a function calculation function again according to different requirements, and checking different calculation results of a plurality of simulation result data.
To achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a computer program which when executed performs the multi-signal selection and response method steps as described above.
To achieve the above object, the present invention also provides a multi-signal selection and response device, comprising a memory and a processor, wherein the memory stores a computer program running on the processor, and the processor executes the computer program to perform the multi-signal selection and response method steps as described above.
The multi-signal selection and response method has the following beneficial effects:
1) The tree structure of the signals is directly established and displayed on the left side of the interface, so that a plurality of signals can be directly selected.
2) After the number of the selected signals reaches the designated number, corresponding calculation and result display can be automatically completed, and in terms of using mode, operations such as signal dragging operation and calculation button clicking are avoided, and tool usability is improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a flow chart of a multiple signal selection and response method according to the present invention;
FIG. 2 is a schematic diagram of a main interface of a periodic steady state analysis tool according to an embodiment of the invention;
FIG. 3 is a schematic diagram of a hierarchical tree structure for building signals according to simulation results according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a selection of a Voltage Gain calculation function and a calculation using 4signals according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating a state and information prompt when the first voltage signal I0.I0.net23 is selected according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating states and information prompts when the second voltage signal I0, net8 is selected according to an embodiment of the present invention;
FIG. 7 is a diagram illustrating a state and information prompt when the third voltage signal I0.Net16 is selected according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating a state and information hint when a fourth voltage signal I0.Net20 is selected according to an embodiment of the present invention;
FIG. 9 is a diagram illustrating a state of a current selection being cleared using the ESC key, in accordance with one embodiment of the present invention;
FIG. 10 is a diagram of the calculated Voltage Gain (I0.I 0.net23-I0.I0.net 8)/(I0.net 16-I0.net 20) of the automatic response when the number of selection signals satisfies the requirement according to an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it should be understood that they are presented herein only to illustrate and explain the present invention and not to limit the present invention.
Fig. 1 is a flowchart of a multi-signal selection and response method according to the present invention, and the multi-signal selection and response method of the present invention will be described in detail with reference to fig. 1.
First, in step 101, a waveform file of a periodic steady-state analysis simulation is opened in a waveform display tool.
Preferably, the simulated waveform file includes a file that can be read in by a waveform display described in a text format, a binary format, and other formats.
In this embodiment, as shown in fig. 2, a main interface of the open period steady-state analysis toolbox in the waveform display tool clicks a folder icon to open a simulation result file.
In step 102, a hierarchical structure of signals is established, and multiple signals are selected.
Preferably, the read waveform file is analyzed, and a hierarchical tree structure of all signals is established.
Preferably, the hierarchical structure of the signals depends on the names of all output signals specified in the netlist.
In this embodiment, as shown in fig. 3, the hierarchical structure of the signals is displayed on the main interface of the PSS toolbox, which facilitates the selection of the signals.
In step 103, according to different requirements, the calculation function to be viewed is selected, and the result display related options are set.
In this embodiment, as shown in fig. 4, the Voltage Gain calculation Function is selected from the right Function column, and the 4signals option is selected to calculate the Voltage gains of the four signals, wherein the first two signals are used as numerators after being differenced, the second two signals are used as denominators after being differenced, and then Input Harmonic is selected as 4G.
At step 104, a plurality of signals are successively selected according to the signal quantity requirements of the selected function.
Preferably, a plurality of signals are successively selected, and the signal data is used for the corresponding numerical calculation formula in the order of selection of the signals.
In this embodiment, according to the selected computation function types, voltage Gain and 4signals options, 4signals need to be selected from the tree structure of the signals. Selecting a first voltage signal I0.I0.net23 on the tree structure, and selecting Variable Value because the selected signal is of sweep type, wherein 8G is selected, as shown in FIG. 5; according to the prompt information at the lower left, a second voltage signal I0.I0.net8 is selected from the tree structure, as shown in FIG. 6; similarly, a third voltage signal, i0.net16, is selected from the tree structure, as shown in fig. 7; the fourth voltage signal i0.Net20 is selected as shown in fig. 8.
In step 105, if the signal selection is wrong during the selection process, the ESC key is used to clear the current signal selection state and reselect a specified number of signals.
In this embodiment, if a wrong selection occurs during the process of selecting the signal in the tree structure, the ESC key may be pressed to clear the current selection state, as shown in fig. 9, and then step 104 is executed again.
In step 106, when the number of the selected signals satisfies the condition, the corresponding numerical calculation operation is automatically completed, and the result and the corresponding numerical calculation name are drawn in the waveform display tool.
Preferably, the step of drawing the result and the corresponding numerical calculation name in the waveform display tool further comprises the step of completing the display operation of the calculation result through the waveform display tool, wherein the display style of the result depends on the setting of the waveform display tool.
In this embodiment, after the number of currently selected signals reaches the specified number, the calculation of the Voltage Gain is automatically responded, and the result of the Voltage Gain (i 0.i0.net23-i0.i0.net 8)/(i 0.net16-i0.net 20) is displayed on the main interface of the waveform display tool, as shown in fig. 10.
Preferably, after the result is drawn and displayed, step 101 or step 103 may be re-executed according to different requirements, so as to complete the viewing of different calculation results of the multiple simulation result data.
The invention provides a multi-signal rapid selection calculation and display method based on periodic steady-state analysis simulation result data. By the method, a user can visually see the hierarchical relation of the signals from the tree structure of the simulation result and select the function and the signals according to the self requirement to calculate. In addition, the invention also supports real-time operation prompt, and can prompt the information of the currently selected signal number, the signal number to be selected and the like of the user according to the different signal numbers required in the signal selection process of the user, and if the selection is wrong, the current selection state can be cleared by using an ESC key of the keyboard, and then the selection is carried out again until the corresponding calculation process is automatically triggered when the conditions are met. The method is a visual and more convenient multi-signal selection and response method.
In an embodiment of the invention, there is also provided a computer-readable storage medium having stored thereon a computer program which, when run, performs the steps of the multi-signal selection and response method as described above.
In one embodiment of the present invention, there is also provided a multi-signal selection and response device, comprising a memory having stored thereon a computer program for execution on the processor, and a processor that, when executing the computer program, performs the steps of the multi-signal selection and response method as described above.
Those of ordinary skill in the art will understand that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that modifications may be made to the embodiments described above, or equivalents may be substituted for elements thereof. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (8)
1. A multiple signal selection and response method, comprising the steps of:
reading in a waveform file of periodic steady-state analysis simulation;
analyzing the waveform file and establishing a hierarchical tree structure of signals;
the step of analyzing the waveform file and establishing a hierarchical tree structure of the signal further comprises the step of establishing the hierarchical tree structure of the signal according to the name of the specified output signal in the netlist;
selecting a calculation function according to requirements;
selecting a signal according to the calculation function;
selecting the number of signals; successively selecting a plurality of signals according to the signal quantity requirement of the selected function;
when the number of the selected signals satisfies the condition, the calculation is completed and the result is displayed.
2. The multiple signal selection and response method of claim 1, wherein said step of reading in a waveform file of a periodic steady state analysis simulation further comprises said waveform file comprising a file readable by a waveform display of textual format and binary format descriptions.
3. The multiple signal selection and response method of claim 1, wherein the step of selecting signals according to the computation function further comprises substituting signal data into the corresponding computation function according to a selection order of the signals.
4. The multiple signal selection and response method of claim 1, wherein the step of selecting signals according to the computational function further comprises clearing a current signal selection state and reselecting a designated number of signals when the number of selected signals does not satisfy a condition or a selection error.
5. The multiple signal selection and response method of claim 1, wherein the step of performing the calculation and displaying the result when the number of selected signals satisfies the condition further comprises setting a waveform display tool and displaying the calculation result.
6. The multiple signal selection and response method of claim 5, wherein the step of performing calculations and displaying results when the number of selected signals meets the condition further comprises reading in again the waveform file or the selection function calculation function of the periodic steady state analysis simulation according to different requirements and viewing different calculation results of the plurality of simulation result data.
7. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program performs the multiple signal selection and response method steps of any of claims 1 to 6 when running.
8. A multi-signal selection and response device comprising a memory having stored thereon a computer program for execution on a processor, and a processor that, when executing the computer program, performs the multi-signal selection and response method steps of any of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011413534.9A CN112417799B (en) | 2020-12-04 | 2020-12-04 | Multi-signal selection and response method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011413534.9A CN112417799B (en) | 2020-12-04 | 2020-12-04 | Multi-signal selection and response method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112417799A CN112417799A (en) | 2021-02-26 |
CN112417799B true CN112417799B (en) | 2022-10-04 |
Family
ID=74774890
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011413534.9A Active CN112417799B (en) | 2020-12-04 | 2020-12-04 | Multi-signal selection and response method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112417799B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1917702A (en) * | 2006-07-24 | 2007-02-21 | 西南交通大学 | Method of main user's frequency spectrum hole in use for detecting characteristics of cooperation, and periodic stable state of secondary user in radio communication |
CN104730385A (en) * | 2015-03-16 | 2015-06-24 | 国家电网公司 | Power acquisition system based on Beidou navigation system |
CN105373008A (en) * | 2015-11-10 | 2016-03-02 | 中国电力科学研究院 | Full physics model simulation method for electric power system |
CN210780733U (en) * | 2020-02-10 | 2020-06-16 | 四川华讯新科科技有限公司 | Radio frequency signal processing circuit for SoC chip |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5046024A (en) * | 1987-02-26 | 1991-09-03 | Analogy, Inc. | Vector calculator apparatus for graphic waveform manipulation |
JPH0863507A (en) * | 1994-08-23 | 1996-03-08 | Nec Ic Microcomput Syst Ltd | Analog circuit simulation system |
US6151698A (en) * | 1996-04-30 | 2000-11-21 | Cadence Design Systems, Inc. | Method for determining the steady state behavior of a circuit using an iterative technique |
US7035782B2 (en) * | 2000-06-02 | 2006-04-25 | Cadence Design Systems, Inc. | Method and device for multi-interval collocation for efficient high accuracy circuit simulation |
CN103473382A (en) * | 2012-06-07 | 2013-12-25 | 北京华大九天软件有限公司 | Calculator solution in waveform display in integrated circuit simulation |
CN105652104A (en) * | 2014-11-11 | 2016-06-08 | 江苏绿扬电子仪器集团有限公司 | Digital serial signal analyzer front channel self-correction apparatus and method |
US20160285265A1 (en) * | 2015-03-25 | 2016-09-29 | Eleon Energy, Inc. | Methods and systems for power restoration planning employing simulation and a frequency analysis test |
CN105181153B (en) * | 2015-09-23 | 2018-09-11 | 西安工程大学 | Avalanche photodetectors gain measuring method based on waveform area |
CN106096159B (en) * | 2016-06-20 | 2019-05-21 | 华北电力大学(保定) | A kind of implementation method of distributed system behavior simulation analysis system under cloud platform |
CN109245092B (en) * | 2018-09-28 | 2021-04-09 | 东北大学 | MPPT method based on combination of optimization model prediction algorithm and variable step size disturbance control |
CN110764750B (en) * | 2019-10-30 | 2021-02-19 | 华南理工大学 | Energy economy simulation system development method based on individual model |
-
2020
- 2020-12-04 CN CN202011413534.9A patent/CN112417799B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1917702A (en) * | 2006-07-24 | 2007-02-21 | 西南交通大学 | Method of main user's frequency spectrum hole in use for detecting characteristics of cooperation, and periodic stable state of secondary user in radio communication |
CN104730385A (en) * | 2015-03-16 | 2015-06-24 | 国家电网公司 | Power acquisition system based on Beidou navigation system |
CN105373008A (en) * | 2015-11-10 | 2016-03-02 | 中国电力科学研究院 | Full physics model simulation method for electric power system |
CN210780733U (en) * | 2020-02-10 | 2020-06-16 | 四川华讯新科科技有限公司 | Radio frequency signal processing circuit for SoC chip |
Non-Patent Citations (1)
Title |
---|
CMOS射频集成电路设计课程作业(4);唐长文 等;《豆丁网》;20130721;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN112417799A (en) | 2021-02-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105183302A (en) | Method and terminal for controlling application | |
JP4822166B2 (en) | GUI evaluation system, GUI evaluation method thereof, and recording medium on which GUI evaluation program is recorded | |
CN102289530A (en) | Universal girder parametric computer modelling system of crane | |
US20050119852A1 (en) | Semiconductor test data analysis system | |
JP2000112784A (en) | Program test support device and storage medium recording program test support program | |
CN113626017A (en) | Heterogeneous program analysis method and device, computer equipment and storage medium | |
US20230195480A1 (en) | Enhancing accessibility of topology diagram-related applications | |
CN112417799B (en) | Multi-signal selection and response method | |
CN116578293A (en) | Service data method, device, equipment and storage medium | |
CN114326642A (en) | Interface matching method, device, equipment and medium for nuclear power DCS (distributed control System) | |
JPH1097559A (en) | Computer-aided operation device and its guidance organization method | |
CN109492747A (en) | A kind of the network structure generation method and device of neural network | |
JP3463331B2 (en) | Menu selection method | |
WO2005054883A1 (en) | Control device inspection device, pattern signal generation device, and inspection program creation device | |
KR102414972B1 (en) | Chord symbol input device and method using dedicated chord input device | |
JP4634958B2 (en) | Plant data processing apparatus and computer program for its realization | |
CN111767412B (en) | Data mapping method and system for knowledge graph construction and electronic equipment | |
US20230176832A1 (en) | Program creation assistance device | |
JP3177235B2 (en) | Data output device | |
KR20050087696A (en) | Apparatus for writing a program using a computer | |
US11734863B2 (en) | Computing and displaying asymptotes and removable discontinuities | |
CN111026376B (en) | Function configuration method and device, storage medium and electronic equipment | |
CN114817001A (en) | Automatic testing tool and automatic testing method for Simulink model | |
CN115328789A (en) | Test case editing method, device, equipment and medium | |
CN111723561A (en) | Relay protection fixed value item graph configuration modeling method and device |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 100102 floor 2, block a, No.2, lizezhong 2nd Road, Chaoyang District, Beijing Applicant after: Beijing Huada Jiutian Technology Co.,Ltd. Address before: 100102 floor 2, block a, No.2, lizezhong 2nd Road, Chaoyang District, Beijing Applicant before: HUADA EMPYREAN SOFTWARE Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |