JPH05101132A - Verification device for logic circuit operation - Google Patents

Verification device for logic circuit operation

Info

Publication number
JPH05101132A
JPH05101132A JP3259463A JP25946391A JPH05101132A JP H05101132 A JPH05101132 A JP H05101132A JP 3259463 A JP3259463 A JP 3259463A JP 25946391 A JP25946391 A JP 25946391A JP H05101132 A JPH05101132 A JP H05101132A
Authority
JP
Japan
Prior art keywords
circuit
output signal
input
logic circuit
storage means
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.)
Withdrawn
Application number
JP3259463A
Other languages
Japanese (ja)
Inventor
Kazuya Okabe
和也 岡部
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP3259463A priority Critical patent/JPH05101132A/en
Publication of JPH05101132A publication Critical patent/JPH05101132A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To secure the smooth and efficient verification of an object logic circuit. CONSTITUTION:The contents of circuit operation specification describing means 41 which describes how an output should operate for an input are sent to an output signal generation factor inspecting means 43. Connection data on the object logic circuit in circuit storage means 32 and data on basic circuit element operation in circuit element operation storage means 33 are sent to a circuit element input condition analyzing means 42a in an output signal generation factor analyzing means 42. The means 42a analyzes how an input signal to a circuit element should operate when the output conditions of the circuit element are given. The means 42 which has this means 42a analyzes the generation factor of the output signal of the object logic circuit to be verified and sends the analytic result to the means 43. The means 43 compares the operation of the output signal generation factor obtained from the means 42 with operation specifications in the means 41 to detect an error in the operation of the object logic circuit.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、二つの伝送装置の間で
接続が確立されることによって予め定められた信号の授
受が行われるハンドシェイク(handshaking)を含む場合
のように、複数の入力信号間、複数の出力信号間、複数
の入力信号・出力信号間での動作順序が一意に決められ
ておらず、さらにタイミングが一定でない動作の検証を
行う際にも回路検査を円滑かつ効率的に行うことを保証
する、論理回路動作検証装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a plurality of inputs, such as when including a handshake in which a predetermined signal is exchanged by establishing a connection between two transmission devices. The order of operations between signals, between multiple output signals, and between multiple input and output signals is not uniquely determined, and circuit verification can be performed smoothly and efficiently when verifying operations with inconsistent timing. The present invention relates to a logic circuit operation verification device that guarantees to perform the above.

【0002】[0002]

【従来の技術】図2は、従来の論理回路動作検証装置の
一構成例を示すブロック図である。この論理回路動作検
証装置は、複数の回路素子で構成される論理回路の接続
状態を記憶する回路記憶手段1と、前記回路素子の基本
動作を記憶する回路素子動作記憶手段2と、前記回路記
憶手段1内に記憶された論理回路に対して外部から入力
する入力パターン及び入力時間を記憶する外部入力記憶
手段3とを備え、それらの出力側に動作検証装置本体1
0が接続されている。動作検証装置本体10は、回路演
算手段11及び回路演算結果記憶手段12より構成され
ている。
2. Description of the Related Art FIG. 2 is a block diagram showing a configuration example of a conventional logic circuit operation verification device. This logic circuit operation verification device includes a circuit storage means 1 for storing a connection state of a logic circuit composed of a plurality of circuit elements, a circuit element operation storage means 2 for storing a basic operation of the circuit element, and the circuit storage. An external input storage means 3 for storing an input pattern and an input time to be externally input to the logic circuit stored in the means 1 are provided, and the operation verification device main body 1 is provided on the output side thereof.
0 is connected. The operation verification device main body 10 is composed of a circuit calculation means 11 and a circuit calculation result storage means 12.

【0003】回路演算手段11は、各記憶手段1〜3の
記憶情報を入力し、論理検証の対象となる対象論理回路
内の各回路素子が、外部入力信号の変化によっていかに
変化するかを演算し、その演算結果を回路演算結果記憶
手段12に保持する。そして、目視による検査20で、
回路演算結果記憶手段12の内容を、ハンドシェイクプ
ロトコル仕様21と比較し、対象論理回路の入力に対す
る出力信号が正しく生成されているか否かを確認する。
The circuit calculation means 11 inputs the storage information of the respective storage means 1 to 3 and calculates how each circuit element in the target logic circuit which is the target of the logic verification changes due to the change of the external input signal. Then, the calculation result is held in the circuit calculation result storage means 12. And in the visual inspection 20,
The contents of the circuit operation result storage means 12 are compared with the handshake protocol specification 21 to confirm whether the output signal for the input of the target logic circuit is correctly generated.

【0004】この従来の論理回路動作検証装置に関して
具体的に説明する前に、図3を参照しつつ、ハンドシェ
イクについて説明する。図3は、ハンドシェイクの例を
示すタイミングチャートである。この図では、バスを介
してバスマスタがバススレーブに対して読み出しを行う
ときの例が示されている。
Before specifically explaining the conventional logic circuit operation verification device, a handshake will be described with reference to FIG. FIG. 3 is a timing chart showing an example of the handshake. In this figure, an example is shown in which a bus master performs a read operation on a bus slave via the bus.

【0005】BUSY*,AS*,ADRS,DS*は
バスマスタが出力してバススレーブが受け取る信号であ
り、DATA,ACK*はバススレーブが出力してバス
マスタが受け取る信号である。*は負論理信号であるこ
とを示している。BUSY*はバスが使用中であること
を示し、AS*はバスにアドレスが出力されていること
を示し、DS*はバスにデータが出力されてよいことを
示し、ADRSはバスのアドレスを示し、DATAはバ
スのデータを示す。さらに、ACK*はバスのバススレ
ーブがバスマスタに対して、読み出しデータが既にバス
に出力されているので、バスアクセスを終了させてもよ
いことを示す。
BUSY *, AS *, ADRS, DS * are signals output by the bus master and received by the bus slave, and DATA, ACK * are signals output by the bus slave and received by the bus master. * Indicates a negative logic signal. BUSY * indicates that the bus is in use, AS * indicates that the address is output to the bus, DS * indicates that data may be output to the bus, and ADRS indicates the address of the bus. , DATA represent bus data. Further, ACK * indicates that the bus slave of the bus may terminate the bus access to the bus master because the read data has already been output to the bus.

