JPH0573638A - Operation control simulation system - Google Patents

Operation control simulation system

Info

Publication number
JPH0573638A
JPH0573638A JP3237578A JP23757891A JPH0573638A JP H0573638 A JPH0573638 A JP H0573638A JP 3237578 A JP3237578 A JP 3237578A JP 23757891 A JP23757891 A JP 23757891A JP H0573638 A JPH0573638 A JP H0573638A
Authority
JP
Japan
Prior art keywords
control
unit
event
operation unit
signal
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.)
Granted
Application number
JP3237578A
Other languages
Japanese (ja)
Other versions
JP3064552B2 (en
Inventor
Katsuhiko Okada
克彦 岡田
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP3237578A priority Critical patent/JP3064552B2/en
Publication of JPH0573638A publication Critical patent/JPH0573638A/en
Application granted granted Critical
Publication of JP3064552B2 publication Critical patent/JP3064552B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To reduce simulation time. CONSTITUTION:A control node generation means 2 checking the model conception of a circuit to be simulated, extracting a control signal in an operation unit and generating a control operation unit between the extracted control signal and the operation unit where the operation is executed based on the control and an operation suppression notice means 3 outputting a suppression signal lest the operation unit is operated when there is a control event suppressing the operation in the event of the operation unit simulating the generated model are provided. Furthermore, a control operation execution means 5 discriminating whether the operation unit is that for control which is generated in the control node generation means 2 or a normal one and operating the control operation unit and an operation execution means 6 executing the operation when the operation suppression signal does not give a suppression instruction in the case of the normal operation unit are provided. Thus, the event is generated by an event type and an execution result, which are outputted from the control operation execution means 5 and the operation execution means 6.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は演算制御シミュレーショ
ン方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an arithmetic control simulation system.

【0002】[0002]

【従来の技術】従来演算制御シミュレーション方式は、
制御信号も通常の信号も区別なく1種類のイベントでシ
ミュレーションしていた。すなわち、以下のようにであ
る。
2. Description of the Related Art The conventional arithmetic control simulation method is
Both the control signal and the normal signal were simulated with one type of event. That is, as follows.

【0003】(1) 制御などに注目せずにモデルを作
成する。
(1) A model is created without paying attention to control and the like.

【0004】(2) イベントの立っている1演算単位
を取り出す。
(2) One operation unit in which an event stands is taken out.

【0005】(3) 演算単位を演算する。(3) The operation unit is calculated.

【0006】(4) 接続先を接続情報格納場所より求
め、出力状態値を伝播させる。
(4) Obtain the connection destination from the connection information storage location and propagate the output state value.

【0007】(5) 演算の必要な演算単位をすべて演
算していない時、次の演算単位を取り出し、(2)へ。
そうでなければ終了する。
(5) When all the calculation units that require calculation are not calculated, take out the next calculation unit and go to (2).
Otherwise it ends.

【0008】[0008]

【発明が解決しようとする課題】上述した従来の演算制
御シミュレーション方式では、多ファンアウトを持つ制
御信号がある際、制御信号が変化すると、条件とは関係
なくファンアウト先の演算単位にイベント伝播されるた
めに、実際に動きのない演算単位についてもシミュレー
ションを行い、実行速度が遅くなるという問題点があっ
た。
In the above-described conventional arithmetic control simulation method, when there is a control signal having multiple fan-outs, if the control signal changes, event propagation is performed in the fan-out destination arithmetic unit regardless of the conditions. Therefore, there is a problem in that the simulation is performed even for an operation unit that does not actually move and the execution speed becomes slow.

【0009】[0009]

【課題を解決するための手段】本発明の演算制御シミュ
レーション方式は、モデル構造を調べ、演算単位中の制
御信号を抽出する制御信号抽出手段と、制御信号抽出手
段で抽出された制御信号と、その制御に基づき演算が実
行される演算単位の間に、制御用演算単位を発生する制
御ノード発生手段と、生成されたモデルをシミュレーシ
ョンする演算単位のイベントに演算を抑制する制御用イ
ベントがある時には、その演算単位を演算させないよう
に抑制信号を出力する演算抑制通知手段と、制御トード
発生手段で発生した制御用演算単位か、通常の演算単位
か判別するノード判別手段と、ノード判別手段から出力
される判別信号により、制御用演算単位を演算する制御
演算実行手段と、同判別信号により通常の演算単位の場
合には、演算抑制通知手段から出力される演算抑制信号
が抑制指示していない時、演算実行する演算実行手段
と、制御演算実行手段もしくは演算実行手段から出力さ
れるイベント種と実行結果よりイベントを発生するイベ
ント発生手段とを有する。
According to the arithmetic control simulation method of the present invention, a control signal extracting means for examining a model structure and extracting a control signal in an arithmetic unit, a control signal extracted by the control signal extracting means, When there is a control node generating means for generating a control operation unit and a control event for suppressing the operation in the event of the operation unit for simulating the generated model, between the operation units in which the operation is executed based on the control. , An operation suppression notifying means for outputting a suppression signal so as not to operate the operation unit, a node determining means for determining whether it is a control operation unit generated by the control toad generating means or a normal operation unit, and output from the node determining means Control operation executing means for calculating the control operation unit according to the determination signal, and operation suppression in the case of the normal operation unit according to the determination signal When the operation suppression signal output from the knowing means does not instruct the suppression, the operation executing means for executing the operation, and the event generating means for generating the event from the event type and the execution result output from the control operation executing means or the operation executing means Have and.

【0010】[0010]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0011】図1は本発明の一実施例の構成図であり、
制御信号抽出手段1と、制御ノード発生手段2と、演算
抑制通知手段3と、ノード判別手段4と、制御演算実行
手段5と、演算実行手段6と、イベント発生手段7とか
ら構成されている。
FIG. 1 is a block diagram of an embodiment of the present invention.
The control signal extracting means 1, the control node generating means 2, the operation suppression notifying means 3, the node discriminating means 4, the control operation executing means 5, the operation executing means 6, and the event generating means 7. ..

【0012】次に、本発明の動作について図面を用いて
説明する。
Next, the operation of the present invention will be described with reference to the drawings.

【0013】図2は本説明で使用するマシンの状態遷移
図であり、状態3で動作する演算単位として、図3に示
す2つの演算器をとりあげる。図3(a),図3(b)
の各機能記述分は以下のようである。
FIG. 2 is a state transition diagram of the machine used in the present description, and the two arithmetic units shown in FIG. 3 are taken as the arithmetic units operating in the state 3. 3 (a) and 3 (b)
Each functional description of is as follows.

【0014】 先ずモデルを生成する。[0014] First, a model is generated.

【0015】(1)図3に示す制御信号抽出手段1によ
り、モデル構造を調べて、演算単位中の制御信号CL
K,AおよびBを抽出する。
(1) The control signal extraction means 1 shown in FIG. 3 examines the model structure to determine the control signal CL in the arithmetic unit.
Extract K, A and B.

【0016】(2)図4に示す制御ノード発生手段2に
より、制御信号抽出手段1で抽出された制御信号CL
K,AおよびBと、制御信号CLK,AおよびBに基づ
き演算が実行される演算単位の間に、制御演算単位10
を出力する。制御演算単位10は、制御信号CLK,A
およびBに変化が起き、制御信号CLK,AおよびBの
演算条件が満たされない時、その制御に基づき演算が実
行される演算単位へ、演算を抑制することを指示する制
御用イベントを出力する。以上の結果により、図4に示
すように2つの演算単位20,30に制御演算単位10
が結合される。
(2) The control signal CL extracted by the control signal extracting means 1 by the control node generating means 2 shown in FIG.
Between the K, A and B and the operation unit in which the operation is executed based on the control signals CLK, A and B, the control operation unit 10
Is output. The control calculation unit 10 includes control signals CLK and A.
When B and B change, and the calculation conditions of the control signals CLK, A and B are not satisfied, a control event for instructing to suppress the calculation is output to the calculation unit in which the calculation is executed based on the control. As a result of the above, as shown in FIG.
Are combined.

【0017】次に、このようにして生成されたモデルの
シミュレーションを実行する。
Next, the simulation of the model thus generated is executed.

【0018】(3)演算抑制通知手段3は、シミュレー
ションする制御演算単位10のイベントに演算を抑制す
る制御用イベントがないので、制御演算単位10を演算
させないような抑制信号は出力しない。
(3) The operation suppression notifying means 3 does not output a suppression signal that does not cause the control operation unit 10 to operate because the event of the control operation unit 10 to be simulated has no control event for suppressing operation.

【0019】(4)ノード判別手段4は、制御ノード発
生手段2で発生した演算単位が制御演算単位10である
と判別する。
(4) The node discriminating means 4 discriminates that the arithmetic unit generated by the control node generating means 2 is the control arithmetic unit 10.

【0020】(5)制御演算実行手段5は、ノード判別
手段4から出力される判別信号により、制御演算単位1
0を演算し、制御用イベントを発生することを指示す
る。
(5) The control calculation execution means 5 uses the discrimination signal output from the node discrimination means 4 to determine the control computation unit 1
It is instructed to calculate 0 and generate a control event.

【0021】(6)イベント発生手段7は、制御演算実
行手段5から出力されるイベント種より制御用イベント
を発生する。
(6) The event generating means 7 generates a control event from the event type output from the control calculation executing means 5.

【0022】(7)演算抑制通知手段3は、シミュレー
ションする演算単位20のイベントに演算を抑制する制
御用イベントがあるので、その演算単位20を演算させ
ないように抑制信号を出力する。
(7) The operation suppression notifying means 3 outputs the suppression signal so that the operation unit 20 to be simulated does not operate because there is a control event for suppressing the operation in the event of the operation unit 20 to be simulated.

【0023】(8)ノード判別手段4は、制御ノード発
生手段2で発生した演算単位が制御演算単位でない、通
常の演算単位であると判別する。
(8) The node discriminating means 4 discriminates that the arithmetic unit generated by the control node generating means 2 is not a control arithmetic unit but an ordinary arithmetic unit.

【0024】(9)演算実行手段6は、ノード判別手段
4から出力される判別信号により、通常の演算単位の演
算が指示されるが、演算抑制通知手段3から出力される
演算抑制信号が抑制指示しているので、演算実行はしな
い。
(9) The operation executing means 6 instructs the operation of a normal operation unit by the determination signal output from the node determining means 4, but suppresses the operation inhibiting signal output from the operation inhibiting notifying means 3. Since the instruction is given, the calculation is not executed.

【0025】(10)イベント発生手段7は、演算実行
手段6から出力されるイベント種と実行結果より、イベ
ントは発生しない。
(10) The event generating means 7 does not generate an event based on the event type and the execution result output from the operation executing means 6.

【0026】(11)演算単位のシミュレーションがす
べて終了してなければ(3)以降の処理を繰り返す。
(11) If all the simulations in the unit of operation are not completed, the processes from (3) are repeated.

【0027】[0027]

【発明の効果】以上説明したように本発明は、制御用イ
ベントを用いて演算を行うことによい、多ファンアウト
を持つ制御信号がある回路で、制御信号が変化する時に
も、シミュレーションに関与しない演算をしないため、
処理時間を減少させることができる。
As described above, the present invention is a circuit which has a control signal having multiple fan-outs, which is good for performing an operation using a control event, and is involved in simulation even when the control signal changes. Do not perform calculations,
The processing time can be reduced.

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

【図1】本発明の一実施例の構成図である。FIG. 1 is a configuration diagram of an embodiment of the present invention.

【図2】本発明の動作説明に用いるマシンの状態遷移図
である。
FIG. 2 is a state transition diagram of a machine used for explaining the operation of the present invention.

【図3】本発明の動作説明に用いる演算単位のモデル例
を示す図である。
FIG. 3 is a diagram showing an example of a model of an arithmetic unit used for explaining the operation of the present invention.

【図4】本発明の動作説明上の図である。FIG. 4 is a diagram for explaining the operation of the present invention.

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

1 制御信号抽出手段 2 制御ノード発生手段 3 演算抑制通知手段 4 ノード判別手段 5 制御演算実行手段 6 演算実行手段 7 イベント発生手段 DESCRIPTION OF SYMBOLS 1 control signal extraction means 2 control node generation means 3 calculation suppression notification means 4 node discrimination means 5 control calculation execution means 6 calculation execution means 7 event generation means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 シミュレーションする回路のモデル構造
を調べ、演算単位中の制御信号を抽出する制御信号抽出
手段と、 制御信号抽出手段で抽出された制御信号と、その制御に
基づき演算が実行される演算単位の間に、制御用演算単
位を発生する制御ノード発生手段と、 生成されたモデルをシミュレーションする演算単位のイ
ベントに、演算を抑制する制御用イベントがある時に
は、その演算単位を演算させないように抑制信号を出力
する演算抑制通知手段と、 制御ノード発生手段で発生した制御用演算単位か、通常
の演算単位か判別するノード判別手段と、 ノード判別手段から出力される判別信号により、制御用
演算単位を演算する制御演算実行手段と、 前記判別信号により、通常の演算単位の場合には、演算
抑制通知手段から出力される演算抑制信号が抑制指示し
ていない時、演算実行する演算実行手段と、 制御演算実行手段もしくは演算実行手段から出力される
イベント種と実行結果よりイベントを発生するイベント
発生手段とを有する演算制御シミュレーション方式。
1. A control signal extracting means for examining a model structure of a circuit to be simulated and extracting a control signal in an operation unit, a control signal extracted by the control signal extracting means, and an operation based on the control. When a control node generating means for generating a control operation unit and an operation unit event for simulating the generated model have a control event for suppressing the operation between the operation units, do not operate the operation unit. A control signal that outputs a control signal, a node discriminating unit that discriminates between the control arithmetic unit generated by the control node generating unit and a normal arithmetic unit, and a discriminating signal output from the node discriminating unit In the case of a normal calculation unit, the control calculation execution unit that calculates the calculation unit and the determination signal outputs the calculation suppression notification unit. Arithmetic control simulation having an arithmetic operation executing means for executing arithmetic operation when the operation suppressing signal does not instruct suppression, and an event generating means for generating an event from the control operation executing means or the event type output from the operation executing means and the execution result. method.
JP3237578A 1991-09-18 1991-09-18 Arithmetic control simulation method Expired - Fee Related JP3064552B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3237578A JP3064552B2 (en) 1991-09-18 1991-09-18 Arithmetic control simulation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3237578A JP3064552B2 (en) 1991-09-18 1991-09-18 Arithmetic control simulation method

Publications (2)

Publication Number Publication Date
JPH0573638A true JPH0573638A (en) 1993-03-26
JP3064552B2 JP3064552B2 (en) 2000-07-12

Family

ID=17017396

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3237578A Expired - Fee Related JP3064552B2 (en) 1991-09-18 1991-09-18 Arithmetic control simulation method

Country Status (1)

Country Link
JP (1) JP3064552B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011501290A (en) * 2007-10-17 2011-01-06 シノプシス インコーポレイテッド IC structure simulation speed improvement during scan circuit test

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011501290A (en) * 2007-10-17 2011-01-06 シノプシス インコーポレイテッド IC structure simulation speed improvement during scan circuit test

Also Published As

Publication number Publication date
JP3064552B2 (en) 2000-07-12

Similar Documents

Publication Publication Date Title
JP2007183898A (en) Method for testing hardware circuit block described in hardware description language
JPH07105253A (en) Data bus circuit layout generation system
JP3144950B2 (en) Logic simulation method
JPH0573638A (en) Operation control simulation system
JPH05135130A (en) Method for logic simulation and device therefore
JP2508620B2 (en) Logic circuit simulation device
JPS62500474A (en) High speed BCD/binary adder
JP2569881B2 (en) Concurrent failure simulation method
JPH0728879A (en) Logical simulation system
JP3135357B2 (en) Delay simulation device
JPS60142423A (en) Forming method of conditional code
JP2781081B2 (en) Logical operation method by parallel operation mechanism
JPH064511A (en) Logical simulation device
JP2001067383A (en) False path detection and check method for static timing analysis method
JPH0916649A (en) Hazard simulation device for logic circuit
JPH1196197A (en) Logical synthesis method
JP2996293B2 (en) Failure simulation method
JP3037787B2 (en) Logic simulation method and logic simulation device
JP2556904B2 (en) High-speed adder / subtractor
JP3270487B2 (en) Fuzzy inference equipment
JP2008522304A (en) Electronic device having multi-operand arithmetic circuit
JPH05266124A (en) Method for preparing circuit element library for logic circuit simulation
JPH0628319A (en) Logical simulator
JPS5916303B2 (en) data processing equipment
JPS59123938A (en) Execution system of data driving type machine

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000411

LAPS Cancellation because of no payment of annual fees