CN112417799A - Multi-signal selection and response method - Google Patents
Multi-signal selection and response method Download PDFInfo
- Publication number
- CN112417799A CN112417799A CN202011413534.9A CN202011413534A CN112417799A CN 112417799 A CN112417799 A CN 112417799A CN 202011413534 A CN202011413534 A CN 202011413534A CN 112417799 A CN112417799 A CN 112417799A
- Authority
- CN
- China
- Prior art keywords
- signals
- signal selection
- calculation
- response method
- 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.)
- Granted
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)
- Tests Of Electronic Circuits (AREA)
- Design And Manufacture Of Integrated 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 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. 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 of 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 signal dragging operation, calculation button clicking operation 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 a using mode, operations such as signal dragging operation and calculation button clicking are avoided, and the usability of the tool 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 a second voltage signal I0, net8 is selected according to an embodiment of the 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.I0.net23-I0.I0.net8)/(I0.net16-I0.net20) 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 will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
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 waveform display tool that opens the period steady-state analysis toolbox 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, a calculation function to be viewed is selected, and a result display related option is set.
In this embodiment, as shown in fig. 4, the Voltage Gain calculation Function is selected from the right Function column, the 4signals option is selected, the Voltage gains of the four signals are calculated, wherein the first two signals are differentiated to be the numerator, the second two signals are differentiated to be the denominator, and then Input Harmonic is selected to be 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 selected 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 (i0.i0.net23-i0.i0.net8)/(i0.net16-i0.net20) 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 quick 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 apparatus comprising a memory and a processor, the memory having stored thereon a computer program for execution on the processor, when executing the computer program, performing 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 changes may be made in the embodiments and/or equivalents thereof without departing from the spirit and scope of the invention. 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 (9)
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;
selecting a calculation function according to requirements;
selecting a signal according to the calculation 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 described in a textual format and a binary format.
3. The multiple signal selection and response method of claim 1 wherein the step of parsing the waveform file to create a hierarchical tree structure of signals further comprises creating a hierarchical tree structure of signals according to names of specified output signals in a netlist.
4. The multiple signal selection and response method of claim 1, wherein the step of selecting signals according to the computation functions further comprises substituting signal data into corresponding computation functions according to a selection order of the signals.
5. 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.
6. 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.
7. The multiple signal selection and response method of claim 6, 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.
8. 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 7 when running.
9. A multi-signal selection and response apparatus comprising a memory and a processor, the memory having stored thereon a computer program for execution on the processor, when executing the computer program, performing the multi-signal selection and response method steps of any of claims 1-7.
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 true CN112417799A (en) | 2021-02-26 |
CN112417799B 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 (15)
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 |
EP1160698A2 (en) * | 2000-06-02 | 2001-12-05 | Cadence Design Systems, Inc. | Method and device for multi-interval chebyshev collocation for efficient high accuracy circuit simulation |
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 |
CN103473382A (en) * | 2012-06-07 | 2013-12-25 | 北京华大九天软件有限公司 | Calculator solution in waveform display in integrated circuit simulation |
CN104730385A (en) * | 2015-03-16 | 2015-06-24 | 国家电网公司 | Power acquisition system based on Beidou navigation system |
CN105181153A (en) * | 2015-09-23 | 2015-12-23 | 西安工程大学 | Avalanche photodetector gain measuring method based on waveform area |
CN105373008A (en) * | 2015-11-10 | 2016-03-02 | 中国电力科学研究院 | Full physics model simulation method for electric power system |
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 |
CN106096159A (en) * | 2016-06-20 | 2016-11-09 | 华北电力大学(保定) | Distributed system behavior simulation under a kind of cloud platform analyzes the implementation method of system |
CN109245092A (en) * | 2018-09-28 | 2019-01-18 | 东北大学 | MPPT method based on the disturbance control of Optimized model prediction algorithm combination variable step |
CN110764750A (en) * | 2019-10-30 | 2020-02-07 | 华南理工大学 | Energy economy simulation system development method based on individual model |
CN210780733U (en) * | 2020-02-10 | 2020-06-16 | 四川华讯新科科技有限公司 | Radio frequency signal processing circuit for SoC chip |
-
2020
- 2020-12-04 CN CN202011413534.9A patent/CN112417799B/en active Active
Patent Citations (15)
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 |
EP1160698A2 (en) * | 2000-06-02 | 2001-12-05 | Cadence Design Systems, Inc. | Method and device for multi-interval chebyshev collocation for efficient high accuracy circuit simulation |
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 |
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 |
CN104730385A (en) * | 2015-03-16 | 2015-06-24 | 国家电网公司 | Power acquisition system based on Beidou navigation system |
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 |
CN105181153A (en) * | 2015-09-23 | 2015-12-23 | 西安工程大学 | Avalanche photodetector gain measuring method based on waveform area |
CN105373008A (en) * | 2015-11-10 | 2016-03-02 | 中国电力科学研究院 | Full physics model simulation method for electric power system |
CN106096159A (en) * | 2016-06-20 | 2016-11-09 | 华北电力大学(保定) | Distributed system behavior simulation under a kind of cloud platform analyzes the implementation method of system |
CN109245092A (en) * | 2018-09-28 | 2019-01-18 | 东北大学 | MPPT method based on the disturbance control of Optimized model prediction algorithm combination variable step |
CN110764750A (en) * | 2019-10-30 | 2020-02-07 | 华南理工大学 | Energy economy simulation system development method based on individual model |
CN210780733U (en) * | 2020-02-10 | 2020-06-16 | 四川华讯新科科技有限公司 | Radio frequency signal processing circuit for SoC chip |
Non-Patent Citations (4)
Title |
---|
DEREK N. DYCK等: "Periodic Steady-State Solution of Voltage-Driven Magnetic Devices", 《IEEE TRANSACTIONS ON MAGNETICS》 * |
唐长文 等: "CMOS射频集成电路设计课程作业(4)", 《豆丁网》 * |
杜非等: "基于反向随机共振的衰减振荡信号自适应检测", 《仪器仪表学报》 * |
武新宇等: "射频集成电路周期稳态快速模拟算法的研究", 《微电子学》 * |
Also Published As
Publication number | Publication date |
---|---|
CN112417799B (en) | 2022-10-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200319856A1 (en) | Visual virtual programming machine for real-time interactive creation, playback, execution, inspection and manipulation of programming elements | |
CN108490336B (en) | Board card testing method and system, readable storage medium and computer equipment | |
CN115658747A (en) | Operation guiding method and device, electronic equipment and readable storage medium | |
US7035752B2 (en) | Semiconductor test data analysis system | |
JP2000112784A (en) | Program test support device and storage medium recording program test support program | |
JP2002123409A (en) | Gui evaluating system, gui evaluating method therefor and recording medium with gui evaluation program recorded thereon | |
JP2008242713A (en) | Power consumption analysis program and method thereof | |
CN113626017A (en) | Heterogeneous program analysis method and device, computer equipment and storage medium | |
CN112417799B (en) | Multi-signal selection and response method | |
CN116578293A (en) | Service data method, device, equipment and storage medium | |
US20230195480A1 (en) | Enhancing accessibility of topology diagram-related applications | |
JPH1097559A (en) | Computer-aided operation device and its guidance organization method | |
KR100591354B1 (en) | Apparatus for writing a program using a computer | |
CN112015656B (en) | Visual debugging method and device for workflow designer | |
KR102414972B1 (en) | Chord symbol input device and method using dedicated chord input device | |
WO2005054883A1 (en) | Control device inspection device, pattern signal generation device, and inspection program creation device | |
CN113220596B (en) | Application testing method, device, equipment, storage medium and program product | |
CN115659700B (en) | Waveform automatic contrast analysis method, apparatus and medium based on signal dependency relationship | |
CN115328789A (en) | Test case editing method, device, equipment and medium | |
JP3482903B2 (en) | Visual development tool evaluation system, evaluation method, and recording medium | |
CN114462271A (en) | Finite element model element layering information modification method, system, equipment and medium | |
JPH0850576A (en) | Visually interactive simulator | |
CN114371981A (en) | Method and system for determining server SERT energy efficiency score and related components | |
CN114326642A (en) | Interface matching method, device, equipment and medium for nuclear power DCS (distributed control System) | |
CN114817001A (en) | Automatic testing tool and automatic testing method for Simulink model |
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 |
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. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |