JPH04273382A - Logic simulation system of lsi - Google Patents

Logic simulation system of lsi

Info

Publication number
JPH04273382A
JPH04273382A JP3053657A JP5365791A JPH04273382A JP H04273382 A JPH04273382 A JP H04273382A JP 3053657 A JP3053657 A JP 3053657A JP 5365791 A JP5365791 A JP 5365791A JP H04273382 A JPH04273382 A JP H04273382A
Authority
JP
Japan
Prior art keywords
input
output
signal
circuit
pin
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
JP3053657A
Other languages
Japanese (ja)
Inventor
Koichiro Takayama
高山 浩一郎
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3053657A priority Critical patent/JPH04273382A/en
Publication of JPH04273382A publication Critical patent/JPH04273382A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To facilitate the simulation by a logic simulator which does not have a bi-directional input output element as a model for an LSI logic circuit to access to a common bus. CONSTITUTION:In the logic simulation system of an LSI circuit including a bus circuit connected by plural try state elements which do not take a wired logic including a bi-directional input output pin to one signal line, a try state calculating means 1 to calculate for the signal corresponding to the state from the try state element, a pin input output deciding means 2 to decide the signal input output of the bi-directional pin connected to the bus circuit from the signal corresponding to the state, an input output signal selecting means 3 to select the input output signal to the bi-directional pin and the logic circuit, and a bus conflict detecting means 4 to compare the signal corresponding to the try state with the signal corresponding to the try state inputted through a bi-directional pin from an external circuit and detect the occurrence of the bus conflict are equipped.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は複数の論理回路がトライ
ステート素子を介して共通バスにアクセスするLSI論
理回路の論理シミュレーション方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a logic simulation method for LSI logic circuits in which a plurality of logic circuits access a common bus via tristate elements.

【0002】0002

【従来の技術】近年のVLSIなどの製造技術の進歩に
ともない、1チップ上に実現できる回路の規模は飛躍的
に増大している。このため、1個のVLSI中には論理
回路に加えて外部メモリとのインターフェイス回路やバ
ス回路までも実現することが可能になっており、このよ
うなVLSIには双方向の外部入出力ピン(バスピン)
が存在する。
2. Description of the Related Art With recent advances in manufacturing technology such as VLSI, the scale of circuits that can be realized on one chip has increased dramatically. For this reason, in addition to logic circuits, a single VLSI can include an interface circuit with external memory and a bus circuit, and such VLSIs have bidirectional external input/output pins ( bus pin)
exists.

【0003】回路設計時に論理シミュレーションを行っ
て設計を検証するが、この双方向ピンを、あるパターン
のもとでは入力と見なしたり、また別のパターンのもと
では出力と見なす処理が必要である。また、VLSI製
造後の不良品を判別するために、あらかじめテストパタ
ーンを生成したり、生成したパターンの故障検出能力を
測定するために故障シミュレーションを行う。テストパ
ターンを生成する際、双方向ピンは、検出率が向上する
ように、場合に応じて入力と見なしたり出力と見なす処
理が必要となる。
[0003] When designing a circuit, logic simulation is performed to verify the design, but it is necessary to treat this bidirectional pin as an input under a certain pattern, and as an output under another pattern. . In addition, in order to identify defective products after VLSI manufacturing, a test pattern is generated in advance, and a failure simulation is performed to measure the failure detection ability of the generated pattern. When generating a test pattern, bidirectional pins need to be treated as inputs or outputs, depending on the case, to improve the detection rate.

【0004】これまで、論理シミュレーションや故障シ
ミュレーション、テスト生成は大形計算機上のソフトウ
エアにより実現され処理を行っていたが、双方向ピンを
扱う場合には、その処理の特別のルーチンとして記述す
ることで対応していた。
Until now, logic simulation, fault simulation, and test generation have been realized and processed by software on large computers, but when handling bidirectional pins, it is necessary to write a special routine for the processing. I was dealing with this.

【0005】[0005]

【発明が解決しようとする課題】前述したように、従来
は、双方向ピンを扱うLSI論理回路の論理シミュレー
ションには、双方向ピンを入力と見なしたり、また、出
力と見なしたりする特別のルーチンとして記述して対処
していた。
[Problems to be Solved by the Invention] As mentioned above, conventional logic simulations of LSI logic circuits that handle bidirectional pins require special routines that treat bidirectional pins as inputs or outputs. I dealt with it by writing it as .

【0006】しかし、近年の回路の大規模化にともない
、一回のシミュレーションに要する時間が膨大になって
きた。これに対処するために、論理シミュレーションの
専用マシンが開発されているが、ゲートレベルのシミュ
レータでは双方向ゲートをモデルとして持たないものが
ある。この場合、計算機側は双方向ピンを扱うための特
別のルーチンを追加できないので、対象回路側に双方向
ピンを対処する付加回路が必要となる。
However, as the scale of circuits has increased in recent years, the time required for one simulation has become enormous. To deal with this, specialized machines for logic simulation have been developed, but some gate-level simulators do not have bidirectional gates as models. In this case, since the computer cannot add a special routine for handling bidirectional pins, an additional circuit for handling bidirectional pins is required on the target circuit side.

【0007】本発明は双方向入出力素子をモデルとして
持たない論理シミュレーション上において、双方向の入
出力素子を含む論理回路の論理シミュレーションを容易
に行なうようにしたLSIの論理シミュレーション方式
をを提供することを目的とする。
The present invention provides an LSI logic simulation method that facilitates logic simulation of a logic circuit including bidirectional input/output elements in a logic simulation that does not have bidirectional input/output elements as a model. The purpose is to

【0008】[0008]

【課題を解決するための手段】前述の課題を解決するた
めに本発明が採用した手段を図1を参照して説明する。 図1は本発明の原理図である。
Means for Solving the Problems The means adopted by the present invention to solve the above-mentioned problems will be explained with reference to FIG. FIG. 1 is a diagram showing the principle of the present invention.

【0009】一つの信号線に双方向の入出力ピンを含む
ワイヤード論理がとれない複数のトライステート素子が
接続するバネ回路を含むLSI回路の論理シミュレーシ
ョン方式であって、
[0009] A logic simulation method for an LSI circuit including a spring circuit connected to a plurality of tri-state elements that cannot perform wired logic including bidirectional input/output pins on one signal line,

【0010】前記トライステート素子よりのステートに
対応する信号に対する演算を行なうトライステート演算
手段1と、
tristate calculation means 1 for performing calculations on signals corresponding to states from the tristate element;

【0011】前記トライステート素子よりのステートに
対応する信号より、前記バス回路に接続された双方向ピ
ンの信号入出力を判定するピン入出力判定手段2と、
pin input/output determination means 2 for determining signal input/output of a bidirectional pin connected to the bus circuit based on a signal corresponding to a state from the tristate element;


