JPH03214241A - Test method for microprocessor - Google Patents
Test method for microprocessorInfo
- Publication number
- JPH03214241A JPH03214241A JP2010389A JP1038990A JPH03214241A JP H03214241 A JPH03214241 A JP H03214241A JP 2010389 A JP2010389 A JP 2010389A JP 1038990 A JP1038990 A JP 1038990A JP H03214241 A JPH03214241 A JP H03214241A
- Authority
- JP
- Japan
- Prior art keywords
- interrupt
- microprocessor
- priority
- address
- 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.)
- Pending
Links
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔産業−1−の利用分野〕
本発明は、マイクロプロセッサのテスト方法に関するも
のである。DETAILED DESCRIPTION OF THE INVENTION [Field of Application in Industry-1-] The present invention relates to a testing method for microprocessors.
近年、半導体回路集積技術の進歩に伴い、マイクロプロ
セッサは高機能化、高集積化が進んでいるが、そのテス
ト方法は益々複雑化しており、これを簡易化することが
重要な課題の一つとなっている現状にある。In recent years, with advances in semiconductor circuit integration technology, microprocessors have become more sophisticated and highly integrated, but their testing methods have become increasingly complex, and simplifying them is an important issue. The current situation is that
従ffiのマイクロプロセッサのテスト方法は、専用の
テスト回路を設けて、このテスト回路によりマイクロプ
ロセッサの内部状態を読み出すことによりテストを行っ
ていた。In the conventional FFI microprocessor testing method, a dedicated test circuit is provided, and the test is performed by reading out the internal state of the microprocessor using this test circuit.
第2図はスキャンパス法を用いた従来のマイクロプロセ
ッサのテスト方法に用いられる装置の構成を示している
。この図において、(II)(+2)・・・(In)は
2系統の入力と、これら2系統の入力を選択する選択制
御入力と1系統の出力とを有する第1〜第nレジスタ、
(20)は組合せ回路である。FIG. 2 shows the configuration of an apparatus used in a conventional microprocessor testing method using the scan path method. In this figure, (II)(+2)...(In) are the first to nth registers having two systems of input, a selection control input for selecting these two systems of input, and one system of output;
(20) is a combinational circuit.
(21)(22)・・・(2n )は組合せ回路(20
)によって与えられるマイクロプロセッサの内部状態を
それぞれ対応するレジスタ(11)(12)・・・(1
n)の2系統の入力の一方に5える信号線、(31)(
32)・・・(3n)は組合せ回路(20)より各レジ
スタ(II)(12)・・・(In)に与えられたマイ
クロプロセッサの内部状態をそれぞれ次段のレジスタの
2系統の入力の他方に与える信号線、(40)は最終段
のレジスタの内容を外部へ出力する信号L (4J)(
42)・・・(4n)はそれぞれレジスタ(II)(+
2)・・・(In)の2系統の大ツバすなわち組合せ回
路(20)または前段レジスタの出力のいずれかの入力
を選択する選択制御入力信号線である。(21)(22)...(2n) is a combinational circuit (20
), the internal states of the microprocessor given by the corresponding registers (11), (12)...(1
Connect the signal line (31) to one of the two input systems of n) (
32)...(3n) converts the internal state of the microprocessor given to each register (II) (12)...(In) from the combinational circuit (20) to the two input systems of the next register. The signal line (40) given to the other side is the signal L (4J) (
42)...(4n) are registers (II) (+
2)...(In) is a selection control input signal line for selecting the input of either the combinational circuit (20) or the output of the previous stage register.
以上の構成において、組合せ回路(20)により与えら
れるマイクロプロセッサの内部状態は信号線(2I)を
通じて第2レジスタ(11)へ格納されると共に、信号
線(32)を通して第2レジスタ(!2)へ格納され、
以下、同様にして順次、次段のレジスタヘシフトされ、
信号線(3n)を通じて最終段の第nレジスタ(1n)
へ格納された後、信号線(40)を通じて外部へ読み出
されるものである。In the above configuration, the internal state of the microprocessor provided by the combinational circuit (20) is stored in the second register (11) through the signal line (2I), and is stored in the second register (!2) through the signal line (32). stored in
Thereafter, they are sequentially shifted to the next register in the same way,
The nth register (1n) at the final stage through the signal line (3n)
After being stored in the memory, it is read out to the outside through a signal line (40).
1−記のように、スキャンバス法ではシフトレジスタ(
11)〜(In)から構成される専用のテスト回路を設
け、マイクロプロセッサの内部状態を各レジスタ(II
)〜(1n)へ格納して、順次レジスタ(11)〜(I
n)間をソフトすることにより読み出すことにより、テ
ストを行うものであった。As mentioned in 1-1, in the scanvase method, the shift register (
A dedicated test circuit consisting of 11) to (In) is provided, and the internal state of the microprocessor is tested by each register (II).
) to (1n), and sequentially registers (11) to (I
n) The test was carried out by reading by software.
しかしながら、−に記従来例のように専用のテスト回路
を設け、マイクロプロセッサの内部状態を読み出すこと
によりテストを行えば、各段毎にレジスタ(II)〜(
In)が必要になるなど、ハードウェアの増加を引き起
こすという問題点があった。However, if a dedicated test circuit is provided as in the conventional example described in - and a test is performed by reading out the internal state of the microprocessor, then registers (II) to (
There is a problem in that the amount of hardware increases, such as the need for In).
本発明は、このような問題点に鑑みてなされたもので、
ハードウェアの増加を抑制し、マイクロプロセ、すの内
部状態を評価し、効率良くテストを行うことが可能なマ
イクロプロセッサのテスト力法を提供することを1目的
とするものである。The present invention was made in view of these problems, and
One purpose of this invention is to provide a microprocessor testing method that can suppress the increase in hardware, evaluate the internal state of a microprocessor, and perform tests efficiently.
1−8記L1的を達成するために本発明方法は、割り込
み検出手段と、この割り込み検出手段において検出され
た割り込みに対して優先順位を割り付ける優先順位割り
付け手段と、この優先順位割り付け手段において優先付
けられた割り込みの内容に応じて割り込み処理の開始を
示す特定のアドレスを生成するアドレス生成手段とによ
り構成された割り込み処理制御手段と、テスト用割り込
み発生手段とをを備し、前記割り込み発生手段にマイク
ロプロセッサの内部情報を5え、この内部情報を評価し
た結果fTij記割り込み発生手段が割り込みを発生し
前記優先順位割り付け手段において優先付けられた割り
込みの内容に応じて前記アドレス生成手段から生成され
る特定アドレスを評価することによりマイクロプロセッ
サの内部状態のテストを行うことを特徴とするものであ
る。In order to achieve objective L1 in item 1-8, the method of the present invention includes: an interrupt detection means; a priority assignment means for assigning a priority to the interrupt detected by the interrupt detection means; an interrupt processing control means configured with an address generation means for generating a specific address indicating the start of interrupt processing according to the content of the attached interrupt, and a test interrupt generation means, the interrupt generation means 5, the internal information of the microprocessor is evaluated, and as a result of evaluating this internal information, the interrupt generating means generates an interrupt, and the address generating means generates an interrupt according to the contents of the interrupt prioritized by the priority assigning means. This method is characterized by testing the internal state of a microprocessor by evaluating a specific address.
本発明は」−記構酸により、テスト用割り込み発生手段
にマイクロプロセッサの内部情報が与えられ、この内部
情報を評価した結果、割り込み発生1段が割り込みを発
生する。次に、発生した割り込みを受けて優先順位割り
付け手段において優先付けられた割り込みの内容に応じ
てアドレス生成手段から特定のアドレスが生成されるも
のである。According to the present invention, internal information of the microprocessor is given to the test interrupt generating means, and as a result of evaluating this internal information, the interrupt generation stage 1 generates an interrupt. Next, in response to the generated interrupt, the address generating means generates a specific address according to the content of the interrupt prioritized by the priority assigning means.
したがって、生成された特定アドレスを評価することに
よりマイクロプロセッサの内部状態をテストすることが
可能になる。Therefore, it is possible to test the internal state of the microprocessor by evaluating the generated specific address.
〔実 施 例〕
以下、本発明の一実施例について図面を参照しながら詳
細に説明する。第1図はこの実施例で用いられる装置の
構成を示している。(51)(52)・・・(5n)は
割り込み検出手段、(GO)は割り込み検出手段(51
)(52)・・・(5n)で検出された割り込みに優先
順位を割り付ける優先順位割り付け手段、(61)は優
先順位割り付け手段(GO)において優先付けられた割
り込みの内容に応じて割り込み処理の開始を示す特定の
アドレスを生成するアドレス生成手段である。[Example] Hereinafter, an example of the present invention will be described in detail with reference to the drawings. FIG. 1 shows the configuration of the apparatus used in this embodiment. (51) (52)... (5n) is an interrupt detection means, (GO) is an interrupt detection means (51
) (52)...Priority assignment means (5n) assigns a priority to the detected interrupt, and (61) performs interrupt processing according to the content of the interrupt prioritized by the priority assignment means (GO). This is address generation means that generates a specific address indicating the start.
また、(71072)・・・(7n)はそれぞれ割り込
み検出手段(51052)・・・(5n)で検出された
割り込みを優先順位割り付け手段(60)へ通知する信
号線であって、優先順位割り付け手段(60)は通知さ
れた割り込みの中から処理すべき割り込みに対して優先
順位を割り付ける。(80)は優先順位割り付け手段(
60)で優先権を′ノえられた処理すべき割り込みの内
容をアドレス生成丁・段(61)へ通知する信号線であ
って、アドレス生成丁段(61)は通知された処理すべ
き割り込みの内容に応じて割り込み処理の開始を示す特
定のアドレスを牛成する。(81)はアドレス生成19
段(旧)で牛成されたアドレスを外部へ読み出すイ+i
”J線である。Further, (71072)...(7n) are signal lines for notifying the priority allocation means (60) of the interrupts detected by the interrupt detection means (51052)...(5n), respectively. The means (60) assigns priorities to the interrupts to be processed from among the notified interrupts. (80) is the priority assignment means (
This is a signal line that notifies the address generation stage (61) of the contents of the interrupt to be processed whose priority has been given in step 60), and the address generation stage (61) is responsible for notifying the notified interrupt to be processed. A specific address indicating the start of interrupt processing is determined according to the contents of the address. (81) is address generation 19
Read out the address created in step (old) to the outside
``It's the J line.
(82)は従来よりマイクロプロセ、すに設けられてい
る割り込み処理制御手段であって、この実施例では、1
)1f記割り込み検出手段(51H52)=15n)と
優先順位割り付け手段(60)とアドレス生成手段(6
1)とにより構成されるものである。(83)はテスト
用割り込み発生手段、(84)はマイクロプロセッサ内
のP L Aの状#X遷移の情報をテスト用割り込み定
牛丁゛段(83)へ通知する(;、j ”J’線である
。(85)はテスト用割り込み発I]丁段(83)が前
記マイクロプロセッサ内のP L Aの状態遷移の情報
を評価して割り込み発/lを優先順位割り付け1段(6
0)へ通知する信弓°線である。(82) is an interrupt processing control means conventionally provided in a microprocessor, and in this embodiment, 1
) 1f interrupt detection means (51H52) = 15n), priority allocation means (60), and address generation means (6
1). (83) is a test interrupt generation means, and (84) is a test interrupt setting stage (83) that is notified of the state #X transition information of PLA in the microprocessor (;, j "J' (85) is the test interrupt generation I] Ding stage (83) evaluates the information on the state transition of the PLA in the microprocessor, and assigns the interrupt generation /l a priority level to the first stage (6
0) is the Shinkyu Line.
以l−の各手段を準備して行うこの実施例に係るテスト
方法は、前記マイクロプロセッサ内のPLAがある特定
の状態になると、テスト用割り込み発生手段(83)が
これを検知して信号線(85)を通じて割り込み発生を
優先順位割り付け手段(6o)へ通知する。次に、優先
順位割り付け手段(6o)は割り込み内容の優先順位割
り付けを打い、その結果を信zj線(80)を通じてア
ドレス生成手段(61)に通知する。そして、アドレス
生成手段(6r月ま割り込み内容に応じた特定のアドレ
スを生成し、イ言号線(81)より外部へ141力する
。In the test method according to this embodiment, which is carried out by preparing each of the means listed below, when the PLA in the microprocessor enters a certain state, the test interrupt generating means (83) detects this and interrupts the signal line. The occurrence of the interrupt is notified to the priority allocation means (6o) through (85). Next, the priority assignment means (6o) assigns the priority of the interrupt contents and notifies the address generation means (61) of the result through the signal zz line (80). Then, the address generating means (6r) generates a specific address according to the interrupt contents and outputs it to the outside from the I word line (81).
したがって、Il’l記仏号線(81)から出力された
特定のアドレスを評価することにより、マイクロプロセ
ッサ内のPLAの状態をテストすることができる。史に
、化シフ線(84)へ′ノ″えるマイクロプロセッサ内
のPLAの状態遷移の情報をマイクロブロセ、す内のA
LUの演算結果の情報、キャッシュのヒツトまたはミス
ヒツトの情報などのマイクロプロセッサ内の他の情報に
置き換えても、同様に仁−ノ線(81)より外部へ出力
する特定のアドレスを、:゛「値することによりマイク
ロプロセッサの内部状態がテストできることはJi゛う
までもない。Therefore, by evaluating the specific address output from the Il'l code line (81), the state of the PLA within the microprocessor can be tested. In history, information on the state transition of the PLA in the microprocessor is sent to the Schiff line (84) by A in the microprocessor.
Even if it is replaced with other information in the microprocessor, such as LU operation result information, cache hit or miss information, the specific address to be output from the Jinno line (81) to the outside can be replaced with: It goes without saying that the internal state of the microprocessor can be tested by checking the value.
以1゛、説明したように本発明のマイクロプロセッサの
テスト方法によるときは、割り込み検出手段と、この割
り込み検出手段において検出された割り込みに対して優
先順位を割り付ける優先順位割り付け手段と、前記優先
順位割り付け手段において優先付けられた割り込みの内
容に応じて割り込み処理の開始を示す特定のアドレスを
生成するアドレス生成手段からなるマイクロプロセッサ
の割り込み処理制御手段と、テストを目的としてマイク
ロプロセッサの内部情報の評価結果により割り込みを発
生させる割り込み発生r′段とを準備し、これらの1段
を用いてテストを行うもので、マイクロブロセ、すの内
部情報の評価結果から割り込みが発生し、光牛ルた割り
込みを受けて前記優先順位割り付け丁−段において優先
付けられた割り込みの内容に応じて前記アドレス生成手
段から特定のアドレスが生成されるので、この特定アド
レスを評価することにより、・14易な回路付加でハー
ドウェアの増加を抑制することができると共に、マイク
ロプロセッサの内部状態を評価して効率良くマイクロプ
ロセッサをテストすることができ、その結果、マイクロ
プロセンサあるいはマイクロプロセッサを用いたシステ
ムの信頼性を向にさせることができるという優れた効果
を奏するものとなった。1. As explained above, when the microprocessor testing method of the present invention is used, an interrupt detection means, a priority assignment means for assigning a priority to the interrupt detected by the interrupt detection means, and a priority assignment means for assigning a priority to the interrupt detected by the interrupt detection means, A microprocessor interrupt processing control means comprising an address generation means that generates a specific address indicating the start of interrupt processing according to the contents of the interrupt prioritized by the allocation means, and an evaluation of internal information of the microprocessor for testing purposes. An interrupt generation r' stage that generates an interrupt based on the result is prepared, and a test is performed using one of these stages. Since a specific address is generated from the address generation means according to the contents of the interrupt prioritized in the priority allocation stage in response to an interrupt, by evaluating this specific address, In addition to suppressing the increase in hardware, the internal state of the microprocessor can be evaluated and the microprocessor can be tested efficiently.As a result, the reliability of the microprocessor or the system using the microprocessor can be improved. This resulted in an excellent effect in that it was possible to direct the
第1図は本発明方法の・実施例において使用されるテス
ト装置の構成を示すブロック図、第2図はスキャンパス
法を用いた従来例のマイクロプロセッサのテスト方法に
使用される装置の構成を示すブロック図である。
(51H52)・・・(5n)・・・割り込み検出手段
、(Go)・・・優先順位割り付けP段、(Gl)・・
・アドレス生成手段、(82)・・・割り込み処理制御
手段、(83)・・・テスト用割り込み発生手段。FIG. 1 is a block diagram showing the configuration of a test device used in an embodiment of the method of the present invention, and FIG. 2 is a block diagram showing the configuration of a device used in a conventional microprocessor test method using the scan path method. FIG. (51H52)...(5n)...Interrupt detection means, (Go)...Priority assignment P stage, (Gl)...
- Address generation means, (82)...Interrupt processing control means, (83)...Test interrupt generation means.
Claims (1)
検出された割り込みに対して優先順位を割り付ける優先
順位割り付け手段と、この優先順位割り付け手段におい
て優先付けられた割り込みの内容に応じて割り込み処理
の開始を示す特定のアドレスを生成するアドレス生成手
段とにより構成された割り込み処理制御手段と、テスト
用割り込み発生手段とを準備し、前記割り込み発生手段
にマイクロプロセッサの内部情報を与え、この内部情報
を評価した結果前記割り込み発生手段が割り込みを発生
し前記優先順位割り付け手段において優先付けられた割
り込みの内容に応じて前記アドレス生成手段から生成さ
れる特定アドレスを評価することによりマイクロプロセ
ッサの内部状態のテストを行うことを特徴とするマイク
ロプロセッサのテスト方法。An interrupt detection means, a priority assignment means for assigning a priority to the interrupt detected by the interrupt detection means, and a specification indicating the start of interrupt processing according to the content of the interrupt prioritized by the priority assignment means. An interrupt processing control means constituted by an address generation means for generating the address of The interrupt generating means generates an interrupt and tests the internal state of the microprocessor by evaluating a specific address generated by the address generating means according to the contents of the interrupt prioritized by the priority assigning means. Characteristics of microprocessor testing methods.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010389A JPH03214241A (en) | 1990-01-18 | 1990-01-18 | Test method for microprocessor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010389A JPH03214241A (en) | 1990-01-18 | 1990-01-18 | Test method for microprocessor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03214241A true JPH03214241A (en) | 1991-09-19 |
Family
ID=11748768
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2010389A Pending JPH03214241A (en) | 1990-01-18 | 1990-01-18 | Test method for microprocessor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03214241A (en) |
-
1990
- 1990-01-18 JP JP2010389A patent/JPH03214241A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS63200249A (en) | Pseudo fault generating system for cache memory device | |
| JP2000132430A (en) | Signal processing device | |
| JPH03214241A (en) | Test method for microprocessor | |
| US7360129B2 (en) | Simultaneous switch test mode | |
| US6216189B1 (en) | Error master detector | |
| US6266626B1 (en) | ROM data verification circuit | |
| EP0392563A2 (en) | Microcode testing method and apparatus therefor | |
| JP2808303B2 (en) | IC device test equipment | |
| JP2704062B2 (en) | Information processing device | |
| JP2876606B2 (en) | Information processing device | |
| JP3060650B2 (en) | Pattern memory device | |
| JPS59160898A (en) | Fault diagnostic device of storage device | |
| JPS6054059A (en) | Storage device | |
| JPS60221842A (en) | Fault diagnosing circuit of logical device | |
| JPS59191656A (en) | Memory ic simulator | |
| JPH02123435A (en) | Memory bank busy control circuit | |
| JPS63140342A (en) | Test system for error detecting circuit | |
| JPS59144246A (en) | Data reception control system | |
| JPH05150012A (en) | Semiconductor integrated circuit device | |
| JPH0593764A (en) | Inspecting apparatus for logic circuit | |
| JPH05346892A (en) | Information processor | |
| JPH06119258A (en) | Common bus trace marking circuit | |
| JP2001133516A (en) | Semiconductor test circuit | |
| JPH0580889A (en) | Unit initialization device for real-time processor device | |
| JP2004103762A (en) | Semiconductor device |