JPH0376314A - Counter test method - Google Patents
Counter test methodInfo
- Publication number
- JPH0376314A JPH0376314A JP1211750A JP21175089A JPH0376314A JP H0376314 A JPH0376314 A JP H0376314A JP 1211750 A JP1211750 A JP 1211750A JP 21175089 A JP21175089 A JP 21175089A JP H0376314 A JPH0376314 A JP H0376314A
- Authority
- JP
- Japan
- Prior art keywords
- counter
- test
- clock
- counters
- carry
- 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
Links
- 238000010998 test method Methods 0.000 title claims description 8
- 230000001360 synchronised effect Effects 0.000 claims description 9
- 238000012360 testing method Methods 0.000 abstract description 36
- 238000000034 method Methods 0.000 abstract description 5
- 230000000694 effects Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 241000208202 Linaceae Species 0.000 description 2
- 235000004431 Linum usitatissimum Nutrition 0.000 description 2
- 238000003491 array Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 2
- 238000004088 simulation Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 1
Landscapes
- Tests Of Electronic Circuits (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
【発明の詳細な説明】
〈産業上の利用分野〉
本発明は、ゲートアレイの同期式カウンタのテスト方法
に関し、特にテス)・時の最大動作周波数低下の改善に
関する。DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to a method for testing a synchronous counter of a gate array, and more particularly to improving the maximum operating frequency drop during testing.
〈従来の技術〉
クロック同期式カウンタの動作チェック、いわゆるカウ
ンタのテストでは、すべての出力状態のテストパターン
を用意して、出力状態がそのパターンに一致するかどう
かをチェックする。N段のバイナリカウンタであればそ
の出力状態の数は2N通りとなる。<Prior Art> In checking the operation of a clock synchronous counter, so-called counter testing, a test pattern for all output states is prepared and it is checked whether the output states match the pattern. In the case of an N-stage binary counter, the number of output states is 2N.
〈発明が解決しようとする課題〉
第3図に示すような12段のカウンタであれば、出力状
態は4096通りであり、テスト用回路にこれらすべて
に対するテストパターンを用意するとなると、その回路
構成は大がかりとなり高価にもなる。<Problems to be Solved by the Invention> In the case of a 12-stage counter as shown in Figure 3, there are 4096 output states, and if test patterns for all of these are prepared in the test circuit, the circuit configuration is It will be large-scale and expensive.
そのため、通常はN段のカウンタを細分化し、各段ごと
にテストを行なうようにする。この方式であればテスト
パターンは少なくなり、テスト回路は安価になる。Therefore, normally the N-stage counter is subdivided and a test is performed for each stage. This method reduces the number of test patterns and reduces the cost of the test circuit.
そこで、従来より第3図に示すようなテスト回路が用い
られてきた。この場合は12ビツト(4ビツト×3)の
減算カウンタである。1,2.3はクロック同期式のバ
イナリ減算カウンタで、各カウンタはリセット信号を受
けるリセット端子R3T、クロックを受けるタロツク端
子CLK、キャリーイン端子CIN’−キャリーアウト
端子C0UT、プリセット入力端子りそしてカウント値
を出力する出力端子Q(図では4つの出力端子Q。、Q
l。Therefore, a test circuit as shown in FIG. 3 has conventionally been used. In this case, it is a 12-bit (4 bits x 3) subtraction counter. 1, 2.3 are clock synchronous binary subtraction counters, and each counter has a reset terminal R3T that receives a reset signal, a tarlock terminal CLK that receives a clock, a carry-in terminal CIN'-carry-out terminal C0UT, a preset input terminal, and a count terminal. Output terminal Q that outputs a value (four output terminals Q in the figure), Q
l.
Q、Q3)を有する。なお、図では、テスト時に必要な
最小限度の信号および入力端子についてのみ示し、テス
ト時以外の通常のカウント動作時に必要な信号や入力端
子については図示を省略しである。Q, Q3). In the figure, only the minimum signals and input terminals necessary for testing are shown, and signals and input terminals necessary for normal counting operations other than testing are omitted.
各カウンタは、カウント値が零になるとキャリーアウト
を出力し、そのとき上位のカウンタは1だけ減算される
ようになっている。Each counter outputs a carry-out when the count value becomes zero, and at that time, the upper counter is decremented by 1.
各カウンタには、オアゲート4 (5,6)を介して本
来のクロックcLKoとテストクロック1(テストクロ
ック2.テストクロック3)のいずれかが入力されるよ
うになっている。Either the original clock cLKo or the test clock 1 (test clock 2, test clock 3) is input to each counter via the OR gate 4 (5, 6).
シミュレーシシン時はテスト用クロック1〜3を独立に
制御して入力し、対象のカウンタにのみクロックを与え
る。During simulation, test clocks 1 to 3 are independently controlled and input, and the clock is applied only to the target counter.
しかしながら、このようなテスト方式では、テスト用ク
ロックの通過するオアゲート4〜6が必要となり、この
オアゲートの伝搬遅延時間1゛9.のスキューにより、
動作時のカウンタの最高動作周波数fIlaXが低下す
るという問題があった。However, such a test method requires OR gates 4 to 6 through which the test clock passes, and the propagation delay time of these OR gates is 1.9. Due to the skew of
There is a problem in that the maximum operating frequency fIlaX of the counter during operation is reduced.
本発明の目的は、このような点に鑑みてなされたもので
、ゲートアレイのカウンタ回路においてテスト用ロジッ
クパターンを作成する場合にテスト用パターン数が少な
くてすみ、しがちテスト時の最大動作周波数が低下しな
いようなカウンタテスト方法を提供することにある。The object of the present invention has been made in view of the above points, and is to reduce the number of test patterns when creating test logic patterns in a gate array counter circuit, and to reduce the maximum operating frequency during testing. The object of the present invention is to provide a counter test method that does not cause the counter to drop.
く課題を解決するための手段〉
このような目的を達成するために本発明では、まず、多
段のクロック同期式カウンタのそれぞれにL OWレベ
ルのリセット信号を与え、各カウンタのすべての出力お
よびキャリーアウトがクロック入力やキャリーイン信号
の状態にかかわらずLOWレベルになることを確認する
。Means for Solving the Problems> In order to achieve such an object, the present invention first applies a low level reset signal to each of the multi-stage clock synchronous counters, and resets all outputs and carries of each counter. Check that OUT is at LOW level regardless of the state of the clock input or carry-in signal.
次に、2段目以降のテスト対象カウンタについては、そ
のカウンタの前段のカウンタに与えるリセット信号とク
ロックを制御してテスト対象カウンタのキャリーインを
HIGHまたはLOWレベルにし、前記前段のカウンタ
以外に与えるリセット信号はすべてHIGHレベルとし
た状態で、テスト対象カウンタの出力のすべての場合に
ついてホールド時とカウント時における各出力値をそれ
ぞれチェックする。Next, for the counters to be tested in the second and subsequent stages, the reset signal and clock given to the counters in the previous stage of the counters are controlled to set the carry-in of the counters to be tested to HIGH or LOW level, and the carry-in is set to the HIGH or LOW level, and the signal is applied to counters other than the counters in the previous stage. With all reset signals set to HIGH level, each output value during hold and count is checked for all outputs of the counter to be tested.
〈作用〉
本発明は、多段のクロック同期式カウンタを細分化して
テストする点では従来と同様であるが、カウンタに与え
るリセット信号およびキャリーイン信号をそれぞれM御
することによりテストする点で従来のテスト方法とは異
なる。<Operation> The present invention is similar to the conventional method in that a multi-stage clock synchronous counter is subdivided and tested, but is different from the conventional method in that the test is performed by controlling M each of the reset signal and carry-in signal given to the counter. The test method is different.
各カウンタは、クロック、リセット信号およびキャリー
イン信号に応じて出力およびキャリーアウトが変わるこ
とがら、テスト対象カウンタごとにクロック、リセット
信号およびキャリーイン信号を制御してテストする。Since the output and carry-out of each counter change depending on the clock, reset signal, and carry-in signal, the clock, reset signal, and carry-in signal are controlled and tested for each counter to be tested.
キャリーイン信号の制御は、テスト対象カウンタの前段
のカウンタに与えるリセット信号とりロックにより制御
することができる。The carry-in signal can be controlled by locking a reset signal given to the counter at the previous stage of the counter to be tested.
〈実施例〉
第1図は本発明の方法を実施する場合の対象とする12
ビツトカウンタの接続例である。各カウンタはダイレク
トリセット付同期式減算カウンタであり、リセット信号
は個別に、しかしながらクロックは共通に与えることが
できるようになっている。<Example> Figure 1 shows 12 objects to be used when implementing the method of the present invention.
This is an example of a bit counter connection. Each counter is a synchronous subtraction counter with direct reset, and the reset signal can be applied individually, but the clock can be applied in common.
また、各カウンタの真理値は次表の通りである。The truth values of each counter are shown in the table below.
〈5行空白)
第 1
表
明する。なお、第2図はテストのフローを示す図である
。(5 blank lines) 1st Assert. Note that FIG. 2 is a diagram showing the flow of the test.
まず第1表の第1項目のテストでは、リセット1〜3を
LOWレベルにし、出力Qo〜Q3およびキャリーアウ
トC0UTがクロック入力やキャリーインCINにかか
わらずLOWとなることを確認する。First, in the test for the first item in Table 1, resets 1 to 3 are set to LOW level, and it is confirmed that outputs Qo to Q3 and carry-out C0UT are LOW regardless of the clock input or carry-in CIN.
第1表の第2項目および第3項目のテストでは、リセッ
ト信号をHIGHレベルとし、キャリーインC1,4入
力端子をカウンタごとに制御し、出力Q −Q3のすべ
ての場合(16通り)について、ホールドとカウントを
チェックする。In the tests for the second and third items in Table 1, the reset signal is set to HIGH level, the carry-in C1 and C4 input terminals are controlled for each counter, and for all cases (16 ways) of output Q - Q3, Check holds and counts.
カウンタ1のキャリーインCINの制御は外部信号によ
り行なう、カウンタ2のCINはカウンタ1のC0UT
であるから、リセッ1〜1とクロックによって制御でき
る。The carry-in CIN of counter 1 is controlled by an external signal, and the CIN of counter 2 is controlled by the C0UT of counter 1.
Therefore, it can be controlled by resets 1 to 1 and a clock.
カウンタ3についても同様にしてカウンタ2のC0UT
をリセット2とクロックによ−)て制御し。Similarly for counter 3, C0UT of counter 2
is controlled by reset 2 and the clock.
出力のホールドとカウントをチェックする。Check output hold and count.
第1図のような12ビツトカウンタでは、出力が12ビ
ツトの1頓列で4096通りあるが、分割して各カウン
タの出力4ピッ1−ごとにテストすると、テストパター
ンは16X3=48通りで済む。In a 12-bit counter as shown in Figure 1, there are 4096 outputs in a single row of 12 bits, but if you divide the output and test each 4-bit output of each counter, you will only need 16 x 3 = 48 test patterns. .
この同期カウンタの動作限界周期flaXは、カウンタ
の伝m遅延時間(クロック入力よりキャリーアウトC出
力までの遅延時間)を1゛、d、セUT
ットアップ時間(キャリーインCIN入力よりクロック
入力までの必要時間)を1゛31、クロックのスキュー
(カウンタ1〜3の間のクロック入力の時間差)をTs
kevとすると、
f =1/(T、d+’T”SU+73k。、)曙
ax
となる。The operating limit period flaX of this synchronous counter is 1゛, d, the setup time (required time from carry-in CIN input to clock input) of the counter (delay time from clock input to carry-out C output). time) is 1゛31, and the clock skew (time difference of clock input between counters 1 to 3) is Ts.
kev, then f = 1/(T, d+'T''SU+73k.,) Akebono ax.
従来例では、”skewはオアゲートのばらつきによっ
て発生し、flaXに影響を与えていたが、本発明では
ゲートアレイ内の配線長だけの影響となりTsk。を小
さく抑えることができ、結果としてf を向上させる
ことができる。In the conventional example, skew was caused by variations in the OR gate and affected flaX, but in the present invention, it is only affected by the wiring length in the gate array, and Tsk can be kept small, resulting in an improvement in f. can be done.
aX
また、シミュレーション完了後、製造されたゲートアレ
イの実動作試験を行なう場合、従来のゲートアレイでは
ダイナミックに動作するクロックおよびテスト用のクロ
ック1〜3を入力するための周辺回路が美大となるおそ
れがあったが、本発明ではリセット1〜3はスタティッ
ク信号であり周辺回路の規模も小さくて済む。aX Also, when performing actual operation tests on the manufactured gate array after the simulation is completed, in conventional gate arrays, the peripheral circuits for inputting dynamically operating clocks and test clocks 1 to 3 are required. However, in the present invention, resets 1 to 3 are static signals, and the scale of the peripheral circuits can be reduced.
なお、本発明のテスト方法は、同期式バイナリ減算カウ
ンタに限らず、加算カウンタの場合でもリセット信号の
代わりにセット信号またはロード信号を用いれば同様に
適用できる。The test method of the present invention is not limited to synchronous binary subtraction counters, but can be similarly applied to addition counters by using a set signal or a load signal instead of a reset signal.
また、バイナリに限らず、10進、16進等のカウンタ
にも応用可能である。Moreover, it is applicable not only to binary counters but also to decimal, hexadecimal, etc. counters.
さらに、対象はゲートアレイに限定されるものでもない
。Furthermore, the target is not limited to gate arrays.
〈発明の効果〉
以上詳細に説明したように、本発明によれば、多段構成
のカウンタを細分化し、各カウンタのリセット端子をカ
ウンタごとに制御するようにしたため、従来のカウンタ
テスト方法よりも高速動作が可能となる。<Effects of the Invention> As described in detail above, according to the present invention, a multi-stage counter is subdivided and the reset terminal of each counter is controlled for each counter, which is faster than the conventional counter test method. Operation becomes possible.
また、製造されたゲートアレイの実動作試験を行なう場
合、試験に必要な周辺回路の規模を大幅に削減できる効
果がある。Further, when performing an actual operation test on a manufactured gate array, the scale of peripheral circuits required for the test can be significantly reduced.
第1図は本発明に係るテスト方法を実施する場合の対象
とする12ビツトカウンタの接続倒閣、第2図は本発明
の方法の原理フロー、第3図は従来のテスト回路の一例
を示す図である。
1.2.3・・・バイナリカウンタ。
第
!
図
LOWレベル
第
図Fig. 1 shows the connection diagram of a 12-bit counter to be used when implementing the test method according to the present invention, Fig. 2 shows the principle flow of the method of the present invention, and Fig. 3 shows an example of a conventional test circuit. It is. 1.2.3...Binary counter. No.! Figure LOW level diagram
Claims (1)
ベルのリセット信号を与え、各カウンタのすべての出力
およびキャリーアウトがクロック入力やキャリーイン信
号の状態にかかわらずLOWレベルになることを確認し
、 次に、2段目以降のテスト対象カウンタについては、そ
のカウンタの前段のカウンタに与えるリセット信号とク
ロックを制御してテスト対象カウンタのキャリーインを
HIGHまたはLOWレベルにし、前記前段のカウンタ
以外に与えるリセット信号をすべてHIGHレベルとし
た状態で、テスト対象カウンタの出力のすべての場合に
ついてホールド時とカウント時の各出力値をそれぞれチ
ェックすることによりカウンタの動作状態をテストする
ようにしたことを特徴とするカウンタテスト方法。[Claims] A LOW level reset signal is applied to each of the multi-stage clock synchronous counters, and all outputs and carry-outs of each counter are set to the LOW level regardless of the state of the clock input or carry-in signal. Next, for the counters to be tested in the second and subsequent stages, the reset signal and clock given to the counters in the previous stage of the counters are controlled to set the carry-in of the counters to be tested to HIGH or LOW level, and the counters in the previous stage are The operating state of the counter is tested by checking each output value during hold and counting in all cases of the output of the counter to be tested, with all reset signals given to other devices set to HIGH level. A counter test method featuring:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1211750A JPH0376314A (en) | 1989-08-17 | 1989-08-17 | Counter test method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1211750A JPH0376314A (en) | 1989-08-17 | 1989-08-17 | Counter test method |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0376314A true JPH0376314A (en) | 1991-04-02 |
Family
ID=16610965
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1211750A Pending JPH0376314A (en) | 1989-08-17 | 1989-08-17 | Counter test method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0376314A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007189928A (en) * | 2006-01-18 | 2007-08-02 | Yotsuami:Kk | Line-winding spool |
US11413864B2 (en) * | 2019-02-06 | 2022-08-16 | Hewlett-Packard Development Company, L.P. | Die for a printhead |
-
1989
- 1989-08-17 JP JP1211750A patent/JPH0376314A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007189928A (en) * | 2006-01-18 | 2007-08-02 | Yotsuami:Kk | Line-winding spool |
JP4699220B2 (en) * | 2006-01-18 | 2011-06-08 | 有限会社よつあみ | Spool for spool |
US11413864B2 (en) * | 2019-02-06 | 2022-08-16 | Hewlett-Packard Development Company, L.P. | Die for a printhead |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US3992635A (en) | N scale counter | |
JPH07198799A (en) | High-speed test pattern generator | |
JPH0376314A (en) | Counter test method | |
US6504407B2 (en) | Programmable high speed frequency divider | |
US6556645B2 (en) | Multi-bit counter | |
Voyiatzis et al. | On the generation of SIC pairs in optimal time | |
JPH01220528A (en) | Parity generator | |
US4741005A (en) | Counter circuit having flip-flops for synchronizing carry signals between stages | |
JP3504316B2 (en) | Multi-bit counter | |
JPH03175720A (en) | Semiconductor integrated circuit | |
JP3349347B2 (en) | Programmable divider circuit | |
JP3236235B2 (en) | Toggle flip-flop | |
JP2664946B2 (en) | Logic circuit test pattern generator | |
JPS5986924A (en) | Counter device | |
JPH0818440A (en) | Parallelly operated high-speed counter | |
JPH02243020A (en) | Test equipment for multi-stage synchronous counter | |
JPH06112812A (en) | Binary counter | |
JPS62174827A (en) | Digital signal prioritizing circuit | |
JPH1013216A (en) | Counting device | |
JPS62151777A (en) | Algorithmic pattern generation circuit | |
JP2002162443A (en) | Counter test circuit and method, and semiconductor device | |
JPH03125981A (en) | Hazard detection circuit | |
JPH03104311A (en) | Pn pattern generating circuit | |
JPH03231173A (en) | Method for detecting hazard | |
JPS59128464A (en) | Test input circuit of semiconductor integrated circuit |