0012】前記ピン入出力判定手段2の判定する結果に
よって、双方向ピンおよび論理回路への入出力信号をセ
レクトする入出力信号セレクト手段3と、
[
input/output signal selecting means 3 for selecting input/output signals to the bidirectional pins and the logic circuit according to the result determined by the pin input/output determining means 2;

【0013】
前記トライステート素子より出力されるトライステート
に対応する信号と、前記双方向ピンを介して外部回路よ
り入力されるトライステートに対応した信号とを比較し
、バスコンフリクトの発生を検出するバスコンフリクト
検出手段4と、を備え、バスコンフリクトが、双方向ピ
ンを介して外部回路より入力される信号に起因して発生
するとき、前記入力値を訂正するようにする。
[0013]
Bus conflict detection for detecting the occurrence of a bus conflict by comparing a signal corresponding to tristate output from the tristate element and a signal corresponding to tristate input from an external circuit via the bidirectional pin. means 4, for correcting the input value when a bus conflict occurs due to a signal input from an external circuit via a bidirectional pin.

【0014】[0014]

【作用】トライステート演算手段1では、トライステー
ト素子よりのステートに対応する信号に対する演算を行
なう。
[Operation] The tristate calculation means 1 performs calculations on signals corresponding to states from tristate elements.

【0015】ピン入出力判定手段2では、トライステー
ト素子よりのステートに対応する信号より、共通バスに
接続された双方向ピンの信号入出力を判定する。
The pin input/output determination means 2 determines the signal input/output of the bidirectional pin connected to the common bus based on the signal corresponding to the state from the tristate element.

【0016】入出力セレクト手段3では、ピン入出力判
定手手段2での判定結果にもとづいて、双方向ピンおよ
び論理回路への入出力信号をセレクトして出力する。
The input/output selection means 3 selects and outputs input/output signals to the bidirectional pins and logic circuits based on the determination result by the pin input/output determination means 2.

【0017】バスコンフリクト検出手段4では、トライ
ステート素子より出力されるトライステート信号と、双
方向ピンを介して外部回路より入力されるトライステー
ト信号とを比較し、バスコンフリクトの発生を検出する
The bus conflict detection means 4 compares the tristate signal output from the tristate element with the tristate signal inputted from an external circuit via the bidirectional pin to detect the occurrence of a bus conflict.

【0018】以上のように、双方向入出力素子をモデル
として持たない論理シミュレータにおいて、論理回路よ
りのトライステート信号にもとずいて双方向ピンの信号
入出力を判定させるとともに、バスコンフリクトを検出
するようにしたので、双方向の入出力素子を含む論理回
路の論理シミュレーションを容易に行なわせることがで
きる。
As described above, in a logic simulator that does not have bidirectional input/output elements as a model, the signal input/output of bidirectional pins is determined based on the tristate signal from the logic circuit, and bus conflicts are detected. Therefore, logic simulation of a logic circuit including bidirectional input/output elements can be easily performed.

【0019】[0019]

【実施例】本発明の第1の実施例を図2〜4を参照して
説明する。図2は本発明の第1の実施例の構成図、図3
はモデル化のための具体的回路構成例を示す図、図4は
第1の実施例の動作説明図である。
Embodiment A first embodiment of the present invention will be described with reference to FIGS. 2 to 4. FIG. 2 is a configuration diagram of the first embodiment of the present invention, and FIG.
4 is a diagram showing an example of a specific circuit configuration for modeling, and FIG. 4 is an explanatory diagram of the operation of the first embodiment.

【0020】[第1の実施例の構成]図2において、ト
ライステート演算手段1、ピン入出力判定手段2および
入出力信号セレクト手段3、およびバスコンフリクト検
出手段4については図1で説明したとおりである。
[Configuration of the first embodiment] In FIG. 2, the tristate calculation means 1, pin input/output determination means 2, input/output signal selection means 3, and bus conflict detection means 4 are as explained in FIG. It is.

【0021】7は論理シミュレーションを行なう対象回
路であり、7o は対象回路よりの出力を、7i は対
象回路への入力である。
7 is a target circuit for performing logic simulation, 7o is an output from the target circuit, and 7i is an input to the target circuit.

【0022】対象回路7o 内の72aおよび72nは
3値状態すなわちトライステート素子(TRST)であ
り、ケート入力(a)が1のときTRST72aの出力
(f)はZ、(a)が0のときはもう一方の入力(b)
の信号値である0または1を出力する。
72a and 72n in the target circuit 7o are tri-state elements (TRST); when the gate input (a) is 1, the output (f) of the TRST 72a is Z; when (a) is 0, the output (f) of the TRST 72a is Z; is the other input (b)
Outputs a signal value of 0 or 1.

【0023】9は対象回路と外部回路を接続する双方向
ピンであり、eo は双方向ピンを介して外部回路に出
力する信号を、ei は双方向ピンを介して外部回路よ
り入力される信号を示している。
9 is a bidirectional pin that connects the target circuit and an external circuit, eo is a signal output to the external circuit via the bidirectional pin, and ei is a signal input from the external circuit via the bidirectional pin. It shows.

【0024】31,32および33はセレクト回路であ
り、ピン入出力判定手段2より出力される制御信号に従
って、セレクト回路に入力される信号のいづれか一方を
セレクトして出力する。
Reference numerals 31, 32 and 33 designate select circuits, which select and output one of the signals input to the select circuit according to the control signal output from the pin input/output determining means 2.

【0025】33のセレクト回路S1に入力するei 
又はトライステート素子72より出力されるZと同じ信
号である。
ei input to the select circuit S1 of 33
Alternatively, it is the same signal as Z output from the tristate element 72.

【0026】[第1の実施例の動作]第1の実施例の動
作を説明する前に、具体的回路構成例によるモデル化を
図3を参照して説明する。
[Operation of the first embodiment] Before explaining the operation of the first embodiment, modeling using a specific circuit configuration example will be explained with reference to FIG.

【0027】図3はLSI論理回路内の構成例を示した
ものであり、7a,7jおよび7nは論理回路である。 各論理回路7aおよび7nよりの出力信号(b)および
(d)、入力信号(h)は、それぞれドライバ71aお
よび71nを介して、共通バス8にアクセスする。また
、各論理回路7a,7j,7nへの入力は共通バス8よ
り、入力信号(h)で示すように、直接入力される。
FIG. 3 shows an example of the structure inside the LSI logic circuit, and 7a, 7j and 7n are logic circuits. Output signals (b) and (d) and input signal (h) from each logic circuit 7a and 7n access common bus 8 via drivers 71a and 71n, respectively. Further, the input to each logic circuit 7a, 7j, 7n is directly input from the common bus 8 as shown by an input signal (h).

【0028】ドライバ71aおよび71nの制御入力(
a)および(c)は、図示しないバスアビータより伝送
される。
Control inputs of drivers 71a and 71n (
A) and (c) are transmitted from a bus beater (not shown).

【0029】9は双方向ピンであり、共通バス8の外部
接続端子である。
Reference numeral 9 is a bidirectional pin, which is an external connection terminal of the common bus 8.

【0030】制御入力信号(a)が0となるとドライバ
71aはゲートオン、すなわち、低インピーダンスとな
り、出力信号(b)を共通バス8に送出する。
When the control input signal (a) becomes 0, the driver 71a gates on, that is, becomes low impedance, and sends the output signal (b) to the common bus 8.

【0031】制御入力信号(a)が1となるとドライバ
71aはゲートオフ、すなわち、高インピーダンスとな
り、共通バス8よりの信号を入力信号(h)として入力
する。ただし、入力した信号(h)を回路7aが処理入
力として図示しないレジスタにリードするか否かは回路
7aが判定する。
When the control input signal (a) becomes 1, the driver 71a gates off, that is, becomes high impedance, and inputs the signal from the common bus 8 as the input signal (h). However, the circuit 7a determines whether or not the input signal (h) is to be read as a processing input to a register (not shown).

【0032】図2で示した回路7o の(a)(b)(
c)および(d)は図3で示した制御信号(a)および
(c)と出力信号(b)および(d)に対応する。また
、回路7i の入力信号(h)は図3の回路7a,7j
および7nの入力信号(h)に対応する。
(a), (b) (of the circuit 7o shown in FIG. 2)
c) and (d) correspond to the control signals (a) and (c) and output signals (b) and (d) shown in FIG. In addition, the input signal (h) of the circuit 7i is input to the circuits 7a and 7j of FIG.
and 7n input signal (h).

【0033】トライステート素子TRST72aは、図
3で示すドライバ71aが高インピーダンスの状態をZ
に対応させた動作が行なわれる。
The tri-state element TRST72a changes the high impedance state of the driver 71a shown in FIG.
The corresponding operation is performed.

【0034】すなわち (a)=0,(b)=0のとき(f)=0(a)=0,
(b)=1のとき(f)=1(a)=1,(b)=0の
とき(f)=Z(a)=1,(b)=1のとき(f)=
Zなる信号を出力するものとする。
That is, when (a)=0, (b)=0, (f)=0(a)=0,
When (b)=1, (f)=1, (a)=1, when (b)=0, (f)=Z(a)=1, when (b)=1, (f)=
Assume that a signal Z is output.

