JPH03250260A - Method for outputting result of logic simulation - Google Patents

Method for outputting result of logic simulation

Info

Publication number
JPH03250260A
JPH03250260A JP2045405A JP4540590A JPH03250260A JP H03250260 A JPH03250260 A JP H03250260A JP 2045405 A JP2045405 A JP 2045405A JP 4540590 A JP4540590 A JP 4540590A JP H03250260 A JPH03250260 A JP H03250260A
Authority
JP
Japan
Prior art keywords
simulation
time
result
output
outputting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2045405A
Other languages
Japanese (ja)
Inventor
Yoshito Mizogami
溝上 良人
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2045405A priority Critical patent/JPH03250260A/en
Publication of JPH03250260A publication Critical patent/JPH03250260A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten time for retrieval by dividing the result of logic simulation into plural blocks when the result is outputted to a storage device, and outputting a signal value at the time of the simulation as initial value data to the heads of the respective divided blocks. CONSTITUTION:When outputting signal change information to the storage device as the result simulated by a logic simulator 3, the optimum data amount for a means to refer the contents is calculated from the amount of data to be outputted, and outputted to storage devices 7 and 8 in the form of dividing the result into the plural blocks. Further, the signal change information as the number of all signal lines at the time of the simulation is outputted to the head of each divided block. Therefore, the signal change information can be easily referred for each block. Thus, the time chart of the arbitrary simula tion time can be processed in a short time.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、論理装置の論理検証を行う論理シミュレーシ
ョンに係り、シミュレーション結果から任意のシミュレ
ーション時刻の信号変化情報を得るのに好適なシミュレ
ーシコン結果出力方法に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a logic simulation for verifying the logic of a logic device, and relates to a simulation result suitable for obtaining signal change information at an arbitrary simulation time from the simulation result. Regarding the output method.

〔従来の技術〕[Conventional technology]

一般に、論理シミュレータにおける論理回路の動作結果
を出力し、その結果から論理回路動作の任意の時刻にお
ける信号変化を端末装置へ表示したり、リスト等にタイ
ムチャート形式で出力して、論理回路の検証を行い、論
理回路の誤りを早期に摘出し回路設計の早期実現を計っ
ている。
In general, the operation results of a logic circuit in a logic simulator are output, and the signal changes at any time in the operation of the logic circuit are displayed on a terminal device, or output in the form of a time chart on a list, etc., to verify the logic circuit. The aim is to quickly identify errors in logic circuits and realize early circuit design.

論理シミュレータにおける論理回路の信号変化状態をタ
イムチャートに出力する方式は、特公昭62−5086
0号公報に示されるように、トリガ信号を契機として、
その前後の一定時刻分をタイムチャートとして出力する
手法があげられる。
The method of outputting the signal change state of a logic circuit in a logic simulator on a time chart is based on the Japanese Patent Publication No. 62-5086.
As shown in Publication No. 0, triggered by a trigger signal,
One method is to output a fixed time before and after that as a time chart.

しかし、この手法では、シミュレーション結果のファイ
ル出力手順及び、そのファイルの読出し手順が記載され
ておらず、大規模な論理装置では単に一定時刻の信号変
化を出力すると、ファイル容量が大幅に増加する。また
、−射的に、シミュレーション結果である信号変化情報
をディスク等の記憶装置へ出力しておき、ビデオ端末等
を用いてタイムシェアリングシステムを利用し、上記デ
ィスクに格納した信号変化情報を画面上に表示すること
によって論理回路の動作を検証する手段が用いられてい
る。同様に信号変化の発生したものだけを記憶装置へ出
力することによるファイル容量削減の方法を開示するも
のとして、特開昭59−154374号公報がある。
However, this method does not describe the procedure for outputting simulation results to a file and the procedure for reading the file, and in a large-scale logic device, simply outputting signal changes at a fixed time would significantly increase the file capacity. In addition, the signal change information that is the simulation result is outputted to a storage device such as a disk, and the signal change information stored on the disk is displayed on the screen using a time sharing system using a video terminal or the like. Means for verifying the operation of a logic circuit by displaying the information on the top is used. Similarly, Japanese Patent Laid-Open No. 154374/1984 discloses a method of reducing file capacity by outputting only signals in which signal changes have occurred to a storage device.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術は、出力した信号変化情報を、任意のシミ
ュレーション時刻から表示するための配慮がされておら
ず、ビデオ端末等にそのタイムチャートを表示する時間
が大きいという問題があった。
The above-mentioned conventional technology does not take into account the display of the output signal change information from an arbitrary simulation time, and there is a problem that it takes a long time to display the time chart on a video terminal or the like.

