JPS638587A - Integrated circuit with testing function - Google Patents

Integrated circuit with testing function

Info

Publication number
JPS638587A
JPS638587A JP15301786A JP15301786A JPS638587A JP S638587 A JPS638587 A JP S638587A JP 15301786 A JP15301786 A JP 15301786A JP 15301786 A JP15301786 A JP 15301786A JP S638587 A JPS638587 A JP S638587A
Authority
JP
Japan
Prior art keywords
circuit
alarm
frequency dividing
clock pulse
test
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.)
Granted
Application number
JP15301786A
Other languages
Japanese (ja)
Other versions
JPH0518395B2 (en
Inventor
Yuuji Ishita
位下 雄二
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.)
Seikosha KK
Original Assignee
Seikosha KK
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 Seikosha KK filed Critical Seikosha KK
Priority to JP15301786A priority Critical patent/JPS638587A/en
Publication of JPS638587A publication Critical patent/JPS638587A/en
Publication of JPH0518395B2 publication Critical patent/JPH0518395B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To achieve a testing of a function circuit without use of a special test terminal, by supplying a clock pulse for testing to an alarm terminal to reset a desired frequency dividing stage while a clock pulse is supplied to the function circuit. CONSTITUTION:When testing a function circuit, first, an alarm terminal 6 normally set to '0' is set to '1' and then, a clock pulse is supplied thereto. When pulse from an output Q3 of a frequency dividing stage 3 does not fall with at the pulse state at 0, outputs Q and -Q of an FF circuit 7 are held at 1 and 0 respectively to generate an alarm signal from an alarm control circuit 5 while a clock pulse passes through a gage circuit 9. Then, a clock pulse passes through a gate circuit 10 to reset a frequency dividing stage 2 while passing through a gate circuit 11 to be supplied to the frequency dividing stage 3. Thus, a driving circuit 4 is tested, too.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はテスト機能付集積回路に関するものである。[Detailed description of the invention] [Industrial application field] The present invention relates to an integrated circuit with a test function.

[従来の技術] 例えば水晶時計用の集積回路においては、高い精度と信
頼性が要求される。そのため製造時には、分周回路が正
常に動作するかどうか集積回路の一つ一つをテストする
必要があり、このテストに要する時間が大きな問題とな
る。
[Prior Art] For example, integrated circuits for quartz watches require high precision and reliability. Therefore, during manufacturing, it is necessary to test each integrated circuit to determine whether the frequency dividing circuit operates normally, and the time required for this test becomes a major problem.

従来はこのテストを行うために、集積回路にテスト用の
端子を設け、この端子から分周回路の途中段にテスト用
の高速の外部クロックパルスを供給してテストを行って
いる。このテストの際には前段の分周段を停止させてお
く必要があるため、上記テスト用の端子の他にストップ
用の端子も設けていた。
Conventionally, in order to perform this test, a test terminal is provided on the integrated circuit, and a high-speed external clock pulse for testing is supplied from this terminal to an intermediate stage of the frequency dividing circuit. During this test, it is necessary to stop the previous frequency dividing stage, so in addition to the test terminals described above, a stop terminal was also provided.

[発明が解決しようとする問題点] 従来のものでは、テスト用およびストップ用の端子を必
要とし、そのために集積回路のチップサイズが大きくな
り、コストアップにつながるものであった。
[Problems to be Solved by the Invention] Conventional devices require test and stop terminals, which increases the chip size of the integrated circuit, leading to an increase in cost.

本発明は、テスト専用の端子を付加することなく機能回
路のテストが行えるようにしたテスト機能付集積回路を
提供するものである。
The present invention provides an integrated circuit with a test function that allows testing of a functional circuit without adding a terminal exclusively for testing.

[問題を解決するための手段] 本発明は、アラーム端子に外部からテスト用クロックパ
ルスを供給することにより所望の分周段をリセットする
とともに機能回路に上記テスト用クロックパルスを供給
してテストを行うようにしたものである。
[Means for solving the problem] The present invention resets a desired frequency division stage by supplying a test clock pulse to an alarm terminal from the outside, and also supplies the test clock pulse to a functional circuit to perform a test. This is what I decided to do.

