JP2001155047A - Device and method for processing logic simulation - Google Patents

Device and method for processing logic simulation

Info

Publication number
JP2001155047A
JP2001155047A JP33585999A JP33585999A JP2001155047A JP 2001155047 A JP2001155047 A JP 2001155047A JP 33585999 A JP33585999 A JP 33585999A JP 33585999 A JP33585999 A JP 33585999A JP 2001155047 A JP2001155047 A JP 2001155047A
Authority
JP
Japan
Prior art keywords
state
block
logic
clock input
waiting state
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
JP33585999A
Other languages
Japanese (ja)
Inventor
Kei Yoneda
圭 米田
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 JP33585999A priority Critical patent/JP2001155047A/en
Publication of JP2001155047A publication Critical patent/JP2001155047A/en
Pending legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To accelerate a logic simulation by preventing the occurrence of an unwanted event inside a logic block corresponding to a logic block in a wait state concerning an event-driven simulator. SOLUTION: Concerning the event-driven type logic simulator, the logic block in the wait state of stabilizing an internal state unless an entry from the outside is changed is detected and concerning the logic block in the wait state, the supply of a clock entry from the outside is stopped. Among the logic blocks in the clock entry stop state, a logic block to transit from the wait state to the other state is detected. Concerning the detected logic block to transit from the wait state to the other state, the supply of the clock entry from the outside is restarted.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、論理シミュレータ
における処理の高速化を図る論理シミュレーション処理
装置及び方法に関する。
The present invention relates to a logic simulation processing apparatus and method for speeding up processing in a logic simulator.

【0002】[0002]

【従来の技術】LSI等の設計段階における機能検証
は、主にハードウェア記述言語を用いた回路記述とテス
トベクタを用いて、コンピュータ上でのシミュレーショ
ンによって行われる。かかるシミュレーションに要する
時間は、昨今の回路規模の拡大によって指数的に増加し
ており、シミュレーション処理の高速化による時間短縮
は不可欠となってきている。特に、1チップの機能検証
を行うシミュレーションにおいては、数百万ゲート規模
の回路を取り扱うため、数週間から月単位の処理時間を
要することが予測され、各種シミュレーションの高速化
技術が重要な課題となってきている。
2. Description of the Related Art Functional verification at the design stage of an LSI or the like is mainly performed by simulation on a computer using a circuit description using a hardware description language and test vectors. The time required for such a simulation has exponentially increased due to the recent enlargement of the circuit scale, and it has become indispensable to shorten the time by increasing the speed of the simulation processing. In particular, in a simulation for verifying the function of one chip, it is expected that processing time of several weeks to a month will be required to handle a circuit of several million gates. It has become to.

【0003】従来から、論理回路のタイミング、機能を
検証するための論理シミュレータの一つとしてイベント
・ドリブン・シミュレータが利用されている。イベント
・ドリブン・シミュレータは、イベントをトレースする
ための付加処理は行うが、回路の一部にのみ信号値変化
がおきる回路動作をシミュレートする際には、イベント
によって選択した回路の一部の動作のみを計算すること
となることから、効率的にシミュレーションを行うこと
ができる方式である。
Conventionally, an event-driven simulator has been used as one of logic simulators for verifying the timing and function of a logic circuit. The event-driven simulator performs additional processing for tracing an event, but when simulating a circuit operation in which a signal value changes only in a part of the circuit, the operation of a part of the circuit selected by the event is performed. Since only the calculation is performed, the simulation can be performed efficiently.

【0004】より具体的には、外部から与えられた入力
信号により論理値が変化する要素であるイベントを、シ
ミュレーション時刻ごとにタイムホイールと呼ばれる時
間管理テーブルに登録し、登録されたイベントによるイ
ベント処理を各時刻において実行する。かかるイベント
処理を行った結果、論理値が変化した場合には、遅延値
が指定されていれば指定した時刻が経過した後に新たな
イベントとしてタイムホイールに登録され、一方ではイ
ベント処理済みのイベントについてはタイムホイールか
ら削除される。各時刻において登録されたイベントにつ
いて同様な処理を行ない、全てのイベント処理が終了し
た時点でシミュレーションを終了する。
More specifically, an event whose logical value changes in response to an externally applied input signal is registered in a time management table called a time wheel for each simulation time, and event processing based on the registered event is performed. Is executed at each time. As a result of performing such event processing, if the logical value changes, if a delay value is specified, it is registered as a new event on the time wheel after the specified time has elapsed. Is removed from the time wheel. The same process is performed for the events registered at each time, and the simulation ends when all the event processes have been completed.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上述し
たイベント・ドリブン・シミュレータにおいては、例え
ば入力信号が変化せず、出力信号がある一定の値を保持
しているような待ち状態となっている論理ブロック内部
においても、出力信号に影響を与えない不要なイベント
処理が存在する。具体例としては、半導体集積回路のシ
ステム全体のシミュレーションとして、システムの処理
をソフトウェア・シミュレータと論理シミュレータとに
分け、これらを同時に動作させることによりシステム全
体のシミュレーションを可能とする協調シミュレーショ
ンを利用する場合において、ソフトウェア・シミュレー
タの処理結果を論理シミュレータが待つような場合、論
理シミュレータ側でソフトウェア・シミュレータの処理
が完了したか否かを監視する等の不要なイベントが発生
し、かかるイベントの存在によって、システム全体のシ
ミュレーション速度が遅くなるという問題が生ずるおそ
れがあった。
However, in the event-driven simulator described above, for example, the logic in which the input signal does not change and the output signal is in a waiting state in which the output signal holds a certain value. Unnecessary event processing that does not affect the output signal also exists inside the block. As a specific example, as a simulation of the entire system of a semiconductor integrated circuit, a case in which cooperative simulation is used that divides the processing of the system into a software simulator and a logic simulator, and enables simultaneous simulation of the entire system by operating these at the same time. In the case where the logic simulator waits for the processing result of the software simulator, unnecessary events such as monitoring whether or not the processing of the software simulator is completed on the logic simulator side occur. There is a possibility that a problem that the simulation speed of the entire system is reduced may occur.

【0006】本発明は、上述したような問題を解決する
べく、論理シミュレーション実行中の不要なイベントの
発生を防ぐことによりイベント数を削減することができ
る効率的な論理シミュレーション処理装置及び方法を提
供することを目的とする。
[0006] The present invention provides an efficient logic simulation processing apparatus and method capable of reducing the number of events by preventing the occurrence of unnecessary events during execution of the logic simulation in order to solve the above-mentioned problems. The purpose is to do.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に本発明にかかる論理シミュレーション処理装置は、イ
ベントドリブン方式の論理シミュレーションにおいて、
所定の時刻において、外部からの入力に変化が無い限り
内部状態が安定する待ち状態となっている論理ブロック
を検出する待ち状態検出部と、待ち状態となっている論
理ブロックに対して、外部からのクロック入力の供給を
停止するクロック入力停止部と、クロック入力停止部に
よってクロック入力停止状態となった論理ブロックのう
ち、待ち状態から他の状態へと遷移する論理ブロックを
検出する復帰ブロック検出部と、復帰ブロック検出部に
よって検出された論理ブロックに対して、外部からのク
ロック入力の供給を再開するクロック入力再開部とを含
むことを特徴とする。
In order to achieve the above object, a logic simulation processing apparatus according to the present invention provides a logic simulation processing apparatus in an event-driven logic simulation.
At a predetermined time, a wait state detection unit that detects a logical block in a wait state in which the internal state is stable unless there is a change in an external input, and a logical block in a wait state, A clock input stop unit for stopping the supply of clock input, and a return block detecting unit for detecting a logical block that transitions from a wait state to another state among the logical blocks that have been stopped by the clock input stop unit. And a clock input resuming unit for resuming the supply of an external clock input to the logical block detected by the return block detecting unit.