本発明は、任意のシミュレーション時刻のタイムチャー
トを短時間で処理することを目的としており、さらに、
記憶装置にシミュレーション結果を効率よく配分する手
段を提供することを目的とする。
The present invention aims to process time charts at arbitrary simulation times in a short time, and further includes:
The purpose of this invention is to provide a means for efficiently distributing simulation results to storage devices.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するために、シミュレーション結果の信
号変化情報を記憶装置へ出力するとき、出力するデータ
量から、その内容を参照する手段に最適なデータ量を算
出し、複数のブロックに分割した形式で記憶装置へ出力
する手法を用いた。
In order to achieve the above purpose, when outputting signal change information of simulation results to a storage device, the optimal amount of data is calculated from the amount of data to be output, and the data is divided into multiple blocks. We used a method of outputting to a storage device.

また、最適に分割するために、シミュレーションの出力
対象となった論理回路の信号線数と、全信号変化情報数
、シミュレーション実行時刻を用いて、各分割位置に相
当するシミュレーション時刻を算出して、各時刻の切れ
目で分割する手法とした。さらに、分割した各ブロック
の先頭には、そのシミュレーション時刻における全信号
線数の信号変化情報を出力し、各ブロックごとにその信
号変化情報を容易に参照できるようにした。
In addition, in order to divide optimally, the simulation time corresponding to each division position is calculated using the number of signal lines of the logic circuit that is the target of simulation output, the total number of signal change information, and the simulation execution time. The method was to divide the data at each time interval. Furthermore, the signal change information for the total number of signal lines at the simulation time is output at the beginning of each divided block, so that the signal change information can be easily referenced for each block.

〔作用〕[Effect]

論理シミュレーションによる結果出力は、シミュレーシ
ョン時刻ごとに変化した論理回路の信号変化情報を記憶
装置へ出力することにより行っている。各シミュレーシ
ョン時刻における信号変化量は一定でなく、それぞれ異
なるが、これらの信号変化情報を出力対象論理ゲート数
、シミュレーション実行長、総信号変化数から分割して
記憶装置へ出力しても各記憶ブロックに対するシミュレ
ーション時刻を管理することにより、何ら矛盾を生じな
い。
The results of the logic simulation are output by outputting signal change information of the logic circuit that changes at each simulation time to a storage device. The amount of signal change at each simulation time is not constant and differs from one another, but even if this signal change information is divided from the number of output target logic gates, simulation execution length, and total number of signal changes and output to the storage device, each memory block By managing the simulation time for each, no contradiction occurs.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面を用いて詳細に説明する
。第1図に本発明の概要を示す。論理シミュレータ3に
シミュレーション対象論理回路1とその論理回路1を検
証するための入力データ2を入力し、入力データ2で指
定されたシミュレーション終了時刻まで論理回路1の素
子動作を計算してシミュレーション出力結果4を得る。
Hereinafter, one embodiment of the present invention will be described in detail using the drawings. FIG. 1 shows an overview of the present invention. Input the simulation target logic circuit 1 and the input data 2 for verifying the logic circuit 1 into the logic simulator 3, calculate the element operation of the logic circuit 1 until the simulation end time specified by the input data 2, and output the simulation output result. Get 4.