[実施例] 第1図において、1は発振器、2,3は分周段、4はモ
ータの駆動回路である。この駆動回路4および分周段3
がテストを受ける機能回路を構成するものである。5は
アラーム制御回路で、その入力端子が“1”の間アラー
ム信号を発生するものである。6はアラーム端子、7,
8はフリップフロップ回路、9,10.11はゲート回
路である。
[Embodiment] In FIG. 1, 1 is an oscillator, 2 and 3 are frequency dividing stages, and 4 is a motor drive circuit. This drive circuit 4 and frequency division stage 3
constitutes the functional circuit to be tested. 5 is an alarm control circuit which generates an alarm signal while its input terminal is "1". 6 is an alarm terminal, 7,
8 is a flip-flop circuit, and 9, 10, and 11 are gate circuits.

以上の構成において、通常時は、アラーム端子6が“0
”になっており、フリップフロップ回路7の出力Qが“
O”に保持されている。したがってアラーム制御回路5
は不動作状態に保持され、ゲート回路9,10の出力が
0”に保持されて分周段2が動作し、分周段3からの出
力によって駆動回路4からモータの駆動パルスが発生す
る。
In the above configuration, under normal conditions, the alarm terminal 6 is “0”.
”, and the output Q of the flip-flop circuit 7 is “
Therefore, the alarm control circuit 5
is held in an inactive state, the outputs of gate circuits 9 and 10 are held at 0'', frequency dividing stage 2 is operated, and the output from frequency dividing stage 3 causes drive circuit 4 to generate driving pulses for the motor.

そしてアラーム時刻にアラームスイッチが動作して第2
図AIのようにアラーム端子6が“1”になると、その
後の分周段3の出力Q3からの出力の立下り(第2図F
3図示)によってフリップフロップ回路7の出力Q、Q
がそれぞれ第2図P 、P のように1’、”0”にな
り、アラR −ム制御回路5が動作してアラーム信号が発生する。
Then, at the alarm time, the alarm switch operates and the second
When the alarm terminal 6 becomes "1" as shown in Figure AI, the subsequent fall of the output from the output Q3 of the frequency dividing stage 3 (Figure 2 F
3), the outputs Q and Q of the flip-flop circuit 7 are
become 1' and "0" as shown in FIG. 2, P and P, respectively, and the alarm control circuit 5 operates to generate an alarm signal.

一方、ゲート回路9の出力が第2図P のように1″に
なるが、フリップフロップ回路8の出力Qは第2図PH
のように“0“に保持されたままであり、ゲート回路1
0の出力が第2図Prのように10”に保持される。し
たがって分周段2゜3の動作はそのまま保持される。
On the other hand, the output of the gate circuit 9 becomes 1'' as shown in Fig. 2 P, but the output Q of the flip-flop circuit 8 becomes 1'' as shown in Fig. 2 PH.
The gate circuit 1 remains held at “0” as shown in FIG.
The output of 0 is held at 10'' as shown in Fig. 2 Pr. Therefore, the operation of the frequency dividing stage 2.3 is maintained as it is.

鳴止めを行うと、アラーム端子6が“0°に反転し、ゲ
ート回路9の出力が第2図Pcのように“O“に反転し
、フリップフロップ回路8の出力Qが第2図Ppのよう
に“1”に反転する。ところがこのときゲート回路10
は閉じているため、ゲート回路10の出力は“0”に保
持されたままである。その後の分周段3の出力Q3の立
下りによってフリップフロップ回路7からの出力Q、 
Qがそれぞれ第2図P  、P  のよう・に“0”。
When the ringing is stopped, the alarm terminal 6 is inverted to "0°", the output of the gate circuit 9 is inverted to "O" as shown in FIG. 2 Pc, and the output Q of the flip-flop circuit 8 is inverted to "0" as shown in FIG. However, at this time, the gate circuit 10
is closed, so the output of the gate circuit 10 remains held at "0". Thereafter, due to the fall of the output Q3 of the frequency dividing stage 3, the output Q from the flip-flop circuit 7,
Q is "0" as shown in Figure 2, P and P, respectively.

