JP2008299614A - Waveform display method - Google Patents
Waveform display method Download PDFInfo
- Publication number
- JP2008299614A JP2008299614A JP2007145315A JP2007145315A JP2008299614A JP 2008299614 A JP2008299614 A JP 2008299614A JP 2007145315 A JP2007145315 A JP 2007145315A JP 2007145315 A JP2007145315 A JP 2007145315A JP 2008299614 A JP2008299614 A JP 2008299614A
- Authority
- JP
- Japan
- Prior art keywords
- waveform
- display
- display device
- displaying
- 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.)
- Pending
Links
Images
Landscapes
- Image Generation (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
本発明は、波形を表示装置に表示する波形の表示方法に関し、例えば半導体集積回路(LSI)の設計の際に得られる各部のシミュレーション波形の表示に適用される波形の表示方法に関する。 The present invention relates to a waveform display method for displaying a waveform on a display device, for example, a waveform display method applied to display of a simulation waveform of each part obtained at the time of designing a semiconductor integrated circuit (LSI).
半導体集積回路の設計では、タイミングシミュレーション、論理シミュレーションなどが実施され、そのシミュレーションの結果を示す各部の波形を、表示装置の表示画面に表示する必要がある。
このようなシミュレーション結果の波形a、bを、表示装置1の表示画面2に表示した表示例を図5に示す。図5の表示例は、表示画面2に波形a、bの一部を表示(拡大表示)した場合であり、時間軸が小さいので波形a、bの表示範囲が狭い。このため、図5の表示例では波形a、bの全体を把握できないので、時間軸を大きくとって波形a、bの表示範囲を広げると、その表示例は図6に示すようになる。
In designing a semiconductor integrated circuit, a timing simulation, a logic simulation, and the like are performed, and it is necessary to display the waveform of each part indicating the result of the simulation on the display screen of the display device.
FIG. 5 shows a display example in which such simulation result waveforms a and b are displayed on the
図6の表示例の一部Aを拡大すると図7に示すようになる。図7(A)は、実際に表示画面に表示したい波形である。図7(B)は、その波形に該当する表示画面の解像度(丸印)と波形の表示状態(丸印のうちの黒い部分)である。
図7(A)の波形の一部Bは、図示のように5本の直線からなり、この5本の直線を表示するために以下処理を行う。すなわち、実際に表示できない座標計算と、表示領域Cで示す縦方向の4ドット領域に対して表示装置が表示する表示コマンドを、ソフトウエア(プログラム)が複数回処理する処理を行う。この表示コマンドの例を示すと、図8のようになり、5本の直線を表示するために5行のプログラムが必要になる。上記の処理は、処理対象の波形の増加に比例して時間がかかる。
FIG. 7 shows an enlarged view of a part A of the display example of FIG. FIG. 7A shows a waveform that is actually desired to be displayed on the display screen. FIG. 7B shows the resolution (circle) of the display screen corresponding to the waveform and the waveform display state (black portion of the circle).
A part B of the waveform in FIG. 7A consists of five straight lines as shown, and the following processing is performed to display these five straight lines. That is, the software (program) performs a process of calculating the coordinates that cannot be actually displayed and the display command displayed by the display device for the vertical four-dot area indicated by the display area C a plurality of times. An example of this display command is shown in FIG. 8, and a program of 5 lines is required to display 5 straight lines. The above processing takes time in proportion to the increase in the waveform to be processed.
このように従来方法では、表示装置1の表示画面に波形を表示する際に、表示装置1の解像度の観点から表示画面に忠実に波形を表示できない場合があるが、この場合にも忠実に波形を表示する場合と同じ表示処理が必要となる。このため、従来方法では、表示処理の際に、無駄な処理とそのための時間がかかり、この結果、波形を表示画面に表示するまでに要する時間がかかってしまうという不具合がある。
As described above, according to the conventional method, when a waveform is displayed on the display screen of the
ところで、本発明の波形の表示方法に関連(類似)する発明として、特許文献1に記載の発明が知られている。
特許文献1に記載の発明は、描画すべき原図形データを所定サイズに区分した小領域毎の図形マップ情報とし、表示装置の解像度を考慮して、表示装置上に実際に描画する際には、省略描画(塗りつぶし)、部分省略描画、原図形描画の何れかの描画を行うものである。
In the invention described in
しかし、特許文献1に記載の発明は、表示装置への表示対象がLSIの回路設計における各種の回路など、曲線などを含む複雑な図形であるので、上記のようにシミュレーション結果などの波形の表示方法に適用するには必ずしも適切ではない。
また、特許文献1に記載の発明では、表示装置上に実際に描画する際には、省略描画(塗りつぶし)、部分省略描画、原図形描画の何れかの描画を行うが、上記のようにシミュレーション結果などの波形の表示方法に適用するには必ずしも適切ではない。
そこで、本発明の目的は、上記の点に鑑み、半導体集積回路の設計の際に得られる各部のシミュレーション波形などを表示装置に表示する際に、表示処理時間を短縮するようにした波形の表示方法を提供することにある。
However, in the invention described in
In the invention described in
Therefore, in view of the above points, an object of the present invention is to display a waveform that shortens the display processing time when displaying a simulation waveform or the like of each part obtained when designing a semiconductor integrated circuit on a display device. It is to provide a method.
上記の課題を解決し本発明の目的を達成するために、各発明は、以下のような構成からなる。
第1の発明は、表示装置に波形を表示する波形の表示方法であって、前記波形を特定する波形データとして、所定のデータを予め用意しておく第1ステップと、前記表示装置に波形を表示するのに先立ち、前記所定のデータに基づいて前記表示装置の解像度と比較するための比較値を求める第2ステップと、その求めた比較値を前記表示装置の解像度と比較する第3ステップと、前記波形データで特定される波形を前記表示装置に表示する際に、前記第3ステップの比較結果に応じて、前記波形の塗りつぶし処理を実施し、またはその塗りつぶし処理を実施しない第4ステップと、を含む。
In order to solve the above problems and achieve the object of the present invention, each invention has the following configuration.
A first aspect of the present invention is a waveform display method for displaying a waveform on a display device, the first step of preparing predetermined data in advance as waveform data for specifying the waveform, and a waveform on the display device Prior to display, a second step for obtaining a comparison value for comparison with the resolution of the display device based on the predetermined data, and a third step for comparing the obtained comparison value with the resolution of the display device. When the waveform specified by the waveform data is displayed on the display device, the waveform filling process is performed according to the comparison result of the third step or the filling process is not performed. ,including.
第2の発明は、表示装置に波形を表示する波形の表示方法であって、前記波形を特定する波形データとして、前記波形の時間軸上の変化点を示す複数個の変化点データを予め用意しておく第1ステップと、前記表示装置に前記波形を表示するのに先立ち、表示指定に基づいて定められる単位時間内における前記変化点データの個数を求める第2ステップと、その求めた変化点データの個数を前記表示装置の解像度に基づいて予め定めた所定値と比較する第3ステップと、前記波形データで特定される波形を前記表示装置に表示する際に、前記第3ステップの比較結果に応じて、前記波形の塗りつぶし処理を実施し、またはその塗りつぶし処理を実施しない第4ステップと、を含む。 A second invention is a waveform display method for displaying a waveform on a display device, and a plurality of change point data indicating a change point on the time axis of the waveform is prepared in advance as waveform data for specifying the waveform. A first step, a second step for determining the number of change point data within a unit time determined on the basis of display designation prior to displaying the waveform on the display device; The third step of comparing the number of data with a predetermined value determined in advance based on the resolution of the display device, and the comparison result of the third step when displaying the waveform specified by the waveform data on the display device And a fourth step of performing the waveform filling process or not performing the filling process.
第3の発明は、第1または第2の発明において、前記波形は、半導体集積回路の設計の際に得られる回路各部のシミュレーション波形である。
第4の発明は、第1または第2の発明において、前記波形は、パルス波形からなり、前記パルス波形の変化点データは、パルス波形の立ち上がり時刻と立ち下がり時刻である。
このような本発明によれば、例えば、半導体集積回路の設計の際に得られる回路各部のシミュレーション波形を表示装置に表示する際に、無駄な処理を省略できるので、表示処理時間を短縮できる。
According to a third invention, in the first or second invention, the waveform is a simulation waveform of each part of the circuit obtained at the time of designing a semiconductor integrated circuit.
In a fourth aspect based on the first aspect or the second aspect, the waveform is a pulse waveform, and the change point data of the pulse waveform is a rise time and a fall time of the pulse waveform.
According to the present invention as described above, for example, when displaying the simulation waveform of each part of the circuit obtained when designing the semiconductor integrated circuit on the display device, useless processing can be omitted, so that the display processing time can be shortened.
以下、本発明の実施形態について、図面を参照して説明する。
本発明の波形の表示方法の実施形態は、表示対象として例えば半導体集積回路の設計の際に得られる回路各部のシミュレーション波形とし、その波形を表示装置の表示画面に表示するときに、図1に示すような一連の処理をコンピュータを用いて行う。なお、図1に示す処理手順は、コンピュータのメモリに予め記憶されている。
次に、その処理手順について、図1を参照して説明する。
この例では、シミュレーション波形である複数のパルス波を表示装置の表示画面に表示するが、その表示に先立って、その複数のパルス波は、各パルス波ごとにパルス波を特定する波形データを予め用意しておく。波形データは、波形を特定するのに有用であり、その波形を表示画面に表示する際に有用なデータである。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
In the embodiment of the waveform display method of the present invention, as a display target, for example, a simulation waveform of each part of a circuit obtained at the time of designing a semiconductor integrated circuit is used, and when the waveform is displayed on a display screen of a display device, FIG. A series of processing as shown is performed using a computer. 1 is stored in advance in a computer memory.
Next, the processing procedure will be described with reference to FIG.
In this example, a plurality of pulse waves, which are simulation waveforms, are displayed on the display screen of the display device. Prior to the display, the plurality of pulse waves are preliminarily stored with waveform data for identifying the pulse wave for each pulse wave. Have it ready. The waveform data is useful for specifying a waveform and is useful for displaying the waveform on a display screen.
図2は、表示すべきパルス波とその波形データの一例を示す。
図2(B)に示す波形データは、図3に示すように、「時間」と「信号の値」が使用され、連鎖状または連続的にメモリに予め格納されている。また、図3に示す一連の複数の波形データは、表示すべきパルス波ごとにメモリに格納されている。
上記の「時間」は、パルス波の振幅値が変化する時間(時刻)である。また、上記の「信号の値」は、パルス波の振幅値であり、Hレベルを示す「1」またはLレベルを示す「0」からなる。
FIG. 2 shows an example of a pulse wave to be displayed and its waveform data.
As shown in FIG. 3, the waveform data shown in FIG. 2B uses “time” and “signal value” and is stored in advance in a chain or continuously in the memory. A series of a plurality of waveform data shown in FIG. 3 is stored in the memory for each pulse wave to be displayed.
The above “time” is the time (time) when the amplitude value of the pulse wave changes. The “signal value” is an amplitude value of a pulse wave, and consists of “1” indicating the H level or “0” indicating the L level.
図2(A)に示すパルス波は、図2(B)に示す波形データによって特定される。例えば、最初のパルス波は、「時間」が「80ns」で「信号値」が「1」の第1波形データと、「時間」が「100ns」で「信号値」が「0」の第2波形データで特定される。従って、第1波形データはパルス波の立ち上がり時刻を示し、第2波形データはパルス波の立ち下がり時刻を示すといえる。このため、最初のパルス波は、図示のように、80nsのときに立ち上がり、100nsのときに立ち下がる。 The pulse wave shown in FIG. 2A is specified by the waveform data shown in FIG. For example, the first pulse wave includes the first waveform data having “time” of “80 ns” and “signal value” of “1”, and the second waveform of “time” of “100 ns” and “signal value” of “0”. Identified by waveform data. Accordingly, it can be said that the first waveform data indicates the rising time of the pulse wave, and the second waveform data indicates the falling time of the pulse wave. For this reason, the first pulse wave rises at 80 ns and falls at 100 ns, as shown.
この実施形態では、上記のようにパルス波を特定する波形データが予め用意されており、ステップS1では、表示対象であるパルス波の波形データをコンピュータが取り込む。ステップS2では、その取り込んだ波形データに基づいて所定の波形データベースを作成する。
ステップS3では、パルス波が表示される表示装置の解像度を取り込む。解像度とは、表示装置の表示画面のドット(画素)の大きさであり、その表示能力によって異なる。
In this embodiment, the waveform data for specifying the pulse wave is prepared in advance as described above, and in step S1, the waveform data of the pulse wave to be displayed is captured by the computer. In step S2, a predetermined waveform database is created based on the acquired waveform data.
In step S3, the resolution of the display device on which the pulse wave is displayed is captured. The resolution is the size of dots (pixels) on the display screen of the display device, and differs depending on the display capability.
次に、操作者が、パルス波が表示される表示装置の表示画面上の表示領域を指示(設定)すると、その表示領域のX方向(横方向)の長さ(幅)が指定される(ステップS4)。ステップS5では、その指定された幅に対応する時間を算出する。
ここで、表示画面上のパルス波形の表示領域の指示は、表示画面の一部でも良く表示画面の全体でも良い。
Next, when the operator designates (sets) a display area on the display screen of the display device on which the pulse wave is displayed, the length (width) in the X direction (lateral direction) of the display area is designated ( Step S4). In step S5, a time corresponding to the designated width is calculated.
Here, the indication of the display area of the pulse waveform on the display screen may be a part of the display screen or the entire display screen.
ステップS6では、算出された表示時間幅を単位時間に分割する。ステップS7ではその単位時間ごとに、その単位時間内におけるパルス波の波形データの個数(図2(B)参照)を計数する。すなわち、単位時間内におけるパルス波の変化点データの個数を計数することに相当する。
ここで、単位時間は、指定された表示領域のX方向において、そのX方向の単位長さ(例えば、表示画面の2ドット分の長さ)に相当する時間であり、ステップS3で取り込んだ表示装置の解像度を参照して決定される。従って、単位時間内におけるパルス波の波形データの個数を求めることは、表示画面のX方向の2ドット分の範囲内で表示すべきY方向(縦方向)の直線の個数を計数することに相当する。
In step S6, the calculated display time width is divided into unit times. In step S7, the number of pulse wave waveform data (see FIG. 2B) within the unit time is counted for each unit time. That is, this corresponds to counting the number of change points of pulse waves within a unit time.
Here, the unit time is the time corresponding to the unit length in the X direction of the designated display area (for example, the length of 2 dots on the display screen), and the display captured in step S3. Determined with reference to the resolution of the device. Accordingly, obtaining the number of waveform data of pulse waves within a unit time is equivalent to counting the number of straight lines in the Y direction (vertical direction) to be displayed within the range of two dots in the X direction on the display screen. To do.
ステップS8では、ステップS7で求めた単位時間内におけるパルス波の波形データの個数が、表示装置の表示画面のドットの2個分以上か否かを判定する。
ここで、判定基準を表示画面のドット(画素)の2個分としたのは、実用上問題にならないからである。
ステップS8において、単位時間内におけるパルス波の変化点の個数が、表示画面のドットの2個分以上の場合には(肯定判定)、パルス波を表示画面に表示する際に塗りつぶした状態で表示するために、範囲指定での塗りつぶし処理を行う(ステップS9)。
In step S8, it is determined whether or not the number of waveform data of the pulse wave within the unit time obtained in step S7 is equal to or more than two dots on the display screen of the display device.
Here, the reason why the criterion is set to two dots (pixels) on the display screen is that there is no practical problem.
In step S8, when the number of change points of the pulse wave within the unit time is equal to or more than two dots on the display screen (positive determination), the pulse wave is displayed in a filled state when displayed on the display screen. In order to do this, a filling process is performed by designating a range (step S9).
ここで、範囲指定での塗りつぶし処理の表示コマンドの一例は、図4に示すようになる。この例は、4×5ドットを表示するのに必要な表示コマンドであり、4行のプログラムで足りる。
そして、ステップS11では、その処理結果に基づき、パルス波は塗りつぶした状態で表示画面に表示される。
Here, an example of the display command for the painting process with the range designation is as shown in FIG. This example is a display command necessary to display 4 × 5 dots, and a four-line program is sufficient.
In step S11, based on the processing result, the pulse wave is displayed on the display screen in a painted state.
一方、ステップS8において、単位時間内におけるパルス波の変化点の個数が、表示画面のドットの2個分以下の場合には(否定判定)、そのパルス波をそのまま表示するために、波形描画座標計算を行う(ステップS10)。そして、ステップS11では、その処理結果に基づき、パルス波が塗りつぶされることなく表示画面に表示される。
以上説明したように、この実施形態によれば、半導体集積回路の設計の際に得られる各部のシミュレーション波形などを表示装置に表示する際に、無駄な処理を省略でき、表示処理時間を短縮することができる。
On the other hand, in step S8, when the number of change points of the pulse wave within the unit time is equal to or less than two dots on the display screen (negative determination), the waveform drawing coordinates are displayed in order to display the pulse wave as it is. Calculation is performed (step S10). In step S11, the pulse wave is displayed on the display screen without being filled based on the processing result.
As described above, according to this embodiment, when displaying a simulation waveform of each part obtained at the time of designing a semiconductor integrated circuit on a display device, useless processing can be omitted and display processing time is shortened. be able to.
なお、実施形態では、表示波形の一例としてパルス波を表示するようにしたが、表示対象はこれに限定されず、一定の規則性があり、それを活用して波形データを予め作成しておくことができれば良い。
従って、本発明はパルス波に代えて、鋸波や三角波(ランプ波)などでも良い。例えば鋸波の場合には、その波形を特定する波形データは、パスル波の波形データと基本的に同様となる。
In the embodiment, the pulse wave is displayed as an example of the display waveform. However, the display target is not limited to this, and there is a certain regularity, and waveform data is created in advance by using the regularity. I hope I can.
Therefore, in the present invention, a sawtooth wave or a triangular wave (ramp wave) may be used instead of the pulse wave. For example, in the case of a sawtooth wave, the waveform data specifying the waveform is basically the same as the waveform data of the pulse wave.
1・・・表示装置、2・・・表示画面、a、b・・・パルス波(表示波形)
DESCRIPTION OF
Claims (4)
前記波形を特定する波形データとして、所定のデータを予め用意しておく第1ステップと、
前記表示装置に波形を表示するのに先立ち、前記所定のデータに基づいて前記表示装置の解像度と比較するための比較値を求める第2ステップと、
その求めた比較値を前記表示装置の解像度と比較する第3ステップと、
前記波形データで特定される波形を前記表示装置に表示する際に、前記第3ステップの比較結果に応じて、前記波形の塗りつぶし処理を実施し、またはその塗りつぶし処理を実施しない第4ステップと、
を含むことを特徴とする波形の表示方法。 A waveform display method for displaying a waveform on a display device,
A first step of preparing predetermined data in advance as waveform data for specifying the waveform;
Prior to displaying a waveform on the display device, a second step of obtaining a comparison value for comparison with the resolution of the display device based on the predetermined data;
A third step of comparing the obtained comparison value with the resolution of the display device;
When displaying the waveform specified by the waveform data on the display device, according to the comparison result of the third step, the waveform filling process is performed, or the filling process is not performed fourth step,
A method for displaying a waveform, comprising:
前記波形を特定する波形データとして、前記波形の時間軸上の変化点を示す複数個の変化点データを予め用意しておく第1ステップと、
前記表示装置に前記波形を表示するのに先立ち、表示指定に基づいて定められる単位時間内における前記変化点データの個数を求める第2ステップと、
その求めた変化点データの個数を前記表示装置の解像度に基づいて予め定めた所定値と比較する第3ステップと、
前記波形データで特定される波形を前記表示装置に表示する際に、前記第3ステップの比較結果に応じて、前記波形の塗りつぶし処理を実施し、またはその塗りつぶし処理を実施しない第4ステップと、
を含むことを特徴とする波形の表示方法。 A waveform display method for displaying a waveform on a display device,
A first step of preparing in advance a plurality of change point data indicating change points on the time axis of the waveform as waveform data for specifying the waveform;
Prior to displaying the waveform on the display device, a second step of determining the number of change point data within a unit time determined based on display designation;
A third step of comparing the obtained number of change point data with a predetermined value based on the resolution of the display device;
When displaying the waveform specified by the waveform data on the display device, according to the comparison result of the third step, the waveform filling process is performed, or the filling process is not performed fourth step,
A method for displaying a waveform, comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007145315A JP2008299614A (en) | 2007-05-31 | 2007-05-31 | Waveform display method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007145315A JP2008299614A (en) | 2007-05-31 | 2007-05-31 | Waveform display method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008299614A true JP2008299614A (en) | 2008-12-11 |
Family
ID=40173082
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007145315A Pending JP2008299614A (en) | 2007-05-31 | 2007-05-31 | Waveform display method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008299614A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110246204A (en) * | 2019-05-28 | 2019-09-17 | 深圳和而泰家居在线网络科技有限公司 | Waveform drawing method, apparatus, computer equipment and readable storage medium storing program for executing |
-
2007
- 2007-05-31 JP JP2007145315A patent/JP2008299614A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110246204A (en) * | 2019-05-28 | 2019-09-17 | 深圳和而泰家居在线网络科技有限公司 | Waveform drawing method, apparatus, computer equipment and readable storage medium storing program for executing |
CN110246204B (en) * | 2019-05-28 | 2024-01-05 | 深圳数联天下智能科技有限公司 | Waveform drawing method, waveform drawing device, computer equipment and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021248705A1 (en) | Image rendering method and apparatus, computer program and readable medium | |
JP2013225312A5 (en) | ||
US20160343155A1 (en) | Dynamic filling of shapes for graphical display of data | |
US9955065B2 (en) | Dynamic motion path blur user interface | |
CN106297536B (en) | Method and device for determining labeling position of planar graphic element name in electronic map | |
US9779484B2 (en) | Dynamic motion path blur techniques | |
JP2008299614A (en) | Waveform display method | |
EP3046406B1 (en) | Method for generating compensation matrix during substrate inspection | |
US9229608B2 (en) | Character display apparatus, character display method, and computer readable medium | |
CN103646412B (en) | Wide line describing method and device | |
JP4238604B2 (en) | Shape data creation method and shape data creation system | |
CN109410304B (en) | Projection determination method, device and equipment | |
CN106873875B (en) | Graphical display method and device of data and computing equipment | |
EP3438932A1 (en) | Intelligent contouring of anatomy with structured user click points | |
WO2022102525A1 (en) | Data creation system, learning system, estimation system, processing device, evaluation system, data creation method, and program | |
CN111429541B (en) | Graphic erasing method and device | |
US11270482B2 (en) | Timing chart verification aiding apparatus, timing chart verification aiding method, and computer readable medium | |
US11532106B2 (en) | Color gradient capture from source image content | |
US10290287B1 (en) | Visualizing operation of a memory controller | |
JPH07152912A (en) | Pattern matching method | |
US20180088790A1 (en) | Banded sliders for obtaining values from users | |
US8390616B1 (en) | Markers for identifying projected graphics objects in object streams | |
JP2000057360A (en) | Method and device for processing digital image | |
JP2007286942A (en) | Method for generating drawing data and data processor | |
JP2001344301A (en) | Method and device for layouting pattern and computer- readable medium with pattern layout program stored thereon |