【0006】図3に示すバスプロトコルでは、次の
(1)〜(8)に示す動作が順に行われる。 (1) バスマスタが、信号BUSY*をアサート(a
sert、表明)してバス使用していることを示す。 (2) バスマスタが、アドレスADRSを出力した
後、信号AS*をアサートし、該アドレスADRSがバ
ス上に存在していることを示す。 (3) バスマスタが、信号DS*をアサートしてデー
タを出力してよいことを示す。 (4) 前記(1),(2)の動作を行った後、スレー
ブは、アドレスADRSをデコードして自スレーブがア
クセスされていることを確認し、さらに信号BUSY*
及びAS*が共にLレベルであることを確認してからデ
ータDATAを準備する。 (5) スレーブは、前記(3)が行われたことを確認
してから、データDATAを出力し、信号ACK*をア
サートする。 (6) バスマスタは、前記(5)の動作を確認してか
ら、信号AS*,DS*をネゲート(negate、無
効)すると共に、アドレスADRSの出力を止める。 (7) バススレーブは前記(6)の動作を確認してか
ら、信号ACK*をネゲートし、データDATAの出力
を止める。 (8) バススレーブは前記(7)の動作を確認してか
ら、信号BUSY*をネゲートし、バスの使用を終了す
る。
In the bus protocol shown in FIG. 3, the following operations (1) to (8) are sequentially performed. (1) The bus master asserts the signal BUSY * (a
(assert) to indicate that the bus is being used. (2) The bus master asserts the signal AS * after outputting the address ADRS to indicate that the address ADRS is present on the bus. (3) It indicates that the bus master may output the data by asserting the signal DS *. (4) After performing the operations of (1) and (2), the slave decodes the address ADRS to confirm that the self slave is being accessed, and further the signal BUSY *.
After confirming that AS and AS * are both at the L level, the data DATA is prepared. (5) After confirming that the above (3) has been performed, the slave outputs data DATA and asserts the signal ACK *. (6) After confirming the operation of (5), the bus master negates the signals AS * and DS * and stops the output of the address ADRS. (7) After confirming the operation of (6), the bus slave negates the signal ACK * and stops the output of data DATA. (8) After confirming the operation of (7), the bus slave negates the signal BUSY * and ends the use of the bus.

【0007】ここで、図2に示す従来の論理回路動作検
証装置においては、図3の信号DATA,ACK*を出
力するバススレーブをシミュレーションの対象とすると
きは、バスマスタが出力する信号BUSY*,AS*,
DS*を外部入力記憶手段3に与える。そして、回路演
算手段11が、回路記憶手段1内の回路情報と回路素子
動作記憶手段2内の各回路素子の基本動作情報とを用
い、入力に対してデータDATA、及び信号ACK*が
いかに動作するかを演算した後、その演算結果を回路演
算結果記憶手段12に保持し、人手によりその結果が正
しいか否かを判断する。そのため、外部入力として与え
る信号が、すべてのタイミングを網羅できるように、様
々な外部入力パターンを作成してシミュレーションを行
っていた。
In the conventional logic circuit operation verification device shown in FIG. 2, when the bus slave outputting the signals DATA and ACK * shown in FIG. 3 is to be simulated, the signal BUSY *, which is output from the bus master, is output. AS *,
The DS * is given to the external input storage means 3. Then, the circuit operation means 11 uses the circuit information in the circuit storage means 1 and the basic operation information of each circuit element in the circuit element operation storage means 2 to determine how the data DATA and the signal ACK * operate with respect to the input. After calculating whether or not to perform the calculation, the calculation result is held in the circuit calculation result storage means 12, and it is manually determined whether or not the result is correct. Therefore, various external input patterns were created and simulated so that the signals given as external inputs could cover all timings.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上記構
成の装置では、ハンドシェークプロトコルで許されるす
べての場合の外部入力を検査するために、十分な外部入
力パターンを作成しなければならず、かつ目視によりシ
ミュレーション結果を確認しなければならないために、
次のような問題があり、それを解決することが困難であ
った。
However, in the apparatus having the above configuration, in order to check the external input in all cases permitted by the handshake protocol, a sufficient external input pattern must be created, and the external input pattern can be visually inspected. In order to confirm the simulation result,
There were the following problems, and it was difficult to solve them.

【0009】(i) すべての場合の外部入力を検査す
るために十分な外部入力パターンを作成することは、回
路検証の効率を低下させる。 (ii) 目視によりシミュレーション結果を確認しなけ
ればならないために、回路検証の効率が低下すると共に
人為的な要因による確認ミスが発生する。
(I) Creating sufficient external input patterns to test external inputs in all cases reduces the efficiency of circuit verification. (Ii) Since it is necessary to visually confirm the simulation result, the efficiency of the circuit verification is lowered and a confirmation error due to an artificial factor occurs.

【0010】本発明は、前記従来技術が持っていた課題
として、回路検証の効率低下、及び人為的要因による確
認ミスの発生の点について解決した論理回路動作検証装
置を提供するものである。
SUMMARY OF THE INVENTION The present invention provides a logic circuit operation verification device which solves the problems of the prior art described above, such as a decrease in the efficiency of circuit verification and the occurrence of a verification error due to an artificial factor.

【0011】[0011]

【課題を解決するための手段】本発明は前記課題を解決
するために、論理検証の対象となる対象論理回路の接続
状態を記憶する回路記憶手段と、前記対象論理回路を構
成している回路素子の基本動作を記憶する回路素子動作
記憶手段とを備え、前記回路記憶手段及び回路素子動作
記憶手段の内容を参照して前記対象論理回路の動作を検
証する論理回路動作検証装置において、次のような手段
を備えている。
In order to solve the above problems, the present invention solves the above problems by a circuit storing means for storing a connection state of a target logic circuit which is a target of logic verification, and a circuit which constitutes the target logic circuit. A logic circuit operation verification device for verifying the operation of the target logic circuit by referring to the contents of the circuit storage means and the circuit element operation storage means. Equipped with such means.

【0012】即ち、本発明では、前記対象論理回路にお
ける入力信号系列と出力信号系列との間の動作仕様を記
述した回路動作仕様記述手段と、出力信号生成要因解析
手段と、前記出力信号生成要因解析手段から得られた出
力信号生成要因の動作を、前記回路動作仕様記述手段内
の動作仕様と比較して検査する出力信号生成要因検査手
段とを、備えている。出力信号生成要因解析手段は、前
記回路記憶手段及び回路素子動作記憶手段の内容を参照
して前記対象論理回路の出力信号の遷移動作に係わる該
対象論理回路内の全回路素子の各入力条件を入力側に向
かって順次解析することにより、該出力信号の生成要因
を解析する機能を有している。
That is, according to the present invention, circuit operation specification description means for describing operation specifications between an input signal series and an output signal series in the target logic circuit, an output signal generation factor analysis means, and the output signal generation factor. An output signal generation factor inspection means for inspecting the operation of the output signal generation factor obtained from the analysis means by comparing it with the operation specification in the circuit operation specification description means. The output signal generation factor analysis means refers to the contents of the circuit storage means and the circuit element operation storage means to determine each input condition of all circuit elements in the target logic circuit relating to the transition operation of the output signal of the target logic circuit. It has a function of analyzing the generation factor of the output signal by sequentially analyzing toward the input side.

【0013】[0013]

【作用】本発明によれば、以上のように論理回路動作検
証装置を構成したので、回路動作仕様記述手段には、入
力に対して出力がどのように動作しなければならないか
を記述しているので、その記述内容が出力信号生成要因
検査手段へ送られる。また、回路記憶手段内の対象論理
回路の接続状態のデータと、回路素子動作記憶手段内の
回路素子の基本動作を示すデータとが、出力信号生成要
因解析手段内の回路素子入力条件解析手段へ与えられ
る。
According to the present invention, since the logic circuit operation verification device is constructed as described above, the circuit operation specification description means describes how the output should operate with respect to the input. Therefore, the description content is sent to the output signal generation factor inspection means. Further, the connection state data of the target logic circuit in the circuit storage means and the data indicating the basic operation of the circuit element in the circuit element operation storage means are sent to the circuit element input condition analysis means in the output signal generation factor analysis means. Given.

【0014】回路素子入力条件解析手段では、回路素子
の出力条件が与えられたときに、その回路素子の入力信
号がいかなる動作をしなければならないかを解析する。
そして、この回路素子入力条件解析手段を含む出力信号
生成要因解析手段では、対象論理回路における出力信号
の生成要因を解析し、その解析結果を出力信号生成要因
検査手段へ送る。出力信号生成要因検査手段では、出力
信号生成要因解析手段から得られた出力信号生成要因の
動作を、回路動作仕様記述手段内にある動作仕様と比較
し、対象論理回路内に誤りがないか否かを検出する。
The circuit element input condition analysis means analyzes what kind of operation the input signal of the circuit element should perform when the output condition of the circuit element is given.
Then, the output signal generation factor analysis unit including the circuit element input condition analysis unit analyzes the generation factor of the output signal in the target logic circuit and sends the analysis result to the output signal generation factor inspection unit. The output signal generation factor inspection means compares the operation of the output signal generation factor obtained from the output signal generation factor analysis means with the operation specification in the circuit operation specification description means to determine whether or not there is an error in the target logic circuit. To detect.

【0015】これにより、対象論理回路は、例えばハン
ドシェイクプロトコルを含む動作仕様に合うように設計
されているか否かを、従来のように入力信号について記
述した複数のテストパターンを作成することなく、さら
に人手を必要とせずに的確に検証しうる。従って、前記
課題を解決できるのである。
Thus, the target logic circuit is designed to meet the operation specifications including the handshake protocol, for example, without making a plurality of test patterns describing the input signal as in the conventional case. Furthermore, it can be accurately verified without requiring human intervention. Therefore, the above problem can be solved.

【0016】[0016]

【実施例】図1は、本発明の実施例を示す論理回路動作
検証装置の構成ブロック図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing the configuration of a logic circuit operation verification device showing an embodiment of the present invention.

【0017】この論理回路動作検証装置は、ハンドシェ
イクプロトコル仕様記憶手段31と、論理検証の対象と
なる対象論理回路の接続状態を記憶する回路記憶手段3
2と、前記対象論理回路を構成している回路素子の基本
動作を記憶する回路素子動作記憶手段33とを、備えて
いる。これらの記憶手段31,32,33は、半導体メ
モリ等で構成され、その出力側に、動作検証装置本体4
0が接続されている。動作検証装置本体40は、記憶手
段31〜33の内容を参照して前記対象論理回路の動作
を検証する機能を有し、回路動作仕様記述手段41と、
回路素子入力条件解析手段42aを有する出力信号生成
要因解析手段42と、出力信号生成要因検査手段43と
を、備えている。
This logic circuit operation verification device includes a handshake protocol specification storage means 31 and a circuit storage means 3 for storing the connection state of a target logic circuit which is the target of logic verification.
2 and a circuit element operation storage means 33 for storing the basic operation of the circuit element forming the target logic circuit. These storage means 31, 32, 33 are composed of semiconductor memories or the like, and the operation verification device body 4 is provided on the output side thereof.
0 is connected. The operation verification device main body 40 has a function of verifying the operation of the target logic circuit by referring to the contents of the storage means 31 to 33, and the circuit operation specification description means 41
An output signal generation factor analysis unit 42 having a circuit element input condition analysis unit 42a and an output signal generation factor inspection unit 43 are provided.

【0018】この各手段41,42,43は、集積回路
等の個別回路、あるいはコンピュータのプログラム制御
等で構成されている。そのうち、回路動作仕様記述手段
41は、ハンドシェイクプロトコル仕様記憶手段31の
内容を入力し、対象論理回路における入力信号系列と出
力信号系列との間の動作仕様を記述したもので、その記
述内容を出力信号生成要因検査手段43へ出力する機能
を有している。
Each of the means 41, 42, 43 is composed of an individual circuit such as an integrated circuit, or a program control of a computer. Of these, the circuit operation specification description means 41 is the one that inputs the content of the handshake protocol specification storage means 31 and describes the operation specification between the input signal series and the output signal series in the target logic circuit. It has a function of outputting to the output signal generation factor inspection means 43.

【0019】出力信号生成要因解析手段42内の回路素
子入力条件解析手段42aは、論理回路内の回路素子の
動作を回路素子動作記憶手段33により得ることによ
り、回路動作仕様記述手段41内の対象論理回路の出力
信号の遷移動作に対して、該回路素子の入力が、該記出
力信号の遷移を起こすために、いかに動作すべきかとい
う入力条件を解析し、複数の候補がありうるときにはそ
れらを保持する機能を有している。
The circuit element input condition analyzing means 42a in the output signal generating factor analyzing means 42 obtains the operation of the circuit element in the logic circuit by the circuit element operation storing means 33, and thereby the target in the circuit operation specification describing means 41. With respect to the transition operation of the output signal of the logic circuit, the input condition of how the input of the circuit element should operate in order to cause the transition of the output signal is analyzed, and when there are a plurality of candidates, those are analyzed. It has the function of holding.

【0020】そして、出力信号生成要因解析手段42で
は、対象論理回路の出力信号を生成する回路素子の入力
信号がいかに動作すべきかという情報(入力条件)を、
回路素子入力条件解析手段42aから得、さらに該入力
条件を、出力信号として、前記入力信号を生成する回路
素子に対して適用して、該回路素子の入力信号がいかに
動作すべきかという情報(入力条件)を、回路素子入力
条件解析手段42aから得る。このよう一連の処理を、
回路素子の入力信号が対象論理回路の入力信号になるま
で繰り返し行い、回路素子入力条件解析手段42aにお
いて入力の候補が複数個あったときにはすべての場合に
ついて前記の処理を行い、その処理結果を出力信号生成
要因検査手段43へ出力する機能を有している。
Then, in the output signal generation factor analysis means 42, information (input condition) indicating how the input signal of the circuit element for generating the output signal of the target logic circuit should operate,
Information obtained from the circuit element input condition analysis means 42a, further applying the input condition as an output signal to the circuit element which generates the input signal, and how the input signal of the circuit element should operate (input Condition) is obtained from the circuit element input condition analysis means 42a. A series of processing like this
It is repeated until the input signal of the circuit element becomes the input signal of the target logic circuit, and when there are a plurality of input candidates in the circuit element input condition analysis means 42a, the above processing is performed for all cases and the processing result is output. It has a function of outputting to the signal generation factor inspection means 43.

【0021】出力信号生成要因検査手段43は、出力信
号生成要因解析手段42から得られた出力信号生成要因
の動作を、回路動作仕様記述手段41内にある動作仕様
と比較する機能を有している。
The output signal generation factor inspection means 43 has a function of comparing the operation of the output signal generation factor obtained from the output signal generation factor analysis means 42 with the operation specification in the circuit operation specification description means 41. There is.

【0022】次に、図4〜図7を参照しつつ、動作を説
明する。図4は、図1のハンドシェイクプロトコル仕様
記憶手段31に記憶されているハンドシェイクプロトコ
ルの例を示す図である。この記述例は、図3のハンドシ
ェイクについてのものである。
Next, the operation will be described with reference to FIGS. FIG. 4 is a diagram showing an example of the handshake protocol stored in the handshake protocol specification storage means 31 of FIG. This description example is for the handshake of FIG.

【0023】図4では、( )で囲まれた信号名と論理
値の組み合わせで状態の変化を示し、( )の出現順に
状態変化が起こる。例えば、(1)は信号BUSY*が
0(Lレベル)になることを示す。
In FIG. 4, the state change is indicated by the combination of the signal name and the logical value surrounded by (), and the state change occurs in the order of appearance of (). For example, (1) indicates that the signal BUSY * becomes 0 (L level).

【0024】if以降はバスマスタからバススレーブへ
の入力を示し、then以降はバススレーブからバスマ
スタへの出力を示す。例えば(1),(2)はバスマス
タ出力であり、(5)はバススレーブ出力である。
After "if", the input from the bus master to the bus slave is shown, and after "then", the output from the bus slave to the bus master is shown. For example, (1) and (2) are bus master outputs, and (5) are bus slave outputs.

【0025】BEFORE,AFTERはその前後の信
号の状態変化の順序を示す。例えば、(2)において、 ((ADRS→VALID)BEFORE(AS*→0)) は、信号AS*がLレベルになる前にADRSがVAL
IDになることを示す。また(7)において、 ((DATA→INVALD)AFTER(ACK*→
1)) は、信号ACK*がLレベルになってからデータDAT
Aが無効(INVALID)になることを示す。
BEFORE and AFTER indicate the order of state change of signals before and after that. For example, in (2), ((ADRS → VALID) BEFORE (AS * → 0)) means that ADRS is VAL before signal AS * becomes L level.
Indicates that it will be an ID. In (7), ((DATA → INVALD) AFTER (ACK * →
1)) is data DAT after the signal ACK * becomes L level.
It indicates that A becomes invalid (INVALID).

【0026】ANDは論理積を示す。例えば、(9)に
おいて、((DATA→3−STATE)AND(ACK
*→3−STATE)))はデータDATAが3−ステー
ト状態になり、信号ACK*もまた3−ステート状態に
なること示す。但し、時間の前後関係は問わない。
AND indicates a logical product. For example, in (9), ((DATA → 3-STATE) AND (ACK
* → 3-STATE))) indicates that the data DATA is in the 3-state state and the signal ACK * is also in the 3-state state. However, the order of time does not matter.

