[go: up one dir, main page]

JPH1166127A - Signal observation method in logic simulation - Google Patents

Signal observation method in logic simulation

Info

Publication number
JPH1166127A
JPH1166127A JP9224606A JP22460697A JPH1166127A JP H1166127 A JPH1166127 A JP H1166127A JP 9224606 A JP9224606 A JP 9224606A JP 22460697 A JP22460697 A JP 22460697A JP H1166127 A JPH1166127 A JP H1166127A
Authority
JP
Japan
Prior art keywords
signal
logic
name
partial
hierarchical
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
JP9224606A
Other languages
Japanese (ja)
Inventor
Teruo Nakajima
照夫 中嶋
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 JP9224606A priority Critical patent/JPH1166127A/en
Publication of JPH1166127A publication Critical patent/JPH1166127A/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】 【課題】部分回路同士を統合する際、部分回路同士を接
続している信号名を一時的に保存する変数名に変更する
ため、シミュレーション時に設計者が記述した信号名で
信号を観測することができない信号を観測可能にし、効
率的な論理回路の検証を可能にする。 【解決手段】部分回路同士を統合する前に、部分回路、
階層論理および下位階層論理の入力/出力信号、階層識
別子を階層情報管理テーブル、入出力信号テーブルにそ
れぞれ格納し、部分回路の統合を行う際、複数の部分回
路をイベント評価単位の部分回路に統合すると、イベン
ト評価のための信号名が変数に置き換わるので、置換前
後の信号名を階層情報管理テーブルおよび入出力信号テ
ーブルに登録し、最適化前後の信号名を対応付ける。
(57) [Summary] [Problem] To integrate partial circuits, the signal names connecting the partial circuits are changed to variable names to be temporarily stored. A signal whose signal cannot be observed is made observable, and efficient logic circuit verification is made possible. Before integrating partial circuits, partial circuits are integrated.
The input / output signals and the hierarchical identifiers of the hierarchical logic and the lower hierarchical logic are stored in the hierarchical information management table and the input / output signal table, respectively, and when integrating the partial circuits, a plurality of partial circuits are integrated into the partial circuit of the event evaluation unit. Then, since the signal name for event evaluation is replaced with a variable, the signal names before and after replacement are registered in the hierarchical information management table and the input / output signal table, and the signal names before and after optimization are associated with each other.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、論理シミュレーシ
ョンのための対象論理回路のモデルを作成し、最適化す
る技術に関する。
The present invention relates to a technique for creating and optimizing a model of a target logic circuit for logic simulation.

【0002】[0002]

【従来の技術】論理シミュレーションを高速化するため
に、対象論理回路のシミュレーションモデルを作成する
方法としては、以下のような方法がある。
2. Description of the Related Art In order to speed up a logic simulation, there are the following methods for creating a simulation model of a target logic circuit.

【0003】・イベント評価単位の部分回路数を減らし
て実行速度をあげる方法 この方法は、たとえば、出願番号P08−078999
号に記載されている。これは該部分回路が組合せ回路で
あるか否かの判定を行い、組合せ回路である部分回路ど
うしを統合し、1つのイベント評価単位とすることによ
り、イベント評価単位の部分回路数を減らして、シミュ
レーションの高速化を図る方法である。
A method of increasing the execution speed by reducing the number of partial circuits in the event evaluation unit. This method is described in, for example, application number P08-078999.
No. This is to determine whether or not the partial circuit is a combinational circuit, integrate the partial circuits that are the combinational circuits, and make one event evaluation unit, thereby reducing the number of partial circuits in the event evaluation unit, This is a method for speeding up the simulation.

【0004】[0004]

【発明が解決しようとする課題】ところが、前記従来技
術においては、組合せ回路である部分回路同士を統合
し、1つのイベント評価単位とすることにより、イベン
ト評価単位の部分回路数を減らしてシミュレーションの
高速化を図ることはできる。しかし、部分回路同士を統
合する際、部分回路同士を接続している信号線の名称
(以下、信号名と呼ぶ)を一時的に保存する変数の名称
(以下、変数名と呼ぶ)に変更するため、シミュレーシ
ョン時に設計者が記述した信号名で信号を観測すること
ができないという問題点がある。
However, in the prior art, the partial circuits which are combinational circuits are integrated into one event evaluation unit, thereby reducing the number of partial circuits in the event evaluation unit and reducing the number of partial circuits in the simulation. It can be faster. However, when integrating the partial circuits, the names of the signal lines connecting the partial circuits (hereinafter, referred to as signal names) are changed to the names of the variables to be temporarily stored (hereinafter, referred to as variable names). Therefore, there is a problem that a signal cannot be observed with a signal name described by a designer during a simulation.

【0005】[0005]

【課題を解決するための手段】本願において開示される
発明のうち、代表的なものの概要を簡単に説明すれば、
下記のとおりである。
SUMMARY OF THE INVENTION Among the inventions disclosed in the present application, the outline of a representative one will be briefly described.
It is as follows.

