JPH05108745A - Method and device for generating test data - Google Patents

Method and device for generating test data

Info

Publication number
JPH05108745A
JPH05108745A JP3263877A JP26387791A JPH05108745A JP H05108745 A JPH05108745 A JP H05108745A JP 3263877 A JP3263877 A JP 3263877A JP 26387791 A JP26387791 A JP 26387791A JP H05108745 A JPH05108745 A JP H05108745A
Authority
JP
Japan
Prior art keywords
circuit
input
history
test data
logic circuit
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
JP3263877A
Other languages
Japanese (ja)
Inventor
Naohito Toda
尚人 戸田
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 JP3263877A priority Critical patent/JPH05108745A/en
Publication of JPH05108745A publication Critical patent/JPH05108745A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K3/00Apparatus or processes for manufacturing printed circuits
    • H05K3/0005Apparatus or processes for manufacturing printed circuits for designing circuits by computer

Landscapes

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

Abstract

PURPOSE:To generate the test data of a logic circuit on a printed circuit board by using the test data generated before for the simulation of the partial circuit on an LSI, etc. CONSTITUTION:A circuit information storage means stores the function of each circuit element of the logic circuit and connection relation between the input/output terminals of the circuit element. An input means 5 inputs the history of the test data of each input/ output terminal of the partial circuit. Besides, an arithmetic means 7 determines the possible input history of the circuit element or a mutual condition between the input histories from the history of each output of the circuit element. Then, a control means 8 obtains all such the possible input histories or such the mutual condition between the input histories of the circuit element to be connected to the preceding stage of the terminal as to give the history to each input terminal of the partial circuit by using the arithmetic means 7, and it continues this processing for obtaining these until it reaches the input terminal of the logic circuit, and the obtained input history of the input terminal of the logic circuit is made into the test data.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、論理回路のシュミレー
ションのために該論理回路のテストデータを生成するテ
ストデータ生成方法に関する。回路設計の短手番化のた
めに、効率的な論理シュミレーションの運用が要求され
ている。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a test data generation method for generating test data of a logic circuit for simulation of the logic circuit. Efficient operation of logic simulation is required to shorten the circuit design.

【0002】[0002]

【従来の技術】従来、プリント板上にLSIを搭載して
なるプリント回路板上の論理回路のシュミレーションの
ためのテストデータを生成する場合、LSI設計者は、
LSI単体のテストデータを作成するのと重複してプリ
ント回路板の設計者は、LSI単体をも含むプリント回
路板上の論理回路全体のテストデータを独立に作成して
いた。
2. Description of the Related Art Conventionally, when generating test data for simulating a logic circuit on a printed circuit board in which an LSI is mounted on the printed board, an LSI designer must
The designer of the printed circuit board duplicated the test data of the LSI alone, and independently created the test data of the entire logic circuit on the printed circuit board including the LSI alone.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記の
従来のテストデータ生成方法によれば、プリント回路板
の設計者は、プリント回路板に搭載される全てのLSI
について、それぞれの内部回路の動作を理解した上でな
ければ、このプリント回路板上の論理回路のテストデー
タを生成することができない。したがって、プリント回
路板設計者の負担が大きく、また、LSI単体について
は、既にLSI設計者がテストデータを作成しているに
も係わらず、再度、このLSI内部の回路を含む回路全
体の動作を理解してテストデータを生成するため、処理
が重複して、全体として作業が非効率的になるという問
題があった。
However, according to the above-mentioned conventional test data generating method, the designer of the printed circuit board needs to know all the LSIs mounted on the printed circuit board.
With respect to, the test data of the logic circuit on the printed circuit board cannot be generated without understanding the operation of each internal circuit. Therefore, the burden on the designer of the printed circuit board is large, and regarding the LSI alone, the operation of the entire circuit including the circuit inside this LSI is again performed even though the LSI designer has already created the test data. Since the test data is generated after understanding, there is a problem that the process is duplicated and the work becomes inefficient as a whole.

【0004】本発明は、プリント回路板の設計者が、プ
リント回路板に搭載される全てのLSIについて、それ
ぞれの内部回路の動作を理解した上でなくとも、このプ
リント回路板上の論理回路のテストデータを生成するこ
とができるようなテストデータ生成方法を提供すること
を目的とする。
According to the present invention, even if the designer of the printed circuit board does not understand the operation of each internal circuit of all the LSIs mounted on the printed circuit board, the logic circuit on the printed circuit board It is an object of the present invention to provide a test data generation method capable of generating test data.