【0027】(3)の(wait 3CLK)は、短く
ても3個のクロックCLK入力の時間経ってから、これ
に続く動作を行うことを示す。図5は、図3のプロトコ
ル例を実現するためのスレーブ回路の一例を示す回路図
である。図6は、図3のプロトコル例を実現する際に回
路を誤って作成したスレーブ回路の一例を示す回路図で
ある。また、図7は、図6の誤ったスレーブ回路での図
3に対応するハンドシェイクのフローチャートである。
(3) (wait 3CLK) indicates that the operation following this is performed after the time of inputting at least three clocks CLK has elapsed. FIG. 5 is a circuit diagram showing an example of a slave circuit for realizing the protocol example of FIG. FIG. 6 is a circuit diagram showing an example of a slave circuit that is erroneously created when the protocol example of FIG. 3 is realized. Further, FIG. 7 is a flowchart of the handshake corresponding to FIG. 3 in the incorrect slave circuit of FIG.

【0028】図5のスレーブ回路は、デコード51及び
3入力NORゲート52で構成されるスレーブアクセス
認識部50を備え、その出力側にメモリコントロール部
61、及びダイナミック・ランダム・アクセス・メモリ
(DRAM)からなるメモリ62が接続されている。メ
モリコントロール部61の出力側には、3−ステートド
ライバ63が接続されている。
The slave circuit shown in FIG. 5 comprises a slave access recognition section 50 composed of a decode 51 and a 3-input NOR gate 52, and a memory control section 61 and a dynamic random access memory (DRAM) on the output side thereof. Is connected to the memory 62. A 3-state driver 63 is connected to the output side of the memory control unit 61.