【0035】TRST72nも同様の3状態に対応した
出力信号(g)を出力する。
The TRST 72n also outputs output signals (g) corresponding to the same three states.

【0036】トライステート演算手段1では入力を(f
)および(g)、出力を(x)とするとき、
The tri-state calculation means 1 inputs (f
) and (g), when the output is (x),

【0037
】 (f)=0,(g)=0のとき(x)=0(f)=1,
(g)=0のとき(x)=C(f)=0,(g)=1の
とき(x)=C(f)=1,(g)=1のとき(x)=
1(f)=Z,(g)=0のとき(x)=0(f)=Z
,(g)=1のとき(x)=1(f)=0,(g)=Z
のとき(x)=0(f)=1,(g)=Zのとき(x)
=1(f)=Z,(g)=Zのとき(x)=Zなる演算
処理が行なわれる。Cは新たにコンフリクトを表わす信
号である。
0037
] When (f)=0, (g)=0, (x)=0(f)=1,
When (g) = 0, (x) = C (f) = 0, when (g) = 1, (x) = C (f) = 1, when (g) = 1, (x) =
When 1(f)=Z, (g)=0, (x)=0(f)=Z
, (g)=1 then (x)=1(f)=0, (g)=Z
When (x) = 0 (f) = 1, when (g) = Z (x)
When =1(f)=Z and (g)=Z, the arithmetic processing of (x)=Z is performed. C is a signal newly indicating a conflict.

【0038】ピン入出力判定手段2では入力を(f)お
よび(g)、出力を(y)とするとき、
In the pin input/output determining means 2, when the inputs are (f) and (g) and the output is (y),

【0039】 (f)=Z,(g)=Zのとき(y)=0(f)および
(g)が上記以外は全て(y)=1を出力する。
When (f)=Z and (g)=Z, (y)=0 (y)=1 except for the above (f) and (g) are output.

【0040】セレクト回路S0 31,S1 32およ
びS2 33は、ピン入出力判定手段2より出力される
制御信号値が0の場合は全て双方向ピン9より入力され
る信号(ei )をセレクトして出力する。制御信号値
が1の場合はセレクト回路S0 31はトライステート
演算手段1よりの出力(x)をセレクト回路S1 32
は信号(eiz)をセレクト回路S2 33はトライス
テート演算手段1よりの出力(x)をセレクトして出力
する。
The select circuits S0 31, S1 32, and S2 33 select all signals (ei) input from the bidirectional pin 9 when the control signal value output from the pin input/output determination means 2 is 0. Output. When the control signal value is 1, the select circuit S0 31 selects the output (x) from the tristate calculation means 1 as the select circuit S1 32
The select circuit S2 33 selects the output (x) from the tri-state calculation means 1 and outputs the signal (eiz).

【0041】バスコンフリクト検出手段4では、双方向
ピン9より入力される信号(ei )とトライステート
演算手段1より出力される信号(x)を比較し、
The bus conflict detection means 4 compares the signal (ei) inputted from the bidirectional pin 9 with the signal (x) outputted from the tristate calculation means 1,

【00
42】(x)がCのときは(ei )の値に関係せずに
出力(Bcon )=1 (x)=1,(ei )=0のとき(Bcon )=1
(x)=0,(ei )=1のとき(Bcon )=1
を出力し、入力信号(x)および(ei )が上記以外
は全て0にする。上記例では出力信号(Bcon )=
1はバスコンフリクトの発生に対応している。
00
42] When (x) is C, output (Bcon) = 1 regardless of the value of (ei) (x) = 1, when (ei) = 0, (Bcon) = 1
When (x)=0, (ei)=1, (Bcon)=1
is output, and input signals (x) and (ei) are all set to 0 except for the above. In the above example, the output signal (Bcon) =
1 corresponds to the occurrence of bus conflict.

【0043】つぎに、図4を参照して、第1の実施例の
動作を説明する。図4(A),(B),(C)および(
D)ともに、第1列は図2に示す信号(a)(b)……
(h)を示し、第2列以後はその信号値を示している。
Next, the operation of the first embodiment will be explained with reference to FIG. Figures 4 (A), (B), (C) and (
D) Both, the first column is the signal (a) (b) shown in Fig. 2...
(h), and the second and subsequent columns show the signal values.

【0044】図4(A)は双方向ピンを入力と見なす場
合を示している。
FIG. 4A shows a case where bidirectional pins are considered as inputs.

【0045】信号(a)および(c)ともに1であるか
ら、信号(b)および(d)の値にかかわらず信号(f
),(g)および(x)はZとなり、信号(y)は0に
なる。すなわち、回路W7は高インピーダンスとなり、
回路W7よりは信号は送出されない。
Since signals (a) and (c) are both 1, the signal (f
), (g) and (x) become Z, and the signal (y) becomes 0. That is, the circuit W7 becomes high impedance,
No signal is sent out from circuit W7.

【0046】この状態において、すなわち、(y)が0
であるから、セレクト回路S1 32、セレクト回路S
2 33およびセレクト回路S0 31は、ともに、信
号(ei )をセレクトして、出力信号(h)を出力し
、回路W7i へ送出する。
In this state, that is, (y) is 0
Therefore, select circuit S1 32, select circuit S
2 33 and select circuit S0 31 both select the signal (ei) and output an output signal (h), which is sent to circuit W7i.