【0005】[0005]

【課題を解決するための手段】図1は、本発明のテスト
データ生成方法の基本手順を示す図である。図1のステ
ップ1においては、シュミレーション済の部分回路の各
端子のテストデータの履歴を入力する。ステップ2にお
いては、上記の部分回路の各入力端子に対して、上記の
テストデータの履歴を与えるような、上記の入力端子の
前段に接続される回路素子の、あらゆる可能な入力履
歴、あるいは、入力履歴相互の条件を求める。
FIG. 1 is a diagram showing a basic procedure of a test data generating method of the present invention. In step 1 of FIG. 1, the history of test data of each terminal of the simulated partial circuit is input. In step 2, all possible input histories of circuit elements connected to the preceding stage of the above-mentioned input terminals, which give the history of the above-mentioned test data to each input terminal of the above-mentioned partial circuit, or Find the mutual conditions of the input history.

【0006】ステップ3においては、論理回路の入力端
子に到達するまで上記のステップ2の処理を続ける。そ
して、ステップ4においては、前記第3のステップ3に
よって求められた前記論理回路の入力端子の入力履歴を
該論理回路のテストデータとする。図2は、本発明によ
る、シュミレーション済の部分回路を含む論理回路のテ
ストデータ生成装置の基本構成を示すものである。図2
において、5は回路情報記憶手段、6は入力手段、7は
演算手段、そして、8は制御手段である。
In step 3, the process of step 2 is continued until the input terminal of the logic circuit is reached. Then, in step 4, the input history of the input terminal of the logic circuit obtained in the third step 3 is used as the test data of the logic circuit. FIG. 2 shows a basic configuration of a test data generating device for a logic circuit including a simulated partial circuit according to the present invention. Figure 2
In the figure, 5 is a circuit information storage means, 6 is an input means, 7 is a calculation means, and 8 is a control means.

【0007】回路情報記憶手段5は、前記論理回路の回
路素子各々の機能と、該回路素子の入出力端子間の接続
関係を記憶する。入力手段6は、前記部分回路の各入力
端子のテストデータの履歴を入力する。演算手段7は、
前記回路素子各々の出力の履歴から該回路素子の可能な
入力履歴、あるいは、入力履歴相互の条件を求める。
The circuit information storage means 5 stores the function of each circuit element of the logic circuit and the connection relationship between the input / output terminals of the circuit element. The input means 6 inputs the history of test data of each input terminal of the partial circuit. The calculation means 7 is
From the output history of each circuit element, the possible input history of the circuit element or the mutual conditions of the input history are obtained.

【0008】制御手段8は、前記演算手段7を用いて、
前記部分回路の各入力端子に対して前記履歴を与えるよ
うな、上記の端子の前段に接続される回路素子の、あら
ゆる可能な入力履歴、あるいは、入力履歴相互の条件を
求め、該求める処理を、前記論理回路の入力端子に到達
するまで続け、求められた前記論理回路の入力端子の入
力履歴を該論理回路のテストデータとする。
The control means 8 uses the calculation means 7 to
All possible input histories of the circuit elements connected to the preceding stage of the above terminals, or conditions for mutual input histories, which give the histories to the respective input terminals of the partial circuit, are obtained, and the processing is performed. , Until the input terminal of the logic circuit is reached, and the obtained input history of the input terminal of the logic circuit is used as the test data of the logic circuit.

【0009】[0009]

【作用】本発明によれば、論理回路全体のシュミレーシ
ョンのために入力するテストデータを作成する場合に、
既にテストデータが得られている部分回路のテストデー
タを基に、該部分回路の入力端子からバックトレースを
行い、入力先の回路素子について、その出力の履歴(時
間の関数としての出力値)を実現する入力の履歴(時間
の関数としての入力値)あるいは入力端子相互の条件を
求め、これを論理回路の入力端子まで繰り返すことによ
り、自動的に内部の部分回路を動作させるテストデータ
を得ることができる。したがって、部分回路の動作を意
識することなく、論理回路全体のテストデータを作成す
ることが可能となる。
According to the present invention, when the test data to be input for the simulation of the entire logic circuit is created,
Backtrace is performed from the input terminal of the partial circuit based on the test data of the partial circuit for which the test data has already been obtained, and the output history (output value as a function of time) of the circuit element at the input destination is obtained. Obtaining the history of the input to be realized (input value as a function of time) or the condition between the input terminals and repeating this up to the input terminal of the logic circuit to automatically obtain the test data to operate the internal partial circuits. You can Therefore, it is possible to create test data for the entire logic circuit without paying attention to the operation of the partial circuit.