【0029】また、スレーブアクセス認識部50の出力
側には、ACK*生成部70が接続され、さらにその出
力側に、スレーブアクセス認識部50の出力で制御され
る3−ステートドライバ81が接続されている。ACK
*生成部70は、4段縦続接続された遅延型(D型)の
フリップフロップ(以下、FFという)71〜74と、
インバータ75と、2入力ORゲート76とで、構成さ
れている。
An ACK * generation unit 70 is connected to the output side of the slave access recognition unit 50, and a 3-state driver 81 controlled by the output of the slave access recognition unit 50 is connected to the output side thereof. ing. ACK
* The generating unit 70 includes delay-type (D-type) flip-flops (hereinafter referred to as FFs) 71 to 74 that are cascade-connected in four stages.
It is composed of an inverter 75 and a 2-input OR gate 76.

【0030】これに対し、図6のACK*生成部70A
では、最終段のFF74が欠落している。なお、図5及
び図6共に、データはDRAMからなるメモリ62に保
持されているので、読み出しには一定の時間を必要とす
る。この時間は、3クロックCLKの入力時間であると
する。
On the other hand, the ACK * generator 70A shown in FIG.
Then, the final stage FF 74 is missing. Note that, in both FIGS. 5 and 6, since the data is held in the memory 62 composed of DRAM, a certain time is required for reading. This time is assumed to be the input time of 3 clocks CLK.