【0047】図4(B)は双方向ピンを出力と見なす場
合を示している。
FIG. 4(B) shows the case where bidirectional pins are regarded as outputs.

【0048】信号(a),(b),(c)および(d)
は、第2列から第5列に示すように、信号値によって4
通りの場合がある。第2列と第4列は図3で示す回路W
a 7aより共通バス8に信号(b)が送出された場合
に対応し、第3列と第5列は回路Wn 7nより共通バ
ス8に信号(d)が送出された場合に対応する。
Signals (a), (b), (c) and (d)
is 4 depending on the signal value, as shown in the second to fifth columns.
Sometimes it's a street. The second and fourth columns are the circuit W shown in FIG.
The third and fifth columns correspond to the case where the signal (b) is sent from the circuit Wn 7a to the common bus 8, and the third and fifth columns correspond to the case where the signal (d) is sent from the circuit Wn 7n to the common bus 8.

【0049】第2列で、信号(c)が1であるから(g
)はZ、(b)が0であるから(x)は0、また(y)
は1を出力する。
In the second column, since the signal (c) is 1, (g
) is Z, and since (b) is 0, (x) is 0, and (y)
outputs 1.

【0050】一方、双方向ピン9に接続された外部回路
は、信号受信状態であるから、(ei )はZである。
On the other hand, since the external circuit connected to the bidirectional pin 9 is in a signal receiving state, (ei) is Z.

【0051】セレクト回路S0 31は、(y)が1で
あるから、信号(x)をセレクトして、出力信号(h)
は0を出力し、回路W7i に送出する。
Since (y) is 1, the select circuit S0 31 selects the signal (x) and outputs the output signal (h).
outputs 0 and sends it to circuit W7i.

【0052】セレクト回路S1 32は、(y)が1で
あるから、信号(x)をセレクトして、出力信号(em
 )はZを出力する。
Since (y) is 1, the select circuit S1 32 selects the signal (x) and outputs the output signal (em
) outputs Z.

【0053】セレクト回路S2 33は、(y)が1で
あるから、信号(x)をセレクトして、出力信号(eo
 )は0を出力する。
Since (y) is 1, the select circuit S2 33 selects the signal (x) and outputs the output signal (eo
) outputs 0.

【0054】以下第3〜5列に対する信号入力に対して
も同様に動作し、信号(h),(em )および(eo
 )を出力する。
The same operation is performed for the signal inputs to the third to fifth columns, and the signals (h), (em) and (eo
) is output.

【0055】図4(c)は双方向ピンからの入力値に起
因するバスコンフリクトを訂正する場合を示している。
FIG. 4(c) shows a case where a bus conflict caused by an input value from a bidirectional pin is corrected.

【0056】第2列から第5列の信号(a),(b),
(c)および(d)の信号値に対して、信号(f),(
g),(x)および(y)が出力され、セレクト回路S
0 31,S1 32およびS2 33よりの出力信号
(h),(em )および(eo )は、それぞれ、信
号(x),(eiz)および(x)がセレクトされて出
力される。
Signals from the second column to the fifth column (a), (b),
For the signal values of (c) and (d), the signals (f), (
g), (x) and (y) are output, and the select circuit S
Output signals (h), (em) and (eo) from 0 31, S1 32 and S2 33 are output by selecting signals (x), (eiz) and (x), respectively.

【0057】この時、双方向ピン9より入力される信号
(ei )が信号(x)の値と異なった場合はバスコン
フリクト検出手段4でコンフリクトが発生したことを出
力する信号(Bcon )を1として出力する。
At this time, if the signal (ei) input from the bidirectional pin 9 is different from the value of the signal (x), the bus conflict detection means 4 outputs a signal (Bcon) indicating that a conflict has occurred. Output as .

【0058】また、図4(D)は、図3で示す各回路の
ドライバの出力値に起因するバスコンフリクトを検出す
る場合を示している。
FIG. 4D shows a case where a bus conflict caused by the output value of the driver of each circuit shown in FIG. 3 is detected.

【0059】第2および3列の信号(a),(b),(
c)および(d)の信号値に対して、信号(f),(g
),(x)および(y)が出力され、各セレクト回路3
1,32および33よりの出力信号(h),(em )
および(eo )は、それぞれ、信号(x),(eiz
)および(x)がセレクトされて出力される。
Second and third column signals (a), (b), (
For the signal values of c) and (d), the signals (f) and (g
), (x) and (y) are output, and each select circuit 3
Output signals from 1, 32 and 33 (h), (em)
and (eo) are the signals (x), (eiz
) and (x) are selected and output.

【0060】また、バスコンフリクト検出信号4では、
信号(x)がCであるから、コンフリクトが発生したこ
とを示す信号(Bcon )を1として出力する。
Furthermore, in the bus conflict detection signal 4,
Since the signal (x) is C, a signal (Bcon) indicating that a conflict has occurred is output as 1.