R “1”に反転する。そのためアラーム制御回路5からの
アラーム信号が停止してアラーム音が停止する。またフ
リップフロップ回路8がリセットされて通常状態に復帰
する。
R Inverted to “1”. Therefore, the alarm signal from the alarm control circuit 5 stops and the alarm sound stops. Furthermore, the flip-flop circuit 8 is reset and returns to the normal state.

つぎにテスト動作について説明する。この場合には、ア
ラーム端子6を一旦′1″にしたのち、第3図AIのよ
うにテスト用クロックパルスを供給する。このクロック
パルスが“Omの状態で分周段3の出力Q3からのパル
スが立下がらなければ、フリップフロップ回路7の出力
Q、Qはそれぞれ“1″、“0”に保持され、アラーム
制御回路5からアラーム信号が発生するとともにゲート
回路9から上記クロックパルスが通過する。このクロッ
クパルスによってフリップフロップ回路8の出力Qが“
1”に保持される。そのため上記クロックパルスが第3
図Prのようにゲート回路10を通過し、さらにゲート
回路11を通過して分周段3に供給される。
Next, the test operation will be explained. In this case, after setting the alarm terminal 6 to ``1'', a test clock pulse is supplied as shown in FIG. If the pulse does not fall, the outputs Q and Q of the flip-flop circuit 7 are held at "1" and "0", respectively, and the alarm control circuit 5 generates an alarm signal, and the gate circuit 9 passes the clock pulse. . This clock pulse causes the output Q of the flip-flop circuit 8 to become “
1". Therefore, the above clock pulse is held at the third
As shown in FIG. Pr, the signal passes through a gate circuit 10, further passes through a gate circuit 11, and is supplied to the frequency dividing stage 3.

一方、上記クロックパルスは分周段2のリセット端子に
供給され、リセットがかけられる。」二足クロックパル
スの“0ルベルのパルス幅は分周段2からの出力パルス
のパルス幅の1/2より短く設定しておくことにより、
上記クロックパルスの周波数によらず、分周段2から出
力が発生することはない。
On the other hand, the clock pulse is supplied to the reset terminal of the frequency dividing stage 2 and reset is applied. By setting the pulse width of the ``0 level'' of the bipedal clock pulse to be shorter than 1/2 of the pulse width of the output pulse from frequency dividing stage 2,
Regardless of the frequency of the clock pulse, no output is generated from the frequency dividing stage 2.

したがって上記クロックパルスによって分周段3および
駆動回路4がテストされる。
Therefore, the frequency divider stage 3 and the drive circuit 4 are tested by the clock pulses.

またフリップフロップ回路7の出力Qによってアラーム
制′r8日路5が動作し1、そのテストも同時に行われ
る。
Further, the output Q of the flip-flop circuit 7 activates the alarm system 1, and its test is also performed at the same time.

なお上記の実施例では、機能回路として分周段およびモ
ータの駆動回路をテストする場合について説明したが、
これに限らず、例えばスヌーズ用のカウンタ等をテスト
するようにしてもよい。
In the above embodiment, the case where the frequency dividing stage and the motor drive circuit were tested as functional circuits was explained.
The present invention is not limited to this, and for example, a snooze counter or the like may be tested.

[発明の効果] 本発明によれば、アラーム端子にテスト用クロツクパル
スを供給することにより所望の分周段をリセットすると
ともに機能回路に上記クロックパルスを供給するように
したので、専用のテスト端子を設けることなく機能回路
のテストが行え、集積回路のチップサイズが小さくてす
みコストダウンを図ることができる。
[Effects of the Invention] According to the present invention, a desired frequency division stage is reset by supplying a test clock pulse to an alarm terminal, and the clock pulse is supplied to a functional circuit, so that a dedicated test terminal is not required. It is possible to test functional circuits without the need for an integrated circuit, and the chip size of the integrated circuit can be small, leading to cost reductions.

特に、機能回路として分周段をテストする場合には、分
周段の途中段からテスト用クロックパルスを供給でき、
高速でテストが行えるものである。
In particular, when testing a frequency division stage as a functional circuit, test clock pulses can be supplied from an intermediate stage of the frequency division stage.
This allows for high-speed testing.

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