【0031】図5の動作は、次のようになる。信号BU
SY*,ADRS,AS*,が入力されたときに、スレ
ーブアクセス認識部50がアドレスADRSをデコード
して、当該回路へのアクセスであることを認識すると、
信号HITをアトートする。さらに、スレーブアクセス
認識部50は、信号DRIVE*を出力して信号ACK
*を出力する出力用の3−ステートドライバ81をイネ
ーブルにする。
The operation of FIG. 5 is as follows. Signal BU
When SY *, ADRS, AS * is input, the slave access recognition unit 50 decodes the address ADRS and recognizes that it is an access to the circuit,
Atto signal HIT. Further, the slave access recognition unit 50 outputs the signal DRIVE * and outputs the signal ACK.
The output 3-state driver 81 that outputs * is enabled.

【0032】ACK*生成部70では、信号AS*がア
サートされると、4つのFF71〜74のリセット入力
Rがネゲートされ、その後、信号HITがアサートされ
ると、FF71のデータ入力Dがアサートされ、順次、
入力クロックCLKにより、信号HITがアサートされ
た情報が、FF74までシフトされる。このとき、入力
信号DS*がアサートされていれば、信号ACK*がア
サートされる。
In the ACK * generator 70, when the signal AS * is asserted, the reset inputs R of the four FFs 71 to 74 are negated, and when the signal HIT is asserted thereafter, the data input D of the FF 71 is asserted. , In sequence,
The information in which the signal HIT is asserted is shifted to the FF 74 by the input clock CLK. At this time, if the input signal DS * is asserted, the signal ACK * is asserted.