【0006】すなわち、本発明の論理シミュレーション
における信号観測方法は、部分回路同士を統合する前
に、部分回路、階層論理および下位階層論理の入力/出
力信号、階層識別子を階層情報管理テーブル、入出力信
号テーブルにそれぞれ格納し、イベント評価単位である
部分回路か階層論理かを判定し、階層論理のとき、これ
が有する識別子をキーに当該階層論理が登録されている
ライブラリを検索し、階層論理がライブラリに存在する
とき、複数の部分回路を接続している信号名に対し、階
層を考慮した信号名に変換し、階層論理を削除してから
これに対応した部分回路を展開する(以下、フラット化
と呼ぶ)。前記手段により階層論理を全て部分回路で構
成したシミュレーション対象回路を出願番号P08−0
78999号により部分回路の統合を行う(以下、最適
化と呼ぶ)。その際、複数の部分回路をイベント評価単
位の部分回路に統合すると、イベント評価のための信号
名が変数に置き換わるので、置換前後の信号名を階層情
報管理テーブルおよび入出力信号テーブルに登録し、設
計者が記述した論理の信号名で信号を観測できるように
する。
That is, in the signal observation method in the logic simulation according to the present invention, before integrating the partial circuits, the input / output signals of the partial circuits, the hierarchical logic and the lower hierarchical logic, the hierarchical identifiers are stored in the hierarchical information management table, the input / output. Each of them is stored in a signal table, and it is determined whether the event evaluation unit is a partial circuit or a hierarchical logic. In the case of hierarchical logic, a library in which the hierarchical logic is registered is searched for using the identifier of the circuit as a key, and , A signal name connecting a plurality of partial circuits is converted into a signal name considering the hierarchy, the hierarchical logic is deleted, and the corresponding partial circuit is developed (hereinafter, flattening). ). The circuit to be simulated in which the hierarchical logic is composed of all partial circuits by the above means is referred to as application number P08-0.
No. 78999 integrates partial circuits (hereinafter referred to as optimization). At this time, if a plurality of partial circuits are integrated into a partial circuit of the event evaluation unit, the signal name for event evaluation is replaced with a variable, so the signal names before and after replacement are registered in the hierarchical information management table and the input / output signal table, Enables a signal to be observed using the logic signal name described by the designer.

【0007】[0007]

【発明の実施の形態】以下に本発明の実施例を述べる。
本実施例で、プロセスとは論理シミュレーションにおけ
るイベント評価単位である部分回路のことである。図1
は本発明の一実施例である論理シミュレーションモデル
作成処理手順を示す概略説明図、図2は本発明の一実施
例における論理シミュレーションを行う対象論理回路を
示す概略説明図、図3は本発明の一実施例における複数
の部分回路を組み合わせて一機能を実現した階層論理お
よびその論理記述、図4は本発明の一実施例における論
理シミュレーションを行う対象論理回路の図2をもとに
した論理記述の一部、図5は図2の階層論理回路を全て
部分回路に置き換えたフラット化後の論理シミュレーシ
ョン対象回路概略図、図6は図5の論理シミュレーショ
ン対象論理回路の概略説明図を出願番号P08−078
999号により、条件付きで部分回路を統合できる範囲
を示したプロセス統合可能範囲図、図7は本発明におけ
る論理回路の階層情報を保存したテーブルのデータ構造
を示す概略説明図、図8は図6のプロセス統合可能範囲
の一部のプロセスを統合した論理記述である。
Embodiments of the present invention will be described below.
In this embodiment, a process is a partial circuit that is an event evaluation unit in a logic simulation. FIG.
FIG. 2 is a schematic explanatory view showing a logic simulation model creation processing procedure according to one embodiment of the present invention, FIG. 2 is a schematic explanatory view showing a target logic circuit for performing a logic simulation in one embodiment of the present invention, and FIG. Hierarchical logic in which one function is realized by combining a plurality of partial circuits in one embodiment and its logic description. FIG. 4 is a logic description based on FIG. 2 of a target logic circuit for performing a logic simulation in one embodiment of the present invention. 5, FIG. 5 is a schematic diagram of a logic simulation target circuit after flattening in which all the hierarchical logic circuits of FIG. 2 are replaced with partial circuits, and FIG. 6 is a schematic explanatory diagram of the logic simulation target logic circuit of FIG. −078
No. 999, a process integrable range diagram showing a range in which partial circuits can be conditionally integrated, FIG. 7 is a schematic explanatory diagram showing a data structure of a table storing hierarchical information of a logic circuit in the present invention, and FIG. 6 is a logical description in which some processes in the process integration possible range are integrated.

