JP3057192B2 - Logic simulation support system - Google Patents

Logic simulation support system

Info

Publication number
JP3057192B2
JP3057192B2 JP6089483A JP8948394A JP3057192B2 JP 3057192 B2 JP3057192 B2 JP 3057192B2 JP 6089483 A JP6089483 A JP 6089483A JP 8948394 A JP8948394 A JP 8948394A JP 3057192 B2 JP3057192 B2 JP 3057192B2
Authority
JP
Japan
Prior art keywords
simulation
target circuit
waveform
logic
disk
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.)
Expired - Fee Related
Application number
JP6089483A
Other languages
Japanese (ja)
Other versions
JPH07296020A (en
Inventor
直樹 佐野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP6089483A priority Critical patent/JP3057192B2/en
Priority to TW084103415A priority patent/TW421761B/en
Priority to US08/420,261 priority patent/US5758123A/en
Publication of JPH07296020A publication Critical patent/JPH07296020A/en
Priority to US08/948,992 priority patent/US5991533A/en
Application granted granted Critical
Publication of JP3057192B2 publication Critical patent/JP3057192B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、プリント回路基板また
は特定用途向け集積回路(以下、ASICとする)等の
ハードウェアの検証を汎用のエンジニアリング・ワーク
ステーション(以下、EWSとする)上で実行する論理
シミュレーション支援システムに関するものである。更
に詳しくは、論理シミュレーションの結果得られたデー
タの表示のしかたに工夫を施した論理シミュレーション
支援システムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention executes verification of hardware such as a printed circuit board or an application specific integrated circuit (hereinafter referred to as ASIC) on a general-purpose engineering workstation (hereinafter referred to as EWS). The present invention relates to a logic simulation support system to be executed. More specifically, the present invention relates to a logic simulation support system in which a method of displaying data obtained as a result of a logic simulation is devised.

【0002】[0002]

【従来の技術】近年、汎用EWS及び論理シミュレータ
の低価格化と高速化に伴って、プリント回路基板、AS
IC等(これらを総称して対象回路とする)のハードウ
ェア及びソフトウェアの検証が論理シミュレーションに
よって行われるようになってきている。図7は検証対象
となる対象回路の構成例を示した図である。この対象回
路は、2つの対象回路11及び12からなる。対象回路1
1,12において、21,22は対象回路11,12の核とな
る汎用CPU、31,32はプログラム格納用のROM、
1,42はデータ格納用のRAM、51,52はユーザが
作り込む回路部分となったユーザロジックである。ユー
ザロジック51,52は、例えば、A/D変換器等を含む
信号処理回路であり、汎用CPU21,22からリード・
ライトのアクセスが可能になっている。
2. Description of the Related Art In recent years, with the reduction in cost and speed of general-purpose EWS and logic simulators, printed circuit boards, AS
Verification of hardware and software of ICs and the like (these are collectively referred to as target circuits) is being performed by logic simulation. FIG. 7 is a diagram showing a configuration example of a target circuit to be verified. The target circuit is composed of two target circuit 1 1 and 1 2. Target circuit 1
1, 1 in 2, 2 1, 2 2 target circuit 1 1, 1 2 nuclei become generic CPU, 3 1, 3 2 ROM for storing programs,
4 1, 4 2 RAM, 5 1, 5 2 for storing data is a user logic became circuit portion to fabricate the user. The user logics 5 1 and 5 2 are, for example, signal processing circuits including A / D converters and the like, and read from the general-purpose CPUs 2 1 and 2 2.
Write access is enabled.

【0003】図7に示す対象回路のハードウェア及びソ
フトウェアの検証を論理シミュレーションによって行う
ときは、図8に示すような対象回路の仮想的なモデルを
作る。図8で、111,112は対象回路モデル、1
1,122は汎用CPUモデル、131,132はROM
モデル、141,142はRAMモデル、151,152
ユーザロジックモデルであり、それぞれ対象回路11
2、汎用CPU21,22、ROM31,32、RAM
1,42、ユーザロジック51,52の仮想的なモデルで
ある。これらのモデルはソフトウェアで実現される。図
8に示すような対象回路モデルを使って論理シミュレー
ションを行い、対象回路のハードウェア及びソフトウェ
アの検証を行う。例えばC言語で記述されたソースファ
イルをCコンパイラを用いてコンパイルした結果、生成
される”0”,”1”パターンからなるオブジェクトコ
ードを、論理シミュレーションの開始時にROMモデル
131,132へそれぞれダウンロードする。ダウンロー
ドされたプログラムは汎用CPUモデル121,122
それぞれ実行する。ソースファイルはユーザが作成した
アプリケーションプログラムで、Cコンパイラはユーザ
が提供したものである。
When the hardware and software of the target circuit shown in FIG. 7 are verified by logic simulation, a virtual model of the target circuit as shown in FIG. 8 is created. In FIG. 8, 11 1 and 11 2 are target circuit models, 1
2 1 and 12 2 are general-purpose CPU models, 13 1 and 13 2 are ROM
Model, 14 1, 14 2 RAM model, 15 1, 15 2 is user logic model, each object circuit 1 1,
1 2, general purpose CPU2 1, 2 2, ROM3 1 , 3 2, RAM
4 1, 4 2, which is a virtual model of the user logic 5 1, 5 2. These models are implemented in software. A logic simulation is performed using the target circuit model as shown in FIG. 8, and the hardware and software of the target circuit are verified. For example, as a result of compiling a source file described in the C language using a C compiler, object codes formed of “0” and “1” patterns are respectively stored in ROM models 13 1 and 13 2 at the start of logic simulation. to download. Downloaded program general purpose CPU model 12 1, 12 2 are respectively executed. The source file is an application program created by the user, and the C compiler is provided by the user.

【0004】上述した論理シミュレーションをいかに効
率良く行うことができるかがハードウェアの開発期間を
短縮するための1つの大きな課題になっている。従来、
論理シミュレーションにより信号波形を確認しながらハ
ードウェアの検証を行う際に、対象回路モデル内の検証
に必要な信号データをCRT表示装置の出力波形画面に
表示するときには、同時に表示できる出力波形画面の数
に制限があったり、波形を見やすく表示するために、図
8に示す対象回路モデルの例では、信号データを対象回
路モデル毎に2つのグループに分けて表示する。すなわ
ち、信号データを、対象回路モデル111内の検証に必
要な信号データと、対象回路モデル112内の検証に必
要な信号データとにグループ分けし、各グループのデー
タを図9に示すように、出力波形画面#1と#2にそれ
ぞれ表示する。図9の画面で、CLKは動作タイミング
を与えるクロック、XASは負論理のアドレス・ストロ
ーブ信号、HAはホスト・アドレス、XRWは負論理の
リード/ライト信号である。”16′hffff”は、
ホスト・アドレスHAが定まらないときにデフォルトと
して与えられるデータである。出力波形画面#1,#2
には、例えば”PAUSE”ボタンと”RUN”ボタン
がそれぞれ設けられ、”PAUSE”ボタンを押すこと
によってそれぞれの出力波形画面の波形の更新を一時停
止し、”RUN”ボタンを押すことによってそれぞれの
出力波形画面の波形の更新を再開できるようになってい
る。このように従来の表示画面では、出力波形画面の更
新を画面毎に独立に停止したり再開したりすることがで
きる。
[0004] One of the major issues for shortening the hardware development period is how efficiently the above-described logic simulation can be performed. Conventionally,
When performing hardware verification while checking signal waveforms by logic simulation, when displaying signal data required for verification in the target circuit model on the output waveform screen of the CRT display device, the number of output waveform screens that can be displayed simultaneously In the example of the target circuit model shown in FIG. 8, the signal data is divided into two groups for each target circuit model and displayed in order to display the waveform easily. That is, the signal data, and the signal data necessary for verification of the target circuit model 11 in 1, divided into groups and the signal data necessary for validation of the target circuit model 11 in 2, as shown in FIG. 9 the data for each group And output waveform screens # 1 and # 2, respectively. In the screen of FIG. 9, CLK is a clock for giving operation timing, XAS is a negative logic address strobe signal, HA is a host address, and XRW is a negative logic read / write signal. "16'hffff"
This data is provided as a default when the host address HA is not determined. Output waveform screen # 1, # 2
Are provided with, for example, a “PAUSE” button and a “RUN” button, respectively. By pressing the “PAUSE” button, the updating of the waveform of each output waveform screen is paused, and by pressing the “RUN” button, Updating of the waveform on the output waveform screen can be resumed. As described above, in the conventional display screen, updating of the output waveform screen can be stopped or restarted independently for each screen.

【0005】しかし、従来の表示画面では、2つの出力
波形画面の更新を同時に停止したい場合は、最初に出力
波形画面#1の”PAUSE”ボタンを押し、次に出力
波形画面#2の”PAUSE”ボタンを押す手順をとら
なければならない。このため、停止時の画面は、図10
に示すように、出力波形画面#1と#2の波形のシミュ
レーション時間がずれた画面になってしまう。従って、
2つの画面の時間ずれを考慮に入れて波形を確認しなけ
ればなくなり、波形の確認を効率よく行うことができな
いという問題点があった。図10で”PAUSE”ボタ
ンは押されたことによって”□”から”■”に変わる。
また、2つの出力波形画面の更新を同時に再開したい場
合も、最初に出力波形画面#1の”RUN”ボタンを押
し、次に出力波形画面#2の”RUN”ボタンを押す手
順をとらなければならない。このため、再開時の画面
は、図11に示すように、出力波形画面#1と#2の波
形のシミュレーション時間がずれた画面になってしま
い、停止の場合と同様な問題点があった。シミュレーシ
ョンの停止と再開を行う毎に2つの出力波形画面の時間
ずれは累積されていく。つまり、従来例では波形の確認
を効率よく行うことができず、これによって論理シミュ
レーションの効率が低下するという問題点があった。
However, in the conventional display screen, if it is desired to stop updating the two output waveform screens at the same time, first press the "PAUSE" button of the output waveform screen # 1 and then press the "PAUSE" button of the output waveform screen # 2. You have to take steps to press the "button. For this reason, the screen at the time of stoppage is shown in FIG.
As shown in (1), the output simulation screens # 1 and # 2 have different simulation times for the waveforms. Therefore,
There is a problem that the waveform must be checked in consideration of the time lag between the two screens, and the waveform cannot be checked efficiently. In FIG. 10, the “PAUSE” button changes from “□” to “■” by being pressed.
Also, when it is desired to resume updating of two output waveform screens at the same time, it is necessary to take the procedure of first pressing the "RUN" button of the output waveform screen # 1 and then pressing the "RUN" button of the output waveform screen # 2. No. Therefore, as shown in FIG. 11, the screen at the time of resumption is a screen in which the simulation time of the waveforms of the output waveform screens # 1 and # 2 is shifted, and has the same problem as the case of the stop. Each time the simulation is stopped and restarted, the time lag between the two output waveform screens is accumulated. That is, in the conventional example, the waveform cannot be checked efficiently, which causes a problem that the efficiency of the logic simulation is reduced.

【0006】[0006]

【発明が解決しようとする課題】本発明は上述した問題
点を解決するためになされたものであり、論理シミュレ
ーションによって信号波形を確認しながら複数の対象回
路モデルのハードウェアを検証する場合に、対象回路モ
デル毎に出力波形画面を表示する表示領域を設け、全部
の表示領域に対して一括して波形の更新の停止と再開を
行うことができるようにすることによって、信号波形を
確認しながら対象回路モデルのハードウェアを検証する
論理シミュレーションの効率を向上させた論理シミュレ
ーション支援システムを実現することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and is intended for verifying hardware of a plurality of target circuit models while confirming signal waveforms by logic simulation. A display area for displaying an output waveform screen is provided for each target circuit model, and the update and stop of the waveform can be collectively stopped and restarted for all the display areas, thereby confirming the signal waveform. An object of the present invention is to realize a logic simulation support system in which the efficiency of a logic simulation for verifying hardware of a target circuit model is improved.

【0007】[0007]

【課題を解決するための手段】本発明は、CPUを有す
る処理制御部、この処理制御部に接続するキーボード及
びマウス、表示を行うCRT表示装置、及び、各種のデ
ータとプログラムを格納するディスクより構成され、論
理シミュレーションにより複数の対象回路のハードウェ
アを検証する論理シミュレーション支援システムであっ
て、前記ディスクに格納されるファイルの構成をなし、
前記複数の対象回路の機能をそれぞれ模擬的に実行する
複数の対象回路モデルと、前記ディスクから前記複数の
対象回路モデルを入力ファイルとして取り込み、論理シ
ミュレーションにより複数の対象回路モデルのハードウ
ェアの検証を行う汎用論理シミュレータと、論理シミュ
レーションの結果得られた複数の対象回路モデル内の検
証に必要な信号データとシミュレーション時間データと
を対象回路モデル毎にグループ分けするグループ分け手
段と、このグループ分け手段によってグループ分けされ
た信号データとシミュレーション時間データとを前記デ
ィスクに逐次格納する格納手段と、この格納手段により
ディスクに格納された信号データとシミュレーション時
間データとをグループに分けて読み出す読出手段と、こ
の読出手段によりディスクからグループに分けて読み出
された信号データとシミュレーション時間データとを波
形タイムチャートにして対象回路モデル毎に前記CRT
表示装置の異なる表示領域に表示させ、各表示領域に表
示した波形タイムチャートは論理シミュレーションの進
行に伴って更新していく表示手段と、この表示手段を制
御することにより、表示領域毎に独立に波形タイムチャ
ートの更新の停止と再開を行う個別停止再開手段と、前
記表示手段を制御することにより、全表示領域に表示さ
れた波形タイムチャートの更新の停止と再開を一括して
行う一括停止再開手段と、を具備したことを特徴とする
論理シミュレーション支援システムである。
According to the present invention, there is provided a processing control unit having a CPU, a keyboard and a mouse connected to the processing control unit, a CRT display device for displaying, and a disk storing various data and programs. A logic simulation support system configured to verify hardware of a plurality of target circuits by a logic simulation, wherein a file stored on the disk is configured,
A plurality of target circuit models that respectively simulate the functions of the plurality of target circuits, and the plurality of target circuit models are taken from the disk as input files, and hardware verification of the plurality of target circuit models is performed by logic simulation. A general-purpose logic simulator to be performed, grouping means for grouping signal data and simulation time data necessary for verification in a plurality of target circuit models obtained as a result of the logic simulation for each target circuit model, and the grouping means. Storage means for sequentially storing the grouped signal data and simulation time data on the disk; read means for reading the signal data and simulation time data stored on the disk by the storage means in groups; By means The CRT for each target circuit model by the signal data and the simulation time data read in groups to the waveform timing chart from disk
The display is displayed in different display areas of the display device, and the waveform time chart displayed in each display area is updated as the logic simulation progresses. By controlling the display means, the display time is independently controlled for each display area. Individual stop / restart means for stopping and restarting the updating of the waveform time chart, and batch stop / restart for controlling the display means to collectively stop and restart the updating of the waveform time chart displayed in the entire display area. And a logic simulation support system.

【0008】[0008]

【作用】このような本発明では、汎用論理シミュレータ
は、論理シミュレーションにより複数の対象回路モデル
のハードウェアの検証を行う。論理シミュレーションの
結果得られた複数の対象回路モデル内の検証に必要な信
号データとシミュレーション時間データは、グループ分
け手段により対象回路モデル毎にグループ分けされる。
グループ分けされたデータはディスクに逐次格納され
る。ディスクに格納されたデータは、グループに分けて
読み出される。表示手段は、読み出されたデータを波形
タイムチャートにして対象回路モデル毎にCRT表示装
置の異なる表示領域に表示させる。各表示領域に表示し
た波形タイムチャートは論理シミュレーションの進行に
伴って更新していく。個別停止再開手段は、表示手段を
制御することにより、表示領域毎に独立に波形タイムチ
ャートの更新の停止と再開を行う。一括停止再開手段
は、表示手段を制御することにより、全表示領域に表示
された波形タイムチャートの更新の停止と再開を一括し
て行う。
According to the present invention, the general-purpose logic simulator verifies the hardware of a plurality of target circuit models by logic simulation. Signal data and simulation time data required for verification in a plurality of target circuit models obtained as a result of the logic simulation are grouped by the target circuit model by the grouping means.
The grouped data is sequentially stored on the disk. The data stored on the disk is read out in groups. The display means displays the read data as a waveform time chart in a different display area of the CRT display device for each target circuit model. The waveform time chart displayed in each display area is updated as the logic simulation progresses. The individual stop / resume means independently stops and restarts updating of the waveform time chart for each display area by controlling the display means. The batch stop / resume unit controls the display unit to stop and restart the update of the waveform time chart displayed in the entire display area in a batch.

【0009】[0009]

【実施例】以下、図面を用いて本発明を説明する。図1
は本発明にかかる論理シミュレーション支援システムを
実現するためのハードウェアの構成例を示した図であ
る。このハードウェアの構成例はコンピュータシステム
に設置されるEWSに相当し、CRT表示装置20、キ
ーボード30、マウス40、ディスク50及び処理制御
部60から構成される。CRT表示装置20は、図形、
波形、文字等を画面上の表示領域に表示し、キーボード
30は文字、記号等を入力するためのものである。マウ
ス40はメニュー、エリア等を指定するためのものであ
る。ディスク50には、以下に示す情報等が格納され
る。 論理シミュレーションのための回路情報 回路を動作させるためのプログラム情報 回路情報で使用される各エレメントの論理機能 電気的仕様を含んだライブラリ等 汎用論理シミュレータ用のソフトウェア 後述する汎用CPUモデル、ROMモデル、RAMモ
デル及びユーザロジックモデル 処理制御部60は、CPU61を有し、論理シミュレー
ションを主として実行し、シミュレーションの結果をデ
ィスク50に格納またはCRT表示装置20に表示す
る。また、処理制御部60には、開始手段62、停止手
段63、再開手段64、グループ分け手段65、格納手
段66、読出手段67、表示手段68、個別停止再開手
段69及び一括停止再開手段70が設けられている。こ
れらの手段の詳細な動作については、後述する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. FIG.
FIG. 1 is a diagram showing a configuration example of hardware for realizing a logic simulation support system according to the present invention. This hardware configuration example corresponds to an EWS installed in a computer system, and includes a CRT display device 20, a keyboard 30, a mouse 40, a disk 50, and a processing control unit 60. The CRT display device 20 includes a graphic,
Waveforms, characters, and the like are displayed in a display area on the screen, and the keyboard 30 is for inputting characters, symbols, and the like. The mouse 40 is used to specify a menu, an area, and the like. The disk 50 stores the following information and the like. Circuit information for logic simulation Program information for operating the circuit Logical function of each element used in circuit information Library etc. including electrical specifications Software for general-purpose logic simulator General-purpose CPU model, ROM model, RAM described later Model and User Logic Model The processing control unit 60 has a CPU 61, mainly executes a logic simulation, and stores the result of the simulation on the disk 50 or displays the result on the CRT display device 20. The processing control unit 60 includes a start unit 62, a stop unit 63, a restart unit 64, a grouping unit 65, a storage unit 66, a read unit 67, a display unit 68, an individual stop / restart unit 69, and a collective stop / restart unit 70. Is provided. Detailed operations of these means will be described later.

【0010】本発明のシステムは、図7に示すような対
象回路のハードウェアの検証を行うためのシステムで、
図8に示す対象回路の仮想的なモデルを用意し、このモ
デルを用いて論理シミュレーションにより対象回路のハ
ードウェアの検証を行う。
The system of the present invention is a system for verifying hardware of a target circuit as shown in FIG.
A virtual model of the target circuit shown in FIG. 8 is prepared, and the hardware of the target circuit is verified by logic simulation using the model.

【0011】図2は図1のシステムの機能ブロック図で
ある。図2で前出した図と同一のものは同一符号を付け
る。図2で、汎用CPUモデル121,122、ROMモ
デル131,132、RAMモデル141,142及びユー
ザロジックモデル151,152は、ファイルの構成をな
していて、ディスク50に格納されている。16は汎用
論理シミュレータであり、論理シミュレーションの実行
時に、汎用CPUモデル121,122、ROMモデル1
1,132、RAMモデル141,142及びユーザロジ
ックモデル151,152を入力ファイルとして取り込
み、これらのモデルによって構成された対象回路モデル
のハードウェアを検証する論理シミュレーションを実行
する。汎用論理シミュレータ16は、ディスク50に格
納された汎用論理シミュレータ用のソフトウェアに相当
する。開始手段62、停止手段63、再開手段64は、
それぞれ論理シミュレーションの開始、停止、再開の指
示を行う。グループ分け手段65は、論理シミュレーシ
ョンの結果得られた2つの対象回路モデル111,112
内の検証に必要な信号データとシミュレーション時間デ
ータとを対象回路モデル毎にグループ分けする。格納手
段66は、グループ分け手段65によってグループ分け
された信号データとシミュレーション時間データとをデ
ィスク50に逐次格納する。読出手段67は、格納手段
66によりディスク50に格納された信号データとシミ
ュレーション時間データとをグループに分けて読み出
す。表示手段68は、読出手段67によりディスク50
からグループに分けて読み出された信号データとシミュ
レーション時間データとを波形タイムチャートにして対
象回路モデル毎にCRT表示装置20の異なる表示領域
に表示させる。各表示領域に表示した波形タイムチャー
トは論理シミュレーションの進行に伴って更新してい
く。個別停止再開手段69は、表示手段68を制御する
ことにより、表示領域毎に独立に波形タイムチャートの
更新の停止と再開を行う。一括停止再開手段70は、表
示手段68を制御することにより、全表示領域に表示さ
れた波形タイムチャートの更新の停止と再開を一括して
行う。
FIG. 2 is a functional block diagram of the system of FIG. The same components as those shown in FIG. 2 are denoted by the same reference numerals. In FIG. 2, the general-purpose CPU models 12 1 and 12 2 , the ROM models 13 1 and 13 2 , the RAM models 14 1 and 14 2, and the user logic models 15 1 and 15 2 form a file. Is stored. 16 is a general-purpose logic simulator, during execution of the logic simulation, a general purpose CPU model 12 1, 12 2, ROM Model 1
3 1, 13 2, RAM model 14 1, 14 2 and takes in the user logic model 15 1, 15 2 as the input file, performs logical simulation to verify the hardware of the target circuit model configured by these models. The general-purpose logic simulator 16 corresponds to software for a general-purpose logic simulator stored in the disk 50. The starting means 62, the stopping means 63, and the resuming means 64
Instructions for starting, stopping, and restarting the logic simulation are given. The grouping means 65 includes two target circuit models 11 1 and 11 2 obtained as a result of the logic simulation.
The signal data and the simulation time data required for the verification are divided into groups for each target circuit model. The storage unit 66 sequentially stores the signal data and the simulation time data grouped by the grouping unit 65 in the disk 50. The reading means 67 reads the signal data and the simulation time data stored in the disk 50 by the storage means 66 in groups. The display means 68 displays the disk 50 by the reading means 67.
, The signal data and the simulation time data read in groups are displayed as waveform time charts in different display areas of the CRT display device 20 for each target circuit model. The waveform time chart displayed in each display area is updated as the logic simulation progresses. The individual stop / resume unit 69 controls the display unit 68 to stop and restart the update of the waveform time chart independently for each display area. The batch stop / resume unit 70 controls the display unit 68 to stop and restart the update of the waveform time chart displayed in the entire display area in a batch.

【0012】ここで、本発明にかかるシステムの動作を
説明する。図3は、本発明にかかるシステムを使って論
理シミュレーションにより対象回路モデルのハードウェ
アを検証するときの処理手順を示したフローチャートで
ある。以下、処理手順を説明する。処理手順の説明にお
ける(A1)〜(A10)は図3のフローチャートにお
ける処理A1〜A10にそれぞれ対応する。 (A1)汎用論理シミュレータ16を起動する。この起
動は開始手段62により行われる。汎用論理シミュレー
タ16が起動されると、まず処理制御部60は、対象回
路モデル111,112、回路情報のためのライブラリ、
事前に登録された検証に必要な対象回路モデル内の複数
の信号名が書かれた信号ファイル等をディスク50から
読み出し、汎用論理シミュレータ16に入力し、論理シ
ミュレーションを開始する。 (A2)論理シミュレーションが開始されると、汎用論
理シミュレータ16は、シミュレーションの実行結果と
して信号ファイルの内容に従い、検証に必要な信号デー
タをシミュレーション時間データとともに格納手段66
によってディスク50に格納する。格納する信号データ
とシミュレーション時間データは、グループ分け手段6
5によって2つのグループにグループ分けされていて、
格納手段66はグループ分けされた信号データとシミュ
レーション時間データを格納する。 (A3)これと同時に、読出手段67は、グループ分け
された信号データとシミュレーション時間データをディ
スク50から読み出す。 (A4)読み出された信号データとシミュレーション時
間データは、表示手段68により、波形タイムチャート
の形にしてCRT表示装置20の表示領域に、出力表示
画面#1,#2として表示される。この場合、2つのグ
ループにグループ分けされた信号データとシミュレーシ
ョン時間データは、それぞれ出力表示画面#1と#2の
表示データとなる。図4はこのときのCRT表示装置2
0の画面の一例を示した図である。図4の画面で、CL
K1,CLK2はそれぞれ対象回路モデル111,112
の動作タイミングを与えるクロック、XAS1,XAS
2はそれぞれ対象回路モデル111,112の負論理のア
ドレス・ストローブ信号、HA1,HA2はそれぞれ対
象回路モデル111,112のホスト・アドレス、XRW
1,XRW2はそれぞれ対象回路モデル111,112
負論理のリード/ライト信号である。図4の出力表示画
面#1は、シミュレーション時間0からT10までの対
象回路モデル111のシミュレーション結果を表示して
いる。シミュレーション結果は波形タイムチャートの形
で表示されている。図4の出力表示画面#2は同様に、
シミュレーション時間0からT10までの対象回路モデ
ル112のシミュレーション結果を表示している。シミ
ュレーションが進行するに従って出力表示画面#1及び
#2の波形タイムチャートは、それぞれ時々刻々に更新
される。 (A5)出力表示画面が最初の検証箇所に到達したかど
うかをチェックする。 (A6)出力表示画面が最初の検証箇所に到達した時点
で、CRT表示装置20の画面内にあるコマンド操作画
面中の”PAUSE”ボタンをマウス40でクリックす
る。これを受けて一括停止再開手段70は、出力表示画
面#1と#2の波形の更新を一括して停止する。この
間、シミュレーション自体は停止せずに実行されてい
る。この処理は一括停止再開手段70が行う。図5はこ
のときのCRT表示装置20の画面の一例を示した図で
ある。図5で、クリックされた”PAUSE”ボタンB
1は”□”から”■”に変わっている。図5の出力表示
画面#1は、シミュレーション時間T11からT20ま
での区間の対象回路モデル111のシミュレーション結
果を表示している。図5の出力表示画面#2は同様に、
シミュレーション時間T11からT20までの区間の対
象回路モデル112のシミュレーション結果を表示して
いる。 (A7)次に、図5の出力表示画面#1及び#2を用い
て最初の波形確認による検証を行う。図5の画面例で
は、出力表示画面#1及び#2中のアドレス・ストロー
ブ信号XAS1及びXAS2が”1”から”0”になっ
た際のホスト・アドレスHA1及びHA2のセットアッ
プ時間ts1及びts2が規定時間に合致しているかを検証
する。 (A8)最初の検証が終了すると、CRT表示装置20
の画面内にあるコマンド操作画面中の”RUN”ボタン
をマウス40でクリックする。これを受けて一括停止再
開手段70は、それまでに行っていた更新の一括停止を
解除し、出力表示画面#1と#2の波形の更新を一括し
て再開する。図6はこのときのCRT表示装置20の画
面の一例を示した図である。図6で、クリックされた”
RUN”ボタンB2は”■”になっている。 (A9)以下、同様な手順を繰り返すことにより全ての
検証箇所の確認を行う。 (A10)論理シミュレーションを終了する。
Here, the operation of the system according to the present invention will be described. FIG. 3 is a flowchart showing a processing procedure when verifying hardware of a target circuit model by logic simulation using the system according to the present invention. Hereinafter, the processing procedure will be described. (A1) to (A10) in the description of the processing procedure correspond to the processing A1 to A10 in the flowchart of FIG. 3, respectively. (A1) The general-purpose logic simulator 16 is started. This activation is performed by the start means 62. When the general-purpose logic simulator 16 is started, first, the processing control unit 60 first executes the target circuit models 11 1 and 11 2 , a library for circuit information,
A signal file or the like in which a plurality of signal names in the target circuit model required for verification registered in advance are written from the disk 50 and input to the general-purpose logic simulator 16 to start logic simulation. (A2) When the logic simulation is started, the general-purpose logic simulator 16 stores the signal data necessary for the verification together with the simulation time data in accordance with the contents of the signal file as the simulation execution result.
In the disk 50. The stored signal data and simulation time data are stored in a grouping unit 6.
Grouped by 5 into two groups,
The storage means 66 stores the grouped signal data and simulation time data. (A3) At the same time, the reading means 67 reads the grouped signal data and simulation time data from the disk 50. (A4) The read signal data and simulation time data are displayed by the display means 68 in the form of a waveform time chart on the display area of the CRT display device 20 as output display screens # 1 and # 2. In this case, the signal data and the simulation time data grouped into two groups become display data of output display screens # 1 and # 2, respectively. FIG. 4 shows the CRT display device 2 at this time.
It is a figure showing an example of a screen of 0. In the screen of FIG.
K1 and CLK2 are the target circuit models 11 1 and 11 2 , respectively.
, XAS1 and XAS for giving the operation timing of
2 each target circuit model 11 1, 11 2 of the negative logic of the address strobe signal, HA1, HA2, respectively target circuit model 11 1, 11 2 of the host address, XRW
Reference numerals 1 and XRW2 denote negative logic read / write signals of the target circuit models 11 1 and 11 2 , respectively. Output display screen # 1 of FIG. 4 displays the simulation result of the target circuit model 11 1 from the simulation time 0 to T10. The simulation result is displayed in the form of a waveform time chart. Similarly, the output display screen # 2 of FIG.
From simulation time 0 displaying a simulation result of the target circuit model 11 2 to T10. As the simulation progresses, the waveform time charts of the output display screens # 1 and # 2 are updated every moment. (A5) Check whether the output display screen has reached the first verification location. (A6) When the output display screen reaches the first verification point, the “PAUSE” button in the command operation screen in the screen of the CRT display device 20 is clicked with the mouse 40. In response to this, the collective stop / restart means 70 collectively stops updating the waveforms of the output display screens # 1 and # 2. During this time, the simulation itself is being executed without stopping. This processing is performed by the batch stop / resume means 70. FIG. 5 is a diagram showing an example of the screen of the CRT display device 20 at this time. "PAUSE" button B clicked in FIG.
1 changes from “□” to “■”. FIG output display screen # 1 of 5 is displaying a simulation result of the target circuit model 11 1 in a section from the simulation time T11 to T20. Similarly, the output display screen # 2 in FIG.
Simulation and displays the simulation result of the target circuit model 11 second interval from time T11 to T20. (A7) Next, verification by first confirming the waveform is performed using the output display screens # 1 and # 2 in FIG. In the screen example of FIG. 5, the setup times t s1 and t of the host addresses HA1 and HA2 when the address strobe signals XAS1 and XAS2 in the output display screens # 1 and # 2 change from “1” to “0”. Verify that s2 matches the specified time. (A8) When the first verification is completed, the CRT display device 20
Is clicked with the mouse 40 on the "RUN" button in the command operation screen in the screen of FIG. In response to this, the batch stop / resume means 70 releases the batch stop of the update performed so far, and restarts the update of the waveforms of the output display screens # 1 and # 2 collectively. FIG. 6 is a diagram showing an example of the screen of the CRT display device 20 at this time. In FIG. 6, "clicked"
The “RUN” button B2 is “■.” (A9) After that, all the verification points are confirmed by repeating the same procedure (A10) The logic simulation ends.

【0013】なお、実施例においても従来例と同様に、
出力表示画面#1,#2毎に”PAUSE”ボタンと”
RUN”ボタンがそれぞれ設けられていて、これらの”
PAUSE”ボタンと”RUN”ボタンを押すことによ
り出力表示画面毎に独立に波形の更新の停止と再開を行
ってもよい。このような処理は個別停止再開手段69が
行う。”PAUSE”ボタンB1と”RUN”ボタンB
2、及び、出力表示画面#1,#2毎に設けられた”P
AUSE”ボタンと”RUN”ボタンはそれぞれ属性を
持っていて、押されたボタンの属性をもとに、全出力表
示画面を一括して表示波形の更新の停止と再開を行った
り、出力表示画面毎に独立に波形の更新の停止と再開を
行ったりする。また、実施例では”PAUSE”ボタン
を押すタイミングが遅れて更新を停止したときの表示波
形が所望の検証箇所からずれた場合は、コマンド操作画
面中の他のコマンド(図示せず)をクリックすることに
より、出力表示画面#1及び#2の波形を時間軸に対し
て前後にずらして表示することができる。前後の波形の
データはディスクに格納しておいたデータから得られ
る。また、実施例では2個の出力波形画面#1と#2を
表示する場合について説明したが、これに限らず3個以
上の出力波形画面を表示してもよい。この場合、対象回
路モデルの数も3個以上になる。また、実施例では表示
する信号波形がディジタル波形のみである場合について
説明したが、これに限らず表示する信号波形はアナログ
波形のみ、または、ディジタル波形とアナログ波形の両
方であってもよい。
In the embodiment, similarly to the conventional example,
"PAUSE" button and "" for each output display screen # 1, # 2
RUN "buttons are provided for each of these" RUN "buttons.
The update and stop of the waveform may be independently stopped and restarted for each output display screen by pressing the “PAUSE” button and the “RUN” button, and such processing is performed by the individual stop / resume means 69. The “PAUSE” button B1 And "RUN" button B
2, and "P" provided for each of the output display screens # 1 and # 2.
The "AUSE" button and the "RUN" button each have an attribute. Based on the attribute of the pressed button, all output display screens are collectively stopped and restarted of display waveform update, and the output display screen is displayed. In this embodiment, when the update of the waveform is stopped and restarted independently, the timing at which the "PAUSE" button is pressed is delayed and the displayed waveform when the update is stopped deviates from the desired verification position. By clicking another command (not shown) in the command operation screen, the waveforms of the output display screens # 1 and # 2 can be displayed shifted to the front and back with respect to the time axis. Is obtained from the data stored in the disk.Although the embodiment has described the case where two output waveform screens # 1 and # 2 are displayed, the present invention is not limited to this. In this case, the number of target circuit models is also 3. In the embodiment, the case where the signal waveform to be displayed is only the digital waveform has been described, but the present invention is not limited to this, and the signal waveform to be displayed is not limited to this. It may be an analog waveform only or both a digital waveform and an analog waveform.

【0014】[0014]

【発明の効果】本発明によれば、論理シミュレーション
によって信号波形を確認しながら対象回路モデルのハー
ドウェアを検証する場合に、論理シミュレーションの結
果得られたデータを対象回路モデル毎にグループ分けし
てディスクへ格納した後に、読み出して表示を行ってい
る。従って、出力波形画面を表示するために対象回路モ
デル毎に設けた表示領域に対して、表示領域毎に独立し
て表示波形の更新の停止と再開を行うことができるだけ
でなく、全表示領域を一括して表示波形の更新の停止と
再開を行うことができる。これによって、全表示領域に
ついて波形の更新の停止と再開を行っても表示領域間で
シミュレーション時間がずれることはない。このことか
ら、表示領域間におけるシミュレーション時間のずれを
考慮することなく容易に信号波形を確認することができ
る。以上のことから、信号波形を確認しながら対象回路
モデルのハードウェアを検証する論理シミュレーション
の効率を向上させることができる。
According to the present invention, when verifying the hardware of a target circuit model while confirming a signal waveform by a logical simulation, data obtained as a result of the logical simulation is grouped for each target circuit model. After storing it on the disk, it is read out and displayed. Therefore, for the display area provided for each target circuit model for displaying the output waveform screen, not only can the display waveform updating be stopped and restarted independently for each display area, but also the entire display area can be displayed. The updating and updating of the display waveform can be stopped and restarted collectively. As a result, the simulation time does not deviate between the display areas even if the update of the waveform is stopped and restarted for all the display areas. From this, it is possible to easily confirm the signal waveform without considering a shift in the simulation time between the display regions. From the above, it is possible to improve the efficiency of the logic simulation for verifying the hardware of the target circuit model while checking the signal waveform.

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

【図1】本発明にかかる論理シミュレーション支援シス
テムを実現するためのハードウェアの構成例を示した図
である。
FIG. 1 is a diagram showing a configuration example of hardware for realizing a logic simulation support system according to the present invention.

【図2】図1のシステムの機能ブロック図である。FIG. 2 is a functional block diagram of the system of FIG. 1;

【図3】本発明にかかるシステムの動作説明用のフロー
チャートである。
FIG. 3 is a flowchart for explaining the operation of the system according to the present invention.

【図4】本発明にかかるシステムにおいて表示される画
面例を示した図である。
FIG. 4 is a diagram showing an example of a screen displayed in the system according to the present invention.

【図5】本発明にかかるシステムにおいて表示される画
面例を示した図である。
FIG. 5 is a diagram showing an example of a screen displayed in the system according to the present invention.

【図6】本発明にかかるシステムにおいて表示される画
面例を示した図である。
FIG. 6 is a diagram showing an example of a screen displayed in the system according to the present invention.

【図7】対象回路の構成例を示した図である。FIG. 7 is a diagram illustrating a configuration example of a target circuit.

【図8】図7の対象回路の仮想的なモデルを示した図で
ある。
FIG. 8 is a diagram showing a virtual model of the target circuit of FIG. 7;

【図9】従来のシステムにおいて表示される画面例を示
した図である。
FIG. 9 is a diagram showing an example of a screen displayed in a conventional system.

【図10】従来のシステムにおいて表示される画面例を
示した図である。
FIG. 10 is a diagram showing an example of a screen displayed in a conventional system.

【図11】従来のシステムにおいて表示される画面例を
示した図である。
FIG. 11 is a diagram showing an example of a screen displayed in a conventional system.

【符号の説明】[Explanation of symbols]

111,112 対象回路モデル 121,122 汎用CPUモデル 131,132 ROMモデル 141,142 RAMモデル 151,152 ユーザロジックモデル 16 汎用論理シミュレータ 20 CRT表示装置 30 キーボード 40 マウス 50 ディスク 60 処理制御部 61 CPU 62 開始手段 63 停止手段 64 再開手段 65 グループ分け手段 66 格納手段 67 読出手段 68 表示手段 69 個別停止再開手段 70 一括停止再開手段11 1 , 11 2 Target circuit model 12 1 , 12 2 General-purpose CPU model 13 1 , 13 2 ROM model 14 1 , 14 2 RAM model 15 1 , 15 2 User logic model 16 General-purpose logic simulator 20 CRT display device 30 Keyboard 40 Mouse 50 disk 60 processing control unit 61 CPU 62 starting means 63 stopping means 64 resuming means 65 grouping means 66 storing means 67 reading means 68 displaying means 69 individual stopping / resuming means 70 collective stopping / resuming means

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 17/50 G01R 13/20 G01R 13/28 JICSTファイル(JOIS)────────────────────────────────────────────────── ─── Continued on the front page (58) Fields surveyed (Int. Cl. 7 , DB name) G06F 17/50 G01R 13/20 G01R 13/28 JICST file (JOIS)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 CPUを有する処理制御部、この処理制
御部に接続するキーボード及びマウス、表示を行うCR
T表示装置、及び、各種のデータとプログラムを格納す
るディスクより構成され、論理シミュレーションにより
複数の対象回路のハードウェアを検証する論理シミュレ
ーション支援システムであって、 前記ディスクに格納されるファイルの構成をなし、前記
複数の対象回路の機能をそれぞれ模擬的に実行する複数
の対象回路モデルと、 前記ディスクから前記複数の対象回路モデルを入力ファ
イルとして取り込み、論理シミュレーションにより複数
の対象回路モデルのハードウェアの検証を行う汎用論理
シミュレータと、 論理シミュレーションの結果得られた複数の対象回路モ
デル内の検証に必要な信号データとシミュレーション時
間データとを対象回路モデル毎にグループ分けするグル
ープ分け手段と、 このグループ分け手段によってグループ分けされた信号
データとシミュレーション時間データとを前記ディスク
に逐次格納する格納手段と、 この格納手段によりディスクに格納された信号データと
シミュレーション時間データとをグループに分けて読み
出す読出手段と、 この読出手段によりディスクからグループに分けて読み
出された信号データとシミュレーション時間データとを
波形タイムチャートにして対象回路モデル毎に前記CR
T表示装置の異なる表示領域に表示させ、各表示領域に
表示した波形タイムチャートは論理シミュレーションの
進行に伴って更新していく表示手段と、 この表示手段を制御することにより、表示領域毎に独立
に波形タイムチャートの更新の停止と再開を行う個別停
止再開手段と、 前記表示手段を制御することにより、全表示領域に表示
された波形タイムチャートの更新の停止と再開を一括し
て行う一括停止再開手段と、を具備したことを特徴とす
る論理シミュレーション支援システム。
1. A processing control unit having a CPU, a keyboard and a mouse connected to the processing control unit, and a CR for displaying.
A logic simulation support system comprising a T display device and a disk storing various data and programs, and verifying hardware of a plurality of target circuits by a logic simulation. None, a plurality of target circuit models that respectively simulate the functions of the plurality of target circuits, and the plurality of target circuit models taken from the disk as input files, and a hardware simulation of the plurality of target circuit models is performed by logic simulation. A general-purpose logic simulator for performing verification; grouping means for grouping signal data and simulation time data necessary for verification in a plurality of target circuit models obtained as a result of the logic simulation for each target circuit model; Guru by means Storage means for sequentially storing the divided signal data and simulation time data on the disk; read means for reading out the signal data and simulation time data stored on the disk by the storage means in groups; The signal data and the simulation time data read from the disk in groups by the reading means are converted into a waveform time chart to form the CR for each target circuit model.
A display means for displaying in a different display area of the T display device and updating the waveform time chart displayed in each display area with the progress of the logic simulation; Individual stop / restart means for stopping and restarting the update of the waveform time chart; and collectively stopping the stop and restart of the update of the waveform time chart displayed in the entire display area by controlling the display means. A logic simulation support system comprising: a restart unit.
JP6089483A 1994-04-12 1994-04-27 Logic simulation support system Expired - Fee Related JP3057192B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP6089483A JP3057192B2 (en) 1994-04-27 1994-04-27 Logic simulation support system
TW084103415A TW421761B (en) 1994-04-12 1995-04-10 Verification support system
US08/420,261 US5758123A (en) 1994-04-12 1995-04-11 Verification support system
US08/948,992 US5991533A (en) 1994-04-12 1997-10-10 Verification support system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6089483A JP3057192B2 (en) 1994-04-27 1994-04-27 Logic simulation support system

Publications (2)

Publication Number Publication Date
JPH07296020A JPH07296020A (en) 1995-11-10
JP3057192B2 true JP3057192B2 (en) 2000-06-26

Family

ID=13971993

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6089483A Expired - Fee Related JP3057192B2 (en) 1994-04-12 1994-04-27 Logic simulation support system

Country Status (1)

Country Link
JP (1) JP3057192B2 (en)

Also Published As

Publication number Publication date
JPH07296020A (en) 1995-11-10

Similar Documents

Publication Publication Date Title
JP2003173270A (en) Software debugging device
JP3057192B2 (en) Logic simulation support system
JPWO2020017264A1 (en) Simulation device, its method, and ECU device
RU2729210C1 (en) Electronic devices software testing system
JP3057191B2 (en) Logic simulation support system
JP2924080B2 (en) Logic simulation support system
JP3697274B2 (en) Software development support device
JP2828590B2 (en) Microprogram verification method
JPH07287721A (en) System for supporting logic simulation
JP2803090B2 (en) MPU simulation method and MPU simulator
JP2990155B1 (en) Verification test pattern design apparatus and verification test pattern design method
JP3186535B2 (en) Simulation equipment
JPH11282693A (en) Mcu simulation device, its simulation method and computer redable recording medium recording simulation program
JP3376950B2 (en) Screen generator
JPH04333171A (en) Device for simulation
JP3099810B2 (en) Logic simulation apparatus, logic verification speedup method used therefor, and recording medium storing control program for the method
JPH10326188A (en) Resource competition check device, assemble device, link device, instruction pipeline simulation device, resource competition check method, and medium recording resource competition check program
JPH11149489A (en) Simulation system
JPH05233748A (en) Simulation method
JPH0540661A (en) Simulator
JPH05282396A (en) Logical simulation-system
JPH07282103A (en) Logical simulation supporting system
JPH09190458A (en) Cad system
JPH09231255A (en) Hardware and software cooperation verification system
JPH09297695A (en) Symbolic cross debugger and preparation system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees