JPH04257120A - Semiconductor device - Google Patents
Semiconductor deviceInfo
- Publication number
- JPH04257120A JPH04257120A JP3018161A JP1816191A JPH04257120A JP H04257120 A JPH04257120 A JP H04257120A JP 3018161 A JP3018161 A JP 3018161A JP 1816191 A JP1816191 A JP 1816191A JP H04257120 A JPH04257120 A JP H04257120A
- Authority
- JP
- Japan
- Prior art keywords
- output
- terminal
- converter
- voltage
- test 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.)
- Pending
Links
Landscapes
- Tests Of Electronic Circuits (AREA)
- Testing Or Measuring Of Semiconductors Or The Like (AREA)
- Analogue/Digital Conversion (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は、内蔵されたアナログ・
ディジタル(以下A/Dという)変換器の切り換わり電
圧などを検査可能な半導体装置に関するものである。[Industrial Application Field] The present invention provides a built-in analog
The present invention relates to a semiconductor device capable of testing switching voltage of a digital (hereinafter referred to as A/D) converter.
【0002】0002
【従来の技術】近年、半導体装置はますます高集積化さ
れ、A/D混在型の半導体装置も増えてきている。さら
に、A/D変換器を1チップに取り込んだものも現れて
いるが、反面、半導体装置のテストも複雑になり時間も
多くを要するようになってきた。従来、テスト方法とし
て半導体装置を幾つかの内部ブロックに分け、それぞれ
の出力を直接取り出してテストすることが行われている
。そこで、半導体装置に内蔵されたA/D変換器のテス
ト方法およびテスト回路について、以下説明する。2. Description of the Related Art In recent years, semiconductor devices have become increasingly highly integrated, and the number of A/D mixed type semiconductor devices has also increased. Furthermore, although devices incorporating an A/D converter into one chip have appeared, on the other hand, testing of semiconductor devices has also become complicated and time-consuming. Conventionally, a test method has been to divide a semiconductor device into several internal blocks and directly extract the output from each block for testing. Therefore, a method and test circuit for testing an A/D converter built into a semiconductor device will be described below.
【0003】図6は従来の半導体装置の回路構成を示す
ブロック図であり、アナログ入力電圧をn分割した場合
を示している。図6において、アナログ信号が入力され
るアナログ入力端子1はA/D変換器2のコンパレータ
2a1、・・2an−2、2an−1にそれぞれ接続さ
れ、A/D変換器2のコンパレータ2a1、・・2an
−2、2an−1の各出力端は内部ロジック回路3の入
力端にそれぞれ接続されるとともに、各出力モード切り
換えスイッチ4の一方端子にそれぞれ接続されている。
出力モード切り換えスイッチ4はそれぞれ、A/D変換
器2の各出力端がそれぞれ接続される一方端子と、内部
ロジック回路3の各出力端がそれぞれ接続される他方端
子とを切り換えて半導体装置の各出力端子5にそれぞれ
出力する。FIG. 6 is a block diagram showing the circuit configuration of a conventional semiconductor device, and shows a case where an analog input voltage is divided into n parts. In FIG. 6, the analog input terminal 1 to which an analog signal is input is connected to the comparators 2a1, . . . 2an-2, 2an-1 of the A/D converter 2, respectively.・2an
The output terminals of -2 and 2an-1 are respectively connected to the input terminals of the internal logic circuit 3, and are also connected to one terminal of each output mode changeover switch 4. Each of the output mode changeover switches 4 switches between one terminal to which each output terminal of the A/D converter 2 is connected, and the other terminal to which each output terminal of the internal logic circuit 3 is connected, respectively. They are output to output terminals 5, respectively.
【0004】以上のように構成された半導体装置につい
て、以下、その動作を説明する。まず、A/D変換器2
の各コンパレータ2a1、・・2an−2、2an−1
の切り換わり電圧をそれぞれ、
VL <V1 <V2 <V3 <・・・・<Vn−1
<VH と決め、アナログ入力端子1の入力電圧範囲
AをVL <A<VH とする。nはA/D変換器2の
電圧分割数である。また、各出力端子5に各コンパレー
タ2a1、・・2an−2、2an−1の出力が直接現
れるように出力モード切り換えスイッチ4を設定する。The operation of the semiconductor device configured as described above will be explained below. First, A/D converter 2
Each comparator 2a1,...2an-2, 2an-1
The switching voltages of VL <V1 <V2 <V3 <...<Vn-1
<VH, and the input voltage range A of analog input terminal 1 is set as VL<A<VH. n is the number of voltage divisions of the A/D converter 2. Further, the output mode changeover switch 4 is set so that the output of each comparator 2a1, . . . 2an-2, 2an-1 appears directly at each output terminal 5.
【0005】この状態で、アナログ入力端子1の電圧を
VL からVH まで変化させると、まず、切り換わり
電圧V1 のコンパレータ2a1の出力が変化し、次に
切り換わり電圧V2のコンパレータ2a2(図示せず)
の出力が変化し、最後に切り換わり電圧Vn−1 のコ
ンパレータ2an−1の出力が変化する。このとき、各
出力端子5に直接各コンパレータ2a1、・・2an−
2、2an−1の出力がそれぞれ現れ、この出力を観測
することによって、A/D変換器2の各コンパレータ2
a1、・・2an−2、2an−1の切り換わり電圧を
調べることができる。In this state, when the voltage at the analog input terminal 1 is changed from VL to VH, first the output of the comparator 2a1 of the switching voltage V1 changes, and then the output of the comparator 2a2 (not shown) of the switching voltage V2 changes. )
The output of the comparator 2an-1 changes, and finally the output of the comparator 2an-1 of the switching voltage Vn-1 changes. At this time, each comparator 2a1, . . . 2an- is directly connected to each output terminal 5.
2 and 2an-1 appear, and by observing these outputs, each comparator 2 of the A/D converter 2
The switching voltages of a1, . . . 2an-2, 2an-1 can be checked.
【0006】[0006]
【発明が解決しようとする課題】しかしながら上記従来
の構成では、各コンパレータ2a1、・・2an−2、
2an−1の出力をそれぞれ直接観測するため、多数の
端子が必要になり短時間で容易に検査できないという問
題を有していた。However, in the above conventional configuration, each of the comparators 2a1, . . . 2an-2,
In order to directly observe the output of each 2an-1, a large number of terminals are required, which poses a problem in that it cannot be easily inspected in a short period of time.
【0007】本発明は上記従来の問題を解決するもので
、A/D変換器の切り換わり電圧を短時間で容易に検査
することができる半導体装置を提供することを目的とす
るものである。SUMMARY OF THE INVENTION The present invention solves the above-mentioned conventional problems, and an object of the present invention is to provide a semiconductor device that can easily test the switching voltage of an A/D converter in a short time.
【0008】[0008]
【課題を解決するための手段】上記課題を解決するため
に本発明の半導体装置は、複数のコンパレータを有して
アナログ入力電圧をディジタル電圧に変換するA/D変
換手段と、前記A/D変換手段の各コンパレータからの
変換出力をそれぞれ入力とし、前記コンパレータの出力
反転に伴い出力論理が反転する出力を1端子より出力す
るテスト回路とを備えたものである。Means for Solving the Problems In order to solve the above problems, a semiconductor device of the present invention includes an A/D conversion means having a plurality of comparators and converting an analog input voltage into a digital voltage; The test circuit is provided with a test circuit which receives the conversion output from each comparator of the conversion means as an input, and outputs from one terminal an output whose output logic is inverted as the output of the comparator is inverted.
【0009】[0009]
【作用】上記構成により、A/D変換手段の各コンパレ
ータからのA/D変換出力を1端子で観測することがで
きるので、A/D変換手段のA/D変換出力である切り
換わり電圧が容易にかつ能率良く検査可能になる。[Operation] With the above configuration, the A/D conversion output from each comparator of the A/D conversion means can be observed with one terminal, so that the switching voltage, which is the A/D conversion output of the A/D conversion means, It becomes possible to inspect easily and efficiently.
【0010】0010
【実施例】以下、本発明の一実施例について図面を参照
しながら説明する。なお、従来例と同一の作用効果を奏
するものには同一の符号を付してその説明を省略する。DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. It should be noted that the same reference numerals are given to those having the same functions and effects as those of the conventional example, and the explanation thereof will be omitted.
【0011】図1は本発明の一実施例の半導体装置の回
路構成を示すブロック図であり、アナログ入力電圧を4
分割した場合を示している。図1において、テスト回路
11の入力端はA/D変換器12の各コンパレータ12
a1、12a2、12a3の出力端にそれぞれ接続され
、A/D変換器12の各コンパレータ12a1、12a
2、12a3の出力をそれぞれ直接取り込んで信号をエ
ンコードする。すなわち、テスト回路11は、A/D変
換器12の各コンパレータ12a1、12a2、12a
3からの変換出力をそれぞれ入力としてコンパレータの
出力反転に伴い出力論理が反転する出力を1端子より出
力するように構成されている。このテスト回路11の出
力端子は出力モード切り換えスイッチ4の一方端子を介
して出力端子13に接続され、テスト回路11からの反
転出力を出力モード切り換えスイッチ4によって出力端
子13から直接観測可能に構成している。FIG. 1 is a block diagram showing the circuit configuration of a semiconductor device according to an embodiment of the present invention.
This shows the case of division. In FIG. 1, the input terminal of the test circuit 11 is connected to each comparator 12 of the A/D converter 12.
each comparator 12a1, 12a of the A/D converter 12 is connected to the output terminal of a1, 12a2, 12a3, respectively.
The outputs of 2 and 12a3 are directly taken in, respectively, and the signals are encoded. That is, the test circuit 11 operates on each comparator 12a1, 12a2, 12a of the A/D converter 12.
The conversion outputs from 3 are respectively input, and outputs whose output logics are inverted as the outputs of the comparators are inverted are outputted from one terminal. The output terminal of this test circuit 11 is connected to the output terminal 13 via one terminal of the output mode changeover switch 4, and the inverted output from the test circuit 11 is configured to be directly observable from the output terminal 13 by the output mode changeover switch 4. ing.
【0012】図2は図1におけるA/D変換器12およ
びテスト回路11の具体的回路図である。図2において
、アナログ入力端子1はA/D変換器12のコンパレー
タ12a1、12a2、12a3にそれぞれ接続され、
コンパレータ12a1の出力端はNANDゲート14、
15の入力端に接続され、また、コンパレータ12a2
の出力端は、インバータ16を介してNANDゲート1
4の入力端に接続されるとともに、NANDゲート15
に接続され、さらに、コンパレータ12a3の出力端は
、インバータ17を介してNANDゲート14の入力端
に接続されるとともに、NANDゲート15に接続され
ている。NANDゲート14、15の出力端はNAND
ゲート18の入力端にそれぞれ接続され、NANDゲー
ト18の出力端は出力端子19に接続されている。以上
、NANDゲート14、15、18およびインバータ1
6、17によりテスト回路11が構成されている。ここ
で、各コンパレータ12a1、12a2、12a3の切
り換わり電圧をそれぞれV1 、V2 、V3 とし、
V1 <V2 <V3 とする。FIG. 2 is a specific circuit diagram of the A/D converter 12 and test circuit 11 in FIG. 1. In FIG. 2, analog input terminal 1 is connected to comparators 12a1, 12a2, and 12a3 of A/D converter 12, respectively,
The output terminal of the comparator 12a1 is the NAND gate 14,
15, and is also connected to the input terminal of comparator 12a2.
The output terminal of is connected to NAND gate 1 via inverter 16.
4 and is connected to the input terminal of NAND gate 15.
Further, the output terminal of the comparator 12a3 is connected to the input terminal of the NAND gate 14 via the inverter 17, and is also connected to the NAND gate 15. The output terminals of NAND gates 14 and 15 are NAND
The input terminals of the NAND gates 18 are connected to each other, and the output terminal of the NAND gate 18 is connected to an output terminal 19. Above, NAND gates 14, 15, 18 and inverter 1
6 and 17 constitute a test circuit 11. Here, the switching voltages of the comparators 12a1, 12a2, and 12a3 are respectively V1, V2, and V3.
It is assumed that V1 <V2 <V3.
【0013】上記構成により、以下、その動作を説明す
る。まず、アナログ入力端子1に入力されるアナログ入
力電圧が切り換わり電圧がV1 以下のときは、各コン
パレータ12a1、12a2、12a3の出力は全てL
レベルであり、したがって、NANDゲート14、15
の入力電圧は全てHレベルにならないので、NANDゲ
ート14、15の出力電圧は共にHレベルになる。した
がって、NANDゲート18の入力電圧が全てHレベル
でその出力電圧は、図3のa1 に示すように、Lレベ
ルのテスト回路出力となり出力端子19から出力される
。次に、アナログ入力電圧が切り換わり電圧がV1 に
達したときは、コンパレータ12a1の出力はHレベル
となり、また、コンパレータ12a2、12a3の出力
は共にLレベルである。これにより、NANDゲート1
4の入力電圧が全てHレベルになるのでNANDゲート
14の出力電圧はLレベルになる。また、NANDゲー
ト15の入力電圧は全てHレベルにならないのでNAN
Dゲート15の出力電圧はHレベルになる。したがって
、NANDゲート18の入力電圧が全てHレベルになら
ないのでその出力電圧は、図3のa2 に示すように、
Hレベルのテスト回路出力となり出力端子19から出力
される。以下同様に、アナログ入力電圧が電圧V1 か
ら電圧V2 、さらに電圧V2 から電圧V3 に達す
る毎に、コンパレータ12a2、さらにコンパレータ1
2a3も反転して、図3のa3 に示すLレベル,さら
に図3のa4 に示すHレベルのテスト回路出力となっ
て出力端子19から出力されることになる。The operation of the above configuration will be explained below. First, when the analog input voltage input to analog input terminal 1 switches and the voltage is less than V1, the outputs of each comparator 12a1, 12a2, and 12a3 are all L.
level and therefore NAND gates 14, 15
Since none of the input voltages become H level, the output voltages of NAND gates 14 and 15 both become H level. Therefore, when all the input voltages of the NAND gate 18 are at H level, the output voltage becomes an L level test circuit output and is output from the output terminal 19, as shown at a1 in FIG. Next, when the analog input voltage switches and reaches V1, the output of the comparator 12a1 becomes H level, and the outputs of comparators 12a2 and 12a3 are both L level. As a result, NAND gate 1
Since all the input voltages of NAND gates 4 and 4 are at H level, the output voltage of NAND gate 14 is at L level. In addition, since the input voltages of the NAND gate 15 do not all become H level, the NAND gate 15
The output voltage of D gate 15 becomes H level. Therefore, since the input voltages of the NAND gate 18 do not all become H level, the output voltage is as shown in a2 of FIG.
The test circuit output becomes an H level and is output from the output terminal 19. Similarly, each time the analog input voltage reaches from voltage V1 to voltage V2 and further from voltage V2 to voltage V3, the comparator 12a2 and then the comparator 1
2a3 is also inverted and output from the output terminal 19 as a test circuit output of the L level shown at a3 in FIG. 3 and the H level shown at a4 of FIG.
【0014】したがって、このように、各コンパレータ
12a1、12a2、12a3の出力反転に伴いその前
後で出力論理が反転する出力を1端子持つテスト回路1
1を設けたことにより、出力端子19の1端子の出力状
態を観測すれば、A/D変換器12の各切り換わり電圧
を容易にかつ能率良く検査することができ、各コンパレ
ータ12a1、12a2、12a3の特性や、故障状態
などを容易にかつ短時間に検査することができる。Therefore, as described above, the test circuit 1 has one terminal with an output whose output logic is inverted before and after the inversion of the output of each of the comparators 12a1, 12a2, and 12a3.
1, each switching voltage of the A/D converter 12 can be easily and efficiently inspected by observing the output state of one of the output terminals 19, and each comparator 12a1, 12a2, The characteristics of 12a3, failure state, etc. can be easily and quickly inspected.
【0015】なお、本実施例においては、アナログ入力
電圧を4分割する場合について示したが、アナログ入力
電圧をn分割する場合についても同様の効果を有する。
すなわち、図4に示すように、A/D変換器22の各コ
ンパレータ22a1〜22an−1の切り換わり電圧を
それぞれ、VL <V1 <V2 <V3 <・・・・
<Vn−1 <VH とし、また、テスト回路21の出
力が直接出力端子23に現れるように出力モード切り換
えスイッチ4を設定する。
この状態で、アナログ入力端子1のアナログ電圧を電圧
VL から電圧VH まで変化させたときに、その出力
端子23に図5に示すような出力信号24が現れるテス
ト回路21を設けると、その出力端子23には、アナロ
グ入力電圧が電圧V1 になったときに反転し、次に、
電圧V2 になったときにさらに反転し、これが繰り返
されて、最後にアナログ入力電圧が電圧Vn−1 のと
きに出力はn−1回目の反転をする。In this embodiment, the analog input voltage is divided into four parts, but the same effect can be obtained when the analog input voltage is divided into n parts. That is, as shown in FIG. 4, the switching voltages of each of the comparators 22a1 to 22an-1 of the A/D converter 22 are set to VL <V1 <V2 <V3 <...
<Vn-1 <VH, and the output mode changeover switch 4 is set so that the output of the test circuit 21 appears directly at the output terminal 23. In this state, if a test circuit 21 is provided in which an output signal 24 as shown in FIG. 5 appears at its output terminal 23 when the analog voltage at the analog input terminal 1 is changed from voltage VL to voltage VH, the output terminal 23, when the analog input voltage becomes voltage V1, it is inverted, and then,
When the voltage reaches the voltage V2, it is further inverted, and this is repeated until finally, when the analog input voltage is the voltage Vn-1, the output is inverted for the (n-1)th time.
【0016】[0016]
【発明の効果】以上のように本発明によれば、A/D変
換手段の各コンパレータの出力反転に伴い出力論理が反
転する出力を1端子より出力するテスト回路を設けたこ
とにより、A/D変換手段の変換出力である切り換わり
電圧を容易にかつ能率よく検査することができるもので
ある。As described above, according to the present invention, by providing a test circuit which outputs from one terminal an output whose output logic is inverted as the output of each comparator of the A/D conversion means is inverted, the The switching voltage which is the conversion output of the D conversion means can be easily and efficiently inspected.
【図1】本発明の一実施例の半導体装置の回路構成を示
すブロック図であり、アナログ入力電圧を4分割した場
合を示している。FIG. 1 is a block diagram showing the circuit configuration of a semiconductor device according to an embodiment of the present invention, and shows a case where an analog input voltage is divided into four.
【図2】図1におけるA/D変換器12およびテスト回
路11の具体的回路図である。FIG. 2 is a specific circuit diagram of the A/D converter 12 and test circuit 11 in FIG. 1.
【図3】図2におけるテスト回路11の動作図である。FIG. 3 is an operational diagram of the test circuit 11 in FIG. 2;
【図4】本発明の他の実施例の半導体装置の回路構成を
示すブロック図であり、アナログ入力電圧をn分割した
場合を示している。FIG. 4 is a block diagram showing the circuit configuration of a semiconductor device according to another embodiment of the present invention, and shows a case where an analog input voltage is divided into n.
【図5】図4におけるテスト回路21の動作図である。5 is an operational diagram of the test circuit 21 in FIG. 4. FIG.
【図6】従来の半導体装置の回路構成を示すブロック図
であり、アナログ入力電圧をn分割した場合を示してい
る。FIG. 6 is a block diagram showing the circuit configuration of a conventional semiconductor device, and shows a case where an analog input voltage is divided into n.
11、21 テスト回路
12、22 A/D変換回路
13、19、23 出力端子
12a1、12a2、12a3、22a1、・・22a
n−2、22an−1 コンパレータ
14、15、18 NANDゲート16、17
インバータ11, 21 Test circuits 12, 22 A/D conversion circuits 13, 19, 23 Output terminals 12a1, 12a2, 12a3, 22a1, . . . 22a
n-2, 22an-1 Comparators 14, 15, 18 NAND gates 16, 17
inverter
Claims (1)
電圧をディジタル電圧に変換するアナログ・ディジタル
変換手段と、前記アナログ・ディジタル変換手段の各コ
ンパレータからの変換出力をそれぞれ入力とし、前記コ
ンパレータの出力反転に伴い出力論理が反転する出力を
1端子より出力するテスト回路とを備えた半導体装置。1. An analog-to-digital conversion means having a plurality of comparators and converting an analog input voltage into a digital voltage, each inputting a conversion output from each comparator of the analog-to-digital conversion means, and an output from the comparator. A semiconductor device comprising a test circuit that outputs an output from one terminal whose output logic is inverted as the output logic is inverted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3018161A JPH04257120A (en) | 1991-02-12 | 1991-02-12 | Semiconductor device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3018161A JPH04257120A (en) | 1991-02-12 | 1991-02-12 | Semiconductor device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04257120A true JPH04257120A (en) | 1992-09-11 |
Family
ID=11963887
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3018161A Pending JPH04257120A (en) | 1991-02-12 | 1991-02-12 | Semiconductor device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04257120A (en) |
-
1991
- 1991-02-12 JP JP3018161A patent/JPH04257120A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5105100A (en) | Easily and quickly testable master-slave flipflop circuit | |
US4743842A (en) | Tri-state circuit tester | |
JPH04257120A (en) | Semiconductor device | |
US5815105A (en) | Analog-to-digital converter with writable result register | |
JPS60142282A (en) | semiconductor integrated circuit | |
JPH028760A (en) | Semiconductor integrated circuit device | |
JPS59175133A (en) | Integrated logic circuit | |
JP3532617B2 (en) | IC test equipment | |
JPS63310159A (en) | Semiconductor device | |
JPH02184048A (en) | Semiconductor integrated circuit having built-in memory | |
JPH03115873A (en) | Semiconductor integrated circuit | |
JPH03215764A (en) | Semiconductor integrated circuit | |
KR0123055B1 (en) | Test circuit of semiconductor integrated circuit | |
JPH03270036A (en) | Buffer circuit | |
JPH09292447A (en) | Fault detecting circuit | |
JPS61203717A (en) | Output buffer circuit | |
JPS6095370A (en) | Integrated circuit device | |
JPH05160220A (en) | Semiconductor integrated circuit | |
JPH01192215A (en) | Semiconductor integrated logic circuit | |
JPS6375680A (en) | Analogue and digital mixed loading lsi internal test circuit | |
JPH05264666A (en) | Integrated circuit | |
JPH04346084A (en) | Test circuit | |
JPH03290951A (en) | Semiconductor integrated circuit | |
JPH1082838A (en) | Test circuit | |
JPH07198795A (en) | Test circuit for input-output buffer |