JPS6280570A - Testing circuit for counter - Google Patents

Testing circuit for counter

Info

Publication number
JPS6280570A
JPS6280570A JP60220667A JP22066785A JPS6280570A JP S6280570 A JPS6280570 A JP S6280570A JP 60220667 A JP60220667 A JP 60220667A JP 22066785 A JP22066785 A JP 22066785A JP S6280570 A JPS6280570 A JP S6280570A
Authority
JP
Japan
Prior art keywords
counter
logic
signal
output
clock
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
JP60220667A
Other languages
Japanese (ja)
Inventor
Yutaka Namito
波戸 裕
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 JP60220667A priority Critical patent/JPS6280570A/en
Publication of JPS6280570A publication Critical patent/JPS6280570A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten a test time by allowing a counter which counts a clock signal to hold an output signal which is set to logic '1' and loading it in the counter. CONSTITUTION:A counter testing circuit is provided with FFs 4 (40-43) as a holding means and also provided with a delay circuit 2 and a gate 3 as a loading means. Output signals (q) (q0-q3) of low-order (i) digits of the counter 1 are all set to logic '1' after (i) clock signals CK are inputted to the counter 1, so a clock signal CK consisting of pulses as many as the number of the digits of the counter 1 is only inputted to verify the counting function of the counter 1, thereby shortening its required test time.

Description

