Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3082674B2 - Microcomputer - Google Patents
[go: Go Back, main page]

JP3082674B2 - Microcomputer - Google Patents

Microcomputer

Info

Publication number
JP3082674B2
JP3082674B2 JP08174195A JP17419596A JP3082674B2 JP 3082674 B2 JP3082674 B2 JP 3082674B2 JP 08174195 A JP08174195 A JP 08174195A JP 17419596 A JP17419596 A JP 17419596A JP 3082674 B2 JP3082674 B2 JP 3082674B2
Authority
JP
Japan
Prior art keywords
signal
test
program
reset
input
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.)
Expired - Fee Related
Application number
JP08174195A
Other languages
Japanese (ja)
Other versions
JPH103401A (en
Inventor
博之 ▲高▼井
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP08174195A priority Critical patent/JP3082674B2/en
Publication of JPH103401A publication Critical patent/JPH103401A/en
Application granted granted Critical
Publication of JP3082674B2 publication Critical patent/JP3082674B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Microcomputers (AREA)
  • Tests Of Electronic Circuits (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、マイクロコンピュ
ータに関し、特にダイナミックBT(バーンインテス
ト)にてスクリーニングを効果的に行えるようにしたマ
イクロコンピュータに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microcomputer, and more particularly, to a microcomputer capable of effectively performing screening by a dynamic BT (burn-in test).

【0002】[0002]

【従来の技術】図5は、従来のマイクロコンピュータの
構成をブロック図にて示したものである。図5を参照す
ると、従来のマイクロコンピュータ30は、テスト時に
のみ、読み出し可能とされるテストROM(読み出し専
用メモリ)3と、マイクロコンピュータ30をテストす
るための状態に設定にする信号9を出力するテストモー
ド設定ユニット2と、CPU1と、外部端子として、ク
ロック端子5、リセット端子6、及びテスト端子7と、
を備えて構成され、CPU1は、テスト時にテストRO
M3に格納されたプログラムを実行することが可能とさ
れている。
2. Description of the Related Art FIG. 5 is a block diagram showing a configuration of a conventional microcomputer. Referring to FIG. 5, a conventional microcomputer 30 outputs a test ROM (read only memory) 3 that can be read only during a test, and a signal 9 for setting the microcomputer 30 to a state for testing. A test mode setting unit 2, a CPU 1, external terminals such as a clock terminal 5, a reset terminal 6, and a test terminal 7,
CPU 1 has a test RO during a test.
The program stored in M3 can be executed.

【0003】テスト端子7の入力される信号により、ダ
イナミックBTモードに設定されると、テストモード設
定ユニット2は、CPU1とテストROM3とに対し
て、ダイナミックBTモード信号9を出力する。マイク
ロコンピュータ30は、このダイナミックBTモード信
号9により、ダイナミックBTモードに設定される。
When the dynamic BT mode is set by a signal input to the test terminal 7, the test mode setting unit 2 outputs a dynamic BT mode signal 9 to the CPU 1 and the test ROM 3. The microcomputer 30 is set to the dynamic BT mode by the dynamic BT mode signal 9.

【0004】また、パルス信号を出力するリセットジェ
ネレータ14がマイクロコンピュータ30のリセット端
子6に接続され、リセットジェネレータ14からリセッ
ト信号12が入力されると、クロック端子5に接続され
たクロックジェネレータ13の出力から入力されるクロ
ック信号8に同期して、CPU1は、テストROM3よ
り命令を読み込んで動作を開始する。
A reset generator 14 for outputting a pulse signal is connected to a reset terminal 6 of the microcomputer 30. When a reset signal 12 is input from the reset generator 14, an output of the clock generator 13 connected to the clock terminal 5 is output. In synchronization with the clock signal 8 input from the CPU 1, the CPU 1 reads an instruction from the test ROM 3 and starts operation.

【0005】そして、マイクロコンピュータ30の動作
とは無関係にリセットジェネレータ14は、設定された
周波数にて、次のパルス(リセットパルス)をマイクロ
コンピュータ30のリセット端子6に供給する。
[0005] Regardless of the operation of the microcomputer 30, the reset generator 14 supplies the next pulse (reset pulse) to the reset terminal 6 of the microcomputer 30 at the set frequency.

【0006】リセットジェネレータ14から出力される
パルスにより、マイクロコンピュータのリセット信号1
2が発生し、このリセット信号12は、CPU1、テス
トROM3を初期化し、CPU1はテストROM3に格
納されているプログラムの最初から命令を読み込んで動
作する。
A reset signal 1 of the microcomputer is generated by a pulse output from the reset generator 14.
2, the reset signal 12 initializes the CPU 1 and the test ROM 3, and the CPU 1 operates by reading an instruction from the beginning of the program stored in the test ROM 3.

【0007】一つのリセットと次のリセットの間の時間
は、リセットジェネレータ14に設定されたパルス信号
の周波数で決定されるため、リセット〜リセット間の時
間を長くして、テストROM3に格納された命令をCP
U1がより数多く実行するために、リセットジェネレー
タ14は、通常、その最低周波数に設定される。
Since the time between one reset and the next reset is determined by the frequency of the pulse signal set in the reset generator 14, the time between resets is increased and stored in the test ROM 3. Command CP
In order for U1 to perform more, reset generator 14 is typically set to its lowest frequency.

【0008】一方、CPU1は、クロック信号8に同期
して命令を実行するため、リセット〜リセット間に入力
されるクロック数が多い程、CPU1は多くの命令が実
行できる。このためクロックジェネレータ13は、通
常、最高周波数に設定される。
On the other hand, since the CPU 1 executes instructions in synchronization with the clock signal 8, as the number of clocks input between resets increases, the CPU 1 can execute more instructions. Therefore, the clock generator 13 is normally set to the highest frequency.

【0009】このように、従来のマイクロコンピュータ
30において、ダイナミックBTモード時に実行できる
命令の数は、リセットジェネレータ14の最低周波数
と、クロックジェネレータの最高周波数によって決定さ
れている。
As described above, in the conventional microcomputer 30, the number of instructions that can be executed in the dynamic BT mode is determined by the lowest frequency of the reset generator 14 and the highest frequency of the clock generator.

【0010】[0010]

【発明が解決しようとする課題】上記したように、従来
のマイクロコンピュータにおいては、ダイナミックBT
モードに設定した後、BT(バーンインテスト)炉の外
部に備えられたパルスジェネレータをそれぞれクロック
ジェネレータ13、リセットジェネレータ14として用
い、テスト下のマイクロコンピュータ30にリセット信
号及びクロック信号をそれぞれ供給して、テストROM
3に格納されているプログラムを実行させることによ
り、スクリーニングを行っている。
As described above, in a conventional microcomputer, a dynamic BT is used.
After setting the mode, a pulse generator provided outside a BT (burn-in test) furnace is used as the clock generator 13 and the reset generator 14, respectively, and a reset signal and a clock signal are supplied to the microcomputer 30 under test, respectively. Test ROM
The screening is performed by causing the program stored in No. 3 to be executed.

【0011】しかしながら、ダイナミックBTモード時
において、マイクロコンピュータで実行されるプログラ
ム命令は、一つのリセットパルスが入力されてから次の
リセットパルスが入力されるまでの期間しか実行されな
い。
However, in the dynamic BT mode, a program command executed by the microcomputer is executed only during a period from the input of one reset pulse to the input of the next reset pulse.

【0012】ところで、マイクロコンピュータの全機能
を動作させてBT(バーンインテスト)を行おうとする
と、テストプログラムのサイズが増大し、テストROM
3のメモリ容量が増大し、この結果、パルスジェネレー
タの最低周波数で決定されるリセット〜リセット間の間
隔と、パルスジェネレータの駆動能力の限界で決定され
る実行クロックでは、テストROM3に格納されている
プログラムを全部実行することができなくなるという問
題点を有している。
When a BT (burn-in test) is performed by operating all the functions of the microcomputer, the size of the test program increases, and the test ROM is increased.
As a result, the interval between resets determined by the lowest frequency of the pulse generator and the execution clock determined by the limit of the driving capability of the pulse generator are stored in the test ROM 3. There is a problem that the entire program cannot be executed.

【0013】従って、本発明は、上記事情に鑑みてなさ
れたものであって、その目的は、内蔵するテストROM
を自走させて行うダイナミックBTにおいて、テストR
OMのメモリ容量を大きくなった場合にも、スクリーニ
ングが有効に行なえるようにしたマイクロコンピュータ
を提供することにある。
Accordingly, the present invention has been made in view of the above circumstances, and an object of the present invention is to provide a built-in test ROM.
In a dynamic BT that runs by
It is an object of the present invention to provide a microcomputer capable of performing screening effectively even when the memory capacity of the OM is increased.

【0014】[0014]

【課題を解決するための手段】前記目的を達成するた
め、本発明に係るマイクロコンピュータは、内蔵する機
能をテストする際のプログラムやデータを格納するテス
トROMと、前記テストROMに格納されたプログラム
を読み出して実行し、該プログラムの実行が終了すると
プログラム終了信号を出力するCPUと、テスト時にア
クティブとなるテストモード信号を生成するテストモー
ド設定手段と、前記テストモード信号がアクティブに変
化した時と、前記プログラム終了信号が出力された時と
に、前記テストROMと前記CPUを初期化して前記プ
ログラムの読み出しと実行を開始させる内部リセット信
号を出力する手段と、を備え、テスト時に、前記CPU
は、外部から供給されるリセット信号によらずに、繰り
返し前記プログラムを実行するようにしたものである。
In order to achieve the above object, a microcomputer according to the present invention comprises: a test ROM for storing a program and data for testing a built-in function; and a program stored in the test ROM.
Is read and executed, and when the execution of the program ends,
A CPU for outputting a program end signal, a test mode setting means for generating a test mode signal that becomes active during a test, and when the test mode signal changes to active, and when the program end signal is output.
Then, the test ROM and the CPU are initialized and the program is initialized.
And means for outputting an internal reset signal to start program read and execute, and during the test, the CPU
Does not depend on an externally supplied reset signal.
Der those to run the program returns Ru.

【0015】なお、前記テスト信号がアクティブの時、
前記マイクロコンピュータ内部に供給されるクロックを
逓倍する手段をさらに備えてもよい
[0015] It should be noted that, when the test signal is active,
The apparatus may further include means for multiplying a clock supplied to the inside of the microcomputer.

【0016】[0016]

【発明の実施の形態】本発明の実施の形態について図面
を参照して以下に説明する。図1は、本発明の第1の実
施の形態に係るマイクロコンピュータの構成をブロック
図にて示したものである。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a microcomputer according to a first embodiment of the present invention.

【0017】図1を参照すると、マイクロコンピュータ
20は、テスト時のみ読み出し可能とされるテストRO
M3と、マイクロコンピュータ20をテストするための
設定にする信号を出力するテストモード設定ユニット2
と、マイクロコンピュータ20の内部をリセットする内
部リセット信号11を出力するリセット発生回路4と、
CPU1と、外部端子として、クロック端子5、リセッ
ト端子6、テスト端子7と、を備えて構成され、CPU
1はテストROM3に格納されたプログラムを実行する
ことが可能とされている。
Referring to FIG. 1, microcomputer 20 has a test RO which can be read only during a test.
M3 and a test mode setting unit 2 which outputs a signal for setting for testing the microcomputer 20
A reset generation circuit 4 for outputting an internal reset signal 11 for resetting the inside of the microcomputer 20,
The CPU 1 includes a clock terminal 5, a reset terminal 6, and a test terminal 7 as external terminals.
1 is capable of executing a program stored in the test ROM 3.

【0018】テスト端子7に入力される信号により、ダ
イナミックBTモードに設定されると、テストモード設
定ユニット2は、CPU1と、テストROM3と、リセ
ット発生回路4に対して、ダイナミックBTモード信号
9を出力する。
When the dynamic BT mode is set by a signal input to the test terminal 7, the test mode setting unit 2 sends a dynamic BT mode signal 9 to the CPU 1, the test ROM 3, and the reset generation circuit 4. Output.

【0019】マイクロコンピュータ20は、ダイナミッ
クBTモード信号9により、ダイナミックBTモードに
設定されると、リセット発生回路4が、内部リセット信
号11を、CPU1、及びテストROM3に出力する。
When the microcomputer 20 is set to the dynamic BT mode by the dynamic BT mode signal 9, the reset generation circuit 4 outputs the internal reset signal 11 to the CPU 1 and the test ROM 3.

【0020】内部リセット信号11が入力されると、ク
ロック端子5に接続されているクロックジェネレータ1
3から出力されるクロック信号8に同期して、CPU1
はテストROM3より命令を読み込んで動作を開始す
る。
When the internal reset signal 11 is input, the clock generator 1 connected to the clock terminal 5
3 in synchronization with the clock signal 8 output from the
Reads an instruction from the test ROM 3 and starts operation.

【0021】本発明の実施の形態におけるリセット発生
回路4について以下に説明する。図2は、リセット発生
回路4の回路構成の一例を示した図であり、図3は、リ
セット発生回路の動作を説明するためのタイミング図で
ある。
The reset generation circuit 4 according to the embodiment of the present invention will be described below. FIG. 2 is a diagram showing an example of the circuit configuration of the reset generation circuit 4, and FIG. 3 is a timing chart for explaining the operation of the reset generation circuit.

【0022】図2を参照すると、リセット発生回路4
は、プログラム終了信号10の反転信号を出力するイン
バータ21の出力と、ダイナミックBTモード信号9と
を入力とする2入力NAND回路22と、2入力NAN
D回路22の出力(信号Aという)を遅延させる遅延回
路24と、遅延回路24の遅延出力の反転信号(「信号
B」という)を出力するインバータ25と、信号Aと信
号Bを入力とする2入力OR回路27と、リセット端子
6から入力されるリセット信号12の反転信号を出力す
るインバータ23と、ダイナミックBTモード信号9
と、インバータ23の出力を入力する2入力OR回路2
6と、OR回路26、27の出力を入力とするNAND
回路28と、を備えて構成され、NAND回路28の出
力から内部リセット信号11を出力している。なお、遅
延回路24は、例えば抵抗や容量を利用したアナログデ
ィレイからなる。
Referring to FIG. 2, reset generation circuit 4
Is a two-input NAND circuit 22 that receives an output of an inverter 21 that outputs an inverted signal of a program end signal 10 and a dynamic BT mode signal 9, and a two-input NAN.
A delay circuit 24 for delaying the output of the D circuit 22 (referred to as signal A), an inverter 25 for outputting an inverted signal of the delay output of the delay circuit 24 (referred to as "signal B"), and the signal A and the signal B as inputs. A two-input OR circuit 27, an inverter 23 that outputs an inverted signal of the reset signal 12 input from the reset terminal 6, and a dynamic BT mode signal 9
And a two-input OR circuit 2 for receiving the output of the inverter 23
6 and NANDs having outputs of OR circuits 26 and 27 as inputs
And an internal reset signal 11 from the output of the NAND circuit 28. Note that the delay circuit 24 is composed of, for example, an analog delay using a resistor or a capacitor.

【0023】ダイナミックBTモード信号9がロウレベ
ルの時、2入力NAND回路22は他の入力端の入力信
号レベルによらず、ハイレベルを出力し、2入力OR回
路27は信号Bのレベルによらず、ハイレベルを出力す
る。
When the dynamic BT mode signal 9 is at a low level, the two-input NAND circuit 22 outputs a high level irrespective of the input signal level of the other input terminal, and the two-input OR circuit 27 does not depend on the level of the signal B. Output a high level.

【0024】2入力OR回路26は、ダイナミックBT
モード信号9がロウレベルであるため、リセット信号1
2のインバータ23による反転信号をそのまま出力す
る。
The two-input OR circuit 26 has a dynamic BT
Since the mode signal 9 is at low level, the reset signal 1
The inverted signal from the second inverter 23 is output as it is.

【0025】2入力NAND回路28の2つの入力端に
は、2入力OR回路26、27の出力が入力されてお
り、2入力OR回路27の出力がハイレベルであるた
め、2入力NAND回路28は、2入力OR回路26の
出力の反転を出力する。
The outputs of the two-input OR circuits 26 and 27 are input to the two input terminals of the two-input NAND circuit 28. Since the output of the two-input OR circuit 27 is at a high level, the two-input NAND circuit 28 Outputs the inverted output of the two-input OR circuit 26.

【0026】すなわち、2入力NAND回路28の出力
(内部リセット信号11)は、リセット信号12と同じ
論理レベルとなる。
That is, the output (internal reset signal 11) of the two-input NAND circuit 28 has the same logic level as the reset signal 12.

【0027】ダイナミックBTモード信号9がハイレベ
ルの時の動作を、図3のタイミング図を参照して以下に
説明する。
The operation when the dynamic BT mode signal 9 is at a high level will be described below with reference to the timing chart of FIG.

【0028】ダイナミックBTモード信号9がロウレベ
ルからハイレベルに変化すると、2入力OR回路26
は、インバータ23の出力によらずハイレベルを出力す
る。
When the dynamic BT mode signal 9 changes from low level to high level, the two-input OR circuit 26
Outputs a high level regardless of the output of the inverter 23.

【0029】最初は、プログラム終了信号10がロウレ
ベルで、インバータ21はハイレベルを出力しているた
め、2入力NAND回路22は、ダイナミックBTモー
ド信号9の反転信号(ロウレベル)を信号Aとして出力
する。
At first, the program end signal 10 is at a low level and the inverter 21 outputs a high level. Therefore, the two-input NAND circuit 22 outputs an inverted signal (low level) of the dynamic BT mode signal 9 as a signal A. .

【0030】インバータ25の出力である信号Bは、遅
延回路24の遅延時間分、信号Aよりも変化(ロウレベ
ルからハイレベルへの遷移)が遅れている。
The signal B, which is the output of the inverter 25, is delayed from the signal A (transition from low level to high level) by the delay time of the delay circuit 24.

【0031】このため、遅延時間(DELAY)の間、
2入力OR回路27の入力は、共にロウレベルになり、
2入力OR回路27は、ロウレベル出力する。
For this reason, during the delay time (DELAY),
Both inputs of the two-input OR circuit 27 become low level,
The two-input OR circuit 27 outputs a low level signal.

【0032】このため、2入力NAND回路28は、こ
の遅延時間の間、内部リセット信号11としてハイレベ
ルを出力する。
Therefore, the two-input NAND circuit 28 outputs a high level as the internal reset signal 11 during this delay time.

【0033】遅延回路24の遅延時間後、インバータ2
5は信号Aのハイレベルを反転させて出力するので、信
号Bはハイレベルとなる。
After the delay time of the delay circuit 24, the inverter 2
Since the signal 5 is output after inverting the high level of the signal A, the signal B is at the high level.

【0034】信号Bがハイレベルになると、2入力OR
回路27はハイレベルを出力し、これに伴い、2入力N
AND回路28は内部リセット信号11としてロウレベ
ルを出力する。
When signal B goes high, a two-input OR
The circuit 27 outputs a high level, and accordingly, a two-input N
The AND circuit 28 outputs a low level as the internal reset signal 11.

【0035】テストROM3に格納されたプログラムの
実行が終わると、CPU1は、ある期間、プログラム終
了信号10をハイレベルにセットする。
When the execution of the program stored in the test ROM 3 is completed, the CPU 1 sets the program end signal 10 to a high level for a certain period.

【0036】その際、2入力NAND回路22は、一の
入力端に入力されるダイナミックBTモード信号9がハ
イレベルであるため、プログラム終了信号10を入力と
するインバータ21の出力信号を反転して出力する。
At this time, since the dynamic BT mode signal 9 input to one input terminal is at a high level, the two-input NAND circuit 22 inverts the output signal of the inverter 21 to which the program end signal 10 is input. Output.

【0037】プログラム終了信号10がロウレベルから
ハイレベルになると、インバータ21、2入力NAND
回路22と、2回レベルが反転されることになり、信号
Aはプログラム終了信号10と同じ論理のハイレベルと
なる。
When the program end signal 10 changes from the low level to the high level, the inverter 21, the two-input NAND
The level of the circuit 22 is inverted twice, and the signal A becomes the high level of the same logic as the program end signal 10.

【0038】2入力OR回路27の出力はハイレベルの
ままであり、2入力NAND回路28の出力はロウレベ
ルのまま変わらない。
The output of the two-input OR circuit 27 remains at the high level, and the output of the two-input NAND circuit 28 remains at the low level.

【0039】遅延回路24で定める遅延時間後、インバ
ータ25の出力である信号Bは、ハイレベルからロウレ
ベルに変化する。
After a delay time determined by the delay circuit 24, the signal B output from the inverter 25 changes from a high level to a low level.

【0040】そして、プログラム終了信号10がハイレ
ベルからロウレベルに変化すると、信号Aはロウレベル
に変化する。
When the program end signal 10 changes from high level to low level, the signal A changes to low level.

【0041】これ以降は、ダイナミックBT信号が最初
にロウレベルからハイレベルに変化した時と同様に、遅
延回路24の遅延時間分だけ内部リセット信号11が出
力され、テストROM3に格納されたプログラムが実行
される。
Thereafter, the internal reset signal 11 is output for the delay time of the delay circuit 24 and the program stored in the test ROM 3 is executed in the same manner as when the dynamic BT signal first changes from low level to high level. Is done.

【0042】このように、本発明の実施の形態において
は、リセット端子6から入力されるリセットジェネレー
タ14の周波数によらずに、テストROM3に格納され
たプログラムを全て実行できる。
As described above, in the embodiment of the present invention, all the programs stored in the test ROM 3 can be executed regardless of the frequency of the reset generator 14 input from the reset terminal 6.

【0043】上記した本発明の第実施の形態の変形を
参考例として以下に説明する。図4を参照すると、この
参考例は、マイクロコンピュータ20は、テスト時のみ
読み出すことができるテストROM3と、マイクロコン
ピュータをテストするための設定にする信号を出力する
テストモード設定ユニット2と、テストROM3に格納
されたプログラムを実行することが可能なCPU1と、
クロック端子5から入力されるパルスを逓倍し、マイク
ロコンピュータ20内部のCPU1、テストモード設定
ユニット2と、テストROM3に内部クロック信号16
として供給する逓倍回路15と、外部端子としてリセッ
ト端子6、テスト端子7を備えて構成されている。
A modification of the above-described first embodiment of the present invention
This will be described below as a reference example . Referring to Figure 4, the
In the reference example , the microcomputer 20 executes a program stored in the test ROM 3, a test ROM 3 that can be read only at the time of a test, a test mode setting unit 2 that outputs a signal for setting a setting for testing the microcomputer, and the like. A CPU 1 capable of
The pulse input from the clock terminal 5 is multiplied, and the internal clock signal 16 is stored in the CPU 1 and the test mode setting unit 2 in the microcomputer 20 and in the test ROM 3.
, And a reset terminal 6 and a test terminal 7 as external terminals.

【0044】逓倍回路15は、内部クロック信号16と
して逓倍後の信号か、あるいはクロック信号8かを選択
するためのセレクタ機能を内蔵しているものとする。
The multiplying circuit 15 has a built-in selector function for selecting whether the internal clock signal 16 is a signal after multiplication or the clock signal 8.

【0045】テスト端子7によりダイナミックBTモー
ドに設定されると、テストモード設定ユニット2は、C
PU1と、テストROM3に対して、ダイナミックBT
モード信号9を出力する。
When the dynamic BT mode is set by the test terminal 7, the test mode setting unit 2
Dynamic BT for PU1 and test ROM3
The mode signal 9 is output.

【0046】マイクロコンピュータ20は、ダイナミッ
クBTモード信号9によりダイナミックBTモードに設
定される。
The microcomputer 20 is set to the dynamic BT mode by the dynamic BT mode signal 9.

【0047】クロック端子5に接続されたクロックジェ
ネレータ13から入力されるクロック信号8は逓倍回路
15によって逓倍されマイクロコンピュータ内部に内部
クロック信号16として供給される。
The clock signal 8 input from the clock generator 13 connected to the clock terminal 5 is multiplied by the multiplying circuit 15 and supplied as an internal clock signal 16 to the inside of the microcomputer.

【0048】CPU1はリセット端子6に接続されたリ
セットジェネレータ14からリセット信号12が入力さ
れると、内部クロック信号16に同期してCPU1はテ
ストROM3により命令を読み込んで動作を開始する。
When the CPU 1 receives the reset signal 12 from the reset generator 14 connected to the reset terminal 6, the CPU 1 reads a command from the test ROM 3 and starts operation in synchronization with the internal clock signal 16.

【0049】逓倍回路15により、内部クロック信号1
6は、クロック信号と比べ、クロック数が増加されてい
るため、CPU1で実行できる命令数もクロックジェネ
レータ13の最高周波数によって決まる命令数よりも多
くすることができる。
The internal clock signal 1 is
6 has a larger number of clocks than the clock signal, so that the number of instructions that can be executed by the CPU 1 can be larger than the number of instructions determined by the maximum frequency of the clock generator 13.

【0050】[0050]

【発明の効果】以上説明したように、本発明によれば、
ダイナミックBTモードであることを示す信号によって
内蔵するテストROMに格納されたプログラムを実行後
自動的にリセットすることができ、このため、テストR
OMの内容(サイズ)が多くなっても、全てを実行する
ことができる。従って、本発明によれば、マイクロコン
ピュータがもつ全ての機能を動作させることが可能とな
り、従来のダイナミックBTよりもより効果的なスクリ
ーニングを行うことができるという効果を奏する。
As described above, according to the present invention,
The program stored in the built-in test ROM can be automatically reset after execution by the signal indicating the dynamic BT mode.
Even if the content (size) of the OM increases, all can be executed. Therefore, according to the present invention, it is possible to operate all the functions of the microcomputer, and it is possible to perform more effective screening than the conventional dynamic BT.

【0051】そして、実行クロックを逓倍し、実行クロ
ック数を増加させることにより、テストROMに格納さ
れたプログラムも最後まで実行することが可能となる。
[0051] Then, by multiplying the execution clock, by increasing the number of execution clocks, it is possible to run a program stored in the test ROM to the end.

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

【図1】本発明の第1の実施の形態に係るマイクロコン
ピュータのブロック図である。
FIG. 1 is a block diagram of a microcomputer according to a first embodiment of the present invention.

【図2】本発明の第1の実施の形態におけるリセット発
生回路の構成を示す図である。
FIG. 2 is a diagram illustrating a configuration of a reset generation circuit according to the first embodiment of the present invention.

【図3】本発明の第1の実施の形態におけるリセット発
生回路のタイミング図である。
FIG. 3 is a timing chart of the reset generation circuit according to the first embodiment of the present invention.

【図4】本発明の第2の実施の形態に係るマイクロコン
ピュータのブロック図である。
FIG. 4 is a block diagram of a microcomputer according to a second embodiment of the present invention.

【図5】従来のダイナミックBTを行えるマイクロコン
ピュータのブロック図である。
FIG. 5 is a block diagram of a microcomputer capable of performing a conventional dynamic BT.

【符号の説明】[Explanation of symbols]

1 CPU 2 テストモード設定ユニット 3 テストROM 4 リセット発生回路 5 クロック端子 6 リセット端子 7 テスト端子 8 クロック信号 9 ダイナミックBTモード信号 10 プログラム終了信号 11 内部リセット信号 12 リセット信号 13 クロックジェネレータ 14 リセットジェネレータ 15 逓倍回路 16 内部クロック信号 21、23、25 インバータ素子 22、28 2入力NAND回路素子 24 ディレイ素子 26、27 2OR素子 1 CPU 2 Test mode setting unit 3 Test ROM 4 Reset generation circuit 5 Clock terminal 6 Reset terminal 7 Test terminal 8 Clock signal 9 Dynamic BT mode signal 10 Program end signal 11 Internal reset signal 12 Reset signal 13 Clock generator 14 Reset generator 15 Multiplication Circuit 16 Internal clock signal 21, 23, 25 Inverter element 22, 28 2-input NAND circuit element 24 Delay element 26, 27 2OR element

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 11/22 - 11/26 G06F 15/78 G01R 31/28 - 31/30 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 11/22-11/26 G06F 15/78 G01R 31/28-31/30

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】内蔵する機能をテストする際のプログラム
やデータを格納するテストROMと、前記テストROMに格納されたプログラムを読み出して
実行し、該プログラムの実行が終了するとプログラム終
了信号を出力するCPUと 、 テスト時にアクティブとなるテストモード信号を生成す
るテストモード設定手段と、 前記テストモード信号がアクティブに変化した時と、前
プログラム終了信号が出力された時とに、前記テスト
ROMと前記CPUを初期化して前記プログラムの読み
出しと実行を開始させる内部リセット信号を出力する手
段と、 を備え、テスト時に、前記CPUは、外部から供給されるリセッ
ト信号によらずに、繰り返し前記プログラムを実行する
ようにしてなる 、ことを特徴とするマイクロコンピュー
タ。
1. A test ROM for storing a program and data for testing a built-in function, and a program stored in the test ROM for reading out the program
Program, and when the execution of the program ends, the program ends.
A CPU for outputting a completion signal, a test mode setting means for generating a test mode signal which becomes active during the test, and when the test mode signal is changed to active, before
When the program end signal is output,
ROM and the CPU are initialized to read the program.
Means for outputting an internal reset signal for initiating output and execution , during the test,
Repeatedly execute the program without depending on the trigger signal
Formed by way, microcomputer, characterized in that.
JP08174195A 1996-06-13 1996-06-13 Microcomputer Expired - Fee Related JP3082674B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP08174195A JP3082674B2 (en) 1996-06-13 1996-06-13 Microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP08174195A JP3082674B2 (en) 1996-06-13 1996-06-13 Microcomputer

Publications (2)

Publication Number Publication Date
JPH103401A JPH103401A (en) 1998-01-06
JP3082674B2 true JP3082674B2 (en) 2000-08-28

Family

ID=15974393

Family Applications (1)

Application Number Title Priority Date Filing Date
JP08174195A Expired - Fee Related JP3082674B2 (en) 1996-06-13 1996-06-13 Microcomputer

Country Status (1)

Country Link
JP (1) JP3082674B2 (en)

Also Published As

Publication number Publication date
JPH103401A (en) 1998-01-06

Similar Documents

Publication Publication Date Title
EP0127440A2 (en) Integrated circuit device incorporating a data processing unit and a ROM storing applications program therein
JPH04152716A (en) A/d converter
CN112187233A (en) Reset device, method, clock system and electronic equipment
KR100393472B1 (en) Automatic reset bypass control for scan test
JP3082674B2 (en) Microcomputer
JPH0679289B2 (en) Microcontroller unit
JP2866896B2 (en) Test method for read-only storage device and device for executing the method
CN114664365A (en) Memory data reading circuit, chip and hardware testing method
JP2552103B2 (en) Semiconductor integrated circuit
JP2618669B2 (en) Test mode setting circuit for semiconductor integrated circuit device
JPS638612B2 (en)
JP5240135B2 (en) Semiconductor memory device testing method and semiconductor memory device
JP2001228936A (en) Microcomputer with internal reset signal generation circuit
JP2770743B2 (en) Weight control method
JPH0377543B2 (en)
KR930002026Y1 (en) Reset circuit for programming peripherals
JP2961219B2 (en) Semiconductor integrated circuit
JP3633881B2 (en) Semiconductor device and AC spec inspection method thereof
JPH0348468B2 (en)
JPH0450657Y2 (en)
JP3727670B2 (en) Microcontroller
JP2001282324A (en) Sequence control circuit
JP2718402B2 (en) Time measurement circuit for built-in in-circuit emulator
JP3341506B2 (en) Semiconductor integrated circuit
JP2004040037A (en) Inspection equipment for semiconductor integrated circuits

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000530

LAPS Cancellation because of no payment of annual fees