JP2007114031A - Semiconductor device and electronic equipment employing the same - Google Patents

Semiconductor device and electronic equipment employing the same Download PDF

Info

Publication number
JP2007114031A
JP2007114031A JP2005305307A JP2005305307A JP2007114031A JP 2007114031 A JP2007114031 A JP 2007114031A JP 2005305307 A JP2005305307 A JP 2005305307A JP 2005305307 A JP2005305307 A JP 2005305307A JP 2007114031 A JP2007114031 A JP 2007114031A
Authority
JP
Japan
Prior art keywords
signal
frequency
circuit
output
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.)
Withdrawn
Application number
JP2005305307A
Other languages
Japanese (ja)
Inventor
Takashi Matsuzaki
賞 松崎
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2005305307A priority Critical patent/JP2007114031A/en
Publication of JP2007114031A publication Critical patent/JP2007114031A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Electric Clocks (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To reduce the number of exclusive input/output terminals required for a semiconductor device having a plurality of test functions, and to make the semiconductor device compact in order to lower its cost. <P>SOLUTION: The semiconductor device 1 which controls timing information, is composed of an oscillator circuit 100 for generating a reference signal and a drive circuit 200 for dividing the reference signal and generating a drive signal. The drive circuit 200 comprises: a first dividing circuit 210 which inputs the reference signal and outputs a first divided signal; a first input signal switching circuit 220 which is controlled by a first control signal for selecting the first divided signal or a test-use acceleration clock signal; a second dividing circuit 230 which inputs an output signal of the first input signal switching circuit 220 and outputs a second divided signal; a second input signal switching circuit 240 which is controlled by a second control signal for selecting the second divided signal or the test-use acceleration clock signal; and a third dividing circuit 250 which inputs an output signal of the second input signal switching circuit 240 and outputs the drive signal. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、半導体装置とそれを備える電子機器に関するものであり、特に、計時機能の
評価を行うための半導体装置に関するものである。
The present invention relates to a semiconductor device and an electronic apparatus including the same, and more particularly to a semiconductor device for evaluating a timekeeping function.

従来、外部からの制御によって特性評価もしくは機能評価テストを行う半導体装置で、
テスト信号入力によってテストを行い、複数のテスト機能を持ったテストモードを搭載す
るためには、通常モードからテストモードへの移行を制御するための入力端子、テスト信
号入力用端子、テスト機能切り替え信号用入力端子の3端子、もしくは、テスト機能の数
に対応したより多数のテスト機能切り替え用入力端子が必要であった。
Conventionally, a semiconductor device that performs characteristic evaluation or function evaluation test by external control,
In order to perform a test by inputting a test signal and install a test mode with multiple test functions, an input terminal for controlling the transition from the normal mode to the test mode, a test signal input terminal, a test function switching signal Three test input terminals or a larger number of test function switching input terminals corresponding to the number of test functions is required.

この問題を解決するために、例えば特許文献1には、分周回路のテスト用加速クロック
入力について、加速対象となる分周段毎に、加速クロック入力制御信号が存在しているも
のの、加速対象となる分周回路の周波数については、規則性が無く、任意に選択されてい
る。
In order to solve this problem, for example, in Patent Document 1, although there is an acceleration clock input control signal for each frequency-division stage to be accelerated for the acceleration clock input for testing the frequency divider circuit, There is no regularity about the frequency of the frequency dividing circuit to be arbitrarily selected.

特開2002−184865号公報JP 2002-184865 A

しかしながら、特許文献1では、加速対象となる分周回路の周波数について、任意設定
の為、加速クロック入力を任意の分周段に、複数設置をし、かつ、同時クロック入力など
を駆使しても、クロック入力の発数が多くなるケースがあり、テスト時間(テストコスト
)に影響があった。
However, in Patent Document 1, since the frequency of the frequency-dividing circuit to be accelerated is arbitrarily set, it is possible to install a plurality of acceleration clock inputs at any frequency-dividing stage and make full use of simultaneous clock input or the like. There were cases where the number of clock inputs increased, which had an effect on test time (test cost).

本発明は、このような事情に鑑みてなされたものであり、テスト端子数を少なくし、テ
スト時間を短縮することができる半導体装置を提供することを目的とする。
The present invention has been made in view of such circumstances, and an object thereof is to provide a semiconductor device capable of reducing the number of test terminals and shortening the test time.

<発明1>
上記課題を解決するために、本発明の半導体装置では、基準信号を発生する発振回路と
、前記基準信号を分周し駆動信号を生成する駆動回路と、からなり、前記駆動信号により
計時機能を制御する半導体装置において、前記駆動回路は、前記駆動信号を加速して出力
するためのテスト用加速クロック信号を有し、前記基準信号を入力し第1の分周信号を出
力する第1の分周回路と、前記第1の分周信号を出力するか、または、前記テスト用加速
クロック信号を出力するか、を選択する第1の制御信号により制御される第1の入力信号
切替回路と、前記第1の入力信号切替回路の出力信号を入力し第2の分周信号を出力する
第2の分周回路と、前記第2の分周信号を出力するか、または、前記テスト用加速クロッ
ク信号を出力するか、を選択する第2の制御信号により制御される第2の入力信号切替回
路と、前記第2の入力信号切替回路の出力信号を入力し前記駆動信号を出力する第3の分
周回路と、を有する、ことを要旨とする。
<Invention 1>
In order to solve the above problems, a semiconductor device according to the present invention includes an oscillation circuit that generates a reference signal and a drive circuit that divides the reference signal to generate a drive signal, and has a clocking function based on the drive signal. In the semiconductor device to be controlled, the drive circuit has a test acceleration clock signal for accelerating and outputting the drive signal, and inputs the reference signal and outputs a first divided signal. A first input signal switching circuit controlled by a first control signal that selects whether to output the first frequency-divided signal or to output the test acceleration clock signal; A second frequency dividing circuit that inputs an output signal of the first input signal switching circuit and outputs a second frequency-divided signal; and outputs the second frequency-divided signal or the test acceleration clock Select whether to output a signal A second input signal switching circuit controlled by a second control signal; and a third frequency dividing circuit for inputting the output signal of the second input signal switching circuit and outputting the drive signal. Is the gist.

この構成によれば、駆動回路に対し、第1の制御信号と第2の制御信号をテスト用加速
クロック信号を選択する状態にし、所定の数のテスト用加速クロック信号を第2の分周回
路と第3の分周回路に同時に入力した後、第2の制御信号を第2の分周信号を選択する状
態に切り替え、残りの数のテスト用加速クロック信号を第2の分周回路に入力することに
より、少ないテスト用加速クロック信号で駆動信号を出力させることができ、テスト時間
を短縮することができる。
According to this configuration, the driving circuit is made to select the test acceleration clock signal for the first control signal and the second control signal, and the predetermined number of test acceleration clock signals are supplied to the second frequency divider circuit. Are simultaneously input to the third frequency divider circuit, the second control signal is switched to a state in which the second frequency divided signal is selected, and the remaining number of test acceleration clock signals are input to the second frequency divider circuit. As a result, the drive signal can be output with a small number of test acceleration clock signals, and the test time can be shortened.

<発明2>
また、本発明の半導体装置では、前記第1の分周回路の分周率と、前記第2の分周回路
の分周率と、前記第3の分周回路の分周率の各々は、前記第1の分周信号の周波数と、前
記第2の分周信号の周波数と、前記駆動信号の周波数の各々が、所定の自然数nの累乗と
なるように設定されている。
<Invention 2>
In the semiconductor device of the present invention, each of the frequency dividing ratio of the first frequency dividing circuit, the frequency dividing ratio of the second frequency dividing circuit, and the frequency dividing ratio of the third frequency dividing circuit is: Each of the frequency of the first frequency-divided signal, the frequency of the second frequency-divided signal, and the frequency of the drive signal is set to be a power of a predetermined natural number n.

この構成によれば、駆動回路に対し、第1の制御信号と第2の制御信号をテスト用加速
クロック信号を選択する状態にし、第2の分周信号の周波数から1を引いた数のテスト用
加速クロック信号を第2の分周回路と第3の分周回路に同時に入力した後、第2の制御信
号を第2の分周信号を選択する状態に切り替え、残りの数のテスト用加速クロック信号を
第2の分周回路に入力することにより、少ないテスト用加速クロック信号で駆動信号を出
力させることができ、テスト時間を短縮することができる。
According to this configuration, the first control signal and the second control signal are selected for the test acceleration clock signal for the drive circuit, and the number of tests obtained by subtracting 1 from the frequency of the second divided signal is set. Acceleration clock signal for input is simultaneously input to the second frequency divider circuit and the third frequency divider circuit, and then the second control signal is switched to a state in which the second frequency divider signal is selected, and the remaining number of test accelerations By inputting the clock signal to the second frequency dividing circuit, the drive signal can be output with a small number of test acceleration clock signals, and the test time can be shortened.

<発明3>
また、本発明の半導体装置では、前記第1の分周信号の周波数は前記所定の自然数nの
2乗、前記第2の分周信号の周波数は前記所定の自然数nの1乗、前記駆動信号の周波数
は前記所定の自然数nの0乗、である。
<Invention 3>
In the semiconductor device of the present invention, the frequency of the first divided signal is the square of the predetermined natural number n, the frequency of the second divided signal is the first power of the predetermined natural number n, and the drive signal. Is the predetermined natural number n to the 0th power.

この構成によれば、第1の制御信号と第2の制御信号をテスト用加速クロック信号を選
択する状態にし、第2の分周信号の周波数から1を引いた数のテスト用加速クロック信号
を第2の分周回路と第3の分周回路に同時に入力した後、第2の制御信号を第2の分周信
号を選択する状態に切り替え、残りの数のテスト用加速クロック信号を第2の分周回路に
入力することにより、少ないテスト用加速クロック信号で駆動信号を出力させることがで
き、テスト時間を短縮することができる。
According to this configuration, the first control signal and the second control signal are set to a state in which the test acceleration clock signal is selected, and the test acceleration clock signals of the number obtained by subtracting 1 from the frequency of the second frequency division signal are obtained. After being simultaneously input to the second frequency divider circuit and the third frequency divider circuit, the second control signal is switched to a state in which the second frequency divided signal is selected, and the remaining number of test acceleration clock signals are changed to the second frequency signal. By inputting to this frequency divider circuit, the drive signal can be output with a small number of test acceleration clock signals, and the test time can be shortened.

<発明4>
次に、本発明に係る電子機器は、上述した半導体装置を備え、例えば、電子時計、パー
ソナルコンピュータ、携帯電話機、および携帯情報端末等が該当する。
<Invention 4>
Next, an electronic apparatus according to the present invention includes the above-described semiconductor device, and corresponds to, for example, an electronic timepiece, a personal computer, a mobile phone, and a portable information terminal.

以下、本発明を具体化した第1実施形態について図面に従って説明する。なお、本実施
形態にあっては、テスト用加速クロック信号を入力して駆動回路の加速試験をおこなう電
子機器としてのアナログ電子時計について説明をおこなうが、本発明をこれに限定する趣
旨ではなく、所定の機能評価のための信号を入力するテストモードを備えている半導体装
置とそれを用いた電子機器であれば、本発明の適用が可能であり、たとえば、デジタル電
子時計でもよい。
(第1実施形態)
Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. In the present embodiment, an analog electronic timepiece as an electronic device that inputs a test acceleration clock signal and performs an acceleration test of a drive circuit will be described, but the present invention is not limited to this, The present invention can be applied to any semiconductor device provided with a test mode for inputting a signal for predetermined function evaluation and an electronic device using the semiconductor device. For example, a digital electronic timepiece may be used.
(First embodiment)

<半導体装置の構成>
図1は、本発明の第1実施形態に係る半導体装置の構成を示すブロック図である。同図
に示されるように、半導体装置1は、発振回路100と、駆動回路200と、桁上げ発生
回路300と、計時機能であるクロックカウンタ310と、3線式シリアルインターフェ
ース制御回路400と、システム制御レジスタ500と、バス600と、から構成されて
いる。
<Configuration of semiconductor device>
FIG. 1 is a block diagram showing the configuration of the semiconductor device according to the first embodiment of the present invention. As shown in the figure, the semiconductor device 1 includes an oscillation circuit 100, a drive circuit 200, a carry generation circuit 300, a clock counter 310 that is a timekeeping function, a three-wire serial interface control circuit 400, a system A control register 500 and a bus 600 are included.

発振回路100は、基準信号V0を発生し、駆動回路200に出力する。駆動回路20
0は、基準信号V0を入力し駆動信号V3を生成する。
The oscillation circuit 100 generates a reference signal V0 and outputs it to the drive circuit 200. Drive circuit 20
0 inputs the reference signal V0 and generates the drive signal V3.

3線式シリアルインターフェース制御回路400は、図示しない外部機器からのデータ
入出力信号DIOとクロック信号CLKとチップイネーブル信号CEにより制御され、バ
ス600に制御信号を出力する。データ入出力信号DIOは、第1の制御信号である第1
制御信号C1と、第2の制御信号である第2制御信号C2と、リセット信号を制御する信
号が含まれている。3線式シリアルインターフェース制御回路400は、チップイネーブ
ル信号CEがHighの期間にクロック信号CLKのタイミングに基づきデータ入出力信
号DIOのシリアルデータをバス600を介してシステム制御レジスタ500に書き込む
The 3-wire serial interface control circuit 400 is controlled by a data input / output signal DIO, a clock signal CLK, and a chip enable signal CE from an external device (not shown), and outputs a control signal to the bus 600. The data input / output signal DIO is a first control signal that is a first control signal.
A control signal C1, a second control signal C2 that is a second control signal, and a signal that controls the reset signal are included. The 3-wire serial interface control circuit 400 writes serial data of the data input / output signal DIO to the system control register 500 via the bus 600 based on the timing of the clock signal CLK while the chip enable signal CE is High.

システム制御レジスタ500は、第1制御信号C1と、第2制御信号C2と、リセット
信号を保持する。
The system control register 500 holds a first control signal C1, a second control signal C2, and a reset signal.

駆動回路200は、さらに、第1の分周回路である第1分周回路210と、第1の入力
信号切替回路である第1入力信号切替回路220と、第2の分周回路である第2分周回路
230と、第2の入力信号切替回路である第2入力信号切替回路240と、第3の分周回
路である第3分周回路250と、から構成されている。
The driving circuit 200 further includes a first frequency dividing circuit 210 that is a first frequency dividing circuit, a first input signal switching circuit 220 that is a first input signal switching circuit, and a second frequency dividing circuit. This circuit includes a divide-by-2 circuit 230, a second input signal switch circuit 240 that is a second input signal switch circuit, and a third divider circuit 250 that is a third divider circuit.

第1分周回路210は、基準信号V0を入力し第1の分周信号である第1分周信号V1
と桁上げ基準信号V4を出力する。第1入力信号切替回路220は、第1分周信号V1ま
たはテスト用加速クロック信号TESTを第1制御信号C1により選択し第1出力信号S
1に出力する。第1入力信号切替回路220は、第1制御信号C1がLowの時に第1分
周信号V1を第1出力信号S1に出力し、第1制御信号C1がHighの時にテスト用加
速クロック信号TESTを第1出力信号S1に出力する。
The first frequency dividing circuit 210 receives the reference signal V0 and receives a first frequency divided signal V1 that is a first frequency divided signal.
And carry reference signal V4. The first input signal switching circuit 220 selects the first frequency-divided signal V1 or the test acceleration clock signal TEST by the first control signal C1 and selects the first output signal S.
Output to 1. The first input signal switching circuit 220 outputs the first frequency-divided signal V1 to the first output signal S1 when the first control signal C1 is Low, and the test acceleration clock signal TEST when the first control signal C1 is High. Output to the first output signal S1.

第2分周回路230は、第1出力信号S1を入力し第2の分周信号である第2分周信号
V2を出力する。第2入力信号切替回路240は、第2分周信号V2またはテスト用加速
クロック信号TESTを第2制御信号C2により選択し第2出力信号S2に出力する。第
2入力信号切替回路240は、第2制御信号C2がLowの時に第2分周信号V2を第2
出力信号S2に出力し、第2制御信号C2がHighの時にテスト用加速クロック信号T
ESTを第2出力信号S2に出力する。
The second divider 230 receives the first output signal S1 and outputs a second divided signal V2 that is a second divided signal. The second input signal switching circuit 240 selects the second frequency-divided signal V2 or the test acceleration clock signal TEST by the second control signal C2, and outputs the selected signal to the second output signal S2. The second input signal switching circuit 240 outputs the second divided signal V2 to the second when the second control signal C2 is Low.
When the second control signal C2 is High, the test acceleration clock signal T is output to the output signal S2.
EST is output to the second output signal S2.

第3分周回路250は、第2出力信号S2を入力し駆動信号V3を出力する。   The third frequency divider 250 receives the second output signal S2 and outputs the drive signal V3.

桁上げ発生回路300は、駆動信号V3と桁上げ基準信号V4を入力し、駆動信号V3
と桁上げ基準信号V4が共にLowの期間に桁上げ信号UPをHighで出力する。クロ
ックカウンタ310は、桁上げ信号UPがLowからHighに遷移すると、桁上げが行
われる。
The carry generation circuit 300 receives the drive signal V3 and the carry reference signal V4, and receives the drive signal V3.
When the carry reference signal V4 is Low, the carry signal UP is output High. The clock counter 310 performs a carry when the carry signal UP changes from Low to High.

リセット信号がHighの期間、第1分周回路210と、第2分周回路230と、第3
分周回路250と、桁上げ発生回路300の内部ノードがLowにリセットされ、第1分
周信号V1と、第2分周信号V2と、駆動信号V3と、桁上げ信号UPがLowにリセッ
トされる。
During the period when the reset signal is High, the first frequency divider 210, the second frequency divider 230, and the third
The frequency dividing circuit 250 and the internal node of the carry generating circuit 300 are reset to Low, and the first frequency dividing signal V1, the second frequency dividing signal V2, the drive signal V3, and the carry signal UP are reset to Low. The

次に、本半導体装置1において、クロックカウンタ310を通常動作よりも高速に加速
して計時機能の加速検査を行う方法について説明する。
Next, a method for accelerating the clock counter 310 faster than the normal operation in the semiconductor device 1 and performing an acceleration test of the timekeeping function will be described.

<テスト用加速クロック信号を使用しない場合>
まず、図2を参照してテスト用加速クロック信号を使用しない場合の桁上げ信号の出力
を説明する。図2は、テスト用加速クロック信号を用いない場合の桁上げ信号の出力を説
明するタイミングチャートである。
<When test acceleration clock signal is not used>
First, the output of the carry signal when the test acceleration clock signal is not used will be described with reference to FIG. FIG. 2 is a timing chart for explaining the output of the carry signal when the test acceleration clock signal is not used.

テスト用加速クロック信号TESTを使用しない場合、発振回路100から発生する基
準信号V0に基づいて計時機能の加速検査を行うことになる。
When the test acceleration clock signal TEST is not used, an acceleration test of the timekeeping function is performed based on the reference signal V0 generated from the oscillation circuit 100.

ここで、発振回路100から発生する基準信号V0の周波数を32768Hzとし、第
1分周回路210の分周率を1/32、第2分周回路230の分周率を1/32、第3分
周回路250の分周率を1/32、とする。この場合、第1分周信号V1の周波数は10
24Hz、第2分周信号V2の周波数は32Hz、駆動信号V3の周波数は1Hzとなる
。また、桁上げ基準信号V4は、常に1024Hzを出力する。
Here, the frequency of the reference signal V0 generated from the oscillation circuit 100 is 32768 Hz, the frequency dividing ratio of the first frequency dividing circuit 210 is 1/32, the frequency dividing ratio of the second frequency dividing circuit 230 is 1/32, The frequency dividing ratio of the frequency dividing circuit 250 is 1/32. In this case, the frequency of the first divided signal V1 is 10
24 Hz, the frequency of the second frequency-divided signal V2 is 32 Hz, and the frequency of the drive signal V3 is 1 Hz. The carry reference signal V4 always outputs 1024 Hz.

チップイネーブル信号CEがHighである図2の時点t1から時点t2において、ク
ロック信号CLKが動作し、データ入出力信号DIOからリセット信号=High、第1
制御信号C1=Low、第2制御信号C2=Lowが送信され、システム制御レジスタ5
00に書き込まれる。
The clock signal CLK operates from the time point t1 to the time point t2 in FIG. 2 when the chip enable signal CE is High. The reset signal = High from the data input / output signal DIO, the first
The control signal C1 = Low and the second control signal C2 = Low are transmitted, and the system control register 5
Written to 00.

時点t3から時点t4の期間、現在のクロックカウンタ310の値を読み出し、データ
入出力信号DIOから外部機器に送信される。
During the period from time t3 to time t4, the current value of the clock counter 310 is read and transmitted from the data input / output signal DIO to the external device.

時点t5から基準信号V0が32768発出力され、時点t6で駆動信号V3がLow
となり、桁上げ基準信号V4もLowとなる。時点t6で、桁上げ信号UPがHighと
なる。さらに時点t6から基準信号V0を16発出力すると、時点t7で桁上げ基準信号
V4がHighに遷移し、桁上げ信号UPもLowに遷移する。桁上げ信号UPがLow
に遷移した時点でクロックカウンタ310の値が桁上げされる。
The reference signal V0 is output 32768 from time t5, and the drive signal V3 is Low at time t6.
Thus, the carry reference signal V4 is also Low. At time t6, the carry signal UP becomes High. Further, when 16 reference signals V0 are output from time t6, carry reference signal V4 changes to High at time t7, and carry signal UP also changes to Low. Carry signal UP is Low
At the time of transition to, the value of the clock counter 310 is carried.

時点t8から時点t9の期間、現在のクロックカウンタ310の値を読み出し、データ
入出力信号DIOから外部機器に送信される。
During the period from time t8 to time t9, the current value of the clock counter 310 is read and transmitted from the data input / output signal DIO to the external device.

以上の方法によれば、クロックカウンタ310の1つの桁上げを行うのに、基準信号V
0を32768+16=32784発出力しなければならず、加速検査の効率を上げるこ
とができない。
According to the above method, in order to carry one carry of the clock counter 310, the reference signal V
0 must be output 32768 + 16 = 32784, and the efficiency of the accelerated inspection cannot be increased.

<第1分周信号と第2分周信号が累乗の関係にない場合>
次に、図3を参照して第1分周信号と第2分周信号が累乗の関係にない場合の桁上げ信
号の出力を説明する。図3は、第1分周信号と第2分周信号が累乗の関係にない場合の桁
上げ信号の出力を説明するタイミングチャートである。
<When the first divided signal and the second divided signal are not in a power relationship>
Next, the output of the carry signal when the first divided signal and the second divided signal are not in a power relationship will be described with reference to FIG. FIG. 3 is a timing chart for explaining the output of the carry signal when the first divided signal and the second divided signal are not in a power relationship.

ここで、発振回路100から発生する基準信号V0の周波数を32768Hzとし、第
1分周回路210の分周率を1/8、第2分周回路230の分周率を1/128、第3分
周回路250の分周率を1/32、とする。この場合、第1分周信号V1の周波数は40
96Hz、第2分周信号V2の周波数は32Hz、駆動信号V3の周波数は1Hzとなる
。また、桁上げ基準信号V4は、常に1024Hzを出力する。この場合、第1分周信号
V1の周波数と第2分周信号V2の周波数と駆動信号V3の周波数は、相互に累乗の関係
にない。また、外部機器からテスト用加速クロック信号TESTを4096Hzの周波数
で入力するものとする。
Here, the frequency of the reference signal V0 generated from the oscillation circuit 100 is 32768 Hz, the frequency dividing ratio of the first frequency dividing circuit 210 is 1/8, the frequency dividing ratio of the second frequency dividing circuit 230 is 1/128, The frequency dividing ratio of the frequency dividing circuit 250 is 1/32. In this case, the frequency of the first divided signal V1 is 40.
96 Hz, the frequency of the second frequency-divided signal V2 is 32 Hz, and the frequency of the drive signal V3 is 1 Hz. The carry reference signal V4 always outputs 1024 Hz. In this case, the frequency of the first frequency-divided signal V1, the frequency of the second frequency-divided signal V2, and the frequency of the drive signal V3 are not in a power relationship. Further, it is assumed that a test acceleration clock signal TEST is input from an external device at a frequency of 4096 Hz.

チップイネーブル信号CEがHighである図3の時点t1から時点t2において、ク
ロック信号CLKが動作し、データ入出力信号DIOからリセット信号=High、第1
制御信号C1=High、第2制御信号C2=Highが送信され、システム制御レジス
タ500に書き込まれる。
The clock signal CLK operates from the time point t1 to the time point t2 in FIG. 3 when the chip enable signal CE is High, and the reset signal = High from the data input / output signal DIO, the first
The control signal C1 = High and the second control signal C2 = High are transmitted and written to the system control register 500.

時点t3から時点t4の期間、現在のクロックカウンタ310の値を読み出し、データ
入出力信号DIOから外部機器に送信される。
During the period from time t3 to time t4, the current value of the clock counter 310 is read and transmitted from the data input / output signal DIO to the external device.

第1制御信号C1=High、第2制御信号C2=Highなので、第1入力信号切替
回路220および第2入力信号切替回路240により第1出力信号S1および第2出力信
号S2にはテスト用加速クロック信号TESTが出力される。時点t5からテスト用加速
クロック信号TESTが31発出力され、時点t6で第2分周信号V2は31/128の
状態になり、駆動信号V3は31/32の状態になる。
Since the first control signal C1 = High and the second control signal C2 = High, the first input signal switching circuit 220 and the second input signal switching circuit 240 cause the first output signal S1 and the second output signal S2 to be the test acceleration clock. A signal TEST is output. From time t5, 31 test acceleration clock signals TEST are output. At time t6, the second frequency-divided signal V2 is in the state of 31/128, and the drive signal V3 is in the state of 31/32.

次に、時点t7から時点t8の期間に、データ入出力信号DIOから第2制御信号C2
=Lowが送信され、システム制御レジスタ500に書き込まれる。時点t8で第2制御
信号C2=Lowに遷移するので、第2入力信号切替回路240により第2出力信号S2
には第2分周信号V2が出力される。
Next, during the period from the time point t7 to the time point t8, the data input / output signal DIO to the second control signal C2
= Low is transmitted and written to the system control register 500. Since the second control signal C2 transitions to Low at time t8, the second output signal S2 is transferred by the second input signal switching circuit 240.
The second frequency-divided signal V2 is output at.

時点t9からテスト用加速クロック信号TESTが97発出力され、時点t10で第2
分周信号V2は(31+97)/128となり、第2分周信号V2から1クロック出力さ
れる。これにより、駆動信号V3は(31+1)/32となり、駆動信号V3がLowと
なり、桁上げ基準信号V4もLowとなる。
From time t9, 97 test acceleration clock signals TEST are output, and at time t10, the second
The frequency-divided signal V2 is (31 + 97) / 128, and one clock is output from the second frequency-divided signal V2. As a result, the drive signal V3 becomes (31 + 1) / 32, the drive signal V3 becomes Low, and the carry reference signal V4 also becomes Low.

時点t10で、桁上げ信号UPがHighとなる。さらに時点t10からテスト用加速
クロック信号TESTを2発出力すると、時点t11で桁上げ基準信号V4がHighに
遷移し、桁上げ信号UPもLowに遷移する。桁上げ信号UPがLowに遷移した時点で
クロックカウンタ310の値が桁上げされる。
At time t10, the carry signal UP becomes High. Further, when two test acceleration clock signals TEST are output from time t10, the carry reference signal V4 changes to High at time t11, and the carry signal UP also changes to Low. When the carry signal UP changes to Low, the value of the clock counter 310 is carried.

時点t12から時点t13の期間、現在のクロックカウンタ310の値を読み出し、デ
ータ入出力信号DIOから外部機器に送信される。
During the period from time t12 to time t13, the current value of the clock counter 310 is read and transmitted from the data input / output signal DIO to the external device.

以上の方法によれば、クロックカウンタ310の1つの桁上げを行うのに、テスト用加
速クロック信号TESTを31+97+2=130発出力しなければならず、加速検査の
効率を上げることができない。
According to the above method, in order to carry one carry of the clock counter 310, it is necessary to output 31 + 97 + 2 = 130 test acceleration clock signals TEST, and the efficiency of the acceleration test cannot be increased.

<第1分周信号と第2分周信号が累乗の関係にある場合>
次に、図4を参照して第1分周信号と第2分周信号が累乗の関係にある場合の桁上げ信
号の出力を説明する。図4は、第1分周信号と第2分周信号が累乗の関係にある場合の桁
上げ信号の出力を説明するタイミングチャートである。
<When the first divided signal and the second divided signal are in a power relationship>
Next, the output of the carry signal when the first divided signal and the second divided signal are in a power relationship will be described with reference to FIG. FIG. 4 is a timing chart for explaining the output of the carry signal when the first divided signal and the second divided signal are in a power relationship.

ここで、発振回路100から発生する基準信号V0の周波数を32768Hzとし、第
1分周回路210の分周率を1/8、第2分周回路230の分周率を1/64、第3分周
回路250の分周率を1/64、とする。この場合、第1分周信号V1の周波数は409
6(=64の2乗)Hz、第2分周信号V2の周波数は64(=64の1乗)Hz、駆動
信号V3の周波数は1(=64の0乗)Hzとなる。また、桁上げ基準信号V4は、常に
1024Hzを出力する。この場合、第1分周信号V1の周波数と第2分周信号V2の周
波数と駆動信号V3の周波数は、自然数n=64の累乗の関係にある。また、外部機器か
らテスト用加速クロック信号TESTを4096Hzの周波数で入力するものとする。
Here, the frequency of the reference signal V0 generated from the oscillation circuit 100 is 32768 Hz, the frequency dividing ratio of the first frequency dividing circuit 210 is 1/8, the frequency dividing ratio of the second frequency dividing circuit 230 is 1/64, The frequency dividing ratio of the frequency dividing circuit 250 is 1/64. In this case, the frequency of the first divided signal V1 is 409.
6 (= 64 squared) Hz, the frequency of the second divided signal V2 is 64 (= 64 raised to the 1st power) Hz, and the frequency of the driving signal V3 is 1 (= 64 raised to the 0th power) Hz. The carry reference signal V4 always outputs 1024 Hz. In this case, the frequency of the first frequency-divided signal V1, the frequency of the second frequency-divided signal V2, and the frequency of the drive signal V3 are in a relation of powers of natural numbers n = 64. Further, it is assumed that a test acceleration clock signal TEST is input from an external device at a frequency of 4096 Hz.

チップイネーブル信号CEがHighである図4の時点t1から時点t2において、ク
ロック信号CLKが動作し、データ入出力信号DIOからリセット信号=High、第1
制御信号C1=High、第2制御信号C2=Highが送信され、システム制御レジス
タ500に書き込まれる。
The clock signal CLK operates from the time point t1 to the time point t2 in FIG. 4 when the chip enable signal CE is High, and the reset signal = High from the data input / output signal DIO, the first
The control signal C1 = High and the second control signal C2 = High are transmitted and written to the system control register 500.

時点t3から時点t4の期間、現在のクロックカウンタ310の値を読み出し、データ
入出力信号DIOから外部機器に送信される。
During the period from time t3 to time t4, the current value of the clock counter 310 is read and transmitted from the data input / output signal DIO to the external device.

第1制御信号C1=High、第2制御信号C2=Highなので、第1入力信号切替
回路220および第2入力信号切替回路240により第1出力信号S1および第2出力信
号S2にはテスト用加速クロック信号TESTが出力される。時点t5からテスト用加速
クロック信号TESTが63発出力され、時点t6で第2分周信号V2は63/64の状
態になり、駆動信号V3は63/64の状態になる。
Since the first control signal C1 = High and the second control signal C2 = High, the first input signal switching circuit 220 and the second input signal switching circuit 240 cause the first output signal S1 and the second output signal S2 to be the test acceleration clock. A signal TEST is output. From time t5, 63 test acceleration clock signals TEST are output. At time t6, the second frequency-divided signal V2 is in a 63/64 state, and the drive signal V3 is in a 63/64 state.

次に、時点t7から時点t8の期間に、データ入出力信号DIOから第2制御信号C2
=Lowが送信され、システム制御レジスタ500に書き込まれる。時点t8で第2制御
信号C2=Lowに遷移するので、第2入力信号切替回路240により第2出力信号S2
には第2分周信号V2が出力される。
Next, during the period from the time point t7 to the time point t8, the data input / output signal DIO to the second control signal C2
= Low is transmitted and written to the system control register 500. Since the second control signal C2 transitions to Low at time t8, the second output signal S2 is transferred by the second input signal switching circuit 240.
The second frequency-divided signal V2 is output at.

時点t9からテスト用加速クロック信号TESTが1発出力され、時点t10で第2分
周信号V2は(63+1)/64となり、第2分周信号V2から1クロック出力される。
これにより、駆動信号V3は(63+1)/64となり、駆動信号V3がLowとなり、
桁上げ基準信号V4もLowとなる。
One test acceleration clock signal TEST is output from time t9. At time t10, the second frequency-divided signal V2 becomes (63 + 1) / 64, and one clock is output from the second frequency-divided signal V2.
As a result, the drive signal V3 becomes (63 + 1) / 64, the drive signal V3 becomes Low,
The carry reference signal V4 is also Low.

時点t9で、桁上げ信号UPがHighとなる。さらに時点t10からテスト用加速ク
ロック信号TESTを2発出力すると、時点t11で桁上げ基準信号V4がHighに遷
移し、桁上げ信号UPもLowに遷移する。桁上げ信号UPがLowに遷移した時点でク
ロックカウンタ310の値が桁上げされる。
At time t9, the carry signal UP becomes High. Further, when two test acceleration clock signals TEST are output from time t10, the carry reference signal V4 changes to High at time t11, and the carry signal UP also changes to Low. When the carry signal UP changes to Low, the value of the clock counter 310 is carried.

時点t12から時点t13の期間、現在のクロックカウンタ310の値を読み出し、デ
ータ入出力信号DIOから外部機器に送信される。
During the period from time t12 to time t13, the current value of the clock counter 310 is read and transmitted from the data input / output signal DIO to the external device.

以上の方法によれば、クロックカウンタ310の1つの桁上げを行うのに、テスト用加
速クロック信号TESTを63+1+2=66発出力するだけですみ、加速検査の効率を
上げることが可能になる。
According to the above method, it is only necessary to output 63 + 1 + 2 = 66 test acceleration clock signals TEST to carry one carry of the clock counter 310, and the efficiency of the acceleration test can be increased.

以上に述べた前記実施形態によれば、以下の効果が得られる。   According to the embodiment described above, the following effects can be obtained.

本実施形態では、発振回路100から発生する基準信号V0の周波数を32768Hz
とし、第1分周回路210の分周率を1/8、第2分周回路230の分周率を1/64、
第3分周回路250の分周率を1/64、とすることにより、第1分周信号V1の周波数
は4096(=64の2乗)Hz、第2分周信号V2の周波数は64(=64の1乗)H
z、駆動信号V3の周波数は1(=64の0乗)Hzとなり、第1分周信号V1の周波数
と第2分周信号V2の周波数と駆動信号V3の周波数は、自然数n=64の累乗の関係に
ある。このような構成によれば、テスト用加速クロック信号TESTから66発出力だけ
でクロックカウンタ310の値を桁上げすることが可能になり、加速検査の効率を上げる
ことが可能になる。
In the present embodiment, the frequency of the reference signal V0 generated from the oscillation circuit 100 is 32768 Hz.
The frequency dividing ratio of the first frequency dividing circuit 210 is 1/8, the frequency dividing ratio of the second frequency dividing circuit 230 is 1/64,
By setting the frequency dividing ratio of the third frequency dividing circuit 250 to 1/64, the frequency of the first frequency-divided signal V1 is 4096 (= square of 64) Hz, and the frequency of the second frequency-divided signal V2 is 64 ( = 64 to the power of 1) H
z, the frequency of the drive signal V3 is 1 (= 64 to the 0th power) Hz, and the frequency of the first divided signal V1, the frequency of the second divided signal V2, and the frequency of the drive signal V3 are natural powers of n = 64. Are in a relationship. According to such a configuration, it is possible to carry the value of the clock counter 310 by only 66 outputs from the test acceleration clock signal TEST, and it is possible to increase the efficiency of the acceleration test.

以上、本発明の実施形態を説明したが、本発明はこうした実施の形態に何ら限定される
ものではなく、本発明の趣旨を逸脱しない範囲内において様々な形態で実施し得ることが
できる。以下、変形例を挙げて説明する。
As mentioned above, although embodiment of this invention was described, this invention is not limited to such embodiment at all, In the range which does not deviate from the meaning of this invention, it can be implemented with various forms. Hereinafter, a modification will be described.

(変形例1)本発明に係る半導体装置の第1変形例について説明する。前記第1実施形
態では、第1分周信号V1の周波数と第2分周信号V2の周波数と駆動信号V3の周波数
が、自然数n=64の累乗の関係にある場合について説明したが、次のような構成でもよ
い。すなわち、発振回路100から発生する基準信号V0の周波数を32768Hzとし
、第1分周回路210の分周率を1/32、第2分周回路230の分周率を1/32、第
3分周回路250の分周率を1/32、とすることにより、第1分周信号V1の周波数は
1024(=32の2乗)Hz、第2分周信号V2の周波数は32(=32の1乗)Hz
、駆動信号V3の周波数は1(=32の0乗)Hzとなり、第1分周信号V1の周波数と
第2分周信号V2の周波数と駆動信号V3の周波数は、自然数n=32の累乗の関係にな
る。また、外部機器からテスト用加速クロック信号TESTを1024Hzの周波数で入
力するものとする。また、桁上げ基準信号V4は、常に1024Hzを出力する。このよ
うな構成であれば、テスト用加速クロック信号TESTを31+1+1=33発出力する
だけですみ、加速検査の効率をさらに上げることが可能になる。
(Modification 1) A first modification of the semiconductor device according to the present invention will be described. In the first embodiment, the case where the frequency of the first frequency-divided signal V1, the frequency of the second frequency-divided signal V2, and the frequency of the drive signal V3 are in a relation of powers of natural numbers n = 64 has been described. Such a configuration may be used. That is, the frequency of the reference signal V0 generated from the oscillation circuit 100 is 32768 Hz, the frequency dividing ratio of the first frequency dividing circuit 210 is 1/32, the frequency dividing ratio of the second frequency dividing circuit 230 is 1/32, and the third frequency dividing frequency. By setting the frequency dividing ratio of the frequency dividing circuit 250 to 1/32, the frequency of the first frequency-divided signal V1 is 1024 (= the square of 32) Hz, and the frequency of the second frequency-divided signal V2 is 32 (= 32). 1st power) Hz
The frequency of the drive signal V3 is 1 (= 32 to the 0th power) Hz, and the frequency of the first divided signal V1, the frequency of the second divided signal V2, and the frequency of the drive signal V3 are powers of a natural number n = 32. Become a relationship. Further, it is assumed that the test acceleration clock signal TEST is input from an external device at a frequency of 1024 Hz. The carry reference signal V4 always outputs 1024 Hz. With such a configuration, it is only necessary to output 31 + 1 + 1 = 33 test acceleration clock signals TEST, and the efficiency of accelerated inspection can be further increased.