【0008】図1は本発明の論理シミュレーションデー
タ作成時の処理手順であり、論理回路記述入力部102
で論理回路記述101を入力して階層情報保存部103
で図7のように作成する。この階層情報保存部103を
もとに階層論理判定部104において階層を有する階層
論理か否かを判定する。階層論理でないときは、次の部
分回路を階層論理判定部104で行い、階層論理と判定
したときは、下位階層の部分回路あるいはさらに階層を
有する階層論理を展開するために階層識別子更新部10
5で、下位階層の部分回路に付与されている階層識別子
にユニーク性を持たせるために、例えば、「生成した階
層識別子」=「下位階層の階層識別子」+「.」+「上
位階層の階層識別子」という規則で生成し、図7の階層
情報管理テーブルに生成した階層識別子を格納する。信
号名変換部106では、下位階層で部分回路を接続して
いる信号名も同様にユニーク性を持たせるために、例え
ば、「生成した信号名」=「下位階層の信号名」
+「.」+「上位階層の識別子」という規則で生成し、
生成した信号名を入出力信号テーブルに格納する。ま
た、階層論理が多階層をなしているときは、階層論理が
なくなる階層まで進み、最下位階層から順次、階層識別
子更新部105および信号名変換部106を行う。この
ように、下位階層を展開する準備をした後、階層論理展
開部107で展開すると、図5のように部分回路に展開
できる。出願番号P08−078999号の処理手順1
09から118の前に、全ての部分回路処理するまで、
102から108を繰り返す。また、114,115
は、本発明により付加した処理部である。変数名保存部
114では、プロセス統合部:113で生成した変数名
を図7の入出力信号テーブルに保存する。
FIG. 1 shows a processing procedure when creating logic simulation data according to the present invention.
Input the logic circuit description 101 and store the hierarchical information storage unit 103
Is created as shown in FIG. Based on the hierarchy information storage unit 103, the hierarchy logic determination unit 104 determines whether or not the logic is hierarchical logic having a hierarchy. If the logic is not hierarchical logic, the next partial circuit is performed by the hierarchical logic determination unit 104. If the logic is determined to be hierarchical logic, the hierarchical identifier updating unit 10 expands the partial circuit of the lower hierarchy or the hierarchical logic having a further hierarchy.
In order to give uniqueness to the layer identifiers assigned to the sub-circuits in the lower layer, for example, “generated layer identifier” = “lower layer identifier” + “.” + “Higher layer” An identifier is generated according to the rule “identifier”, and the generated hierarchical identifier is stored in the hierarchical information management table of FIG. In the signal name conversion unit 106, for example, “generated signal name” = “lower layer signal name” in order to similarly give uniqueness to signal names connecting partial circuits in lower layers.
+ "." + "Identifier of higher hierarchy"
The generated signal name is stored in the input / output signal table. When the hierarchical logic has a multi-level hierarchy, the process proceeds to the level where the hierarchical logic disappears, and the hierarchical identifier updating unit 105 and the signal name converting unit 106 are sequentially performed from the lowest hierarchical level. After preparing to expand the lower hierarchy in this way, if the hierarchy is expanded by the hierarchy logic expansion unit 107, it can be expanded into partial circuits as shown in FIG. Processing Procedure 1 of Application No. P08-078999
Before 09 to 118, until all partial circuits are processed,
Steps 102 to 108 are repeated. 114, 115
Is a processing unit added according to the present invention. The variable name storage unit 114 stores the variable names generated by the process integration unit 113 in the input / output signal table of FIG.

【0009】図2に本実施例で使用する論理シミュレー
ションを行う対象回路を示す。図中のP1,P2,P
3,P6,P7,P8,P9,P10,F11,F12
は階層識別子である。また、S1からS15、SA1か
らSA7およびSB1からSB7は部分回路を接続する
信号名である。論理回路中の階層論理FAの階層識別子
にF11,F12を前記規則に適応すれば機能論理回
路、プロセス7,9は順序回路、プロセス1,2,3,
6,8,10は組み合わせ回路であるとする。
FIG. 2 shows a target circuit for performing a logic simulation used in the present embodiment. P1, P2, P in the figure
3, P6, P7, P8, P9, P10, F11, F12
Is a hierarchy identifier. S1 to S15, SA1 to SA7, and SB1 to SB7 are signal names for connecting partial circuits. If F11 and F12 are applied to the hierarchical identifier of the hierarchical logic FA in the logic circuit according to the above rule, functional logic circuits, processes 7 and 9 are sequential circuits, processes 1, 2, 3, and
6, 8, and 10 are combinational circuits.

【0010】図3に本実施例で使用する階層論理(下位
階層論理)の例を示す。機能論理150は、階層識別
子:FAを持ち、切り口信号名:F1,F2,F3,F
4,F5を入力し、F6,F7を出力する。階層論理1
50の機能を論理回路:151に示す。論理回路:15
1は、4つのプロセスから成り、各プロセスの階層識別
子:A1,B1,C1,D1と部分回路を接続する信号
名SA1とSA2とから構成されており、いずれも組み
合わせ回路とする。
FIG. 3 shows an example of hierarchical logic (lower hierarchical logic) used in this embodiment. The functional logic 150 has the hierarchical identifier: FA, and the cut signal name: F1, F2, F3, F
4, F5 are input, and F6 and F7 are output. Hierarchical logic 1
50 functions are shown in the logic circuit: 151. Logic circuit: 15
Reference numeral 1 denotes four processes, each of which is composed of hierarchical identifiers A1, B1, C1, and D1 of each process and signal names SA1 and SA2 for connecting the partial circuits, all of which are combined circuits.

【0011】図4により本実施例にて扱う対象回路の論
理記述例を示す。各プロセスごとにプロセスの型、プロ
セス名、入出力信号名、プロセス内で使用する変数名、
および、動作等が構文規則にしたがって記述されてい
る。また、階層論理は、VHDL言語のインスタンス文
で表現している。
FIG. 4 shows an example of a logical description of a target circuit handled in this embodiment. For each process, the process type, process name, input / output signal name, variable name used in the process,
In addition, operations and the like are described according to syntax rules. The hierarchical logic is expressed by an instance sentence of the VHDL language.

【0012】以下、図1の101から108および11
4の各処理部を図2から図8を用いて説明する。論理記
述入力部:102では、論理記述:101を例えば図4
のようなテキスト形式で入力し、103の階層情報保存
部では、階層情報テーブルおよび入出力信号テーブルの
文字列テーブルへのポインタと階層情報テーブルの下位
階層へのポインタを全てnullにして、各テーブルを
作成する。例えば、図2のプロセス1の場合、図7の階
層情報管理テーブルのNo.1に登録し、入出力信号テ
ーブルへのポインタを1とし、その他の項目はnull
にする。次に、階層論理判定部:104では、階層論理
か否かを判定し、階層論理のとき図2に示すように、例
えば階層論理名:FAでライブラリを検索し、図3に示
す階層論理を下位階層として階層情報テーブルに登録す
ると、図7の階層情報管理テーブルのNo.11からN
o.14および入出力信号テーブルのNo.44からN
o.58のようになり、処理中の文字列は逐次、文字列
ハッシュテーブルに登録する。このとき、階層情報テー
ブルのNo.4の下位階層へのポインタがnullから
11となり、当該テーブルのNo.11以降に図3の部
分回路の階層識別子及び入出力信号テーブルへのポイン
タがそれぞれ44,50,53,56のように登録され
る。また、各部分回路の入出力信号名は、入出力信号テ
ーブルのNo.44,50,53,56からそれぞれ部
分回路単位に入出力区分を付加し、信号名は文字列テー
ブルへ登録され、その文字列テーブルへのポインタが、
入出力信号テーブルに登録される。このように、全ての
部分回路を各テーブルに登録した後、105の階層識別
子更新部では、前記規則を適応し、「生成した階層識別
子」=「下位階層の階層識別子」+「.」+「上位階層
の階層識別子」という規則で生成すると、例えば、図3
の「A1」は図5の「A1.F11」となる。この生成
した階層識別子を文字列テーブルに登録し、当該テーブ
ルへのポインタを階層情報テーブルの該当する領域、こ
の場合は、階層情報テーブルのNo.11の変換後の変
換後の文字列テーブルへのポインタをnullから51
に更新する。同様に図3の階層識別子B1,C1,D1
を処理すると図7の階層情報テーブルのようになる。次
に、106の信号名変換部でも、前記規則を適応し、
「生成した信号名」=「下位階層の信号名」+「.」+
「上位階層の識別子」という規則で生成すると、例え
ば、図3の切り口以外の信号名「SA1」は図5の「S
A1.F11」となる。この生成した信号名を文字列テ
ーブルに登録し、この場合は、入出力信号テーブルのN
o.49の変換後の変換後の文字列テーブルへのポイン
タをnullから55に更新する。同様に図3の信号名
SA2を処理すると図7の入出力信号テーブルのように
なる。また、図3の階層論理に接続する信号(上位階層
の信号)と当該階層論理の下位階層の部分回路とを接続
する切り口の信号名F1からF7は、上位階層の信号に
接続する信号なので、これらの信号名は全て上位の信号
名が変換後の信号名として入出力信号テーブルに登録さ
れる。例えば、図2のF11の切り口信号名F1は、上
位階層の信号名SA1と接続するので、変換後の文字列
テーブルへのポインタ3を入出力信号テーブルのNo.
44の変換後の文字列テーブルへのポインタをnull
から3に更新する。同様に図2の切り口信号F2,F
3,F4,F5,F6,F7を処理すると図7の入出力
信号テーブルのようになる。これにより、階層論理展開
前後の階層情報を保存できる。さらに、階層論理展開後
の図6のプロセス統合可能範囲図で、プロセス統合可能
な部分回路群を統合すると不必要な信号を認識できる。
例えば、図5のプロセスP2の出力SA4,SA5は、
統合されると不要な信号であり、これらを変数としたい
ならば、新たな変数名、例えば@svar1を生成し、
前記生成名@svar1を文字列テーブルに登録する。
当該文字列テーブルへのポインタ57を図7入出力テー
ブルのNo.47の変換後の文字列テーブルへのポイン
タを8から57に更新する。また、信号を削除し変数と
しないならば、図5のプロセスP2の出力SA4,SA
5の式を、図5の階層識別子B1.F11の入力とする
ために、式の右辺に代入する。この場合、図6の階層識
別子PAの中のプロセス2とプロセスB1は、図4の論
理回路記述から図8の統合後の論理回路記述のようにな
り、@svar1がSA4で、@svar2がSA5な
ので、v2:=(S3 AND S4) OR (S3 O
R S4)となる。尚、図6に関する処理は出願番号P
08−078999号の通りである。しかし、インベン
ト評価単位が最適化され、シミュレーションにおいて不
必要な信号となった信号は、設計者が信号を観測する上
で必要な信号である。そこで、出願番号P08−078
999号の処理に加え、変数名保存部:114の処理部
について説明する。前述した信号:SA4,SA5は、
それぞれ変数@svar1,@svar2となるが、こ
の信号名変換情報を図7の階層情報保存テーブルに登録
すると、図6のプロセス2の出力信号に該当する入出力
信号テーブルのNo.8,9の変換後の文字列テーブル
へのポインタnullを該当する文字列ハッシュテーブ
ルへのポインタ57,58に更新し、図6のプロセス3
の出力信号に該当する入出力信号テーブルのNo.1
7,18の変換後の文字列テーブルへのポインタnul
lを該当する文字列ハッシュテーブルへのポインタ5
7,58にそれぞれ更新する。また、図6のプロセスA
1の入力信号に該当する入出力信号テーブルのNo.4
7,48の変換後の文字列テーブルへのポインタ8,9
を該当する文字列ハッシュテーブルへのポインタ57,
58に更新し、図6のプロセスB1の入力信号に該当す
る入出力信号テーブルのNo.50,51の変換後の文
字列テーブルへのポインタ8,9を該当する文字列ハッ
シュテーブルへのポインタ57,58にそれぞれ更新す
る。このように、最適化前後の信号を表現した階層情報
保存テーブルから、最適化後の信号に対応したシミュレ
ーション時のイベントの値を保持する領域を設け、既に
知られているシミュレーションにおいて信号の値を容易
に観測することができる。
Hereinafter, 101 to 108 and 11 in FIG.
4 will be described with reference to FIGS. 2 to 8. In the logical description input unit: 102, the logical description: 101
In the hierarchical information storage unit 103, the pointers to the character string table of the hierarchical information table and the input / output signal table and the pointers to the lower layers of the hierarchical information table are all null, and each table is Create For example, in the case of the process 1 of FIG. 2, the No. of the hierarchical information management table of FIG. 1, the pointer to the input / output signal table is set to 1, and other items are null.
To Next, the hierarchical logic determining unit 104 determines whether or not the hierarchical logic is present. When the hierarchical logic is determined, as shown in FIG. 2, a library is searched using, for example, a hierarchical logical name: FA, and the hierarchical logic shown in FIG. When registered in the hierarchy information table as a lower hierarchy, the No. of the hierarchy information management table in FIG. 11 to N
o. 14 and No. of the input / output signal table. 44 to N
o. 58, the character string being processed is sequentially registered in the character string hash table. At this time, the hierarchical information table No. The pointer to the lower hierarchy of No. 4 is changed from null to 11, and the No. of the table is no. After 11, the layer identifiers of the partial circuits in FIG. 3 and the pointers to the input / output signal table are registered as 44, 50, 53, and 56, respectively. The input / output signal name of each partial circuit is represented by the No. of the input / output signal table. Input / output divisions are added to each of the partial circuits from 44, 50, 53, and 56, and the signal names are registered in the character string table.
Registered in the input / output signal table. After all the partial circuits are registered in each table in this manner, the layer identifier updating unit 105 applies the above rule, and “generated layer identifier” = “layer identifier of lower layer” + “.” + “ When generated according to the rule “layer identifier of upper layer”, for example, FIG.
“A1” in FIG. 5 becomes “A1.F11” in FIG. The generated hierarchical identifier is registered in the character string table, and a pointer to the table is set in a corresponding area of the hierarchical information table, in this case, the No. of the hierarchical information table. The pointer to the character string table after conversion of 11 is converted from null to 51.
Update to Similarly, the layer identifiers B1, C1, D1 in FIG.
Is processed as shown in the hierarchical information table of FIG. Next, the signal name conversion unit 106 also applies the above rule,
“Generated signal name” = “Lower layer signal name” + “.” +
When the signal name “SA1” other than the cut edge in FIG.
A1. F11 ". The generated signal name is registered in a character string table, and in this case, N
o. The pointer to the character string table after the conversion of 49 is updated from null to 55. Similarly, when the signal name SA2 in FIG. 3 is processed, the input / output signal table in FIG. 7 is obtained. Also, the signal names F1 to F7 of the cuts connecting the signal connected to the hierarchical logic (the signal of the upper hierarchy) of FIG. 3 and the partial circuit of the lower hierarchy of the hierarchical logic are signals connected to the signal of the upper hierarchy. All of these signal names are registered in the input / output signal table as the converted signal names of the upper signal names. For example, since the cut signal name F1 of F11 in FIG. 2 is connected to the signal name SA1 of the upper layer, the pointer 3 to the converted character string table is set to the input / output signal table No.
Null pointer to the converted string table of 44
Update from to 3. Similarly, the cut signals F2 and F in FIG.
Processing of 3, F4, F5, F6, and F7 results in the input / output signal table of FIG. As a result, the hierarchy information before and after the hierarchical logic development can be stored. Further, by integrating the process-integrable partial circuits in the process-integrable range diagram in FIG. 6 after the hierarchical logic development, unnecessary signals can be recognized.
For example, the outputs SA4 and SA5 of the process P2 in FIG.
If these signals are unnecessary when integrated, and if you want to make these variables, create a new variable name, for example, $ svar1,
The generated name $ svar1 is registered in the character string table.
The pointer 57 to the character string table is set to No. of the input / output table in FIG. The pointer to the converted character string table in 47 is updated from 8 to 57. If the signal is not deleted and made a variable, the outputs SA4 and SA4 of the process P2 in FIG.
5 by the hierarchical identifiers B1. In order to make it the input of F11, it is substituted into the right side of the equation. In this case, the process 2 and the process B1 in the hierarchical identifier PA in FIG. 6 are changed from the logic circuit description in FIG. 4 to the logic circuit description after integration in FIG. Therefore, v2: = (S3 AND S4) OR (S3 O
RS4). The processing related to FIG.
No. 08-078999. However, the signal whose unnecessary event evaluation unit has been optimized and which has become an unnecessary signal in the simulation is a signal necessary for the designer to observe the signal. Then, application number P08-078
In addition to the processing of No. 999, the processing section of the variable name storage section: 114 will be described. The aforementioned signals: SA4 and SA5 are
The variables are $ svar1 and $ svar2, respectively. When this signal name conversion information is registered in the hierarchical information storage table of FIG. 7, No. of the input / output signal table corresponding to the output signal of process 2 in FIG. The pointer null to the character string table after the conversion of 8 and 9 is updated to the pointers 57 and 58 to the corresponding character string hash table, and the process 3 in FIG.
No. of the input / output signal table corresponding to the output signal No. 1
Null pointer to character string table after conversion of 7, 18
l is a pointer 5 to the corresponding character string hash table
7 and 58, respectively. Also, the process A of FIG.
No. 1 of the input / output signal table corresponding to the input signal No. 1 4
Pointers to character string tables after conversion of 7, 48
To the corresponding string hash table 57,
No. 58 in the input / output signal table corresponding to the input signal of the process B1 in FIG. The pointers 8 and 9 to the converted character string tables 50 and 51 are updated to pointers 57 and 58 to the corresponding character string hash tables, respectively. In this way, from the hierarchical information storage table expressing the signals before and after the optimization, an area for holding the value of the event at the time of the simulation corresponding to the signal after the optimization is provided, and the value of the signal in the already known simulation is provided. It can be easily observed.

【0013】以上述べたように、出願番号P08−07
8999号による最適化後の信号を論理シミュレーショ
ン時に観測する場合、設計者が、論理設計時に記述した
信号名で観測することができる。
As described above, application number P08-07
When observing a signal after optimization according to No. 8999 at the time of logic simulation, a designer can observe the signal with the signal name described at the time of logic design.

【0014】[0014]

【発明の効果】本願において開示される発明のうち、代
表的なものによって得られる効果を簡単に説明すれば、
下記の通りである。すなわち、本発明の論理シミュレー
ションにおける信号観測方法によれば、最適化前後の信
号を対応付けているので、設計者が論理設計時に記述し
た信号名で信号を観測できるので、論理回路を解析する
時間を短縮でき、効率的な論理回路の検証を行うことが
できる。
Advantageous effects obtained by typical ones of the inventions disclosed in the present application will be briefly described.
It is as follows. That is, according to the signal observation method in the logic simulation of the present invention, since the signals before and after the optimization are associated with each other, the signal can be observed by the signal name described at the time of the logic design by the designer, so that the time for analyzing the logic circuit is reduced. , And efficient logic circuit verification can be performed.

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

【図1】本発明の一実施例である論理シミュレーション
データ作成処理手順を示す概略説明図である。
FIG. 1 is a schematic explanatory diagram showing a logic simulation data creation processing procedure according to an embodiment of the present invention.

