JPH0822400A - Microcomputer testability circuit - Google Patents
Microcomputer testability circuitInfo
- Publication number
- JPH0822400A JPH0822400A JP6155839A JP15583994A JPH0822400A JP H0822400 A JPH0822400 A JP H0822400A JP 6155839 A JP6155839 A JP 6155839A JP 15583994 A JP15583994 A JP 15583994A JP H0822400 A JPH0822400 A JP H0822400A
- Authority
- JP
- Japan
- Prior art keywords
- logic circuit
- output
- logic
- signal
- microcomputer
- 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
Links
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
- Microcomputers (AREA)
Abstract
(57)【要約】
【目的】 マイクロコンピュータの外部出力端子の数が
制限されていても、論理回路に生成される故障を外部出
力端子から観測できるようにする。
【構成】 マイクロコンピュータ8の動作を検証するテ
ストパターンは第1及び第2の外部入力端子10,11
から第1の論理回路ブロック1に入力される。第2の論
理回路ブロック3からの信号線34〜45よりなる第1
の内部バス82及び第3の論理回路ブロックからの信号
線53〜62よりなる第3の内部バス83は第1の選択
器90に入力され、第1の選択器90は第1の内部バス
82又は第3の内部バス83を出力する。符号器92は
第1の選択器90から出力される内部バスを構成する信
号線から出力される信号をエンコードして第4の内部バ
ス93に出力する。第2の選択器94は符号器92から
の第4の内部バス93又は第4の論理回路ブロック7か
らの信号線63〜67よりなる第2の内部バス68を外
部出力端子77〜81に出力する。
(57) [Summary] [Purpose] Even if the number of external output terminals of a microcomputer is limited, it is possible to observe failures generated in a logic circuit from the external output terminals. [Configuration] A test pattern for verifying the operation of the microcomputer 8 has first and second external input terminals 10 and 11.
Is input to the first logic circuit block 1. A first circuit comprising signal lines 34 to 45 from the second logic circuit block 3
Internal bus 82 and a third internal bus 83 composed of signal lines 53 to 62 from the third logic circuit block are input to the first selector 90, and the first selector 90 is connected to the first internal bus 82. Alternatively, it outputs the third internal bus 83. The encoder 92 encodes the signal output from the signal line forming the internal bus output from the first selector 90 and outputs the encoded signal to the fourth internal bus 93. The second selector 94 outputs the fourth internal bus 93 from the encoder 92 or the second internal bus 68 including the signal lines 63 to 67 from the fourth logic circuit block 7 to the external output terminals 77 to 81. To do.
Description
【0001】[0001]
【産業上の利用分野】本発明は、マイクロコンピュータ
のテスト化容易回路に関し、詳しくは、組合せ回路や順
序回路等の複数の論理回路よりなる複数個の論理回路ブ
ロックが直列に接続されてなるマイクロコンピュータの
外部入力端子から動作検証用のテストパターンを入力
し、マイクロコンピュータの外部出力端子から出力され
る信号値を故障生成時と正常時とで比較することによ
り、前記複数の論理回路に生成される故障を観測するた
めのマイクロコンピュータのテスト容易化回路に関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a testable circuit for a microcomputer, and more specifically, a microcomputer having a plurality of logic circuit blocks, which are composed of a plurality of logic circuits such as combinational circuits and sequential circuits, connected in series. By inputting a test pattern for operation verification from the external input terminal of the computer and comparing the signal value output from the external output terminal of the microcomputer at the time of fault generation and at the time of normal generation, it is generated in the plurality of logic circuits. The present invention relates to a testability circuit of a microcomputer for observing a failure that occurs.
【0002】[0002]
【従来の技術】以下、従来のマイクロコンピュータのテ
スト容易化回路について図面を参照しながら説明する。2. Description of the Related Art A conventional test facilitation circuit for a microcomputer will be described below with reference to the drawings.
【0003】図2は従来のテスト容易化回路の平面図で
ある。図2において1,3,5,7はマイクロコンピュ
ータ8を構成する第1,第2,第3,第4の論理回路ブ
ロックであって、第1〜第4の論理回路ブロック1,
3,5,7は、それぞれ組合せ回路や順序回路等の複数
の論理回路よりなる。FIG. 2 is a plan view of a conventional testability circuit. In FIG. 2, reference numerals 1, 3, 5, and 7 are first, second, third, and fourth logic circuit blocks which form the microcomputer 8, and are first to fourth logic circuit blocks 1 and 1.
Reference numerals 3, 5 and 7 each include a plurality of logic circuits such as combinational circuits and sequential circuits.
【0004】図2において、30,31,32は第2の
論理回路ブロック3を構成する第1,第2,第3の論理
回路であって、第1〜第3の論理回路30〜32はそれ
ぞれ複数個の論理回路から構成されている。また、33
は第2の論理回路31を構成する部分回路であって、該
部分回路33も複数個の論理回路から構成されている。
また、50,51,52は第3の論理回路ブロック5を
構成する第1,第2,第3の論理回路であって、第1〜
第3の論理回路50〜52もそれぞれ複数個の論理回路
から構成されている。また、70,71,72は第4の
論理回路ブロック7を構成する第1,第2,第3の論理
回路であって、第1,第2,第3の論理回路70〜72
もそれぞれ複数個の論理回路から構成されている。In FIG. 2, reference numerals 30, 31, and 32 denote first, second, and third logic circuits constituting the second logic circuit block 3, and the first to third logic circuits 30 to 32 are Each is composed of a plurality of logic circuits. Also, 33
Is a partial circuit forming the second logic circuit 31, and the partial circuit 33 is also formed of a plurality of logic circuits.
Reference numerals 50, 51, and 52 are first, second, and third logic circuits that form the third logic circuit block 5, and
Each of the third logic circuits 50 to 52 is also composed of a plurality of logic circuits. Reference numerals 70, 71, and 72 are first, second, and third logic circuits that form the fourth logic circuit block 7, and are the first, second, and third logic circuits 70 to 72.
Each is also composed of a plurality of logic circuits.
【0005】図2において、10,11はマイクロコン
ピュータ8の動作検証用のテストパターンを入力する第
1,第2の外部入力端子、12,13,14,15,1
6,17,18,19は第1の論理回路ブロック1の出
力信号を第2の論理回路ブロック3の第1の論理回路3
0に伝達する信号線、20,21,22,23は第1の
論理回路ブロック1の出力信号を第2の論理回路ブロッ
ク3の第2の論理回路31に伝達する信号線、24,2
5,26,27は第1の論理回路ブロック1の出力信号
を第2の論理回路ブロック3の第3の論理回路32に伝
達する信号線である。In FIG. 2, reference numerals 10 and 11 denote first and second external input terminals for inputting a test pattern for verifying the operation of the microcomputer 8, 12, 13, 14, 15, and 1, respectively.
Reference numerals 6, 17, 18, 19 denote the output signal of the first logic circuit block 1 and the first logic circuit 3 of the second logic circuit block 3.
Signal lines for transmitting 0, 20, 21, 22, 23 are signal lines for transmitting the output signal of the first logic circuit block 1 to the second logic circuit 31 of the second logic circuit block 3, 24, 2
Reference numerals 5, 26 and 27 are signal lines for transmitting the output signal of the first logic circuit block 1 to the third logic circuit 32 of the second logic circuit block 3.
【0006】図2において、34,35,36,37は
第2の論理回路ブロック3の第1の論理回路30からの
出力信号を第3の論理回路ブロック5の第1の論理回路
50に伝達する信号線、38,39は第2の論理回路ブ
ロック3の第2の論理回路31からの出力信号を第3の
論理回路ブロック5の第2の論理回路51に伝達する信
号線、40,41,42,43,44,45は第2の論
理回路ブロック3の第3の論理回路32からの出力信号
を第3の論理回路ブロック5の第3の論理回路52に伝
達する信号線である。In FIG. 2, reference numerals 34, 35, 36 and 37 transmit an output signal from the first logic circuit 30 of the second logic circuit block 3 to the first logic circuit 50 of the third logic circuit block 5. Signal lines 38, 39 for transmitting the output signal from the second logic circuit 31 of the second logic circuit block 3 to the second logic circuit 51 of the third logic circuit block 5, 40, 41 , 42, 43, 44, 45 are signal lines for transmitting the output signal from the third logic circuit 32 of the second logic circuit block 3 to the third logic circuit 52 of the third logic circuit block 5.
【0007】図2において、53,54は第3の論理回
路ブロック5の第1の論理回路50からの出力信号を第
4の論理回路ブロック7の第1の論理回路70に伝達す
る信号線、55,56は第3の論理回路ブロック5の第
2の論理回路51からの出力信号を第4の論理回路ブロ
ック7の第2の論理回路71に伝達する信号線、57,
58,59,60,61,62は第3の論理回路ブロッ
ク5の第3の論理回路52からの出力信号を第4の論理
回路ブロック7の第3の論理回路72に伝達する信号線
である。第2の論理回路ブロック3の第1の論理回路3
0からの信号線34,35,第2の論理回路ブロック3
の第3の論理回路32からの信号線40、第3の論理回
路ブロック5の第1の論理回路50からの信号線53及
び第3の論理回路ブロック5の第3の論理回路52から
の信号線57によって第1の内部バス46が構成されて
いる。In FIG. 2, 53 and 54 are signal lines for transmitting an output signal from the first logic circuit 50 of the third logic circuit block 5 to the first logic circuit 70 of the fourth logic circuit block 7. 55 and 56 are signal lines for transmitting the output signal from the second logic circuit 51 of the third logic circuit block 5 to the second logic circuit 71 of the fourth logic circuit block 7, 57 and
Reference numerals 58, 59, 60, 61, and 62 are signal lines for transmitting an output signal from the third logic circuit 52 of the third logic circuit block 5 to the third logic circuit 72 of the fourth logic circuit block 7. . First logic circuit 3 of second logic circuit block 3
Signal lines 34 and 35 from 0, the second logic circuit block 3
Signal line 40 from the third logic circuit 32, the signal line 53 from the first logic circuit 50 of the third logic circuit block 5, and the signal from the third logic circuit 52 of the third logic circuit block 5. The line 57 constitutes the first internal bus 46.
【0008】図2において、63,64,65,66,
67は、マイクロコンピュータ8の周辺機能である通信
機能ブロック(以下、シリアルと称する。)やタイマー
ブロック等からのデータやクロックを出力する第4の論
理回路ブロック7の第3の論理回路72からの信号線で
あって、該信号線63〜67は第2の内部バス68を構
成している。また、84は第3の外部入力端子、85は
選択器であって、選択器85は第1の内部バス46及び
第2の内部バス68のうちのいずれか一方の内部バスを
選択して出力する。また、77,78,79,80,8
1はそれぞれ外部出力端子であって、該外部出力端子7
7〜81は選択器85が選択した第1の内部バス46又
は第2の内部バス68の信号値を出力する。In FIG. 2, 63, 64, 65, 66,
67 is provided from the third logic circuit 72 of the fourth logic circuit block 7 which outputs data and clocks from a communication function block (hereinafter referred to as serial) which is a peripheral function of the microcomputer 8 and a timer block. The signal lines 63 to 67 form a second internal bus 68. Further, 84 is a third external input terminal, 85 is a selector, and the selector 85 selects and outputs either one of the first internal bus 46 and the second internal bus 68. To do. Also, 77, 78, 79, 80, 8
Each of the external output terminals 1 is an external output terminal 7
7 to 81 output the signal value of the first internal bus 46 or the second internal bus 68 selected by the selector 85.
【0009】図2において、73は第4の論理回路ブロ
ック7の第1の論理回路70の出力信号を観測する外部
出力端子、74は第4の論理回路ブロック7の第2の論
理回路71の出力信号を観測する外部出力端子、75,
76は第4の論理回路ブロック7の第3の論理回路72
の出力信号を観測する外部出力端子である。In FIG. 2, 73 is an external output terminal for observing the output signal of the first logic circuit 70 of the fourth logic circuit block 7, and 74 is a second logic circuit 71 of the fourth logic circuit block 7. External output terminal for observing output signal, 75,
Reference numeral 76 denotes the third logic circuit 72 of the fourth logic circuit block 7.
This is an external output terminal for observing the output signal of.
【0010】以下、前記のように構成されたマイクロコ
ンピュータのテスト容易化回路の動作について説明す
る。The operation of the test facilitation circuit of the microcomputer configured as described above will be described below.
【0011】まず、マイクロコンピュータ8の動作検証
用のテストパターンを第1及び第2の外部入力端子1
0,11から入力する。第1の論理回路ブロック1は、
第1及び第2の外部入力端子10,11からの入力信号
によって論理演算を行ない、その演算結果を信号線12
〜27に出力する。第2の論理回路ブロック3の第1の
論理回路30は、第1の論理回路ブロック1の信号線1
2〜19から出力される論理値を用いて論理演算を行な
い、その演算結果を信号線34〜37に出力する。第2
の論理回路ブロック3の第2の論理回路31は、第1の
論理回路ブロック1の信号線20〜23から出力される
論理値を用いて論理演算を行ない、その演算結果を信号
線38,39に出力する。第2の論理回路ブロック3の
論理回路32は、第1の論理回路ブロック1の信号線2
4〜27から出力される論理値を用いて論理演算を行な
い、その演算結果を信号線40〜45に出力する。First, a test pattern for verifying the operation of the microcomputer 8 is provided with first and second external input terminals 1.
Input from 0 and 11. The first logic circuit block 1 is
A logical operation is performed by the input signals from the first and second external input terminals 10 and 11, and the operation result is signal line 12
To 27. The first logic circuit 30 of the second logic circuit block 3 corresponds to the signal line 1 of the first logic circuit block 1.
A logical operation is performed using the logical values output from 2 to 19 and the operation result is output to the signal lines 34 to 37. Second
The second logic circuit 31 of the logic circuit block 3 performs logical operation using the logical values output from the signal lines 20 to 23 of the first logic circuit block 1 and outputs the operation result to the signal lines 38 and 39. Output to. The logic circuit 32 of the second logic circuit block 3 corresponds to the signal line 2 of the first logic circuit block 1.
A logical operation is performed using the logical values output from 4 to 27, and the operation result is output to the signal lines 40 to 45.
【0012】第3の論理回路ブロック5の第1の論理回
路50は、第2の論理回路ブロック3の信号線34〜3
7から出力される論理値を用いて論理演算を行ない、そ
の演算結果を信号線53,54に出力する。第3の論理
回路ブロック5の第2の論理回路51は、第2の論理回
路ブロック3の信号線38,39から出力される論理値
を用いて論理演算を行ない、その演算結果を信号線5
5,56に出力する。第3の論理回路ブロック5の第3
の論理回路52は第2の論理回路ブロック3の信号線4
0〜45から出力される論理値を用いて論理演算を行な
い、その演算結果を信号線57〜62に出力する。The first logic circuit 50 of the third logic circuit block 5 includes the signal lines 34 to 3 of the second logic circuit block 3.
A logical operation is performed using the logical value output from 7 and the operation result is output to the signal lines 53 and 54. The second logic circuit 51 of the third logic circuit block 5 performs a logic operation using the logic values output from the signal lines 38 and 39 of the second logic circuit block 3 and outputs the operation result to the signal line 5
Output to 5,56. Third of third logic circuit block 5
Of the second logic circuit block 3 is connected to the signal line 4 of the second logic circuit block 3.
A logical operation is performed using the logical values output from 0 to 45, and the operation result is output to the signal lines 57 to 62.
【0013】第4の論理回路ブロック7の第1の論理回
路70は、第3の論理回路ブロック5の信号線53,5
4から出力される論理値を用いて論理演算を行ない、そ
の演算結果を外部出力端子73に出力する。第4の論理
回路ブロック7の第2の論理回路71は、第3の論理回
路ブロック5の信号線55,56から出力される論理値
を用いて論理演算を行ない、その演算結果を外部出力端
子74に出力する。第4の論理回路ブロック7の第3の
論理回路72は、第3の論理回路ブロック5の信号線5
7〜62から出力される論理値を用いて論理演算を行な
い、その演算結果を外部出力端子75,76に出力す
る。The first logic circuit 70 of the fourth logic circuit block 7 is connected to the signal lines 53, 5 of the third logic circuit block 5.
A logical operation is performed by using the logical value output from No. 4, and the operation result is output to the external output terminal 73. The second logic circuit 71 of the fourth logic circuit block 7 performs a logic operation using the logic values output from the signal lines 55 and 56 of the third logic circuit block 5, and outputs the operation result to the external output terminal. Output to 74. The third logic circuit 72 of the fourth logic circuit block 7 is connected to the signal line 5 of the third logic circuit block 5.
A logical operation is performed using the logical values output from 7 to 62, and the operation result is output to the external output terminals 75 and 76.
【0014】選択器85は、第3の外部入力端子84か
ら入力される制御信号によって第2の内部バス68を選
択したときには、マイクロコンピュータ8の周辺機能ブ
ロックであるシリアルやタイマー等のデータやクロック
の論理値を外部出力端子77〜81に出力する。このと
き、外部出力端子77〜81は汎用ポートとして働く。
また、選択器85は、第3の外部入力端子84から入力
される制御信号によって第1の内部バス46を選択した
ときには、該第1の内部バス46の論理値を外部出力端
子77〜81に出力する。このとき、外部出力端子77
〜81は論理回路の出力信号を直接外部から観測可能と
するテスト用端子として働く。When the selector 85 selects the second internal bus 68 by the control signal input from the third external input terminal 84, the selector 85 supplies data and clock such as serial and timer which are peripheral function blocks of the microcomputer 8. To output to the external output terminals 77 to 81. At this time, the external output terminals 77 to 81 function as general-purpose ports.
Further, when the selector 85 selects the first internal bus 46 by the control signal input from the third external input terminal 84, the selector 85 outputs the logical value of the first internal bus 46 to the external output terminals 77 to 81. Output. At this time, the external output terminal 77
˜81 function as test terminals that allow the output signal of the logic circuit to be directly observed from the outside.
【0015】[0015]
【表1】 [Table 1]
【0016】表1は、第2の論理回路ブロック3の第1
の論理回路30、第3の論理回路ブロック5の第1の論
理回路50及び第4の論理回路ブロック7の第1の論理
回路70の入出力信号線上に生成された故障を検出する
テストパターンを示したものであって、第1及び第2の
外部入力端子10,11から入力されたテストパターン
と、該テストパターンを第1の論理回路ブロック1が論
理演算を行なって第2の論理回路ブロック3の第1の論
理回路30に出力する信号線12〜19のパターンと、
該パターンによって第2の論理回路ブロック3の第1の
論理回路30が論理演算を行なって信号線34〜37に
出力する論理値と、第3の論理回路ブロック5の第1の
論理回路50が信号線53,54に出力する論理値とを
示している。ここでいう故障とは、各論理回路を構成す
るトランジスタの破壊により、入力信号の如何に拘ら
ず、出力信号が常にVdd(論理値の1に相当)又はV
ss(論理値の0に相当)に固定されてしまい、正しい
理論値と異なる論理値を出力してしまう場合のことを言
う。Table 1 shows the first part of the second logic circuit block 3.
Of the test patterns for detecting the faults generated on the input / output signal lines of the logic circuit 30, the first logic circuit 50 of the third logic circuit block 5, and the first logic circuit 70 of the fourth logic circuit block 7. The first logic circuit block 1 performs a logical operation on the test pattern input from the first and second external input terminals 10 and 11 and the second logic circuit block. 3 patterns of the signal lines 12 to 19 output to the first logic circuit 30;
According to the pattern, the first logic circuit 30 of the second logic circuit block 3 performs a logic operation and outputs the logic value to the signal lines 34 to 37, and the first logic circuit 50 of the third logic circuit block 5 The logical values output to the signal lines 53 and 54 are shown. The failure here means that the output signal is always Vdd (corresponding to a logical value of 1) or V, regardless of the input signal, due to the destruction of the transistors forming each logic circuit.
This is a case where the value is fixed to ss (corresponding to a logical value of 0) and a logical value different from the correct theoretical value is output.
【0017】前記の故障が生成されると、マイクロコン
ピュータ8に第1及び第2の外部入力端子10,11か
らテストパターンを入力した場合、マイクロコンピュー
タ8の出力値が正常時の出力期待値と異なる場合があ
る。従って、前記の故障が含まれている不良品と含まれ
ていない良品とを選別する必要がある。表1は、第1及
び第2の外部入力端子10,11から出力される信号値
を故障生成時と正常時との間で比較することにより、論
理回路に生成された故障を検出していく故障シミュレー
ション用のテストパターンを示している。第2の論理回
路ブロック3の第1の論理回路30に表1のA列〜L列
の12通りのパターンを入力することによって、第2の
論理回路ブロック3の第1の論理回路30の入出力信号
線、第3の論理回路ブロック5の第1の論理回路50の
入出力信号線、及び第4の論理回路ブロック7の第1の
論理回路70の入出力信号線に生成された故障を検出す
ることができる。When the test pattern is input to the microcomputer 8 from the first and second external input terminals 10 and 11 when the above-mentioned failure is generated, the output value of the microcomputer 8 becomes the expected output value at the normal time. May be different. Therefore, it is necessary to select a defective product that includes the above-described failure and a non-defective product that does not include the failure. Table 1 compares the signal values output from the first and second external input terminals 10 and 11 between the time when the fault is generated and the time when the fault is generated to detect the fault generated in the logic circuit. The test pattern for failure simulation is shown. By inputting 12 patterns of columns A to L of Table 1 to the first logic circuit 30 of the second logic circuit block 3, the first logic circuit 30 of the second logic circuit block 3 is turned on. The failure generated in the output signal line, the input / output signal line of the first logic circuit 50 of the third logic circuit block 5, and the input / output signal line of the first logic circuit 70 of the fourth logic circuit block 7 Can be detected.
【0018】しかしながら、実デバイスを検証するテス
トパターンは、一般的には試行錯誤的に作成されるた
め、冗長なパターンを含むことが多い。However, since the test pattern for verifying the actual device is generally created by trial and error, it often includes a redundant pattern.
【0019】そこで、従来においては、第2の論理回路
ブロック3の第1の論理回路30の出力信号線34,3
5を外部出力端子77,78から観測できると共に第3
の論理回路ブロック5の第1の論理回路50の出力信号
線53を外部出力端子79から観測できるように選択器
85を設け、外部出力端子77,78,79をテスト端
子として使用することを可能にしている。これにより、
外部出力端子77,78,79の直前までの回路におい
てテストパターンを検討すればよくなり、見かけ上、回
路規模が小さい状態でテストパターンの作成が可能とな
る。この結果、テストパターンの作成が容易になるの
で、冗長なテストパターンが低減する。このため、第2
の論理回路ブロック3の第1の論理回路30に入力する
信号線12〜19のパターンを、表1におけるA列〜H
列までの8通りのパターンによって代替しても、前記の
故障を検出することができる。Therefore, conventionally, the output signal lines 34 and 3 of the first logic circuit 30 of the second logic circuit block 3 are used.
5 can be observed from the external output terminals 77 and 78 and the third
It is possible to provide the selector 85 so that the output signal line 53 of the first logic circuit 50 of the logic circuit block 5 can be observed from the external output terminal 79 and use the external output terminals 77, 78, 79 as test terminals. I have to. This allows
It suffices to consider the test pattern in the circuits up to immediately before the external output terminals 77, 78, 79, and it is possible to create the test pattern in a state where the circuit scale is apparently small. As a result, the test pattern is easily created, and the number of redundant test patterns is reduced. Therefore, the second
The patterns of the signal lines 12 to 19 input to the first logic circuit 30 of the logic circuit block 3 of FIG.
The failure can be detected by substituting the eight patterns up to the row.
【0020】[0020]
【発明が解決しようとする課題】ところが、実際のマイ
クロコンピュータは大きなものでは100万個以上のト
ランジスタによって構成されている。このため、従来の
テスト容易化回路によると、論理回路の故障検出を可能
にする外部出力端子を回路規模の増大に対応して増やす
ことは、外部出力端子の総数が制約されているため困難
である。つまり、実際のマイクロコンピュータにおいて
は、前記のような回路規模が小さい状態でテストパター
ンを作成できる場合は非常に限られている。However, a large-scale microcomputer actually has one million or more transistors. For this reason, according to the conventional test facilitation circuit, it is difficult to increase the number of external output terminals that enable detection of a failure in a logic circuit in response to an increase in circuit scale because the total number of external output terminals is limited. is there. That is, in an actual microcomputer, the case where the test pattern can be created in the state where the circuit scale is small is very limited.
【0021】従来のテスト容易化回路においては、マイ
クロコンピュータの動作検証を、動作検証を目的とする
テストパターンを外部入力端子から入力し、マイクロコ
ンピュータの制御の結果を外部出力端子から観測するこ
とにより行なってきた。In the conventional test facilitation circuit, the operation verification of the microcomputer is performed by inputting the test pattern for the purpose of the operation verification from the external input terminal and observing the control result of the microcomputer from the external output terminal. I've done it.
【0022】従って、従来のテスト容易化回路において
は、マイクロコンピュータの高機能化が進み、回路規模
が大きくなるにつれて、動作検証を行なうテストパター
ンが長くなると共に、各機能を確認するためにテストパ
ターンの数自体も増加するという問題がある。Therefore, in the conventional test facilitation circuit, the test pattern for verifying the operation becomes longer and the test pattern for confirming each function increases as the function of the microcomputer increases and the circuit scale increases. There is a problem that the number of
【0023】また、マイクロコンピュータの論理回路の
故障を検出する故障シミュレーションは、機能確認のテ
ストパターンを基に作成することが多いので、複雑なマ
イクロコンピュータを構成する論理回路の故障を検出す
るテストパターンを作成することは困難である。Further, since a failure simulation for detecting a failure in a logic circuit of a microcomputer is often created based on a test pattern for checking a function, a test pattern for detecting a failure in a logic circuit forming a complicated microcomputer. Is difficult to create.
【0024】さらに、テストパターンの簡素化とテスト
パターン数の削減のために、マイクロコンピュータを構
成する論理回路の出力信号を外部出力端子から出力する
ことがあるが、マイクロコンピュータの外部出力端子の
総数が制約されているため、外部に出力できる論理回路
の出力信号数が制限されてしまうので、前記の方法を採
る場合には、十分な動作検証を行なうことができないと
いう問題が生じる。Further, in order to simplify the test pattern and reduce the number of test patterns, the output signal of the logic circuit forming the microcomputer may be output from the external output terminal. Is limited, the number of output signals of the logic circuit that can be output to the outside is limited. Therefore, when the above method is adopted, there is a problem that sufficient operation verification cannot be performed.
【0025】本発明は、前記従来の問題を解決するもの
であって、マイクロコンピュータの外部出力端子の数が
制限されていても、論理回路に生成される故障を外部出
力端子から観測することができるようにすることを目的
とする。The present invention solves the above-mentioned conventional problems, and even when the number of external output terminals of a microcomputer is limited, it is possible to observe a fault generated in a logic circuit from the external output terminals. The purpose is to be able to.
【0026】[0026]
【課題を解決するための手段】前記の目的を達成するた
めに、請求項1の発明は、組合せ回路や順序回路等の複
数の論理回路よりなる複数個の論理回路ブロックが直列
に接続されてなるマイクロコンピュータの外部入力端子
から動作検証用のテストパターンを入力し、前記マイク
ロコンピュータの外部出力端子から出力される信号値を
故障生成時と正常時とで比較することにより前記複数の
論理回路に生成される故障を観測するためのマイクロコ
ンピュータのテスト容易化回路を対象とし、一の論理回
路ブロックを構成する複数の論理回路から出力される各
出力信号が入力され、該各出力信号に対応する組み合わ
せ信号を出力する符号器を備えている構成である。In order to achieve the above object, the invention of claim 1 is such that a plurality of logic circuit blocks including a plurality of logic circuits such as combination circuits and sequential circuits are connected in series. The test pattern for operation verification is input from the external input terminal of the microcomputer, and the signal value output from the external output terminal of the microcomputer is compared to the plurality of logic circuits at the time of failure generation and at the time of normal operation. Targeting a test facilitating circuit of a microcomputer for observing a generated fault, each output signal output from a plurality of logic circuits forming one logic circuit block is input and corresponds to each output signal. This is a configuration including an encoder that outputs a combined signal.
【0027】また、請求項2の発明は、組合せ回路や順
序回路等の複数の論理回路よりなる複数個の論理回路ブ
ロックが直列に接続されてなるマイクロコンピュータの
外部入力端子から動作検証用のテストパターンを入力
し、前記マイクロコンピュータの外部出力端子から出力
される信号値を故障生成時と正常時とで比較することに
より前記複数の論理回路に生成される故障を観測するた
めのマイクロコンピュータのテスト容易化回路を対象と
し、一の論理ブロックを構成する複数の論理回路から出
力される各出力信号よりなる一の出力信号群と他の論理
ブロックを構成する複数の論理回路から出力される各出
力信号よりなる他の出力信号群とが入力され前記一の出
力信号群及び他の出力信号群のうちのいずれか一方の出
力信号群を出力する選択器と、前記選択器から出力され
る出力信号群を構成する各出力信号が入力され該各出力
信号に対応する組み合わせ信号を出力する符号器とを備
えている構成である。According to a second aspect of the present invention, a test for operation verification is performed from an external input terminal of a microcomputer in which a plurality of logic circuit blocks including a plurality of logic circuits such as combination circuits and sequential circuits are connected in series. A test of a microcomputer for observing a failure generated in the plurality of logic circuits by inputting a pattern and comparing a signal value output from an external output terminal of the microcomputer between a failure generation time and a normal time Targeting the facilitation circuit, one output signal group consisting of each output signal output from the plurality of logic circuits forming one logic block and each output output from the plurality of logic circuits forming another logic block The other output signal group consisting of signals is input and one of the output signal group and the other output signal group is output. And 択器, a configuration in which the output signal constituting the output signal group output from the selector is provided with an encoder for outputting a combination signal corresponding to the inputted respective output signal.
【0028】[0028]
【作用】請求項1の構成により、一の論理回路ブロック
を構成する複数の論理回路から出力される各出力信号が
入力され、該各出力信号に対応する組み合わせ信号を外
部出力端子に出力する符号器を備えているため、複数の
論理回路から出力される各出力信号はエンコードされて
組み合わせ信号となって外部出力端子に出力されるの
で、つまり符号器に入力される信号数よりも符号器から
出力される信号数の方が少ないので、外部出力端子に出
力される信号の数は低減する。これにより、外部に出力
されない論理回路の出力信号数は低減する。According to the structure of claim 1, a code for inputting each output signal output from a plurality of logic circuits constituting one logic circuit block and outputting a combination signal corresponding to each output signal to an external output terminal Since each output signal output from a plurality of logic circuits is encoded into a combined signal and output to the external output terminal, the output signal from the encoder is output from the encoder more than the number of signals input to the encoder. Since the number of signals output is smaller, the number of signals output to the external output terminal is reduced. This reduces the number of output signals of the logic circuit that are not output to the outside.
【0029】請求項2の構成により、一の論理ブロック
を構成する複数の論理回路から出力される各出力信号よ
りなる一の出力信号群及び他の論理ブロックを構成する
複数の論理回路から出力される各出力信号よりなる他の
出力信号群のうちのいずれか一方の出力信号群を出力す
る選択器と、該選択器から出力される出力信号群を構成
する各出力信号が入力されると、該各出力信号に対応す
る組み合わせ信号を外部出力端子に出力する符号器とを
備えているため、選択器からは一又は他の出力信号群を
構成する各出力信号が選択的に出力され、各出力信号は
符号器によりエンコードされて組み合わせ信号となって
外部出力端子に出力されるので、一及び他の論理ブロッ
クを構成する論理回路から出力される出力信号は選択器
及び符号器によって2段階に低減される。これにより、
外部に出力されない論理回路の出力信号数は著しく低減
する。According to the second aspect of the invention, one output signal group consisting of the output signals output from the plurality of logic circuits forming one logic block and the plurality of logic circuits forming the other logic blocks are output. When a selector that outputs one of the output signal groups of the other output signal groups consisting of the respective output signals and each output signal that constitutes the output signal group output from the selector are input, An encoder that outputs a combined signal corresponding to each output signal to an external output terminal is provided, so that each output signal that constitutes one or another output signal group is selectively output from each selector. Since the output signals are encoded by the encoder and output as a combined signal to the external output terminal, the output signals output from the logic circuits forming one and other logic blocks are output by the selector and the encoder. It is reduced in two stages. This allows
The number of output signals of the logic circuit which is not output to the outside is significantly reduced.
【0030】[0030]
【実施例】以下、本発明の一実施例について図面を参照
しながら説明する。An embodiment of the present invention will be described below with reference to the drawings.
【0031】図1は本発明の一実施例に係るテスト容易
化回路の平面図である。図1における、第1〜第4の論
理回路ブロック1,3,5,7,マイクロコンピュータ
8、第1及び第2の外部入力端子10,11、信号線1
2〜27、第2の論理回路ブロック3の第1〜第3の論
理回路30〜32、第3の論理回路32の部分回路3
3、信号線34〜45、第3の論理回路ブロック5の第
1〜第3の論理回路50〜52、信号線53〜62、第
2の内部バス68、第4の論理回路ブロック7の第1〜
第3の論理回路70〜72、外部出力端子73〜76、
第3の外部入力端子84及び外部出力端子77〜81に
ついては、図2に示した従来例と同様の構成であるた
め、同一の符号を付すことにより説明を省略する。FIG. 1 is a plan view of a test facilitation circuit according to an embodiment of the present invention. 1, the first to fourth logic circuit blocks 1, 3, 5, and 7, the microcomputer 8, the first and second external input terminals 10 and 11, and the signal line 1
2 to 27, the first to third logic circuits 30 to 32 of the second logic circuit block 3, and the partial circuit 3 of the third logic circuit 32.
3, the signal lines 34 to 45, the first to third logic circuits 50 to 52 of the third logic circuit block 5, the signal lines 53 to 62, the second internal bus 68, and the fourth logic circuit block 7 1 to
Third logic circuits 70-72, external output terminals 73-76,
The third external input terminal 84 and the external output terminals 77 to 81 have the same configurations as those of the conventional example shown in FIG.
【0032】図1において、82は複数の信号線34〜
45よりなる第2の論理回路ブロック3からの第1の内
部バス、83は複数の信号線53〜62よりなる第3の
論理回路ブロック5からの第3の内部バスである。ま
た、90は選択器としての第1の選択器であって、該第
1の選択器90は第1の内部バス82及び第3の内部バ
ス83のいずれか一方を選択して出力する。また、91
は第1の選択器90を制御する選択制御器である。In FIG. 1, reference numeral 82 designates a plurality of signal lines 34-.
A first internal bus from the second logic circuit block 3 consisting of 45, and a third internal bus from the third logic circuit block 5 consisting of a plurality of signal lines 53 to 62. Further, 90 is a first selector as a selector, and the first selector 90 selects and outputs either one of the first internal bus 82 and the third internal bus 83. Also, 91
Is a selection controller for controlling the first selector 90.
【0033】図1において、92は符号器であって、該
符号器92は第1の選択器90が選択した第1の内部バ
ス82又は第3の内部バス83を構成する信号線の出力
信号をエンコードして該出力信号と対応する組み合わせ
信号を出力する。また、93は符号器92によりエンコ
ードされた第4の内部バスである。In FIG. 1, reference numeral 92 designates an encoder, which is an output signal of a signal line constituting the first internal bus 82 or the third internal bus 83 selected by the first selector 90. Is encoded and a combination signal corresponding to the output signal is output. Further, 93 is a fourth internal bus encoded by the encoder 92.
【0034】図1において、94は第2の選択器であっ
て、該第2の選択器94は第4の内部バス93及び第2
の内部バス68のうちのいずれか一方を選択して出力す
る。第2の選択器94も選択制御器91によって制御さ
れる。In FIG. 1, reference numeral 94 is a second selector, and the second selector 94 is a fourth internal bus 93 and a second selector.
And outputs one of the internal buses 68. The second selector 94 is also controlled by the selection controller 91.
【0035】以下、前記のように構成された本実施例に
係るテスト容易化回路の動作を、第1及び第2の外部入
力端子10,11、第1の論理回路ブロック1、第1の
論理回路ブロック1からの信号線12〜19、第2の論
理回路ブロック3の第1の論理回路30、第2の論理回
路ブロック3の第1の論理回路30からの信号線34〜
37、第3の論理回路ブロック5の第1の論理回路5
0、第3の論理回路ブロック5の第1の論理回路50か
らの信号線53,54、第4の論理回路ブロック7の第
1の論理回路70及び第4の論理回路ブロック7の第1
の論理回路70からの信号を出力する外部出力端子73
を用いて説明する。Hereinafter, the operation of the test facilitation circuit according to the present embodiment having the above-described configuration will be described with reference to the first and second external input terminals 10 and 11, the first logic circuit block 1 and the first logic. Signal lines 12 to 19 from the circuit block 1, first logic circuits 30 of the second logic circuit block 3, and signal lines 34 from the first logic circuit 30 of the second logic circuit block 3 to
37, the first logic circuit 5 of the third logic circuit block 5
0, the signal lines 53 and 54 from the first logic circuit 50 of the third logic circuit block 5, the first logic circuit 70 of the fourth logic circuit block 7, and the first logic circuit block 7 of the fourth logic circuit block 7.
Output terminal 73 for outputting a signal from the logic circuit 70 of
Will be explained.
【0036】まず、マイクロコンピュータ8の動作を検
証するテストパターンを第1及び第2の外部入力端子1
0,11から入力する。第1の論理回路ブロック1は、
第1及び第2の外部入力端子10,11からの入力信号
によって論理演算を行ない、その演算結果を信号線12
〜19に出力する。第1の論理回路ブロック1の信号線
12〜19から出力される論理値は第2の論理回路ブロ
ック3の第1の論理回路30に入力される。第2の論理
回路ブロック3の第1の論理回路30は、信号線12〜
19の論理値を用いて論理演算を行ない、その演算結果
を信号線34〜37に出力する。第2の論理回路ブロッ
ク3の第1の論理回路30からの信号線34〜37は2
つに分岐し、一方は第3の論理回路ブロック5の第1の
論理回路50に入力され、他方は第1の内部バス82を
構成する12本の信号線のうちの4本として第1の選択
器90に入力される。First, a test pattern for verifying the operation of the microcomputer 8 is provided with the first and second external input terminals 1.
Input from 0 and 11. The first logic circuit block 1 is
A logical operation is performed by the input signals from the first and second external input terminals 10 and 11, and the operation result is signal line 12
To ~ 19. The logic values output from the signal lines 12 to 19 of the first logic circuit block 1 are input to the first logic circuit 30 of the second logic circuit block 3. The first logic circuit 30 of the second logic circuit block 3 includes the signal lines 12 to
A logical operation is performed using the logical value of 19, and the operation result is output to the signal lines 34 to 37. The signal lines 34 to 37 from the first logic circuit 30 of the second logic circuit block 3 are 2
One of them is input to the first logic circuit 50 of the third logic circuit block 5, and the other is the first of four of the 12 signal lines forming the first internal bus 82. It is input to the selector 90.
【0037】同様に、第3の論理回路ブロック5の第1
の論理回路50は、第1の論理回路ブロック3の第1の
論理回路30からの信号線34〜37から出力される論
理値を用いて論理演算を行ない、その演算結果を信号線
53,54に出力する。第3の論理回路ブロック5の第
1の論理回路50からの信号線53,54は2つに分岐
し、一方は第4の論理回路7の第1の論理回路70に入
力され、他方は第3の内部バス83を構成する10本の
信号線のうちの2本として第1の選択器90に入力され
る。Similarly, the first of the third logic circuit block 5
Logic circuit 50 performs logical operation using the logic values output from the signal lines 34 to 37 from the first logic circuit 30 of the first logic circuit block 3 and outputs the operation result to the signal lines 53 and 54. Output to. The signal lines 53 and 54 from the first logic circuit 50 of the third logic circuit block 5 are branched into two, one of which is input to the first logic circuit 70 of the fourth logic circuit 7 and the other of which is It is input to the first selector 90 as two of the 10 signal lines forming the third internal bus 83.
【0038】第4の論理回路ブロック7の第1の論理回
路70は、第3の論理回路ブロック5の論理回路50か
らの信号線53,54の論理値を用いて論理演算を行な
い、その演算結果を外部出力端子73に出力する。The first logic circuit 70 of the fourth logic circuit block 7 performs a logic operation using the logic values of the signal lines 53 and 54 from the logic circuit 50 of the third logic circuit block 5, and the operation is performed. The result is output to the external output terminal 73.
【0039】選択制御器91は、第3の外部入力端子8
4から入力される信号値を用いて、第1の内部バス82
及び第3の内部バス83のうちのいずれか一方を選択す
る制御信号を生成して出力し、第1の選択器90は、選
択制御器91が出力する制御信号によって第1の内部バ
ス82又は第3の内部バス83を選択し、選択した方の
内部バスを符号器92に入力する。ここで、第1の選択
器90を用いることにより、第2の論理回路ブロック3
の第1の論理回路30から出力される信号線34〜37
と第3の論理回路ブロック5の第1の論理回路50から
出力される信号線53,54との6ビット信号を4ビッ
ト信号に、つまり信号数を2/3に圧縮することが可能
になる。The selection controller 91 has a third external input terminal 8
4 by using the signal value input from
And a third internal bus 83 to generate and output a control signal for selecting one of them, and the first selector 90 uses the control signal output by the selection controller 91 to output the first internal bus 82 or The third internal bus 83 is selected, and the selected internal bus is input to the encoder 92. Here, by using the first selector 90, the second logic circuit block 3
Signal lines 34 to 37 output from the first logic circuit 30 of
It becomes possible to compress the 6-bit signal of the signal lines 53 and 54 output from the first logic circuit 50 of the third logic circuit block 5 into a 4-bit signal, that is, the number of signals to 2/3. .
【0040】符号器92は、第1の選択器90が選択し
た方の内部バスをエンコードし、エンコードした信号を
第4の内部バス93に出力する。このとき、符号器92
は信号幅を圧縮することができる。マイクロコンピュー
タ8の動作検証を行なうテストパターンは、表1よりA
列〜L列の12パターンであるが、第2の論理回路ブロ
ック3の第1の論理回路30から出力される信号線34
〜37の値としては、重複するものがあるため表2に示
すA行〜F行の6パターンとなる。同様に、第3の論理
回路ブロック5の第1の論理回路50から出力される信
号線53,54の値としては、重複するものがあるため
表2に示すA〜Cの3パターンである。このように、第
1の選択器90から出力される4ビットの信号は、表2
に示すように、3ビットの信号線で表すことができ、信
号線幅の圧縮が可能となる。The encoder 92 encodes the internal bus selected by the first selector 90 and outputs the encoded signal to the fourth internal bus 93. At this time, the encoder 92
Can compress the signal width. The test pattern for verifying the operation of the microcomputer 8 is
There are 12 patterns of columns to L columns, but the signal line 34 output from the first logic circuit 30 of the second logic circuit block 3
The values of ˜37 have 6 patterns of rows A to F shown in Table 2 because there are overlapping values. Similarly, the values of the signal lines 53 and 54 output from the first logic circuit 50 of the third logic circuit block 5 are three patterns A to C shown in Table 2 because there are overlapping values. Thus, the 4-bit signal output from the first selector 90 is
As shown in FIG. 3, it can be represented by a 3-bit signal line, and the signal line width can be compressed.
【0041】[0041]
【表2】 [Table 2]
【0042】尚、第1の選択器90から出力される信号
が表2に示されるパターン以外のものである場合には、
符号器92からエラー信号(本実施例においては、表2
において設定外のパターンの項に示すように、全ビット
がVddになる。)が出力される。When the signal output from the first selector 90 has a pattern other than those shown in Table 2,
An error signal from the encoder 92 (Table 2 in this embodiment)
In, all bits become Vdd, as shown in the item of the pattern not set. ) Is output.
【0043】第2の選択器94は、第3の外部入力端子
84から入力される制御信号に従って、符号器92によ
りエンコードされた第4の内部バス93及び第2の内部
バス68のうちのいずれか一方を選択し、選択した内部
バスの信号値を外部出力端子77〜81に出力する。第
2の選択器94が、第4の内部バス93を選択し、その
信号値を外部出力端子77〜81に出力するときには、
外部入力端子77〜81はテスト端子として働き、第2
の選択器94が、第2の内部バス68を選択し、その信
号値を外部出力端子77〜81に出力するときには、外
部入力端子77〜81は汎用ポートとして働く。The second selector 94 is one of the fourth internal bus 93 and the second internal bus 68 encoded by the encoder 92 according to the control signal input from the third external input terminal 84. One of them is selected and the signal value of the selected internal bus is output to the external output terminals 77-81. When the second selector 94 selects the fourth internal bus 93 and outputs its signal value to the external output terminals 77 to 81,
The external input terminals 77 to 81 function as test terminals, and the second
When the selector 94 of 1 selects the second internal bus 68 and outputs the signal value thereof to the external output terminals 77 to 81, the external input terminals 77 to 81 function as general-purpose ports.
【0044】以上のように本実施例によると、第1の選
択器90及び符号器92を用いることにより、信号線幅
を2段階に減少させることができる。今後、回路の高機
能化が進み、回路規模が増大すると、前記の第1の選択
器90及び符号器92の機能はさらに期待できる。すな
わち、回路が大規模化すると、論理回路の出力信号数も
それに比較して増加するが、外部に出力するための外部
出力端子の数には制限があるため、外部に出力できない
論理回路の出力信号が増え、動作検証に効果が現れにく
くなる。ところが、本実施例を用いると、前述したよう
に、論理回路の出力信号を第1の選択器90及び符号器
92を用いて2段階に圧縮することができるので、複数
の論理回路の出力信号を外部出力端子から観測すること
ができる。As described above, according to this embodiment, the signal line width can be reduced in two steps by using the first selector 90 and the encoder 92. As the circuit becomes more sophisticated and the circuit scale increases in the future, the functions of the first selector 90 and the encoder 92 can be further expected. That is, when the circuit becomes large-scale, the number of output signals of the logic circuit also increases in comparison, but the number of external output terminals for outputting to the outside is limited, so that the output of the logic circuit that cannot be output to the outside is limited. The number of signals increases, and it becomes difficult to show the effect in operation verification. However, when the present embodiment is used, the output signals of the logic circuits can be compressed in two stages by using the first selector 90 and the encoder 92, as described above, so that the output signals of the plurality of logic circuits can be obtained. Can be observed from the external output terminal.
【0045】言い換えると、外部出力端子の数をそのま
まにしておいた状態で、論理回路のテスト用端子を増加
させたことに値する。そして、前述したように、第2の
論理回路ブロック3の第1の論理回路30及び第3の論
理回路ブロック5の第1の論理回路50からの出力信号
を外部出力端子77〜81から観測することによって、
第2の論理回路ブロック3の第1の論理回路30及び第
3の論理回路ブロック5の第1の論理回路50に発生す
る故障を比較的簡単なテストパターンを用いて検出する
ことが可能となる。また、テストパターンの数も削減で
き、表3に示すようにA列〜E列の5パターンで故障シ
ミュレーションを実施できる。これにより、テスト時間
の短縮も可能にする。In other words, it is worth increasing the number of test terminals of the logic circuit while keeping the number of external output terminals unchanged. Then, as described above, the output signals from the first logic circuit 30 of the second logic circuit block 3 and the first logic circuit 50 of the third logic circuit block 5 are observed from the external output terminals 77 to 81. By
It becomes possible to detect a failure occurring in the first logic circuit 30 of the second logic circuit block 3 and the first logic circuit 50 of the third logic circuit block 5 by using a relatively simple test pattern. . In addition, the number of test patterns can be reduced, and as shown in Table 3, the failure simulation can be performed with 5 patterns of the columns A to E. This also makes it possible to shorten the test time.
【0046】[0046]
【表3】 [Table 3]
【0047】また、マイクロコンピュータ8内に、非常
に複雑で且つ外部からの制御が困難であるため論理回路
に検出の難しい故障が生成されたとする。例えば、第3
の論理回路ブロック5の第2の論理回路51の信号線5
5からの出力値が常に0に固定されているため、第4の
論理回路ブロック7の第2の部分回路71の出力信号が
常に1となり、第1及び第2の入力端子10,11から
入力されるテストパターンに関係なく、出力端子74か
ら1が出力されるような場合である。この場合には、従
来のテスト容易化回路によると、第2の論理回路ブロッ
ク3の第2の論理回路31の信号線39及び第3の論理
回路ブロック5の第2の論理回路51の信号線56に生
成される故障を検出することは不可能である。It is also assumed that a fault that is difficult to detect is generated in the logic circuit in the microcomputer 8 because it is very complicated and difficult to control from the outside. For example, the third
Signal line 5 of the second logic circuit 51 of the logic circuit block 5 of
Since the output value from 5 is always fixed to 0, the output signal of the second partial circuit 71 of the fourth logic circuit block 7 is always 1 and is input from the first and second input terminals 10 and 11. This is the case where 1 is output from the output terminal 74 regardless of the test pattern that is set. In this case, according to the conventional test facilitation circuit, the signal line 39 of the second logic circuit 31 of the second logic circuit block 3 and the signal line 39 of the second logic circuit 51 of the third logic circuit block 5 are used. It is not possible to detect the fault generated at 56.
【0048】しかしながら、本実施例によると、第2の
論理回路ブロック3の第2の論理回路31の信号線39
及び第3の論理回路ブロック5の第2の論理回路51の
信号線56から出力される信号を外部出力端子から観測
することにより、第2の論理回路ブロック3の第2の論
理回路31の信号線39及び第3の論理回路ブロック5
の第2の論理回路51の信号線56に生成される故障を
検出することが可能になり、故障検出率を向上させるこ
とができる。However, according to this embodiment, the signal line 39 of the second logic circuit 31 of the second logic circuit block 3 is used.
And the signal output from the signal line 56 of the second logic circuit 51 of the third logic circuit block 5 is observed from the external output terminal, so that the signal of the second logic circuit 31 of the second logic circuit block 3 is detected. Line 39 and third logic circuit block 5
It is possible to detect a failure generated in the signal line 56 of the second logic circuit 51 of (1), and it is possible to improve the failure detection rate.
【0049】このように、本実施例によると、従来のテ
スト容易化回路では検出が不可能であったような故障の
検出を可能にすることができるので、本実施例は、従来
のテスト容易化回路では検出の不可能であるような論理
回路が多数存在する場合に特に効果が大きい。As described above, according to the present embodiment, it is possible to detect a fault which cannot be detected by the conventional test facilitation circuit. It is particularly effective when there are many logic circuits that cannot be detected by the digitizing circuit.
【0050】[0050]
【発明の効果】請求項1の発明に係るマイクロコンピュ
ータのテスト容易化回路によると、複数の論理回路から
出力される各出力信号はエンコードされて組み合わせ信
号となって外部出力端子に出力されるため、外部出力端
子に出力される信号の数は低減するので、外部に出力さ
れない論理回路の出力信号数は低減する。このため、マ
イクロコンピュータの外部出力端子の数が制限されてい
ても、一の論理回路ブロックを構成する論理回路から出
力される出力信号の数の低減を抑制できるので、一の論
理回路ブロックを構成する論理回路に生成される故障を
外部出力端子から確実に観測することが可能になる。According to the test facilitation circuit of the microcomputer of the first aspect of the present invention, each output signal output from the plurality of logic circuits is encoded and output as a combination signal to the external output terminal. Since the number of signals output to the external output terminal is reduced, the number of output signals of the logic circuit not output to the outside is reduced. Therefore, even if the number of external output terminals of the microcomputer is limited, it is possible to suppress the reduction in the number of output signals output from the logic circuits that configure one logic circuit block, and thus configure one logic circuit block. It becomes possible to reliably observe the fault generated in the logic circuit that operates from the external output terminal.
【0051】請求項2の発明に係るマイクロコンピュー
タのテスト容易化回路によると、選択器から一又は他の
出力信号群を構成する各出力信号が選択的に出力され、
選択器から出力された各出力信号は符号器によりエンコ
ードされて組み合わせ信号となって外部出力端子に出力
されるため、一及び他の論理ブロックを構成する論理回
路から出力される出力信号は選択器及び符号器によって
2段階に低減されるので、マイクロコンピュータの外部
出力端子の数が制限されていても、一及び他の論理回路
ブロックを構成する論理回路から出力される出力信号の
数の低減を一層抑制でき、これにより、一又は他の論理
回路ブロックを構成する論理回路に生成される故障を外
部出力端子から一層確実に観測することが可能になる。According to the test facilitation circuit of the microcomputer of the second aspect of the present invention, each output signal forming one or another output signal group is selectively output from the selector,
Since each output signal output from the selector is encoded by the encoder to be a combined signal and output to the external output terminal, the output signal output from the logic circuit forming one or another logic block is the selector. And the encoder reduces the number of output signals from the logic circuits constituting one and the other logic circuit blocks even if the number of external output terminals of the microcomputer is limited. It is possible to further suppress, and thereby, it becomes possible to more reliably observe the failure generated in the logic circuit forming one or another logic circuit block from the external output terminal.
【0052】このため、請求項1又は2の発明による
と、短いテストパターンにより論理回路ブロックを構成
する論理回路に生成される故障を確実に検出できるの
で、前記論理回路の動作検証に大きな効果をもたらす。Therefore, according to the first or second aspect of the present invention, it is possible to reliably detect the fault generated in the logic circuit forming the logic circuit block by the short test pattern, which is very effective in verifying the operation of the logic circuit. Bring
【図1】本発明の一実施例に係るマイクロコンピュータ
のテスト容易化回路の平面図である。FIG. 1 is a plan view of a test facilitation circuit of a microcomputer according to an embodiment of the present invention.
【図2】従来のマイクロコンピュータのテスト容易化回
路の平面図である。FIG. 2 is a plan view of a conventional testability circuit of a microcomputer.
1 第1の論理回路ブロック 3 第2の論理回路ブロック 5 第3の論理回路ブロック 7 第4の論理回路ブロック 8 マイクロコンピュータ 10 第1の外部入力端子 11 第2の外部入力端子 12〜27 信号線 30 第1の論理回路 31 第2の論理回路 32 第3の論理回路 33 部分回路 34〜45 信号線 50 第1の論理回路 51 第2の論理回路 52 第3の論理回路 53〜62 信号線 68 第2の内部バス 70 第1の論理回路 71 第2の論理回路 72 第3の論理回路 77〜81 外部出力端子 82 第1の内部バス 83 第3の内部バス 84 第3の外部入力端子 90 第1の選択器(選択器) 91 選択制御器 92 符号器 93 第4の内部バス 94 第2の選択器 1 1st logic circuit block 3 2nd logic circuit block 5 3rd logic circuit block 7 4th logic circuit block 8 Microcomputer 10 1st external input terminal 11 2nd external input terminal 12-27 Signal line 30 1st logic circuit 31 2nd logic circuit 32 3rd logic circuit 33 Partial circuit 34-45 Signal line 50 1st logic circuit 51 2nd logic circuit 52 3rd logic circuit 53-62 Signal line 68 Second internal bus 70 First logic circuit 71 Second logic circuit 72 Third logic circuit 77 to 81 External output terminal 82 First internal bus 83 Third internal bus 84 Third external input terminal 90th 1 selector (selector) 91 selection controller 92 encoder 93 fourth internal bus 94 second selector
Claims (2)
路よりなる複数個の論理回路ブロックが直列に接続され
てなるマイクロコンピュータの外部入力端子から動作検
証用のテストパターンを入力し、前記マイクロコンピュ
ータの外部出力端子から出力される信号値を故障生成時
と正常時とで比較することにより前記複数の論理回路に
生成される故障を観測するためのマイクロコンピュータ
のテスト容易化回路であって、一の論理回路ブロックを
構成する複数の論理回路から出力される各出力信号が入
力され、該各出力信号に対応する組み合わせ信号を前記
外部出力端子に出力する符号器を備えていることを特徴
とするマイクロコンピュータのテスト容易化回路。1. A test pattern for operation verification is input from an external input terminal of a microcomputer in which a plurality of logic circuit blocks including a plurality of logic circuits such as a combinational circuit and a sequential circuit are connected in series, and the microcomputer is operated. A test facilitation circuit of a microcomputer for observing a failure generated in the plurality of logic circuits by comparing a signal value output from an external output terminal of the computer at the time of failure generation and a normal time, Each output signal output from a plurality of logic circuits forming one logic circuit block is input, and an encoder is provided for outputting a combination signal corresponding to each output signal to the external output terminal. Microcomputer testability circuit.
路よりなる複数個の論理回路ブロックが直列に接続され
てなるマイクロコンピュータの外部入力端子から動作検
証用のテストパターンを入力し、前記マイクロコンピュ
ータの外部出力端子から出力される信号値を故障生成時
と正常時とで比較することにより前記複数の論理回路に
生成される故障を観測するためのマイクロコンピュータ
のテスト容易化回路であって、 一の論理ブロックを構成する複数の論理回路から出力さ
れる各出力信号よりなる一の出力信号群と他の論理ブロ
ックを構成する複数の論理回路から出力される各出力信
号よりなる他の出力信号群とが入力され、前記一の出力
信号群及び他の出力信号群のうちのいずれか一方の出力
信号群を出力する選択器と、 前記選択器から出力される出力信号群を構成する各出力
信号が入力され、該各出力信号に対応する組み合わせ信
号を前記外部出力端子に出力する符号器とを備えている
ことを特徴とするマイクロコンピュータのテスト容易化
回路。2. A test pattern for operation verification is input from an external input terminal of a microcomputer in which a plurality of logic circuit blocks including a plurality of logic circuits such as a combinational circuit and a sequential circuit are connected in series, and the microcomputer is operated. A test facilitation circuit of a microcomputer for observing a failure generated in the plurality of logic circuits by comparing a signal value output from an external output terminal of the computer at the time of failure generation and a normal time, One output signal group composed of output signals output from a plurality of logic circuits forming one logic block and another output signal composed of output signals output from a plurality of logic circuits forming another logic block And a selector for outputting one of the output signal group of the one output signal group and the other output signal group, and the selector. An easy test of a microcomputer, comprising: an encoder that inputs each output signal that constitutes an output signal group to be output and outputs a combination signal corresponding to each output signal to the external output terminal. Circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6155839A JPH0822400A (en) | 1994-07-07 | 1994-07-07 | Microcomputer testability circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6155839A JPH0822400A (en) | 1994-07-07 | 1994-07-07 | Microcomputer testability circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0822400A true JPH0822400A (en) | 1996-01-23 |
Family
ID=15614629
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6155839A Withdrawn JPH0822400A (en) | 1994-07-07 | 1994-07-07 | Microcomputer testability circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0822400A (en) |
-
1994
- 1994-07-07 JP JP6155839A patent/JPH0822400A/en not_active Withdrawn
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2628154B2 (en) | Semiconductor integrated circuit | |
| US4241307A (en) | Module interconnection testing scheme | |
| JP2000266815A (en) | Electronic system with self-diagnosis function and electronic system simulation device | |
| JPH0822400A (en) | Microcomputer testability circuit | |
| KR100768578B1 (en) | Test apparatus of integrated circuit | |
| JP2867930B2 (en) | Semiconductor device | |
| US5754561A (en) | Large scale integrated circuit equipped with a normal internal logic testing circuit and unconnected/substandard solder testing circuit | |
| JPH0712073B2 (en) | Large scale integrated circuit with fault detection circuit | |
| JP2007051936A (en) | Fault location method in scan chain | |
| JPH09127203A (en) | Logical integrated circuit and failure test method therefor | |
| JP2000338188A (en) | Testing circuit for semiconductor integrated circuit | |
| JP2684058B2 (en) | CMOS type PLA circuit with failure diagnosis function | |
| JPH04128666A (en) | Semiconductor integrated circuit | |
| JPS61213934A (en) | Shift bus circuit | |
| JPH10104313A (en) | Semiconductor integrated circuit | |
| JP2001235513A (en) | Semiconductor integrated circuit device and test method therefor | |
| JPS61156828A (en) | Semiconductor device | |
| JP2003068866A (en) | Semiconductor integrated circuit device and method of designing semiconductor integrated circuit device | |
| JPS636470A (en) | Output terminal testing circuit for integrated circuit | |
| JP2006084421A (en) | I / O cell check method for semiconductor integrated circuit device | |
| JPH03122577A (en) | Method of testing electric circuit | |
| JPH0310172A (en) | Lsi circuit containing trouble detection circuit | |
| JPH08226956A (en) | Testability circuit | |
| JP2001229696A (en) | Semiconductor integrated circuit and its test method | |
| JP2008089340A (en) | Circuit test equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20011002 |