【0061】以上の説明においては、ピン入出力判定手
段2は回路W7o よりの信号(f)および(9)をも
とに判定させていたが、トライステート演算手段1の出
力信号(x)をもとにし、(x)がZのとき(y)を0
、(x)がZ以外のときは(y)を1とするようにして
も同様の結果が得られる。
In the above explanation, the pin input/output determining means 2 makes a determination based on the signals (f) and (9) from the circuit W7o, but the output signal (x) of the tristate calculating means 1 is Based on this, when (x) is Z, (y) is 0
, (x) is other than Z, a similar result can be obtained even if (y) is set to 1.

【0062】つぎに、本発明の第2の実施例を図5およ
び6を参照して説明する。図5は第2の実施例の構成図
、図6は同実施例の動作説明図である。
Next, a second embodiment of the present invention will be described with reference to FIGS. 5 and 6. FIG. 5 is a block diagram of the second embodiment, and FIG. 6 is an explanatory diagram of the operation of the second embodiment.

【0063】[第2の実施例の構成]図5において、ト
ライステート演算手段1、ピン入出力判定手段2、入出
力信号セレクト手段3およびバスコンフリクト検出手段
4については図1で説明したとおりである。
[Configuration of Second Embodiment] In FIG. 5, the tristate calculation means 1, pin input/output determination means 2, input/output signal selection means 3, and bus conflict detection means 4 are as explained in FIG. be.

【0064】34は入力フォルト発生部であり、双方向
ピンを介して外部に接続されている論理回路よりの信号
を誤まらせ、疑似障害を発生させる。
Reference numeral 34 denotes an input fault generating section, which falsifies the signal from the logic circuit connected to the outside via the bidirectional pin, and generates a pseudo fault.

【0065】35は出力フォルト発生部であり、双方向
ピンを介して外部に接続されている論理回路への信号を
誤まらせ、疑似障害を発生させる。
Reference numeral 35 denotes an output fault generating section, which erroneously sends a signal to a logic circuit connected to the outside via a bidirectional pin to generate a pseudo fault.

【0066】[第2の実施例の動作]つぎに、図6を参
照して、第2の実施例の動作を説明する。
[Operation of Second Embodiment] Next, the operation of the second embodiment will be explained with reference to FIG.

【0067】第2の実施例は論理回路の故障をシミュレ
ートさせる場合であり、論理回路の故障をシミュレート
する場合は、入力フォールト発生部34および出力フォ
ールト発生部25での疑似傷害を発生させる故障挿入信
号(flt)を1にする。
The second embodiment is a case in which a failure in a logic circuit is simulated. When simulating a failure in a logic circuit, a pseudo fault is generated in the input fault generating section 34 and the output fault generating section 25. Set the fault insertion signal (flt) to 1.

【0068】図6(A)は双方向ピン9を入力と見なし
た場合を示している。
FIG. 6A shows the case where the bidirectional pin 9 is considered as an input.

【0069】双方向ピン9を入力と見なす場合は、トラ
イステート演算手段1の出力信号(x)はZ、ピン入出
力判定手段2の出力信号(y)は0であるから、セレク
ト回路31,32および33は双方向ピン9よりの入力
信号(ei )をセレクトして出力する。
When the bidirectional pin 9 is considered as an input, the output signal (x) of the tristate calculation means 1 is Z, and the output signal (y) of the pin input/output determination means 2 is 0, so the selection circuit 31, 32 and 33 select the input signal (ei) from the bidirectional pin 9 and output it.

【0070】しかし、入力フォールト発生部34への故
障挿入信号(flt)が1であるから、入力フォールト
発生部34より出力され、セレクト回路S031に入力
される信号(Fi )は信号(ei )を誤まらせDま
たはEを出力する。
However, since the fault insertion signal (flt) to the input fault generating section 34 is 1, the signal (Fi) output from the input fault generating section 34 and input to the select circuit S031 is different from the signal (ei). Output a false D or E.

【0071】その結果、回路W7i に入力される信号
(h)は誤まった信号DまたはEが入力される。
As a result, the incorrect signal D or E is input as the signal (h) input to the circuit W7i.

【0072】入力フォールト発生部34で信号を誤まら
せる方法としては、論理回路の故障をシミュレートでき
る特殊信号に変換する。すなわち、例えば、論理回路内
の或る回路が傷害であると想定すると、その回路が傷害
になったと等価な信号に変換して入力すれば論理回路を
シミュレートできる。実施例では、正常信号値が1で故
障信号値が0である場合を記号Dで示し、正常信号値が
0で故障信号値が1である場合を記号Eで示す。
[0072] As a method of making the signal erroneous in the input fault generating section 34, it is converted into a special signal that can simulate a failure in a logic circuit. That is, for example, assuming that a certain circuit in a logic circuit is damaged, the logic circuit can be simulated by converting and inputting a signal equivalent to that the circuit is damaged. In the embodiment, a case where the normal signal value is 1 and a fault signal value is 0 is indicated by the symbol D, and a case where the normal signal value is 0 and the fault signal value is 1 is indicated by the symbol E.

【0073】図6(B)は双方向ピンを出力と見なした
場合を示す。
FIG. 6(B) shows the case where the bidirectional pins are regarded as outputs.

【0074】この場合は、ピン入出力判定手段2の出力
信号(y)は1であるから、セレクト回路S0 31お
よびS2 33はトライステート演算手段1の出力信号
(x)をセレクトして出力する。
In this case, since the output signal (y) of the pin input/output determining means 2 is 1, the select circuits S0 31 and S2 33 select and output the output signal (x) of the tristate calculation means 1. .

