JPS61284676A - Logical value comparison and decision circuit - Google Patents

Logical value comparison and decision circuit

Info

Publication number
JPS61284676A
JPS61284676A JP60126319A JP12631985A JPS61284676A JP S61284676 A JPS61284676 A JP S61284676A JP 60126319 A JP60126319 A JP 60126319A JP 12631985 A JP12631985 A JP 12631985A JP S61284676 A JPS61284676 A JP S61284676A
Authority
JP
Japan
Prior art keywords
data
circuit
clock
basic
output
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
JP60126319A
Other languages
Japanese (ja)
Inventor
Ritsuro Orihashi
律郎 折橋
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP60126319A priority Critical patent/JPS61284676A/en
Publication of JPS61284676A publication Critical patent/JPS61284676A/en
Pending legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

PURPOSE:To set a decision strobe over plural basic periods by holding expected value data and control data for comparative decision making over plural basic periods and outputting the held data according to the time series order of the decision strobe. CONSTITUTION:A basic period clock 120 is converted by a clock control circuit 101 into a clock having a period which is the integer multiple of a basic period and inputted to a data holding circuit 102 from OR gates 107-110; and the control and expected value data 130 and 129 are held for two basic periods and outputted from the circuit 102 to multiplexers 115 or 116 alternately in input order with a time difference. A data selective output circuit 103 sets the decision strobe for two basic periods to output data having a number coincident with the input number of the clock 120 from the multiplexer 115 or 116 and outputs a number specified when the decision strobe signal is supplied to a comparative decision part 104; and data 139 and 140 based upon a delay strobe signal 143 are compared with the output value 141 of a logic circuit to be tested to make a comparison and decision for two basic periods.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は論理回路に用いる論理値比較判定回路に係り、
特に、被試験論理回路からの出力と期待値を比較判定す
るための論理値比較判定回路に関する。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a logic value comparison and determination circuit used in a logic circuit,
In particular, the present invention relates to a logic value comparison/determination circuit for comparing and determining an output from a logic circuit under test and an expected value.

〔発明の背景〕[Background of the invention]