【図2】本発明の一実施例における論理シミュレーショ
ンを行う対象論理回路を示す概略説明図である。
FIG. 2 is a schematic explanatory view showing a target logic circuit for performing a logic simulation in one embodiment of the present invention.

【図3】本発明の一実施例における複数の部分回路を組
み合わせて一機能を実現した階層論理回路図である。
FIG. 3 is a hierarchical logic circuit diagram in which one function is realized by combining a plurality of partial circuits in one embodiment of the present invention.

【図4】本発明の一実施例における論理シミュレーショ
ンを行う対象論理回路の図2をもとにした論理記述の一
部である。
FIG. 4 is a part of a logic description based on FIG. 2 of a target logic circuit to be subjected to a logic simulation in one embodiment of the present invention.

【図5】本発明の一実施例における最適化後の論理シミ
ュレーションを行う対象論理回路を示す概略説明図であ
る。
FIG. 5 is a schematic explanatory diagram showing a target logic circuit for performing a logic simulation after optimization in one embodiment of the present invention.

【図6】本発明の一実施例におけるプロセス統合可能な
範囲を示した概略説明図である。
FIG. 6 is a schematic explanatory diagram showing a range in which processes can be integrated in one embodiment of the present invention.

【図7】本発明の一実施例における論理シミュレーショ
ンを行う対象論理回路の階層情報テーブルおよび入出力
信号テーブルのデータ構造を示す概略説明図である。
FIG. 7 is a schematic explanatory diagram showing a data structure of a hierarchical information table and an input / output signal table of a target logic circuit to be subjected to a logic simulation in one embodiment of the present invention.