【0075】しかし、出力フォールト発生部35への故
障挿入信号(flt)が1であるから、出力フォールト
発生部35より出力され、セレクト回路S233に入力
される信号(Fo )は信号(x)を誤まらせてDまた
はEを出力する。
However, since the fault insertion signal (flt) to the output fault generating section 35 is 1, the signal (Fo) output from the output fault generating section 35 and input to the select circuit S233 is different from the signal (x). Output D or E by mistake.

【0076】その結果、双方向ピン9を介して出力され
る信号(eo )は誤まった信号Dを出力する。しかし
、回路W7i へ入力される信号(h)は誤りの無い信
号(x)が入力され、外部回路の故障の場合をシミュレ
ートすることができる。
As a result, the signal (eo) output via the bidirectional pin 9 outputs an erroneous signal D. However, the signal (h) input to the circuit W7i is an error-free signal (x), making it possible to simulate the case of a failure in the external circuit.

【0077】出力フォールト発生部35で信号を誤まら
せる方法は、前述した入出力フォールト発生部34での
方法と同様であって、論理回路内の或る回路が故障とな
ったとき出力され信号と等価な信号に変換が行なわれる
The method of making the signal erroneous in the output fault generation section 35 is the same as the method used in the input/output fault generation section 34 described above, and the method of causing the signal to be erroneously output when a certain circuit in the logic circuit fails. A conversion is performed into a signal equivalent to the signal.

【0078】なお、論理シミュレーションを行なう場合
、各信号値が特定出来ずにシミュレーションを行う場合
があるが、そのような場合においても、トライステート
演算手段、ピン入出力判定手段、入出力信号セレクト手
段およびバスコンフリクト検出手段での動作は、各手段
に入力される信号値に対して、実施例で説明したと同様
の動作が行なわれる。
Note that when performing a logic simulation, there are cases where the simulation is performed without being able to specify each signal value, but even in such a case, the tri-state calculation means, pin input/output determination means, input/output signal selection means The operation of the bus conflict detection means is similar to that described in the embodiment with respect to the signal values input to each means.

【0079】以上、本発明の一実施例について説明した
が、本発明はこれらの実施例に限定されるものではなく
、その発明の主旨に従った各種変形が可能である。
Although one embodiment of the present invention has been described above, the present invention is not limited to these embodiments, and various modifications can be made in accordance with the gist of the invention.

【0080】[0080]

【発明の効果】以上説明したように、本発明によれば次
の諸効果が得られる。
[Effects of the Invention] As explained above, according to the present invention, the following effects can be obtained.

【0081】■双方向入出力素子をモデルとして持たな
い論理シミュレータにおいて、論理回路よりのトライス
テート信号にもとずいて双方向ピンの信号入出力を判定
させるとともに、バスコンフリクトを検出するようにし
たので、双方向の入出力素子を含む論理回路の論理シミ
ュレーションを容易に行なわせることができる。
■In a logic simulator that does not have bidirectional input/output elements as a model, the signal input/output of bidirectional pins is determined based on tristate signals from the logic circuit, and bus conflicts are detected. Therefore, logic simulation of a logic circuit including bidirectional input/output elements can be easily performed.

【0082】■信号を誤まらせ、疑似障害を発生させる
ようにさせたので、障害時の動作を容易にシミュレート
させることができる。
(2) Since the signal is erroneously generated to generate a pseudo fault, the operation at the time of a fault can be easily simulated.

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

【図1】本発明の原理図である。FIG. 1 is a diagram showing the principle of the present invention.

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

【図3】モデル化のための具体的回路構成例を示す図で
ある。
FIG. 3 is a diagram showing a specific example of a circuit configuration for modeling.

【図4】第1の実施例の動作説明図である。FIG. 4 is an explanatory diagram of the operation of the first embodiment.

【図5】本発明の第2の実施例の構成図である。FIG. 5 is a configuration diagram of a second embodiment of the present invention.

【図6】第2の実施例の動作説明図である。FIG. 6 is an explanatory diagram of the operation of the second embodiment.

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

