JPH01292471A - Simulation system for logical circuit - Google Patents

Simulation system for logical circuit

Info

Publication number
JPH01292471A
JPH01292471A JP63122482A JP12248288A JPH01292471A JP H01292471 A JPH01292471 A JP H01292471A JP 63122482 A JP63122482 A JP 63122482A JP 12248288 A JP12248288 A JP 12248288A JP H01292471 A JPH01292471 A JP H01292471A
Authority
JP
Japan
Prior art keywords
oscillation
simulation
logical
feedback
signal line
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
JP63122482A
Other languages
Japanese (ja)
Inventor
Shigeru Takasaki
高崎 茂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP63122482A priority Critical patent/JPH01292471A/en
Publication of JPH01292471A publication Critical patent/JPH01292471A/en
Pending legal-status Critical Current

Links

Landscapes

  • Logic Circuits (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

PURPOSE:To monitor an oscillation state at the time of simulating a logical circuit by providing the title system with a means for monitoring a logical value on a feedback signal line. CONSTITUTION:Although some logical circuit fixes its output value (output value of level 5), oscillation may be generated in its inside (level 2-4). Since oscillation is generally generated by possitive feedback, the oscillation can be surely detected by allowing a logical value propagation monitoring means 21 to monitor the logical values of feedback signal lines 31, 32 in a feedback group.

Description

【発明の詳細な説明】 玖血欠1 本発明は論理回路のシミュレーション方式に関し、特に
シミュレーション実行時の発振検出方法に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a logic circuit simulation method, and more particularly to an oscillation detection method during simulation execution.

良久挟匝 従来、この種のシミュレーション時における発振検出の
完全な手法はなく、シミュレーションのモデル化時に発
振検出ゲート等の付加等の工夫を方組していた0例えば
、H,A、Breuer、A、D、Fr1edn+an
Until now, there was no perfect method for detecting oscillation during this type of simulation, and efforts were made to add oscillation detection gates, etc. when modeling the simulation.For example, H, A, Breuer, A ,D,Fr1edn+an
.

“Diagnosis & Re1iable Des
ign of Diaital 5ystals” 、
Conputer 5cience Press、In
c、1976、(PP、242〜244)にこの様な技
術が開示されている。
“Diagnosis & Reliable Des
ign of Diaital 5ystals”,
Computer 5science Press, In
Such a technique is disclosed in J. C., 1976, (PP, 242-244).

上述した従来のシミュレーション検出回路は、モデル作
成時、シミュレーション実行時に発振が起りそうな箇所
をみつけ、該箇所に検出回路を3a加する必要があるが
、発振が起りそうな箇所をみつけること自体大変な手間
がかかり、さらにそこに検出回路を追加することによっ
てモデル規模が増大するという欠点がある。
With the conventional simulation detection circuit described above, it is necessary to find a location where oscillation is likely to occur when creating a model or executing a simulation, and to add a detection circuit to that location, but finding a location where oscillation is likely to occur is itself difficult. This method requires a lot of time and effort, and the addition of a detection circuit increases the model size.

九匪ム旦預 本発明の目的は簡単な構成で容易に発振を見つけ出すこ
とができる論理シミュレーション方式を提供することで
ある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a logic simulation method that has a simple configuration and can easily detect oscillations.

九匪五唱羞 本発明によれば、複数の論理回路素子がフィードパツク
ループを含んで順序回路を構成してなる論理回路のシミ
ュレーション方式であって、前記フィードバックループ
のフィードバック信号線上を伝播する論理値伝播状態を
監視する手段を設け、シミュレーション実行時にこの論
理値伝播状態を監視して被模擬モデルのシミュレーショ
ン時の発振を検出するようにしたことを特徴とするシミ
ュレーション方式が得られる。
According to the present invention, there is provided a simulation method for a logic circuit in which a plurality of logic circuit elements constitute a sequential circuit including a feed pack loop, the logic being propagated on the feedback signal line of the feedback loop. A simulation method is obtained in which a means for monitoring a value propagation state is provided, and the logical value propagation state is monitored during simulation execution to detect oscillations during simulation of a simulated model.

火■ヨ 以下に本発明の実施例を図面を用いて説明する。Fire ■yo Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明の詳細な説明するための回路構成図であ
り、ゲート10〜20が被模擬モデル内に含まれる論理
回路素子を示しており、これ等各ゲート10〜20は図
示の如く相互接続されている。論理値伝播監視手段21
は被模擬モデル内の論理回路素子間のフィードバックル
ープ接続信号線31.32における状態値の伝播状態を
監視する機能を有する。従って、論理値伝播監視手段2
1はこのフィードバック信号線31.32から導出され
た見かけ上の信号線(点線にて示す)を入力とし、当該
モデルのシミュレーション時に発振が生じた場合、この
信号線31.32に伝播する論理値の状態変化を検出し
て、発振検出出力30を生成するものである。
FIG. 1 is a circuit configuration diagram for explaining the present invention in detail, in which gates 10 to 20 represent logic circuit elements included in the simulated model, and each gate 10 to 20 is as shown in the figure. interconnected. Logical value propagation monitoring means 21
has a function of monitoring the propagation state of state values in the feedback loop connection signal lines 31 and 32 between logic circuit elements in the simulated model. Therefore, logical value propagation monitoring means 2
1 inputs an apparent signal line (indicated by a dotted line) derived from this feedback signal line 31.32, and when oscillation occurs during simulation of the model, a logical value propagates to this signal line 31.32. The oscillation detection output 30 is generated by detecting a change in the state of the sensor.

上記モデルがシミュレーションされて、発振が起った場
合検出される方法は以下の様になっている。簡単化のた
め、本回路は論理シミュレーションのみされるとし、イ
ベントドリブン法でかつレベルオーダリング(第1図の
レベル1〜5)で実行されるものとする0本モデルに入
力されるパターンは第1図の■、■に示されている如く
であるものとする。
The method for detecting oscillation when the above model is simulated is as follows. For simplicity, it is assumed that this circuit is only subjected to logic simulation, and that it is executed using an event-driven method and level ordering (levels 1 to 5 in Figure 1).The pattern input to the model is the first one. Assume that the conditions are as shown in ■ and ■ in the figure.

最初に■のパターンが設定されると、各ゲート10〜2
0出力は図中の各ゲートの出力に付加された■の様な値
に固定される。次に■のパターンが設定される。このパ
ターンが設定されると、レベル1と5に属するゲートの
出力は固定するが、レベル2.3.4の各ゲートは14
,16.18の出力は論理値が固定しない、この模様は
第1図中の■に示されている6例えば、ゲート14.】
8はO→1→0→1と、ゲート16は1→0→1→0と
続き発振する。従って、■、■の様なパターンが入ると
レベル2,3.4では常にイベントが発生し、■のパタ
ーンに対する論理シミュレーションは集束しないので、
次のパターンの論理シミュレーションを実行できない。
When pattern ■ is first set, each gate 10 to 2
The 0 output is fixed to a value like ■ added to the output of each gate in the figure. Next, pattern ■ is set. When this pattern is set, the outputs of gates belonging to levels 1 and 5 are fixed, but each gate of levels 2, 3, and 4 has 14 outputs.
, 16.18, the logic values are not fixed. This pattern is shown by ■ in FIG. ]
The gate 8 oscillates in the order O→1→0→1, and the gate 16 oscillates in the order 1→0→1→0. Therefore, when patterns such as ■ and ■ enter, events always occur at levels 2 and 3.4, and the logic simulation for the pattern of ■ does not converge.
The following pattern of logical simulation cannot be executed.

