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

JP2655435B2 - Test mode setting circuit - Google Patents

Test mode setting circuit

Info

Publication number
JP2655435B2
JP2655435B2 JP1189408A JP18940889A JP2655435B2 JP 2655435 B2 JP2655435 B2 JP 2655435B2 JP 1189408 A JP1189408 A JP 1189408A JP 18940889 A JP18940889 A JP 18940889A JP 2655435 B2 JP2655435 B2 JP 2655435B2
Authority
JP
Japan
Prior art keywords
signal
test mode
test
state
circuit
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
Application number
JP1189408A
Other languages
Japanese (ja)
Other versions
JPH0353342A (en
Inventor
茂信 田中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP1189408A priority Critical patent/JP2655435B2/en
Publication of JPH0353342A publication Critical patent/JPH0353342A/en
Application granted granted Critical
Publication of JP2655435B2 publication Critical patent/JP2655435B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Microcomputers (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、テストモード設定回路に関する。The present invention relates to a test mode setting circuit.

〔従来の技術〕[Conventional technology]

従来、複数のテストモードを必要とする論理集積回路
においてテストモードを設定する場合、テストモードを
規定する1つ以上の入力端子を設け、その入力端子の信
号論理の組合せで、テストモードを規定していた。
Conventionally, when a test mode is set in a logic integrated circuit that requires a plurality of test modes, one or more input terminals that define the test mode are provided, and the test mode is defined by a combination of signal logics of the input terminals. I was

第5図を用いて、従来技術を説明する。 The prior art will be described with reference to FIG.

第5図において、9及び10はテストモードを規定する
入力端子BとC、11はLレベルを印加することによりデ
バイスをリセットするリセット入力端子▲
▼、12はデバイスを通常動作からテスト動作にセットす
る入力端子A、13は入力信号12の立ち上がりで入力信号
9のデータをラッチ出力し、リセット信号11のHレベル
でリセット(Lレベル出力となる)するDフリップフロ
ップ回路、14は入力信号12の立ち上がりで入力信号10の
データをラッチ出力し、リセット信号11のHレベルでリ
セット(Lレベル出力となる)するDフリップフロップ
回路、15はDフリップフロップ回路13及び14の出力信号
をデコードしデバイス動作状態を示すテストモード信号
(1),(2),(3)及び通常動作モード信号の4つ
の出力信号を形成するデコード回路である。
In FIG. 5, 9 and 10 are input terminals B and C for defining a test mode, and 11 is a reset input terminal for resetting the device by applying an L level.
▼, 12 are input terminals A for setting the device from the normal operation to the test operation. 13 is for latching and outputting the data of the input signal 9 at the rising edge of the input signal 12, and resetting at the H level of the reset signal 11 (L level output) A D flip-flop circuit 14 latches and outputs the data of the input signal 10 at the rising edge of the input signal 12, and resets (outputs an L level) at the H level of the reset signal 11, and 15 denotes a D flip-flop circuit. This is a decoding circuit that decodes output signals of the loop circuits 13 and 14 and forms four output signals of test mode signals (1), (2), (3) indicating a device operation state and a normal operation mode signal.

本テスト回路の動作を第6図のタイムチャートに示
す。
The operation of this test circuit is shown in the time chart of FIG.

本回路でテストモード(2)の状態にする場合は、第
6図に示すようにリセット入力端子11にLレベルを印加
しデバイスをリセット状態にして、入力端子9にLレベ
ル、入力端子10にHレベルを印加し、入力信号12をLレ
ベルからHレベルに立ち上げデコード回路15のテストモ
ード信号(2)をHレベルとする。また、通常動作に復
帰させる場合は、リセット入力端子11にHレベルを印加
し、Dフリップフロップ回路13及び14をリセットしてデ
コード回路15の通常動作モード信号をHレベルとする。
When the circuit is set to the test mode (2) state, as shown in FIG. 6, an L level is applied to the reset input terminal 11, the device is reset, the L level is applied to the input terminal 9, and the L level is applied to the input terminal 10. The H level is applied, the input signal 12 rises from the L level to the H level, and the test mode signal (2) of the decoding circuit 15 is set to the H level. When returning to the normal operation, the H level is applied to the reset input terminal 11, the D flip-flop circuits 13 and 14 are reset, and the normal operation mode signal of the decode circuit 15 is set to the H level.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

前記した従来技術によるテストモード設定回路では、
設定すべきテストモードが多数ある場合、テストモード
を規定する入力端子を増やすこととなりテスト動作に移
行するときの制御が複雑になる。また、設定できるテス
トモードの状態数は、入力端子の数により制御されるこ
とになる。
In the test mode setting circuit according to the related art described above,
If there are a large number of test modes to be set, the number of input terminals for defining the test mode is increased, and the control when shifting to the test operation becomes complicated. The number of test mode states that can be set is controlled by the number of input terminals.

〔課題を解決するための手段〕[Means for solving the problem]

本発明のテストモード設定回路は、リセット信号が活
性化された状態の時にテスト状態になり、非活性化時に
通常動作状態になるLSIであって、このLSIに供給される
チップセレクト信号、リード信号およびライト信号から
なるバス制御信号群を用い、これらの制御信号の極性を
前記通常動作状態で使用禁止される論理レベルのロウレ
ベルに設定し、かつこれらのロウレベル信号の組合わせ
論理結果の単一信号または単一の専用テスト信号を前記
テスト状態時にバイナリカウンタで計数し、かつこのカ
ウンタの計数出力をデコードして得られる信号のうち、
前記LSIの内部回路を前記テスト状態にするテストモー
ド信号群のみを前記カウンタの状態遷移により活性化す
るとともに、これらの活性化されたテストモード信号に
順次応答して前記LSIの内部回路を選択的に前記リセッ
ト状態から解除して所定のテストモードに移行させ、前
記通常動作モード信号のみを前記リセット信号の非活性
化に応答して活性化し前記内部回路を前記通常動作状態
に復帰させるように構成することを特徴とする。
The test mode setting circuit according to the present invention is an LSI which is in a test state when a reset signal is activated and is in a normal operation state when deactivated, and includes a chip select signal and a read signal supplied to the LSI. And a bus control signal group consisting of write signals, the polarity of these control signals is set to a low level of a logic level that is prohibited from being used in the normal operation state, and a single signal of a combination logic result of these low level signals is set. Alternatively, a single dedicated test signal is counted by a binary counter in the test state, and of the signals obtained by decoding the count output of the counter,
Only the test mode signal group for setting the internal circuit of the LSI to the test state is activated by the state transition of the counter, and the internal circuit of the LSI is selectively responded to these activated test mode signals sequentially. And resetting the internal circuit to the normal operation state by releasing the reset state to shift to a predetermined test mode, activating only the normal operation mode signal in response to the deactivation of the reset signal. It is characterized by doing.

〔実施例〕 本発明の実施例を図面を用いて説明する。Embodiment An embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の第1の実施例による回路図を示した
ものである。
FIG. 1 shows a circuit diagram according to a first embodiment of the present invention.

1は、デバイスを通常動作からテストモードに切り換
える入力端子A、2はLレベルを印加することによりデ
バイスをリセットする入力端子▲▼、3は前
記入力信号1の立ち上がり信号でインクリメントし、前
記リセット信号2のHレベルでリセットする2ビット出
力の4進カウンタ、4は前記カウンタ3の出力をデコー
ドしてデバイスの動作状態を示すテストモード(1),
(2),(3)及び通常動作モードの4つの出力信号を
生成するデコーダ回路である。
1 is an input terminal A for switching the device from the normal operation to the test mode. 2 is an input terminal for resetting the device by applying an L level. ▲ ▼, 3 is incremented by a rising signal of the input signal 1, and 3 is the reset signal. A 2-bit output quaternary counter reset at the H level of 2, a test mode (1) that decodes the output of the counter 3 and indicates the operation state of the device,
The decoder circuit generates four output signals of (2), (3) and the normal operation mode.

第2図は、第1図に示した回路の動作を示すタイムチ
ャートである。
FIG. 2 is a time chart showing the operation of the circuit shown in FIG.

本回路でテストモード(2)の状態にする場合は、第
2図に示すようにリセット入力端子2にLレベルを印加
しデバイスをリセット状態にして、入力信号1の信号レ
ベルをL→H→L→Hと印加し、カウンタ3を2回イン
クリメントさせデコード回路4のテストモード信号
(2)をHレベルとする。また、通常動作に復帰させる
場合は、リセット入力端子2にHレベルを印加し、カウ
ンタ3をリセットしてデコード回路4の通常動作モード
信号をHレベルとする。
When the circuit is set to the test mode (2), as shown in FIG. 2, an L level is applied to the reset input terminal 2 to reset the device, and the signal level of the input signal 1 is changed from L → H → L → H is applied, the counter 3 is incremented twice, and the test mode signal (2) of the decoding circuit 4 is set to H level. To return to the normal operation, an H level is applied to the reset input terminal 2 to reset the counter 3 and set the normal operation mode signal of the decoding circuit 4 to the H level.

第3図は本発明の第2の実施例の回路図である。本実
施例はマイコン周辺に用いられる▲▼(チップセレ
クト)、▲▼(リード)、▲▼(ライト)のバ
ス制御入力端子を持つデバイスのテスト回路に本発明を
用いた例である。
FIG. 3 is a circuit diagram of a second embodiment of the present invention. The present embodiment is an example in which the present invention is applied to a test circuit of a device having bus control input terminals of ▲ (chip select), ▲ (read), and ▼ (write) used around a microcomputer.

5は入力端子▲▼,▲▼,▲▼の3つ入
力論理が通常の使用において禁止される▲▼=▲
▼=▲▼=0の時、Hレベルを出力する3入力NO
R回路の出力信号、6はLレベルに印加することにより
デバイスをリセットするリセット入力端子、7は前記NO
R回路の出力信号5の立ち上がり信号でインクリメント
し、前記リセット信号6のHレベルでリセットする2ビ
ット出力の4進カウンタ、8は前記カウンタ7の出力を
デコードしてデバイスの動作状態を示すテストモード
(1),(2),(3)及び通常動作モードの4つの出
力信号を生成するデコーダ回路である。
5 indicates that the three input logics of input terminals ▲ ▼, ▲ ▼, ▲ ▼ are prohibited in normal use.
3-input NO to output H level when ▼ = ▲ ▼ = 0
The output signal of the R circuit, 6 is a reset input terminal for resetting the device by applying L level, and 7 is the NO
A 2-bit output quaternary counter that increments with the rising signal of the output signal 5 of the R circuit and resets with the H level of the reset signal 6, a test mode 8 that decodes the output of the counter 7 and indicates the operating state of the device A decoder circuit for generating four output signals of (1), (2), (3) and a normal operation mode.

第4図は第3図に示した回路の動作を示すタイムチャ
ートである。
FIG. 4 is a time chart showing the operation of the circuit shown in FIG.

本回路でテストモード(2)の状態にする場合は、リ
セット入力端子6にLレベルを印加しデバイスをリセッ
ト状態にして、▲▼,▲▼,▲▼の入力端
子に信号を印加し、3入力NOR回路の出力信号レベルを
L→H→L→Hとなるよう制御しカウンタ7を2回イン
クリメントさせデコード回路8のテストモード信号
(2)をHレベルとする。また、通常動作に復帰させる
場合は、リセット入力端子6にHレベルを印加し、カウ
ンタ7をリセットしてデコード回路8の通常動作モード
信号をHレベルとする。
When the test mode (2) is set in this circuit, an L level is applied to the reset input terminal 6 to set the device in the reset state, and a signal is applied to the input terminals ▲ ▼, ▲ ▼, ▲ ▼. The output signal level of the input NOR circuit is controlled to be L → H → L → H, the counter 7 is incremented twice, and the test mode signal (2) of the decode circuit 8 is set to the H level. To return to the normal operation, the H level is applied to the reset input terminal 6, the counter 7 is reset, and the normal operation mode signal of the decoding circuit 8 is set to the H level.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明によれば、チップセレクト
信号、リード信号およびライト信号からなるバス制御信
号群を用い、これらの制御信号の極性を通常動作状態で
使用禁止されるロウレベルに設定し、かつこれらのロウ
レベル信号の組合わせ論理結果の単一信号または単一の
専用テスト信号をテスト状態時にバイナリカウンタで計
数し、かつこのカウンタの計数出力をデコードして得ら
れる信号のうち、LSIの内部回路をテスト状態にするテ
ストモード信号群のみをカウンタの状態遷移により活性
化するとともに、これらの活性化されたテストモード信
号に順次応答してLSIの内部回路を選択的にリセット状
態から解除して所定のテストモードに移行させ、通常動
作モード信号のみをリセット信号の非活性化に応答して
活性化し内部回路を通常動作状態に復帰させるように構
成されるので、テストモードの状態数は入力端子数に制
限されずカウンタの構成に応じ任意のモード数を設定で
きるだけでなく、リセット期間中に不用意にテストモー
ドが解除されることもなく、かつ通常動作中にテストモ
ードへ移行するようなこともないテストモード設定をす
ることが出来るため、誤操作を防止するとともに、テス
トの対象となる回路をテストに先立ちあらかじめリセッ
トしておく必要がない。
As described above, according to the present invention, a bus control signal group including a chip select signal, a read signal, and a write signal is used, and the polarity of these control signals is set to a low level that is prohibited in a normal operation state, and A single signal or a single dedicated test signal resulting from a combination of these low-level signals is counted by a binary counter in the test state, and among the signals obtained by decoding the count output of the counter, the LSI internal circuit Only the test mode signals that are set to the test state are activated by the state transition of the counter, and the internal circuits of the LSI are selectively released from the reset state in response to the activated test mode signals in order to perform predetermined operations. And activates only the normal operation mode signal in response to the inactivation of the reset signal to activate the internal circuit. The number of test mode states is not limited to the number of input terminals, so it is not only possible to set any number of modes according to the configuration of the counter, but also the test mode is inadvertently set during the reset period. The test mode can be set so that it is not canceled and does not shift to the test mode during normal operation, preventing erroneous operations and resetting the circuit to be tested before testing. You don't have to.

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

第1図は本発明の第1の実施例の回路図、第2図は第1
図の回路の動作を説明するための各部信号のタイミング
チャート、第3図は本発明の第2の実施例の回路図、第
4図は第3図の回路の動作を説明するための各部信号の
タイミングチャート、第5図は従来のテストモード設定
回路の一例の回路図、第6図は第5図の動作を説明する
ための各部信号のタイミング図である。 1……テストモードをセットする入力端子、2……リセ
ット入力端子▲▼、3……4進カウンタ、4
……デコーダ回路、5……3入力NOR回路の出力信号、
6……リセット入力端子▲▼、7……4進カ
ウンタ、8……デコーダ回路、9,10……テストモードを
規定する入力端子B,C、11……リセット入力端子▲
▼、12……テストモードをセットする入力端子
A、13,14……Dフリップフロップ回路、15……デコー
ド回路。
FIG. 1 is a circuit diagram of a first embodiment of the present invention, and FIG.
FIG. 3 is a timing chart of signals of each part for explaining the operation of the circuit of FIG. 3, FIG. 3 is a circuit diagram of the second embodiment of the present invention, and FIG. FIG. 5 is a circuit diagram of an example of a conventional test mode setting circuit, and FIG. 6 is a timing chart of signals of respective parts for explaining the operation of FIG. 1 ... input terminal to set test mode 2 ... reset input terminal ▲ ▼, 3 ... quaternary counter, 4
…… Decoder circuit, 5 …… Output signal of 3-input NOR circuit,
6 Reset input terminal ▲ ▼, 7 quaternary counter, 8 Decoder circuit, 9, 10 Input terminals B, C, 11 for defining test mode Reset input terminal ▲
▼, 12... Input terminals A, 13, 14... D flip-flop circuits for setting the test mode, 15.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】リセット信号が活性化された状態の時にテ
スト状態になり、非活性化時に通常動作状態になるLSI
であって、このLSIに供給されるチップセレクト信号、
リード信号およびライト信号からなるバス制御信号群を
用い、これらの制御信号の極性を前記通常動作状態で使
用禁止される論理レベルのロウレベルに設定し、かつこ
れらのロウレベル信号の組合わせ論理結果の単一信号ま
たは単一の専用テスト信号を前記テスト状態時にバイナ
リカウンタで計数し、かつこのカウンタの計数出力をデ
コードして得られる信号のうち、前記LSIの内部回路を
前記テスト状態にするテストモード信号群のみを前記カ
ウンタの状態遷移により活性化するとともに、これらの
活性化されたテストモード信号に順次応答して前記LSI
の内部回路を選択的に前記リセット状態から解除して所
定のテストモードに移行させ、前記通常動作モード信号
のみを前記リセット信号の非活性化に応答して活性化し
前記内部回路を前記通常動作状態に復帰させるように構
成することを特徴とするテストモード設定回路。
An LSI which enters a test state when a reset signal is activated and enters a normal operation state when deactivated.
And a chip select signal supplied to this LSI,
A bus control signal group consisting of a read signal and a write signal is used, the polarity of these control signals is set to a low level of a logic level prohibited to be used in the normal operation state, and a single logical result of a combination of these low level signals is set. A test mode signal for counting one signal or a single dedicated test signal by a binary counter in the test state, and setting the internal circuit of the LSI to the test state among signals obtained by decoding the count output of the counter. Only the group is activated by the state transition of the counter, and the LSI is sequentially responded to these activated test mode signals.
Is selectively released from the reset state to shift to a predetermined test mode, and only the normal operation mode signal is activated in response to the deactivation of the reset signal to activate the internal circuit in the normal operation state. A test mode setting circuit, wherein the test mode setting circuit is configured to return to the test mode.
JP1189408A 1989-07-21 1989-07-21 Test mode setting circuit Expired - Lifetime JP2655435B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1189408A JP2655435B2 (en) 1989-07-21 1989-07-21 Test mode setting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1189408A JP2655435B2 (en) 1989-07-21 1989-07-21 Test mode setting circuit

Publications (2)

Publication Number Publication Date
JPH0353342A JPH0353342A (en) 1991-03-07
JP2655435B2 true JP2655435B2 (en) 1997-09-17

Family

ID=16240774

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1189408A Expired - Lifetime JP2655435B2 (en) 1989-07-21 1989-07-21 Test mode setting circuit

Country Status (1)

Country Link
JP (1) JP2655435B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2907055B2 (en) * 1995-03-30 1999-06-21 日本電気株式会社 Microcomputer test circuit and test method
US5708802A (en) * 1995-11-29 1998-01-13 Mitsubishi Denki Kabushiki Kaisha Semiconductor memory device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63118954A (en) * 1986-11-07 1988-05-23 Matsushita Electric Ind Co Ltd Operation mode setting device
JPS63250743A (en) * 1987-04-07 1988-10-18 Fujitsu Ltd Test mode setting system

Also Published As

Publication number Publication date
JPH0353342A (en) 1991-03-07

Similar Documents

Publication Publication Date Title
US5535376A (en) Data processor having a timer circuit for performing a buffered pulse width modulation function and method therefor
JP2655435B2 (en) Test mode setting circuit
KR930008042B1 (en) Microcontroller unit
JPS63158475A (en) Logical integrated circuit of scan pass system
KR100697896B1 (en) Generator system controller and control method
US5521873A (en) Semiconductor dynamic random access memory
JP2618669B2 (en) Test mode setting circuit for semiconductor integrated circuit device
JP2849007B2 (en) Semiconductor integrated circuit
JP3493132B2 (en) Mode setting circuit
JP2798989B2 (en) Programmable logic device
JPH06342043A (en) Semiconductor integrated circuit device and its test method
JP2679458B2 (en) Unit switching device
JPH01126572A (en) Test signal generation circuit for lsi
JPS60229426A (en) Programmable logic array
JP3137089B2 (en) Microcomputer
SU1288708A1 (en) Interface for linking digital computer with magnetic tape stores
JPH0361873A (en) Testing circuit for integrated circuit element
Vreeland Tricks and techniques for writing VITAL 3.0 compliant ECL models
JPH0210175A (en) Semiconductor integrated circuit having test terminal
JPH0677266B2 (en) Microcomputer operation mode control circuit
JPS63253592A (en) Integrated circuit
JPH01199395A (en) Writing and erasing time control circuit
JPS61246846A (en) Microprocessor with timer stopping function
JPS61123914A (en) Reset system
JPH0443418A (en) data processing equipment