JPH01245623A - Test circuit for decoder - Google Patents

Test circuit for decoder

Info

Publication number
JPH01245623A
JPH01245623A JP63072281A JP7228188A JPH01245623A JP H01245623 A JPH01245623 A JP H01245623A JP 63072281 A JP63072281 A JP 63072281A JP 7228188 A JP7228188 A JP 7228188A JP H01245623 A JPH01245623 A JP H01245623A
Authority
JP
Japan
Prior art keywords
decoder
circuit
output
level
ratio
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.)
Granted
Application number
JP63072281A
Other languages
Japanese (ja)
Other versions
JP2705085B2 (en
Inventor
Hiroshi Koya
小屋 啓
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
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP63072281A priority Critical patent/JP2705085B2/en
Publication of JPH01245623A publication Critical patent/JPH01245623A/en
Application granted granted Critical
Publication of JP2705085B2 publication Critical patent/JP2705085B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Logic Circuits (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To decrease the number of transistors to be used by making the output of a decoder correspond to the input of the NOR circuit of a ratio and connecting two sense amplifiers whose threshold voltages are different to the output of the NOR circuit of the ratio. CONSTITUTION:Output signals 01-0n of the decorder are supplied to transistors 22-24, and when only one decoder output is selected, an output voltage 25 of a NOR circuit 11 of the ratio is shown by a level 31, and when plural outputs of the decoder are selected, the value of the output voltage 25 lowers as shown by a level 32. When the threshold value of a sense amplifier 26 is set between the levels 31 and 32, the malfunction of the decoder can be detected. All of decoder output signals O1-ON are LOW, the output voltage 25 remains at a HIGH level 33, it cannot be distinguished from the case of a normal action and therefore, this trouble can be detected by a sense amplifier 27 whose threshold value is set between a supply voltage VDD and the level 31. Thus, the number of transistors to be used can be decreased.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデコーダのテスト回路、特に、MOS−LS 
Iのデコーダのテスト回路に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention is applicable to decoder test circuits, particularly MOS-LS
This invention relates to a test circuit for a decoder of I.

〔技術環境〕[Technological environment]

近年、LSIの大規模化に伴ない、種々のテスト回路が
LSIに組み込まれる機会が多くなった。マイクロプロ
セッサにおいては、内部ROMの掃きたしモード、キャ
リー・ルックアヘッドのテスト回路等は必須のものとな
りつつある。
In recent years, as LSIs have become larger in scale, various test circuits are increasingly incorporated into LSIs. In microprocessors, internal ROM sweep mode, carry lookahead test circuits, etc. are becoming essential.

このためのテスト回路は、できるかぎり少ない素子数で
実現する必要がある。
A test circuit for this purpose needs to be realized with as few elements as possible.

〔従来の技術〕[Conventional technology]

次に従来のデコーダのテスト回路について図面を参照し
て詳細に説明する。
Next, a conventional decoder test circuit will be described in detail with reference to the drawings.

第5図は従来のデコーダのテスト回路の一例を示すブロ
ック図である。
FIG. 5 is a block diagram showing an example of a conventional decoder test circuit.

第5図に示すデコーダのテスト回路は、デコーダ41と
、テスト回路42と、デコーダ出力I。
The decoder test circuit shown in FIG. 5 includes a decoder 41, a test circuit 42, and a decoder output I.

■2 ・・・・INと、デコーダ出力01,02 ・・
・・ONと、テスト出力Sとを含んて構成される。
■2...IN and decoder outputs 01, 02...
...Contains ON and test output S.

第6図は第5図に示すテスト回路42の詳細を示す回路
図である。
FIG. 6 is a circuit diagram showing details of the test circuit 42 shown in FIG. 5.

デコーダ4]の出力が2出力以上選択された場合、テス
ト出力SはOになり、デコーダ41が誤動作しているこ
とを示す。またデコーダ41のすべての出力かOlつま
り何も選択しない場合もテスト出力Sは0となり故障検
出ができる。
When two or more outputs of the decoder 4 are selected, the test output S becomes O, indicating that the decoder 41 is malfunctioning. Further, even when all outputs of the decoder 41 are selected as O1, that is, when nothing is selected, the test output S becomes 0, and a failure can be detected.

この回路の所要素子数は、CMO3の場合でデコーダ4
1の出力数をnとすると、 インバータ部・トランジスタ数 2fl×2 アンド部・トランジスタ数 2n×2n×2 オア部・トランジスタ数 2″×2 合計 2”2 (1+2”−1)個 のようになる。
The number of elements required for this circuit is 4 decoders in the case of CMO3.
If the number of outputs in 1 is n, then inverter section, number of transistors 2fl x 2 AND section, number of transistors 2n x 2n x 2 OR section, number of transistors 2" x 2, total 2"2 (1 + 2" - 1) Become.

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

上述した従来のデコーダのテスト回路は、デコーダの出
力数の増大にともなって、多数のトランジスタが必要に
なるという欠点があった。
The conventional decoder test circuit described above has the disadvantage that a large number of transistors are required as the number of decoder outputs increases.

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

本発明のデコーダのテスト回路は、デコーダの出力をレ
シオのNOR回路の入力に対応させ、前記レシオのNO
R回路の出力にしきい値電圧の異なる2つのセンス・ア
ンプを接続したことを特徴とする。
The decoder test circuit of the present invention makes the output of the decoder correspond to the input of a ratio NOR circuit, and
It is characterized in that two sense amplifiers with different threshold voltages are connected to the output of the R circuit.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の第1の実施例を示子シロツク図である
FIG. 1 is a block diagram showing a first embodiment of the present invention.

第1図に示すデコーダのテスト回路は、レシオのNOR
回路11と、センス・アンプ12とを含んで構成される
The decoder test circuit shown in Figure 1 is a ratio NOR
The circuit includes a circuit 11 and a sense amplifier 12.

第2図は第1図に示すレシオのNOR回路11をCMO
8で実現した回路図、第3図はレシオのNOR回路1.
1の出力電圧を示すグラフである。
Figure 2 shows the NOR circuit 11 with the ratio shown in Figure 1 as a CMO circuit.
The circuit diagram realized in 8, Figure 3 is the ratio NOR circuit 1.
1 is a graph showing the output voltage of No. 1.

テスト指令信号rは、テストモードのときLOWレベル
、それ以外のときはHIGHレベルを入力しておく。こ
れによって不用な電流の消費をおさえることができる。
The test command signal r is inputted at a LOW level in the test mode, and at a HIGH level at other times. This can reduce unnecessary current consumption.

デコーダの出力信号はNチャンネル・トランジスタ22
,23.24に供給される。
The output signal of the decoder is an N-channel transistor 22
, 23.24.

センス・アンプ26.27は各々しきい値が異なる。Sense amplifiers 26 and 27 each have different threshold values.

デコーダの出力が1本だけ選択されている場合、レシオ
のNOR回路11の出力電圧25は、Pチャンネル・ト
ランジスタ21と、Nチャンネル・トランジスタ22,
23.24のうちの一つのトランジスタのON抵抗の比
によって決まる。
When only one output of the decoder is selected, the output voltage 25 of the ratio NOR circuit 11 is divided between the P-channel transistor 21, the N-channel transistor 22,
It is determined by the ratio of ON resistance of one transistor among 23 and 24.

このときの出力電圧25の値は、レベル31で示される
The value of the output voltage 25 at this time is indicated by a level 31.

デコーダの出力が複数本選択された場合は、Nチャンネ
ル・トランジスタ22.・23,24のうち複数のトラ
ンジスタがON状態になるため、出力電圧25の値は、
レベル32で示されるように低下する。
If multiple decoder outputs are selected, N-channel transistors 22.・Since multiple transistors among 23 and 24 are in the ON state, the value of the output voltage 25 is
It decreases as indicated by level 32.

センス・アンプ26のしきい値をレベル31とレベル3
2の間に設定すれば、デコーダの誤動作が検出できる。
The threshold value of the sense amplifier 26 is set to level 31 and level 3.
If set between 2 and 2, malfunction of the decoder can be detected.

ただし、デコーダ出力信号O□〜ONがすべてLOWで
あると、出力電圧25はHIGHレベル(レベル33)
のままとなり、正常動作の場傘との区別がつかないので
、しきい値が■DDとレベル31との間に設定されたセ
ンス・アンプ27により、この故障を検知する。
However, if the decoder output signals O□~ON are all LOW, the output voltage 25 will be at a HIGH level (level 33).
Since the fault remains as it is and cannot be distinguished from the normal operating state, the sense amplifier 27 whose threshold value is set between DD and level 31 detects this fault.

第4図は本発明の第2の実施例を示す回路図である。FIG. 4 is a circuit diagram showing a second embodiment of the present invention.

インバータ67は第3図におけるレベル33を検知する
ものである。
Inverter 67 detects level 33 in FIG.

テストモード時、Pチャンネル・トランジスタ61はO
N状態で、Nチャンネル・トランジスタ62.63.6
4がすべてOFFの状態では、出力電圧65のレベルは
ほぼ電源電圧になるので、インバータ67のしきい値が
若干高め(電源電圧寄り)であれば、センス・アンプで
なくても、この状態を検出できる。
In test mode, P-channel transistor 61 is O
In the N state, the N-channel transistor 62.63.6
4 are all OFF, the level of the output voltage 65 is almost the power supply voltage, so if the threshold value of the inverter 67 is slightly higher (closer to the power supply voltage), this state can be corrected even if it is not a sense amplifier. Can be detected.

センス・アンプ66とインバータ67との論理積をAN
D回路68でとることにより、テスト出力Sに、故障時
1.正常時Oの論理値が得られる。
The AND of the sense amplifier 66 and the inverter 67 is
By taking the output from the D circuit 68, the test output S outputs 1. A logical value of O is obtained under normal conditions.

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

本発明のデコーダのテスト回路は、しきい値の異なるセ
ンス・アンプを用いることにより、使用トランジスタ数
を大幅に削減できるという効果がある。
The decoder test circuit of the present invention has the effect of significantly reducing the number of transistors used by using sense amplifiers with different threshold values.

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

第1図は本発明の第1の実施例を示すブロック図、第2
図は第1図に示すレシオのNOR回路の回路図、第3図
はレシオのNOR回路を出力レベルを説明するグラフ、
第4図は本発明の第2の実施例を示す回路図、第5図は
従来の一例を示すフロック図、第6図は第5図に示すテ
スト回路の回路図である。 11・・・・・・レシオのNOR回路、21・・・・・
・Pチャンネル トランジスタ、22.23.24・・
・・・Nチャンネル・トランジスタ、26.27・・・
・・・センス・アンプ。 代理人 弁理士  内 原  音 7一
FIG. 1 is a block diagram showing a first embodiment of the present invention;
The figure is a circuit diagram of the ratio NOR circuit shown in Figure 1, and Figure 3 is a graph explaining the output level of the ratio NOR circuit.
FIG. 4 is a circuit diagram showing a second embodiment of the present invention, FIG. 5 is a block diagram showing a conventional example, and FIG. 6 is a circuit diagram of the test circuit shown in FIG. 11...Ratio NOR circuit, 21...
・P channel transistor, 22.23.24...
...N-channel transistor, 26.27...
...Sense amplifier. Agent Patent Attorney Oto 71 Uchihara

Claims (1)

【特許請求の範囲】[Claims] デコーダの出力をレシオのNOR回路の入力に対応させ
、前記レシオのNOR回路の出力にしきい値電圧の異な
る2つのセンス・アンプを接続したことを特徴とするデ
コーダのテスト回路。
1. A decoder test circuit, characterized in that the output of the decoder corresponds to the input of a ratio NOR circuit, and two sense amplifiers having different threshold voltages are connected to the output of the ratio NOR circuit.
JP63072281A 1988-03-25 1988-03-25 Decoder test circuit Expired - Lifetime JP2705085B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63072281A JP2705085B2 (en) 1988-03-25 1988-03-25 Decoder test circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63072281A JP2705085B2 (en) 1988-03-25 1988-03-25 Decoder test circuit

Publications (2)

Publication Number Publication Date
JPH01245623A true JPH01245623A (en) 1989-09-29
JP2705085B2 JP2705085B2 (en) 1998-01-26

Family

ID=13484743

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63072281A Expired - Lifetime JP2705085B2 (en) 1988-03-25 1988-03-25 Decoder test circuit

Country Status (1)

Country Link
JP (1) JP2705085B2 (en)

Also Published As

Publication number Publication date
JP2705085B2 (en) 1998-01-26

Similar Documents

Publication Publication Date Title
US5012185A (en) Semiconductor integrated circuit having I/O terminals allowing independent connection test
JPH0580633B2 (en)
US5627493A (en) Semiconductor device having supply voltage deboosting circuit
US5889419A (en) Differential comparison circuit having improved common mode range
JP3238562B2 (en) Semiconductor integrated circuit
US6584572B1 (en) Data input-output circuits that selectively invert bits
EP0850482B1 (en) Method and apparatus for detecting assertion of multiple signals
US20020196068A1 (en) A Bus Agent Utilizing Dynamic Biasing Circuitry to Translate a Signal to a Core Voltage Level
JPH01245623A (en) Test circuit for decoder
US5265256A (en) Data processing system having a programmable mode for selecting operation at one of a plurality of power supply potentials
JP2621140B2 (en) Sense amplifier circuit
JPH08255487A (en) Semiconductor storage device
KR100223501B1 (en) Semiconductor integrated circuit
JP3696194B2 (en) Semiconductor integrated circuit
US6667637B1 (en) Dynamic logic circuit with beta controllable noise margin
US6335650B1 (en) Method and apparatus for adjusting time delays in circuits with multiple operating supply voltages
JP2626915B2 (en) Output buffer circuit
JP3117404B2 (en) Input circuit and semiconductor integrated circuit including the same
JPH03179814A (en) Level shift circuit
JPH0416968B2 (en)
JPH06177766A (en) D/a conversion circuit
JP3076267B2 (en) Semiconductor integrated circuit
JPH0222477B2 (en)
JPH0590940A (en) Semiconductor integrated circuit
JPH0581893A (en) Semiconductor memory