この発振状態を検出するため、本発明では、フィードバ
ック信号線に接続する見かけ上の信号線を付加し、イベ
ントが発生する毎に伝播してくる論理値7(または状態
変化通知イベント)を論理値伝播監視手段21にて監視
する0例えば、■のパターンに対してゲート18では0
→1→0→1・・・と変化してくるので、この状態を監
視手段21で監視する。この監視手段21はこれらの状
態変化の累計がある所定値以上になるとシミュレーショ
ンで発振が起っていることを判断し、その出力30にこ
れを伝える。出力30に発振が起っていることが伝播す
ると、次のパターンを実行する。
In order to detect this oscillation state, in the present invention, an apparent signal line connected to the feedback signal line is added, and the logical value 7 (or state change notification event) propagated every time an event occurs is converted into a logical value. 0 monitored by the propagation monitoring means 21, for example, the gate 18 detects 0 for the pattern (■).
→1→0→1, etc., so this state is monitored by the monitoring means 21. This monitoring means 21 determines through simulation that oscillation has occurred when the cumulative total of these state changes exceeds a certain predetermined value, and transmits this to its output 30. When the occurrence of oscillation at the output 30 is propagated, the next pattern is executed.

本実施例では単一のフィードバック信号線より論理値が
伝播してくる場合であるが、複数のフィードバック信号
線より論理値が伝播してくる場合も同様に扱うことがで
きる。さらに、監視手段21にどこのフィードバックル
ープより伝播してくるかのデータを持たせると、とこで
発振が起っているかを特定することもできる0本例では
、監視手段21の入力においてレベル4から2のループ
であることが判れば発振がこのレベル間のループで起っ
ていることが判る。
In this embodiment, a logical value is propagated from a single feedback signal line, but a case where logical values are propagated from a plurality of feedback signal lines can be handled in the same way. Furthermore, if the monitoring means 21 has data on which feedback loop the oscillation is propagating from, it is possible to specify where the oscillation is occurring.In this example, the level 4 If it is found that the loop is 2, it can be seen that oscillation occurs in the loop between these levels.