このシミュレーション出力結果4は、管理情報としてシ
ミュレーション実行時間すなわち論理回路1が動作した
長さであるシミュレーション長とシミュレーションの信
号値出力対象となった論理回路1のゲート数、及びシミ
ュレーション出力結果として発生した信号変化の総数を
持ち、また各シミュレーション時刻に変化した信号に対
する変化情報をシミュレーション時刻に並べて保存する
。シミュレーション出力結果4は、DISC等の外部記
憶装置でもよく、あるいは、シミュレーション実行途中
の主記憶等の記憶装置上に保存しても利用できる。
This simulation output result 4 contains, as management information, the simulation execution time, that is, the simulation length, which is the length of time the logic circuit 1 operated, the number of gates of the logic circuit 1, which is the target of signal value output of the simulation, and the simulation output result. It has the total number of signal changes, and also stores change information for signals that changed at each simulation time, arranging them at the simulation time. The simulation output result 4 may be stored in an external storage device such as a DISC, or may be stored in a storage device such as a main memory while the simulation is being executed.

次に結果編集5は、シミュレーション出力結果4の管理
情報を読込み、シミュレーション長、対象ゲート数、信
号変化の3パラメタにより、分割に最適なシミュレーシ
ョン時刻(たとえば、信号変化÷シミュレーション長X
n>対象ゲート数となるnの値、すなわち、シミュレー
ション結果を再度読込みを行うとき、各分割ポイントか
らのデータ長が極力少なくなる数値を求めるために、各
分割ブロックの各シミュレーション時刻ごとの信号変化
量の合計値が、その分割ブロックの初期値データ量より
大きくなる数値)を求め、ファイル管理情報6を作成す
る。ファイル管理情報6に、信号変化値を出力すべきフ
ァイル名あるいはデータセット名と、ファイルへ出力開
始するシミュレーション時刻を出力した後、シミュレー
ション出力結果4の信号変化情報からその内容を読込み
Next, the result editor 5 reads the management information of the simulation output result 4, and determines the optimal simulation time for division (for example, signal change ÷ simulation length
In order to find the value of n where n>number of target gates, that is, the value that minimizes the data length from each division point when reading the simulation results again, we calculate the signal change at each simulation time of each division block. A numerical value whose total value is larger than the initial value data amount of the divided block is determined, and file management information 6 is created. After outputting the file name or data set name to which the signal change value is to be output and the simulation time at which output to the file is to be started to the file management information 6, the contents are read from the signal change information of the simulation output result 4.

出力ファイル7.8へ初期値及び各シミュレーション時
刻における信号変化情報を出力する。本実施例では、シ
ミュレーション時刻Oから時刻29までをファイル7へ
1時刻30以降をファイル8へ出力した例を示す。
The initial value and signal change information at each simulation time are output to the output file 7.8. In this embodiment, an example is shown in which the simulation time O to time 29 is output to file 7, and the data after time 1 time 30 is output to file 8.

第2図は、第1図で示した論理回路1のシミュレーショ
ン結果のタイムチャートを示す。次に結果編集5の流れ
を第3図のフローチャートで説明する。まず、シミュレ
ーション出力結果4から管理情報を取り出しく301)
、分割すべき容量を算出するとともに管理情報をファイ
ル6へ出力した後、信号変化情報を出力すべきファイル
を選択する(302)。ここでは、開始時刻Oとして、
開始時刻Oに相当するファイル7を選択しそのファイル
7へ出力すべき終了時刻は、次の管理情報からファイル
8の開始時刻30を読込むことによす、ファイル7の出
力時間幅をOから29に設定する。次にファイル7に対
して、シミュレーション出力結果4から1時刻Oの信号
変化情報を初期値として出力し、同時に各信号変化情報
に対応した初期値レコードを初期値エリアとして作成す
る(303)。さらに時刻をそのままにしておけば、ス
テップ3o4.ステップ305.ステップ306を経て
、ステップ307でシミュレーション時刻を更新し、そ
の時刻が管理情報の終了時刻に満たないときステップ3
09を経て、ステップ304へ戻る。このとき、更新さ
れた時刻がシミュレーション出力結果4と一致するとき
、その時刻の信号変化情報を先に設けた初期値エリアの
同一信号線に対して書き直す(304)。同じく、シミ
ュレーション出力結果4の信号変化情報でシミュレーシ
ョン時刻と同一時刻のものを出力対象となったファイル
へ出力する(305)。この信号変化情報設定をステッ
プ306により、同一時刻の信号変化情報がなくなるま
で続ける。同一時刻の信号変化情報を終了したら、シミ
ュレーション時刻を進める。シミュレーション時刻が、
次の管理情報に示される値(ここでは30)になると(
309)、その時までに更新した初期値エリアの内容を
まとめ(310)、さらに信号変化情報を出力すべきフ
ァイルを切替えたのち、初期値として初期値エリアを出
力対象のファイルへ出力する(31.1)。
FIG. 2 shows a time chart of simulation results for the logic circuit 1 shown in FIG. Next, the flow of result editing 5 will be explained with reference to the flowchart of FIG. First, extract the management information from the simulation output result 4 (301)
After calculating the capacity to be divided and outputting the management information to the file 6, the file to which the signal change information is to be output is selected (302). Here, as the start time O,
The end time to select file 7 corresponding to start time O and output to that file 7 is determined by reading the start time 30 of file 8 from the following management information, and changing the output time width of file 7 from O to Set to 29. Next, the signal change information at time O from the simulation output result 4 is outputted to the file 7 as an initial value, and at the same time, an initial value record corresponding to each signal change information is created as an initial value area (303). Furthermore, if you leave the time as is, step 3o4. Step 305. After step 306, the simulation time is updated in step 307, and if the updated time is less than the end time of the management information, step 3
After passing through step 09, the process returns to step 304. At this time, when the updated time matches the simulation output result 4, the signal change information at that time is rewritten for the same signal line in the initial value area provided earlier (304). Similarly, the signal change information of the simulation output result 4 having the same time as the simulation time is output to the output target file (305). This signal change information setting is continued in step 306 until there is no signal change information at the same time. After completing the signal change information at the same time, advance the simulation time. The simulation time is
When the value shown in the following management information (here 30) is reached (
309), summarizes the contents of the initial value area updated up to that time (310), and further switches the file to which the signal change information should be output, and then outputs the initial value area as the initial value to the file to be output (31. 1).

