JPH05298388A - Method for forming test vector - Google Patents

Method for forming test vector

Info

Publication number
JPH05298388A
JPH05298388A JP4101261A JP10126192A JPH05298388A JP H05298388 A JPH05298388 A JP H05298388A JP 4101261 A JP4101261 A JP 4101261A JP 10126192 A JP10126192 A JP 10126192A JP H05298388 A JPH05298388 A JP H05298388A
Authority
JP
Japan
Prior art keywords
test vector
circuit
hardware
design
theoretical
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
JP4101261A
Other languages
Japanese (ja)
Inventor
Noboru Oya
昇 大宅
Masayuki Hattori
雅之 服部
Mitsuru Sasano
満 笹野
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.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP4101261A priority Critical patent/JPH05298388A/en
Publication of JPH05298388A publication Critical patent/JPH05298388A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To easily form a test vector after changing a design. CONSTITUTION:Design specification 1 is supplied to a logical value computing part 2 and logical specification 3 is extracted from the computing part 2. On the other hand, the design specification 1 is supplied also to a hardware specification processing part 4 and a hardware-like specifiction 5 to be used for developing a circuit to hardware is extracted from the processing part 4. Then these specifications 3, 5 are supplied to a test vector forming part 6. A test vector 7 is outputted from the forming part 6.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えば自動合成された
回路のテストベクトルを生成する際に適用されるテスト
ベクトル生成方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a test vector generation method applied when generating a test vector of an automatically synthesized circuit, for example.

【0002】[0002]

【従来の技術】まず、一般的な回路の設計手法について
図3を参照して説明する。すなわち図において、ステッ
プ〔31〕で設計仕様が決定されると、ステップ〔3
2〕で理論的検証が行われる。さらにステップ〔33〕
で回路が実現可能であるか否か判断され、実現できない
とき(NO)はステップ〔32〕の理論的検証が繰り返
される。
2. Description of the Related Art First, a general circuit design method will be described with reference to FIG. That is, in the figure, when the design specifications are determined in step [31], step [3
The theoretical verification is performed in 2]. Further step [33]
It is determined whether the circuit is feasible or not, and if it is not feasible (NO), the theoretical verification of step [32] is repeated.

【0003】そしてステップ〔33〕で実現可能になっ
たとき(YES)に、ステップ〔34〕で回路の設計が
行われる。さらにステップ〔35〕で回路のテストベク
トルが生成され、ステップ〔36〕でシミュレーション
が行われる。さらにステップ〔37〕でシミュレーショ
ンの結果が判断され、結果がテストベクトルと一致(O
K)のときは、YESとなりステップ〔38〕で作業は
終了される。
When it becomes feasible in step [33] (YES), the circuit is designed in step [34]. Further, a circuit test vector is generated in step [35], and a simulation is performed in step [36]. Furthermore, the result of the simulation is judged in step [37], and the result matches the test vector (O
In the case of K), the determination is YES and the work is ended in step [38].

【0004】これに対してステップ〔37〕で結果がテ
ストベクトルと不一致のとき(NO)は、ステップ〔3
4〕〔35〕に戻されて、回路設計が再度行われ、また
回路のテストベクトルが再度生成される。そしてこの作
業が、ステップ〔37〕でシミュレーションの結果がO
K(YES)となるまで繰り返される。
On the other hand, if the result in step [37] does not match the test vector (NO), step [3
4] Returning to [35], the circuit design is performed again, and the test vector of the circuit is generated again. Then, in this step, the result of the simulation is O in step [37].
Repeated until K (YES).

【0005】ところでこのような回路の設計手法におい
て、ステップ〔35〕で生成されるテストベクトルは、
例えば回路の入力に与えられるベクトルと、その回路の
スループット・ディレイ後に出力される期待値とが時系
列に並んだデータファイルである。このためこのテスト
ベクトルには、回路の理論的な値と共に、回路の入出力
信号のビット幅、信号形態、回路のスループット・ディ
レイ等の、回路をハードウェアにインプリメントした時
の制約が多く含まれている。
By the way, in such a circuit design method, the test vector generated in step [35] is
For example, it is a data file in which the vector given to the input of the circuit and the expected value output after the throughput delay of the circuit are arranged in time series. Therefore, this test vector contains not only the theoretical value of the circuit, but also many constraints when the circuit is implemented in hardware, such as the bit width of the input / output signal of the circuit, the signal form, and the throughput / delay of the circuit. ing.