【0010】[0010]

【実施例】以下添付図面を用いて本発明の実施例を詳細
に説明する。図3は本発明の実施例における制御手順を
示すものである。図3において、ステップ1では、部分
回路(例えば、LSI)のシュミレーション結果を入力
し、ステップ12で、部分回路のシュミレーション結果
から部分回路の入力端子の値の履歴を取り出す。
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. FIG. 3 shows a control procedure in the embodiment of the present invention. In FIG. 3, in step 1, a simulation result of a partial circuit (for example, LSI) is input, and in step 12, the history of the value of the input terminal of the partial circuit is extracted from the simulation result of the partial circuit.

【0011】次に、ステップ13にて、入力端子につい
て入力先の回路素子を検索する。ステップ14では、こ
の回路素子がプリント回路板の入力端子か否かを判断
し、否ならば、ステップ15に進んで、当該回路素子の
出力端子の値の変化と、当該入力端子値/条件に関係す
る他の入力端子の条件とから該入力端子における(時間
の関数としての)値/条件を演算する。そして、ステッ
プ16において、上記の演算で求めた値/条件を記憶部
(例えば、RAM)に保存する。そして、ステップ13
に戻る。
Next, in step 13, the input destination circuit element is searched for the input terminal. In step 14, it is judged whether or not this circuit element is an input terminal of the printed circuit board. If not, the process proceeds to step 15 and the change in the value of the output terminal of the circuit element and the input terminal value / condition are checked. The value / condition (as a function of time) at that input terminal is calculated from the conditions of the other input terminals involved. Then, in step 16, the value / condition obtained by the above calculation is stored in the storage unit (for example, RAM). And step 13
Return to.

【0012】もし、ステップ14において、プリント回
路板の入力端子に到達したと判断されるときには、ステ
ップ17にて、上記の記憶部に保存した値/条件を、当
該プリント回路板のテストデータ(入力)として取り出
す。図4は、本発明を適用する論理回路の構成の1例を
示すものである。図4において、点線23にて囲まれた
部分回路23が、シュミレーション済の部分であって、
そのテストデータが知られているものとする。
If it is determined in step 14 that the input terminal of the printed circuit board is reached, in step 17, the values / conditions stored in the above-mentioned storage section are used as test data (input for the printed circuit board). ) Take out as. FIG. 4 shows an example of the configuration of a logic circuit to which the present invention is applied. In FIG. 4, a partial circuit 23 surrounded by a dotted line 23 is a simulated portion,
It is assumed that the test data is known.

【0013】この場合、この部分回路23の入力端子a
およびbについて考えるとき、これらの前段に、図4に
示されているように、AND回路21およびOR回路2
2がそれぞれ接続されているとし、図4の部分回路23
の入力aおよびbが図5に示されているように変化する
履歴を有するとすると、例えば、AND回路21の入力
は、dおよびeは、それぞれ、図5に示されているよう
になる。ここで、AND回路21の入力dおよびeが、
それぞれ、このプリント回路板の入力fおよびgである
場合、これらの値がプリント回路板の入力端子fおよび
gからのテストデータとなる。
In this case, the input terminal a of this partial circuit 23
And b, there is an AND circuit 21 and an OR circuit 2 in front of them, as shown in FIG.
2 are connected to each other, the partial circuit 23 of FIG.
Assuming that inputs a and b of ## EQU3 ## have changing histories as shown in FIG. 5, for example, inputs d and e of the AND circuit 21 are as shown in FIG. 5, respectively. Here, the inputs d and e of the AND circuit 21 are
In the case of the inputs f and g of this printed circuit board, respectively, these values become the test data from the input terminals f and g of the printed circuit board.