本発明の一実施形態に係る半導体装置の構成を示すブロック図。1 is a block diagram illustrating a configuration of a semiconductor device according to an embodiment of the present invention. テスト用加速クロック信号を用いない場合の桁上げ信号の出力を説明するタイミングチャート。The timing chart explaining the output of the carry signal when not using the acceleration clock signal for a test. 第1分周信号と第2分周信号が累乗の関係にない場合の桁上げ信号の出力を説明するタイミングチャート。The timing chart explaining the output of a carry signal when the first divided signal and the second divided signal are not in a power relationship. 第1分周信号と第2分周信号が累乗の関係にある場合の桁上げ信号の出力を説明するタイミングチャート。The timing chart explaining the output of a carry signal when the first frequency-divided signal and the second frequency-divided signal are in a power relationship.

符号の説明Explanation of symbols

1…半導体装置、100…発振回路、200…駆動回路、210…第1分周回路、22
0…第1入力信号切替回路、230…第2分周回路、240…第2入力信号切替回路、2
50…第3分周回路、300…桁上げ発生回路、310…クロックカウンタ、400…3
線式シリアルインターフェース制御回路、500…システム制御レジスタ、600…バス
、V0…基準信号、V1…第1分周信号、V2…第2分周信号、V3…駆動信号、V4…
桁上げ基準信号、S1…第1出力信号、S2…第2出力信号、UP…桁上げ信号、C1…
第1制御信号、C2…第2制御信号、R…リセット信号、TEST…テスト用加速クロッ
ク信号、DIO…データ入出力信号、CLK…クロック信号、CE…チップイネーブル信
号。
DESCRIPTION OF SYMBOLS 1 ... Semiconductor device, 100 ... Oscillator circuit, 200 ... Drive circuit, 210 ... 1st frequency divider circuit, 22
0 ... first input signal switching circuit, 230 ... second frequency dividing circuit, 240 ... second input signal switching circuit, 2
50: Third frequency dividing circuit, 300: Carry generating circuit, 310: Clock counter, 400 ... 3
Linear serial interface control circuit, 500 ... system control register, 600 ... bus, V0 ... reference signal, V1 ... first frequency division signal, V2 ... second frequency division signal, V3 ... drive signal, V4 ...
Carry reference signal, S1 ... first output signal, S2 ... second output signal, UP ... carry signal, C1 ...
First control signal, C2 ... second control signal, R ... reset signal, TEST ... test acceleration clock signal, DIO ... data input / output signal, CLK ... clock signal, CE ... chip enable signal.

Claims (4)

基準信号を発生する発振回路と、前記基準信号を分周し駆動信号を生成する駆動回路と
、からなり、前記駆動信号により計時機能を制御する半導体装置において、
前記駆動回路は、
前記駆動信号を加速して出力するためのテスト用加速クロック信号を有し、
前記基準信号を入力し第1の分周信号を出力する第1の分周回路と、
前記第1の分周信号を出力するか、または、前記テスト用加速クロック信号を出力する
か、を選択する第1の制御信号により制御される第1の入力信号切替回路と、
前記第1の入力信号切替回路の出力信号を入力し第2の分周信号を出力する第2の分周
回路と、
前記第2の分周信号を出力するか、または、前記テスト用加速クロック信号を出力する
か、を選択する第2の制御信号により制御される第2の入力信号切替回路と、
前記第2の入力信号切替回路の出力信号を入力し前記駆動信号を出力する第3の分周回
路と、を有する、
ことを特徴とする半導体装置。
In a semiconductor device that includes an oscillation circuit that generates a reference signal and a drive circuit that divides the reference signal to generate a drive signal, and controls a timekeeping function by the drive signal,
The drive circuit is
A test acceleration clock signal for accelerating and outputting the drive signal;
A first frequency divider that inputs the reference signal and outputs a first frequency-divided signal;
A first input signal switching circuit controlled by a first control signal for selecting whether to output the first frequency-divided signal or to output the test acceleration clock signal;
A second frequency dividing circuit for inputting an output signal of the first input signal switching circuit and outputting a second frequency divided signal;
A second input signal switching circuit controlled by a second control signal for selecting whether to output the second frequency-divided signal or to output the test acceleration clock signal;
A third frequency dividing circuit for inputting the output signal of the second input signal switching circuit and outputting the drive signal;
A semiconductor device.
請求項1に記載の半導体装置において、前記第1の分周回路の分周率と、前記第2の分
周回路の分周率と、前記第3の分周回路の分周率の各々は、前記第1の分周信号の周波数
と、前記第2の分周信号の周波数と、前記駆動信号の周波数の各々が、所定の自然数nの
累乗となるように設定されている、ことを特徴とする半導体装置。
2. The semiconductor device according to claim 1, wherein each of a frequency dividing ratio of the first frequency dividing circuit, a frequency dividing ratio of the second frequency dividing circuit, and a frequency dividing ratio of the third frequency dividing circuit are: The frequency of the first frequency-divided signal, the frequency of the second frequency-divided signal, and the frequency of the drive signal are each set to be a power of a predetermined natural number n. A semiconductor device.
請求項1または2に記載の半導体装置において、前記第1の分周信号の周波数は前記所
定の自然数nの2乗、前記第2の分周信号の周波数は前記所定の自然数nの1乗、前記駆
動信号の周波数は前記所定の自然数nの0乗、である、ことを特徴とする半導体装置。
3. The semiconductor device according to claim 1, wherein the frequency of the first frequency-divided signal is the square of the predetermined natural number n, the frequency of the second frequency-divided signal is the power of the predetermined natural number n, The frequency of the drive signal is the predetermined natural number n to the 0th power, and the semiconductor device is characterized in that:
請求項1から3のいずれか一項に記載の半導体装置を備えた電子機器。
The electronic device provided with the semiconductor device as described in any one of Claim 1 to 3.
JP2005305307A 2005-10-20 2005-10-20 Semiconductor device and electronic equipment employing the same Withdrawn JP2007114031A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005305307A JP2007114031A (en) 2005-10-20 2005-10-20 Semiconductor device and electronic equipment employing the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005305307A JP2007114031A (en) 2005-10-20 2005-10-20 Semiconductor device and electronic equipment employing the same