【0008】かかる構成により、論理シミュレーション
実行中において待ち状態となっている論理ブロックに対
し、外部からのクロック入力の供給を停止し、クロック
入力停止状態となった論理ブロックのうち実行状態等に
復帰する論理ブロックに対しては、外部からのクロック
入力の供給を再開することにより、待ち状態となってい
る論理ブロック内で発生する不要なイベントを排除する
ことができ、論理シミュレーション全体としてのイベン
ト数を削減することができることから、論理シミュレー
ションの高速化を実現することが可能となる。
With this configuration, the supply of the clock input from the outside to the logic block in the waiting state during the execution of the logic simulation is stopped, and the logic block in the clock input stopped state is returned to the execution state or the like. Unnecessary events that occur in the waiting logical block can be eliminated by restarting the supply of the clock input from the outside to the logical block that performs the logic simulation. Can be reduced, so that the speed of the logic simulation can be increased.

【0009】また、本発明にかかる論理シミュレーショ
ン処理装置は、待ち状態検出部において、論理ブロック
の状態を待ち状態に遷移させる外部信号に基づいて、待
ち状態となっている論理ブロックを検出することが好ま
しい。待ち状態に遷移させる外部信号によって論理ブロ
ックの状態が待ち状態となるからである。
Further, in the logic simulation processing device according to the present invention, the waiting state detecting section may detect the waiting logical block based on an external signal for changing the state of the logical block to the waiting state. preferable. This is because the state of the logical block is changed to the wait state by an external signal that makes a transition to the wait state.

【0010】また、本発明にかかる論理シミュレーショ
ン処理装置は、待ち状態検出部において、論理ブロック
から出力される処理終了信号に基づいて、待ち状態とな
っている論理ブロックを検出することが好ましい。処理
が終了した時点で待ち状態となる場合が多いからであ
る。
Further, in the logic simulation processing apparatus according to the present invention, it is preferable that the waiting state detecting section detects the logical block in the waiting state based on the processing end signal output from the logical block. This is because a standby state is often set when the processing is completed.

【0011】また、本発明にかかる論理シミュレーショ
ン処理装置は、復帰ブロック検出部において、論理ブロ
ックの状態を待ち状態から他の状態に遷移させる外部信
号に基づいて、復帰ブロックを検出することが好まし
い。待ち状態から他の状態に遷移させる外部信号によっ
て、当該論理ブロックが待ち状態から解放されるからで
ある。
Further, in the logic simulation processing device according to the present invention, it is preferable that the return block detecting section detects the return block based on an external signal for changing the state of the logical block from the waiting state to another state. This is because the logical block is released from the wait state by an external signal that causes a transition from the wait state to another state.

【0012】また、本発明にかかる論理シミュレーショ
ン処理装置は、復帰ブロック検出部において、クロック
入力停止状態の論理ブロックに入力される外部信号に基
づいて、復帰ブロックを検出することが好ましい。クロ
ック入力が停止状態となっている論理ブロックに入力さ
れる外部信号としては、待ち状態から他の状態に遷移さ
せる外部信号以外考えられないからである。
Further, in the logic simulation processing device according to the present invention, it is preferable that the return block detection unit detects the return block based on an external signal input to the logic block in the clock input stopped state. This is because, as an external signal input to the logic block in which the clock input is stopped, there can be no other external signal than the external signal for shifting from the waiting state to another state.

【0013】次に、上記目的を達成するために本発明に
かかる論理シミュレーション処理装置は、イベントドリ
ブン方式の論理シミュレーションにおいて、シミュレー
ションの対象となるシステムの動作を動作モードとして
分割し、各々の動作モードに対して外部からの入力に変
化が無い限り内部状態が安定する待ち状態となっている
論理ブロック及び待ち状態から復帰させる外部信号をデ
ータ・ベースに登録し、データ・ベースを参照すること
により待ち状態となっている論理ブロックを検出する待
ち状態検出部と、待ち状態となっている論理ブロックに
対して、外部からのクロック入力の供給を停止するクロ
ック入力停止部と、クロック入力停止部によりクロック
入力停止状態となった論理ブロックのうち、データ・ベ
ースを参照することにより待ち状態から他の状態へと遷
移する論理ブロックを検出する復帰ブロック部と、復帰
ブロック検出部において検出された論理ブロックに対
し、外部からのクロック入力の供給を再開するクロック
入力再開部とを含むことを特徴とする。
Next, in order to achieve the above object, a logic simulation processing apparatus according to the present invention divides the operation of a system to be simulated into operation modes in an event-driven logic simulation, and Register in the data base the waiting logical block whose internal state is stable and the external signal to be returned from the waiting state as long as there is no change in external input, and wait by referring to the database. A wait state detection unit that detects a logic block that is in a state, a clock input stop unit that stops the supply of an external clock input to a logic block that is in a wait state, and a clock input stop unit that outputs a clock. Of the logical blocks in the input stopped state, refer to the database. A return block unit that detects a logical block that transitions from the wait state to another state, and a clock input restart unit that restarts external clock input supply to the logical block detected by the return block detector. It is characterized by including.

【0014】かかる構成により、あらかじめ論理シミュ
レーション実行の各動作モードにおける待ち状態となる
論理ブロックをデータベースに登録しておくことで、待
ち状態となっている論理ブロックを容易に検出すること
ができ、当該論理ブロックに対して、外部からのクロッ
ク入力の供給を停止することで、待ち状態となっている
論理ブロック内で発生する不要なイベントを排除するこ
とができ、論理シミュレーション全体としてのイベント
数を削減することができることから、論理シミュレーシ
ョンの高速化を実現することが可能となる。
With this configuration, by registering in advance a logical block in a waiting state in each operation mode of executing a logic simulation in a database, a logical block in a waiting state can be easily detected. By stopping the supply of external clock input to the logic block, unnecessary events that occur in the waiting logic block can be eliminated, reducing the number of events in the entire logic simulation Therefore, the speed of the logic simulation can be increased.

【0015】次に、上記目的を達成するために本発明に
かかる論理シミュレーション処理方法は、イベントドリ
ブン方式の論理シミュレーションにおいて、所定の時刻
において、外部からの入力に変化が無い限り内部状態が
安定する待ち状態となっている論理ブロックを検出する
工程と、待ち状態となっている論理ブロックに対して、
外部からのクロック入力の供給を停止する工程と、クロ
ック入力停止状態となった論理ブロックのうち、待ち状
態から他の状態へと遷移する論理ブロックを検出する工
程と、検出された待ち状態から他の状態へと遷移する論
理ブロックに対して、外部からのクロック入力の供給を
再開する工程とを含むことを特徴とする。
Next, in order to achieve the above object, according to the logic simulation processing method of the present invention, in an event-driven logic simulation, the internal state is stabilized at a predetermined time unless there is a change in an external input. Detecting the logical block in the waiting state; and
Stopping the supply of the clock input from the outside, detecting the logic block that transitions from the waiting state to another state among the logic blocks in the clock input stopped state, And restarting the supply of the clock input from the outside to the logic block that transitions to the state of (1).

【0016】かかる構成により、論理シミュレーション
実行中において待ち状態となっている論理ブロックに対
し、外部からのクロック入力の供給を停止し、クロック
入力停止状態となった論理ブロックのうち実行状態等に
復帰する論理ブロックに対しては、外部からのクロック
入力の供給を再開することにより、待ち状態となってい
る論理ブロック内で発生する不要なイベントを排除する
ことができ、論理シミュレーション全体としてのイベン
ト数を削減することができることから、論理シミュレー
ションの高速化を実現することが可能となる。
With this configuration, the supply of the clock input from the outside to the logic block in the waiting state during the execution of the logic simulation is stopped, and the logic block in the clock input stopped state is returned to the execution state or the like. Unnecessary events that occur in the waiting logical block can be eliminated by restarting the supply of the clock input from the outside to the logical block that performs the logic simulation. Can be reduced, so that the speed of the logic simulation can be increased.