1      トライステート演算手段2      
ピン入出力判定手段 3      入出力信号セレクト手段4      
バスコンフリクト検出手段7      論理回路 8      共通バス 9      双方向ピン 31    セレクト回路S0  32    セレクト回路S1  33    セレクト回路S2  34    入力フォルト発生部 35    出力フォルト発生部 71    ドライバ
1 Tri-state calculation means 2
Pin input/output determination means 3 Input/output signal selection means 4
Bus conflict detection means 7 Logic circuit 8 Common bus 9 Bidirectional pin 31 Select circuit S0 32 Select circuit S1 33 Select circuit S2 34 Input fault generating section 35 Output fault generating section 71 Driver

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  一つの信号線に双方向の入出力ピンを
含むワイヤード論理がとれない複数のトライステート素
子が接続するバス回路を含むLSI回路の論理シミュレ
ーション方式であって、■前記トライステート素子より
のステートに対応する信号に対する演算を行なうトライ
ステート演算手段1と、■前記トライステート素子より
のステートに対応する信号より、前記バス回路に接続さ
れた双方向ピンの信号入出力を判定するピン入出力判定
手段2と、■前記ピン入出力判定手段2の判定する結果
によって、双方向ピンおよび論理回路への入出力信号を
セレクトする入出力信号セレクト手段3と、■前記トラ
イステート素子より出力されるトライステートに対応す
る信号と、前記双方向ピンを介して外部回路より入力さ
れるトライステートに対応した信号とを比較し、バスコ
ンフリクトの発生を検出するバスコンフリクト検出手段
4と、を備え、バスコンフリクトが、双方向ピンを介し
て外部回路より入力される信号に起因して発生するとき
、前記入力値を訂正するようにしたことをを特徴とする
LSIの論理シミュレーション方式。
1. A logic simulation method for an LSI circuit including a bus circuit in which a plurality of tri-state elements that cannot perform wired logic including bidirectional input/output pins on one signal line are connected, the method comprising: (1) a tri-state calculation means 1 that performs calculations on signals corresponding to the states of the tri-state elements; input/output determination means 2; (i) input/output signal selection means 3 for selecting input/output signals to bidirectional pins and logic circuits according to the determination result of said pin input/output determination means 2; and (iii) output from said tristate element. bus conflict detection means 4 for detecting the occurrence of a bus conflict by comparing a signal corresponding to the tristate inputted from the external circuit with a signal corresponding to the tristate input from an external circuit via the bidirectional pin. An LSI logic simulation method, characterized in that when a bus conflict occurs due to a signal input from an external circuit via a bidirectional pin, the input value is corrected.
【請求項2】  前記入出力信号セレクト手段3が、■
双方向ピンを介してLSI回路に信号が入力される、入
力信号を誤らせ、疑似障害を発生させる入力フォルト発
生部34と、■LSI回路より双方向ピンを介して信号
が出力される、出力信号を誤らせ、疑似障害を発生させ
る出力フォルト発生部35と、を備えたことを特徴とす
る請求項1記載のLSIの論理シミュレーション方式。
[Claim 2] The input/output signal selection means 3 includes:
An input fault generating section 34, in which signals are input to the LSI circuit via bidirectional pins, which falsifies input signals and generates pseudo-faults; and ■ an output, in which signals are output from the LSI circuit via bidirectional pins. 2. The LSI logic simulation method according to claim 1, further comprising an output fault generating section (35) that falsifies a signal and generates a pseudo fault.
JP3053657A 1991-02-27 1991-02-27 Logic simulation system of lsi Pending JPH04273382A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3053657A JPH04273382A (en) 1991-02-27 1991-02-27 Logic simulation system of lsi

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3053657A JPH04273382A (en) 1991-02-27 1991-02-27 Logic simulation system of lsi

Publications (1)

Publication Number Publication Date
JPH04273382A true JPH04273382A (en) 1992-09-29

Family

ID=12948934

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3053657A Pending JPH04273382A (en) 1991-02-27 1991-02-27 Logic simulation system of lsi

Country Status (1)

Country Link
JP (1) JPH04273382A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0700008A3 (en) * 1994-09-01 1996-04-24 Symbios Logic Inc Electronic circuit modeling method and apparatus
US5995740A (en) * 1996-12-23 1999-11-30 Lsi Logic Corporation Method for capturing ASIC I/O pin data for tester compatibility analysis

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0700008A3 (en) * 1994-09-01 1996-04-24 Symbios Logic Inc Electronic circuit modeling method and apparatus
US6480817B1 (en) 1994-09-01 2002-11-12 Hynix Semiconductor, Inc. Integrated circuit I/O pad cell modeling
US5995740A (en) * 1996-12-23 1999-11-30 Lsi Logic Corporation Method for capturing ASIC I/O pin data for tester compatibility analysis

Similar Documents

Publication Publication Date Title
JP3248753B2 (en) Method and apparatus for determining transition table of combinational logic circuit
JPS63145549A (en) Simulation method for logic circuit
US5896401A (en) Fault simulator for digital circuitry
US10528689B1 (en) Verification process for IJTAG based test pattern migration
US6321173B1 (en) System and method for efficient verification of functional equivalence between design models
US20090113356A1 (en) Optimization of Post-Layout Arrays of Cells for Accelerated Transistor Level Simulation
US8191031B2 (en) Apparatus for giving assistance in analyzing deficiency in RTL-input program and method of doing the same
US6985842B2 (en) Bidirectional wire I/O model and method for device simulation
US20200174863A1 (en) Failure estimation in circuits
JPH04273382A (en) Logic simulation system of lsi
US6944837B2 (en) System and method for evaluating an integrated circuit design
JP4652317B2 (en) Logic circuit functional verification apparatus, functional coverage item verification method, and program
US20090113363A1 (en) Method and system for creating a boolean model of multi-path and multi-strength signals for verification
JPS63140969A (en) Test facilitation system
JPH10104319A (en) Fault simulation method and fault analysis method of large-scale integrated circuit device
US11022649B2 (en) Stabilised failure estimate in circuits
Johnson Behavioral-level test development
JP2658857B2 (en) Equivalent fault extraction method and device
JP2957016B2 (en) Delay failure simulation method
JP3453068B2 (en) Semiconductor integrated circuit and test pattern creation method
CN111241766A (en) Test method and test system
CN116880963A (en) Method for detecting connection errors between multiple hardware simulation tools
JPH0634712A (en) Failure diagnostics
JP2000353185A (en) Method and device for simulating fault in logical circuit
JP2003194890A (en) Failure analyzing method, and analysis of failure supporting device and program