【0014】更に、図6には、図4の論理回路のテスト
データを求めるための構成を示すものである。図6にお
いて、31は制御部、32は演算部、33はデータベー
ス部、そして、34は記憶部である。制御部31および
演算部32、および、回路情報データベース33は、そ
れぞれ、図2の制御手段8、演算手段7、および、回路
情報記憶手段6に対応する。また、記憶部は、先に、図
3の手順においても説明したように、本発明によるバッ
クトレース処理の各回路素子の段階で、その素子の入力
値/条件の履歴を記憶するものである。図6の記憶部3
4においては、図5の履歴のd点、e点、および、c点
の履歴が記憶されていることが示されている。図6の回
路情報データベース33は、図6に示されているよう
に、素子名、素子の機能、入力端子、出力端子、そし
て、(図示しないが)入出力端子の接続関係に関する情
報も記憶されている。尚、上記の制御部31は、例え
ば、マイクロコンピュータによって実現できる。
Further, FIG. 6 shows a configuration for obtaining test data of the logic circuit of FIG. In FIG. 6, 31 is a control unit, 32 is a calculation unit, 33 is a database unit, and 34 is a storage unit. The control unit 31, the calculation unit 32, and the circuit information database 33 correspond to the control unit 8, the calculation unit 7, and the circuit information storage unit 6 in FIG. 2, respectively. Further, the storage unit stores the history of the input value / condition of each circuit element at the stage of each circuit element of the back trace processing according to the present invention, as described earlier in the procedure of FIG. Storage unit 3 of FIG.
4 shows that the history of the points d, e, and c of the history of FIG. 5 is stored. As shown in FIG. 6, the circuit information database 33 of FIG. 6 also stores information about element names, element functions, input terminals, output terminals, and connection relationships of input / output terminals (not shown). ing. The control unit 31 can be realized by, for example, a microcomputer.

【0015】[0015]

【発明の効果】以上説明したように、本発明によれば、
プリント回路板の設計者が、プリント回路板に搭載され
る全てのLSIについて、それぞれの内部回路の動作を
理解しなくとも、既に生成済のLSI等の部分回路のシ
ュミレーションのためのテストデータを用いて、このプ
リント回路板上の論理回路のテストデータを生成するこ
とができるという効果がある。
As described above, according to the present invention,
Even if the designer of the printed circuit board does not understand the operation of each internal circuit of all the LSIs mounted on the printed circuit board, the test data for the simulation of the partial circuits such as already generated LSIs is used. As a result, the test data of the logic circuit on the printed circuit board can be generated.

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

【図1】本発明によるテストデータ生成方法を示す図で
ある。
FIG. 1 is a diagram showing a test data generating method according to the present invention.

【図2】本発明によるテストデータ生成装置を示す図で
ある。
FIG. 2 is a diagram showing a test data generating device according to the present invention.

【図3】本発明の実施例における制御の手順を示す図で
ある。
FIG. 3 is a diagram showing a control procedure in the embodiment of the present invention.

【図4】本発明を適用する論理回路の構成の1例を示す
図である。
FIG. 4 is a diagram showing an example of a configuration of a logic circuit to which the present invention is applied.

【図5】図3の論理回路の各部の信号履歴を示す図であ
る。
5 is a diagram showing a signal history of each part of the logic circuit of FIG.

【図6】図3の論理回路のテストデータを求めるための
構成を示す図である。
6 is a diagram showing a configuration for obtaining test data of the logic circuit of FIG.

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