【0033】これに対し、図6では、FFが71〜73
の3個しかない。そのため、図7に示す様に、信号AC
K*が、正しい動作よりも1クロック早くアサートされ
てしまう。これは図4に示すハンドシェイクのプロトコ
ルに違反している。
On the other hand, in FIG. 6, FFs 71 to 73 are provided.
There are only three. Therefore, as shown in FIG.
K * is asserted one clock earlier than correct operation. This violates the handshake protocol shown in FIG.

【0034】このような誤り検出動作を、図1の装置を
参照しつつ、以下説明する。なお、以下の動作説明で
は、図6の回路接続状態を回路記憶手段32に記憶さ
せ、図3の各信号を回路動作仕様記述手段41に記述す
る。そして、出力信号生成要因解析手段42において解
析を行ったときに、信号ACK*がアサートされる条件
に関して、該出力信号生成要因解析手段42において検
査する場合の、解析過程と検査過程を次の(a)〜
(j)に示し、前記の動作の誤りを検出できることを示
す。
The error detecting operation will be described below with reference to the apparatus shown in FIG. In the following description of the operation, the circuit connection state of FIG. 6 is stored in the circuit storage means 32, and each signal of FIG. 3 is described in the circuit operation specification description means 41. Then, when the output signal generation factor analysis unit 42 analyzes, the output signal generation factor analysis unit 42 inspects the conditions for asserting the signal ACK *, and the analysis process and the inspection process are as follows. a) ~
(J) shows that an error in the above operation can be detected.

【0035】(a) 図1の出力信号生成要因解析手段
42が、回路記憶手段32から信号ACK*を出力する
回路を読み出したとき、当該回路は図6の3−ステート
ドライバ81なので、回路素子動作記憶手段33内のデ
ータより、3−ステートドライバ81の出力イネーブル
と、データ入力を検査しなければならないことを、出力
信号生成要因解析手段42が認識する。以後、出力イネ
ーブルの検査は省略する。
(A) When the output signal generation factor analysis means 42 of FIG. 1 reads the circuit which outputs the signal ACK * from the circuit storage means 32, the circuit is the 3-state driver 81 of FIG. The output signal generation factor analysis unit 42 recognizes from the data in the operation storage unit 33 that the output enable of the 3-state driver 81 and the data input must be inspected. After that, the inspection of the output enable is omitted.

【0036】(b) 回路記憶手段32から3−ステー
トドライバ81のデータ入力となる回路素子を読み出す
と、2入力ORゲート76の出力であることが分かるの
で、このORゲート76の2つの入力について検査す
る。なお、信号ACK*がアサートされるのは、これら
2つの入力が共にLレベルでなければならないことを、
回路素子入力条件解析手段42aが回路素子動作記憶手
段33内の2入力ORゲートに関するデータから識別す
る。
(B) When the circuit element serving as the data input of the 3-state driver 81 is read from the circuit storage means 32, it is found that it is the output of the 2-input OR gate 76. Therefore, regarding the two inputs of the OR gate 76, inspect. Note that the signal ACK * is asserted because both of these two inputs must be at L level.
The circuit element input condition analysis means 42a discriminates from the data on the 2-input OR gate in the circuit element operation storage means 33.

【0037】(c) 2入力ORゲート76の入力のう
ち1つは、信号DS*で示される入力が直接接続されて
いる。図4に示す回路動作仕様記述手段41の信号AC
K*のアサートに関する記述は(5)であり、また
(4)に信号DS*に関する記述がある。そして、信号
ACK*のアサートに関する信号DS*による制限は、
信号DS*がアサートされた後で信号ACK*がアサー
トされなければいけないということであるので、この回
路の動作は仕様にあてはまることを、出力信号生成要因
検査手段43が判定する。
(C) One of the inputs of the 2-input OR gate 76 is directly connected to the input represented by the signal DS *. Signal AC of circuit operation specification description means 41 shown in FIG.
The description regarding the assertion of K * is (5), and the description regarding the signal DS * is included in (4). And, the limitation by the signal DS * regarding the assertion of the signal ACK * is
Since the signal ACK * must be asserted after the signal DS * is asserted, the output signal generation factor inspection means 43 determines that the operation of this circuit conforms to the specifications.

【0038】(d) 2入力ORゲート76の入力のう
ち残った1つは、FF73の出力がLレベルになること
である。 (e) さらにFF73の出力QNがLレベルになる条
件は、該FF73のリセット入力RがHレベルで、かつ
データ入力DつまりFF72の出力QAがHレベルのと
きに、クロック入力CがLレベルからHレベルに遷移す
ることであることを、回路素子入力条件解析手段42a
が回路素子動作記憶手段33内のD型FFに関するデー
タから識別する。リセット入力Rに関する検査過程は省
略する。 (f) 前記の場合と同様に、FF72の出力QAがH
レベルになる条件は、該FF72のリセット入力RがH
レベルで、かつデータ入力DつまりFF71の出力QA
がHレベルのときに、クロック入力CがLレベルからH
レベルに遷移することである。リセット入力に関する検
査過程は省略する。 (g) 前記の場合と同様に、FF71の出力QAがH
レベルになる条件は、該FF71のリセット入力RがH
レベルで、かつデータ入力Dつまり信号HITがHレベ
ルのときに、クロック入力CがLレベルからHレベルに
遷移することである。リセット入力に関する検査過程は
省略する。
(D) One of the remaining inputs of the 2-input OR gate 76 is that the output of the FF 73 becomes L level. (E) Further, the condition that the output QN of the FF 73 becomes L level is that the clock input C is changed from L level when the reset input R of the FF 73 is H level and the data input D, that is, the output QA of the FF 72 is H level. The circuit element input condition analyzing means 42a indicates that the transition to the H level is made.
Is identified from the data regarding the D-type FF in the circuit element operation storage means 33. The inspection process regarding the reset input R is omitted. (F) As in the above case, the output QA of the FF 72 is H
The condition for the level to become is that the reset input R of the FF 72 is H.
At level and data input D, that is, output QA of FF71
Is at the H level, the clock input C changes from the L level to the H level.
It is to transit to the level. The inspection process regarding the reset input is omitted. (G) As in the above case, the output QA of the FF 71 is H
The condition for the level to be set is that the reset input R of the FF 71 is H.
At the level and when the data input D, that is, the signal HIT is at the H level, the clock input C transits from the L level to the H level. The inspection process regarding the reset input is omitted.