【図8】本発明の一実施例におけるプロセス統合後の論
理回路記述の一部である。
FIG. 8 is a part of a description of a logic circuit after process integration in one embodiment of the present invention.

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

101…論理記述、 109…論理回路接続情報、
117…論理シミュレーション用モデル。
101: logic description, 109: logic circuit connection information,
117 ... Logic simulation model.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】複数の論理式または論理ゲートを入力側の
信号の変化に対して出力側の信号を計算する要素である
イベント評価単位の部分論理と、複数の部分論理を信号
線で結合した一機能を有する論理内の部分論理同士を結
合した信号線以外の入力/出力の信号線だけで表現した
階層論理とを識別する階層識別子を設け、前記部分論理
および階層論理で構成された回路を論理シミュレーショ
ンし、回路内の信号を観測する方法において、 回路内の論理の階層識別子が階層論理であるか否かの判
定を行い、階層論理内の部分論理を展開し、最適化する
場合、部分論理同士を結合している信号線の名称が、階
層論理から展開されたことが即座に識別でき、かつ、展
開先でユニークな信号線の名称(以下、信号名と呼ぶ)
となるように、階層識別子を最適化前の信号名に付加
し、最適化前後の信号名を保持できるように最適化前後
の信号名が一意的に決定でき、かつイベント評価値を保
持する領域と連動した文字列領域に格納し、最適化前後
の信号名が即座に取得できることを特徴とする信号線の
名称生成方法。
A plurality of logic expressions or logic gates are connected by a signal line to a partial logic of an event evaluation unit, which is an element for calculating an output signal with respect to a change in an input signal, and a plurality of partial logics. A hierarchical identifier for identifying a hierarchical logic expressed only by an input / output signal line other than a signal line obtained by connecting partial logics in a logic having one function is provided, and a circuit configured by the partial logic and the hierarchical logic is provided. In the method of simulating logic and observing signals in the circuit, it is determined whether or not the hierarchical identifier of the logic in the circuit is hierarchical logic. The name of the signal line connecting the logics can be immediately identified as being developed from the hierarchical logic, and the name of the signal line that is unique at the development destination (hereinafter referred to as signal name)
An area in which the signal names before and after optimization can be uniquely determined so that the signal names before and after optimization can be retained so that the signal names before and after optimization can be retained, and the event evaluation value can be retained. A signal line name generation method characterized in that the signal names before and after the optimization are stored in a character string area linked with the above, and the signal names before and after the optimization can be immediately obtained.
【請求項2】複数の論理式または論理ゲートを入力側の
信号の変化に対して出力側の信号を計算する要素である
イベント評価単位の部分論理と、複数の部分論理を信号
線で結合した一機能を有する論理内の部分論理同士を結
合した信号線以外の入力/出力の信号線だけで表現した
階層論理とを設け、前記部分論理および階層論理で構成
された回路のイベント評価単位の部分回路数を減らすた
めに部分論理同士を結合した最適化回路を論理シミュレ
ーションし、回路内の信号を観測する方法において、部
分論理同士を結合し、結合前に信号であった信号線のイ
ベント評価値を保持するための変数名を生成する際、信
号観測の容易性を考慮した変数名を生成するために、生
成名であることが識別できる単語(以下、検索識別子と
呼ぶ)、生成前の信号名を含み、かつ前記単語と信号名
を分ける記号(以下、生成名セパレータと呼ぶ)で連結
した文字列を変数名として生成し、最適化前後の信号名
を保持できるように最適化前後の信号名が一意的に決定
でき、かつイベント評価値を保持する領域と連動した文
字列領域に格納し、部分回路同士を結合した後に生成し
た信号名が即座に取得できることを特徴とする信号線の
名称生成方法。
2. A partial logic of an event evaluation unit, which is an element for calculating a signal on the output side in response to a change in a signal on the input side, and a plurality of partial logics are connected by a signal line. A hierarchical logic expressed only by input / output signal lines other than signal lines in which partial logics in a logic having one function are connected to each other, and a part of an event evaluation unit of a circuit constituted by the partial logic and the hierarchical logic In the method of simulating an optimized circuit that combines partial logics to reduce the number of circuits and observing the signals in the circuit, the event evaluation value of the signal line that was connected before the combination by combining the partial logics When generating a variable name for holding a variable, a word that can be identified as a generated name (hereinafter referred to as a search identifier) in order to generate a variable name in consideration of ease of signal observation, A character string that includes a signal name and is linked by a symbol that separates the word from the signal name (hereinafter, referred to as a generated name separator) is generated as a variable name, and the signal name before and after optimization is retained so that the signal name before and after optimization can be retained. A signal line in which a signal name can be uniquely determined and stored in a character string area linked to an area holding an event evaluation value, and a signal name generated after coupling of partial circuits can be obtained immediately. Name generation method.
【請求項3】請求項1のような信号名および最適化され
ていない信号名で結合された部分論理の回路を論理シミ
ュレーションし、回路内の信号を観測する方法におい
て、 最適化前の信号名で信号を観測する場合、請求項1の階
層識別子から該当する階層論理か部分論理かを特定し、
最適化以前の信号名で請求項1の信号名をたどることに
より、生成前の信号名で信号を観測できることを特徴と
する論理シミュレーションにおける信号観測方法。
3. A method for performing a logic simulation of a partial logic circuit coupled with a signal name and a signal name not optimized as in claim 1 and observing a signal in the circuit, wherein the signal name before optimization is used. When observing a signal in the above, it is specified from the layer identifier of claim 1 whether the corresponding layer logic or partial logic,
2. A signal observing method in a logic simulation, wherein a signal can be observed with a signal name before generation by following the signal name according to claim 1 with a signal name before optimization.
【請求項4】請求項2のような信号名および最適化され
ていない信号名で結合された部分論理の回路を論理シミ
ュレーションし、回路内の信号を観測する方法におい
て、 最適化前の信号名で信号を観測する場合、 (1)最適化前の信号名に検索識別子および生成名セパ
レータを付加し、最適化後の信号名を生成し、 (2)当該信号名は、イベント評価値を保持する領域と
連動した文字列領域と一意的に決定しているので、最適
化後の信号名か否かを即座に判定し、 (3)最適化後の信号名の場合、文字列領域に連動した
イベント評価値を保持する領域からイベント値を取得
し、 (4)最適化前の信号名の場合、最適化前の信号名で一
意的に文字列領域を決定し、文字列領域に連動したイベ
ント評価値を保持する領域からイベント値を取得し、 最適化前の信号名で信号を観測できることを特徴とする
論理シミュレーションにおける信号観測方法。
4. A method for performing a logic simulation of a partial logic circuit coupled by a signal name and a signal name not optimized as in claim 2 and observing a signal in the circuit, wherein the signal name before optimization is used. (1) A search identifier and a generated name separator are added to a signal name before optimization to generate a signal name after optimization, and (2) the signal name holds an event evaluation value. Since it is uniquely determined to be a character string area linked to the area to be optimized, it is immediately determined whether or not the signal name has been optimized. (3) If the signal name has been optimized, it is linked to the character string area (4) In the case of a signal name before optimization, a character string area is uniquely determined based on the signal name before optimization and linked to the character string area. Get the event value from the area that holds the event evaluation value , Signal observing method in logic simulation, characterized in that the method for observing signals with a signal name before optimization.
JP9224606A 1997-08-21 1997-08-21 Signal observation method in logic simulation Pending JPH1166127A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9224606A JPH1166127A (en) 1997-08-21 1997-08-21 Signal observation method in logic simulation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9224606A JPH1166127A (en) 1997-08-21 1997-08-21 Signal observation method in logic simulation

