JPH03119474A - Simulation device - Google Patents

Simulation device

Info

Publication number
JPH03119474A
JPH03119474A JP1257361A JP25736189A JPH03119474A JP H03119474 A JPH03119474 A JP H03119474A JP 1257361 A JP1257361 A JP 1257361A JP 25736189 A JP25736189 A JP 25736189A JP H03119474 A JPH03119474 A JP H03119474A
Authority
JP
Japan
Prior art keywords
section
input
event
speed
unit
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
JP1257361A
Other languages
Japanese (ja)
Inventor
Kaoru Okazaki
岡崎 薫
Satoshi Igawa
井川 智
Takafumi Nakashiba
中柴 孝文
Shuji Miyasaka
修二 宮阪
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 JP1257361A priority Critical patent/JPH03119474A/en
Publication of JPH03119474A publication Critical patent/JPH03119474A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To intentionally control the simulating speed and to effectively perform the analyses of results, the debugging work, etc., by providing a speed control part which control the working speed of an action simulating part, a display part which displays the output data obtained from the action simulating part, etc. CONSTITUTION:An input part 11 is provided to input the circuit diagrams and the control instructions to a computer together with a storage part 12 which stores the inputted data, an action simulating part 13 which simulates the action of a circuit based on the data stored in the part 12, the control instructions inputted directly from the part 11, etc., a speed control part 14 which controls the working speed of the part 13, and a display part 15 which displays the output data obtained from the part 13. In such a constitution, the circuit action that is carried out at the time to be noted can be simulated at a low speed and with extremely high efficiency when the simulating speed is intentionally changed and the analyses of simulation results and the debugging work of data on the circuits to be simulated are carried out based on the displayed output results.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、計算機上に入力された回路データを模擬的に
動作させるシミュレーション装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION FIELD OF INDUSTRIAL APPLICATION The present invention relates to a simulation device that simulates operation of circuit data input to a computer.

従来の技術 従来、計算機上に入力された回路データを模擬的に動作
させるシミュレーション装置の動作速度は、該シミュレ
ーション装置が搭載されている計算機装置の能力に依存
していて、同じ条件下で一定である。
BACKGROUND OF THE INVENTION Conventionally, the operating speed of a simulation device that simulates circuit data input to a computer depends on the capacity of the computer device in which the simulation device is installed, and is not constant under the same conditions. be.

以下、図面を参照しながら、」−述した従来のシミュレ
ーション装置の動作を説明する。
Hereinafter, the operation of the conventional simulation apparatus described above will be explained with reference to the drawings.

第3図は、従来のシミュレーション装置の一般的な構成
図を示すものである。第3図におい°(31は計算機上
に回路図や制御命令を入力することのできる入力部、3
2は前記入力部3Iから入力されたデータを記憶してお
くことのできる記憶部、33は前記記憶部32に格納さ
れているデータや、前記入力部31から直接入力された
制御命令等を)、(にし7て・回路を模擬的に動作させ
る動作模擬部、34は前記動作模擬部33から得られる
出力データを表示させることのできる表示部である。
FIG. 3 shows a general configuration diagram of a conventional simulation device. In FIG.
2 is a storage unit that can store data input from the input unit 3I; 33 is a storage unit that can store data stored in the storage unit 32, control commands, etc. directly input from the input unit 31) (7) An operation simulator 34 is a display unit that can display output data obtained from the operation simulator 33.

以降、配線の状態を変更させるようなできごとをイベン
トと呼ぶ。
Hereinafter, an event that changes the state of the wiring will be referred to as an event.

第4図は、第3図の構成を具体化した従来のシミュレー
ション装置の構成例である。
FIG. 4 shows an example of the configuration of a conventional simulation device that embodies the configuration shown in FIG.

第4図において、40は全回路素子の動作や遅延の情報
が格納されているライブラリ、4Iは計算機上に回路図
や制御命令を入力することのできる入力部、42は入力
部4Iから入力された回路の構成素子の動作を記憶して
おくことのできる素子機能記憶部、43は前記入力回路
の各構成素子の遅延情報を記憶しておくことのできる遅
延情報記憶部、44は前記入力回路の構成素子間の配線
による接続関係を記憶しておくことのできる素子間接続
関係記憶部、45は素子間接続関係記憶部44に記憶さ
れている接続関係から、現在対象としている構成素子と
同一の配線で隣接している素子を追跡することのできる
接続関係追跡部、46は素子機能記憶部42や遅延情報
記憶部43を基にして、発行されたイベントによる処理
を実行するイベント実行部、47はイベントを発行する
イベントスケジューリング部、48は出力部、である。
In FIG. 4, numeral 40 is a library in which information on the operation and delay of all circuit elements is stored, 4I is an input section through which circuit diagrams and control instructions can be input into the computer, and 42 is input from the input section 4I. 43 is a delay information storage section that can store delay information of each component of the input circuit; 44 is the input circuit; An inter-element connection relationship storage section 45 is capable of storing connection relationships between the component elements by wiring, and an inter-element connection relationship storage section 45 stores connections between the component elements, which are the same as the current target component, from the connection relationships stored in the inter-element connection relationship storage section 44. 46 is an event execution unit that executes processing according to an issued event based on the element function storage unit 42 and the delay information storage unit 43; 47 is an event scheduling unit that issues events, and 48 is an output unit.

以下、第4図を参考にして、従来のシミュレーション装
置の動作を述べる。
The operation of the conventional simulation device will be described below with reference to FIG.