従来のこの種の装置は、特開昭57−20674号に記
載(特にその第8図)の様に、複数個の比較判定回路を
備え、判定ストローブを1基本周期内に設定し複数個の
被試験論理回路を試験するものが知られている。しかし
、論理回路の試験装置にあっては1判定ストローブを2
基本周期以上にわたって設定することが必要な場合があ
り、従来装置においては、この点について全く配慮がな
されていなかった。
A conventional device of this kind is equipped with a plurality of comparison/judgment circuits, as described in Japanese Patent Application Laid-open No. 57-20674 (in particular, FIG. There are known devices that test logic circuits under test. However, in logic circuit test equipment, 1 judgment strobe is replaced by 2 strobes.
There are cases where it is necessary to set the period over a period longer than the basic period, and in conventional devices, no consideration was given to this point at all.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、比較判定のタイミングを与える判定ス
トローブを複数の基本周期にわたって設定できるように
した論理値比較判定回路を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a logic value comparison/judgment circuit that can set a decision strobe that provides timing for comparison/judgment over a plurality of basic cycles.

〔発明の概要〕[Summary of the invention]

本発明は、比較判定に用いる期待値データと制御データ
を判定ストローブの設定される時間範囲まで保持し、判
定ストローブの数に応じて時系列的に切り換えて出力す
ることにより1判定ストローブの時系列順序に対応した
期待値データ及び制御データを使用して比較判定を行な
うようにしたものである。
The present invention maintains the expected value data and control data used for comparison judgment up to the time range in which the judgment strobe is set, and outputs them in time series according to the number of judgment strobes. Comparison and judgment are performed using expected value data and control data corresponding to the order.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を第1図のブロック図、第2図
のタイムチャートを用いて説明する。第1図は、本実施
例のブロック図であり、クロック制御回路lot、デー
タ保持回路102、データ選択出力回路103、比較判
定部104より構成される。以下、説明の便宜上、2周
期にわたって判定ストローブが設定される場合について
説明する。
Hereinafter, one embodiment of the present invention will be described using the block diagram of FIG. 1 and the time chart of FIG. 2. FIG. 1 is a block diagram of this embodiment, which is composed of a clock control circuit lot, a data holding circuit 102, a data selection output circuit 103, and a comparison/judgment section 104. Hereinafter, for convenience of explanation, a case will be described in which the determination strobe is set over two periods.

クロック制御回路101は、第2図Aに示す基本周期ク
ロック120、初期値設定信号121が入力され。
The clock control circuit 101 receives a basic cycle clock 120 and an initial value setting signal 121 shown in FIG. 2A.

例えば、1ビツトのカウンタ105.デコーダ106及
びオアゲート107〜110により構成される。カウン
タ105は、初期値設定信号121によりカウント開始
時に初期値設定され、基本周期クロック120によりカ
ウントアツプする。この時カウンタ101の並列出力1
22は、第2図Cに示す様に基本周期毎に2つの異なる
論理値(論理“1″と論理“0″)を出力し、この並列
出力をデコーダ106によりデコードして、デコーダ出
力123及び124により、基本周期クロック120(
第2図A)を、ゲート108,110を通過させるか、
或いはゲート107.109を通過させるか制御する。
For example, a 1-bit counter 105. It is composed of a decoder 106 and OR gates 107 to 110. The counter 105 is set to an initial value at the start of counting by an initial value setting signal 121, and counts up by a basic cycle clock 120. At this time, parallel output 1 of counter 101
22 outputs two different logic values (logic "1" and logic "0") for each basic cycle as shown in FIG. 124, the basic period clock 120 (
2A) through the gates 108 and 110, or
Alternatively, it controls whether or not it passes through gates 107 and 109.

従って、クロック制御回路101の出力125からは、
第2図Gに示す基本周期クロック120の2周期分を周
期とするデータ保持クロックが出力され、出力126か
らは、第2図Fに示す様な上記データ保持クロックより
1基本周期だけ位相の異なるクロックが出力される。尚
、出力127及び128より出力されるクロックは、各
々、出力125及び126より出力されるデータ保持ク
ロックと同相である。
Therefore, from the output 125 of the clock control circuit 101,
A data holding clock having a period equal to two periods of the basic period clock 120 shown in FIG. Clock is output. Note that the clocks output from outputs 127 and 128 are in phase with the data holding clocks output from outputs 125 and 126, respectively.

データ保持回路102は、例えば、4つのD型フリップ
プロップ(t)−FF) 111〜114により構成さ
れ、被試験論理回路よりの応答と比較判定するための期
待値データ129、数ビットの制御データ130、及び
上記期待値データ129を保持するための上記データ保
持クロック125〜128が入力される。
The data holding circuit 102 is composed of, for example, four D-type flip-flops (t)-FF) 111 to 114, and includes expected value data 129 and several bits of control data for comparison and judgment with the response from the logic circuit under test. 130 and the data holding clocks 125 to 128 for holding the expected value data 129 are input.

期待値データ、制御データは、第2図Bに示す様に、基
本周期毎に供給されるものでありデータ保持回路102
では、データ保持クロック125〜128により、第2
図H1iに示す様に上記期待値データ129、制御デー
タ130を2基本周期にわたり保持し。
Expected value data and control data are supplied every basic cycle, as shown in FIG. 2B, and are supplied to the data holding circuit 102.
Then, the data holding clocks 125 to 128 cause the second
As shown in FIG. H1i, the expected value data 129 and control data 130 are held for two basic periods.

出力131〜134を通じてデータ選択出力回路103
へ供給する。
Data selection output circuit 103 through outputs 131 to 134
supply to