【発明の詳細な説明】 〔(既要〕 クロック信号を計数するカウンタが、論理“1”に設定
した出力信号を保持し、カウンタにロードすることによ
り、カウンタの計数機能の試験時間を短縮するものであ
る。
[Detailed description of the invention] [(Already required)] A counter that counts a clock signal holds an output signal set to logic "1" and loads it into the counter, thereby shortening the test time of the counting function of the counter. It is something.

〔産業上の利用分野〕[Industrial application field]

本発明はカウンタの計数機能を試験するカウンタ試験回
路の改良に関する。
The present invention relates to an improvement in a counter test circuit for testing the counting function of a counter.

カウンタは、ディジタル回路の最も基本的な単位回路と
して、広く使用されている。
Counters are widely used as the most basic unit circuit of digital circuits.

かかるカウンタの計数機能を、極力短時間で検証する手
段の実現が強(要望される。
There is a strong demand for a means to verify the counting function of such counters in the shortest possible time.

〔従来の技術〕[Conventional technology]

第4図は従来あるカウンタの試験方法の一例を示す図で
ある。
FIG. 4 is a diagram showing an example of a conventional counter testing method.

第4図において、4桁の2進カウンタlは、クロック端
子CPに入力される所定周期のクロック信号ckを計数
し、計数結果を2進表示する出力信号qO乃至q3を出
力端子00乃至03から出力する。
In FIG. 4, a 4-digit binary counter l counts clock signals ck of a predetermined period inputted to a clock terminal CP, and outputs output signals qO to q3 representing the counting results in binary form from output terminals 00 to 03. Output.

従ってカウンタ1の計数機能を検証する為には、例えば
クロック信号ckが1個入力された場合に出力信号qo
のみが確実に論理“0”から論理“1”に変化し、クロ
ック信号ckが2個入力された場合に出力信号q1のみ
が論理“0”から論理“1″に変化し、以下同様にして
クロック信号ckが8個入力された場合に出力信号q3
が論理“0”から論理“1”に変化することを確認する
ことにより、カウンタ1の計数機能を検証する。
Therefore, in order to verify the counting function of counter 1, for example, when one clock signal ck is input, the output signal qo
When only the output signal q1 changes from logic "0" to logic "1", and two clock signals ck are input, only the output signal q1 changes from logic "0" to logic "1", and so on. When 8 clock signals ck are input, the output signal q3
The counting function of counter 1 is verified by confirming that the value changes from logic "0" to logic "1".

〔発明が解決しようとする問題点3 以上の説明から明らかな如く、従来あるカウンタの試験
方法においては、試験対象とするカウンタのクロック端
子CPにクロック信号ckを入力し、出力端子00乃至
03から出力される出力信号qo乃至q3により計数機
能を検証していた。
[Problem to be Solved by the Invention 3] As is clear from the above explanation, in the conventional counter testing method, the clock signal ck is input to the clock terminal CP of the counter to be tested, and the clock signal ck is input from the output terminals 00 to 03. The counting function was verified by output signals qo to q3.

従って、例えば2進n桁のカウンタの計数機能を検証す
る為には、クロック信号ckを2 n−1個入力し、計
数させる必要があり、試験に多大の時間を要する問題点
があった。
Therefore, for example, in order to verify the counting function of a binary n-digit counter, it is necessary to input 2 n -1 clock signals ck and count them, which poses a problem in that the test requires a large amount of time.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理を示す図である。 FIG. 1 is a diagram showing the principle of the present invention.

第1図においては、りElツク信号ckを計数するカウ
ンタ1が、論理“1”に設定した出力信号qを保持する
保持手段100と、保持手段100が保持する出力信号
qをカウンタ1にロードするロード手段200とが設け
られている。
In FIG. 1, a counter 1 that counts the output signal ck is connected to a holding means 100 that holds an output signal q set to logic "1", and an output signal q held by the holding means 100 is loaded into the counter 1. Loading means 200 is provided to do so.

〔作用〕[Effect]

即ち本発明によれば、カウンタにi個のクロック信号c
kが入力された後には、カウンタの下1桁の出力信号q
は総て論理“1”に設定される為、カウンタの桁数に等
しいパルス数のクロック信号ckを入力するのみでカウ
ンタの計数機能が検証可能となり、試験所要時間が大幅
に短縮される。
That is, according to the present invention, the counter receives i clock signals c.
After k is input, the output signal q of the last digit of the counter
Since all are set to logic "1", the counting function of the counter can be verified by simply inputting the clock signal ck with the number of pulses equal to the number of digits of the counter, and the time required for testing can be significantly shortened.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第2図は本発明の一実施例によるカウンタ試験回路を示
す図であり、第3図は第2図における信号波形の一例を
示す図である。なお、全図を通じて同一符号は同一対象
物を示す。第2図においても、試験対象とするカウンタ
1は2進4桁とする。
FIG. 2 is a diagram showing a counter test circuit according to an embodiment of the present invention, and FIG. 3 is a diagram showing an example of the signal waveform in FIG. 2. Note that the same reference numerals indicate the same objects throughout the figures. In FIG. 2 as well, the counter 1 to be tested is a four-digit binary counter.

第2図においては、フリップフロップ40乃至43が保
持手段100として設けられ、また遅延回路2およびゲ
ート3がロード手段200として設けられている。
In FIG. 2, flip-flops 40 to 43 are provided as holding means 100, and delay circuit 2 and gate 3 are provided as loading means 200.

フリップフロップ40乃至43は、それぞれ出力端子O
O乃至03から出力される出力信号QO乃至q3を受信
し、保持信号ho乃至h3を出力してカウンタ1の入力
端子IO乃至I3に伝達する。
Flip-flops 40 to 43 each have an output terminal O.
It receives the output signals QO to q3 outputted from the counters O to 03, outputs the holding signals ho to h3, and transmits them to the input terminals IO to I3 of the counter 1.

一方遅延回路2は、カウンタ1のクロック端子CPに入
力されるクロック信号ckに所定の遅延時間′Fを与え
た後、ゲート3を経由してロード端子しにロード信号c
k’として入力する。
On the other hand, the delay circuit 2 applies a predetermined delay time 'F to the clock signal ck input to the clock terminal CP of the counter 1, and then sends the load signal c to the load terminal via the gate 3.
Input as k'.

カウンタ1の試験に先立ち、リセット信号rがカウンタ
1および各フリップフロップ40乃至43に入力され、
カウンタ1および各フリップフロップ40乃至43がリ
セットされる。
Prior to testing the counter 1, a reset signal r is input to the counter 1 and each flip-flop 40 to 43,
Counter 1 and each flip-flop 40-43 are reset.

その結果、カウンタ1の各出力端子00乃至03から出
力される出力信号qO乃至q3は論理“0”に設定され
、またフリップフロップ40乃至43が出力する保持信
号ho乃至h3も論理“0″に設定されている。
As a result, the output signals qO to q3 output from the output terminals 00 to 03 of the counter 1 are set to logic "0", and the holding signals ho to h3 output from the flip-flops 40 to 43 are also set to logic "0". It is set.

また試験中は、試験信号tが論理“1”に設定される。Also, during the test, the test signal t is set to logic "1".

その結果ゲート3は、試験中W通状態に設定される。As a result, gate 3 is set to the W pass state during the test.

かかる状態で、カウンタ1のクロック端子CPに第1の
クロック信号ckが入力されると、カウンタlは1を計
数し、出力信号qOを論理“0”から論理“1”に更新
する。その結果フリツプフロツプ40はセットされ、出
力する保持信号り。
In this state, when the first clock signal ck is input to the clock terminal CP of the counter 1, the counter 1 counts 1 and updates the output signal qO from logic "0" to logic "1". As a result, flip-flop 40 is set and outputs a hold signal.

を論理“0”から論理“1”に更新する。is updated from logic "0" to logic "1".

一方クロック信号ckは、遅延回路2により遅延時間T
を経過した後、導通状態にあるゲー1−3を経由してカ
ウンタ1のロード端子りにロード信号ck“とじて入力
される。
On the other hand, the clock signal ck is supplied with a delay time T by the delay circuit 2.
After passing through, the load signal ck" is inputted to the load terminal of the counter 1 via the gates 1-3 which are in a conductive state.

ロード信号ck’を入力されたカウンタ1は、入力端子
ro乃至I3に伝達されている保持信号ho乃至h3を
各桁に設定する。
The counter 1, which receives the load signal ck', sets the holding signals ho to h3, which are transmitted to the input terminals ro to I3, to each digit.

その結果、引続き出力信号QOは論理“1”に、また出
力信号ql乃至q3は論理′°0”に設定され、1を計
数した状態となる。
As a result, the output signal QO is subsequently set to logic "1" and the output signals ql to q3 are set to logic '0', resulting in a state in which 1 is counted.

かかる状態で、カウンタ1のクロック端子CPに第2の
クロック信号ckが入力されると、カウンタ1は1歩進
して2を計数し、出力信号qoを論理“1″から論理“
0”に、また出力信号q1を論理“0”から論理“1”
に更新する。その結果フリップフロップ41はセントさ
れ、出力する保持信号h1を論理“0”から論理”l”
に更新する。なおフリップフロップ40は、引続きセン
ト状態を維持し、保持信号hOを論理“1”に保持し続
ける。
In this state, when the second clock signal ck is input to the clock terminal CP of the counter 1, the counter 1 advances by one step, counts 2, and changes the output signal qo from logic "1" to logic "".
0” and output signal q1 from logic “0” to logic “1”.
Update to. As a result, the flip-flop 41 is switched, and the holding signal h1 to be output changes from logic "0" to logic "L".
Update to. Note that the flip-flop 40 continues to maintain the cent state and continues to hold the holding signal hO at logic "1".

従って、遅延時間T後にロード信号ck’がロード端子
■、に入力されると、カウンタ1は出力信号qOおよび
qlを論理“1”に設定し、出力信号q2およびq3を
論理“0″に設定し、3を計数した状態となる。
Therefore, when the load signal ck' is input to the load terminal ■ after the delay time T, the counter 1 sets the output signals qO and ql to logic "1", and sets the output signals q2 and q3 to logic "0". Then, it becomes a state where 3 is counted.

かかる状態で、カウンタlのクロック端子CPに第3の
クロック信号ckが入力されると、カウンタ1は1歩進
して4を計数し、出力信号qo、およびqlを論理“l
゛から論理“0”に、また出力信号q2を論理“0“か
ら論理“1”に更新する。その結果フリップフロップ4
2はセットされ、出力する保持信号h2を論理“0”か
ら論理″1″に更新する。なおフリップフロップ40お
よび41は、引続きセット状態を維持し、保持信号ho
およびhlを論理“1”に保持し続ける。
In this state, when the third clock signal ck is input to the clock terminal CP of the counter 1, the counter 1 advances by one step, counts 4, and outputs the output signals qo and ql to the logic "l".
The output signal q2 is updated from logic "0" to logic "0" and output signal q2 is updated from logic "0" to logic "1". As a result, the flip-flop 4
2 is set to update the output holding signal h2 from logic "0" to logic "1". Note that the flip-flops 40 and 41 continue to maintain the set state and receive the holding signal ho.
and hl continue to be held at logic "1".

従って、遅延時間T後にロード信号ck’がロード端子
りに入力されると、カウンタ1は出力信号qO1Qlお
よびq2を論理°1”に設定し、出力信号q3を論理“
0”に設定し、7を計数した状態となる。
Therefore, when the load signal ck' is input to the load terminal after the delay time T, the counter 1 sets the output signals qO1Ql and q2 to the logic "1", and sets the output signal q3 to the logic "1".
0” and a state where 7 is counted.

かかる状態で、カウンタlのクロック端子CPに第4の
クロック信号ckが入力されると、カウンタ1は8を計
数し、出力信号qO,qlおよびq2を論理“1”から
論理“0”に、また出力信号q3を論理“O”から論理
“1”に更新する。
In this state, when the fourth clock signal ck is input to the clock terminal CP of the counter 1, the counter 1 counts 8 and changes the output signals qO, ql and q2 from logic "1" to logic "0". Also, the output signal q3 is updated from logic "O" to logic "1".

以上の過程において、出力端子OO乃至03か 、ら出
力される出力信号qO乃至q3を監視し、第1乃至第4
のクロック信号ckがクロック端子CPに入力される度
に、出力信号qo乃至q3が順次論理“O”から論理“
1”に更新されるか否かにより、カウンタ1の計数機能
の検証が出来る。
In the above process, the output signals qO to q3 outputted from the output terminals OO to 03 are monitored, and the first to fourth output signals are monitored.
Every time the clock signal ck is input to the clock terminal CP, the output signals qo to q3 sequentially change from logic "O" to logic "
The counting function of counter 1 can be verified depending on whether it is updated to 1''.

以上の説明から明らかな如く、本実施例によれば、2進
4桁のカウンタ1の計数機能を検証する為に、4個のク
ロック信号ckを入力するのみとなり、試験所要時間が
大幅に短縮される。
As is clear from the above explanation, according to this embodiment, in order to verify the counting function of the 4-digit binary counter 1, only 4 clock signals ck are input, which greatly reduces the time required for testing. be done.

なお、第2図および第3図はあく迄本発明の一実施例に
過ぎず、例えば試験対象とするカウンタ1は4桁に限定
されることは無く、他に幾多の変形が考慮されるが、何
れの場合にも本発明の効果は変わらない。
Note that FIGS. 2 and 3 are only one embodiment of the present invention, and for example, the counter 1 to be tested is not limited to four digits, and many other modifications may be considered. In either case, the effects of the present invention remain the same.

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

以上、本発明によれば、カウンタの桁数に等しいパルス
数のクロック信号ckを入力するのみでカウンタの計数
機能が検証可能となり、試験所要時間が大幅に短縮され
る。
As described above, according to the present invention, the counting function of the counter can be verified by simply inputting the clock signal ck with the number of pulses equal to the number of digits of the counter, and the time required for the test can be significantly shortened.

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

第1図は本発明の原理を示す図、第2図は本発明の一実
施例によるカウンタ試験回路を示す図、第3図は第2図
における信号波形の一例を示す図、第4図は従来あるカ
ウンタの試験方法の一例を示す図である。 図において、■はカウンタ、2は遅延回路、3はゲート
、40乃至43はフリ・ノブフロップ、Ckはクロック
信号、ck’はロード信号、CPはクロック端子、ho
乃至h3は保持信号、IO乃至■3は入力端子、00乃
至03は出力端子、qO乃至q3は出力信号、rはリセ
ット信号、tはハXもB月1こよろり9つ〕り宜ハえ勢
≧艷つ各牟 2 口 K CK’ 不2し](ユニ・(7ろイ哀旺5−、−x五4年 3 
Fig. 1 is a diagram showing the principle of the present invention, Fig. 2 is a diagram showing a counter test circuit according to an embodiment of the invention, Fig. 3 is a diagram showing an example of the signal waveform in Fig. 2, and Fig. 4 is a diagram showing an example of the signal waveform in Fig. 2. FIG. 2 is a diagram showing an example of a conventional counter testing method. In the figure, ■ is a counter, 2 is a delay circuit, 3 is a gate, 40 to 43 are free knob flops, Ck is a clock signal, ck' is a load signal, CP is a clock terminal, and ho
From h3 are hold signals, IO to ■3 are input terminals, 00 to 03 are output terminals, qO to q3 are output signals, r is a reset signal, t is C, X and B are 9 times per month. Force ≧ 艷tsu Each 剟 2 口K CK' ふ 2 し]
mouth

Claims (1)

【特許請求の範囲】 クロック信号(ck)を計数するカウンタ(1)が、論
理“1”に設定した出力信号qを保持する保持手段(1
00)と、 前記保持手段(100)が保持する前記出力信号qを前
記カウンタ(1)にロードするロード手段(200)と
を設けることを特徴とするカウンタ試験回路。
[Scope of Claims] A counter (1) that counts a clock signal (ck) has a holding means (1) that holds an output signal q set to logic "1".
00); and loading means (200) for loading the output signal q held by the holding means (100) into the counter (1).
JP60220667A 1985-10-03 1985-10-03 Testing circuit for counter Pending JPS6280570A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60220667A JPS6280570A (en) 1985-10-03 1985-10-03 Testing circuit for counter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60220667A JPS6280570A (en) 1985-10-03 1985-10-03 Testing circuit for counter

Publications (1)

Publication Number Publication Date
JPS6280570A true JPS6280570A (en) 1987-04-14

Family

ID=16754563

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60220667A Pending JPS6280570A (en) 1985-10-03 1985-10-03 Testing circuit for counter

Country Status (1)

Country Link
JP (1) JPS6280570A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01257362A (en) * 1988-04-07 1989-10-13 Fujitsu Ltd Semiconductor device
US5273233A (en) * 1991-02-04 1993-12-28 Shimano, Inc. Bail arm reversing mechanism
US5289990A (en) * 1990-07-26 1994-03-01 Shimano, Inc. Spinning reel
US5295640A (en) * 1990-11-07 1994-03-22 Shimano Inc. Spinning reel which prevents inadvertent bail closing during casting
US5312067A (en) * 1991-05-07 1994-05-17 Shimano Inc. Spinning reel
US5503342A (en) * 1991-08-06 1996-04-02 Shimano Inc. Spinning reel having rotational balance mechanism for rotor

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01257362A (en) * 1988-04-07 1989-10-13 Fujitsu Ltd Semiconductor device
US5289990A (en) * 1990-07-26 1994-03-01 Shimano, Inc. Spinning reel
US5295640A (en) * 1990-11-07 1994-03-22 Shimano Inc. Spinning reel which prevents inadvertent bail closing during casting
US5273233A (en) * 1991-02-04 1993-12-28 Shimano, Inc. Bail arm reversing mechanism
US5312067A (en) * 1991-05-07 1994-05-17 Shimano Inc. Spinning reel
US5503342A (en) * 1991-08-06 1996-04-02 Shimano Inc. Spinning reel having rotational balance mechanism for rotor

Similar Documents

Publication Publication Date Title
JPS6280570A (en) Testing circuit for counter
US3992635A (en) N scale counter
US3811092A (en) Variable-ratio electronic counter-divider
US3109990A (en) Ring counter with unique gating for self correction
US3805031A (en) Count and store synchronous binary counter
US3091392A (en) Binary magnitude comparator
JPH01119118A (en) Clock generation circuit
US3519941A (en) Threshold gate counters
US3134015A (en) High speed decade counters
US3663804A (en) Reversible ternary counter
US3331953A (en) Self-checking counter
US3310800A (en) System for converting a decimal fraction of a degree to minutes
JPH0683066B2 (en) Counter circuit
JP2533946B2 (en) Integrated circuit
SU830390A1 (en) Device for detecting errors in parallel n-digit code with constant weigth
JPH0396013A (en) Multi-stage synchronizing counter test circuit
JPS6170476A (en) Measuring method of logical control circuit
SU534714A1 (en) Measuring unit differential magnetometer
JPH0376314A (en) Counter test method
JPH02181518A (en) Rink counter circuit
JPH04127712A (en) Specified pattern counting circuit
JPH01270413A (en) Counting circuit
JPS61284676A (en) Logical value comparison and decision circuit
JPS62113245A (en) Operation monitoring device for signal processor
JPH0477832A (en) Device for evaluating function of microprocessor