JPH0690264B2 - Integrated circuit - Google Patents
Integrated circuitInfo
- Publication number
- JPH0690264B2 JPH0690264B2 JP59276373A JP27637384A JPH0690264B2 JP H0690264 B2 JPH0690264 B2 JP H0690264B2 JP 59276373 A JP59276373 A JP 59276373A JP 27637384 A JP27637384 A JP 27637384A JP H0690264 B2 JPH0690264 B2 JP H0690264B2
- Authority
- JP
- Japan
- Prior art keywords
- integrated circuit
- circuit
- address
- input
- 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.)
- Expired - Lifetime
Links
- 238000012360 testing method Methods 0.000 claims description 29
- 238000003745 diagnosis Methods 0.000 description 4
- 238000002405 diagnostic procedure Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000000034 method Methods 0.000 description 2
Landscapes
- Tests Of Electronic Circuits (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明はLSI等の集積回路の診断方法に係り、特に集積
回路におけるテストモード指定の為の入力端子を増設す
ることなくテストモードの指定を可能とする集積回路の
診断方法に関する。Description: TECHNICAL FIELD The present invention relates to a diagnostic method for an integrated circuit such as an LSI, and more particularly, to specify a test mode without adding an input terminal for specifying a test mode in the integrated circuit. The present invention relates to a possible integrated circuit diagnostic method.
LSI等の集積回路においては、多数の論理ゲート素子か
ら成る論理回路群をパッケージ化したものであり、ある
単位の論理機能,データ処理機能を持った1つの閉回路
(ブラックボックス)として取扱われる。一方、この集
積回路の機能をテスト(診断)するためには、内蔵する
論理回路群の各部の出力を直接得られるよう構成する必
要がある。しかしながら反面、集積回路にテストのため
の特別の入出力端子を増設することも避ける要望も大き
い。An integrated circuit such as an LSI is a package of a logic circuit group composed of a large number of logic gate elements and is handled as one closed circuit (black box) having a certain unit of logic function and data processing function. On the other hand, in order to test (diagnose) the function of this integrated circuit, it is necessary to directly obtain the output of each part of the built-in logic circuit group. On the other hand, however, there is a great demand for avoiding the addition or addition of special input / output terminals for testing to the integrated circuit.
従来においては例えば第2図に示す如き診断方法が用い
られている。Conventionally, for example, a diagnostic method as shown in FIG. 2 is used.
第2図において、10は被診断回路であり、LSI等のパッ
ケージ化された集積回路である。11〜19は、集積回路10
に内蔵される論理回路群である。同図の例では、多接続
されたカウンタ素子11-0,11-1,……11-nから成るカウン
タ部11,多ゲートから成るパリティチェッカに、フリッ
プフロップ13,リセット回路14,アンドゲート15,16,オア
ゲート17,19,及びインバータ18等の各論理回路を示すも
のである。In FIG. 2, reference numeral 10 denotes a circuit to be diagnosed, which is a packaged integrated circuit such as an LSI. 11 to 19 are integrated circuits 10
Is a group of logic circuits built in. In the example shown in the figure, the counter unit 11 including multi-connected counter elements 11-0, 11-1, ... 11-n, a parity checker including multiple gates, a flip-flop 13, a reset circuit 14, and an AND gate 15 are provided. , 16, OR gates 17 and 19, and inverters 18 and other logic circuits.
また第2図において、集積回路10の左方から延びる信号
線は回路10に対する入力信号線を示す。更に回路10の右
方に延びる信号線は出力信号線を示す。そして、これら
入出力信号線の各々に対応して、回路10に入出力端子が
設けられることは言うまでもない。In FIG. 2, a signal line extending from the left side of the integrated circuit 10 is an input signal line to the circuit 10. Further, a signal line extending to the right of the circuit 10 represents an output signal line. It goes without saying that the circuit 10 is provided with an input / output terminal corresponding to each of these input / output signal lines.
しかして、カウンタ部11には動作クロックCLKの他に各
段のカウンタ素子11-1,……を強制的に動作させるテス
ト信号TEST1が供給される。このテスト信号TEST1はオア
ゲート19を介してカウンタ素子のイキーブル(E)入力
となる。これにより各段のカウンタ素子の出力CT0,…
…CTnを一斉に得ることが可能となる。Therefore, the counter section 11 is supplied with the test signal TEST1 for forcibly operating the counter elements 11-1, ... Of each stage in addition to the operation clock CLK. The test signal TEST1 becomes an equable (E) input to the counter element via the OR gate 19. As a result, the output CT 0 of the counter element at each stage, ...
… It becomes possible to obtain CTn all at once.
一方、パリティチェッカ12には、通常CPU、メモリ等か
らのデータDATAが供給され、パリティエラー発生時には
エラー信号ERRがフリップフロップ13を介して割込信号N
Miとして出力されるよう構成される。そして回路診断の
際にはこのエラー信号ERRを直接見られるように、出力
切換えの為の回路が各ゲート15〜18にて構成される。つ
まり、テスト信号TEST2によって出力信号Aoutとしてパ
リティチェッカ12の直接出力を見ることができる。尚、
Aとは図示しない論理回路からの出力である。On the other hand, the parity checker 12 is normally supplied with data DATA from the CPU, memory, etc., and when a parity error occurs, the error signal ERR is sent via the flip-flop 13 to the interrupt signal N.
It is configured to be output as Mi. In order to directly see the error signal ERR at the time of circuit diagnosis, a circuit for switching the output is composed of the gates 15 to 18. That is, the direct output of the parity checker 12 can be seen as the output signal Aout by the test signal TEST2. still,
A is an output from a logic circuit (not shown).
このように従来においては、集積回路10内の各部の出力
を得るため、外部よりテスト信号TEST1〜mを入力する
ものであった。換言すれば回路10自身に、テスト信号TE
ST1〜mを入力するための特別の入力端子を設ける必要
があった。As described above, in the related art, in order to obtain the output of each part in the integrated circuit 10, the test signals TEST1 to TEST1 to m are input from the outside. In other words, the circuit 10 itself receives the test signal TE
It was necessary to provide a special input terminal for inputting ST1 to m.
周知の如くLSI等においては、アドレスデータ線,デー
タ線,或いは種々の制御線を接続するための多数の入出
力端子が設けられる。従って上述した手法のように特別
のテスト端子を設けることは不可能な場合が実情であ
る。或いは限られた数のテスト端子を設ける事ができた
としても、回路の各部に亘る多種類のテスト指定ができ
ない問題点がある。更に、テスト端子を設けることが可
能であっても、この端子は通常運用時(装置組込み時)
には使用されない不用の端子であり、全く無駄なものと
なる問題点も大きい。As is well known, LSIs and the like are provided with a large number of input / output terminals for connecting address data lines, data lines, or various control lines. Therefore, it is the case that it is impossible to provide a special test terminal like the above-mentioned method. Alternatively, even if a limited number of test terminals can be provided, there is a problem that a large number of types of tests cannot be specified over each part of the circuit. Furthermore, even if a test terminal can be provided, this terminal is used during normal operation (when incorporated in the device).
It is an unnecessary terminal that is not used for, and there is a big problem that it becomes completely useless.
本発明の目的は上述した問題点を解決すべく、テストモ
ード指定の為の入力端子を設けることなく、所望の種類
のテストモードを指定することが可能となる診断方法を
提供するにある。An object of the present invention is to provide a diagnostic method capable of designating a desired type of test mode without providing an input terminal for designating a test mode in order to solve the above-mentioned problems.
そしてその為に本発明においては、テストモードを記憶
するレジスタ等の記憶回路を集積回路内に設け、この記
憶回路に対して、外部からの通常のアクセス動作を用い
てテストモードを示すデータを書込む(セットする)ら
うに構成したものである。Therefore, in the present invention, a memory circuit such as a register for storing the test mode is provided in the integrated circuit, and data indicating the test mode is written to this memory circuit by using a normal external access operation. It is configured to be plugged in (set).
即ち本発明では、テストモードを外部から供給するデー
タとして取扱い、集積回路に設けた記憶回路に1つ或い
は、故のアドレスマップを割付けるものである。従っ
て、通常のアクセス動作(アドレス及びデータの出力に
よるメモリ等のアクセス)を用いてテストモードを設定
できる。以下実施例を用いて本発明を詳述する。That is, in the present invention, the test mode is treated as data supplied from the outside, and one or a subsequent address map is assigned to the memory circuit provided in the integrated circuit. Therefore, the test mode can be set by using a normal access operation (access of a memory or the like by outputting an address and data). The present invention will be described in detail below with reference to examples.
第1図(a),(b)は本発明の一実施例を示す図であ
り、第2図と共通する部分にはそれぞれ同一の符号を附
すものとする。FIGS. 1 (a) and 1 (b) are views showing an embodiment of the present invention, and portions common to FIG. 2 are designated by the same reference numerals.
第1図(a)は集積回路10を単体で診断する場合の構成
を示す。同図に示す如く本実施例においては、従来、外
部より入力端子を介して支えていたテスト信号TESTの代
りに回路10の内部にて、発するレジスタ22を設ける。そ
してこのレジスタ22には特定のアドレスを割当てるもの
である。FIG. 1 (a) shows a configuration for diagnosing the integrated circuit 10 by itself. As shown in the figure, in this embodiment, a register 22 is provided inside the circuit 10 instead of the test signal TEST conventionally supported from the outside via an input terminal. A specific address is assigned to this register 22.
従って、図示しない診断装置からレジスタ22に割当てら
れるアドレスを発し、テストモードを示すデータを出力
する。このアドレスはアドレスデコーダ21に供給され
る。デコーダ21は与えられたアドレスで示されるレジス
タ22を能動化するチップセレクト信号を発する。これに
よりレジスタ22に診断装置より出力されたデータがセッ
トされることになる。Therefore, an address assigned to the register 22 is issued from a diagnostic device (not shown), and data indicating the test mode is output. This address is supplied to the address decoder 21. The decoder 21 issues a chip select signal which activates the register 22 indicated by the given address. As a result, the data output from the diagnostic device is set in the register 22.
この結果、レジスタ22にセットされたデータの各ビット
情報「1,0」がテスト信号TEST1〜mとして発せられるこ
とになる。As a result, each bit information "1,0" of the data set in the register 22 is issued as the test signals TEST1 to m.
尚、実施例に示すアドレスデコーダ21は、第2図では省
略したが集積回路10に設けられている既存のものと考え
て良い。そして通常運用時は、プロセッサ等の処理装置
のアドレスをデコードする為に用いられるものである。Although not shown in FIG. 2, the address decoder 21 shown in the embodiment may be considered as an existing one provided in the integrated circuit 10. During normal operation, it is used to decode the address of a processing device such as a processor.
第1図(b)は、この集積回路10を装置等に実装して運
用する場合の構成を示す。FIG. 1 (b) shows a configuration in which the integrated circuit 10 is mounted in a device or the like for operation.
同図に示す如く、プロセッサ30等の処理装置と制線線,
アドレス及びデータ線が接続されることになる。これに
よりプロセッサ30は、図示しない回路10内のバッファ等
にデータのプリセット等を行って、回路10の持つ演算,
データ処理機能を使用することになる。As shown in the figure, the processing device such as the processor 30 and the control line,
The address and data lines will be connected. As a result, the processor 30 presets data in a buffer or the like in the circuit 10 (not shown), and performs operations performed by the circuit 10.
The data processing function will be used.
この場合、プロセッサ30の発するアドレスマップ空間に
おいてはレジスタ22に割付けたアドレスは含まれない。
しかるにプロセッサ30の暴走等により誤ってレジスタ22
がアクセスされる場合も考えられる。In this case, the address map space issued by the processor 30 does not include the address assigned to the register 22.
However, due to the runaway of the processor 30, the register 22
May be accessed.
従って本実施例においては、装置への実装時には、レジ
スタ22のリセット端子尺を常に有効(レベル“0")とす
る手段を設ける。つまり、リセット端子Rに対応する集
積回路10のレジスタリセット端子23に常に0レベル“Z0
0"を与えるよう、例えば接地機構24を設けるものであ
る。Therefore, in the present embodiment, a means for always making the reset terminal scale of the register 22 valid (level "0") is provided at the time of mounting on the device. That is, the register reset terminal 23 of the integrated circuit 10 corresponding to the reset terminal R is always at the 0 level "Z0
For example, a grounding mechanism 24 is provided so as to give 0 ".
これによりレジスタ22は常にリセット状態となり、プロ
セッサ30が誤ってアクセスを行っても、テスト信号TEST
が誤って“1"レベルとなることを防止できる。As a result, the register 22 is always in the reset state, and even if the processor 30 erroneously accesses the test signal TEST,
Can be prevented from accidentally becoming the "1" level.
以上の如く本発明によれば、テスト端子を設けることな
く、集積回路に所望の種類のテストモードを設定でき
る。従って、集積回路の各部の動作を診断することがで
き、診断率の向上を図ることが可能となる。As described above, according to the present invention, a desired type of test mode can be set in the integrated circuit without providing a test terminal. Therefore, the operation of each part of the integrated circuit can be diagnosed, and the diagnosis rate can be improved.
第1図は本発明の一実施例を示すものであり、同図
(a)は診断時の接続例を示す図、同図(b)は通常運
用時の接続例を示す図である。 第2図は従来の診断方法を示す図である。FIG. 1 shows an embodiment of the present invention. FIG. 1A is a diagram showing a connection example during diagnosis, and FIG. 1B is a diagram showing a connection example during normal operation. FIG. 2 is a diagram showing a conventional diagnosis method.
Claims (1)
有し、該集積回路に入力端子を介して与えたデータに対
する論理回路群の各部の出力を得る集積回路であって、 アドレス、データを入力する端子、論理回路群をテスト
するためのデータが記憶される記憶回路、前記入力端子
より入力されたアドレスをデコードし、入力されたアド
レスに基づいて、チップをセレクトするとともに、テス
トモードを示すアドレスが入力端子より入力された際、
記憶回路をセレクトするアドレスデコーダを設けことを
特徴とする集積回路。1. An integrated circuit having a logic circuit group including storage means such as a counter, and obtaining an output of each part of the logic circuit group with respect to data given to the integrated circuit through an input terminal. Input terminal, a memory circuit in which data for testing a logic circuit group is stored, an address input from the input terminal is decoded, a chip is selected based on the input address, and a test mode is set. When the indicated address is input from the input terminal,
An integrated circuit having an address decoder for selecting a memory circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59276373A JPH0690264B2 (en) | 1984-12-28 | 1984-12-28 | Integrated circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59276373A JPH0690264B2 (en) | 1984-12-28 | 1984-12-28 | Integrated circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS61165673A JPS61165673A (en) | 1986-07-26 |
JPH0690264B2 true JPH0690264B2 (en) | 1994-11-14 |
Family
ID=17568520
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP59276373A Expired - Lifetime JPH0690264B2 (en) | 1984-12-28 | 1984-12-28 | Integrated circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0690264B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63131237A (en) * | 1986-11-20 | 1988-06-03 | Nec Corp | Microcomputer with test circuit |
-
1984
- 1984-12-28 JP JP59276373A patent/JPH0690264B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPS61165673A (en) | 1986-07-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5509019A (en) | Semiconductor integrated circuit device having test control circuit in input/output area | |
US5056013A (en) | In-circuit emulator | |
KR930011423B1 (en) | Semiconductor integrated circuit with test method, test circuit and test circuit | |
US4422141A (en) | Microprocessor architecture for improved chip testability | |
US5436856A (en) | Self testing computer system with circuits including test registers | |
JPH11288400A (en) | Pci bridge device | |
JPH0690264B2 (en) | Integrated circuit | |
JPS59168995A (en) | Memory | |
KR102497801B1 (en) | System-on-chip automatic desgin device and operation method thereof | |
EP0463352B1 (en) | Microprocessor for use in in-circuit emulator having function of discriminating users space and in-circuit emulator space | |
KR100253934B1 (en) | Semiconductor integrated circuit | |
JPS61155876A (en) | How to diagnose integrated circuits | |
JPS646489B2 (en) | ||
JP3008914B2 (en) | Semiconductor integrated circuit | |
EP0502210B1 (en) | Semiconductor integrated circuit device with testing-controlling circuit provided in input/output region | |
US5991212A (en) | Semi-conductor integrated circuit device having an external memory and a test method therefor | |
JPH10214206A (en) | Information processor | |
JPH0568665B2 (en) | ||
JPH05334116A (en) | Debugging control system | |
JPH0116193Y2 (en) | ||
JPH06110721A (en) | Memory controller | |
JPS6167147A (en) | Integrated circuit scan-in/scan-out method | |
JPS6138509B2 (en) | ||
JPS6142299B2 (en) | ||
JP2634423B2 (en) | Microcomputer |