データ選択出力回路103は、例えば2人力1出力のマ
ルチプレクサ115,116.1ビツトカウンタ119
、及びデコーダ118より構成される。上記カウンタ1
19は、第2図Jに示す様な判定ストローブが端子13
5より入力される。判定ストローブ(第2図J)におい
て、第N番目及び第N+1番目の判定ストローブは、夫
々、第N周期内及び第N+1周期内に設定されているが
、第N+2番目及び第N+3番目の判定ストローブは、
夫々、第N+3周期内及び第N+4周期内に設定され、
その設定範囲が2基本周期にわたっている。上記カウン
タ119は、上記判定ストローブをカウントし、第2図
Kに示す様にその並列出力137にカウント数に対応し
た論理値を出力する。尚、カウンタが1ビツトの場合に
限り、(従ってストローブ設定範囲が2基本周期内の場
合に限り)デコーダ118は不要であり、並列出力信号
137及びマルチプレクサ選択信号138は一致するが
、説明の便宜上、第1図にはデコーダ118を設けた。
The data selection output circuit 103 includes, for example, a multiplexer 115, 116.
, and a decoder 118. Above counter 1
19, a determination strobe as shown in FIG. 2 J is connected to the terminal 13.
It is input from 5. In the determination strobe (FIG. 2 J), the N-th and N+1-th determination strobes are set within the N-th cycle and the N+1-th cycle, respectively, but the N+2-th and N+3-th determination strobes teeth,
are set within the N+3th period and within the N+4th period, respectively,
The setting range spans two fundamental periods. The counter 119 counts the determination strobes and outputs a logical value corresponding to the count number to its parallel output 137, as shown in FIG. 2K. Note that the decoder 118 is unnecessary only when the counter is 1 bit (therefore, only when the strobe setting range is within 2 basic periods), and the parallel output signal 137 and multiplexer selection signal 138 match, but for convenience of explanation, , a decoder 118 is provided in FIG.

マルチプレクサ115゜116は、上記マルチプレクサ
選択信号138(第2図K)により、データ保持回路1
02より供給される期待値データ131.132及び制
御データ133,134(第2図H,i)を、第2図り
に示す様に出力端子139,140を通じて、選択的に
出力し比較判定部104へ供給する。比較判定部104
は判定ストローブを遅延回路117により、遅延させた
第2図Mに示すストローブが供給され、上記期待値デー
タ139(第2図L)と被試験論理回路からの出力14
1より供給される出力値との比較判定を行ない、その結
果を比較判定出力142を通じて出力する。ここで、遅
延回路117の遅延時間To(第2図)は、ストローブ
J(第2図)がデータ選択出力回路103に入力され、
ストローブJに対応した期待値データLが出力されるま
での時間T(第2図)より長ければよい。
The multiplexers 115 and 116 select the data holding circuit 1 by the multiplexer selection signal 138 (K in FIG. 2).
Expected value data 131, 132 and control data 133, 134 (H, i in FIG. 2) supplied from 02 are selectively outputted through output terminals 139, 140 as shown in FIG. supply to Comparison/judgment section 104
The strobe shown in FIG. 2M, which is a delayed judgment strobe, is supplied by the delay circuit 117, and the expected value data 139 (FIG. 2L) and the output 14 from the logic circuit under test are
A comparison judgment is made with the output value supplied from 1, and the result is outputted through a comparison judgment output 142. Here, the delay time To (FIG. 2) of the delay circuit 117 is determined when the strobe J (FIG. 2) is input to the data selection output circuit 103.
It is sufficient that it is longer than the time T (FIG. 2) until the expected value data L corresponding to the strobe J is output.

