JPH08313603A - Test mode setting circuit - Google Patents

Test mode setting circuit

Info

Publication number
JPH08313603A
JPH08313603A JP7118181A JP11818195A JPH08313603A JP H08313603 A JPH08313603 A JP H08313603A JP 7118181 A JP7118181 A JP 7118181A JP 11818195 A JP11818195 A JP 11818195A JP H08313603 A JPH08313603 A JP H08313603A
Authority
JP
Japan
Prior art keywords
rom
test
signal
test mode
selector
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
JP7118181A
Other languages
Japanese (ja)
Inventor
Masahiro Ohashi
政宏 大橋
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP7118181A priority Critical patent/JPH08313603A/en
Publication of JPH08313603A publication Critical patent/JPH08313603A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE: To utilize the area effectively while decreasing the number of mode terminals by storing a data in an idle area of an ROM and designating a test mode by decoding the data in the idle area using an address and precharge signal selector and a data input decoder. CONSTITUTION: The test mode setting circuit comprises a selector 108 for selecting the clock of a counter 109 in an ROM address generation circuit where a test mode setting data is stored in an idle area of an ROM 111 and used during normal operation, and the signal at a test clock input terminal 106 at the time of test, a selector 107 for selecting an ROM precharge signal and a precharge signal from a test input terminal 105, decorders 101-104 for decoding ROM data signal 111a, and a selector 112 for outputting the data signal 111a to a terminal. Since no special circuit is employed for setting a test mode and the number of test pins can be decreased, the idle area of ROM can be utilized effectively while testing the ROM simultaneously.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はLSIをテストする時に
ROMを用いたテストモード設定とROMのテストに関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a test mode setting using a ROM and a ROM test when testing an LSI.

【0002】[0002]

【従来の技術】近年、LSIの集積密度の向上に伴い最
終検査工程で行われるテストも、機能ブロック毎に行わ
れたり、テストパターンの性質を種々変更して行われた
りし、益々多岐にわたるようになってきた。このような
多種類のテストモードを備えたLSIでは、レジスタな
どのテスト専用の回路を用いてテストモードを設定して
いた。また、LSIの多品種化に伴い内部にROMをも
つLSIも増加するなかで、ROMの空き領域のデータ
は未使用のままLSI化されていた。
2. Description of the Related Art In recent years, with the increase in the integration density of LSIs, the tests performed in the final inspection process are performed for each functional block, or the properties of the test pattern are changed variously, so that it is becoming more and more diverse. Has become. In the LSI provided with such various kinds of test modes, the test mode is set by using a circuit dedicated to the test such as a register. Further, as the number of LSIs having a ROM therein increases along with the increase in the variety of LSIs, the data in the vacant areas of the ROMs have been LSIs without being used.

【0003】以下に従来のテストモード設定回路とRO
Mのテストについて説明する。図7において、700は
LSIが通常動作かテスト動作かを決める入力端子であ
り、Lレベルを入力することでテスト動作となる。72
4はリセット端子でLレベルを入力することでLSIが
リセットされる。701,702はテストモードを決定
する入力端子で、それぞれ信号を入力することで4つの
テストモードの設定ができる。703はテストクロック
入力端子である。704は2ビットのレジスタであり、
703で入力されたテストクロックの立ち上がりで70
1と702に入力された信号をそれぞれ705,706
にラッチ出力する。
The conventional test mode setting circuit and RO
The test of M will be described. In FIG. 7, reference numeral 700 is an input terminal for determining whether the LSI is a normal operation or a test operation, and the test operation is performed by inputting L level. 72
Reference numeral 4 denotes a reset terminal, which resets the LSI by inputting L level. Input terminals 701 and 702 determine the test mode, and four test modes can be set by inputting signals respectively. Reference numeral 703 is a test clock input terminal. 704 is a 2-bit register,
70 at the rising edge of the test clock input at 703
1 and 702, and input signals 705 and 706, respectively.
Latch output to.

【0004】707〜710はデコーダであり、それぞ
れ704の2ビットの出力705,706と700で入
力された信号をデコードする。707〜710のデコー
ダの出力は、それぞれ707a〜710aでありHでそ
れぞれテストモード0〜テストモード3となる。718
は4ビットアドレス入力,4ビットデータ出力のROM
で0〜B(HEX)の12個のデータが記憶されてお
り、残りの4個のデータは未使用である。711〜71
4は、テストモード3でROMアドレス信号を入力する
テスト入力端子,715はROMプリチャージ信号を入
力するテスト入力端子である。
Denoted at 707 to 710 are decoders, which decode the signals inputted at the 2-bit outputs 705, 706 and 700 of 704, respectively. The outputs of the decoders 707 to 710 are 707a to 710a, respectively, and when they are H, they are in test mode 0 to test mode 3, respectively. 718
Is a ROM with 4-bit address input and 4-bit data output
12 data of 0 to B (HEX) are stored, and the remaining 4 data are unused. 711-71
Reference numeral 4 is a test input terminal for inputting a ROM address signal in test mode 3, and 715 is a test input terminal for inputting a ROM precharge signal.

【0005】717は論理回路部で通常動作時に4ビッ
トのROMアドレス信号717aとROMプリチャージ
信号717bを出力している。716はデコーダ710
の出力信号710aを選択信号とするセレクタで、テス
トモード3の時、710aがHレベルで711〜715
のテスト入力信号と通常動作時のROMアドレス信号7
17a,ROMプリチャージ信号717bを選択し、セ
レクタ716の出力信号716aと716bにそれぞれ
711〜714のROMアドレス信号と715のROM
プリチャージ信号を出力させる。719は入力端子70
0から入力された信号を選択信号とするセレクタで、入
力端子700から入力された信号がLレベルのテスト時
に、ROMデータ信号718aとLSIの通常動作出力
の717c,717d,717e,717fとを選択
し、720〜721のテスト出力端子にROMデータ信
号718aを出力させる。
A logic circuit unit 717 outputs a 4-bit ROM address signal 717a and a ROM precharge signal 717b during normal operation. 716 is a decoder 710
Of the output signal 710a of 711a to 715 when the test mode 3 is 710a at the H level.
Test input signal and ROM address signal 7 during normal operation
17a, ROM precharge signal 717b is selected, and output signals 716a and 716b of the selector 716 are ROM address signals 711 to 714 and ROM 715, respectively.
Output the precharge signal. 719 is an input terminal 70
A selector that uses the signal input from 0 as a selection signal, and selects the ROM data signal 718a and the normal operation outputs 717c, 717d, 717e, and 717f of the LSI when the signal input from the input terminal 700 is in the L level test. Then, the ROM data signal 718a is output to the test output terminals 720 to 721.