本実施例では簡単化のために論理シミュレーションで発
振が起る場合を示したが、故障シミュレーションで発振
が起きた場合でも同様に汲うことができる。さらに、コ
ンパイル法で実行されているシミュレーションでも本発
明の方法で同様に検出することができる。
In this embodiment, for the sake of simplicity, a case where oscillation occurs in logic simulation is shown, but the same can be said even if oscillation occurs in fault simulation. Furthermore, simulations performed using the compilation method can be similarly detected using the method of the present invention.

几肌ムヱJ 以上説明した様に、本発明によれば、シミュレーション
において、フィードバック信号線に接続する見かけ上の
信号線を付加し、これらの信号線を伝播してくる状態を
監視する手段を有することにより、シミュレーション時
の発振を検出できるという効果がある。
As explained above, according to the present invention, in a simulation, apparent signal lines connected to the feedback signal line are added, and means for monitoring the state propagating through these signal lines is provided. This has the effect that oscillations during simulation can be detected.

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

第1図は本発明の実施例のブロック図である。 主要部分の符号の説明 10〜20・・・・・・ゲート 21・・・・・・論理値伝播監視手段 FIG. 1 is a block diagram of an embodiment of the invention. Explanation of symbols of main parts 10-20...Gate 21... Logical value propagation monitoring means

Claims (1)

【特許請求の範囲】[Claims] (1)複数の論理回路素子がフィードバックループを含
んで順序回路を構成してなる論理回路のシミュレーショ
ン方式であって、前記フィードバックループのフィード
バック信号線上を伝播する論理値伝播状態を監視する手
段を設け、シミュレーション実行時にこの論理値伝播状
態を監視して被模擬モデルのシミュレーション時の発振
を検出するようにしたことを特徴とするシミュレーショ
ン方式。
(1) A simulation method for a logic circuit in which a plurality of logic circuit elements constitute a sequential circuit including a feedback loop, which includes means for monitoring a logic value propagation state propagating on a feedback signal line of the feedback loop. A simulation method characterized in that the logical value propagation state is monitored during simulation execution to detect oscillations during simulation of the simulated model.
JP63122482A 1988-05-19 1988-05-19 Simulation system for logical circuit Pending JPH01292471A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63122482A JPH01292471A (en) 1988-05-19 1988-05-19 Simulation system for logical circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63122482A JPH01292471A (en) 1988-05-19 1988-05-19 Simulation system for logical circuit

Publications (1)

Publication Number Publication Date
JPH01292471A true JPH01292471A (en) 1989-11-24

Family

ID=14836939

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63122482A Pending JPH01292471A (en) 1988-05-19 1988-05-19 Simulation system for logical circuit

Country Status (1)

Country Link
JP (1) JPH01292471A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4916853A (en) * 1983-05-26 1990-04-17 Shigetomo Matsui Method for manufacturing welded pipes

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4916853A (en) * 1983-05-26 1990-04-17 Shigetomo Matsui Method for manufacturing welded pipes

Similar Documents

Publication Publication Date Title
JPS55131852A (en) Fail-safe unit of control computer
JPH01292471A (en) Simulation system for logical circuit
US20070266348A1 (en) Circuit conjunctive normal form generating method, circuit conjunctive normal form generating device, hazard check method and hazard check device
JPH08298533A (en) Alarm collection device
JPS6215664A (en) Logic simulation
Allahham et al. Monitoring of a class of timed discrete events systems
JP3081234B2 (en) How to check CPU board
JPS6236270B2 (en)
JPS6126698B2 (en)
JP2803167B2 (en) Control line instantaneous interruption recognition prevention circuit
JP2614931B2 (en) Interrupt control circuit
JPS6213697B2 (en)
JPS5983438A (en) Program failure detecting system
JP3452708B2 (en) Programmable controller
JPH03288270A (en) Logic simulation device
JPS6215665A (en) Logic simulater
JPS59208473A (en) State change detector
JPH01226039A (en) Method for detecting signal fault generating location
JPH02105232A (en) Method for verifying operation of logic circuit
JPH08274755A (en) Bit error mask circuit
JPH0383170A (en) Automatic decision device for specification by logical simulation
JPH0682529A (en) Semiconductor integrated circuit and designing method of test pattern therefor
JPS59128654A (en) Data processing system
JPH06243191A (en) Timing verifying circuit
JPH02269983A (en) Fault detection state dictionary read-in type fault simulator device