入力部41から回路図データが入力されると、ライブラ
リ40を参照することにより、入力部41から入力され
た回路の構成素子の動作を素子機能記憶部42に記憶し
、同じく前記ライブラリを参照することにより、前記入
力回路の各構成素子の遅延情報を遅延情報記憶部に記憶
し、前記入力回路の構成素子間の配線による接続関係を
素子間接続関係記憶部44に記憶する。イベントの発行
順序を管理してイベントを発行するイヘン1−スケジュ
ーリング部47には入力部41から入力された回路デー
タの初期状態値から、初期イベントが設定され、イベン
トが発行されると、対象の配線の状態値がイベント実行
部46に、配線塩が接続関係追跡部45に引き渡される
。接続関係追跡部45では、素子間接続関係記憶部44
を基にして、前記現在対象となっている配線を入力信号
線とするような回路素子を追跡して、この回路素子名を
イベント実行部46に、この回路素子の出力信号線名を
イベントスケジューリング部47に引き渡す。イベント
実行部46では、接続関係追跡部45から引き渡された
回路素子の動作を素子機能記憶部42から呼びだし、先
にイベントスケジューリング部47から引き渡された配
線の状態値を入力値とした時の動作出力値を求める。
When circuit diagram data is input from the input unit 41, by referring to the library 40, the operation of the circuit component input from the input unit 41 is stored in the element function storage unit 42, and the library is also referred to. As a result, delay information of each component of the input circuit is stored in the delay information storage section, and connection relationships between the components of the input circuit by wiring are stored in the inter-element connection relationship storage section 44. Managing the order of event issuance and issuing events 1 - In the scheduling unit 47, an initial event is set based on the initial state value of the circuit data input from the input unit 41, and when the event is issued, the target The wiring state value is delivered to the event execution unit 46, and the wiring salt is delivered to the connection relationship tracking unit 45. In the connection relationship tracking section 45, the inter-element connection relationship storage section 44
Based on this, a circuit element whose input signal line is the current target wiring is traced, and this circuit element name is sent to the event execution unit 46, and the output signal line name of this circuit element is sent to event scheduling. Hand over to Department 47. The event execution unit 46 calls out the operation of the circuit element handed over from the connection relationship tracking unit 45 from the element function storage unit 42, and operates when the wiring state value handed over from the event scheduling unit 47 is used as an input value. Find the output value.

もし、この回路素子の動作出力4IEが、この回路素子
の元の出力値と異なれば、イベント実行部46では、前
記回路素子の遅延量を、遅延情報記憶部43を基にして
求め、先に求めた動作出力値と、この遅延量とをイベン
トスケジューリング部47に引き渡す。イベントスケジ
ューリング部47では前記イベント実行部46から得ら
れた全動作出力値と接続関係追跡部45から得られた前
記出力信号線名からなるイベントを、前記イベント実行
部46から得られた前記遅延量の分だけ時刻を遅らせて
発行する。
If the operational output 4IE of this circuit element is different from the original output value of this circuit element, the event execution unit 46 calculates the delay amount of the circuit element based on the delay information storage unit 43, and first The obtained operational output value and this delay amount are delivered to the event scheduling section 47. The event scheduling section 47 generates an event consisting of the total operation output value obtained from the event execution section 46 and the output signal line name obtained from the connection relationship tracking section 45, and the delay amount obtained from the event execution section 46. The time is delayed by the amount of time and is issued.

上記の動作系は、予め設定されたシミュレーションの実
行時間が過ぎるまで行われる。イベント実行部46で求
められた前記動作出力値は逐次、出力部48に引き渡さ
れ、出力部48ではこのデータを基にして表示等の処理
を行なう。
The above operation system is performed until the preset simulation execution time has elapsed. The operation output values obtained by the event execution section 46 are sequentially delivered to the output section 48, and the output section 48 performs processing such as display based on this data.

発明が解決しようとする課題 しかしながら、上記のようなシミュレーション装置では
、シミュレーションの速度は計算機の処理能力に依存し
ていて、意図的に速度を変えることはできなかった。
Problems to be Solved by the Invention However, in the above simulation apparatus, the speed of simulation depends on the processing power of the computer, and the speed cannot be changed intentionally.

このため、出力部に表示された出力結果からシミュレー
ション結果の解析やシミュレーション対象回路データデ
バッグを行なう時に、注目すべき時刻における回路の動
作も、特に注目する必要のない時刻における回路の動作
も関係なく、いつも一定の速度でシミュレーションして
しまうため、注目したい時刻における回路の動作を吟味
するために、例えばシミニレ−ジョン装置の動作速度を
遅くすると、注目する必要のない時刻も含めた全ての時
刻においてシミュレーション速度は遅くなり、効率が非
常に悪かった。
Therefore, when analyzing simulation results or debugging simulation target circuit data from the output results displayed in the output section, it does not matter whether the circuit operates at times that require attention or when it does not require particular attention. , since the simulation is always performed at a constant speed, in order to examine the operation of the circuit at the time you want to pay attention to, for example, if you slow down the operation speed of the simulation device, the simulation will be performed at all times, including times when you do not need to pay attention. The simulation speed was slow and the efficiency was very low.

本発明はかかる課題を鑑みて、意図的に速度を変えるこ
とのできるシミュレーション装置を提供するものである
In view of this problem, the present invention provides a simulation device that can intentionally change the speed.

課題を解決するだめの手段 上記課題を解決するために本発明は、計算機上に回路図
や制御命令を入力することのできる入力部と、前記入力
部から入力されたデータを記憶しておくことのできる記
憶部と、前記記憶部に格納されているデータや、前記入
力部から直接入力された制御命令等を基にして回路を模
擬的に動作させる動作模擬部と、前記動作模擬部の動作
速度を制御することのできる速度制御部と、1111記
動4I桑擬部から得られる出力データを表示させること
のできる表示部とを備えたものである。
Means for Solving the Problems In order to solve the above problems, the present invention provides an input section into which circuit diagrams and control instructions can be input into a computer, and a storage of data input from the input section. an operation simulating section that operates a circuit in a simulated manner based on data stored in the storage section and control commands directly input from the input section; and an operation of the operation simulating section. It is equipped with a speed control section that can control the speed, and a display section that can display output data obtained from the 1111-recording and 4I mulberry display section.

作用 本発明は−F記した構成によって、意図的にシミュレー
ションの実行速度を変化させることができるので、例え
ば、出力装置に表示された出力結果からシミュレーショ
ン結果の解析やシミュレーション対象回路データのデバ
ッグを行なう時に、注目すべき時刻における回路の動作
のみを低速でシミュレーションすることができ、非常に
効率的である。
Effects of the present invention With the configuration described in -F, it is possible to intentionally change the execution speed of the simulation, so that, for example, analysis of simulation results or debugging of simulation target circuit data can be performed from the output results displayed on the output device. Sometimes, it is possible to simulate only the operation of a circuit at a time of interest at low speed, which is very efficient.

実施例 以下、本発明の一実施例のシミュレーション装置につい
て、図面を参照しながら説明する。
EXAMPLE Hereinafter, a simulation apparatus according to an example of the present invention will be described with reference to the drawings.

第1図は、本発明の実施例の、計算機上に入力された回
路データを動作速度を変えてシミュレーションできるシ
ミュレーション装置の構成図を示すものである。
FIG. 1 shows a configuration diagram of a simulation apparatus according to an embodiment of the present invention, which can simulate circuit data input to a computer by changing the operating speed.

第1図において、11は計算機上に回路図や制御命令を
入力することのできる入力部、12は入力部11から入
力されたデータを記憶しておくことのできる記憶部、I
3は記憶部12に格納されているデータや、入力部11
から直接入力された制御命令等を基にして回路を模擬的
に動作させる動作模擬部、14は動作模擬部13の動作
速度を制御することのできる速度制御部、15は動作模
擬部13から得られる出力データを表示させることので
きる表示部である。
In FIG. 1, reference numeral 11 is an input section into which circuit diagrams and control instructions can be input into the computer, 12 is a storage section which can store data input from the input section 11, and I
3 is the data stored in the storage unit 12 and the input unit 11.
14 is a speed control unit that can control the operating speed of the operation simulation unit 13; 15 is a speed control unit that can control the operation speed of the operation simulation unit 13; This is a display section that can display the output data that is displayed.

第2図は、第1図の構成をより具体化した本発明のシミ
ュレーション装置の構成例である。
FIG. 2 shows an example of the configuration of the simulation apparatus of the present invention, which is a more specific version of the configuration shown in FIG.

第2図において、20は全回路素子の動作や遅延の情報
が格納されているライブラリ、21は計算機上に回路図
や制御命令を入力することのできる入力部、22は入力
部21から入力された回路の構成素子の動作を記憶して
おくことのできる素子機能記憶部、23は前記入力回路
の各構成素子の遅延情報を記憶しておくことのできる遅
延情報記憶部、24は前記入力回路の構成素子間の配線
による接続関係を記憶しておくことのできる素子間接続
関係記憶部、25は素子間接続関係記憶部24に記憶さ
れている接続関係から、現在対象としている構成素子と
同一の配線で隣接している素子を追跡することのできる
接続関係追跡部、26は素子機能記憶部22や遅延情報
記憶部23を基にして、発行されたイベントによる処理
を実行するイベント実行部、27はイベントを発行する
イベントスケジューリング部、28は接続関係追跡部2
5、或いはイベント実行部26、或いはイベントスケジ
ューリング部27、或いはこれらの複数の処理部、の動
作速度を変化させる機能を持つ動作速度制御部、29は
イベント実行部26で得られた出力信号値を出力する出
力部である。
In FIG. 2, 20 is a library in which information on the operation and delay of all circuit elements is stored, 21 is an input section through which circuit diagrams and control instructions can be input into the computer, and 22 is an input section for inputting information from the input section 21. 23 is a delay information storage section that can store delay information of each component of the input circuit; 24 is the input circuit; An inter-element connection relationship storage unit 25 is capable of storing connection relationships by wiring between component elements, and an element-to-element connection relationship storage unit 25 stores connections between the component elements that are the same as the current target component, based on the connection relationships stored in the inter-element connection relationship storage unit 24. 26 is an event execution unit that executes processing according to an issued event based on the element function storage unit 22 and the delay information storage unit 23; 27 is an event scheduling unit that issues events; 28 is a connection relationship tracking unit 2
5, or an operation speed control section 29 having a function of changing the operation speed of the event execution section 26, the event scheduling section 27, or a plurality of these processing sections; This is an output section that outputs.

以下、第2図を参考にして、本発明のシミュレーション
装置の動作を述べる。入力部21から回路図データが入
力されると、ライブラリ20を参照することにより、入
力部21から入力された回路の構成素子の動作を素子機
能記憶部22に記憶し、同じく前記ライブラリを参照す
ることにより、前記入力回路の各構成素子の遅延情報を
遅延情報記憶部に記憶し、前記入力回路の構成素子間の
配線による接続関係を素子間接続関係記憶部24に記憶
する。
The operation of the simulation apparatus of the present invention will be described below with reference to FIG. When circuit diagram data is input from the input unit 21, by referring to the library 20, the operation of the circuit component input from the input unit 21 is stored in the element function storage unit 22, and the library is also referred to. As a result, delay information of each component of the input circuit is stored in the delay information storage section, and connection relationships between the components of the input circuit by wiring are stored in the inter-element connection relationship storage section 24.

イベントの発行順序を管理してイベントを発行するイベ
ントスケジューリング部27には入力部21か0 ら入力された回路データの初期状態値から、初期イベン
トが設定され、イベントが発行されると、対象の配線の
状態値がイベント実行部26に、配線基が接続関係追跡
部25に引き渡される。接続関係追跡部25では、素子
間接続関係記憶部24を基にして、前記現在対象となっ
ている配線を入力信号線とするような回路素子を追跡し
て、この回路素子名をイベント実行部26に、この回路
素子の出力信号線名をイベントスケジューリング部27
に引き渡す。イベント実行部26では、接続関係追跡部
25から引き渡された回路素子の動作を素子機能記憶部
22から呼びだし、先にイベントスケジューリング部2
7から引き渡された配線の状態値を入力値とした時の動
作出力値を求める。もし、この回路素子の動作出力値が
、この回路素子の元の出力値と異なれば、イベント実行
部26では、前記回路素子の遅延量を、遅延情報記憶部
23を基にして求め、先に求めた動作出力値と、この遅
延量とをイベントスケジューリング部27に引き渡す。
The event scheduling unit 27, which manages the event issuing order and issues events, sets an initial event from the initial state value of the circuit data input from the input unit 21 or 0, and when the event is issued, the target The wiring state value is delivered to the event execution unit 26, and the wiring group is delivered to the connection relationship tracking unit 25. The connection relationship tracing unit 25 traces a circuit element whose input signal line is the current target wiring based on the inter-element connection relationship storage unit 24, and uses this circuit element name as an event execution unit. 26, the output signal line name of this circuit element is specified by the event scheduling unit 27.
hand over to. The event execution unit 26 calls the operation of the circuit element handed over from the connection relationship tracking unit 25 from the element function storage unit 22, and first calls the operation of the circuit element handed over from the connection relationship tracking unit 25 to the event scheduling unit 26.
The operation output value is obtained when the state value of the wiring handed over from 7 is used as the input value. If the operational output value of this circuit element is different from the original output value of this circuit element, the event execution unit 26 calculates the delay amount of the circuit element based on the delay information storage unit 23, and first The obtained operational output value and this delay amount are delivered to the event scheduling section 27.

また、イベント実行部26では、接続関係追跡部25で
引き渡された前記回路素子の遅延量を、遅延情報記憶部
23を基にして求め、これもイベントスケジューリング
部27に引き渡す。イベントスケジューリング部27で
は前記イベント実行部26から得られた前記動作出力値
と接続関係追跡部25から得られた前記出力信号線名か
らなるイベントを、前記イベント実行部26から得られ
た前記遅延量の分だけ時刻を遅らせ発行する。
Furthermore, the event execution unit 26 calculates the delay amount of the circuit element handed over by the connection relationship tracing unit 25 based on the delay information storage unit 23, and also passes this to the event scheduling unit 27. The event scheduling section 27 generates an event consisting of the operation output value obtained from the event execution section 26 and the output signal line name obtained from the connection relationship tracking section 25, and the delay amount obtained from the event execution section 26. The time will be delayed by the amount of time and will be issued.

上記の動作系は、予め設定されたシミュレーションの実
行時間が過ぎるまで行われる。イベント実行部26で求
められた前記動作出力値は逐次、出力部29に引き渡さ
れ、出力部29ではこのデータを基にして表示等の処理
を行なう。
The above operation system is performed until the preset simulation execution time has elapsed. The operation output values obtained by the event execution section 26 are sequentially delivered to the output section 29, and the output section 29 performs processing such as display based on this data.

動作速度制御部28に、入力部21から制御命令が入力
されて、該シミュレーション装置の動作速度を変化させ
る要求が発生した場合、動作速度制御部28は、接続関
係追跡部25、或いはイベント実行部26、或いはイベ
ントスケジューリング部27、或いはこれらの複数の処
理部、の動作速度を変化させる。動作速度制御部28の
具体的な例を以下に示1 2 す。
When a control command is input to the operation speed control section 28 from the input section 21 and a request to change the operation speed of the simulation device occurs, the operation speed control section 28 controls the connection relationship tracking section 25 or the event execution section. 26, or the event scheduling unit 27, or a plurality of these processing units. A specific example of the operating speed control section 28 is shown below.

第2図における動作速度制御部28に、入力部21から
、「出力結果を5秒間遅らせて出力させなさい」、とい
うコマンドが入力された場合を考える。
Consider a case where a command "Delay the output result for 5 seconds and output it" is input from the input section 21 to the operation speed control section 28 in FIG. 2.

第5図は、動作速度制御部28が、接続関係追跡部25
の動作速度を制御する例である。第5図において、第5
図(a)は、本発明のシミュレーション装置である第2
図の動作速度制御部28が、接続関係追跡部25の動作
速度を変更する処理の流れを表す図である。第5図(b
)は、従来のシミュレーション装置である第4図の接続
関係追跡部45の処理の流れを表す図である。
FIG. 5 shows that the operation speed control section 28 controls the connection relationship tracking section 25.
This is an example of controlling the operating speed. In Figure 5, the fifth
Figure (a) shows the second simulation device of the present invention.
3 is a diagram illustrating a flow of processing in which the operating speed control unit 28 shown in the figure changes the operating speed of the connection relationship tracing unit 25. FIG. Figure 5 (b
) is a diagram showing the processing flow of the connection relationship tracking unit 45 of FIG. 4, which is a conventional simulation device.

第5図(b)において、第4図の接続関係追跡部45の
処理ステップは以下のようになる。
In FIG. 5(b), the processing steps of the connection relationship tracking unit 45 in FIG. 4 are as follows.

ステップ55I:イベントスケジューリング部47から
発行されたイベントの配線基を得る。
Step 55I: Obtain the wiring base of the event issued from the event scheduling section 47.

ステップ552:素子間接続関係記憶部44を参照して
配線の出力端につながっている回路素子を得る。
Step 552: Refer to the inter-element connection relation storage unit 44 to obtain the circuit elements connected to the output ends of the wirings.

ステップ553:この回路素子が存在するか否かを判断
する。存在していればステップ554に、存在しなけれ
ばステップ558に進む。
Step 553: Determine whether this circuit element exists. If it exists, the process advances to step 554; if it does not exist, the process advances to step 558.

ステップ554:素子間接続関係記憶部44を参照して
この回路素子の出力側の配線基を得る。
Step 554: Refer to the inter-element connection relation storage unit 44 to obtain the wiring group on the output side of this circuit element.

ステップ555:この配線が存在するが否かを判断する
。存在していればステップ556に、存在しなければス
テップ558に進む。
Step 555: Determine whether this wiring exists. If it exists, the process advances to step 556; if it does not exist, the process advances to step 558.

ステップ556:イベント実行部46に該回路素子名を
引き渡す。
Step 556: Deliver the circuit element name to the event execution unit 46.

ステップ557:イベントスケジューリング部47に該
回路素子の出力側につながっている該配線基を引き渡す
Step 557: Deliver the wiring group connected to the output side of the circuit element to the event scheduling section 47.

ステップ558:終了する。Step 558: End.

第5図(a)において、第2図の接続関係追跡部25の
処理ステップは以下のようになる。
In FIG. 5(a), the processing steps of the connection relationship tracing section 25 of FIG. 2 are as follows.

ステップ501:イベントスケジューリング部27から
発行されたイベントの配線基を得る。
Step 501: Obtain the wiring base of the event issued from the event scheduling section 27.

ステップ502:素子間接続関係記憶部24を参照して
配線の出力端につながっている回路素子を得る。
Step 502: Refer to the inter-element connection relation storage unit 24 to obtain the circuit elements connected to the output ends of the wirings.

ステップ503:この回路素子が存在するか否かを判断
する。存在していればステップ504に、存在3 4 しなければステップ509に進む。
Step 503: Determine whether this circuit element exists. If it exists, the process goes to step 504; if it does not exist, the process goes to step 509.

ステップ504:素子間接続関係記憶部24を参照して
この素子回路の出力側の配線芯を得る。
Step 504: Obtain the wiring core on the output side of this element circuit by referring to the inter-element connection relation storage unit 24.

ステップ505:この配線が存在するか否かを判断する
。存在していればステップ506に、′lY在しなけれ
ばステップ509に進む。
Step 505: Determine whether this wiring exists. If it exists, the process advances to step 506; if 'lY does not exist, the process advances to step 509.

ステップ506二次のステップ507に移るまで5秒間
−次停止状態にする。
Step 506: Continue to stop for 5 seconds until proceeding to the next step 507.

ステンプ507:イベン1〜実行部26に該回路素子名
を引き渡す。
Step 507: Event 1 to deliver the circuit element name to the execution unit 26.

ステップ508:イベントスケジューリング部27に該
回路素子の出力側につながっている該配線芯を引き渡す
Step 508: Deliver the wiring core connected to the output side of the circuit element to the event scheduling section 27.

ステップ509:終了する。Step 509: End.

上記第5図(a)の処理ステップ506において、動作
速度制御部28により、接続関係追跡部25の動作速度
が、第5図(b)の接続関係追跡部45の処理より5秒
間遅くする処理を実現している。
In the processing step 506 of FIG. 5(a), the operation speed control section 28 causes the operation speed of the connection relationship tracking section 25 to be slower than the processing of the connection relationship tracking section 45 of FIG. 5(b) by 5 seconds. has been realized.

但し、動作速度とは、第4図に示す従来のシミュレータ
装置、及び、第2図に示す本発明のシミュレータ装置の
各構成部において、データが入力されてから、他の構成
部にデータが出力されるまでの速度のことをいう。
However, the operating speed refers to the speed at which data is output to other components after data is input in each component of the conventional simulator shown in FIG. 4 and the simulator of the present invention shown in FIG. It refers to the speed at which the

第6図は、動作速度制御部28が、イベント実行部26
の動作速度を制御する例である。
FIG. 6 shows that the operation speed control section 28 controls the event execution section 26.
This is an example of controlling the operating speed.

第6図において、第6図(a)は、本発明のシミュレー
ション装置である第2図の動作速度制御部28が、イベ
ント実行部26の動作速度を変更する処理の流れを表す
図である。
In FIG. 6, FIG. 6(a) is a diagram showing the flow of processing in which the operation speed control section 28 of FIG. 2, which is the simulation apparatus of the present invention, changes the operation speed of the event execution section 26.

第6図(b)は、従来のシミュレーション装置である第
4図のイベント実行部46の処理の流れを表す図である
。第6図(b)において、第4図のイベント実行部46
の処理ステップは以下のようになる。
FIG. 6(b) is a diagram showing the processing flow of the event execution unit 46 of FIG. 4, which is a conventional simulation device. In FIG. 6(b), the event execution unit 46 of FIG.
The processing steps are as follows.

ステップ651:イベントスケジューリング部47から
発行されたイベントの配線の状態値を得る。
Step 651: Obtain the wiring state value of the event issued from the event scheduling section 47.

ステップ652:接続関係追跡部45により、この配線
の出力端につながっている回路素子名を得る。
Step 652: The connection relationship tracking unit 45 obtains the name of the circuit element connected to the output end of this wiring.

ステップ653:この回路素子の動作を素子機能記憶部
42から得る。
Step 653: Obtain the operation of this circuit element from the element function storage section 42.

ステップ654:該配線の状態値を入力値として該5 6 回路素子の動作出力値を計算する。Step 654: The state value of the wiring is used as the input value. 6 Calculate the operational output value of the circuit element.

ステップ655:計算された動作出力値が該回路素子の
元の出力値と異なっているかを判断する。異なっていれ
ばステ・7プ65Gに、同し値であればステップ658
に進む。
Step 655: Determine whether the calculated operational output value is different from the original output value of the circuit element. If they are different, go to step 7 65G, if they are the same, go to step 658
Proceed to.

ステップ656:該回路素子の遅延量を遅延情報記憶部
43から得る。
Step 656: Obtain the delay amount of the circuit element from the delay information storage section 43.

ステップ657:イベントスゲジス−リング部27に計
算された該動作出力値と該遅延量を引き渡す。
Step 657: Deliver the calculated operational output value and delay amount to the event gauge ring unit 27.

ステップ658:終了する。Step 658: End.

第6図(a)において、第2図のイベント実行部26の
処理ステップは以下のようになる。
In FIG. 6(a), the processing steps of the event execution unit 26 of FIG. 2 are as follows.

ステップ601:イベントスケジューリング部27から
発行されたイベントの配線の状態値を得る。
Step 601: Obtain the wiring state value of the event issued from the event scheduling unit 27.

ステップ602:接続関係追跡部25により、この配線
の出力端につながっている回路素子名を得る。
Step 602: The connection relationship tracking unit 25 obtains the name of the circuit element connected to the output end of this wiring.

ステップ603:この回路素子の動作を素子機能記憶部
22から得る。
Step 603: Obtain the operation of this circuit element from the element function storage section 22.

ステップ604:該配線の状態値を入力値として該回路
素子の動作出力値を計算する。
Step 604: Using the state value of the wiring as an input value, calculate the operational output value of the circuit element.

ステップ605:計算された動作出力値が該回路素子の
元の出力値と異なっているかを判断する。異なっていれ
ばステップ606に、同じ稙であればステップ609に
進む。
Step 605: Determine whether the calculated operational output value is different from the original output value of the circuit element. If they are different, the process goes to step 606; if they are the same, the process goes to step 609.

ステップ606:該回路素子の遅延量を遅延情報記憶部
23から得る。
Step 606: Obtain the delay amount of the circuit element from the delay information storage unit 23.

ステップ607:次のステップ608に移るまで5秒間
−次停止状態にする。
Step 607: Continue to the next stop state for 5 seconds until proceeding to the next step 608.

ステップ608:イベントスケジューリング部27に計
算された該動作出力値と該遅延量を引き渡す。
Step 608: Deliver the calculated operation output value and the delay amount to the event scheduling unit 27.

ステップ609:終了する。Step 609: End.

上記、第6図(a)の処理ステップ607において、動
作速度制御部28により、イベント実行部26の動作速
度が、第6図(b)のイベント実行部46の処理よりも
5秒間遅くする処理を実現している。
In the process step 607 of FIG. 6(a) above, the operation speed control section 28 causes the operation speed of the event execution section 26 to be slower than the processing of the event execution section 46 of FIG. 6(b) for 5 seconds. has been realized.

第7図は、動作速度制御部28が、イベントスケジュー
リング部27の動作速度を制御する例である。
FIG. 7 is an example in which the operating speed control section 28 controls the operating speed of the event scheduling section 27.

第7図において、第7図(a)は、本発明のシミュレー
ション装置である第2図の動作速度制御部28が、イベ
ントスケジューリング部27の動作速度を7 8 変更する処理の流れを表す図である。第7図(b)は、
従来のシミュレーション装置である第4図のイベントス
ケジューリング部47の処理の流れを表す図である。
In FIG. 7, FIG. 7(a) is a diagram showing the flow of processing in which the operation speed control section 28 of FIG. 2, which is the simulation apparatus of the present invention, changes the operation speed of the event scheduling section 27. be. Figure 7(b) shows
5 is a diagram showing the flow of processing of the event scheduling unit 47 of FIG. 4, which is a conventional simulation device. FIG.

第7図(b)において、第4図のイベントスケジューリ
ング部47の処理ステップは以下のようになる。
In FIG. 7(b), the processing steps of the event scheduling section 47 of FIG. 4 are as follows.

ステップ751:イベント実行部46から動作出力値と
、回路素子の遅延量を得る。
Step 751: Obtain the operation output value and the delay amount of the circuit element from the event execution unit 46.

ステップ752:接続関係追跡部45から該回路素子の
出力配線基を得る。
Step 752: Obtain the output wiring group of the circuit element from the connection relationship tracing section 45.

ステップ753:該出力配線基と該動作出力値を基にし
てイベントを作る。
Step 753: Create an event based on the output wiring group and the operation output value.

ステップ754:このイベントを現在の時刻から該遅延
量の時間だけ進んだ時刻に登録する。
Step 754: Register this event at a time that is advanced by the amount of delay from the current time.

ステップ755:現時刻に発行すべきイベントが存在す
るか否かを判断する。該当するイベントが存在すればス
テップ758、存在しなければステップ756に進む。
Step 755: Determine whether there is an event to be issued at the current time. If the corresponding event exists, the process proceeds to step 758; otherwise, the process proceeds to step 756.

ステップ756:現在の時刻を一つ進める。Step 756: Advance the current time by one.

ステップ757:現在の時刻が予め設定していた実行の
終了時間を過ぎているか否かを判断する。過ぎていれば
ステップ759に、未だ過ぎていなければステップ75
5に戻る。
Step 757: Determine whether the current time has passed the preset execution end time. If it has passed, go to step 759; if it has not passed, go to step 75
Return to 5.

ステップ758:イベントを発行する。Step 758: Issue an event.

ステップ759:終了する。Step 759: End.

第7図(a)において、第2図のイベントスケジューリ
ング部27の処理ステップは以下のようになる。
In FIG. 7(a), the processing steps of the event scheduling section 27 of FIG. 2 are as follows.

ステップ701:イベント実行部26から動作出力値と
、回路、素子の遅延量を得る。
Step 701: Obtain the operation output value and the delay amount of the circuit and element from the event execution unit 26.

ステップ702:接続関係追跡部25から該回路素子の
出力配線基を得る。
Step 702: Obtain the output wiring group of the circuit element from the connection relationship tracking section 25.

ステップ703:該出力配線基と該動作出力値を基にし
てイベントを作る。
Step 703: Create an event based on the output wiring base and the operation output value.

ステップ704:このイベントを現在の時刻から該遅延
量の時間だけ進んだ時刻に登録する。
Step 704: Register this event at a time that is advanced by the amount of delay from the current time.

ステップ705:現時刻に発行すべきイベントが存在す
るか否かを判断する。該当するイベントが存在すればス
テップ70B、存在しなければステップ706に進む。
Step 705: Determine whether there is an event to be issued at the current time. If the corresponding event exists, the process proceeds to step 70B; otherwise, the process proceeds to step 706.

ステップ706:現在の時刻を一つ進める。Step 706: Advance the current time by one.

9 0 ステップ707:現在の時刻が予め設定していた実行の
終了時間を過ぎているか否かを判断する。過ぎていれば
ステップ710に、未だ過ぎていなければステップ70
5に戻る。
90 Step 707: Determine whether the current time has passed the preset execution end time. If it has passed, go to step 710; if it has not passed yet, go to step 70.
Return to 5.

ステップ708:次のステップ709に移るまで5秒間
−次停止状態にする。
Step 708: Continue to the next stop state for 5 seconds until proceeding to the next step 709.

ステップ709:イベントを発行する。Step 709: Issue an event.

ステップ710:終了する。Step 710: End.

上記、第7図(a)の処理ステップ708において、動
作速度制御部28により、イベントスケジューリング部
27の動作速度が、第7図(b)のイベントスケジュー
リング部47の処理よりも5秒間遅くする処理を実現し
ている。
In the above processing step 708 of FIG. 7(a), the operation speed control section 28 causes the operation speed of the event scheduling section 27 to be slower than the processing of the event scheduling section 47 of FIG. 7(b) by 5 seconds. has been realized.

尚、動作速度制御部28の他の実現方法として、接続関
係追跡部25、イベント実行部26、イベントスケジュ
ーリング部27、の内、2つ、ないし3つの処理部に、
同時に適用しても良い。
In addition, as another method for realizing the operation speed control section 28, two or three processing sections among the connection relationship tracking section 25, the event execution section 26, and the event scheduling section 27,
They may be applied at the same time.

発明の効果 以上のように本発明は、計算機」二に回路図や制御命令
を入力する゛ことのできる入力部と、前記入力から入力
されたデータを記憶しておくことのできる記憶部と、前
記記憶部に格納されているデータや、前記入力部から直
接入力された制御命令等を基にして回路を模擬的に動作
させる動作模擬部と、前記動作模擬部の動作速度を制御
することのできる速度制御部と、前記動作模擬部から得
られる出力データを表示させることのできる表示部と、
を設けることにより、意図的にシミュレーションの動作
速度を制御することができる。
Effects of the Invention As described above, the present invention has an input section that can input circuit diagrams and control instructions to a computer, a storage section that can store data input from the input, an operation simulator for simulating a circuit operation based on data stored in the storage unit, control commands directly input from the input unit, and the like; and an operation simulator for controlling the operation speed of the operation simulator. a speed control unit that can display the output data obtained from the motion simulation unit;
By providing this, it is possible to intentionally control the operation speed of the simulation.

このため、例えば、注目して見たい時刻のシミュレーシ
ョン経過のみ低速度で動作させるようにするとデータの
変化の様子が良く理解でき、結果の解析やデバッグ等が
非常に効率的に行える。
Therefore, for example, if you run the simulation at a low speed only at the time you want to focus on, you can better understand how the data changes, and you can analyze and debug the results very efficiently.

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

