JPS6356741A - Test circuit - Google Patents
Test circuitInfo
- Publication number
- JPS6356741A JPS6356741A JP61203008A JP20300886A JPS6356741A JP S6356741 A JPS6356741 A JP S6356741A JP 61203008 A JP61203008 A JP 61203008A JP 20300886 A JP20300886 A JP 20300886A JP S6356741 A JPS6356741 A JP S6356741A
- Authority
- JP
- Japan
- Prior art keywords
- test
- serial
- sck
- register
- shift register
- 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
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 43
- 238000010586 diagram Methods 0.000 description 5
- 238000000034 method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 235000017166 Bambusa arundinacea Nutrition 0.000 description 1
- 235000017491 Bambusa tulda Nutrition 0.000 description 1
- 241001330002 Bambuseae Species 0.000 description 1
- 235000015334 Phyllostachys viridis Nutrition 0.000 description 1
- 239000011425 bamboo Substances 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
- Microcomputers (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はシリアルインターフェースを内蔵したシングル
チップマイクロコンピュータのテスト回路に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a test circuit for a single-chip microcomputer with a built-in serial interface.
従来の内部回路をテスト状態に設だするテスト回路の一
例を第3図に示す。FIG. 3 shows an example of a conventional test circuit for placing an internal circuit in a test state.
テスト信号とは、テスト用の端子を設け、テスト状態と
、通常動作状態を論理レベル゛1”または”0”で切換
る方法、通常動作電圧より絶対値の高い電圧を入力端子
に入力し、アナログレベルを判定してテスト状態に切換
る方法通常動作状態では起り得ない論理値の組合せによ
シ内部回路をテスト状態とする方法等によIE成される
信号である。The test signal is a method in which a test terminal is provided, the test state and the normal operating state are switched at logic level "1" or "0", a voltage with an absolute value higher than the normal operating voltage is input to the input terminal, A method of determining an analog level and switching to a test state is a signal generated by IE by a method of putting an internal circuit into a test state using a combination of logical values that cannot occur in a normal operating state.
このテスト信号がアクティブの期間に内部システムクロ
ック“CLK同期してボートよシフリップフロップ24
.25.26にデータを書き込むことによシ、内部回路
を、フリップフロップ24゜25.26の出力値に応じ
たテストモードに設定する。During the period when this test signal is active, the flip-flop 24 transfers the boat in synchronization with the internal system clock “CLK”.
.. By writing data to 25.26, the internal circuit is set to a test mode according to the output value of the flip-flop 24.25.26.
上述した従来のテスト回路においては、テストモードレ
ジスタは、内部回路をテスト状態に設定する為にのみ用
いられ、通常動作状態においては機能していない。すな
わち、テストのために回路規模が大きくなるという欠点
があった。In the conventional test circuit described above, the test mode register is used only to set the internal circuit in a test state, and does not function in the normal operating state. That is, there is a drawback that the circuit scale becomes large for testing.
C問題点を解決するための手段〕
本発明のテスト回路は、内部回路のテスト時には、シリ
アルシフトレジスタ?テストモードレジスタとして機能
させる手段を有している。Means for Solving Problem C] The test circuit of the present invention uses a serial shift register when testing internal circuits. It has means for functioning as a test mode register.
次に本発明の実施例を図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例のブロック構成図である。FIG. 1 is a block diagram of an embodiment of the present invention.
テスト信号TESTがロウレベルの場合、すなわち通常
動作状態の場合の動作について説明する。The operation when the test signal TEST is at a low level, that is, in the normal operating state, will be described.
1は8ビツトのシリアルシフトレジスタであシ、シリア
ルクロックSCKの立下シで最上位ビットの内容がSO
端子よシ出力され、立上シでシリアルシフトレジスタの
内容が1ビツト下位から、上位にシフトされると同時に
、SI端子の論理レベルが最下位ビットにラッチされる
。1 is an 8-bit serial shift register, and the contents of the most significant bit are set to SO at the falling edge of the serial clock SCK.
At the rising edge, the contents of the serial shift register are shifted from the lower bit to the upper bit, and at the same time, the logic level of the SI terminal is latched to the least significant bit.
8進カウンタ2ilt、シリアルクロックSCKをカウ
ントし、8発カウントして、1バイトシリアルデータの
転送が終了するごとに内部側シ込み信号INTSを発生
する。同時に、スリップ70ツブ5をリセットし、以後
のSCKの入力を無視する。The octal counter 2ilt counts the serial clock SCK, counts eight times, and generates an internal input signal INTS every time the transfer of 1-byte serial data is completed. At the same time, the slip 70 knob 5 is reset and subsequent SCK inputs are ignored.
8進カウンタ2.7リツプ70ツブ5itリセット信号
RESET、シリアル転送開始を示す信号5TARTに
より、リセット、セットされる@第2図は前記実施例の
テスト状態設定時の動作を示すタイミング図である。第
1図、第2図を参照しながら本実施例のテスト状態設定
時の動作について説明する。The octal counter 2.7 rip 70 tabs 5 it is reset and set by the reset signal RESET and the signal 5TART indicating the start of serial transfer @FIG. 2 is a timing diagram showing the operation when setting the test state of the embodiment. The operation of this embodiment when setting a test state will be described with reference to FIGS. 1 and 2.
テスト信号TESTが@1″かつ、SCKが10′″の
時にDタイプフリップ70ツブ(以下F/Fと記す)4
のクロックを生成するNORゲート8が1”となシ、F
/F4はNORゲート7の出力値をラッチする。7はT
ESTが61“、かつシリアル人力SIが“θ′″の時
11”となるゲートである。すなわち、TESTが@1
″かつ、SCK、S Iが−0”O時、F/F4O出力
は”1”となシ、内部回路をテスト状態に設定する。When the test signal TEST is @1'' and SCK is 10'', D type flip 70 knob (hereinafter referred to as F/F) 4
If the NOR gate 8 that generates the clock is 1", F
/F4 latches the output value of NOR gate 7. 7 is T
This is a gate that becomes 11 when EST is 61" and serial human input SI is "θ'". That is, TEST is @1
"And when SCK and SI are -0", the F/F4O output is "1" and the internal circuit is set to the test state.
内部回路はシリアルシフトレジスタの値に応じたテスト
モードに設定される。The internal circuit is set to a test mode according to the value of the serial shift register.
以上説明したように本発明は通常動作状態においてはシ
リアルシフトレジスタとして動作するレジスタを、テス
ト状態においてはテストモードレジスタとして使用する
ため、テストO為に付加する回路が少くてすむという大
きな効果がある。As explained above, the present invention uses a register that operates as a serial shift register in the normal operating state and as a test mode register in the test state, which has the great effect of reducing the need for additional circuitry for testing. .
第1図は本発明の一実施例を示す回路図、第2図は第1
図のテストモード設定時の動作を示すタイミング図、第
3図は従来のテスト回路でるる。
1・・・・・・シリアルシフトレジスタ、2・・・・・
・8進カウンタ、3・・・・・・ORゲート、4・・・
・・・リセット付りタイプフリップ70ツブ、5・・・
・・・RSフリンプ70ツ7”、6.9・・・・・・A
NDゲート、7,8・・・・・NORゲート、10・・
・・・・インバータ、11.27・・・・・・内部デー
タバス、21,22,23°°°°°“クロックバッフ
ァ、24,25.26・・・・・・Dタイプフリップフ
ロップ。
代理人 弁理士 内 原 1 °−a、−r:
゛。
箭1図Fig. 1 is a circuit diagram showing one embodiment of the present invention, and Fig. 2 is a circuit diagram showing an embodiment of the present invention.
FIG. 3 is a timing diagram showing the operation when the test mode is set. FIG. 3 shows a conventional test circuit. 1... Serial shift register, 2...
・Octal counter, 3...OR gate, 4...
...Type flip 70 knobs with reset, 5...
...RS Flimp 70 pieces 7", 6.9...A
ND gate, 7, 8...NOR gate, 10...
...Inverter, 11.27...Internal data bus, 21,22,23°°°°°"Clock buffer, 24,25.26...D type flip-flop. Substitute Person Patent Attorney Uchihara 1 °-a,-r:
゛. Bamboo illustration 1
Claims (1)
イクロコンピュータにおいて、テスト時にシリアルシフ
トレジスタをテストモードレジスタとして機能させる手
段を設けたことを特徴とするテスト回路。A test circuit for a single-chip microcomputer with a built-in serial interface, characterized in that it is provided with means for making a serial shift register function as a test mode register during testing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61203008A JPS6356741A (en) | 1986-08-28 | 1986-08-28 | Test circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61203008A JPS6356741A (en) | 1986-08-28 | 1986-08-28 | Test circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6356741A true JPS6356741A (en) | 1988-03-11 |
Family
ID=16466804
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61203008A Pending JPS6356741A (en) | 1986-08-28 | 1986-08-28 | Test circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6356741A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5727041A (en) * | 1980-07-25 | 1982-02-13 | Hitachi Ltd | Large-scale integrated circuit having testing function |
JPS5771035A (en) * | 1980-10-22 | 1982-05-01 | Toshiba Corp | Input and output equipment for microcomputer |
-
1986
- 1986-08-28 JP JP61203008A patent/JPS6356741A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5727041A (en) * | 1980-07-25 | 1982-02-13 | Hitachi Ltd | Large-scale integrated circuit having testing function |
JPS5771035A (en) * | 1980-10-22 | 1982-05-01 | Toshiba Corp | Input and output equipment for microcomputer |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0311036B2 (en) | ||
JPH04319693A (en) | Timer input controlling circuit and counter controlling circuit | |
JPS6356741A (en) | Test circuit | |
JPS6316711A (en) | Timing device | |
JPS5831620A (en) | Ternary ring counter | |
JP2903548B2 (en) | Logic circuit diagnostic system | |
JP2953713B2 (en) | Semiconductor integrated circuit | |
JPS57166646A (en) | Logical circuit | |
JPS6111786Y2 (en) | ||
JPS62260418A (en) | Flip-flop circuit | |
JP2658327B2 (en) | Logic circuit | |
JPH073019U (en) | Operation mode setting circuit | |
JPH0262797A (en) | Dynamic type shift register | |
JPS61289448A (en) | Buffer memory device | |
JPH02280263A (en) | Microprocessor | |
JPS59229923A (en) | Logical circuit for integrated circuit | |
JPS63103521A (en) | Parallel/serial conversion circuit | |
JPH0653819A (en) | Synchronizing counter | |
JPH0326976A (en) | Test apparatus of semiconductor integrated circuit | |
JPH0752558B2 (en) | Recording density switching circuit | |
JPH02113715A (en) | D flip-flop circuit | |
JPH02124635A (en) | Counter control circuit | |
JPH0241929B2 (en) | ||
JPH0282135U (en) | ||
JPS62266645A (en) | Serial interface circuit |