以上の構成において、基本周期クロックは、クロック制
御回路101によって基本周期の任意の整数倍の周期を
持つクロックに変換されてオアゲート107〜110の
各々より出力される。これらクロックはデータ保持回路
102のD−FFIII〜114へ入力され、制御デー
タ130及び期待値データ129を保持するために用い
られる。ここで1期待値データ129及び制御データ1
30は2基本周期の間保持されたのち、期待値データ1
29の入力順に時間差をおいてD−FFIII〜114
より順番かつ交互にマルチプレクサ115または116
へ出力される。データ選択出力回路103は、N+k 
(但し、に=2.3.4・・・)を2基本周期に亘って
設定し、マルチプレクサ115.116より基本周期ク
ロック120の入力番号に一致する番号のデータを出力
すると共に、判定ストローブ信号が与えられた時点では
、指定された番号のデータを出力する。これらの信号を
受けた比較判定部104は、遅延させたストローブ信号
143に基づいてデータ139及び140と被試験論理
回路よりの出力値141とを比較判定する。
In the above configuration, the basic period clock is converted by the clock control circuit 101 into a clock having a period that is an arbitrary integral multiple of the basic period, and is output from each of the OR gates 107 to 110. These clocks are input to D-FFIII-114 of the data holding circuit 102 and are used to hold control data 130 and expected value data 129. Here, 1 expected value data 129 and control data 1
30 is held for two fundamental periods, and then the expected value data 1
D-FFIII to 114 with a time difference in the input order of 29
more sequentially and alternately multiplexer 115 or 116
Output to. The data selection output circuit 103 has N+k
(However, 2, 3, 4...) is set over two basic periods, and the multiplexers 115 and 116 output data with a number that matches the input number of the basic period clock 120, and the judgment strobe signal When given, outputs the data of the specified number. Comparing and determining section 104 receiving these signals compares and determines data 139 and 140 and output value 141 from the logic circuit under test based on delayed strobe signal 143 .

以上の説明より明らかなように、本実施例によれば、第
N+2番目の判定ストローブの様に、2基本周期にわた
ってストローブが設定される場合にも、第N+2番目の
ストローブに対応した第N+2周期の期待値データ、制
御データを供給でき。
As is clear from the above explanation, according to this embodiment, even when the strobe is set over two basic periods, such as the N+2th determination strobe, the N+2nd period corresponding to the N+2nd strobe can be set. Expected value data and control data can be supplied.

2基本周期にわたる比較判定が可能である。Comparative judgment over two fundamental periods is possible.

以上の説明では、判定ストローブが2基本周期内に設定
される場合であるが、m基本周期内(m≧2の整数)で
ストローブ設定を行なう場合には、カウンタのビット数
K (Kはに≧QOg、mを満たす整数)を適切な値に
設定し、データ保持回数lO2内のD−FFを、クロッ
ク制御回路101から出力されるクロック信号数に応じ
て追加すればよい。
In the above explanation, the determination strobe is set within 2 basic periods, but when the strobe is set within m basic periods (m ≥ 2 integer), the number of bits of the counter is K (K is ≧QOg, an integer that satisfies m) may be set to an appropriate value, and D-FFs within the number of data retention times lO2 may be added in accordance with the number of clock signals output from the clock control circuit 101.

〔発明の効果〕〔Effect of the invention〕

以上より明らかなように、本発明によれば、基本周期毎
に供給され、比較判定の際に使用する期待値データ及び
制御データを、複数の基本周期にわたり保持することが
可能で、前記保持データを判定ストローブの時系列順序
に応じて出力することができるので、判定ストローブの
設定を1基本周期内だけでなく、任意の複数基本周期内
に行なうことが可能である。
As is clear from the above, according to the present invention, it is possible to hold expected value data and control data that are supplied every basic cycle and are used in comparison and judgment over a plurality of basic cycles, and the held data can be output in accordance with the chronological order of the determination strobes, so the determination strobes can be set not only within one basic period but also within any plurality of basic periods.

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

第1図は本発明の一実施例を示すブロック図、第2図は
第1図の実施例の各部のタイムチャートである。 101・・・クロック制御回路、102・・・データ保
持回路、103・・・データ選択出力回路、 104・
・・比較判定部、105.119・・・カウンタ、10
6,118・・・デコーダ、107゜108.109,
110・・・オアゲー゛ト、111〜114・・・D型
フリップフロップ、115,116・・・マルチプレク
サ、117・・・遅延回路6
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 is a time chart of each part of the embodiment of FIG. 101... Clock control circuit, 102... Data holding circuit, 103... Data selection output circuit, 104.
... Comparison and judgment section, 105.119 ... Counter, 10
6,118...Decoder, 107°108.109,
110... OR gate, 111-114... D-type flip-flop, 115, 116... Multiplexer, 117... Delay circuit 6