その後、ステップ304へ戻り、その時に示されるシミ
ュレーション時刻と同一時刻の信号変化情報をシミュレ
ーション出力結果から読込み、信号変化情報出力対象と
なったファイルへ出力する(304)。
Thereafter, the process returns to step 304, and the signal change information at the same time as the simulation time indicated at that time is read from the simulation output result and output to the file to which the signal change information is output (304).

これらの一連の動作をくり返し、管理情報の終了時刻に
達すると、処理を終える(308)。以上の流れで、シ
ミュレーション出力結果4の内容を分割し、出力ファイ
ル7、出力ファイル8へ信号変化情報を格納できる。こ
れらの出力ファイルを参照するときは、管理情報ファイ
ル中に格納した内容を読込むことによりたとえば、時刻
40での信号値は、管理情報ファイルからファイル8を
選択でき、ファイル8の先頭から信号変化情報を読込む
ことにより求められる。
These series of operations are repeated, and when the end time of the management information is reached, the process ends (308). With the above flow, the content of the simulation output result 4 can be divided and the signal change information can be stored in the output files 7 and 8. When referring to these output files, by reading the contents stored in the management information file, for example, for the signal value at time 40, file 8 can be selected from the management information file, and the signal changes from the beginning of file 8. Obtained by reading information.

ファイル分割の手法は、本実施例のほかにパラメタ等に
よって分割数指定を行う手法、シミュレーション時間の
指定による分割数指定でも、本手順を若干手直しするこ
とにより実現できる。
In addition to this embodiment, the file division method can also be realized by specifying the number of divisions by parameters or by specifying the number of divisions by specifying the simulation time by slightly modifying this procedure.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、シミュレーション結果から任意のシミ
ュレーション時刻における信号値情報を複数に分割した
ファイルから読込むことができ、検索時間を大幅に削減
できる。また5いずれのシミュレーション時刻でも、検
索時間が少なくて済むので、シミュレーション結果を用
いた論理検証時間も少なくて済み、論理装置の開発期間
短縮にも寄与できる。
According to the present invention, signal value information at an arbitrary simulation time can be read from a file divided into a plurality of files from simulation results, and search time can be significantly reduced. Furthermore, since the search time is short at any of the simulation times (5), the time required for logic verification using the simulation results is also short, which contributes to shortening the development period of the logic device.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は1本発明の一実施例におけるシミュレーション
の概要を表わす図、第2図は、シミュレーション結果の
タイムチャート例を示す図、第3図は、本発明によるフ
ァイル分割の方法を示すフローチャートである。 1・・・シミュレーション対象論理回路、2・・入力デ
ータ、    3・・・論理シミュレータ。 4・・・シミュレーション出力結果、 5・・・結果編集部、    6・・・管理情報ファイ
ル、7・・・出力ファイル、   8・・・出力ファイ
ル。 嶌 図
FIG. 1 is a diagram showing an overview of a simulation in an embodiment of the present invention, FIG. 2 is a diagram showing an example of a time chart of simulation results, and FIG. 3 is a flowchart showing a file division method according to the present invention. be. 1... Logic circuit to be simulated, 2... Input data, 3... Logic simulator. 4...Simulation output result, 5...Result editing section, 6...Management information file, 7...Output file, 8...Output file. Shimazu

