JPS61155876A - Diagnozing method of integrated circuit - Google Patents

Diagnozing method of integrated circuit

Info

Publication number
JPS61155876A
JPS61155876A JP59276372A JP27637284A JPS61155876A JP S61155876 A JPS61155876 A JP S61155876A JP 59276372 A JP59276372 A JP 59276372A JP 27637284 A JP27637284 A JP 27637284A JP S61155876 A JPS61155876 A JP S61155876A
Authority
JP
Japan
Prior art keywords
integrated circuit
circuit
test mode
register
data
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
Application number
JP59276372A
Other languages
Japanese (ja)
Inventor
Takumi Kishino
琢己 岸野
Shigeru Hashimoto
繁 橋本
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP59276372A priority Critical patent/JPS61155876A/en
Publication of JPS61155876A publication Critical patent/JPS61155876A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To improve the efficiency of diagnosing operation by writing data showing a test mode in normal external access in a storage circuit provided in an integrated circuit, and setting a desired test mode among plural kinds in the integrated circuit without providing any test terminal. CONSTITUTION:This system is equipped with the integrated circuit 10 which has logical circuits internally and has input terminals for an address and data for the access of a processor, and the integrated circuit 10 is provided with the storage circuit (register) 22 where data showing a test mode is set through an input terminal. When a diagnosis is taken, the data indicating the test mode is set in the register 22 through the input terminal from an external diagnosing device and respective outputs of the internal logical circuit group. Further, the register is held reset all the time in normal operation where access is attained by a processor 30.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はL81等の集積回路の診断方法に係り、特に集
積回路におけるテストモード指定の為の入力端子を増設
することなくテストモーFの指定を可能とする集積回路
の診断方法に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a method for diagnosing integrated circuits such as L81, and in particular, a method for specifying a test mode F without adding an input terminal for specifying a test mode in an integrated circuit. This invention relates to a method for diagnosing integrated circuits.

L8I等の集積回路においては、多数の論理ゲート素子
から成る論理回路群をパッケージ化したものであり、あ
る単位の論理機能、データ処理機能を持った1つの閉回
路(ブラックボックス)として取扱われる。一方、この
集積回路の機能をテスト(診断)するためには、内蔵す
る論理回路群の各部の出力を直接得られるよう構成する
必要がある。しかしながら反面、集積回路にテストのた
めの特別の入出力端子を増設することも避ける要望も大
きい。
An integrated circuit such as L8I is a package of a logic circuit group consisting of a large number of logic gate elements, and is treated as one closed circuit (black box) with a certain unit of logic function and data processing function. On the other hand, in order to test (diagnose) the functions of this integrated circuit, it is necessary to configure it so that the outputs of each part of the built-in logic circuit group can be directly obtained. However, on the other hand, there is also a strong desire to avoid adding special input/output terminals for testing to integrated circuits.

〔従来の技術〕[Conventional technology]

従来においては例えば第2rgJK示す如き診断方法が
用いられている。
Conventionally, for example, a diagnostic method as shown in the second rgJK has been used.

第2図において、10は被診断回路であり、LSI等の
パッケージ化された集積回路である。11〜19は集積
回路lOに内蔵される論理回路群である。同図の例では
、多 接続されたカウンタ素子11−0.11−1.・
・・・・・11−1から成るカウンタ部11、多ゲート
から成るパリティチェッカに、フリ、プ70ツブ13.
リセット回路14.アンドゲート15,16.オアゲー
ト17,19.及びインバータ18等の各論理回路を示
すものである。
In FIG. 2, 10 is a circuit to be diagnosed, which is a packaged integrated circuit such as an LSI. 11 to 19 are a group of logic circuits built into the integrated circuit IO. In the example shown in the figure, the multi-connected counter elements 11-0.11-1.・
...The counter section 11 consisting of 11-1, the parity checker consisting of multiple gates, and 70 tubes 13.
Reset circuit 14. And gate 15, 16. Orgate 17, 19. and each logic circuit such as an inverter 18.

また第2図において、集積回″$10の左方から嬌びる
信号線は回路10に対する入力信号線を示す。更に回路
lOの右方に延びる信号線は出力信号線を示す。そして
、これら入出力信号線の各々に対応して、回路10に:
入出力端子が設けられることは言うまでもない。
Further, in FIG. 2, the signal line extending from the left side of the integrated circuit "$10" indicates the input signal line to the circuit 10. Furthermore, the signal line extending to the right side of the circuit 10 indicates the output signal line. Corresponding to each of the output signal lines, the circuit 10:
Needless to say, input/output terminals are provided.

しかして、カウンタ部11には動作クロックCLKの他
に各段のカウンタ素子11.・・・・・・を強制的に動
作させるテスト信号TESTlが供給される。
Therefore, in addition to the operation clock CLK, the counter section 11 has counter elements 11 . A test signal TESTl is supplied that forces . . . to operate.