Claims (1)

【特許請求の範囲】[Claims] 被試験論理回路の出力値と期待値データを比較判定する
論理値比較判定回路において、一定周期の基本クロック
をその周期の整数倍の周期を有するクロックに変換する
クロック制御回路と、該回路より出力されるクロックに
基づいて入力論理データを前記基本クロックの整数倍の
時間を保持して出力するデータ保持回路と、該回路より
出力されるデータを設定されたストローブ信号の時間的
な順序に対応して選択的に出力するデータ選択出力回路
と、該回路より出力されるデータと被試験論理回路より
の出力値との比較判定を前記ストローブ信号に基づいて
行なう比較判定部を具備することを特徴とする論理値比
較判定回路。
A logic value comparison/judgment circuit that compares and judges the output value of the logic circuit under test and expected value data, includes a clock control circuit that converts a basic clock with a constant period into a clock that has a period that is an integral multiple of that period, and an output from the circuit. a data holding circuit that holds and outputs input logic data for a time that is an integer multiple of the basic clock based on a clock provided by the basic clock; and a data holding circuit that holds and outputs input logic data for a time that is an integral multiple of the basic clock; The present invention is characterized by comprising a data selection output circuit that selectively outputs data, and a comparison/judgment section that makes a comparison/judgment between the data outputted from the circuit and the output value of the logic circuit under test based on the strobe signal. A logical value comparison judgment circuit.
JP60126319A 1985-06-12 1985-06-12 Logical value comparison and decision circuit Pending JPS61284676A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60126319A JPS61284676A (en) 1985-06-12 1985-06-12 Logical value comparison and decision circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60126319A JPS61284676A (en) 1985-06-12 1985-06-12 Logical value comparison and decision circuit

Publications (1)

Publication Number Publication Date
JPS61284676A true JPS61284676A (en) 1986-12-15

Family

ID=14932243

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60126319A Pending JPS61284676A (en) 1985-06-12 1985-06-12 Logical value comparison and decision circuit

Country Status (1)

Country Link
JP (1) JPS61284676A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01138477A (en) * 1987-11-24 1989-05-31 Advantest Corp Circuit testing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01138477A (en) * 1987-11-24 1989-05-31 Advantest Corp Circuit testing device

Similar Documents

Publication Publication Date Title
US4264807A (en) Counter including two 2 bit counter segments connected in cascade each counting in Gray code
KR880009381A (en) Semiconductor integrated circuit device
US4025768A (en) Method and apparatus for testing and diagnosing data processing circuitry
JPS6037961U (en) Digital binary group calling circuit device
JPS61284676A (en) Logical value comparison and decision circuit
US7973584B2 (en) Waveform generator
JPH083514B2 (en) Counter test equipment
JP2885126B2 (en) Input test circuit
JPS6273171A (en) Logical waveform forming circuit
SU997038A1 (en) Device for parity check of parallel code
SU970367A1 (en) Microprogram control device
JP2821363B2 (en) Semiconductor integrated circuit
SU674102A1 (en) Associative storage
SU853814A1 (en) Device for monitoring pulse distributor
JP3514020B2 (en) Rate generator
JPS6093560A (en) Multimode testing circuit
JPH0422220A (en) Synchronous output circuit
JPS63279632A (en) Coincidence detection circuit
JPH0454726A (en) 1/n frequency dividing circuit
JPH0744417A (en) Test circuit for microcomputer
JPH04339416A (en) Counter testing circuit
JPH05236026A (en) Digital signal monitor circuit
JPS6282820A (en) Comparator circuit
JPH0766035B2 (en) Semiconductor integrated circuit
JPH0710042B2 (en) Timing signal generator