21…AND回路 22…OR回路 23…部分回路 24…LSI 31…制御部 32…演算部 33…回路情報データベース 34…記憶部 21 ... AND circuit 22 ... OR circuit 23 ... Partial circuit 24 ... LSI 31 ... Control part 32 ... Calculation part 33 ... Circuit information database 34 ... Storage part

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 G06F 11/26 310 9072−5B ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification number Office reference number FI technical display location G06F 11/26 310 9072-5B

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 シュミレーション済の部分回路を含む論
理回路のテストデータ生成方法において、 前記部分回路の各入力端子のテストデータの履歴を入力
する第1のステップ(1)と、 前記部分回路の各入力端子に対して前記履歴を与えるよ
うな、上記の端子の前段に接続される回路素子の、あら
ゆる可能な入力履歴、あるいは、入力履歴相互の条件を
求める第2のステップ(2)と、 前記第2のステップ(2)の処理を、前記論理回路の入
力端子に到達するまで続ける第3のステップ(3)とを
有してなり、 前記第3のステップ(3)によって求められた前記論理
回路の入力端子の入力履歴を該論理回路のテストデータ
とする第4のステップ(4)とを有してなることを特徴
とするテストデータ生成方法。
1. A method of generating test data for a logic circuit including a simulated partial circuit, comprising: a first step (1) of inputting test data history of each input terminal of the partial circuit; A second step (2) of obtaining all possible input histories of circuit elements connected to the preceding stage of the above-mentioned terminals so as to give the history to the input terminals or mutual conditions of the input histories; A third step (3) of continuing the processing of the second step (2) until reaching the input terminal of the logic circuit, wherein the logic obtained by the third step (3) And a fourth step (4) in which the input history of the input terminal of the circuit is used as the test data of the logic circuit.
【請求項2】 シュミレーション済の部分回路を含む論
理回路のテストデータ生成装置において、 前記論理回路の回路素子各々の機能と、該回路素子の入
出力端子間の接続関係を記憶する回路情報記憶手段
(5)と、 前記部分回路の各入力端子のテストデータの履歴を入力
する入力手段(6)と、 前記回路素子各々の出力の履歴から該回路素子の可能な
入力履歴、あるいは、入力履歴相互の条件を求める演算
手段(7)と、 前記演算手段(7)を用いて、前記部分回路の各入力端
子に対して前記履歴を与えるような、上記の端子の前段
に接続される回路素子の、あらゆる可能な入力履歴、あ
るいは、入力履歴相互の条件を求め、該求める処理を、
前記論理回路の入力端子に到達するまで続け、求められ
た前記論理回路の入力端子の入力履歴を該論理回路のテ
ストデータとする制御手段(8)とを有してなることを
特徴とするテストデータ生成装置。
2. A test information generation device for a logic circuit including a simulated partial circuit, circuit information storage means for storing the function of each circuit element of the logic circuit and the connection relationship between input / output terminals of the circuit element. (5), an input means (6) for inputting a history of test data of each input terminal of the partial circuit, and a possible input history of the circuit element from the output history of each of the circuit elements, or an input history mutual And a circuit element connected to the preceding stage of the above-mentioned terminal that gives the history to each input terminal of the partial circuit by using the calculating means (7). , All possible input histories, or conditions for mutual input histories,
A control means (8) which continues until it reaches the input terminal of the logic circuit, and which uses the obtained input history of the input terminal of the logic circuit as test data of the logic circuit. Data generator.
JP3263877A 1991-10-11 1991-10-11 Method and device for generating test data Withdrawn JPH05108745A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3263877A JPH05108745A (en) 1991-10-11 1991-10-11 Method and device for generating test data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3263877A JPH05108745A (en) 1991-10-11 1991-10-11 Method and device for generating test data

Publications (1)

Publication Number Publication Date
JPH05108745A true JPH05108745A (en) 1993-04-30

Family

ID=17395484

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3263877A Withdrawn JPH05108745A (en) 1991-10-11 1991-10-11 Method and device for generating test data

Country Status (1)

Country Link
JP (1) JPH05108745A (en)

Similar Documents

Publication Publication Date Title
JP2009238209A (en) Circuit verification apparatus, circuit verification program and method of circuit verification
JPH07200642A (en) Delay time calculating device for semiconductor integrated circuit
JP2746502B2 (en) Apparatus and method for manufacturing semiconductor integrated circuit device and electronic circuit device
US7086019B2 (en) Systems and methods for determining activity factors of a circuit design
JPH05108745A (en) Method and device for generating test data
JP2000195960A (en) Device and method for calculating delays in semiconductor integrated circuit and device and method for verifying timing
JP3219066B2 (en) Analog part deletion information addition system
JP3696302B2 (en) Test vector generation method and generation apparatus
JP2830563B2 (en) Circuit diagram creation device
JP2850629B2 (en) Logic verification system
JPH05266126A (en) Test data terminal name conversion system
JP3095308B2 (en) Electrical component approximate position determination device
JP2600572B2 (en) Method and apparatus for converting logic verification target circuit including sequential circuit into logic verification facilitating circuit
JP2658857B2 (en) Equivalent fault extraction method and device
JP2932987B2 (en) Automatic test equipment for computer systems
JP2897539B2 (en) Hardware description automatic generation method and device
JPS63103985A (en) Inspecting device for integrated circuit element
JPH02294843A (en) Logical verification device
JP2001338008A (en) Method for verifying logical equivalence and device for executing the same method
JPH06332974A (en) Logic simulation method
JPH1139377A (en) Method for verifying semiconductor integrated circuit, device for verifying semiconductor integrated circuit and computer readable recording medium recording verification program of semiconductor integrated circuit
JP2004013851A (en) Lsi design support system and program
JPH11184908A (en) Printed circuit board design method using data base
JPH01106265A (en) Method for specifying ordering of automatic wiring network
JPH0635986A (en) Electronic circuit designing 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