このテスト信号THATlはオアゲー)19を介してカ
ウンタ素子のイ −プル(目人力となる。これKより各
段のカウンタ素子の出力CTo、・・・・CTnを一斉
に得ることが可能となる。
This test signal THAT1 becomes the input power of the counter element via the OR game 19. From this, it becomes possible to obtain the outputs CTo, . . . CTn of the counter elements of each stage all at once.

一方、パリティチェッカ12には、通常CPU。On the other hand, the parity checker 12 normally uses a CPU.

メモリ等からのデータDATAが供給され、パリティエ
ラー発生時にはエラー信号FXRRがフリップ70ツブ
13を介して割込信号NMtとして出力されるよう構成
される。そして回路診断の際にはこのエラー信号ERR
を直接見られるように、出力切換えの為の回路が各ゲー
ト15〜18にて構成される。つまり、テスト信号TE
ST2によって出力信号Aoutとしてパリティチェッ
カ12の直接出力を見ることができる。尚、人とは図示
しない論理回路からの出力である。
It is configured such that data DATA from a memory or the like is supplied, and when a parity error occurs, an error signal FXRR is outputted as an interrupt signal NMt via the flip 70 knob 13. When diagnosing the circuit, this error signal ERR is used.
A circuit for output switching is constructed by each of the gates 15 to 18 so as to be directly visible. In other words, the test signal TE
The direct output of the parity checker 12 can be seen as the output signal Aout by ST2. Note that "person" is an output from a logic circuit (not shown).

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

このように従来においては、集積回路lO内の各部の出
力を得るため、外部よりテスト信号TB8T1−mを入
力するものでありた。換言すれば回路lO自身に、テス
ト信号TB8Tl−mを入力するための特別の入力端子
を設ける必要があった。
In this way, conventionally, the test signal TB8T1-m was inputted from the outside in order to obtain the output of each part within the integrated circuit IO. In other words, it was necessary to provide a special input terminal in the circuit IO itself for inputting the test signal TB8Tl-m.

周知の如<L8I等においては、アドレスデータ線、デ
ータ線、或いは との制御線を接続するための多数の入
出力端子が設けられる。従りて上述した手法のように特
別のテスト端子を設けることは不可能な場合が実情であ
る。或いは限られた数のテスト端子を設ける事ができた
としても、回路の各部に亘る多種類のテスト指定かで段
ない問題点がある。更に、テスト端子を設けることが可
能でありても、この端子は通常運用時(装置組込み時)
Kは使用されない不用の端子であり、全く無駄なものと
なる問題点も大きい。また通常運用時に不用となるテス
ト端子に誤って有効な信号が人力されると、集積回路が
不所望にテストモードに陥いる懸念もある。
As is well known, in the L8I and the like, a large number of input/output terminals are provided for connecting address data lines, data lines, or control lines. Therefore, in reality, it is impossible to provide a special test terminal as in the method described above. Alternatively, even if a limited number of test terminals can be provided, there are many problems associated with specifying multiple types of tests for each part of the circuit. Furthermore, even if it is possible to provide a test terminal, this terminal is not used during normal operation (when installed in the device).
K is an unnecessary terminal that is not used, and there is a big problem that it is completely wasted. Furthermore, if a valid signal is erroneously applied to a test terminal that is not used during normal operation, there is a concern that the integrated circuit may undesirably enter a test mode.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の目的は上述した問題点を解決すべく、テストモ
ード指定の為の入力端子を設けることなく、且つ、診断
時にのみ所望の種類のテストモードを指定することが可
能となる診断方法を提供するにある。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, an object of the present invention is to provide a diagnostic method that makes it possible to specify a desired type of test mode only at the time of diagnosis without providing an input terminal for specifying a test mode. There is something to do.

そしてその為に本発明においては、テストモードを記憶
するレジスタ等の記憶回路を集積回路内に設け、この記
憶回路に対して、外部からの通常のアクセス動作を用い
てテストモードを示すデータを書込む(セットする)よ
うに構成したものである。更に通常運用時には、この記
憶回路を常にリセット状態に保持するよう構成したもの
である。
To this end, in the present invention, a memory circuit such as a register that stores the test mode is provided in the integrated circuit, and data indicating the test mode is written to this memory circuit using a normal access operation from the outside. It is configured to be read (set). Furthermore, during normal operation, this memory circuit is always maintained in a reset state.

〔作 用〕[For production]

即ち本発明では、テストモードを外部から供給するデー
タとして取扱い、集積回路に設けた記憶回路に1つ或い
は 故のアドレスマツプを割付けるものである。従って
、通常の゛Tアクセス動作アドレス及びデータの出力に
よるメモリ等のアクセス)を用いてテストモードを設定
できる。以下実施例を用いて本発明を詳述する。
That is, in the present invention, the test mode is handled as data supplied from the outside, and one or more address maps are assigned to the memory circuit provided in the integrated circuit. Therefore, the test mode can be set using the normal ``T access operation (access to memory, etc. by outputting address and data)''. The present invention will be explained in detail below using Examples.

〔実施例〕〔Example〕

第1図(al 、 (blは本発明の一実施例を示す図
であり、第2図と共通する部分にはそれぞれ同一の符号
を附すものとする。
FIGS. 1A and 1B are diagrams showing an embodiment of the present invention, and parts common to FIGS. 2A and 2B are given the same reference numerals.

第1図+alは、集積回路lO単体を診断装置にて診断
する場合の構成を示すものである。同図に示す如く本実
施例においては、従来、外部より入力端子を介して支え
ていたテスト信号TBSTの代りに回路内部にて発する
レジスタ22を設ける。そしてこのレジスタ221Cは
特定のアドレスが割当てられる。
FIG. 1+al shows the configuration when a single integrated circuit IO is diagnosed by a diagnostic device. As shown in the figure, in this embodiment, a register 22 is provided which is generated inside the circuit in place of the test signal TBST which is conventionally supported from the outside via an input terminal. A specific address is assigned to this register 221C.

従って、図示しない診断装置からレジスタ22に割当て
られるアドレスを発し、テストモードを示すデータを出
力する。このアドレスはアドレスデコーダ21に供給さ
れる。デコーダ21は与えられたアドレスで示されるレ
ジスタ22を能動化するチップセレクト信号を発する0
これによりレジスタ22に診断装置より出力されたデー
タがセットされることになる〇 この結果、レジスタ22にセットされたデータの各ビッ
ト情報rl、OJがテスト信号TFf8Tl−mとして
発せられることになる。
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 address decoder 21. The decoder 21 issues a chip select signal that 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. As a result, each bit information rl and OJ of the data set in the register 22 is issued as a test signal TFf8Tl-m.

尚、実施例に示すアドレスデコーダ21は、第2図では
省略したが集積回路10に設けられている既存のものと
考えて良い。そして通常運用時は、プロセッサ等の処理
装置のアドレスをデコードする為に用いられるものであ
る。
Although the address decoder 21 shown in the embodiment is omitted in FIG. 2, it can be considered to be 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図1blは、この集積回路10を装置等に実装して
運用する場合の構成を示す。
FIG. 1 1bl shows a configuration when this integrated circuit 10 is mounted and operated in a device or the like.

同図に示す如く、プロセッサ30等の処if!装置と制
線線、アドレス及びデータ線が接続されることKなる。
As shown in the figure, the processing of the processor 30, etc. if! The device is connected to the control line, address line, and data line.

これによりプロセッサ30は、図示しない回路lO内の
バッファ等にデータのプリセット等を行って、回路lO
の持つ演算、データ処理機能を使用するととkなる。
As a result, the processor 30 presets data in a buffer or the like in the circuit lO (not shown), and
If you use the calculation and data processing functions of , it becomes k.

この場合、プロセッサ30の発するアドレスマツプ(空
間)においてはレジスタ22に割付けたアドレスは含ま
れない。しかるにプロセッサ30の暴走等により誤って
レジスタ22がアクセスされる場合も考えられる。
In this case, the address map (space) generated by the processor 30 does not include the address assigned to the register 22. However, it is possible that the register 22 may be erroneously accessed due to a runaway of the processor 30 or the like.

従って本実施例においては、装置への実装時には、レジ
スタ22のリセット端子尺を常に有効(レベル”O″)
とする手段を設ける。つまり1 リセット端子Rに対応
する集積回路lOのレジスタリセット端子23に常KO
レベル′″z00”を与えるよう、例えば接地機構24
を設けるものである。
Therefore, in this embodiment, the reset terminal length of the register 22 is always enabled (level "O") when installed in the device.
Provide means to do so. In other words, 1. KO is always applied to the register reset terminal 23 of the integrated circuit lO corresponding to the reset terminal R.
For example, the grounding mechanism 24
It is intended to provide

これによりレジスタ22は常にリセット状態となり、プ
ロセッサ30が誤ってアクセスを行っても、テスト信号
TENTが誤りて@ l#レベルとなることを防止でき
る。
As a result, the register 22 is always in a reset state, and even if the processor 30 makes an erroneous access, it is possible to prevent the test signal TENT from erroneously becoming the @l# level.

〔発明の効果〕〔Effect of the invention〕

以上の如く本発明によれば、テスト端子を設けることな
く、集積回路に所望の種類のテストモードを設定できる
。従って、集積回路の各部の動作を診断することができ
、診断率の向上を図ることが可能となる。また通常運用
時には、テストモード設定用の記憶回路を常KI7セツ
ト状態とするため、プロセッサ等による記憶回路へのア
クセスがあったとしても、この記憶回路に不所望なテス
トモードデータがセットされることもなくなる。
As described above, according to the present invention, a desired type of test mode can be set in an integrated circuit without providing a test terminal. Therefore, the operation of each part of the integrated circuit can be diagnosed, and the diagnostic rate can be improved. Furthermore, during normal operation, the memory circuit for setting the test mode is always in the KI7 set state, so even if the memory circuit is accessed by a processor or the like, there is no chance that undesired test mode data will be set in this memory circuit. It also disappears.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例を示すものであり、同図(a
lは診断時の接続例を示す図、同図(blは通常運用時
の接続例を示す図である。 第2図は従来の診断方法を示す図である。 本発明乙逢用しt:診断方法1↑す閃 第 1 図 (Q) ■$7用時のJ豪、優を示す図 14  +  I21tb)
FIG. 1 shows an embodiment of the present invention, and FIG.
1 is a diagram showing an example of connection during diagnosis; BL is a diagram showing an example of connection during normal operation. FIG. 2 is a diagram showing a conventional diagnosis method. Diagnostic method 1↑Sen Figure 1 (Q) ■Figure 14 showing J Go and Yu when using $7 + I21tb)

Claims (1)

【特許請求の範囲】 論理回路群を内蔵するとともに、処理装置によつてアク
セスされるためのアドレス及びデータの入力端子を備え
た集積回路を備えたシステムにおいて、 上記集積回路に、上記入力端子を介してテストモードを
示すデータがセットされる記憶回路を設け、 診断時には、外部診断装置より上記入力端子を介して記
憶回路にテストモードを示すデータをセットして内蔵す
る論理回路群の各部出力を得るようにし、 上記処理装置によつてアクセスされる通常運用時には、
この記憶回路を常時リセット状態に保持することを特徴
とする集積回路の診断方法。
[Claims] A system comprising an integrated circuit that includes a logic circuit group and has address and data input terminals to be accessed by a processing device, wherein the integrated circuit includes the input terminals. A memory circuit is provided in which data indicating the test mode is set through the input terminal, and during diagnosis, data indicating the test mode is set in the memory circuit from an external diagnostic device via the input terminal, and the outputs of each part of the built-in logic circuit group are output. and during normal operation accessed by said processing device:
A method for diagnosing an integrated circuit, characterized in that the memory circuit is always maintained in a reset state.
JP59276372A 1984-12-28 1984-12-28 Diagnozing method of integrated circuit Pending JPS61155876A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59276372A JPS61155876A (en) 1984-12-28 1984-12-28 Diagnozing method of integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59276372A JPS61155876A (en) 1984-12-28 1984-12-28 Diagnozing method of integrated circuit

Publications (1)

Publication Number Publication Date
JPS61155876A true JPS61155876A (en) 1986-07-15

Family

ID=17568508

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59276372A Pending JPS61155876A (en) 1984-12-28 1984-12-28 Diagnozing method of integrated circuit

Country Status (1)

Country Link
JP (1) JPS61155876A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5968181A (en) * 1997-08-11 1999-10-19 Mitsubishi Denki Kabushiki Kaisha One-chip clock synchronized memory device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5968181A (en) * 1997-08-11 1999-10-19 Mitsubishi Denki Kabushiki Kaisha One-chip clock synchronized memory device

Similar Documents

Publication Publication Date Title
US4969087A (en) Single-chip microcomputer
US5056013A (en) In-circuit emulator
US6269458B1 (en) Computer system and method for diagnosing and isolating faults
KR20060110359A (en) Method and device for analyzing integrated systems for critical safety computing systems in motor vehicles
JPS61155876A (en) Diagnozing method of integrated circuit
EP0463352B1 (en) Microprocessor for use in in-circuit emulator having function of discriminating users space and in-circuit emulator space
JP3078000B2 (en) Information processing device
JPS61165673A (en) Diagnosis of integrated circuit
EP0087314B1 (en) Diagnostic system in a data processor
JP3008914B2 (en) Semiconductor integrated circuit
JP3104621B2 (en) Semiconductor integrated circuit device
KR910008568A (en) Personal computer parity check system
JPS594051B2 (en) One-chip microprocessor test processing method
JPH05334116A (en) Debugging control system
SU951406A1 (en) Memory device with self-check capability
JPH0568665B2 (en)
JPS5812192A (en) Semiconductor integrated circuit device
JPH039438A (en) Diagnostic circuit
JPS6138509B2 (en)
JPS60101649A (en) Diagnosis device of electronic computer
JPS6321928B2 (en)
JPH06195477A (en) Lsi incorporating cpu
JPS63174141A (en) Diagnosing system for test of information processor
JPH02103482A (en) Integrated circuit device
JPH02193237A (en) Ram diagnosing circuit