【0017】また、本発明にかかる論理シミュレーショ
ン処理方法は、待ち状態となっている論理ブロックを検
出する工程において、論理ブロックの状態を待ち状態に
遷移させる外部信号に基づいて、待ち状態となっている
論理ブロックを検出することが好ましい。待ち状態に遷
移させる外部信号によって論理ブロックの状態が待ち状
態となるからである。
Further, in the logic simulation processing method according to the present invention, in the step of detecting a logical block in a wait state, the logic state is changed to a wait state based on an external signal for changing the state of the logical block to the wait state. It is preferable to detect the existing logical block. This is because the state of the logical block is changed to the wait state by an external signal that makes a transition to the wait state.

【0018】また、本発明にかかる論理シミュレーショ
ン処理方法は、待ち状態となっている論理ブロックを検
出する工程において、論理ブロックから出力される処理
終了信号に基づいて、待ち状態となっている論理ブロッ
クを検出することが好ましい。処理が終了した時点で待
ち状態となる場合が多いからである。
In the logic simulation processing method according to the present invention, in the step of detecting a logical block in a waiting state, the logic block in a waiting state is output based on a processing end signal output from the logical block. Is preferably detected. This is because a standby state is often set when the processing is completed.

【0019】また、本発明にかかる論理シミュレーショ
ン処理方法は、待ち状態から他の状態へと遷移する論理
ブロックを検出する工程において、論理ブロックの状態
を待ち状態から他の状態に遷移させる外部信号に基づい
て、復帰ブロックを検出することが好ましい。待ち状態
から他の状態に遷移させる外部信号によって、当該論理
ブロックが待ち状態から解放されるからである。
Further, in the logic simulation processing method according to the present invention, in the step of detecting a logical block that transitions from a waiting state to another state, an external signal for transitioning the state of the logical block from the waiting state to another state is output. It is preferable to detect the return block based on this. This is because the logical block is released from the wait state by an external signal that causes a transition from the wait state to another state.

【0020】また、本発明にかかる論理シミュレーショ
ン処理方法は、待ち状態から他の状態へと遷移する論理
ブロックを検出する工程において、クロック入力停止状
態の論理ブロックに入力される外部信号に基づいて、復
帰ブロックを検出することが好ましい。クロック入力が
停止状態となっている論理ブロックに入力される外部信
号としては、待ち状態から他の状態に遷移させる外部信
号以外考えられないからである。
Further, in the logic simulation processing method according to the present invention, in the step of detecting a logic block which transitions from a waiting state to another state, the logic simulation processing method may include the steps of: Preferably, a return block is detected. This is because, as an external signal input to the logic block in which the clock input is stopped, there can be no other external signal than the external signal for shifting from the waiting state to another state.

【0021】次に、上記目的を達成するために本発明に
かかる論理シミュレーション処理方法は、イベントドリ
ブン方式の論理シミュレーションにおいて、シミュレー
ションの対象となるシステムの動作を動作モードとして
分割し、各々の動作モードに対して外部からの入力に変
化が無い限り内部状態が安定する待ち状態となっている
論理ブロック及び待ち状態から復帰させる外部信号をデ
ータ・ベースに登録し、データ・ベースを参照すること
により待ち状態となっている論理ブロックを検出する工
程と、待ち状態となっている論理ブロックに対して、外
部からのクロック入力の供給を停止する工程と、クロッ
ク入力停止状態となった論理ブロックのうち、データ・
ベースを参照することにより待ち状態から他の状態へと
遷移する論理ブロックを検出する工程と、検出された待
ち状態から他の状態へと遷移する論理ブロックに対し、
外部からのクロック入力の供給を再開する工程とを含む
ことを特徴とする。
Next, in order to achieve the above object, a logic simulation processing method according to the present invention divides the operation of a system to be simulated into operation modes in an event-driven logic simulation, and Register in the data base the waiting logical block whose internal state is stable and the external signal to be returned from the waiting state as long as there is no change in external input, and wait by referring to the database. Detecting a logic block in a state, stopping supply of an external clock input to a logic block in a waiting state, and a logic block in a clock input stopped state. data·
Detecting a logical block that transitions from the wait state to another state by referring to the base; and, for the logical block that transitions from the detected wait state to another state,
Restarting the supply of the clock input from the outside.

【0022】かかる構成により、あらかじめ論理シミュ
レーション実行の各動作モードにおける待ち状態となる
論理ブロックをデータベースに登録しておくことで、待
ち状態となっている論理ブロックを容易に検出すること
ができ、当該論理ブロックに対して、外部からのクロッ
ク入力の供給を停止することで、待ち状態となっている
論理ブロック内で発生する不要なイベントを排除するこ
とができ、論理シミュレーション全体としてのイベント
数を削減することができることから、論理シミュレーシ
ョンの高速化を実現することが可能となる。
With this configuration, by registering in advance the logical blocks in the waiting state in each operation mode of executing the logic simulation in the database, the logical blocks in the waiting state can be easily detected. By stopping the supply of external clock input to the logic block, unnecessary events that occur in the waiting logic block can be eliminated, reducing the number of events in the entire logic simulation Therefore, the speed of the logic simulation can be increased.

【0023】[0023]

【発明の実施の形態】(実施の形態1)以下、本発明の
実施の形態1にかかる論理シミュレーション処理装置に
ついて、図面を参照しながら説明する。図1は本発明の
実施の形態1にかかる論理シミュレーション処理装置に
おけるクロック入力制御部の構成図である。クロック入
力制御部は、論理シミュレーションの実行中、常時稼働
する常駐プロセスとして存在する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS (Embodiment 1) Hereinafter, a logic simulation processing apparatus according to Embodiment 1 of the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram of a clock input control unit in the logic simulation processing device according to the first embodiment of the present invention. The clock input control unit exists as a resident process that operates constantly during execution of the logic simulation.

【0024】図1において、11は待ち状態となってい
る論理ブロックを検出する待ち状態検出部を、12は待
ち状態となっている論理ブロックに対して、外部からの
クロック入力の供給を停止するクロック入力停止部を、
それぞれ示す。
In FIG. 1, reference numeral 11 denotes a waiting state detecting unit for detecting a logical block in a waiting state, and reference numeral 12 stops supply of an external clock input to the logical block in a waiting state. Clock input stop section
Shown respectively.

【0025】また、13はクロック入力停止状態となっ
ている論理ブロックのうち、実行状態に復帰する論理ブ
ロックを検出する復帰ブロック検出部を、14は復帰ブ
ロックに対してクロック入力の供給を再開するクロック
入力再開部を、それぞれ示す。
Reference numeral 13 denotes a return block detecting unit for detecting a logical block that returns to the execution state among the logical blocks in the clock input stopped state, and 14 resumes the supply of the clock input to the return block. Each of the clock input resuming units is shown.

【0026】論理シミュレーションを行う場合、まずイ
ベントの処理順序等が定められ、それに従って順次イベ
ントが処理されていくが、本実施の形態1においては、
かかる処理途上における論理ブロックの状態を常時監視
しておくことでクロック入力の不要な論理ブロックを抽
出して、必要となった場合にのみクロック入力を提供す
ることとしたものである。
When performing a logic simulation, the processing order of events and the like are determined first, and events are sequentially processed in accordance with the processing order.
By constantly monitoring the state of the logic block during such processing, a logic block that does not require a clock input is extracted, and a clock input is provided only when needed.

【0027】すなわち、クロック入力制御部において、
待ち状態検出部11で待ち状態となっている論理ブロッ
クを検出し、クロック入力停止部12によって当該待ち
状態であるとして検出された論理ブロックに対して、外
部からのクロック入力の供給を停止する。
That is, in the clock input control unit,
The wait state detection unit 11 detects a logical block in a wait state, and the clock input stop unit 12 stops supply of an external clock input to the logical block detected as the wait state.

【0028】一方、復帰ブロック検出部13では、クロ
ック入力停止状態となっている論理ブロックのうち、実
行状態等に復帰する論理ブロックを検出して、クロック
入力再開部14によって当該復帰ブロックであるとして
検出された論理ブロックに対してクロック入力の供給を
再開するものである。
On the other hand, the return block detecting unit 13 detects a logical block that returns to the execution state or the like from among the logical blocks in the clock input stopped state, and determines that the logical block is the return block by the clock input resuming unit 14. The supply of the clock input to the detected logic block is restarted.

【0029】かかる処理の流れについて図面を参照しな
がら説明する。図2は本発明にかかる論理シミュレーシ
ョン処理装置におけるクロック入力制御装置の処理の流
れ図を示す。図2において、まず処理を行うべきイベン
トが存在するか否かを判断し(ステップS201)、全
てのイベント処理が完了していれば(ステップS20
1:No)シミュレーション自体を終了させる。
The flow of such processing will be described with reference to the drawings. FIG. 2 shows a flow chart of the processing of the clock input control device in the logic simulation processing device according to the present invention. In FIG. 2, first, it is determined whether or not there is an event to be processed (step S201), and if all event processes have been completed (step S20)
1: No) The simulation itself is ended.

【0030】完了していないイベント処理が存在すれば
(ステップS201:Yes)、待ち状態となっている
論理ブロックもしくは待ち状態へと遷移した論理ブロッ
クの有無を確認する(ステップS202)。待ち状態と
なっている論理ブロックもしくは待ち状態へと遷移した
論理ブロックが存在すれば(ステップS202:Ye
s)、当該待ち状態となっている論理ブロックに対する
クロック入力の供給を停止する(ステップS203)。
If there is an event process that has not been completed (step S201: Yes), it is checked whether there is a logical block in the waiting state or a logical block that has transitioned to the waiting state (step S202). If there is a logical block in the waiting state or a logical block that has transitioned to the waiting state (step S202: Ye)
s) The supply of the clock input to the waiting logical block is stopped (step S203).

【0031】次に、待ち状態から実行状態へと復帰した
論理ブロックの有無を確認する(ステップS204)。
待ち状態から実行状態等へと復帰した論理ブロックが存
在すれば(ステップS204:Yes)、当該待ち状態
から実行状態等へと復帰した論理ブロックに対して、ク
ロック入力の供給を再開させる(ステップS205)。
そして、実行状態となっている論理ブロックについての
みイベント処理を行う(ステップS206)。
Next, it is confirmed whether or not there is a logical block that has returned from the wait state to the execution state (step S204).
If there is a logical block that has returned from the wait state to the execution state or the like (step S204: Yes), the supply of the clock input to the logical block that has returned from the wait state to the execution state or the like is restarted (step S205). ).
Then, event processing is performed only on the logical block in the execution state (step S206).

【0032】かかる処理を行うことで、待ち状態となっ
ている論理ブロックに対しては、クロック入力が供給さ
れないことから、論理回路全体の処理としては不要な処
理の発生を未然に防止することができ、システム全体の
シミュレーション時間を短縮することが可能となる。
By performing such processing, a clock input is not supplied to a logic block in a waiting state, so that it is possible to prevent occurrence of processing unnecessary for processing of the entire logic circuit. As a result, the simulation time of the entire system can be reduced.

【0033】次に、図3は、ある論理ブロックの状態の
遷移を示す例示図である。図3においては、論理ブロッ
クの状態は待ち状態301、実行状態302、リセット
状態303から構成されている。さらに、外部入力信号
Aにより論理ブロックの状態は実行状態302から待ち
状態301に、外部入力信号Bにより論理ブロックの状
態は待ち状態301から実行状態302に、外部入力信
号Cにより論理ブロックの状態は待ち状態301からリ
セット状態303に遷移するものとしている。
Next, FIG. 3 is an exemplary diagram showing a state transition of a certain logical block. In FIG. 3, the state of the logical block includes a wait state 301, an execution state 302, and a reset state 303. Further, the state of the logic block is changed from the execution state 302 to the waiting state 301 by the external input signal A, the state of the logic block is changed from the waiting state 301 to the execution state 302 by the external input signal B, and the state of the logic block is changed by the external input signal C. It is assumed that the state transits from the waiting state 301 to the reset state 303.

【0034】ここで、待ち状態301とは、例えば論理
ブロック外部からの入力信号に変化がなければ出力信号
は前時刻の値を保持し続け、かつ論理ブロック内部では
出力信号に無関係なタイマによるカウント動作等の処理
が実行されている状態を意味する。すなわち、論理回路
全体の処理としては不要な処理を実行している論理ブロ
ックの状態を意味する。
Here, the wait state 301 means that, for example, if there is no change in the input signal from outside the logic block, the output signal keeps the value of the previous time, and the count inside the logic block by a timer irrelevant to the output signal. This means a state in which a process such as an operation is being executed. In other words, it means the state of the logic block that is executing unnecessary processing as the processing of the entire logic circuit.

【0035】図3において、実行状態302となってい
る論理ブロックが外部入力信号Aによって待ち状態30
1に遷移した場合、待ち状態301に遷移した論理ブロ
ックは内部状態が安定しているため論理ブロック内部で
発生するイベントは論理シミュレーションにおいて不要
である。本発明の実施の形態1では、待ち状態検出部1
1が、図3における論理ブロックの状態を待ち状態30
1に遷移させる外部入力信号Aを検出することで、当該
論理ブロックが待ち状態301となっていると判断する
ことを特徴としており、外部入力信号Aを検出すると、
当該待ち状態301となった論理ブロックに対して、ク
ロック入力停止部102によって外部からのクロック入
力の供給を停止する。
In FIG. 3, the logic block in the execution state 302 is set to the waiting state 30 by the external input signal A.
In the case of transition to 1, since the internal state of the logical block that has transitioned to the wait state 301 is stable, an event occurring inside the logical block is unnecessary in the logic simulation. In the first embodiment of the present invention, the waiting state detecting unit 1
1 is a wait state 30 for the state of the logical block in FIG.
The logic block is determined to be in the waiting state 301 by detecting the external input signal A to be changed to 1. When the external input signal A is detected,
The clock input stopping unit 102 stops the supply of the clock input from the outside to the logical block in the waiting state 301.

【0036】さらに、復帰ブロック検出部13が、待ち
状態301となっている論理ブロックに対して、待ち状
態301から他の状態に遷移させる外部入力信号Bある
いは外部入力信号Cを検出することで、当該論理ブロッ
クが実行状態302あるいはリセット状態303となっ
ているものと判断することを特徴としており、外部入力
信号Bあるいは外部入力信号Cを検出すると、当該実行
状態302あるいはリセット状態303となっている論
理ブロックに対して、クロック入力再開部104によっ
てクロック入力の供給を再開する。
Further, the return block detecting section 13 detects an external input signal B or an external input signal C for making a transition from the waiting state 301 to another state with respect to the logical block in the waiting state 301. It is characterized that the logic block is determined to be in the execution state 302 or the reset state 303, and when the external input signal B or the external input signal C is detected, the execution state 302 or the reset state 303 is set. The clock input restarting unit 104 restarts the supply of the clock input to the logic block.

【0037】なお、ここでは出力信号には特に影響しな
い、論理ブロック内部における複数の状態間の遷移につ
いても待ち状態301として扱い、クロック入力の供給
停止の対象としている。
Here, transitions between a plurality of states in the logic block, which do not particularly affect the output signal, are also treated as the wait state 301, and the supply of the clock input is stopped.

【0038】また、状態の遷移については、図3に示す
ような形態に特定するものではなく、待ち状態301、
論理ブロックの状態を待ち状態301へ遷移させる外部
入力信号A、待ち状態から他の状態へ遷移させる外部入
力信号Bあるいは外部入力信号C等で構成される形態で
あれば足りる。
The state transition is not specified in the form shown in FIG.
It suffices if the configuration is made up of an external input signal A for changing the state of the logic block to the waiting state 301, an external input signal B or an external input signal C for changing from the waiting state to another state.

【0039】以上のように本実施の形態1によれば、待
ち状態となっている論理ブロックに対しクロック入力の
供給を停止することにより、イベント・ドリブン・シミ
ュレーション中の不要なイベントの発生を防ぎ、イベン
ト数の削減が行なわれ、論理シミュレーションの高速化
を実現することが可能となる。
As described above, according to the first embodiment, the supply of the clock input to the logic block in the waiting state is stopped, thereby preventing the occurrence of an unnecessary event during the event-driven simulation. Therefore, the number of events can be reduced, and the speed of the logic simulation can be increased.

【0040】(実施の形態2)以下、本発明の実施の形
態2にかかる論理シミュレーション処理装置について、
図面を参照しながら説明する。本発明の実施の形態2に
かかる論理シミュレーション処理装置は、基本的な構成
としては実施の形態1と同様にクロック入力制御部によ
ってクロック入力の停止・供給を制御するものである
が、その判断の基準が相異する。
Embodiment 2 Hereinafter, a logic simulation processing apparatus according to Embodiment 2 of the present invention will be described.
This will be described with reference to the drawings. The logic simulation processing apparatus according to the second embodiment of the present invention basically controls the stop / supply of the clock input by the clock input control unit similarly to the first embodiment. The standards are different.

【0041】図4は、上位レベルで記述された論理回路
における論理シミュレーションの処理装置におけるクロ
ック入力制御部の構成図である。図4において、401
は処理を行なう動作モードがデータ・ベース406に登
録されているか否かを参照するデータ・ベース参照部
を、402はデータベース406に登録されている動作
モードと一致している論理ブロックを待ち状態となって
いる論理ブロックと判断する待ち状態検出部を、403
は待ち状態となっている論理ブロックに対して外部から
のクロック入力の供給を停止するクロック入力停止部
を、それぞれ示す。
FIG. 4 is a block diagram of a clock input control unit in a logic simulation processor for a logic circuit described at a higher level. In FIG.
Is a database reference unit that refers to whether or not the operation mode in which the processing is performed is registered in the database 406; and 402 is a state in which a logical block that matches the operation mode registered in the database 406 is set in a waiting state. The waiting state detection unit that determines the logical block is
Denotes a clock input stop unit for stopping the supply of a clock input from the outside to the logic block in a waiting state.

【0042】また、404はクロック入力停止状態の論
理ブロックのうち、データ・ベース406に登録されて
いる待ち状態から復帰させる復帰信号を検出することに
よって、当該論理ブロックが待ち状態から他の状態へと
遷移した論理ブロックであるものと判断する復帰ブロッ
ク検出部を、505は復帰ブロックに対して外部からク
ロック入力の供給を再開するクロック入力再開部を、そ
れぞれ示す。
Also, 404 detects a return signal for returning from the wait state registered in the data base 406 among the logical blocks in the clock input stopped state, so that the logical block is changed from the wait state to another state. And a clock input resuming unit 505 for resuming the supply of the clock input from the outside to the return block.

【0043】ここで、データベース406の構成例を図
5に示す。図5では、本発明の実施の形態2にかかる論
理シミュレーション処理装置における論理シミュレーシ
ョン中の動作を、各動作モードごとに分割した場合の、
各々の動作モード501において待ち状態となっている
論理ブロック502及び待ち状態から実行状態等へ復帰
させる外部信号503を登録している。
Here, an example of the configuration of the database 406 is shown in FIG. FIG. 5 shows a case where the operation during the logic simulation in the logic simulation processing apparatus according to the second embodiment of the present invention is divided for each operation mode.
In each operation mode 501, a logical block 502 in a waiting state and an external signal 503 for returning from the waiting state to an execution state are registered.

【0044】すなわち、上位レベルで記述された論理回
路等では、論理シミュレーション開始する前において、
動作モード、当該動作モードにおいて待ち状態となって
いる論理ブロック、及び待ち状態から実行状態等へ復帰
させる外部信号に関する情報については既知であり、図
5に示すようにデータ・ベース406にシミュレーショ
ン開始前に登録しておくことが可能である。例えば、シ
ミュレーションの対象となる論理回路の動作モードがセ
ットアップである場合には、全ての論理ブロックが実行
状態である必要はなく、ある程度限定された論理ブロッ
クのみが実行状態であれば良く、待ち状態となる論理ブ
ロックを事前に登録しておくことが可能となる。
That is, in a logic circuit or the like described at a higher level, before starting a logic simulation,
The information about the operation mode, the logical block in the waiting state in the operation mode, and the external signal for returning from the waiting state to the execution state and the like are known, and as shown in FIG. It is possible to register in. For example, when the operation mode of the logic circuit to be simulated is set up, not all the logic blocks need to be in the execution state, and only a limited number of logic blocks need to be in the execution state, and the waiting state Can be registered in advance.

【0045】次に、図5及び図6を用いて、実施の形態
2にかかる論理シミュレーション処理装置における処理
の流れを具体的に説明する。図6は、本発明の実施の形
態2にかかる論理シミュレーション処理装置における処
理の流れ図である。
Next, the flow of processing in the logic simulation processing apparatus according to the second embodiment will be specifically described with reference to FIGS. FIG. 6 is a flowchart of a process in the logic simulation processing device according to the second embodiment of the present invention.

【0046】まず、論理シミュレーション中の動作モー
ドに関して、あらかじめ待ち状態が既知である動作モー
ド501、その時の待ち状態となっている論理ブロック
502、及び待ち状態から復帰させる外部信号503に
関する情報をデータ・ベース406に登録しておく。
First, regarding the operation mode during the logic simulation, information on the operation mode 501 whose waiting state is known in advance, the logic block 502 in the waiting state at that time, and the external signal 503 to be returned from the waiting state is stored in the data / data. It is registered in the base 406.

【0047】次に、図6において、処理を行うべきイベ
ントが存在するか否かを判断し(ステップS601)、
全てのイベント処理が完了していれば(ステップS60
1:No)シミュレーション自体を終了させる。
Next, in FIG. 6, it is determined whether or not there is an event to be processed (step S601).
If all event processes have been completed (step S60
1: No) The simulation itself is ended.

【0048】完了していないイベント処理が存在すれば
(ステップS601:Yes)、データベース406に
実行する論理シミュレーションの動作モードが登録され
ているか否かを判断する(ステップS602)。動作モ
ードが登録されていれば(ステップS602:Ye
s)、当該動作モードを検索キーとしてデータベース4
06を参照して、待ち状態となる論理ブロックとして登
録されている論理ブロックを検出し(ステップS60
3)、当該待ち状態となる論理ブロックに対するクロッ
ク入力の供給を停止する(ステップS604)。
If there is an uncompleted event process (step S601: Yes), it is determined whether or not the operation mode of the logic simulation to be executed is registered in the database 406 (step S602). If the operation mode is registered (step S602: Ye
s), using the operation mode as a search key in the database 4
06, a logical block registered as a waiting logical block is detected (step S60).
3) The supply of the clock input to the waiting logical block is stopped (step S604).

【0049】当該待ち状態となる論理ブロックに対する
クロック入力の供給が停止されているか、あるいは動作
モードが登録されていない場合(ステップS602:N
o)、データベース406に登録されている待ち状態か
ら実行状態等へと遷移させる外部信号を検出したか否か
を判断する(ステップS605)。待ち状態から実行状
態等へと遷移させる外部信号を検出したら(ステップS
605:Yes)、当該論理ブロックは待ち状態から実
行状態等へと復帰したものと判断し、当該論理ブロック
に対してクロック入力の供給を再開させる(ステップS
606)。そして、実行状態となっている論理ブロック
についてのみイベント処理を行う(ステップS60
7)。
When the supply of the clock input to the waiting logical block is stopped or the operation mode is not registered (step S602: N
o), It is determined whether or not an external signal for transitioning from the waiting state registered in the database 406 to the execution state or the like is detected (step S605). When an external signal for transition from the waiting state to the execution state is detected (step S
605: Yes), it is determined that the logical block has returned from the waiting state to the execution state, and the supply of the clock input to the logical block is restarted (step S).
606). Then, event processing is performed only on the logical block in the execution state (step S60).
7).

【0050】以上のように本実施の形態2によれば、各
動作モードにおける待ち状態となるべき論理ブロック及
び待ち状態から復帰させる外部信号をデータ・ベースに
事前に登録しておき、論理シミュレーション中に登録済
みの動作モードで処理を行なう場合には外部からのクロ
ック入力の供給を停止し、また登録済みの待ち状態から
復帰させる外部信号を検出した場合にはクロック入力の
供給を再開することにより、待ち状態となっている論理
ブロックにおける不要な演算処理を削減し、論理シミュ
レーション全体としての処理高速化を実現することが可
能となる。
As described above, according to the second embodiment, the logical blocks to be in the waiting state in each operation mode and the external signals to be returned from the waiting state are registered in the data base in advance, and the logic simulation is performed. When processing is performed in the registered operation mode, the supply of external clock input is stopped, and when an external signal for returning from the registered wait state is detected, the supply of clock input is restarted. In addition, unnecessary operation processing in the waiting logical block can be reduced, and the processing speed of the entire logic simulation can be increased.

【0051】(実施の形態3)以下、本発明の実施の形
態3にかかる論理シミュレーション処理装置について、
図面を参照しながら説明する。本発明の実施の形態3に
かかる論理シミュレーション処理装置は、基本的な構成
としては実施の形態1と同様にクロック入力制御部によ
ってクロック入力の停止・供給を制御するものである
が、その判断の基準が相異する。
Embodiment 3 Hereinafter, a logic simulation processing apparatus according to Embodiment 3 of the present invention will be described.
This will be described with reference to the drawings. The logic simulation processing apparatus according to the third embodiment of the present invention basically controls the stop / supply of the clock input by the clock input control unit similarly to the first embodiment. The standards are different.

【0052】図7は、本発明の実施の形態3にかかる論
理シミュレーション処理装置における論路回路の構成例
示図である。図7において、701はCPU等の処理コ
ントロール部を、702はバス・コントロール・ユニッ
ト等の論理ブロックコントロール部を、703は論理ブ
ロックを、それぞれ示す。
FIG. 7 is a view showing an example of the configuration of a logic circuit in the logic simulation processing apparatus according to the third embodiment of the present invention. 7, reference numeral 701 denotes a processing control unit such as a CPU; 702, a logical block control unit such as a bus control unit; and 703, a logical block.

【0053】論理シミュレーション中においては、各イ
ベントの処理は論理ブロックコントロール部702を介
して各論理ブロック703で実行される。そして、論理
ブロック703内での処理の終了は、処理終了信号Dに
よって論理ブロックコントロール部702に通知され、
処理開始信号Eによって待ち状態である特定の論理ブロ
ック703に対して論理ブロックコントロール部702
より処理の開始が通知される。
During the logic simulation, the processing of each event is executed in each logic block 703 via the logic block control unit 702. Then, the end of the processing in the logical block 703 is notified to the logical block control unit 702 by the processing end signal D,
The logical block control unit 702 controls a specific logical block 703 in a waiting state by the processing start signal E.
Then, the start of the process is notified.

【0054】具体的には、待ち状態検出部11は、論理
ブロック703からの処理終了信号Dを検出することに
よって当該論理ブロックが待ち状態であるものと判断
し、クロック入力停止部12によって当該待ち状態とな
っている論理ブロックに対して、外部からのクロック入
力の供給を停止する。
More specifically, the wait state detection unit 11 determines that the logical block is in the wait state by detecting the processing end signal D from the logical block 703, and the clock input stop unit 12 determines that the logical block is in the wait state. The supply of the clock input from the outside to the logic block in the state is stopped.

【0055】さらに、復帰ブロック検出部13は、クロ
ック入力停止状態となった論理ブロックに対する処理開
始信号Eを検出することによって、当該論理ブロックが
待ち状態から他の状態へと遷移する論理ブロックである
ものと判断し、クロック入力再開部14によって当該論
理ブロックに対してクロック入力の供給を再開する。
Further, the return block detector 13 detects the processing start signal E for the logical block in the clock input stopped state, and the logical block transitions from the waiting state to another state. Thus, the clock input restarting unit 14 restarts the supply of the clock input to the logical block.

【0056】なお、図7の論理ブロック703からの処
理終了信号Dが存在しない場合については、入力信号の
変化がなく、かつ出力信号も一定値を保持しているよう
な状態を待ち状態とし、論理ブロック703自体がこの
ような状態となった場合に処理終了信号Dを出力させる
ような論理回路を論理ブロック703内に作成し、クロ
ック入力の供給停止を行なうことができることはいうま
でもない。
In the case where the processing end signal D from the logic block 703 in FIG. 7 does not exist, a state in which the input signal does not change and the output signal holds a constant value is set to a waiting state. Needless to say, a logic circuit that outputs the processing end signal D when the logic block 703 itself is in such a state can be created in the logic block 703 and supply of the clock input can be stopped.

【0057】以上のように本実施の形態3によれば、論
理ブロックからの処理終了信号D、及びクロック入力停
止状態の論理ブロックへの処理開始信号Eを検出するこ
とにより、論理シミュレーション中の各論理ブロックに
対するクロック入力の供給を制御でき、論理シミュレー
ションの高速化を実現することが可能となる。
As described above, according to the third embodiment, by detecting the processing end signal D from the logic block and the processing start signal E to the logic block in the clock input stopped state, each of the signals during the logic simulation is detected. The supply of the clock input to the logic block can be controlled, and the speed of the logic simulation can be increased.

【0058】[0058]

【発明の効果】以上のように、本発明にかかる論理シミ
ュレーション処理装置及び方法によれば、待ち状態に遷
移させる外部信号により待ち状態を検出し、検出された
待ち状態の論理ブロックに対し外部からのクロック入力
の供給を停止させることができることから、論理シミュ
レーションにおけるイベント数の削減が行なわれ、論理
シミュレーションの実行速度の向上が実現できる。
As described above, according to the logic simulation processing apparatus and method according to the present invention, a wait state is detected by an external signal for transiting to a wait state, and the detected wait state logic block is externally detected. Can be stopped, the number of events in the logic simulation can be reduced, and the execution speed of the logic simulation can be improved.

【0059】また、本発明にかかる論理シミュレーショ
ン処理装置及び方法によれば、動作モードに対しあらか
じめ既知である待ち状態の論理ブロック及び待ち状態か
ら他の状態へと遷移させる外部信号をデーターベースに
登録し、論理シミュレーション中にデータベースを参照
することによって待ち状態となる論理ブロックを検出
し、当該論理ブロックに対して外部からのクロック入力
の供給を停止することによって、論理シミュレーション
の実行速度の向上がより簡単に実現できる。
According to the logic simulation processing apparatus and method according to the present invention, a logic block in a waiting state, which is known in advance for an operation mode, and an external signal for making a transition from the waiting state to another state are registered in the database. Then, by detecting a logic block that is in a waiting state by referring to a database during the logic simulation, and stopping supply of an external clock input to the logic block, the execution speed of the logic simulation can be improved more. It can be easily realized.

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

【図1】 本発明の実施の形態1にかかる論理シミュレ
ーション処理装置におけるクロック入力制御部の構成図
FIG. 1 is a configuration diagram of a clock input control unit in a logic simulation processing device according to a first embodiment of the present invention;

【図2】 本発明の実施の形態1にかかる論理シミュレ
ーション処理装置におけるクロック入力制御部の処理流
れ図
FIG. 2 is a processing flowchart of a clock input control unit in the logic simulation processing device according to the first embodiment of the present invention;

【図3】 本発明の実施の形態1にかかる論理シミュレ
ーション処理装置における状態遷移の例示図
FIG. 3 is an exemplary diagram of state transition in the logic simulation processing device according to the first embodiment of the present invention;

【図4】 本発明の実施の形態2にかかる論理シミュレ
ーション処理装置におけるクロック入力制御部の構成図
FIG. 4 is a configuration diagram of a clock input control unit in the logic simulation processing device according to the second embodiment of the present invention;

【図5】 本発明の実施の形態2にかかる論理シミュレ
ーション処理装置におけるデータベースの構成例示図
FIG. 5 is a diagram illustrating a configuration example of a database in a logic simulation processing apparatus according to a second embodiment of the present invention;

【図6】 本発明の実施の形態2にかかる論理シミュレ
ーション処理装置におけるクロック入力制御部の処理流
れ図
FIG. 6 is a processing flowchart of a clock input control unit in the logic simulation processing device according to the second embodiment of the present invention;

【図7】 本発明の実施の形態3にかかる論理シミュレ
ーション処理装置における論理回路の構成図
FIG. 7 is a configuration diagram of a logic circuit in the logic simulation processing device according to the third embodiment of the present invention;

【符号の説明】 11、402 待ち状態検出部 12、403 クロック入力停止部 13、404 復帰ブロック検出部 14、405 クロック入力再開部 301 待ち状態 302 実行状態 303 リセット状態 501 動作モード 502 動作モードに対する待ち状態となる論理ブロッ
ク 503 動作モードに対する待ち状態から復帰させる外
部信号 401 データ・ベース参照部 406 データベース 701 処理コントロール部 702 論理ブロックコントロール部 703 論理ブロック
[Description of Signs] 11, 402 Waiting state detecting unit 12, 403 Clock input stopping unit 13, 404 Return block detecting unit 14, 405 Clock input resuming unit 301 Waiting state 302 Running state 303 Reset state 501 Operating mode 502 Waiting for operating mode Logical block 503 to be in state External signal for returning from the waiting state for the operation mode 401 Database reference section 406 Database 701 Processing control section 702 Logical block control section 703 Logical block

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 イベントドリブン方式の論理シミュレー
ションにおいて、 所定の時刻において、外部からの入力に変化が無い限り
内部状態が安定する待ち状態となっている論理ブロック
を検出する待ち状態検出部と、 前記待ち状態となっている論理ブロックに対して、外部
からのクロック入力の供給を停止するクロック入力停止
部と、 前記クロック入力停止部によってクロック入力停止状態
となった論理ブロックのうち、前記待ち状態から他の状
態へと遷移する論理ブロックを検出する復帰ブロック検
出部と、 前記復帰ブロック検出部によって検出された論理ブロッ
クに対して、外部からのクロック入力の供給を再開する
クロック入力再開部とを含むことを特徴とする論理シミ
ュレーション処理装置。
In a logic simulation of an event-driven system, a waiting state detecting section for detecting, at a predetermined time, a logical block in a waiting state in which an internal state is stabilized unless an external input is changed; A clock input stop unit for stopping supply of an external clock input to a logic block in a wait state, and a logic block in a clock input stop state by the clock input stop unit. A return block detection unit that detects a logic block that transitions to another state; and a clock input restart unit that restarts external clock input supply to the logic block detected by the return block detection unit. A logic simulation processing device characterized by the above-mentioned.
【請求項2】 前記待ち状態検出部において、論理ブロ
ックの状態を前記待ち状態に遷移させる外部信号に基づ
いて、前記待ち状態となっている論理ブロックを検出す
る請求項1記載の論理シミュレーション処理装置。
2. The logic simulation processing device according to claim 1, wherein the waiting state detection unit detects the logic block in the waiting state based on an external signal for changing a state of the logical block to the waiting state. .
【請求項3】 前記待ち状態検出部において、論理ブロ
ックから出力される処理終了信号に基づいて、前記待ち
状態となっている論理ブロックを検出する請求項1記載
の論理シミュレーション処理装置。
3. The logic simulation processing device according to claim 1, wherein the waiting state detection unit detects the waiting logical block based on a processing end signal output from the logical block.
【請求項4】 前記復帰ブロック検出部において、論理
ブロックの状態を前記待ち状態から他の状態に遷移させ
る外部信号に基づいて、復帰ブロックを検出する請求項
1記載の論理シミュレーション処理装置。
4. The logic simulation processing device according to claim 1, wherein the return block detection unit detects a return block based on an external signal that causes the state of the logical block to transition from the wait state to another state.
【請求項5】 前記復帰ブロック検出部において、クロ
ック入力停止状態の論理ブロックに入力される外部信号
に基づいて、復帰ブロックを検出する請求項1記載の論
理シミュレーション処理装置。
5. The logic simulation processing device according to claim 1, wherein the return block detector detects a return block based on an external signal input to the logic block in a clock input stopped state.
【請求項6】 イベントドリブン方式の論理シミュレー
ションにおいて、 シミュレーションの対象となるシステムの動作を動作モ
ードとして分割し、各々の前記動作モードに対して外部
からの入力に変化が無い限り内部状態が安定する待ち状
態となっている論理ブロック及び前記待ち状態から復帰
させる外部信号をデータ・ベースに登録し、前記データ
・ベースを参照することにより前記待ち状態となってい
る論理ブロックを検出する待ち状態検出部と、 前記待ち状態となっている論理ブロックに対して、外部
からのクロック入力の供給を停止するクロック入力停止
部と、 前記クロック入力停止部によりクロック入力停止状態と
なった論理ブロックのうち、前記データ・ベースを参照
することにより前記待ち状態から他の状態へと遷移する
論理ブロックを検出する復帰ブロック部と、 前記復帰ブロック検出部において検出された論理ブロッ
クに対し、外部からのクロック入力の供給を再開するク
ロック入力再開部とを含むことを特徴とする論理シミュ
レーション処理装置。
6. In an event-driven logic simulation, an operation of a system to be simulated is divided into operation modes, and an internal state is stabilized unless an external input changes for each of the operation modes. A waiting state detecting unit for registering a logical block in a waiting state and an external signal for returning from the waiting state in a database, and detecting the logical block in the waiting state by referring to the database; A clock input stop unit for stopping supply of an external clock input to the logic block in the waiting state; and a logic block in a clock input stop state by the clock input stop unit. Theory of transition from the waiting state to another state by referring to the database A logic simulation processing apparatus comprising: a return block unit that detects a logical block; and a clock input restart unit that restarts supply of a clock input from the outside to the logical block detected by the return block detection unit. .
【請求項7】 イベントドリブン方式の論理シミュレー
ションにおいて、 所定の時刻において、外部からの入力に変化が無い限り
内部状態が安定する待ち状態となっている論理ブロック
を検出する工程と、 前記待ち状態となっている論理ブロックに対して、外部
からのクロック入力の供給を停止する工程と、 クロック入力停止状態となった論理ブロックのうち、前
記待ち状態から他の状態へと遷移する論理ブロックを検
出する工程と、 検出された前記待ち状態から他の状態へと遷移する論理
ブロックに対して、外部からのクロック入力の供給を再
開する工程とを含むことを特徴とする論理シミュレーシ
ョン処理方法。
7. In an event-driven logic simulation, at a predetermined time, a step of detecting a logic block in a waiting state in which an internal state is stabilized unless there is a change in an external input; Stopping the supply of a clock input from the outside to the logic block that has been turned off, and detecting a logic block that transitions from the waiting state to another state among the logic blocks in the clock input stopped state. And a step of resuming the supply of an external clock input to the detected logic block that transits from the waiting state to another state.
【請求項8】 前記待ち状態となっている論理ブロック
を検出する工程において、論理ブロックの状態を前記待
ち状態に遷移させる外部信号に基づいて、前記待ち状態
となっている論理ブロックを検出する請求項7記載の論
理シミュレーション処理方法。
8. The logical block in the waiting state is detected in the step of detecting the logical block in the waiting state based on an external signal for changing the state of the logical block to the waiting state. Item 7. A logic simulation processing method according to Item 7.
【請求項9】 前記待ち状態となっている論理ブロック
を検出する工程において、論理ブロックから出力される
処理終了信号に基づいて、前記待ち状態となっている論
理ブロックを検出する請求項7記載の論理シミュレーシ
ョン処理方法。
9. The logic block according to claim 7, wherein, in the step of detecting the logic block in the waiting state, the logic block in the waiting state is detected based on a processing end signal output from the logic block. Logic simulation processing method.
【請求項10】 前記待ち状態から他の状態へと遷移す
る論理ブロックを検出する工程において、論理ブロック
の状態を前記待ち状態から他の状態に遷移させる外部信
号に基づいて、復帰ブロックを検出する請求項7記載の
論理シミュレーション方法。
10. In the step of detecting a logical block that transitions from the waiting state to another state, a return block is detected based on an external signal that causes the state of the logical block to transition from the waiting state to another state. The logic simulation method according to claim 7.
【請求項11】 前記待ち状態から他の状態へと遷移す
る論理ブロックを検出する工程において、クロック入力
停止状態の論理ブロックに入力される外部信号に基づい
て、復帰ブロックを検出する請求項7記載の論理シミュ
レーション処理方法。
11. The recovery block is detected based on an external signal input to a logic block in a clock input stopped state in the step of detecting a logic block that transitions from the wait state to another state. Logic simulation processing method.
【請求項12】 イベントドリブン方式の論理シミュレ
ーションにおいて、 シミュレーションの対象となるシステムの動作を動作モ
ードとして分割し、各々の前記動作モードに対して外部
からの入力に変化が無い限り内部状態が安定する待ち状
態となっている論理ブロック及び前記待ち状態から復帰
させる外部信号をデータ・ベースに登録し、前記データ
・ベースを参照することにより前記待ち状態となってい
る論理ブロックを検出する工程と、 前記待ち状態となっている論理ブロックに対して、外部
からのクロック入力の供給を停止する工程と、 クロック入力停止状態となった論理ブロックのうち、前
記データ・ベースを参照することにより前記待ち状態か
ら他の状態へと遷移する論理ブロックを検出する工程
と、 検出された前記待ち状態から他の状態へと遷移する論理
ブロックに対し、外部からのクロック入力の供給を再開
する工程とを含むことを特徴とする論理シミュレーショ
ン処理方法。
12. In an event-driven logic simulation, an operation of a system to be simulated is divided into operation modes, and an internal state is stabilized as long as there is no change in an external input for each of the operation modes. Registering, in a data base, a logical block in a waiting state and an external signal to be returned from the waiting state, and detecting the logical block in the waiting state by referring to the data base; Stopping the supply of a clock input from the outside to the logic block in a waiting state; and, from the waiting state by referring to the database among the logic blocks in the clock input stopped state. Detecting a logical block transitioning to another state; and the detected wait state From relative logical block transitions to another state, logic simulation processing method which comprises a step resuming the supply of the clock input from the outside.
JP33585999A 1999-11-26 1999-11-26 Device and method for processing logic simulation Pending JP2001155047A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33585999A JP2001155047A (en) 1999-11-26 1999-11-26 Device and method for processing logic simulation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33585999A JP2001155047A (en) 1999-11-26 1999-11-26 Device and method for processing logic simulation

Publications (1)

Publication Number Publication Date
JP2001155047A true JP2001155047A (en) 2001-06-08

Family

ID=18293191

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33585999A Pending JP2001155047A (en) 1999-11-26 1999-11-26 Device and method for processing logic simulation

Country Status (1)

Country Link
JP (1) JP2001155047A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009116625A (en) * 2007-11-06 2009-05-28 Seiko Epson Corp Simulation method of integrated circuit device, integrated circuit device and electronic equipment
JP2011164860A (en) * 2010-02-08 2011-08-25 Fujitsu Ltd Device and program for verification
WO2023233616A1 (en) * 2022-06-02 2023-12-07 三菱電機株式会社 Method for verifying logic circuit, program for verifying logic circuit, and system for verifying logic circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009116625A (en) * 2007-11-06 2009-05-28 Seiko Epson Corp Simulation method of integrated circuit device, integrated circuit device and electronic equipment
JP2011164860A (en) * 2010-02-08 2011-08-25 Fujitsu Ltd Device and program for verification
WO2023233616A1 (en) * 2022-06-02 2023-12-07 三菱電機株式会社 Method for verifying logic circuit, program for verifying logic circuit, and system for verifying logic circuit

Similar Documents

Publication Publication Date Title
JP3357813B2 (en) Gated clock design support method, gated clock design support device, and computer-readable recording medium storing gated clock design support program
US20020116555A1 (en) Method and apparatus for efficiently moving portions of a memory block
JP4599266B2 (en) Simulation apparatus and simulation method
US20080208557A1 (en) Simulation method and simulation system
US8042074B2 (en) Circuit design device, circuit design program, and circuit design method
EP3486811A1 (en) Simulation device, simulation system, simulation method and simulation program
JP2001155047A (en) Device and method for processing logic simulation
JP4580722B2 (en) Test simulator and test simulation program
US6954872B2 (en) Registering events while clocking multiple domains
CN115204081A (en) Chip simulation method, chip simulation platform, chip simulation system, and computer-readable storage medium
US10761581B2 (en) Method and module for programmable power management, and system on chip
Vu et al. A Tree-Based Checkpointing Architecture for the Dependability of FPGA Computing
US20080278195A1 (en) Structure for executing software within real-time hardware constraints using functionally programmable branch table
US9405872B2 (en) System and method for reducing power of a circuit using critical signal analysis
JP2750172B2 (en) Electronics
JP2006202102A (en) Simulation apparatus
JP2009301192A (en) Simulation device and simulation method
US20060190235A1 (en) Verilog HDL simulation model for retain time
JP2004030228A (en) Lsi simulator and simulation method
KR100672550B1 (en) Method for processing multiple interrupt
JP2003330991A (en) Hardware modeling method
JP2006178663A (en) Information processor, method for processing information, verification apparatus, and method of verification
JP2006171810A (en) Debugging control system and its control method
JP2563399B2 (en) Logical simulation method
CN117873797A (en) Digital circuit chip fault confirmation method and related device