【0039】(h) 信号HITがHレベルになる、つ
まり3入力NORゲート52の出力がHレベルになる条
件は、該3入力NORゲート52の入力がすべてLレベ
ルになることを、回路素子入力条件解析手段42aが回
路素子動作記憶手段33内の3入力NORゲートに関す
るデータから識別する。
(H) The condition that the signal HIT becomes H level, that is, the output of the 3-input NOR gate 52 becomes H level is that all the inputs of the 3-input NOR gate 52 become L level. The condition analysis means 42a discriminates from the data on the 3-input NOR gate in the circuit element operation storage means 33.

【0040】(i) 3入力NORゲート52の一つの
入力である信号BUSY*は、図3に示すように信号A
CK*を生成するための要因の一つであり、この条件は
ハンドシェイクプロトコル仕様記憶手段31に記憶され
ている。さらに、本回路の仕様として、信号BUSY*
とAS*がアサートされ、さらにアドレスADRSをデ
コートした結果、本回路をアクセスしていることが認識
されたときから最低でも3クロックCLKの時間が経過
した後で、信号ACK*がアサートされなければならな
いという条件が、回路動作仕様記述手段41に記述され
ている。しかしこれまでの結果、信号BUSY*がアサ
ートされてから2クロックCLKの時間経過したとき
に、信号ACK*がアサートされうることを出力信号生
成要因検査手段43が検出する。
(I) The signal BUSY *, which is one input of the 3-input NOR gate 52, is the signal A as shown in FIG.
This condition is one of the factors for generating CK *, and this condition is stored in the handshake protocol specification storage means 31. Furthermore, as the specifications of this circuit, the signal BUSY *
And AS * are asserted, and as a result of decoding the address ADRS, it is recognized that the signal ACK * is not asserted after a lapse of at least 3 clocks CLK from the time when it is recognized that this circuit is being accessed. The condition that does not hold is described in the circuit operation specification description means 41. However, as a result of the above, the output signal generation factor inspection means 43 detects that the signal ACK * can be asserted when the time of 2 clocks CLK has elapsed since the signal BUSY * was asserted.

【0041】(j) 3入力NORゲート52の他の条
件であるアドレスADRSのデコード出力AS*に関し
ても、同様の検査結果が得られる。以上述べたような過
程で、図6に示す回路が動作仕様に反していることが検
出される。
(J) Similar results are obtained for the decode output AS * of the address ADRS, which is another condition of the 3-input NOR gate 52. In the process as described above, it is detected that the circuit shown in FIG. 6 violates the operating specifications.

【0042】なお、本発明は上記実施例に限定されず、
種々の変形が可能である。例えば、上記実施例は、ハン
ドシェイクを含む論理回路の動作検証にのみ適用される
のではなく、入力信号系列に対する出力信号系列が一定
の基準で規定されているときにも適用できる。さらに、
動作仕様は、図4に示す記述の方法に制限されるもので
はなく、任意の記述内容を適用できる。
The present invention is not limited to the above embodiment,
Various modifications are possible. For example, the above-described embodiment is not only applicable to the operation verification of the logic circuit including the handshake, but also applicable to the case where the output signal series with respect to the input signal series is defined by a certain standard. further,
The operation specification is not limited to the description method shown in FIG. 4, and any description content can be applied.

【0043】[0043]

【発明の効果】以上詳細に説明したように、本発明によ
れば、回路動作仕様記述手段、出力信号生成要因解析手
段、及び出力信号生成要因検査手段を備えているので、
対象論理回路の動作を、従来のように複数のテスト用入
力パターンを作成することなく検証でき、しかも機械的
に動作確認が行えるので、回路検証の効率が著しく向上
すると共に、目視による人為的な要因による確認ミスを
除去することができる。
As described in detail above, according to the present invention, the circuit operation specification description means, the output signal generation factor analysis means, and the output signal generation factor inspection means are provided.
The operation of the target logic circuit can be verified without creating multiple test input patterns as in the past, and because the operation can be mechanically confirmed, the efficiency of circuit verification is significantly improved and it is possible to visually check it. Confirmation errors due to factors can be eliminated.

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

【図1】本発明の実施例を示す論理回路動作検証装置の
構成ブロック図である。
FIG. 1 is a configuration block diagram of a logic circuit operation verification device showing an embodiment of the present invention.

【図2】従来の論理回路動作検証装置の構成ブロック図
である。
FIG. 2 is a configuration block diagram of a conventional logic circuit operation verification device.

【図3】ハンドシェイクの例を示すタイミングチャート
である。
FIG. 3 is a timing chart showing an example of a handshake.

【図4】図1のハンドシェイクプロトコル記憶手段と回
路動作仕様記述手段41の内容例を示す図である。
FIG. 4 is a diagram showing an example of contents of a handshake protocol storage means and a circuit operation specification description means 41 of FIG.

【図5】本発明の実施例に示す動作を実現するための回
路例を示すもので、図3のプロトコルが実現できている
場合のスレーブ回路図である。
5 shows an example of a circuit for realizing the operation shown in the embodiment of the present invention, and is a slave circuit diagram when the protocol of FIG. 3 is realized.