Claims (1)

【特許請求の範囲】 1、論理回路をシミュレートし、その結果を記憶装置に
出力する論理シミュレーション方法において論理シミュ
レーション結果を記憶装置へ出力する時複数ブロックに
分割し、各分割したブロックの先頭にそのシミュレーシ
ョン時刻における信号値を初期値データとして出力する
ことを特徴とする論理シミュレーション結果出力方法。 2、上記論理シミュレーション結果の分割方法は、シミ
ュレーション実行時刻と信号変化数及び信号値出力を行
う信号線数とから、シミュレーション結果の読込みに最
適な分割を行うことを特徴とする特許請求の範囲第1項
記載の論理シミュレーション結果出力方法。
[Claims] 1. In a logic simulation method that simulates a logic circuit and outputs the result to a storage device, when outputting the logic simulation result to the storage device, the logic simulation result is divided into multiple blocks, and at the beginning of each divided block. A logical simulation result output method characterized by outputting a signal value at the simulation time as initial value data. 2. The above-mentioned method for dividing the logical simulation results is characterized in that the division is performed in an optimal way for reading the simulation results based on the simulation execution time, the number of signal changes, and the number of signal lines for outputting signal values. The method for outputting logical simulation results according to item 1.
JP2045405A 1990-02-28 1990-02-28 Method for outputting result of logic simulation Pending JPH03250260A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2045405A JPH03250260A (en) 1990-02-28 1990-02-28 Method for outputting result of logic simulation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2045405A JPH03250260A (en) 1990-02-28 1990-02-28 Method for outputting result of logic simulation

Publications (1)

Publication Number Publication Date
JPH03250260A true JPH03250260A (en) 1991-11-08

Family

ID=12718345

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2045405A Pending JPH03250260A (en) 1990-02-28 1990-02-28 Method for outputting result of logic simulation

Country Status (1)

Country Link
JP (1) JPH03250260A (en)

Similar Documents

Publication Publication Date Title
JPH0828053B2 (en) Data recording method
JPH02252066A (en) Simulation device
US7899659B2 (en) Recording and displaying logic circuit simulation waveforms
JP3297213B2 (en) Integrated circuit simulator and integrated circuit simulation method
JPH03250260A (en) Method for outputting result of logic simulation
US7197445B1 (en) Atomic transaction processing for logic simulation
JPS6359618A (en) Semiconductor ram control system
JP2001265828A (en) Logic verification system
KR100462989B1 (en) Method of Managing Voice Token in the Voice Prompt Board
JPH07160542A (en) Method for storing, reproducing and displaying picture trace data
JPH03209542A (en) System and device for automatic production of interlocking test data on communication control program
JPH07182215A (en) Data managing device
JPH06243010A (en) Data base
JPH04265994A (en) Time chart compressed display system
JPH06231200A (en) Circuit simulation device
JPH0250771A (en) Multistage counter change point time sequence forming system based upon table input
JPH0290795A (en) Time divisional switch control system
JPH0224714A (en) Data processor
JPH04373039A (en) Volume save control system
JPH06290024A (en) Block unit output processing system
JPH03137869A (en) Magnetic tape data recording system
JPH05314343A (en) Picture changing system
JPS6134172B2 (en)
JPH07121585A (en) Logic circuit simulation device
JPH0223885B2 (en)