【0006】以下にその動作について説明する。入力端
子700にHレベルを入力するとデコーダの出力はすべ
てLレベルとなり通常動作となる。テストモード3を設
定するには、リセット端子724にLレベルを入力しL
SIをリセットする。入力端子700にLレベルを入力
し、入力端子701、702にHレベルをそれぞれ入力
し、入力端子703から入力したテストクロックを立ち
上げることでレジスタ704の出力705,706にラ
ッチ出力され、デコーダ710の出力710aがHレベ
ルとなりテストモード3となる。
The operation will be described below. When H level is input to the input terminal 700, all outputs of the decoder are L level and normal operation is performed. To set test mode 3, input L level to reset terminal 724
Reset SI. The L level is input to the input terminal 700, the H level is input to the input terminals 701 and 702, and the test clock input from the input terminal 703 is raised to be latched and output to the outputs 705 and 706 of the register 704. Output 710a becomes H level, and the test mode 3 is set.

【0007】テストモード3はROMのテストに割当ら
れ、デコーダ710の出力信号710aによりセレクタ
716はテスト入力711〜715のROMアドレス信
号とROMプリチャージ信号を選択し、ROM718に
ROMアドレス信号716aとROMプリチャージ信号
716bを入力することでROMデータ信号718aと
して出力される。セレクタ719は入力端子700の入
力がLレベルでROMデータ信号718aを選択し、テ
スト出力端子720〜723にROMデータ信号を出力
するため、テスト出力端子720〜723を観測するこ
とでROMのテストが行われる。
The test mode 3 is assigned to the ROM test, and the selector 716 selects the ROM address signal and the ROM precharge signal of the test inputs 711 to 715 by the output signal 710a of the decoder 710, and the ROM address signal 716a and the ROM in the ROM 718. By inputting the precharge signal 716b, it is output as the ROM data signal 718a. The selector 719 selects the ROM data signal 718a when the input of the input terminal 700 is L level and outputs the ROM data signal to the test output terminals 720 to 723. Therefore, the ROM test can be performed by observing the test output terminals 720 to 723. Done.

【0008】本従来例の動作波形を図8に示している。FIG. 8 shows operation waveforms of this conventional example.

【0009】[0009]

【発明が解決しようとする課題】しかしながら上記の従
来の構成では、テストモードの数が増えるとレジスタの
数が増えるため回路面積が増加し、またテストモード設
定用のLSIの外部端子が増加するとともにROMの空
き領域を有効活用できないという問題点を有していた。
However, in the above-described conventional configuration, the circuit area increases because the number of registers increases as the number of test modes increases, and the external terminals of the LSI for setting the test mode increase. There is a problem that the free area of the ROM cannot be effectively used.

【0010】本発明は上記従来の問題点を解決するもの
で、ROMの空き領域を有効活用すると同時にROMの
テストを行い、テストモード設定回路とテスト端子の削
減を提供することを目的とする。
An object of the present invention is to solve the above-mentioned conventional problems, and it is an object of the present invention to effectively utilize the vacant area of the ROM and test the ROM at the same time to provide a test mode setting circuit and a reduction of the test terminals.

【0011】[0011]

【課題を解決するための手段】この目的を達成するため
に本発明のテストモード設定回路は、第一の手段として
ROMの空き領域にデータを記憶させ、テスト入力端子
からのROMアドレス信号,ROMプリチャージ信号と
通常動作時に回路中で生成されるROMアドレス信号,
ROMプリチャージ信号とを選択するセレクタと、RO
Mデータ信号を入力とするデコーダとを有し、ROMの
空き領域のデータ信号をデコードすることでテストモー
ドを設定する構成を有している。
In order to achieve this object, the test mode setting circuit of the present invention, as a first means, stores data in a vacant area of the ROM, ROM address signal from the test input terminal, ROM Precharge signal and ROM address signal generated in the circuit during normal operation,
A selector for selecting the ROM precharge signal and RO
A decoder having an M data signal as an input is provided, and the test mode is set by decoding the data signal in the empty area of the ROM.

【0012】次に、第2の手段としてROMの空き領域
にデータを記憶させ、LSI内部の任意のカウンタ1の
クロックを、LSIの入力端子からのテストクロックと
通常動作時のクロックとをテスト時に選択するセレクタ
と、カウンタ1の出力と通常動作時に回路中で生成され
るROMアドレス信号とを選択するセレクタと、LSI
の入力端子からのROMプリチャージ信号と通常動作時
に回路中で生成されるROMプリチャージ信号とを選択
するセレクタと、ROMデータ信号を入力とするデコー
ダとを有し、テスト時にカウンタ1をテストクロックで
インクリメントさせることでROMアドレス信号を生成
し、ROMの空き領域のデータ信号をデコードすること
でテストモードを設定する構成を有している。
Next, as a second means, data is stored in a vacant area of the ROM, and a clock of an arbitrary counter 1 inside the LSI is tested at a test clock from an input terminal of the LSI and a clock at the time of normal operation. LSI for selecting selector, selector for selecting output of counter 1 and ROM address signal generated in circuit during normal operation
Has a selector for selecting the ROM precharge signal from the input terminal of the CPU and a ROM precharge signal generated in the circuit at the time of normal operation, and a decoder for receiving the ROM data signal, and the counter 1 at the test clock during the test. In this configuration, the ROM address signal is generated by incrementing by 1, and the test mode is set by decoding the data signal in the empty area of the ROM.