【図6】本発明の実施例に示す動作を実現する回路例で
あり、図3のプロトコルが実現できていない場合のスレ
ーブ回路図である。
6 is an example of a circuit that realizes the operation shown in the embodiment of the present invention, and is a slave circuit diagram when the protocol of FIG. 3 is not realized.

【図7】図6の誤ったスレーブ回路でのハンドシェイク
の動作を示すタイミングチャートである。
FIG. 7 is a timing chart showing a handshake operation in the wrong slave circuit of FIG.

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

31 ハンドシェイクプロトコル仕様記述手
段 32 回路記憶手段 33 回路素子動作記憶手段 40 動作検証装置本体 41 回路動作仕様記述手段 42 出力信号生成要因解析手段 42a 回路素子入力条件解析手段 43 出力信号生成要因検査手段
31 handshake protocol specification description means 32 circuit storage means 33 circuit element operation storage means 40 operation verification device body 41 circuit operation specification description means 42 output signal generation factor analysis means 42a circuit element input condition analysis means 43 output signal generation factor inspection means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 論理検証の対象となる対象論理回路の接
続状態を記憶する回路記憶手段と、前記対象論理回路を
構成している回路素子の基本動作を記憶する回路素子動
作記憶手段とを備え、前記回路記憶手段及び回路素子動
作記憶手段の内容を参照して前記対象論理回路の動作を
検証する論理回路動作検証装置において、 前記対象論理回路における入力信号系列と出力信号系列
との間の動作仕様を記述した回路動作仕様記述手段と、 前記回路記憶手段及び回路素子動作記憶手段の内容を参
照して前記対象論理回路の出力信号の遷移動作に係わる
該対象論理回路内の全回路素子の各入力条件を入力側に
向かって順次解析することにより、該出力信号の生成要
因を解析する出力信号生成要因解析手段と、 前記出力信号生成要因解析手段から得られた出力信号生
成要因の動作を、前記回路動作仕様記述手段内の動作仕
様と比較して検査する出力信号生成要因検査手段とを、 備えたことを特徴とする論理回路動作検証装置。
1. A circuit storage means for storing a connection state of a target logic circuit to be a target of logic verification, and a circuit element operation storage means for storing a basic operation of a circuit element forming the target logic circuit. A logic circuit operation verification device for verifying the operation of the target logic circuit by referring to the contents of the circuit storage means and the circuit element operation storage means, wherein the operation between the input signal series and the output signal series in the target logic circuit With reference to the contents of the circuit operation specification description means describing the specifications and the contents of the circuit storage means and the circuit element operation storage means, each of all circuit elements in the target logic circuit relating to the transition operation of the output signal of the target logic circuit Output signal generation factor analysis means for analyzing generation factors of the output signal by sequentially analyzing input conditions toward the input side, and output signal generation factor analysis means An output signal generation factor inspection means for inspecting the operation of the output signal generation factor compared with the operation specifications in the circuit operation specification description means, and a logic circuit operation verification device.
JP3259463A 1991-10-07 1991-10-07 Verification device for logic circuit operation Withdrawn JPH05101132A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3259463A JPH05101132A (en) 1991-10-07 1991-10-07 Verification device for logic circuit operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3259463A JPH05101132A (en) 1991-10-07 1991-10-07 Verification device for logic circuit operation

Publications (1)

Publication Number Publication Date
JPH05101132A true JPH05101132A (en) 1993-04-23

Family

ID=17334423

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3259463A Withdrawn JPH05101132A (en) 1991-10-07 1991-10-07 Verification device for logic circuit operation

Country Status (1)

Country Link
JP (1) JPH05101132A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8234608B2 (en) 2009-02-25 2012-07-31 Kabushiki Kaisha Toshiba Circuit specification description visualizing device, circuit specification description visualizing method and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8234608B2 (en) 2009-02-25 2012-07-31 Kabushiki Kaisha Toshiba Circuit specification description visualizing device, circuit specification description visualizing method and storage medium

Similar Documents

Publication Publication Date Title
US7607116B2 (en) Method and apparatus for verifying system-on-chip model
US6370675B1 (en) Semiconductor integrated circuit design and evaluation system using cycle base timing
JP2006244073A (en) Semiconductor design device
US5966306A (en) Method for verifying protocol conformance of an electrical interface
US6249891B1 (en) High speed test pattern evaluation apparatus
JP2007034833A (en) Function verification description generation device, function verification description generation method and function verification description generation program
CN107784185B (en) Method and device for extracting pseudo path in gate-level netlist and terminal equipment
US6321173B1 (en) System and method for efficient verification of functional equivalence between design models
JPH05101132A (en) Verification device for logic circuit operation
CN110991129B (en) FPGA-based full-automatic simulation verification method for password coprocessor
US20230205969A1 (en) Techniques for modeling and verification of convergence for hierarchical domain crossings
JP4194959B2 (en) Simulation analysis system, accelerator device and emulator device
JP2633651B2 (en) Racing check method for simulation equipment
JP3171236B2 (en) Input terminal competition pattern detection system
JP2798026B2 (en) Logic verification system
JP2017146774A (en) Processing apparatus, logic simulator and design verification method
Ueda et al. Automated system level functional test program generation on ATE from EDA using Functional Test Abstraction
JP2005300350A (en) Verification device and verification method of semiconductor integrated circuit
CN116956069A (en) Chip identification method, device and storage medium
JP2970834B2 (en) Test basic data generator
JPH0363581A (en) Method of testing electronic circuit
JPS61165171A (en) Microcomputer
JP2595263B2 (en) Automatic test pattern creation method
JPH04273382A (en) Logic simulation system of lsi
JPH0594492A (en) Logical circuit simulation device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990107