第1図は動作速度を意図的に変えることのできるシミュ
レーション装置の構成図、第2図は該シミュレーション
装置の具体的な構成例を示す図、第3図は従来のシミュ
レーション装置の構成図、第4図は従来のシミュレーシ
ョン装置の具体的な構成例を示す図、第5図、第6図、
第7図はシミ1 2 ュレーションの動作速度を変化させる具体的な方法の例
を示す図である。 11・・・・・・入力部、12・・・・・・記憶部、1
3・・・・・・動作模擬部、14・・・・・・速度制御
部、15・・・・・・表示部、21・・・・・・入力部
、22・・・・・・素子機能記憶部、23・・・・・・
遅延情報記憶部、24・・・・・・素子間接続関係記憶
部、25・・・・・・接続関係追跡部、26・・・・・
・イヘント実行部、2τ・・・・・・イ・\ントスケジ
ューリング部、28・・・・・・動作速度制御部、29
・・・・・・出力部。
FIG. 1 is a block diagram of a simulation device that can intentionally change the operating speed, FIG. 2 is a diagram showing a specific configuration example of the simulation device, FIG. 3 is a block diagram of a conventional simulation device, and FIG. Figure 4 is a diagram showing a specific example of the configuration of a conventional simulation device, Figures 5, 6,
FIG. 7 is a diagram showing an example of a specific method of changing the operating speed of simulation. 11...Input section, 12...Storage section, 1
3...Motion simulation section, 14...Speed control section, 15...Display section, 21...Input section, 22...Element Function memory section, 23...
Delay information storage unit, 24... Inter-element connection relationship storage unit, 25... Connection relationship tracking unit, 26...
・Event execution unit, 2τ...I・\nt scheduling unit, 28...Operating speed control unit, 29
...Output section.

Claims (4)

【特許請求の範囲】[Claims] (1)計算機上に回路図や制御命令を入力することので
きる入力部と、前記入力部から入力されたデータを記憶
しておくことのできる記憶部と、前記記憶部に格納され
ているデータや、前記入力部から直接入力された制御命
令を基にして回路を模擬的に動作させる動作模擬部と、
前記動作模擬部の動作速度を制御することのできる速度
制御部と、前記動作模擬部から得られる出力データを表
示させることのできる表示部とを備えたことを特徴とす
るシミュレーション装置。
(1) An input section that can input circuit diagrams and control instructions onto the computer, a storage section that can store data input from the input section, and data stored in the storage section. and an operation simulation unit that simulates a circuit based on a control command directly input from the input unit;
A simulation device comprising: a speed control section capable of controlling the operation speed of the motion simulation section; and a display section capable of displaying output data obtained from the motion simulation section.
(2)動作模擬部の動作速度を入力部から入力されたデ
ータ値に設定できる速度制御部を備えたことを特徴とす
る請求項(1)記載のシミュレーション装置。
(2) The simulation apparatus according to claim (1), further comprising a speed control section that can set the operation speed of the motion simulation section to the data value input from the input section.
(3)動作模擬部の動作速度の上限を入力部から入力さ
れたデータ値に設定できる速度制御部を備えたことを特
徴とする請求項(1)記載のシミュレーション装置。
(3) The simulation apparatus according to claim (1), further comprising a speed control section that can set the upper limit of the operation speed of the motion simulation section to the data value input from the input section.
(4)動作模擬部の動作速度の下限を入力部から入力さ
れたデータ値に設定できる速度制御部を備えたことを特
徴とする請求項(1)記載のシミュレーション装置。
(4) The simulation apparatus according to claim (1), further comprising a speed control section that can set the lower limit of the operation speed of the motion simulation section to the data value input from the input section.
JP1257361A 1989-10-02 1989-10-02 Simulation device Pending JPH03119474A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1257361A JPH03119474A (en) 1989-10-02 1989-10-02 Simulation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1257361A JPH03119474A (en) 1989-10-02 1989-10-02 Simulation device

Publications (1)

Publication Number Publication Date
JPH03119474A true JPH03119474A (en) 1991-05-21

Family

ID=17305318

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1257361A Pending JPH03119474A (en) 1989-10-02 1989-10-02 Simulation device

Country Status (1)

Country Link
JP (1) JPH03119474A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49104538A (en) * 1973-02-06 1974-10-03
JPS6053331A (en) * 1983-09-02 1985-03-27 Seiko Epson Corp Radio equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49104538A (en) * 1973-02-06 1974-10-03
JPS6053331A (en) * 1983-09-02 1985-03-27 Seiko Epson Corp Radio equipment

Similar Documents

Publication Publication Date Title
JPS6063644A (en) Method and apparatus for modeling operation of digital device
JP2002535684A (en) System for real version test and simulated version test of integrated circuits
JPH0554043A (en) Process management system for information processing system development
US7949501B1 (en) Systems and methods for a real time machine simulator to explore the effects of rules used in a modular manufacturing or assembly system
JPH03119474A (en) Simulation device
Paiz et al. FPGA-in-the-loop-simulations for dynamically reconfigurable applications
JPS6265147A (en) Bus tracing system
JP3731929B2 (en) Method and apparatus for simulating digital circuits
JPH05241619A (en) Programming device for programmable controller
JPS607554A (en) Measuring system for performance of computer system
RU19600U1 (en) CHERNYAKOV-PETRUSHIN DEVICE FOR EVALUATING THE EFFICIENCY OF ORGANIZATIONAL-TECHNICAL SYSTEMS
JP3466842B2 (en) Integrated circuit layout method and apparatus
JPH11272307A (en) Motion controller
JP2615222B2 (en) Operators console for distributed digital control systems.
JPH02304655A (en) Generating system for memory high load test environment
JPS6278633A (en) Load testing method
JPH03130839A (en) On-line simulation system
Haigh Simulation of computer systems and networks with MOGUL and REGAL
JPS6039236B2 (en) Display method
JP2600844B2 (en) Equipment data maintenance method
JPH064513A (en) Load estimating device for design system
JP3095308B2 (en) Electrical component approximate position determination device
JP3412867B2 (en) Train operation management simulation device
JPS6362073A (en) Delay observing device
CN116090994A (en) Robot execution flow recording method, device, equipment and storage medium