【0006】そこで従来の設計手法においてテストベク
トルを生成するには、例えば図4に示すように、上述の
ステップ〔31〕で決定された設計仕様41がテストベ
クトル生成部42に供給される。そしてこのテストベク
トル生成部42からテストベクトル43が取り出される
ようにされている。
Therefore, in order to generate a test vector in the conventional design method, for example, as shown in FIG. 4, the design specification 41 determined in the above step [31] is supplied to the test vector generation unit 42. Then, the test vector 43 is taken out from the test vector generation unit 42.

【0007】ところがこのような方法でテストベクトル
を生成している場合に、例えば設計仕様41が変更にな
ると、テストベクトルの生成は最初から全部やり直さな
ければならない。このため従来は、設計変更後のテスト
ベクトルの生成を容易に行うことができず、設計変更を
行う際の障害になっていた。これは特に上述のステップ
〔37〕で結果がテストベクトルと不一致のとき(N
O)に、容易に設計変更を行うことができず、回路設計
の作業効率を著しく悪化させるものである。
However, when the test vector is generated by such a method, if the design specification 41 is changed, for example, the generation of the test vector must be restarted from the beginning. For this reason, conventionally, it has been impossible to easily generate the test vector after the design change, which has been an obstacle to the design change. This is especially true when the result in step [37] above does not match the test vector (N
In (O), the design cannot be easily changed, and the work efficiency of the circuit design is significantly deteriorated.

【0008】またテストベクトルの生成を作り直す場合
には、関連する全てのプログラムを変更しなければなら
ず無駄が多い。さらにテストベクトルを作る際の多くの
情報を考慮しなければならないので、処理が複雑で効率
が悪く、正確さに欠ける恐れがあった。この出願はこの
ような点に鑑みて成されたものである。
Further, when the generation of the test vector is recreated, all related programs must be changed, which is wasteful. Furthermore, since a lot of information is required when creating the test vector, the processing is complicated, inefficient, and inaccurate. This application is made in view of such a point.

【0009】[0009]

【発明が解決しようとする課題】解決しようとする問題
点は、設計変更後のテストベクトルの生成を容易に行う
ことができず、設計変更を行う際の障害になっていたと
いうものである。
The problem to be solved is that the test vector after design change cannot be easily generated, which is an obstacle to the design change.

【0010】[0010]

【課題を解決するための手段】本発明は、回路(設計仕
様1)の理論的な機能に応じて決まる理論的仕様の第1
の演算過程(2、3)と、上記回路のハードウェア的な
機能に応じて決まるハードウェア的仕様の第2の演算過
程(4、5)とを互いに独立に設け、これらの第1及び
第2の演算過程で得られた結果を合成して上記回路のテ
ストベクトルを生成(6、7)するようにしたテストベ
クトル生成方法である。
The present invention provides a first theoretical specification that is determined according to the theoretical function of a circuit (design specification 1).
(2, 3) and the second calculation step (4, 5) of the hardware specification determined according to the hardware function of the circuit are provided independently of each other, and This is a test vector generation method in which the results obtained in the second calculation process are combined to generate the test vector of the circuit (6, 7).

【0011】[0011]

【作用】これによれば、設計変更後のテストベクトルの
生成を容易に行うことができる。
According to this, it is possible to easily generate the test vector after the design change.

【0012】[0012]

【実施例】図1において、設計仕様1が理論値演算部2
に供給され、この理論値演算部2から理論的仕様3が取
り出される。また設計仕様1がハードウェア仕様処理部
4に供給され、この仕様処理部4から回路をハードウェ
アにインプリメントしたときのハードウェア的仕様5が
取り出される。
[Embodiment] In FIG. 1, a design specification 1 is a theoretical value calculation unit 2
The theoretical specifications 3 are extracted from the theoretical value calculation unit 2. Further, the design specification 1 is supplied to the hardware specification processing unit 4, and the hardware specification 5 when the circuit is implemented in the hardware is taken out from the specification processing unit 4.

【0013】さらにこれらの理論的仕様3とハードウェ
ア的仕様5がテストベクトル生成部6に供給される。そ
してこのテストベクトル生成部6からテストベクトル7
が取り出される。
Further, the theoretical specifications 3 and the hardware specifications 5 are supplied to the test vector generator 6. Then, from this test vector generation unit 6 to the test vector 7
Is taken out.

【0014】すなわちこの方法において、例えば図2の
Aに示すように「×2」の機能仕様100があった場合
に、“5”(=“0101”)の入力ベクトルに対し
て、理論的仕様3による出力ベクトルは“10”(=
“1010”)である。
That is, in this method, for example, when there is a functional specification 100 of "× 2" as shown in A of FIG. 2, a theoretical specification is applied to an input vector of "5" (= "0101"). The output vector of 3 is “10” (=
"1010").

【0015】そこで第1のハードウェア的仕様51が例
えば図2のBに示すようであった場合に、この時のテス
トベクトル71は同図のCに示すようになる。これに対
して、第2のハードウェア的仕様52が例えば図2のD
に示すようであった場合に、この時のテストベクトル7
2は同図のEに示すようになる。
Therefore, when the first hardware specification 51 is as shown in B of FIG. 2, the test vector 71 at this time is as shown in C of FIG. On the other hand, the second hardware specification 52 is, for example, D in FIG.
Test vector 7 at this time
2 is as shown by E in the figure.

【0016】そしてこの場合に、テストベクトル71の
アドレス1に示される入力の値“0101”と、テスト
ベクトル72のアドレス1〜4に示される入力の値
“0”“1”“0”“1”とは同じ値であり、またテス
トベクトル71のアドレス5に示される出力の値“10
10”と、テストベクトル72のアドレス9〜12に示
される出力の値“1”“0”“1”“0”とは同じ値で
ある。すなわち理論的仕様3は同じであり、これに対す
るハードウェア的仕様5のみが変更されている。
In this case, the input value "0101" indicated by the address 1 of the test vector 71 and the input values "0""1""0""1 indicated by the addresses 1 to 4 of the test vector 72. Is the same value, and the output value "10" shown at address 5 of the test vector 71
10 "is the same value as the output value" 1 "" 0 "" 1 "" 0 "indicated by addresses 9 to 12 of the test vector 72. That is, the theoretical specification 3 is the same, and the Only the wear specification 5 has been changed.

【0017】従ってこの方法において、理論値演算部2
から取り出される理論的仕様3はそのまま利用して、仕
様処理部4からハードウェア的仕様5を取り出す演算
と、このハードウェア的仕様5をテストベクトル生成部
6に供給してテストベクトル7を取り出す演算のみを新
たに行えばよい。
Therefore, in this method, the theoretical value calculation unit 2
The theoretical specification 3 extracted from the above is used as it is, an operation for extracting the hardware specification 5 from the specification processing unit 4 and an operation for supplying the hardware specification 5 to the test vector generation unit 6 and extracting the test vector 7 You only have to do new.

【0018】こうして上述の装置によれば、設計変更後
のテストベクトルの生成を容易に行うことができるもの
である。
Thus, according to the above apparatus, it is possible to easily generate the test vector after the design change.

【0019】また上述の装置によれば、テストベクトル
の生成を作り直す場合にも、一部のプログラムのみを変
更すればよく無駄が少ない。さらにテストベクトルを作
る際の考慮すべき情報の量も少なくなり、処理が簡素で
効率が良く、生成されるテストベクトルの誤りも少なく
することができる。
Further, according to the above-mentioned apparatus, even when the test vector generation is recreated, only a part of the program needs to be changed, and the waste is reduced. Further, the amount of information to be considered when creating the test vector is reduced, the processing is simple and efficient, and the error of the generated test vector can be reduced.

【0020】なお上述の説明において、機能仕様100
は例えば「×2」としたが、実際にはディジタル信号の
伝送の誤り訂正におけるガロア体の演算などの極めて複
雑な演算を行う回路に適用されるものであり、理論値演
算部2における演算及び取り出される理論的仕様3は極
めて複雑なものである。
In the above description, the functional specification 100
Is, for example, “× 2”, but is actually applied to a circuit that performs extremely complicated arithmetic operations such as Galois field arithmetic in error correction of transmission of digital signals. The theoretical specification 3 taken out is extremely complicated.

【0021】また上述の方法は、装置の一部がヴァージ
ョンアップ等で変更になった場合などにも有効に利用さ
れるものである。
The above method can be effectively used even when a part of the apparatus is changed due to version up or the like.

【0022】[0022]

【発明の効果】この発明によれば、設計変更後のテスト
ベクトルの生成を容易に行うことができるようになっ
た。
According to the present invention, it becomes possible to easily generate a test vector after design change.

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

【図1】本発明によるテストベクトル生成方法の一例の
説明図である。
FIG. 1 is an explanatory diagram of an example of a test vector generation method according to the present invention.

【図2】その説明のための図である。FIG. 2 is a diagram for explaining the explanation.

【図3】回路設計の流れ図である。FIG. 3 is a flow chart of circuit design.

【図4】従来のテストベクトル生成方法の説明図であ
る。
FIG. 4 is an explanatory diagram of a conventional test vector generation method.

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

1 設計仕様 2 理論値演算部 3 理論的仕様 4 ハードウェア仕様処理部 5 ハードウェア的仕様 6 テストベクトル生成部 7 テストベクトル 1 Design Specification 2 Theoretical Value Calculation Section 3 Theoretical Specification 4 Hardware Specification Processing Section 5 Hardware Specification 6 Test Vector Generation Section 7 Test Vector

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 回路の理論的な機能に応じて決まる理論
的仕様の第1の演算過程と、上記回路のハードウェア的
な機能に応じて決まるハードウェア的仕様の第2の演算
過程とを互いに独立に設け、これらの第1及び第2の演
算過程で得られた結果を合成して上記回路のテストベク
トルを生成するようにしたテストベクトル生成方法。
1. A first calculation process of a theoretical specification determined according to a theoretical function of a circuit and a second calculation process of a hardware specification determined according to a hardware function of the circuit. A test vector generating method, which is provided independently of each other and combines the results obtained in the first and second operation steps to generate a test vector for the circuit.
JP4101261A 1992-04-21 1992-04-21 Method for forming test vector Pending JPH05298388A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4101261A JPH05298388A (en) 1992-04-21 1992-04-21 Method for forming test vector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4101261A JPH05298388A (en) 1992-04-21 1992-04-21 Method for forming test vector

Publications (1)

Publication Number Publication Date
JPH05298388A true JPH05298388A (en) 1993-11-12

Family

ID=14295975

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4101261A Pending JPH05298388A (en) 1992-04-21 1992-04-21 Method for forming test vector

Country Status (1)

Country Link
JP (1) JPH05298388A (en)

Similar Documents

Publication Publication Date Title
JPH05298388A (en) Method for forming test vector
GB2149602A (en) Aperiodic waveform generation by nonrecyclically reading lower frequency audio samples and recyclically reading higher frequency audio samples
US6216260B1 (en) Method for automatic synthesis of a digital circuit employing an algorithm flowchart
JP2953431B2 (en) High-level synthesis device and recording medium thereof
JPH10187767A (en) Parameterized hdl describing method, logic synthesizer, and medium recording logic synthesizing program
JPH08330914A (en) Waveform generator
JP2581806B2 (en) How to modify the path trace file
JPH0721031A (en) Language processing method
JP3097081B2 (en) Variable stage m-sequence code generator
JP2874031B2 (en) Redesign method of combinational circuit
JP2000339172A (en) Method for making memory efficient
JPH05314212A (en) Circuit information correction system
JPH06332719A (en) Compiler code generating device
JPH10171845A (en) High order composing method
JPH0620003A (en) Logical synthesization method
JPH06236264A (en) Load module generating system
JPH0887418A (en) Program convesion system
JPH05119969A (en) Product sum computing element
JPH05204699A (en) Identifier searching system at debugging
JPH0635983A (en) Circuit diagram generation systme
JPS633336A (en) System production system
JPH0535532A (en) Test data generator system
JPH08292924A (en) Ip address setting method for client side pc
JPH04330526A (en) Relocatable assembler
JPH09251472A (en) Method and device for synthesizing logic circuit