Publications (1)

Publication Number Publication Date
JPH1166127A true JPH1166127A (en) 1999-03-09

Family

ID=16816369

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9224606A Pending JPH1166127A (en) 1997-08-21 1997-08-21 Signal observation method in logic simulation

Country Status (1)

Country Link
JP (1) JPH1166127A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010033492A (en) * 2008-07-31 2010-02-12 Sony Corp Data processing apparatus and method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010033492A (en) * 2008-07-31 2010-02-12 Sony Corp Data processing apparatus and method, and program

Similar Documents

Publication Publication Date Title
US5301318A (en) Hierarchical netlist extraction tool
JP5558684B2 (en) MAP DATA UPDATE DEVICE, MAP DATA UPDATE PROGRAM, AND MAP DATA UPDATE METHOD
JPH065541B2 (en) Automatic logic circuit design method
JP3175322B2 (en) Automatic logic generation method
JPH0756656B2 (en) Gate logic automatic update method
JP2927706B2 (en) Similar character string expansion method, search method and their devices
JP3828379B2 (en) Test specification generation support apparatus, method, program, and recording medium
JPH10105551A (en) Method for connecting 1st and 2nd clauses as one part of unification of 1st graph while using processor
US7000206B2 (en) Timing path detailer
JPH1166127A (en) Signal observation method in logic simulation
JP6710881B1 (en) Document creation support system
KR100412964B1 (en) Method and apparatus for preparing a logic simulation model and recording medium for storing the same
JP2853649B2 (en) How to create a logic simulation model
US6877140B1 (en) Method and system for generating a schematic representing bus structures
JP6775740B1 (en) Design support device, design support method and design support program
JPH1091651A (en) Logic synthesis method and logic synthesis device
Karpuk et al. Methodology of data domain description for databases design in complex systems
JPWO2007083747A1 (en) Image data processing apparatus and method
JP2845154B2 (en) How to create a logic simulation model
JP4050205B2 (en) Service support apparatus and method
CN113255058B (en) Method, device, equipment and storage medium for processing finite element model of launch vehicle
JPS61151782A (en) Formation of logic operation circuit
JP7110385B2 (en) model comparator
JPH0721229A (en) Distribution system additional circuit automatic generation processing method
JP2000222410A (en) Thesaurus search device and thesaurus search system