Publications (1)

Publication Number Publication Date
JP2007114031A true JP2007114031A (en) 2007-05-10

Family

ID=38096360

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005305307A Withdrawn JP2007114031A (en) 2005-10-20 2005-10-20 Semiconductor device and electronic equipment employing the same

Country Status (1)

Country Link
JP (1) JP2007114031A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106168751A (en) * 2015-05-18 2016-11-30 精工电子有限公司 Frequency dividing circuit, the control method of frequency dividing circuit and analog electronic clock

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106168751A (en) * 2015-05-18 2016-11-30 精工电子有限公司 Frequency dividing circuit, the control method of frequency dividing circuit and analog electronic clock
CN106168751B (en) * 2015-05-18 2019-11-26 精工电子有限公司 Frequency dividing circuit, the control method of frequency dividing circuit and analog electronic clock

Similar Documents

Publication Publication Date Title
JP5343966B2 (en) Clock signal divider circuit and method
JP2005122374A (en) Clock changing circuit
US20100244901A1 (en) Clock switching circuit, integrated circuit device and electronic apparatus
JP4418954B2 (en) Data pattern generator
US20080246641A1 (en) Waveform generator and test apparatus
JP2003316566A (en) Pipeline processor
JP2007114031A (en) Semiconductor device and electronic equipment employing the same
JPH11145786A (en) Flip-flop reset circuit
US20100201409A1 (en) Frequency Divider Circuit
US7345496B2 (en) Semiconductor apparatus and test execution method for semiconductor apparatus
JP4666462B2 (en) Counter circuit and semiconductor device including the same
KR20190078109A (en) Clock monitoring circuit
US20060033533A1 (en) Semiconductor device
JP4691791B2 (en) Data processing system
JP2000163155A (en) Data processing circuit
JPH0815392A (en) Test mode setting circuit
JP2002300035A (en) Analog/digital interface circuit
JP2005322075A (en) Clock signal output device
JPH09145803A (en) Test mode setting circuit
JP2002005994A (en) Test circuit for semiconductor device
JP2950350B2 (en) Signal generation circuit
CN110784176A (en) Oscillator device
JP2008196917A (en) Asynchronous type counter circuit
JP2006325050A (en) Semiconductor integrated circuit
US20080309373A1 (en) Integrated circuit device and electronic instrument

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20070405

A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20090106