JP2957025B2 - Functional level simulation device - Google Patents

Functional level simulation device

Info

Publication number
JP2957025B2
JP2957025B2 JP3168552A JP16855291A JP2957025B2 JP 2957025 B2 JP2957025 B2 JP 2957025B2 JP 3168552 A JP3168552 A JP 3168552A JP 16855291 A JP16855291 A JP 16855291A JP 2957025 B2 JP2957025 B2 JP 2957025B2
Authority
JP
Japan
Prior art keywords
simulation
language
variable
information
analysis
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
JP3168552A
Other languages
Japanese (ja)
Other versions
JPH0520380A (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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP3168552A priority Critical patent/JP2957025B2/en
Publication of JPH0520380A publication Critical patent/JPH0520380A/en
Application granted granted Critical
Publication of JP2957025B2 publication Critical patent/JP2957025B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、論理回路の設計時に、
論理回路の動作を機能記述言語で記述し、この機能記述
言語を用いてシミュレーションをすることにより設計検
証を行う際に使用される機能レベルシミュレーション装
置に関するものである。
BACKGROUND OF THE INVENTION The present invention relates to a method for designing a logic circuit.
The present invention relates to a function level simulation apparatus used for describing the operation of a logic circuit in a function description language and performing design verification by performing a simulation using the function description language.

【0002】[0002]

【従来の技術】機能レベルシミュレーションについて
は、たとえば、岩波講座マイクロエレクトロニクスVo
l.4「VLSIの設計II」などに書かれている。近
年、LSIの大規模化にともない、設計の初期段階で十
分な設計検証を行うことの重要性が言われるようにな
り、検証手段として機能レベルシミュレーションを行う
ことも多くなってきた。
2. Description of the Related Art A functional level simulation is described in, for example, Iwanami Koza Microelectronics Vo.
l. 4 "VLSI Design II". In recent years, with the increase in the scale of LSIs, it has been said that it is important to perform sufficient design verification at an early stage of design, and functional level simulation is often performed as verification means.

【0003】図6は従来例の機能レベルシミュレーショ
ン装置のブロック図である。図6において、31は言語解
析手段であり、機能記述言語を読み込んでその内容を解
析する。言語解析手段31は、機能記述言語に文法エラー
がある場合にはそのエラーの種類をユーザーに報告し、
機能記述言語にエラーがない場合には解析結果を出力す
る。通常この解析結果は、構文木と呼ばれる、記述内容
をそのまま残したようなデータ構造をしている。32はシ
ミュレーション情報生成手段であり、言語解析手段31の
解析結果を受取り、シミュレーションに必要な情報を抽
出する。具体的には、記述言語中で使用されている変数
に対応して記憶領域を確保したり、あるいは記述文の動
作を模擬する実行関数の呼び出しをしたりするようなプ
ログラムを出力する。33はシミュレーション実行手段で
あり、シミュレーション情報生成手段32から受け取った
シミュレーション情報をもとに、実際に機能レベルシミ
ュレーションを実行する。
FIG. 6 is a block diagram of a conventional function level simulation apparatus. In FIG. 6, reference numeral 31 denotes a language analysis unit which reads a function description language and analyzes its contents. If there is a grammatical error in the function description language, the language analyzing unit 31 reports the type of the error to the user,
If there is no error in the function description language, the analysis result is output. Normally, this analysis result has a data structure called a syntax tree, which is the same as the description contents. Numeral 32 is a simulation information generating means which receives the analysis result of the language analyzing means 31 and extracts information necessary for the simulation. Specifically, it outputs a program that secures a storage area corresponding to the variables used in the description language or calls an execution function that simulates the operation of the description sentence. Numeral 33 denotes a simulation executing means, which actually executes a function level simulation based on the simulation information received from the simulation information generating means 32.

【0004】機能レベルシミュレーションが実行され、
ユーザーがその結果を見る場合、機能記述で使われてい
る変数の値を見ることになる。もし同時に複数の記述文
が動作して、同じ変数に対して違う値が代入されたとす
ると、そこで衝突が起こる。多くの機能レベルシミュレ
ーション装置では、このような場合には変数の値を「不
定値」とする。変数の値が「不定値」になったのを見
て、ユーザーは衝突が起こったことを知る。
[0004] A functional level simulation is performed,
When the user looks at the results, he sees the values of the variables used in the functional description. If two or more descriptive statements are executed at the same time and different values are assigned to the same variable, a collision occurs there. In such a function level simulation apparatus, in such a case, the value of the variable is set to “undefined value”. When the value of the variable becomes "indeterminate", the user knows that a collision has occurred.

【0005】複数の記述文が同時に動いて衝突が起こる
のは、機能記述言語特有の現象である。これは、機能記
述言語がハードウェアのもつ並列動作を表現する能力を
もつために生じるものであり、本質的に避けられないも
のである。また、本来機能レベルシミュレーションをす
る目的は、ユーザーが書いた機能記述が本当にユーザー
が意図した動作を表現しているかどうかを調べることで
ある。先に説明したように衝突が起こるのは、ユーザー
の意図どおりになっていない場合がほとんどであり、衝
突が起こった場合には、ユーザーは衝突の原因を捜し出
して、衝突が起こらないように記述を修正していくこと
になる。
[0005] Collision caused by simultaneous movement of a plurality of description sentences is a phenomenon peculiar to a function description language. This is because the function description language has the ability to express the parallel operation of the hardware, and is essentially unavoidable. The purpose of functional level simulation is to check whether the functional description written by the user really represents the intended operation of the user. In most cases, as described above, a collision does not occur as intended by the user. In the case of a collision, the user searches for the cause of the collision and describes it so that the collision does not occur. Will be corrected.

【0006】[0006]

【発明が解決しようとする課題】このような従来の機能
レベルシミュレーション装置では、記述が大きくなって
数百行にもなると、複数の記述文が同時に実行されて衝
突が起こって変数の値が「不定値」となった場合、衝突
の原因を捜すのが非常に困難であるという問題を有して
いた。すなわち、ある変数aが衝突によって「不定値」
になったことはわかるが、どの代入文とどの代入文が実
行されて衝突したのかは変数aの値からはわからない。
また、記述が大きくなると、変数aへの代入が行われる
可能性のある場所をすべて捜すだけでも難しい。仮にそ
れができたとしても、その中のどれとどれが衝突してい
るかを順に調べるのは、大変時間を要する作業であっ
た。
In such a conventional function level simulation apparatus, when the description becomes large and reaches several hundred lines, a plurality of description statements are simultaneously executed, a collision occurs, and the value of the variable is changed to "100". In the case of "indeterminate value", there is a problem that it is very difficult to find the cause of the collision. That is, a certain variable “a” becomes “undefined value” due to collision.
However, it is not known from the value of the variable a which assignment statement and which assignment statement were executed and collided.
Further, when the description becomes large, it is difficult to simply search all places where the assignment to the variable a may be performed. Even if it could be done, it took a lot of time to find out which ones were colliding with which ones.

【0007】本発明は、上記問題に鑑み、機能記述の規
模が大きくなっても、変数への代入の衝突が起こった場
合の原因をユーザーが容易に捜すことができる機能レベ
ルシミュレーション装置を提供することを目的とするも
のである。
The present invention has been made in view of the above problems, and provides a function level simulation apparatus which allows a user to easily search for a cause of a collision of assignment to a variable even when the scale of a function description becomes large. The purpose is to do so.

【0008】[0008]

【課題を解決するための手段】上記の課題を解決するた
めに本発明の機能レベルシミュレーション装置では、変
数への代入の衝突が起こるのは、記述中の複数の箇所に
同じ変数への代入がそれぞれ違う条件で書かれるために
起こるという点に着目し、代入先の変数を中心に代入文
を集めて整理して一覧表とすることにより、衝突が起こ
った場合でもその原因を捜すことがきわめて容易になる
ようにしたものである。
In order to solve the above-mentioned problems, in the function level simulation apparatus of the present invention, a collision of assignment to a variable occurs when assignment to the same variable is performed at a plurality of points in the description. Focusing on the fact that each statement is written under different conditions, collecting assignment statements centering on the variable at the assignment destination and organizing it into a list makes it possible to search for the cause even if a collision occurs It is intended to be easy.

【0009】具体的には、本発明の機能レベルシミュレ
ーション装置は、機能記述言語を読み込んでそれを解析
すると言語解析手段と、上記言語解析手段の解析結果よ
り記述の情報を再整理して表示する解析結果表示手段
と、上記言語解析手段の解析結果より機能レベルシミュ
レーションに必要なシミュレーション情報を抽出するシ
ミュレーション情報生成手段と、上記シミュレーション
情報生成手段より送られてきたシミュレーション情報に
基づいてシミュレーションを実行するシミュレーション
実行手段とにより構成され、上記解析結果表示手段は、
機能記述言語内で使用されている変数ごとに、上記変数
の代入が行われる代入文とその行番号および実行条件を
整理して、一覧表として出力するようにしたものであ
る。
Specifically, the function level simulation apparatus of the present invention reads a function description language and analyzes it, and reorganizes and displays the description information from the language analysis means and the analysis result of the language analysis means. Analysis result display means, simulation information generation means for extracting simulation information necessary for function level simulation from the analysis result of the language analysis means, and simulation based on the simulation information sent from the simulation information generation means Simulation execution means, wherein the analysis result display means comprises:
For each variable used in the function description language, the assignment statement in which the above variable is assigned, its line number, and execution conditions are arranged and output as a list.

【0010】さらに、本発明の機能レベルシミュレーシ
ョン装置は、機能記述言語を読み込んでそれを解析する
言語解析手段と、上記言語解析手段の解析結果より機能
レベルシミュレーションに必要なシミュレーション情報
を抽出するシミュレーション情報生成手段と、上記シミ
ュレーション情報生成手段より送られてきたシミュレー
ション情報に基づいてシミュレーションを実行するシミ
ュレーション実行手段と、上記言語解析手段の解析結果
より記述の情報を再整理して表示するとともに、シミュ
レーション実行手段のシミュレーション結果情報を加味
表示する解析結果/実行結果表示手段とにより構成さ
れ、上記解析結果/実行結果表示手段は、機能記述言語
内で使用されている変数ごとに、上記変数への代入が行
われる代入文とその実行条件を整理して、一覧表として
出力するとともに、シミュレーション実行時には、シミ
ュレーション実行手段からシミュレーション結果情報を
受け取って、上記変数への代入の衝突がおこった場合に
その衝突を引き起こした代入文を強調表示するようにし
たものである。
Further, the function level simulation apparatus of the present invention comprises a language analysis means for reading and analyzing a function description language, and simulation information for extracting simulation information necessary for a function level simulation from the analysis result of the language analysis means. Generating means, simulation executing means for executing a simulation based on the simulation information sent from the simulation information generating means, and displaying and rearranging the information of the description based on the analysis result of the language analyzing means; Analysis result / execution result display means for adding and displaying simulation result information of the means, wherein the analysis result / execution result display means assigns to the variables for each variable used in the function description language. Assignment statements performed and their The line conditions are arranged and output as a list. At the time of executing the simulation, the simulation result information is received from the simulation executing means, and when a collision of the assignment to the above variable occurs, the assignment statement which caused the collision is emphasized. It is intended to be displayed.

【0011】[0011]

【作用】上記した構成により、機能記述言語を入力した
時点で、代入先の変数毎に、上記変数に代入が行われる
代入文とその実行条件を整理して、一覧表として出力す
る。ユーザーはこの一覧表を見ることにより、それぞれ
の変数毎に衝突を起こす可能性のある代入文とその実行
条件がわかるため、シミュレーションを実行してみる前
の段階で単純なミスに気づくことができ、またシミュレ
ーションを実行して実際に衝突が起こった場合でも、そ
の原因を捜すことが容易になる。
According to the above arrangement, at the time of inputting the function description language, the assignment statement in which assignment is performed to the variable and the execution condition thereof are arranged for each assignment destination variable and output as a list. By looking at this list, the user can see the assignment statements and their execution conditions that may cause a collision for each variable, so they can notice simple mistakes before trying to run the simulation. Even if a collision actually occurs by executing a simulation, it is easy to find the cause.

【0012】さらに、シミュレーション実行時に、代入
先の変数毎に上記変数に代入が行われる代入文とその実
行条件を整理した一覧表において、衝突を起こしている
ときに実行されている代入文が強調表示されるため、衝
突が発生した原因をユーザーが容易に知ることができ
る。
Further, in a list in which the assignments to be assigned to the above variables are assigned to each of the variables at the time of the simulation and the execution conditions thereof are arranged, the assignments executed when a collision occurs are emphasized. Since the information is displayed, the user can easily know the cause of the collision.

【0013】[0013]

【実施例】以下、本発明の機能レベルシミュレーション
装置について、実施例を用いて説明する。図1は、本発
明の第1の実施例の機能レベルシミュレーション装置の
ブロック図である。図1において、11は言語解析手段で
あり、機能記述言語を読み込んでその内容を解析する。
言語解析手段11は、機能記述言語に文法エラーがある場
合にはそのエラーの種類をユーザーに報告し、機能記述
言語にエラーがない場合には解析結果を出力する。12は
シミュレーション情報生成手段であり、言語解析手段11
の解析結果を受取り、シミュレーションに必要な情報を
抽出する。言語解析手段11およびシミュレーション情報
生成手段12の動作は、従来例の言語解析手段31およびシ
ミュレーション情報生成手段32とそれぞれ同じである。
13はシミュレーション実行手段であり、シミュレーショ
ン情報生成手段12から受け取ったシミュレーション情報
をもとに、実際に機能レベルシミュレーションを実行す
る。14は解析結果表示手段であり、言語解析手段11の解
析結果より記述の情報を再整理して表示する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a functional level simulation apparatus according to the present invention will be described using embodiments. FIG. 1 is a block diagram of a functional level simulation apparatus according to a first embodiment of the present invention. In FIG. 1, reference numeral 11 denotes a language analysis unit which reads a function description language and analyzes its contents.
The language analysis unit 11 reports the type of the syntax error to the user when there is a syntax error in the function description language, and outputs an analysis result when there is no error in the function description language. Reference numeral 12 denotes simulation information generation means, and language analysis means 11
Receiving the analysis result of, and extracting information necessary for the simulation. The operations of the language analyzer 11 and the simulation information generator 12 are the same as those of the conventional language analyzer 31 and simulation information generator 32, respectively.
Numeral 13 denotes a simulation executing means, which actually executes a function level simulation based on the simulation information received from the simulation information generating means 12. Numeral 14 denotes an analysis result display means, which rearranges and displays the information of the description based on the analysis result of the language analysis means 11.

【0014】図2と図3は、解析結果表示手段14が出力
する表示の内容を説明するための図である。図2は機能
記述言語の一例を示す図である。図2の中で、a,da
tal,data2,reg1,reg2,selなど
は全て変数である。図2では、記述文の左端に行番号を
ふってあるので、それを参照しながら説明する。第1行
から第3行は、sig1が1の値のときに、変数aにd
atalの値を代入するという条件付き代入文である。
第5行から第18行では、ifが2重にかかっているが、
意味としては、外のifの条件が成り立って、かつ中の
ifの条件も成り立っている場合に、中の代入文が実行
されるということになる。したがって、第7行と第8行
の代入文は、変数disableが0で、かつ変数st
artが1のときに代入文が実行される。また、第10行
と第11行の代入文は、elseの側であるので、変数s
tartが1以外(すなわち0)のときで、かつ変数d
isableが0のときに代入が実行される。
FIGS. 2 and 3 are views for explaining the contents of the display output by the analysis result display means 14. FIG. FIG. 2 is a diagram illustrating an example of a function description language. In FIG. 2, a, da
tal, data2, reg1, reg2, sel, etc. are all variables. In FIG. 2, a line number is added to the left end of the description sentence, and the description will be made with reference to the line number. The first to third lines indicate that when sig1 is a value of 1,
This is a conditional assignment statement that assigns the value of atal.
From line 5 to line 18, if is doubled,
The meaning is that when the condition of the outside if is satisfied and the condition of the inside if is also satisfied, the inside assignment statement is executed. Therefore, in the assignment statements on the seventh and eighth lines, the variable disable is 0 and the variable st
An assignment statement is executed when art is 1. Also, since the assignment statements on lines 10 and 11 are on the side of else, the variable s
When start is other than 1 (that is, 0) and the variable d
Substitution is performed when "isable" is 0.

【0015】図3は、上記した本発明の第1の実施例に
図2の機能記述を入力したときの、解析結果表示手段の
表示出力の例を示す図である。元の記述における左辺す
なわち代入先の変数毎に、枠で囲って一覧表になってい
る。枠外の右に書いてある数字が、元の記述中での行番
号に対応している。この一覧表により、それぞれの変数
に対する全ての代入動作を把握することが可能となる。
たとえば、変数aに対する代入動作は、行番号2の、s
iglが1のときにdatalの値が代入されるもの
と、行番号16の、変数disableが0でかつ変数s
elが1のときにdata2の値が代入されるものの2
つであることがわかる。この一覧表を見ることにより、
たとえば変数aについては、sigl=1とdisab
le=0、sel=1が同時に起こると、衝突が発生す
ることが容易に予想できる。
FIG. 3 is a diagram showing an example of display output of the analysis result display means when the function description of FIG. 2 is input to the first embodiment of the present invention. The left-hand side of the original description, that is, the variable of the substitution destination, is enclosed in a frame and listed. The number written to the right outside the frame corresponds to the line number in the original description. From this list, it is possible to grasp all substitution operations for each variable.
For example, the substitution operation for the variable a is performed in line number 2, s
When the value of data is substituted when igl is 1, the variable disable is 0 and the variable s
When the value of data2 is substituted when el is 1, 2
It turns out that there is one. By looking at this list,
For example, for variable a, sigl = 1 and disab
If le = 0 and sel = 1 occur at the same time, it can be easily predicted that a collision will occur.

【0016】図3の場合は各変数毎に2つずつしか代入
文が存在しないが、もっと複雑な記述では1つの変数に
対して幾つもの代入文が存在することがあり、そうなっ
てきても、各変数毎にまとめて表にするこの形式であれ
ば十分に見やすい。
In the case of FIG. 3, only two assignment statements exist for each variable. However, in a more complicated description, there may be many assignment statements for one variable. This format, in which each variable is summarized in a table, is easy to see.

【0017】図4は本発明の第2の実施例の機能レベル
シミュレーション装置のブロック図である。図4におい
て、21は言語解析手段であり、機能記述言語を読み込ん
でその内容を解析する。言語解析手段21は、機能記述言
語に文法エラーがある場合にはそのエラーの種類をユー
ザーに報告し、機能記述言語にエラーがない場合には解
析結果を出力する。22はシミュレーション情報生成手段
であり、言語解析手段の解析結果を受取り、シミュレー
ションに必要な情報を抽出する。言語解析手段21および
シミュレーション情報生成手段22の動作は、従来例の言
語解析手段31およびシミュレーション情報生成手段32と
それぞれ同じである。23はシミュレーション実行手段で
あり、シミュレーション情報生成手段22から受け取った
シミュレーション情報をもとに、実際に機能レベルシミ
ュレーションを実行する。24は解析結果/実行結果表示
手段であり、言語解析手段21の解析結果より記述の情報
を再整理して表示し、シミュレーション実行時には、シ
ミュレーション実行手段23からシミュレーション情報結
果を受け取って、代入の衝突が起こった場合にその衝突
を引き起こした代入文を強調表示する。
FIG. 4 is a block diagram of a functional level simulation apparatus according to a second embodiment of the present invention. In FIG. 4, reference numeral 21 denotes a language analyzing unit which reads a function description language and analyzes its contents. The language analysis unit 21 reports the type of the syntax error to the user when the function description language has a syntax error, and outputs an analysis result when the function description language has no error. Numeral 22 is a simulation information generating means for receiving the analysis result of the language analyzing means and extracting information necessary for the simulation. The operations of the language analyzer 21 and the simulation information generator 22 are the same as those of the conventional language analyzer 31 and simulation information generator 32, respectively. Reference numeral 23 denotes a simulation execution unit that actually executes a function level simulation based on the simulation information received from the simulation information generation unit 22. Numeral 24 denotes an analysis result / execution result display means for rearranging and displaying description information based on the analysis result of the language analysis means 21. Upon execution of the simulation, the simulation information result is received from the simulation execution means 23, and the assignment conflict occurs. Highlights the assignment statement that caused the conflict if.

【0018】図5は、解析結果/実行結果表示手段24の
表示出力の例を示す図であり、基本的には図3と同じで
ある。シミュレーション実行時に変数aで信号衝突がお
こったときに、この図のように、行番号2と行番号16に
相当する代入文とその条件が太字で強調される。図5の
例では各変数毎に2つずつしか代入文が存在しないが、
もっと複雑な記述では1つの変数に対して幾つもの代入
文が存在することがあり、その場合、実際に衝突の原因
となった2つあるいは3つなどの代入文のみが強調表示
されるため、そういう場合に本実施例は特に効果を発揮
する。なお、強調の方法は太字に限らず、たとえば色を
変えるなどの方法でもよい。
FIG. 5 is a diagram showing an example of a display output of the analysis result / execution result display means 24, which is basically the same as FIG. When a signal collision occurs at the variable a during the execution of the simulation, the assignment statements corresponding to the line numbers 2 and 16 and the conditions thereof are highlighted in bold as shown in this figure. In the example of FIG. 5, there are only two assignment statements for each variable,
In a more complex description, there may be many assignment statements for one variable, in which case only two or three assignment statements that actually caused a collision are highlighted. In such a case, the present embodiment is particularly effective. The emphasis method is not limited to the bold type, but may be, for example, a method of changing colors.

【0019】[0019]

【発明の効果】以上のように、本発明によれば、記述の
情報を変数を中心に再整理して出力する解析結果表示手
段14を備え、それぞれの変数に対する代入を行う代入文
とその行番号および実行条件の一覧表が出力されること
により、シミュレーション実行時に変数への代入の衝突
が起こった場合に、その原因をユーザーが容易に捜すこ
とができるようになる。また、記述が終わった段階でユ
ーザーが上記一覧表を見ることにより、実際にシミュレ
ーションを実行してみなくても、衝突が起こる可能性が
あるかどうかが予想しやすくなるため、大きな機能記述
を書いた場合の記述ミスを少なくすることができる。し
たがって、ユーザーの機能記述の検証効率を上げること
ができる。
As described above, according to the present invention, the analysis result display means 14 for rearranging and outputting description information centering on variables is provided. By outputting the list of numbers and execution conditions, when a collision occurs in substitution to a variable during simulation execution, the user can easily find the cause. In addition, the user can look at the above list at the end of the description, so that it is easy to predict whether or not a collision may occur without actually performing a simulation. Writing errors when writing can be reduced. Therefore, the verification efficiency of the function description of the user can be improved.

【0020】さらに、解析結果/実行結果表示手段24を
備え、シミュレーション実行時に変数への代入の衝突が
起こった場合に、代入が実行されている代入文が変数ご
との一覧表の中で強調表示されることにより、どの代入
文とどの代入文が衝突を起こしているかを一目で知るこ
とができ、衝突を回避するための記述言語の修正が的確
に行える。このことから、ユーザーの機能記述の検証の
効率をさらに上げることができる効果が得られる。
Further, an analysis result / execution result display means 24 is provided, and when a collision of assignment to a variable occurs during simulation execution, the assignment statement for which assignment is being executed is highlighted in a list for each variable. By doing so, it is possible to know at a glance which assignment statement and which assignment statement are causing a collision, and correct the description language to avoid the collision. From this, an effect is obtained that the efficiency of verification of the user's function description can be further increased.

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

【図1】本発明の第1の実施例の機能レベルシミュレー
ション装置のブロック図である。
FIG. 1 is a block diagram of a functional level simulation device according to a first embodiment of the present invention.

【図2】本発明の第1の実施例の機能レベルシミュレー
ション装置における機能記述言語の一例を示す図であ
る。
FIG. 2 is a diagram illustrating an example of a function description language in the function level simulation device according to the first embodiment of the present invention.

【図3】本発明の第1の実施例の機能レベルシミュレー
ション装置における解析結果表示の一例を示す図であ
る。
FIG. 3 is a diagram illustrating an example of an analysis result display in the function level simulation apparatus according to the first embodiment of the present invention.

【図4】本発明の第2の実施例の機能レベルシミュレー
ション装置のブロック図である。
FIG. 4 is a block diagram of a functional level simulation device according to a second embodiment of the present invention.

【図5】本発明の第2の実施例の機能レベルシミュレー
ション装置における解析結果の強調表示の一例を示す図
である。
FIG. 5 is a diagram illustrating an example of a highlighted display of an analysis result in the function level simulation apparatus according to the second embodiment of the present invention.

【図6】従来の機能レベルシミュレーション装置のブロ
ック図である。
FIG. 6 is a block diagram of a conventional function level simulation device.

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

11 言語解析手段 12 シミュレーション情報生成手段 13 シミュレーション実行手段 14 解析結果表示手段 21 言語解析手段 22 シミュレーション情報生成手段 23 シミュレーション実行手段 24 解析結果/実行結果表示手段 11 Language analysis means 12 Simulation information generation means 13 Simulation execution means 14 Analysis result display means 21 Language analysis means 22 Simulation information generation means 23 Simulation execution means 24 Analysis result / execution result display means

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI G06F 11/28 G06F 11/28 E ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 6 Identification code FI G06F 11/28 G06F 11/28 E

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 機能記述言語を読み込んでそれを解析す
る言語解析手段と、上記言語解析手段の解析結果より記
述の情報を再整理して表示する解析結果表示手段と、上
記言語解析手段の解析結果より機能レベルシミュレーシ
ョンに必要なシミュレーション情報を抽出するシミュレ
ーション情報生成手段と、上記シミュレーション情報生
成手段より送られてきたシミュレーション情報に基づい
てシミュレーションを実行するシミュレーション実行手
段とにより構成され、上記解析結果表示手段は、機能記
述言語内で使用されている変数ごとに、上記変数への代
入が行われる代入文とその行番号および実行条件を整理
して、一覧表として出力することを特徴とする機能レベ
ルシミュレーション装置。
1. A language analysis means for reading and analyzing a function description language, an analysis result display means for rearranging and displaying description information based on an analysis result of the language analysis means, and an analysis of the language analysis means. Simulation information generation means for extracting simulation information necessary for the function level simulation from the result; and simulation execution means for executing a simulation based on the simulation information sent from the simulation information generation means, and displaying the analysis result. The function level is characterized in that, for each variable used in the function description language, an assignment statement to be assigned to the variable, its line number and execution conditions are arranged and output as a list. Simulation device.
【請求項2】 機能記述言語を読み込んでそれを解析す
る言語解析手段と、上記言語解析手段の解析結果より機
能レベルシミュレーションに必要なシミュレーション情
報を抽出するシミュレーション情報生成手段と、上記シ
ミュレーション情報生成手段より送られてきたシミュレ
ーション情報に基づいてシミュレーションを実行するシ
ミュレーション実行手段と、上記言語解析手段の解析結
果より記述の情報を再整理して表示するとともに、シミ
ュレーション実行手段のシミュレーション結果情報を加
味表示する解析結果/実行結果表示手段とにより構成さ
れ、上記解析結果/実行結果表示手段は、機能記述言語
内で使用されている変数ごとに、上記変数への代入が行
われる代入文とその実行条件を整理して、一覧表として
出力するとともに、シミュレーション実行時には、シミ
ュレーション実行手段からシミュレーション結果情報を
受け取って、上記変数への代入の衝突がおこった場合に
その衝突を引き起こした代入文を強調表示することを特
徴とする機能レベルシミュレーション装置。
2. A language analysis means for reading and analyzing a function description language, a simulation information generation means for extracting simulation information necessary for a function level simulation from an analysis result of the language analysis means, and a simulation information generation means Simulation execution means for executing a simulation based on the simulation information sent from the apparatus; and displaying and rearranging the information of the description based on the analysis result of the language analysis means, and additionally displaying the simulation result information of the simulation execution means. The analysis result / execution result display means includes, for each variable used in the function description language, an assignment statement to be assigned to the variable and an execution condition thereof. Organize and output as a list, A function level simulation apparatus, which receives simulation result information from a simulation execution unit when a simulation is executed, and highlights an assignment statement that caused the collision when the collision of substitution into the variable occurs.
JP3168552A 1991-07-10 1991-07-10 Functional level simulation device Expired - Fee Related JP2957025B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3168552A JP2957025B2 (en) 1991-07-10 1991-07-10 Functional level simulation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3168552A JP2957025B2 (en) 1991-07-10 1991-07-10 Functional level simulation device

Publications (2)

Publication Number Publication Date
JPH0520380A JPH0520380A (en) 1993-01-29
JP2957025B2 true JP2957025B2 (en) 1999-10-04

Family

ID=15870144

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3168552A Expired - Fee Related JP2957025B2 (en) 1991-07-10 1991-07-10 Functional level simulation device

Country Status (1)

Country Link
JP (1) JP2957025B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5775829B2 (en) * 2012-01-30 2015-09-09 日立オートモティブシステムズ株式会社 Software structure visualization program and system

Also Published As

Publication number Publication date
JPH0520380A (en) 1993-01-29

Similar Documents

Publication Publication Date Title
Hall et al. Problem oriented software engineering: Solving the package router control problem
Barbacci Instruction set processor specifications (ISPS): The notation and its applications
US7606826B2 (en) Evaluation and display of temporal descriptions
US7769569B2 (en) Method and system for designing a structural level description of an electronic circuit
Koomen The design of communicating systems: a system engineering approach
US20230252209A1 (en) Method and apparatus of compiling verification system
JP2007011605A (en) Model inspection support device for software operation specification, model inspection system provided with the same, and model inspection support program
US6715107B2 (en) Method and system for reducing the computation tree to include only model behaviors defined succinctly by a user via regular expressions as being of interest
JP2957025B2 (en) Functional level simulation device
Khomenko et al. Slimming down Petri boxes: Compact Petri net models of control flows
JP5265318B2 (en) Logic verification device
Johnstone et al. Evaluating GLR parsing algorithms
JP4387324B2 (en) Property conversion device
JPH09128266A (en) Device and method for retrieving source program route
US6789234B2 (en) Method and system for a timing based logic entry
Ali et al. Alneelain: A formal specification language
RU2364930C2 (en) Generation method of knowledgebases for systems of verification of distributed computer complexes software and device for its implementation
JP2005122398A (en) Dynamic document generating program, recording medium thereof, dynamic document generating device, and dynamic document generating method
EP1122660A2 (en) CPU core development support system, method for development support and recording medium storing a development support program thereof
Becker et al. FudgeFactor: Syntax-guided synthesis for accurate RTL error localization and correction
JP5587459B2 (en) Logic verification device
JP3582849B2 (en) Logic program verification method
JPH0785116A (en) Logic circuit description check device
Beaumont Plato: a tool for behavioural specification of asynchronous circuits
Stroud Using the Workstation Version of AUSIM-Version 2.3

Legal Events

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