【0013】次に、第3の手段としてROMの空き領域
にデータを記憶させ、LSI内部のROMアドレス生成
用のカウンタ2のクロックを、LSIの入力端子からの
テストクロックと通常動作時のクロックとをテスト時に
選択するセレクタと、LSIの入力端子からのROMプ
リチャージ信号と通常動作時に回路中で生成されるRO
Mプリチャージ信号とを選択するセレクタと、ROMデ
ータ信号を入力とするデコーダとを有し、テスト時にカ
ウンタ2をテストクロックでインクリメントさせること
でROMアドレス信号を生成し、ROMの空き領域のデ
ータ信号をデコードすることでテストモードを設定する
構成を有している。
Next, as a third means, data is stored in a vacant area of the ROM, and the clock of the counter 2 for generating the ROM address inside the LSI is the test clock from the input terminal of the LSI and the clock at the time of normal operation. , A ROM precharge signal from an LSI input terminal, and an RO generated in the circuit during normal operation.
It has a selector that selects the M precharge signal and a decoder that receives the ROM data signal, and generates a ROM address signal by incrementing the counter 2 with a test clock at the time of testing, and a data signal of a vacant area of the ROM. The test mode is set by decoding the.

【0014】第4の手段として、第2または第3の手段
において、テスト時にカウンタ1またはカウンタ2をテ
ストクロックでインクリメントさせテストモードを設定
する時に、ROMデータ信号を選択しLSIの外部に出
力するセレクタを有し、テストモード設定とROMのテ
ストを同時に行う構成を有している。
As a fourth means, in the second or third means, when the test mode is incremented by incrementing the counter 1 or the counter 2 in the test, the ROM data signal is selected and output to the outside of the LSI. It has a selector and is configured to simultaneously perform test mode setting and ROM test.

【0015】[0015]

【作用】この第一の手段の構成によって、テストモード
設定回路が必要でなく、ROMの空き領域を用いること
でROMを有効活用できる。
With the structure of the first means, the test mode setting circuit is not necessary, and the ROM can be effectively used by using the free area of the ROM.

【0016】次に、この第2の手段の構成によって、テ
ストモード設定回路が必要でなく、ROMの空き領域を
用いることでROMを有効活用でき、また回路中のカウ
ンタ1でROMアドレス信号を内部で生成するため、R
OMアドレス信号を設定するテスト入力端子が削減でき
る。
Next, with the configuration of the second means, the test mode setting circuit is not required, the ROM can be effectively used by using the free area of the ROM, and the counter 1 in the circuit internally stores the ROM address signal. Because it is generated by R
The number of test input terminals for setting the OM address signal can be reduced.

【0017】次に、この第3の手段によって、テストモ
ード設定回路が必要でなく、ROMの空き領域を用いる
ことでROMを有効活用でき、通常動作時のROMアド
レス生成用のカウンタ2を用いることでROMアドレス
信号を内部で生成するため、ROMアドレス信号を設定
するテスト入力端子が削減でき、また通常動作時のRO
Mアドレス信号とテスト時のROMアドレス信号が共有
化するためセレクタが必要でなく回路面積を削減でき
る。
By the third means, the test mode setting circuit is not required, the ROM can be effectively used by using the free area of the ROM, and the counter 2 for generating the ROM address during the normal operation is used. Since the ROM address signal is internally generated by, the number of test input terminals for setting the ROM address signal can be reduced, and the RO in normal operation can be reduced.
Since the M address signal and the ROM address signal at the time of testing are shared, a selector is not required and the circuit area can be reduced.

【0018】次に、この第4の手段によって、第2また
は第3の手段のカウンタ1またはカウンタ2で、テスト
モードを設定する間にROMデータ信号を観測すること
で同時にROMのテストが可能であり、ROM用のテス
トモードが必要でなくなる。
Next, by the fourth means, it is possible to simultaneously test the ROM by observing the ROM data signal while setting the test mode in the counter 1 or the counter 2 of the second or third means. There is no need for a test mode for ROM.

【0019】[0019]

【実施例】【Example】

(実施例1)以下本発明の第1の実施例について、図面
を参照しながら説明する。
(First Embodiment) A first embodiment of the present invention will be described below with reference to the drawings.

【0020】図5において、500はLSIが通常動作
かテスト動作かを決める入力端子であり、Lレベルを入
力することでテスト動作となる。513はリセット端子
でLレベルを入力することでLSIがリセットされる。
501〜504は、ROMデータ信号である512aを
デコードするデコーダであり、501〜504のデコー
ダの出力信号は、それぞれ501a〜504aであり、
Hレベルでそれぞれテストモード0〜テストモード3と
なる。512は4ビットアドレス入力,4ビットデータ
出力のROMでアドレス0〜B(HEX)にそれぞれ0
〜B(HEX)の12個のデータが記憶されており、残
りの通常動作時に未使用のアドレスC〜F(HEX)に
それぞれテストモード設定のデータC〜F(HEX)を
記憶させる。505〜508は、テスト時にROMアド
レス信号を入力するテスト入力端子,509はROMプ
リチャージ信号を入力するテスト入力端子である。51
1は論理回路部で通常動作時の4ビットのROMアドレ
ス信号511aとROMプリチャージ信号511bを出
力している。510は入力端子500を選択信号とする
セレクタで、入力端子500にLレベルを入力すること
で505〜509のテスト入力と511a,511bと
を選択し、セレクタ510の出力信号510aと510
bにそれぞれ505〜508のROMアドレス信号と5
09のROMプリチャージ信号を出力させる。
In FIG. 5, reference numeral 500 denotes an input terminal that determines whether the LSI is a normal operation or a test operation, and the test operation is performed by inputting the L level. A reset terminal 513 inputs the L level to reset the LSI.
Reference numerals 501 to 504 are decoders for decoding the ROM data signal 512a, and the output signals of the decoders 501 to 504 are 501a to 504a, respectively.
At H level, test mode 0 to test mode 3 are set. Reference numeral 512 denotes a 4-bit address input and 4-bit data output ROM, which is 0 at addresses 0 to B (HEX).
12 pieces of data B to H (HEX) are stored, and test mode setting data C to F (HEX) are stored in unused addresses C to F (HEX) during the remaining normal operation. Reference numerals 505 to 508 are test input terminals for inputting a ROM address signal during a test, and 509 are test input terminals for inputting a ROM precharge signal. 51
Reference numeral 1 denotes a logic circuit section which outputs a 4-bit ROM address signal 511a and a ROM precharge signal 511b during normal operation. Reference numeral 510 denotes a selector which uses the input terminal 500 as a selection signal, and selects the test inputs 505 to 509 and 511a and 511b by inputting the L level to the input terminal 500, and outputs the output signals 510a and 510 of the selector 510.
b to ROM address signals of 505 to 508 and 5 respectively
The ROM precharge signal of 09 is output.