第1図は本発明の一実施例を示した論理回路図、第2図
および第3図は動作説明のためのタイムチャートである
。 2.3・・・分周段 4・・・駆動回路 5・・・アラーム制御回路 6・・・アラーム端子 7.8・・・フリップフロップ回路 9.10.11・・・ゲート回路 以  上 第1図 第21・4 PT□
FIG. 1 is a logic circuit diagram showing an embodiment of the present invention, and FIGS. 2 and 3 are time charts for explaining the operation. 2.3... Frequency division stage 4... Drive circuit 5... Alarm control circuit 6... Alarm terminal 7.8... Flip-flop circuit 9.10.11... Gate circuit. 1 Figure 21.4 PT□

Claims (1)

【特許請求の範囲】[Claims] 基準周波数信号を分周する分周回路と、この分周回路か
らの出力を受けて動作する機能回路と、アラームスイッ
チの動作によって所望の電位レベルになるアラーム端子
と、このアラーム端子が上記所望の電位レベルになった
ときにアラーム信号を発生するアラーム制御回路と、上
記アラーム端子にテスト用クロックパルスを供給するこ
とによって上記分周回路の所望の分周段をリセットする
とともに上記機能回路に上記テスト用クロックパルスを
供給する制御回路とからなるテスト機能付集積回路。
A frequency dividing circuit that divides the reference frequency signal, a functional circuit that operates in response to the output from this frequency dividing circuit, an alarm terminal that reaches a desired potential level by the operation of an alarm switch, and this alarm terminal that operates at the desired potential level. an alarm control circuit that generates an alarm signal when the potential level is reached; and a test clock pulse that is supplied to the alarm terminal to reset a desired frequency dividing stage of the frequency divider circuit, and also causes the functional circuit to perform the test. An integrated circuit with a test function, consisting of a control circuit that supplies clock pulses for the test.
JP15301786A 1986-06-30 1986-06-30 Integrated circuit with testing function Granted JPS638587A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15301786A JPS638587A (en) 1986-06-30 1986-06-30 Integrated circuit with testing function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15301786A JPS638587A (en) 1986-06-30 1986-06-30 Integrated circuit with testing function

Publications (2)

Publication Number Publication Date
JPS638587A true JPS638587A (en) 1988-01-14
JPH0518395B2 JPH0518395B2 (en) 1993-03-11

Family

ID=15553142

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15301786A Granted JPS638587A (en) 1986-06-30 1986-06-30 Integrated circuit with testing function

Country Status (1)

Country Link
JP (1) JPS638587A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57201885A (en) * 1981-06-08 1982-12-10 Seiko Instr & Electronics Ltd Electronic circuit
JPS58154688A (en) * 1982-03-09 1983-09-14 Sanyo Electric Co Ltd Integrated circuit for electronic watch

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57201885A (en) * 1981-06-08 1982-12-10 Seiko Instr & Electronics Ltd Electronic circuit
JPS58154688A (en) * 1982-03-09 1983-09-14 Sanyo Electric Co Ltd Integrated circuit for electronic watch

Also Published As

Publication number Publication date
JPH0518395B2 (en) 1993-03-11

Similar Documents

Publication Publication Date Title
JPS634151B2 (en)
US5086441A (en) Frequency divider circuit
JPS638587A (en) Integrated circuit with testing function
US4801875A (en) Integrated circuit with frequency dividing test function
GB1214980A (en) Electronic watch
JPH09184870A (en) Integrated circuit device
JPS62285090A (en) Integrated circuit with testing function
JPS6252837B2 (en)
US4247932A (en) Electronic timepiece
JPH05327422A (en) D flip-flop circuit
JPS642229B2 (en)
JPS6123835Y2 (en)
JPS635713B2 (en)
JPH0232595B2 (en)
JPH0567949A (en) Flip-flop circuit
JPH02180428A (en) Reset circuit
JPS6126948Y2 (en)
JPH0125033B2 (en)
JPH0158697B2 (en)
JPS6157881A (en) Test circuit of timepiece ic
JPH07244124A (en) Integrated circuit chip
JPH01236641A (en) Lsi test circuit
JPH03165618A (en) Initial state clock generating circuit
JPS6239951B2 (en)
JPS6093982A (en) Electronic timepiece

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees