JPH0348468B2 - - Google Patents
Info
- Publication number
- JPH0348468B2 JPH0348468B2 JP57079422A JP7942282A JPH0348468B2 JP H0348468 B2 JPH0348468 B2 JP H0348468B2 JP 57079422 A JP57079422 A JP 57079422A JP 7942282 A JP7942282 A JP 7942282A JP H0348468 B2 JPH0348468 B2 JP H0348468B2
- Authority
- JP
- Japan
- Prior art keywords
- test
- oscillation
- signal
- terminal
- external lead
- 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
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/317—Testing of digital circuits
- G01R31/31701—Arrangements for setting the Unit Under Test [UUT] in a test mode
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Semiconductor Integrated Circuits (AREA)
- Tests Of Electronic Circuits (AREA)
- Testing Or Measuring Of Semiconductors Or The Like (AREA)
Description
【発明の詳細な説明】
〔発明の技術分野〕
本発明は集積回路のテスト方法に関するもので
ある。DETAILED DESCRIPTION OF THE INVENTION TECHNICAL FIELD OF THE INVENTION The present invention relates to a method for testing integrated circuits.
通常集積回路(以下ICという)の試験を簡単
化するためには、IC内にテスト回路が設けられ
る。例えば1チツプのCPUなどでは、ユーザの
ソフトプログラムにより動作が異なり、通常動作
(NORMAL)状態でのテストは無理であり、テ
ストをやりやすくするため、テスト端子(外部導
出端子)を設けたり、または入力端子の組み合わ
せでテスト・モードとなるように設計されてい
る。しかしながら上記テスト端子を設けること
は、ノーマルな使用では無駄であり、1端子損を
することになる。また上記いくつかの入力端子の
組み合わせでテスト・モードとなるようになつて
いる場合は、ノーマル状態を保つためには、テス
ト・モードになる組み合わせにならないように入
力データを入れなければならない。つまりいくつ
かの入力端子による組み合わせでは、テスト状態
にならないように入力端子にデータ入力を入れる
必要がある。よつてランダムな入力データには使
用できない欠点がある。
To simplify testing of integrated circuits (hereinafter referred to as ICs), test circuits are usually provided within the IC. For example, with a one-chip CPU, the operation differs depending on the user's software program, and it is impossible to test it in the normal operation (NORMAL) state.To make testing easier, test terminals (external lead-out terminals) are provided, or It is designed to be in test mode depending on the combination of input terminals. However, providing the above test terminal is wasteful in normal use and results in a loss of one terminal. Furthermore, if the test mode is set by a combination of the several input terminals mentioned above, in order to maintain the normal state, input data must be input so as not to result in a combination that will result in the test mode. In other words, when using a combination of several input terminals, it is necessary to input data to the input terminals to avoid a test state. Therefore, it has the disadvantage that it cannot be used with random input data.
本発明は上記事情に鑑みてなされたもので、テ
スト端子をなくし、また入力端子の組み合わせを
考えずに済むような集積回路のテスト方法を提供
しようとするものである。
The present invention has been made in view of the above circumstances, and it is an object of the present invention to provide an integrated circuit testing method that eliminates the need for test terminals and eliminates the need to consider combinations of input terminals.
上記発明の目的を達成するために、ICの発振
用外部導出端子を利用し、これでテストとノーマ
ル(通常動作)の切り換えが行なえるようにした
ものである。
In order to achieve the above object of the invention, an external lead-out terminal for oscillation of the IC is used to enable switching between test and normal (normal operation).
以下図面を参照して本発明の実施例を説明す
る。第1図は水晶発振素子(LC)による発振回
路を用いた一例、第2図はCR発振回路を用いた
一例を示す。第1図において1はICを示す。水
晶発振回路2は水晶発振素子3、外付けコンデン
サ4,5、発振端子(外部端子)XIN,XOUT、イ
ンバータ6、抵抗7よりなる。インバータ8,
9、インバータ10,11は波形整形用であり、
シフトレジスタ12,13は、例えばテスト回路
前段の信号検出回路を構成する。また第2図にお
いて外付け抵抗21、内蔵コンデンサ22、イン
バータ23〜25、抵抗26はCR発振回路27
を構成する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows an example using an oscillation circuit using a crystal oscillation element (LC), and FIG. 2 shows an example using a CR oscillation circuit. In FIG. 1, 1 indicates an IC. The crystal oscillation circuit 2 includes a crystal oscillation element 3, external capacitors 4 and 5, oscillation terminals (external terminals) X IN and X OUT , an inverter 6, and a resistor 7. Inverter 8,
9. Inverters 10 and 11 are for waveform shaping,
The shift registers 12 and 13 constitute, for example, a signal detection circuit in the preceding stage of the test circuit. In addition, in FIG. 2, an external resistor 21, a built-in capacitor 22, inverters 23 to 25, and a resistor 26 are connected to the CR oscillation circuit 27.
Configure.
第1図、第2図から分かるように、IC動作と
してのクロツク用発振回路のXIN,XOUTを使用し
たテスト回路を設ける。通常、ノーマル状態での
使用は、第1図のような水晶発振または第2図の
ようなCR発振による基準クロツクの供給であ
り、発振状態ではXIN,XOUTの動作波形は略不変
といつていい。 As can be seen from FIGS. 1 and 2, a test circuit using X IN and X OUT of a clock oscillation circuit for IC operation is provided. Normally, in normal conditions, the reference clock is supplied by crystal oscillation as shown in Figure 1 or CR oscillation as shown in Figure 2. In the oscillation condition, the operating waveforms of X IN and Good.
第3図は第1図のような水晶発振によるノーマ
ル状態でのタイミングを示す。この第3図のよう
に通常発振(ノーマル状態)では、内部信号(リ
セツト信号)Rが内部信号(基準クロツク信号)
CPの1サイクルの間に1回は必ず“H”(高)レ
ベルとなるため、シフトレジスタ12,13はリ
セツトされ、内部テスト信号は“L”(低)レベ
ルのまゝで、テスト・モードにはならない。第2
図におけるCR発振の場合も、上記第1図の場合
と内容は同じで、テスト・モードにはならない。
また外部かの水晶発振回路またはCR発振回路以
外のクロツク供給でも、XIN側のクロツクにより
XOUT側も変化するため、テスト・モードとはな
らず、従つてノーマル状態が維持されるものであ
る。 FIG. 3 shows the timing in a normal state using crystal oscillation as shown in FIG. As shown in Fig. 3, in normal oscillation (normal state), the internal signal (reset signal) R is the internal signal (reference clock signal).
Since the CP always goes to the "H" (high) level once during one cycle, the shift registers 12 and 13 are reset, and the internal test signal remains at the "L" (low) level, entering the test mode. It won't be. Second
In the case of CR oscillation in the figure, the contents are the same as in the case of FIG. 1 above, and the test mode is not entered.
Also, even if the clock is supplied from an external crystal oscillation circuit or CR oscillation circuit, the clock on the X IN side will
Since the X OUT side also changes, it does not become a test mode, and therefore the normal state is maintained.
一方、テストを行なう場合には、第4図のタイ
ミング波形で示されるように端子XINを“L”レ
ベルに固定してリセツト信号Rを“L”レベルと
し、端子XOUTから強制的にクロツク信号を入れ
て、シフトレジスタ12,13よりなる信号検出
回路により、内部テスト信号QAを“H”レベル
とすれば、テスト・モードにすることができるも
のである。 On the other hand, when performing a test, the terminal X IN is fixed at the "L" level, the reset signal R is set at the "L" level, and the clock is forcibly output from the terminal X OUT , as shown in the timing waveform in Figure 4. The test mode can be set by inputting a signal and setting the internal test signal Q A to the "H" level by the signal detection circuit consisting of shift registers 12 and 13.
従つて本実施例によれば、クロツク供給用とし
ての端子XIN,XOUTテスト用として使用するもの
であるから、テスト専用の外部導出端子を省略で
き、またテスト状態とノーマル状態の切り換えを
簡略的に行なうことができる。また通常発振を行
なわせるために、水晶発振素子3等を付けて通常
使用状態とする時、端子XIN,XOUTの発振波形は
略不変であり、リセツトが行なわれるため、テス
ト・モードになることはないものである。 Therefore, according to this embodiment, since the terminals X IN and X OUT for clock supply are used for testing, external lead-out terminals dedicated to testing can be omitted, and switching between the test state and the normal state can be simplified. It can be done. In addition, when the crystal oscillation element 3 etc. is attached to perform normal oscillation and the device is used in normal use, the oscillation waveforms of the terminals X IN and It never happens.
なお本発明は上記実施例に限られることなく
種々の応用が可能である。例えばシフトレジスタ
を2段とした場合を説明したが、更に段数を多く
してもかまわない。また本発明では、例えば第1
図、第2図でリセツト信号Rが“1”でリセツト
がかかるような信号を端子XINから入れ、端子
XOUTのみからクロツク信号を入れて通常動作を
行なわせる場合も含むものである。 Note that the present invention is not limited to the above embodiments, and can be applied in various ways. For example, although the case where the shift register has two stages has been described, the number of stages may be further increased. Further, in the present invention, for example, the first
In Figure 2, input a signal that causes a reset when the reset signal R is "1" from the terminal X IN , and then
This also includes cases in which normal operation is performed by inputting a clock signal only from X OUT .
以上説明した如く本発明によれば、テスト専用
の外部導出端子を省略できるため、端子数が低減
でき、またテスト状態とノーマル状態の切り換え
を簡略的に行なえる。また本発明ではシフトレジ
スタを用いるから、論理信号を発振用外部導出端
子に与えることでテスト状態に移行できる。また
上記本発明のシフトレジスタは、リセツト端子を
有するから、通常発振動作に影響を与えないし、
またデータ入出力端子を有することから、テスト
モードであることを記憶できるし、内部テスト信
号を供給しつづけることもできる。
As described above, according to the present invention, the external lead-out terminal dedicated for testing can be omitted, so the number of terminals can be reduced, and switching between the test state and the normal state can be performed simply. Furthermore, since a shift register is used in the present invention, a transition to a test state can be made by applying a logic signal to an external lead-out terminal for oscillation. Further, since the shift register of the present invention has a reset terminal, it does not affect the normal oscillation operation.
Furthermore, since it has data input/output terminals, it can remember that it is in test mode and can continue to supply internal test signals.
第1図、第2図は本発明の実施例に用いる回路
図、第3図、第4図は同タイミング波形図であ
る。
1…集積回路、2…水晶発振回路、12,13
…シフトレジスタ、27…CR発振回路、XIN,
XOUT…発振端子(外部導出端子)。
1 and 2 are circuit diagrams used in an embodiment of the present invention, and FIGS. 3 and 4 are timing waveform diagrams thereof. 1... Integrated circuit, 2... Crystal oscillation circuit, 12, 13
...Shift register, 27...CR oscillation circuit, X IN ,
X OUT ...Oscillation terminal (external lead-out terminal).
Claims (1)
スト回路をテスト・モードとするための信号を与
え、第2の発振用外部導出端子に基準クロツク信
号を与え、少くともデータ入出力端子、リセツト
端子を有するテスト検出用シフトレジスタを設
け、そのリセツト端子に、前記第1の発振用外部
導出端子からの論理信号を与えて前記シフトレジ
スタがテスト開始を検出したら、前記シフトレジ
スタから内部テスト信号を出力することを特徴と
する集積回路のテスト方法。1. A signal for setting the integrated circuit test circuit to test mode is applied to the first oscillation external lead-out terminal, a reference clock signal is applied to the second oscillation external lead-out terminal, and at least a data input/output terminal, A test detection shift register having a reset terminal is provided, and when the logic signal from the first oscillation external lead-out terminal is applied to the reset terminal and the shift register detects the start of the test, the internal test signal is output from the shift register. A method for testing an integrated circuit characterized by outputting .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57079422A JPS58196469A (en) | 1982-05-12 | 1982-05-12 | Testing of integrated circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57079422A JPS58196469A (en) | 1982-05-12 | 1982-05-12 | Testing of integrated circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58196469A JPS58196469A (en) | 1983-11-15 |
| JPH0348468B2 true JPH0348468B2 (en) | 1991-07-24 |
Family
ID=13689422
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57079422A Granted JPS58196469A (en) | 1982-05-12 | 1982-05-12 | Testing of integrated circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58196469A (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61191973A (en) * | 1985-02-20 | 1986-08-26 | Fujitsu Ltd | Semiconductor integrated circuit with testing circuit |
| EP0752657A3 (en) * | 1995-07-03 | 1997-07-23 | Ford Motor Co | Test mode access control circuit |
| JPH09171060A (en) * | 1995-12-21 | 1997-06-30 | Nec Corp | Semiconductor integrated circuit |
| JP5999597B2 (en) * | 2012-10-04 | 2016-09-28 | セイコーNpc株式会社 | Oscillator |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5629177A (en) * | 1979-08-16 | 1981-03-23 | Nec Corp | Semiconductor integrated circuit device |
-
1982
- 1982-05-12 JP JP57079422A patent/JPS58196469A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS58196469A (en) | 1983-11-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0475121A (en) | Input interface circuit for automobile | |
| KR950012053B1 (en) | Micro processor and intergated circuit | |
| JPH0348468B2 (en) | ||
| JPS634151B2 (en) | ||
| US5315242A (en) | Method for measuring AC specifications of microprocessor | |
| JPS638612B2 (en) | ||
| JPH0133052B2 (en) | ||
| JP2001273274A (en) | Semiconductor integrated circuit and test mode setting circuit thereof | |
| JPS6331935B2 (en) | ||
| JP2599759B2 (en) | Flip-flop test method | |
| JPH04306013A (en) | Latch circuit device | |
| JP3070627B2 (en) | CPU reset circuit | |
| JPS5951624A (en) | Initial set circuit | |
| KR930002026Y1 (en) | Reset circuit for programming peripherals | |
| JP2526942B2 (en) | Clock generator | |
| JPH0495785A (en) | Semiconductor integrated circuit device | |
| JP3116706B2 (en) | Trigger input circuit | |
| JP2598088B2 (en) | Simple evaluation device for processing equipment | |
| JPH11296400A (en) | Mode setting circuit | |
| JP2544224Y2 (en) | Microcomputer time constant setting circuit | |
| JPH0713655A (en) | Semiconductor integrated circuit | |
| JP2702147B2 (en) | Test mode setting circuit for integrated circuits | |
| JPH0377543B2 (en) | ||
| KR970022341A (en) | Serial flip-flop test time saver | |
| JPH0262797A (en) | Dynamic type shift register |