【0021】以下にその動作について説明する。500
にHレベルを入力すると、セレクタ510は通常動作時
のROMアドレス信号511aとROMプリチャージ信
号511bを選択し、デコーダ501〜504はそれぞ
れデコーダ出力信号501a〜504aにLレベルを出
力し、LSIは通常動作となる。
The operation will be described below. 500
When the H level is input to the selector 510, the selector 510 selects the ROM address signal 511a and the ROM precharge signal 511b in the normal operation, the decoders 501 to 504 output the L level to the decoder output signals 501a to 504a, respectively, and the LSI normally operates. It will work.

【0022】テストモード3を設定するには、リセット
端子513にLレベルを入力しLSIをリセットする。
入力端子500にLレベルを入力し、テスト入力端子5
05〜508にROMアドレス信号としてF(HEX)
を入力し,509にROMプリチャージ信号を入力する
ことで、セレクタ510で選択されROMのアドレスF
(HEX)のデータF(HEX)をROMデータ信号5
12aに出力する。デコーダ504は、ROMデータ信
号512aをデコードし、デコーダ出力信号504aに
Hレベルを出力することでテストモード3を設定する。
To set the test mode 3, the L level is input to the reset terminal 513 to reset the LSI.
Input L level to the input terminal 500, and test input terminal 5
05 (508) as a ROM address signal F (HEX)
, And the ROM precharge signal is input to 509, so that the address F of the ROM selected by the selector 510 is selected.
(HEX) data F (HEX) to ROM data signal 5
12a. The decoder 504 sets the test mode 3 by decoding the ROM data signal 512a and outputting an H level to the decoder output signal 504a.

【0023】本実施例1の動作波形を図6に示してい
る。以上のように本実施例1によれば、ROMの空き領
域にテストモード設定のデータを記憶させ、テスト入力
端子からのROMアドレス信号,ROMプリチャージ信
号と通常動作時の回路中のROMアドレス信号,ROM
プリチャージ信号とを選択するセレクタ510と、RO
Mデータ信号512aをデコードするデコーダ501〜
504を設けることで、テストモード設定用の特別な回
路を用いず、またROMの空き領域を有効活用できる。
The operation waveforms of the first embodiment are shown in FIG. As described above, according to the first embodiment, the test mode setting data is stored in the empty area of the ROM, and the ROM address signal, the ROM precharge signal from the test input terminal and the ROM address signal in the circuit during the normal operation are stored. , ROM
A selector 510 for selecting a precharge signal and RO
Decoders 501 to Decode the M Data Signal 512a
By providing 504, a special circuit for setting the test mode is not used and the empty area of the ROM can be effectively used.

【0024】(実施例2)以下本発明の第2の実施例に
ついて図面を参照しながら説明する。
(Second Embodiment) A second embodiment of the present invention will be described below with reference to the drawings.

【0025】図3において、300はLSIが通常動作
かテスト動作かを決める入力端子であり、Lレベルを入
力することでテスト動作となる。312はリセット端子
でLレベルを入力することでLSIがリセットされる。
301〜304は、ROMデータ信号である311aを
デコードするデコーダであり、301〜304のデコー
ダの出力信号は、それぞれ301a〜304aであり、
Hレベルでそれぞれテストモード0〜テストモード3と
なる。311は4ビットアドレス入力,4ビットデータ
出力のROMでアドレス0〜B(HEX)にそれぞれ0
〜B(HEX)の12個のデータが記憶されており、残
りの通常動作時に未使用のアドレスC〜F(HEX)に
それぞれテストモード設定のデータC〜F(HEX)を
記憶させる。305はROMプリチャージ信号を入力す
るテスト入力端子である。310は論理回路部で通常動
作時の4ビットのROMのアドレス信号310aとRO
Mプリチャージ信号310bを出力している。309は
論理回路部内にある任意の4ビットカウンタであり、3
08は入力端子300の入力信号によりカウンタ309
のクロックを、テストクロック入力端子306の入力信
号と通常動作時にカウンタ309のクロックである30
6aとを選択するセレクタで、300にLレベルを入力
することで308aに306の入力信号を出力する。3
07は入力端子300の入力信号を選択信号とするセレ
クタで、入力端子300にLレベルを入力することで3
05の入力信号とカウンタ309の出力信号309aを
選択し、セレクタ307の出力信号307aと307b
にそれぞれ309aをROMアドレス信号,305をR
OMプリチャージ信号として出力させる。
In FIG. 3, reference numeral 300 denotes an input terminal for determining whether the LSI is a normal operation or a test operation, and the test operation is performed by inputting the L level. A reset terminal 312 resets the LSI by inputting L level.
Reference numerals 301 to 304 are decoders for decoding the ROM data signal 311a, and the output signals of the decoders 301 to 304 are 301a to 304a, respectively.
At H level, test mode 0 to test mode 3 are set. Reference numeral 311 denotes a 4-bit address input and 4-bit data output ROM, which is 0 at addresses 0 to B (HEX).
12 pieces of data B to H (HEX) are stored, and test mode setting data C to F (HEX) are stored in unused addresses C to F (HEX) during the remaining normal operation. Reference numeral 305 is a test input terminal for inputting a ROM precharge signal. Reference numeral 310 denotes a logic circuit section, which is a 4-bit ROM address signal 310a and RO for normal operation.
It outputs the M precharge signal 310b. Reference numeral 309 denotes an arbitrary 4-bit counter in the logic circuit unit,
08 is a counter 309 according to the input signal of the input terminal 300.
Is the clock of the counter 309 during the normal operation with the input signal of the test clock input terminal 306.
The selector 6a and 6a output the input signal 306 to 308a by inputting the L level to 300. Three
Reference numeral 07 is a selector which uses the input signal of the input terminal 300 as a selection signal, and is input by inputting an L level to the input terminal 300.
05 input signal and counter 309 output signal 309a are selected, and selector 307 output signals 307a and 307b are selected.
309a for ROM address signal and 305 for R
Output as OM precharge signal.

【0026】以下にその動作について説明する。入力端
子300にHレベルを入力すると、セレクタ307は通
常動作のROMアドレス信号310aとROMプリチャ
ージ信号310bを選択し、デコーダ301〜304は
それぞれデコーダ出力信号301a〜304aにLレベ
ルを出力し、LSIは通常動作となる。テストモード3
を設定するには、リセット端子312にLレベルを入力
しLSIをリセットする。入力端子300にLレベルを
入力し、セレクタ308でテストクロック端子306の
入力が選択され、テストクロック入力端子306に15
発のクロックを入力し、テスト入力端子305にROM
プリチャージ信号を入力することで、カウンタ309が
出力309aにF(HEX)を出力し、セレクタ307
は、出力307a,307bにそれぞれ309a,入力
端子305の入力信号を出力する。この時、ROM31
1はF(HEX)をROMデータ信号311aに出力す
る。デコーダ304は、ROMデータ信号311aをデ
コードし、デコーダ出力信号304aにHレベルを出力
することでテストモード3を設定する。
The operation will be described below. When the H level is input to the input terminal 300, the selector 307 selects the ROM address signal 310a and the ROM precharge signal 310b for normal operation, the decoders 301 to 304 output the L level to the decoder output signals 301a to 304a, respectively, and the LSI Is the normal operation. Test mode 3
To set, the L level is input to the reset terminal 312 to reset the LSI. The L level is input to the input terminal 300, the input of the test clock terminal 306 is selected by the selector 308, and 15 is input to the test clock input terminal 306.
Input the clock of the output and ROM to the test input terminal 305
By inputting the precharge signal, the counter 309 outputs F (HEX) to the output 309a, and the selector 307
Outputs the input signals of 309a and the input terminal 305 to the outputs 307a and 307b, respectively. At this time, ROM31
1 outputs F (HEX) to the ROM data signal 311a. The decoder 304 sets the test mode 3 by decoding the ROM data signal 311a and outputting the decoder output signal 304a at the H level.

【0027】本実施例2の動作波形を図4に示してい
る。以上のように本実施例2によれば、ROM311の
空き領域にテストモード設定のデータを記憶させ、通常
動作時に用いている回路中のカウンタ309のクロック
とテスト時にテストクロック入力端子306からの信号
とを選択するセレクタ308と、通常動作時のROMア
ドレス信号,ROMプリチャージ信号とカウンタ309
の出力信号309a,テスト入力端子305からのRO
Mプリチャージ信号とを選択するセレクタ307と、R
OMデータ信号311aをデコードするデコーダ301
〜304を設けることで、テストモード設定用の特別な
回路を用いず、またROMの空き領域を有効活用できテ
ストピンも削減できる。
The operation waveforms of the second embodiment are shown in FIG. As described above, according to the second embodiment, the data of the test mode setting is stored in the empty area of the ROM 311, and the clock of the counter 309 in the circuit used during the normal operation and the signal from the test clock input terminal 306 during the test are stored. A selector 308 for selecting between, a ROM address signal during normal operation, a ROM precharge signal, and a counter 309.
Output signal 309a, RO from test input terminal 305
A selector 307 for selecting the M precharge signal, and R
Decoder 301 for decoding OM data signal 311a
By providing ~ 304, it is possible to effectively use the free area of the ROM without using a special circuit for setting the test mode and reduce the number of test pins.

【0028】(実施例3)以下本発明の第3の実施例に
ついて図面を参照しながら説明する。
(Embodiment 3) A third embodiment of the present invention will be described below with reference to the drawings.

【0029】図1において、100はLSIが通常動作
かテスト動作かを決める入力端子であり、Lレベルを入
力することでテスト動作となる。117はリセット端子
でLレベルを入力することでLSIがリセットされる。
101〜104は、ROMデータ信号である111aを
デコードするデコーダであり、101〜104のデコー
ダの出力は、それぞれ101a〜104aであり、Hレ
ベルでそれぞれテストモード0〜テストモード3とな
る。
In FIG. 1, reference numeral 100 is an input terminal for determining whether the LSI is a normal operation or a test operation, and the test operation is performed by inputting L level. A reset terminal 117 resets the LSI by inputting L level.
Denoted by 101 to 104 are decoders for decoding 111a which is a ROM data signal. The outputs of the decoders 101 to 104 are 101a to 104a, respectively, which are test mode 0 to test mode 3 at H level.

【0030】111は4ビットアドレス入力,4ビット
データ出力のROMでアドレス0〜B(HEX)にそれ
ぞれ0〜B(HEX)の12個のデータが記憶されてお
り、残りの通常動作時に未使用のアドレスC〜F(HE
X)にそれぞれテストモード設定のデータC〜F(HE
X)を記憶させる。105はROMプリチャージ信号を
入力するテスト入力端子である。110は論理回路部で
ある。109は論理回路部内にあるROM111のアド
レス信号を生成する4ビットカウンタであり、108は
入力端子100の入力により、カウンタ109のクロッ
クをテストクロック入力端子106からの信号と通常動
作時のカウンタ109のクロックである106aとを選
択するセレクタで、入力端子100にLレベルを入力す
ることで、セレクタ108の出力信号108aに入力端
子106で入力された信号を出力する。
Reference numeral 111 denotes a 4-bit address input and 4-bit data output ROM, which stores 12 pieces of data 0 to B (HEX) at addresses 0 to B (HEX), respectively, and is unused during the rest of the normal operation. Addresses C to F (HE
X) each of the test mode setting data C to F (HE
X) is stored. Reference numeral 105 is a test input terminal for inputting a ROM precharge signal. Reference numeral 110 is a logic circuit unit. Reference numeral 109 is a 4-bit counter for generating an address signal of the ROM 111 in the logic circuit section. Reference numeral 108 is a clock of the counter 109 when the input terminal 100 inputs the signal from the test clock input terminal 106 and the counter 109 in the normal operation. The selector 106a, which is a clock, inputs the L level to the input terminal 100 to output the signal input from the input terminal 106 to the output signal 108a of the selector 108.

【0031】107は入力端子100に入力された信号
を選択信号とするセレクタで、入力端子100にLレベ
ルを入力することで入力端子105のテスト入力信号と
通常動作時のROMプリチャージ信号110aとを選択
し、セレクタ107の出力信号107aに入力端子10
5の入力信号をROMプリチャージ信号として出力させ
る。112は入力端子100で入力された信号を選択信
号とするセレクタで入力端子100にLレベルを入力す
ることで、テスト時にROMデータ信号111aと通常
動作時の出力信号の110b,110c,110d,1
10eとを選択し、113〜116のテスト出力端子に
ROMデータ信号111aを出力させる。
Reference numeral 107 denotes a selector which uses the signal input to the input terminal 100 as a selection signal. By inputting an L level to the input terminal 100, a test input signal of the input terminal 105 and a ROM precharge signal 110a during normal operation are provided. To select the output signal 107a of the selector 107 and input terminal 10
The input signal 5 is output as a ROM precharge signal. Reference numeral 112 denotes a selector which uses the signal input from the input terminal 100 as a selection signal, and inputs the L level to the input terminal 100, so that the ROM data signal 111a and the output signals 110b, 110c, 110d and
10e is selected, and the ROM data signal 111a is output to the test output terminals 113 to 116.

【0032】以下にその動作について説明する。入力端
子100にHレベルを入力すると、セレクタ107は通
常動作のROMプリチャージ信号110aを、セレクタ
108は通常動作時のクロック106aを選択し、デコ
ーダ101〜104はそれぞれデコーダ出力信号101
a〜104aにLレベルを出力し、LSIは通常動作と
なる。テストモード3を設定するには、リセット端子1
17にLレベルを入力しLSIをリセットする。
The operation will be described below. When an H level is input to the input terminal 100, the selector 107 selects the ROM precharge signal 110a for normal operation, the selector 108 selects the clock 106a for normal operation, and the decoders 101 to 104 respectively output the decoder output signal 101.
The L level is output to a to 104a, and the LSI operates normally. To set test mode 3, reset terminal 1
The L level is input to 17 to reset the LSI.

【0033】入力端子100にLレベルを入力し、セレ
クタ108でテストクロック端子106の入力が選択さ
れ、テストクロック入力端子106に15発のクロック
を入力し、105にROMプリチャージ信号を入力する
ことで、ROMアドレス生成カウンタ109が出力信号
109aにF(HEX)を出力し、セレクタ107は、
出力信号107aにテスト入力端子105の入力信号を
出力する。ROM111はF(HEX)をROMデータ
信号111aに出力する。デコーダ104は、ROMデ
ータ信号111aをデコードし、デコーダ出力信号10
4aにHレベルを出力することでテストモード3を設定
する。また、入力端子106にテストクロックを入力す
る時に、セレクタ112でROMデータ信号111aを
出力し、テスト出力ピン113〜116を観測すること
でROMのテストが同時に可能である。
Inputting the L level to the input terminal 100, selecting the input of the test clock terminal 106 by the selector 108, inputting 15 clocks to the test clock input terminal 106, and inputting the ROM precharge signal to 105. Then, the ROM address generation counter 109 outputs F (HEX) to the output signal 109a, and the selector 107
The input signal of the test input terminal 105 is output to the output signal 107a. The ROM 111 outputs F (HEX) as the ROM data signal 111a. The decoder 104 decodes the ROM data signal 111a and outputs the decoder output signal 10
The test mode 3 is set by outputting the H level to 4a. Further, when the test clock is input to the input terminal 106, the ROM data signal 111a is output by the selector 112 and the test output pins 113 to 116 are observed, so that the ROM test can be performed at the same time.

【0034】本実施例3の動作波形を図2に示してい
る。以上のように本実施例3によれば、ROM111の
空き領域にテストモード設定のデータを記憶させ、通常
動作時に用いているROMアドレス生成回路のカウンタ
109のクロックとテスト時にテストクロック入力端子
106からの信号とを選択するセレクタ108と、通常
動作時のROMプリチャージ信号とテスト入力端子10
5からのROMプリチャージ信号とを選択するセレクタ
107と、ROMデータ信号111aをデコードするデ
コーダ101〜104と、テスト時にROMデータ信号
111aを端子に出力させるセレクタ112を設けるこ
とで、テストモード設定用の特別な回路を用いず、テス
トピンも削減でき、またROMの空き領域を有効活用で
きると同時にROMのテストも可能である。
The operation waveforms of the third embodiment are shown in FIG. As described above, according to the third embodiment, the data of the test mode setting is stored in the empty area of the ROM 111, and the clock of the counter 109 of the ROM address generation circuit used in the normal operation and the test clock input terminal 106 from the test clock input terminal 106 are used in the test. Selector 108 for selecting the signal of, and the ROM precharge signal and the test input terminal 10 in the normal operation.
By providing the selector 107 for selecting the ROM precharge signal from the decoder 5, the decoders 101 to 104 for decoding the ROM data signal 111a, and the selector 112 for outputting the ROM data signal 111a to the terminal at the time of the test, It is possible to reduce the number of test pins without using a special circuit, and to effectively utilize the vacant area of the ROM, and at the same time, to test the ROM.

【0035】[0035]

【発明の効果】以上のように本発明は、テストモード設
定のための回路とテストモード設定のための端子が削減
でき、またROMの空き領域を用いるためROMの有効
活用ができ、テストモード設定の時にROMデータを観
測することでROMのテストを同時に行うことが可能で
ある。
As described above, according to the present invention, the circuit for setting the test mode and the terminal for setting the test mode can be reduced, and since the free area of the ROM is used, the ROM can be effectively used and the test mode setting can be performed. It is possible to simultaneously test the ROM by observing the ROM data at the time.

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

【図1】本発明のテストモード設定回路の実施例3を説
明するための図
FIG. 1 is a diagram for explaining a third embodiment of a test mode setting circuit of the present invention.

【図2】本発明のテストモード設定回路の実施例3の動
作波形図
FIG. 2 is an operation waveform diagram of a third embodiment of the test mode setting circuit of the present invention.

【図3】本発明のテストモード設定回路の実施例2を説
明するための図
FIG. 3 is a diagram for explaining a second embodiment of the test mode setting circuit of the present invention.

【図4】本発明のテストモード設定回路の実施例2の動
作波形図
FIG. 4 is an operation waveform diagram of a second embodiment of the test mode setting circuit of the present invention.

【図5】本発明のテストモード設定回路の実施例1を説
明するための図
FIG. 5 is a diagram for explaining the first embodiment of the test mode setting circuit of the present invention.

【図6】本発明のテストモード設定回路の実施例1の動
作波形図
FIG. 6 is an operation waveform diagram of the first embodiment of the test mode setting circuit of the present invention.

【図7】従来のテストモード設定回路を説明するための
FIG. 7 is a diagram for explaining a conventional test mode setting circuit.

【図8】従来のテストモード設定回路の動作波形図FIG. 8 is an operation waveform diagram of a conventional test mode setting circuit.

【符号の説明】[Explanation of symbols]

100 テスト設定入力端子 101 デコーダ 102 デコーダ 103 デコーダ 104 デコーダ 101a デコーダ101の出力信号 102a デコーダ102の出力信号 103a デコーダ103の出力信号 104a デコーダ104の出力信号 105 テスト入力端子 106 テストクロック入力端子 106a 通常動作時のROMアドレス生成用カウンタ
109のクロック 107 セレクタ 107a セレクタ107の出力信号 108 セレクタ 108a セレクタ108の出力信号 109 ROMアドレス生成用カウンタ 109a ROMアドレス生成用カウンタ109の出力
信号 110 論理回路部 110a 通常動作時のROMプリチャージ信号 110b 論理回路部の出力信号 110c 論理回路部の出力信号 110d 論理回路部の出力信号 110e 論理回路部の出力信号 111 ROM 111a ROMデータ信号 112 セレクタ 113 テスト出力端子 114 テスト出力端子 115 テスト出力端子 116 テスト出力端子 117 リセット端子 300 テスト設定入力端子 301 デコーダ 302 デコーダ 303 デコーダ 304 デコーダ 301a デコーダ301の出力信号 302a デコーダ302の出力信号 303a デコーダ303の出力信号 304a デコーダ304の出力信号 305 テスト入力端子 306 テストクロック入力端子 306a 通常動作時のカウンタ309のクロック 307 セレクタ 307a セレクタ307の出力信号 307b セレクタ307の出力信号 308 セレクタ 308a セレクタ308の出力信号 309 カウンタ 309a カウンタ309の出力信号 310 論理回路部 310a 通常動作時のROMアドレス信号 310b 通常動作時のROMプリチャージ信号 311 ROM 311a ROMデータ信号 312 リセット端子 500 テスト設定入力端子 501 デコーダ 502 デコーダ 503 デコーダ 504 デコーダ 501a デコーダ501の出力信号 502a デコーダ502の出力信号 503a デコーダ503の出力信号 504a デコーダ504の出力信号 505 テスト入力端子 506 テスト入力端子 507 テスト入力端子 508 テスト入力端子 509 テスト入力端子 510 セレクタ 510a セレクタ510の出力信号 510b セレクタ510の出力信号 511 論理回路部 511a 通常動作時のROMアドレス信号 511b 通常動作時のROMプリチャージ信号 512 ROM 512a ROMデータ信号 513 リセット端子 700 テスト設定入力端子 701 テスト入力端子 702 テスト入力端子 703 テストクロック入力端子 704 レジスタ 705 レジスタ704の出力信号 706 レジスタ704の出力信号 707 デコーダ 708 デコーダ 709 デコーダ 710 デコーダ 707a デコーダ707の出力信号 708a デコーダ708の出力信号 709a デコーダ709の出力信号 710a デコーダ710の出力信号 711 テスト入力端子 712 テスト入力端子 713 テスト入力端子 714 テスト入力端子 715 テスト入力端子 716 セレクタ 716a セレクタ716の出力信号 716b セレクタ716の出力信号 717 論理回路部 717a 通常動作時のROMアドレス信号 717b 通常動作時のROMプリチャージ信号 717c 論理回路部の出力信号 717d 論理回路部の出力信号 717e 論理回路部の出力信号 717f 論理回路部の出力信号 718 ROM 718a ROMデータ信号 719 セレクタ 720 テスト出力端子 721 テスト出力端子 722 テスト出力端子 723 テスト出力端子 724 リセット端子
100 test setting input terminal 101 decoder 102 decoder 103 decoder 104 decoder 101a decoder 101 output signal 102a decoder 102 output signal 103a decoder 103 output signal 104a decoder 104 output signal 105 test input terminal 106 test clock input terminal 106a during normal operation Clock of ROM address generation counter 109 of 107 Selector 107a Output signal of selector 107 108 Selector 108a Output signal of selector 108 109 ROM address generation counter 109a Output signal of ROM address generation counter 109 110 Logic circuit section 110a During normal operation ROM precharge signal 110b Output signal of logic circuit section 110c Output signal of logic circuit section 110d Output of logic circuit section 110e Output signal of the logic circuit section 111 ROM 111a ROM data signal 112 Selector 113 Test output terminal 114 Test output terminal 115 Test output terminal 116 Test output terminal 117 Reset terminal 300 Test setting input terminal 301 Decoder 302 Decoder 303 Decoder 304 Decoder 301a Decoder 301 output signal 302a decoder 302 output signal 303a decoder 303 output signal 304a decoder 304 output signal 305 test input terminal 306 test clock input terminal 306a counter 309 clock during normal operation 307 selector 307a selector 307 output signal 307b selector 307 output signal 308 selector 308a selector 308 output signal 309 counter 309a cow Output signal 310 logic circuit unit 310a ROM address signal during normal operation 310b ROM precharge signal during normal operation 311 ROM 311a ROM data signal 312 reset terminal 500 test setting input terminal 501 decoder 502 decoder 503 decoder 504 decoder 501a decoder Output signal 501 Output signal 502a Decoder 502 Output signal 503a Decoder 503 Output signal 504a Decoder 504 Output signal 505 Test input terminal 506 Test input terminal 507 Test input terminal 508 Test input terminal 509 Test input terminal 510 Selector 510a Selector 510 output signal 510b Output signal of selector 510 511 Logic circuit section 511a ROM address signal during normal operation 511b R during normal operation OM precharge signal 512 ROM 512a ROM data signal 513 reset terminal 700 test setting input terminal 701 test input terminal 702 test input terminal 703 test clock input terminal 704 register 705 register 704 output signal 706 register 704 output signal 707 decoder 708 decoder 709 Decoder 710 Decoder 707a Decoder 707 output signal 708a Decoder 708 output signal 709a Decoder 709 output signal 710a Decoder 710 output signal 711 Test input terminal 712 Test input terminal 713 Test input terminal 714 Test input terminal 715 Test input terminal 716 Selector 716a Output signal of selector 716 716b Output signal of selector 716 717 Logic circuit unit 717a Communication ROM address signal during operation 717b ROM precharge signal during normal operation 717c Output signal of logic circuit unit 717d Output signal of logic circuit unit 717e Output signal of logic circuit unit 717f Output signal of logic circuit unit 718 ROM 718a ROM data signal 719 Selector 720 Test output terminal 721 Test output terminal 722 Test output terminal 723 Test output terminal 724 Reset terminal

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】内部にROMを有する大規模集積回路(L
SI)のテストモード設定回路であって、 外部端子から入力されるテストモード設定信号により、
テスト時に外部端子から入力されるROMのアドレス信
号1とROMプリチャージ信号1、または前記LSI内
部の通常動作時のROMのアドレス信号2とROMプリ
チャージ信号2の何れかを選択するセレクタと、 前記ROMの通常動作時には未使用の領域に記憶された
テストモード設定用のデータ信号のうち、前記セレクタ
で選択されたアドレス信号1に対応するデータ信号をデ
コードするデコーダとを備え、 前記デコーダの出力によって前記LSIの所定のテスト
モードを設定するよう構成されたテストモード設定回
路。
1. A large scale integrated circuit (L) having a ROM therein.
SI) test mode setting circuit, in which a test mode setting signal input from an external terminal
A selector for selecting one of a ROM address signal 1 and a ROM precharge signal 1 input from an external terminal during a test, or a ROM address signal 2 and a ROM precharge signal 2 during a normal operation inside the LSI; A decoder for decoding the data signal corresponding to the address signal 1 selected by the selector among the data signals for setting the test mode stored in the unused area during the normal operation of the ROM; A test mode setting circuit configured to set a predetermined test mode of the LSI.
【請求項2】LSI内部にカウンタ1を備え、 前記カウンタ1は、テスト時にはROMアドレス信号1
の生成回路として用いることを特徴とする請求項1記載
のテストモード設定回路。
2. A counter 1 is provided inside the LSI, and the counter 1 is a ROM address signal 1 during a test.
The test mode setting circuit according to claim 1, wherein the test mode setting circuit is used as a generation circuit of the test mode setting circuit.
【請求項3】LSI内部に、通常動作時にROMアドレ
ス信号2の生成回路として用いているカウンタ2を備
え、 前記カウンタ2をテスト時にも用いることを特徴とする
請求項1記載のテストモード設定回路。
3. A test mode setting circuit according to claim 1, further comprising a counter 2 used as a circuit for generating a ROM address signal 2 in a normal operation, the counter 2 being also used in a test. .
【請求項4】カウンタ1またはカウンタ2をインクリメ
ントさせテストモードを設定する時に、ROMのデータ
を外部端子に出力することで同時に前記ROMのテスト
を行うよう構成したことを特徴とする請求項2または請
求項3記載のテストモード設定回路。
4. When the counter 1 or the counter 2 is incremented and the test mode is set, the ROM test is simultaneously performed by outputting the ROM data to an external terminal. The test mode setting circuit according to claim 3.
JP7118181A 1995-05-17 1995-05-17 Test mode setting circuit Pending JPH08313603A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7118181A JPH08313603A (en) 1995-05-17 1995-05-17 Test mode setting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7118181A JPH08313603A (en) 1995-05-17 1995-05-17 Test mode setting circuit

Publications (1)

Publication Number Publication Date
JPH08313603A true JPH08313603A (en) 1996-11-29

Family

ID=14730152

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7118181A Pending JPH08313603A (en) 1995-05-17 1995-05-17 Test mode setting circuit

Country Status (1)

Country Link
JP (1) JPH08313603A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108139449A (en) * 2016-01-11 2018-06-08 特因泰什工业公司 For the improved quality control testing systems and application method of portable charging apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108139449A (en) * 2016-01-11 2018-06-08 特因泰什工业公司 For the improved quality control testing systems and application method of portable charging apparatus

Similar Documents

Publication Publication Date Title
JPS6285881A (en) Test-pattern generator
JPS6334554B2 (en)
WO2000016589A1 (en) Two line variable word length serial interface
JP3661979B2 (en) Parallel bit test circuit sharing output driver, parallel bit test method using the same, and semiconductor memory device thereof
JPH08313603A (en) Test mode setting circuit
JPS60233741A (en) Digital pattern generator
US5379308A (en) Apparatus for a bus-based integrated circuit test architecture
JPH08293765A (en) Signal generator
JP3198997B2 (en) Microcomputer and burn-in test method thereof
US7178077B2 (en) Integrated circuit test apparatus
US6003141A (en) Single chip processor with externally executed test function
US7284178B2 (en) Method and apparatus for testing a device in an electronic component
US6469534B1 (en) Semiconductor integrated circuit apparatus and electronic device
JPS6095369A (en) Test pattern generating system
JP3185426B2 (en) Data transfer circuit for memory device inspection
JPH07280894A (en) Mode setting circuit for integrated circuit
JPH11295391A (en) Address decoder circuit and address decoding method
JP2633857B2 (en) IC test equipment
JPH07140211A (en) Pattern generation of ic tester
JPS62132182A (en) Large integrated circuit with test circuit
JPH04229353A (en) Parameter setting circuit
JPH05151017A (en) Microcomputer
JPS59144930A (en) Microcomputer
JPH08286942A (en) Semiconductor circuit device
JPS6011941A (en) Data processor