JP2008016080A - Address decoder and its inspection apparatus - Google Patents

Address decoder and its inspection apparatus Download PDF

Info

Publication number
JP2008016080A
JP2008016080A JP2006183172A JP2006183172A JP2008016080A JP 2008016080 A JP2008016080 A JP 2008016080A JP 2006183172 A JP2006183172 A JP 2006183172A JP 2006183172 A JP2006183172 A JP 2006183172A JP 2008016080 A JP2008016080 A JP 2008016080A
Authority
JP
Japan
Prior art keywords
input
address decoder
resistors
output terminal
address
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
JP2006183172A
Other languages
Japanese (ja)
Inventor
Yasushi Tanaka
靖 田中
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.)
Denso Corp
Original Assignee
Denso 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 Denso Corp filed Critical Denso Corp
Priority to JP2006183172A priority Critical patent/JP2008016080A/en
Publication of JP2008016080A publication Critical patent/JP2008016080A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Read Only Memory (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an address decoder capable of easily detecting a malfunction of multi-selection caused by a defect of an open system, and to provide its inspection apparatus. <P>SOLUTION: In the address decoder 10, resistors R10-R13 are interposed between the ground E and a decode output terminal Po on at least one side of drain side or source side of MOS transistors N11-N14 as to respective MOS transistors, and the decode output terminal Po is connected to a power source voltage Vdd through a resistor R21 and further connected to a non-inverted input. Also, a comparator Cp10 capable of detecting that potential higher than a division voltage of the power source voltage Vdd formed by a parallel combining resistor with the resistors R10-R13 and the resistor R21 at the time when the MOS transistors N11-N14 are all in on-states, is inputted to this non-inverted input is included. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、ROM(Read Only Memory;読出専用記憶装置)に内蔵されるアドレスデコーダおよびその検査装置に関するものである。   The present invention relates to an address decoder built in a ROM (Read Only Memory) and an inspection device thereof.

ROMには、記憶されたデータを読み出す際にメモリセルのアドレス情報をデコードするアドレスデコーダが内蔵されているが、このアドレスデコーダの故障モードとして、例えば、異なるアドレスで同じメモリセルが選択されてしまう、いわゆる「多重選択」(「マルチ選択」と称されることもある)の不具合がある。この不具合は、アドレスデコーダを構成するトランジスタがオフ状態からオン状態に切り替わらなかったり、配線パターンが断線したりすると生じるオープン系の故障に起因するものである。   The ROM has a built-in address decoder that decodes the address information of the memory cell when the stored data is read. As a failure mode of the address decoder, for example, the same memory cell is selected at a different address. There is a problem of so-called “multiple selection” (sometimes referred to as “multiple selection”). This defect is caused by an open-system failure that occurs when a transistor that constitutes the address decoder does not switch from an off state to an on state or a wiring pattern is disconnected.

このような多重選択の有無は、一般に、メモリセルに記憶されたデータを単純に読み出すだけでは検出できないことから、アドレスとデータの組み合わせを考慮したテストパターンに基づいてメモリセルの値を読み出すことによって検出する方法が従来から採られていた。ところが、このような従来の検出方法では、ROMの記憶内容に応じて記憶されたデータの内容に対応したテストパターンを作成する必要があるため、テストパターンの作成および管理が容易ではないという問題が生じていた。   In general, the presence or absence of such multiple selection cannot be detected by simply reading the data stored in the memory cell, so by reading the value of the memory cell based on a test pattern that takes into account the combination of address and data The detection method has been conventionally employed. However, in such a conventional detection method, since it is necessary to create a test pattern corresponding to the content of data stored in accordance with the storage content of the ROM, it is difficult to create and manage the test pattern. It was happening.

そこで、このような検出を容易にし得る先行技術として、例えば下記特許文献1〜3に開示される技術がある。特許文献1に開示される「デコーダ回路」や特許文献2に開示される「テスト回路」では、デコーダ線がゲート入力となるトランジスタを設け(特許文献1;NCH−TR405〜475、特許文献2;T4〜T11)、多重選択された場合にはこれらのトランジスタがオン状態となることに基づいてそのときにトランジスタに流れる電流変化を電流センスアンプ等(特許文献1;電流センスアンプ700、特許文献2;センスアンプ3)で検出することによって、トランジスタ等の状態変化を検出可能にしている(特許文献1;第3頁〜第5頁、図1,2、特許文献2;段落0010〜0013、図1,3)。   Thus, as prior art that can facilitate such detection, there are techniques disclosed in, for example, the following Patent Documents 1 to 3. In the “decoder circuit” disclosed in Patent Document 1 and the “test circuit” disclosed in Patent Document 2, transistors whose decoder lines are gate inputs are provided (Patent Document 1; NCH-TR405 to 475, Patent Document 2). T4 to T11), when multiple transistors are selected, the current change that flows through the transistors at that time is changed to a current sense amplifier or the like (Patent Document 1; Current Sense Amplifier 700, Patent Document 2). Detection by a sense amplifier 3) makes it possible to detect a change in the state of a transistor or the like (Patent Document 1; pages 3 to 5, FIGS. 1 and 2, Patent Document 2; paragraphs 0010 to 0013, FIG. 1,3).

また、特許文献3に開示される「半導体メモリ」では、複数のロウデコーダの選択/非選択を判別できるノードごとにそれぞれゲートが接続されたトランジスタを複数設け(特許文献3;Tr.2)、これらのトランジスタの出力をまとめる共通ノードの電位変化を検出することによって、ロウデコーダの良・不良を検出可能にしている(特許文献3;段落0104〜0106、0115〜0119)。これらの特許文献1〜3による開示技術では、いずれもメモリセルの値を読み出すことなく、デコーダ回路のオープン系の故障に起因する多重選択の不具合を検出可能にしている。
特開昭64−69124号公報 特開平6−201792号公報 特開2002−133898号公報
In addition, in the “semiconductor memory” disclosed in Patent Document 3, a plurality of transistors each having a gate connected to each node capable of determining selection / non-selection of a plurality of row decoders are provided (Patent Document 3; Tr. 2). By detecting the potential change of the common node that collects the outputs of these transistors, it is possible to detect whether the row decoder is good or bad (Patent Document 3; paragraphs 0104 to 0106, 0115 to 0119). In each of the disclosed technologies disclosed in Patent Documents 1 to 3, it is possible to detect a malfunction of multiple selection caused by an open system failure of the decoder circuit without reading the value of the memory cell.
JP-A 64-69124 JP-A-6-201792 JP 2002-133898 A

しかしながら、これらの特許文献1〜3による先行技術によると、メモリセルの値を読み出す必要はないものの、多重選択が発生し得るようなアドレスの組み合わせを考慮してアドレスデコーダを検査する必要がある。そのため、このようなアドレスデータを作成する手間は相変わらず残ることから、その作成や管理が必要となり、オープン系の故障に起因した多重選択の不具合を簡易に検出することができないという問題がある。   However, according to the prior arts disclosed in these Patent Documents 1 to 3, although it is not necessary to read the value of the memory cell, it is necessary to inspect the address decoder in consideration of an address combination that may cause multiple selection. For this reason, the trouble of creating such address data remains as it is, so that creation and management thereof are required, and there is a problem that it is not possible to easily detect a problem of multiple selection caused by an open system failure.

本発明は、上述した課題を解決するためになされたものであり、その目的とするところは、オープン系の故障に起因した多重選択の不具合を簡易に検出し得るアドレスデコーダおよびその検査装置を提供することにある。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide an address decoder capable of easily detecting a failure of multiple selection caused by an open system failure and an inspection device therefor There is to do.

上記目的を達成するため、特許請求の範囲に記載の請求項1のアドレスデコーダでは、ROMに内蔵されるアドレスデコーダにおいて、当該ROMのアドレス線に接続される入力端子からの信号レベルによってオンオフ制御可能な複数の半導体スイッチング素子で、それぞれの入出力が並列に接続されて基準電位と出力端子との間に介在するものを備えたアドレスデコーダであって、前記基準電位と前記出力端子との間で前記複数の半導体スイッチング素子の入力側または出力側の少なくとも一方に介在する10kΩ以上100kΩ以下の複数の抵抗と、前記出力端子を所定電位に接続する所定抵抗と、前記出力端子を入力に接続するとともに前記複数の半導体スイッチング素子がすべてオン状態にあるときの前記複数の抵抗による並列合成抵抗と前記所定抵抗とによる前記所定電位の分圧よりも高い電位がこの入力に入力されたことを検出可能な電圧検出器と、を備えることを技術的特徴とする。   In order to achieve the above object, in the address decoder according to claim 1, on / off control is possible in the address decoder built in the ROM according to the signal level from the input terminal connected to the address line of the ROM. An address decoder comprising a plurality of semiconductor switching elements, each input / output connected in parallel and interposed between a reference potential and an output terminal, between the reference potential and the output terminal A plurality of resistors of 10 kΩ or more and 100 kΩ or less intervening at least one of the input side or output side of the plurality of semiconductor switching elements, a predetermined resistor connecting the output terminal to a predetermined potential, and connecting the output terminal to an input When the plurality of semiconductor switching elements are all in the on state, the parallel combined resistor by the plurality of resistors is used. And a voltage detector capable of detecting that a potential higher than the predetermined potential divided by the resistance and the predetermined resistance is input to the input.

特許請求の範囲に記載の請求項2のアドレスデコーダでは、請求項1記載のアドレスデコーダにおいて、前記基準電位と前記出力端子との間を短絡可能に外部から制御可能なスイッチング手段を備えることを技術的特徴とする。   The address decoder according to claim 2, wherein the address decoder according to claim 1 further comprises switching means that can be externally controlled so as to be short-circuited between the reference potential and the output terminal. Characteristic.

特許請求の範囲に記載の請求項3のアドレスデコーダでは、請求項1または2記載のアドレスデコーダにおいて、前記複数の抵抗に代えて、前記複数の半導体スイッチング素子のそれぞれのオン抵抗で、10kΩ以上100kΩ以下の抵抗値であるものを前記複数の抵抗として用いることを技術的特徴とする。「オン抵抗」とは、半導体スイッチング素子のオン状態における当該半導体スイッチング素子の入出力間の抵抗値のことをいう。   In the address decoder according to claim 3, the on-resistance of each of the plurality of semiconductor switching elements is 10 kΩ or more and 100 kΩ in place of the plurality of resistors in the address decoder according to claim 1 or 2. A technical feature is that the resistors having the following resistance values are used as the plurality of resistors. “On-resistance” refers to the resistance value between the input and output of the semiconductor switching element in the on-state of the semiconductor switching element.

特許請求の範囲に記載の請求項4のアドレスデコーダの検出装置では、ROMに内蔵されるアドレスデコーダで、当該ROMのアドレス線に接続される入力端子からの信号レベルによってオンオフ制御される複数の半導体スイッチング素子で、オン抵抗が10kΩ以上100kΩ以下の抵抗値であり、それぞれの入出力が並列に接続されて基準電位と出力端子との間に介在するものを備えたアドレスデコーダを、検査するアドレスデコーダの検査装置であって、前記出力端子を所定電位に接続する所定抵抗と、前記出力端子を入力に接続するとともに前記複数の半導体スイッチング素子がすべてオン状態にあるときの前記複数の抵抗による並列合成抵抗と前記所定抵抗とによる前記所定電位の分圧よりも高い電位がこの入力に入力されたことを検出可能な電圧検出器と、を備えることを技術的特徴とする。   5. The address decoder detecting device according to claim 4, wherein the plurality of semiconductors are controlled to be turned on / off by an address decoder built in the ROM according to a signal level from an input terminal connected to an address line of the ROM. Address decoder for inspecting an address decoder having a switching element having an on-resistance of 10 kΩ or more and 100 kΩ or less, each input / output being connected in parallel and interposed between a reference potential and an output terminal A parallel combination of a plurality of resistors when the output terminals are connected to an input and the plurality of semiconductor switching elements are all in an ON state. A potential higher than the divided voltage of the predetermined potential by the resistor and the predetermined resistance is input to this input. And a voltage detector capable of detection.

請求項1の発明では、複数の半導体スイッチング素子のそれぞれについて半導体スイッチング素子の入力側または出力側の少なくとも一方で基準電位と出力端子との間に抵抗(10kΩ以上100kΩ以下)を介在させ、またこの出力端子を所定抵抗を介して所定電位に接続し、さらに出力端子を入力に接続するとともに複数の半導体スイッチング素子がすべてオン状態にあるときの複数の抵抗による並列合成抵抗と所定抵抗とによる所定電位の分圧よりも高い電位がこの入力に入力されたことを検出可能な電圧検出器を備える。これにより、これらの複数の半導体スイッチング素子のすべてをオン制御可能な信号レベルの信号が入力端子から入力されているにもかかわらず、正常にオン状態に移行しないものがこれらの複数の半導体スイッチング素子に存在する場合には、その分、並列合成抵抗を構成する抵抗の数が減るので合成抵抗値が上がる。そのため、このような場合には、電圧検出器に、複数の半導体スイッチング素子がすべてオン状態にあるときの複数の抵抗による並列合成抵抗とこの所定抵抗とによる所定電位の分圧よりも高い電位が入力されることから、当該電圧検出器によって正常にオン状態に移行しない半導体スイッチング素子の存在を検出することが可能となる。したがって、多重選択が発生し得るようなアドレスの組み合わせを考慮したアドレスデータの作成や管理が不要となることから、オープン系の故障に起因した多重選択の不具合を簡易に検出することができる。   According to the first aspect of the present invention, a resistance (10 kΩ or more and 100 kΩ or less) is interposed between the reference potential and the output terminal on at least one of the input side and the output side of each of the semiconductor switching elements. The output terminal is connected to a predetermined potential via a predetermined resistor, and the output terminal is further connected to the input, and the predetermined combined potential of the parallel combined resistor and the predetermined resistor when the plurality of semiconductor switching elements are all in the ON state. A voltage detector capable of detecting that a potential higher than the divided voltage is input to this input. As a result, even though a signal of a signal level capable of turning on all of the plurality of semiconductor switching elements is input from the input terminal, the one that does not normally shift to the on state is the plurality of semiconductor switching elements. , The combined resistance value increases because the number of resistors constituting the parallel combined resistance is reduced accordingly. Therefore, in such a case, the voltage detector has a potential higher than the divided voltage of the predetermined potential generated by the parallel combined resistance of the plurality of resistors and the predetermined resistance when all of the plurality of semiconductor switching elements are in the ON state. Since the voltage is input, it is possible to detect the presence of the semiconductor switching element that does not normally shift to the on state by the voltage detector. Therefore, it becomes unnecessary to create and manage address data in consideration of a combination of addresses that can cause multiple selection, and it is possible to easily detect a malfunction of multiple selection due to an open system failure.

請求項2の発明では、基準電位と出力端子との間を短絡可能に外部から制御可能なスイッチング手段を備える。これにより、複数の半導体スイッチング素子の入力側または出力側の少なくとも一方に10kΩ以上100kΩ以下の抵抗が介在していても、このスイッチング手段により基準電位と出力端子との間を短絡させることができるので、出力端子の電位を基準電位側に迅速に放電させることが可能となる。   According to a second aspect of the present invention, switching means that can be externally controlled so as to be short-circuited between the reference potential and the output terminal is provided. As a result, even if a resistance of 10 kΩ or more and 100 kΩ or less is present on at least one of the input side or the output side of the plurality of semiconductor switching elements, the switching means can short-circuit between the reference potential and the output terminal. Thus, the potential of the output terminal can be quickly discharged to the reference potential side.

請求項3の発明では、複数の抵抗に代えて、複数の半導体スイッチング素子のそれぞれのオン抵抗で、10kΩ以上100kΩ以下の抵抗値であるものを複数の抵抗として用いる。これにより、基準電位と出力端子との間に複数の抵抗を設ける必要がなくなるので、部品点数を削減することが可能となり、その分、コストや故障率の低減、さらには小型軽量化が可能となる。   In the invention of claim 3, instead of the plurality of resistors, the on-resistance of each of the plurality of semiconductor switching elements having a resistance value of 10 kΩ or more and 100 kΩ or less is used as the plurality of resistors. This eliminates the need to provide a plurality of resistors between the reference potential and the output terminal, thereby reducing the number of parts, thereby reducing the cost and failure rate, and reducing the size and weight. Become.

請求項4の発明では、オン抵抗が10kΩ以上100kΩ以下の抵抗値である複数の半導体スイッチング素子を備えたアドレスデコーダの出力端子に所定抵抗を介して所定電位を接続し、またこの出力端子を入力に接続するとともに複数の半導体スイッチング素子がすべてオン状態にあるときのオン抵抗による並列合成抵抗と所定抵抗とによる所定電位の分圧よりも高い電位がこの入力に入力されたことを検出可能な電圧検出器を備える。これにより、これらの複数の半導体スイッチング素子のすべてをオン制御可能な信号レベルの信号が入力端子から入力されているにもかかわらず、正常にオン状態に移行しないものがこれらの複数の半導体スイッチング素子に存在する場合には、その分、並列合成抵抗を構成するオン抵抗の数が減るので合成抵抗値が上がる。そのため、このような場合には、電圧検出器に、複数の半導体スイッチング素子がすべてオン状態にあるときの複数のオン抵抗による並列合成抵抗とこの所定抵抗とによる所定電位の分圧よりも高い電位が入力されることから、当該電圧検出器によって正常にオン状態に移行しない半導体スイッチング素子の存在を検出することが可能となる。したがって、このような高オン抵抗を有する半導体スイッチング素子で構成されるアドレスデコーダに対しては、多重選択が発生し得るようなアドレスの組み合わせを考慮したアドレスデータの作成や管理が不要となることから、オープン系の故障に起因した多重選択の不具合を簡易に検出することができる。   In a fourth aspect of the invention, a predetermined potential is connected to an output terminal of an address decoder having a plurality of semiconductor switching elements each having an on-resistance of 10 kΩ or more and 100 kΩ or less via a predetermined resistor, and the output terminal is input to the output terminal. And a voltage capable of detecting that a potential higher than the divided potential of the predetermined potential by the parallel combined resistance and the predetermined resistance when the plurality of semiconductor switching elements are all in the ON state is input to this input. A detector is provided. As a result, even though a signal of a signal level capable of turning on all of the plurality of semiconductor switching elements is input from the input terminal, the one that does not normally shift to the on state is the plurality of semiconductor switching elements. , The combined resistance value increases because the number of on-resistances constituting the parallel combined resistance is reduced accordingly. Therefore, in such a case, the voltage detector has a potential higher than the divided voltage of the predetermined potential by the parallel combined resistance by the plurality of ON resistances and the predetermined resistance when all of the plurality of semiconductor switching elements are in the ON state. Therefore, it is possible to detect the presence of the semiconductor switching element that does not normally shift to the on state by the voltage detector. Therefore, for address decoders composed of semiconductor switching elements having such a high on-resistance, it is not necessary to create and manage address data in consideration of address combinations that can cause multiple selection. Thus, it is possible to easily detect a malfunction of multiple selection caused by an open system failure.

以下、本発明のアドレスデコーダおよびその検出装置の実施形態について図を参照して説明する。本発明のアドレスデコーダを、マスクROMに内蔵されるアドレスデコーダに適用した実施形態を図1〜図3に基づいて説明する。なお、図1には、本実施形態に係るアドレスデコーダ10を内蔵したROMの一部を示すブロック図が示されており、また図2には、アドレスデコーダ10の構成を示す回路図が示されている。さらに図3には、アドレスデコーダ10の動作を示すタイミングチャートで、デコード動作を示すもの(図3(A) )、テスト動作を示すもの(図3(B) )がそれぞれ示されている。   Embodiments of an address decoder and its detection apparatus according to the present invention will be described below with reference to the drawings. An embodiment in which the address decoder of the present invention is applied to an address decoder built in a mask ROM will be described with reference to FIGS. FIG. 1 is a block diagram showing a part of a ROM incorporating the address decoder 10 according to this embodiment, and FIG. 2 is a circuit diagram showing the configuration of the address decoder 10. ing. Further, FIG. 3 shows a timing chart showing the operation of the address decoder 10, which shows a decoding operation (FIG. 3A) and a test operation (FIG. 3B).

図1に示すように、本実施形態に係るアドレスデコーダ10は、マスクROMに入力されたアドレス情報(例えばマスクROMが8kビット構成の場合にはA0〜A12の13ビットからなる)の下位4ビットをデコードするもので、主に、デコーダ回路10a、付加回路10b、検出回路10cから構成されている。   As shown in FIG. 1, the address decoder 10 according to the present embodiment has lower 4 bits of address information (for example, 13 bits A0 to A12 when the mask ROM has an 8 kbit configuration) input to the mask ROM. Is mainly composed of a decoder circuit 10a, an additional circuit 10b, and a detection circuit 10c.

デコーダ回路10aは、アドレス入力端子Pa0,Pa1,Pa2,Pa3(以下「Pa0〜Pa3」という)に接続されるアドレスバスA0,A1,A2,A3(以下「A0〜A3」という)から入力されたアドレス情報をデコードしてデコード出力端子Poに出力する機能を有するものである。例えば、メモリセルマトリックス50のxxx0に出力Out_0が接続されるアドレスデコーダ10の場合には、アドレスバスA0〜A3から入力されるアドレス情報の4ビットすべてが論理値Lレベル(以下、単に「Lレベル」という)のときにのみ論理値Hレベル(以下、単に「Hレベル」という)を出力し得るように構成されている。   The decoder circuit 10a is input from address buses A0, A1, A2, and A3 (hereinafter referred to as “A0 to A3”) connected to address input terminals Pa0, Pa1, Pa2, and Pa3 (hereinafter referred to as “Pa0 to Pa3”). It has a function of decoding address information and outputting it to a decode output terminal Po. For example, in the case of the address decoder 10 in which the output Out_0 is connected to xxx0 of the memory cell matrix 50, all four bits of the address information input from the address buses A0 to A3 are logical level L level (hereinafter simply referred to as “L level”). The logic value H level (hereinafter simply referred to as “H level”) can be output only when

また、メモリセルマトリックス50のxxx1に出力Out_1が接続されるアドレスデコーダ10の場合には、アドレスバスA0〜A3からのアドレス情報のうち最下位ビットがHレベルで他の3ビットがすべてLレベルの場合にのみHレベルを出力し、同様にメモリセルマトリックス50のxxxfに出力Out_fが接続されるアドレスデコーダ10の場合には、アドレスバスA0〜A3からのアドレス情報の4ビットすべてがHレベルの場合にのみHレベルを出力し得るようにそれぞれ構成されている。なお、xxxfの「f」は、16進数の15を意味し、本実施形態ではこのようなアドレスデコーダ10がマスクROMのXデコーダ(またはYデコーダ)として16セット接続されているものとする。   In the case of the address decoder 10 in which the output Out_1 is connected to xxx1 of the memory cell matrix 50, the least significant bit of the address information from the address buses A0 to A3 is H level and the other 3 bits are all L level. In the case of the address decoder 10 that outputs the H level only when the output Out_f is similarly connected to the xxxf of the memory cell matrix 50, all four bits of the address information from the address buses A0 to A3 are at the H level. Each is configured to output an H level only. Note that “f” in xxxf means a hexadecimal number of 15. In this embodiment, 16 sets of such address decoders 10 are connected as X decoders (or Y decoders) of the mask ROM.

このようなデコーダ回路10aは、例えばNOR型のデコーダとして構成されており、具体的な回路例は図2に示すものが挙げられる。なおここでは、メモリセルマトリックス50のxxx0に出力Out_0が接続されるアドレスデコーダ10の場合を例に説明する。   Such a decoder circuit 10a is configured as a NOR type decoder, for example, and a specific circuit example is shown in FIG. Here, the case of the address decoder 10 in which the output Out_0 is connected to xxx0 of the memory cell matrix 50 will be described as an example.

図2に示すように、デコーダ回路10aは、Pチャネル型のMOSトランジスタP10,P11,P12,P13,P14(以下「P10〜P14」という)、Nチャネル型のMOSトランジスタN10,N11,N12,N13,N14(以下「N10〜N14」という)、反転増幅器INV1および抵抗R10,R11,R12,R13(以下「R10〜R13」という)から構成されている。   As shown in FIG. 2, the decoder circuit 10a includes P-channel type MOS transistors P10, P11, P12, P13, P14 (hereinafter referred to as "P10 to P14") and N-channel type MOS transistors N10, N11, N12, N13. , N14 (hereinafter referred to as “N10 to N14”), an inverting amplifier INV1, and resistors R10, R11, R12, and R13 (hereinafter referred to as “R10 to R13”).

MOSトランジスタP10〜P13は、ゲートに入力されるアドレス情報の信号レベルによってオンオフ制御可能な半導体スイッチング素子で(信号レベルLでオン状態、信号レベルHでオフ状態)、アドレス情報の最下位ビットに対応するMOSトランジスタP10から上位ビット方向に順番に入出力が直列に接続されている。   The MOS transistors P10 to P13 are semiconductor switching elements that can be controlled to be turned on and off according to the signal level of the address information input to the gate (on state at the signal level L and off state at the signal level H), and correspond to the least significant bit of the address information. The input / output is connected in series in order from the MOS transistor P10 to the upper bit direction.

即ち、MOSトランジスタP10のゲートはアドレス入力端子Pa0に、MOSトランジスタP11のゲートはアドレス入力端子Pa1に、MOSトランジスタP12のゲートはアドレス入力端子Pa2に、MOSトランジスタP13のゲートはアドレス入力端子Pa3に、それぞれ接続されており、またMOSトランジスタP10のソースが電源電圧Vddに、このMOSトランジスタP10のドレインがMOSトランジスタP11のソースに、さらにこのMOSトランジスタP11のドレインがMOSトランジスタP12のソースに、さらにまたこのMOSトランジスタP12のドレインがMOSトランジスタP13のソースに、さらにまたこのMOSトランジスタP13のドレインがMOSトランジスタP14のソースに、そしてこのMOSトランジスタP14のドレインがデコード出力端子Poに、それぞれ接続されている。   That is, the gate of the MOS transistor P10 is connected to the address input terminal Pa0, the gate of the MOS transistor P11 is connected to the address input terminal Pa1, the gate of the MOS transistor P12 is connected to the address input terminal Pa2, and the gate of the MOS transistor P13 is connected to the address input terminal Pa3. The source of the MOS transistor P10 is connected to the power supply voltage Vdd, the drain of the MOS transistor P10 is the source of the MOS transistor P11, the drain of the MOS transistor P11 is the source of the MOS transistor P12, and this The drain of the MOS transistor P12 is the source of the MOS transistor P13, the drain of the MOS transistor P13 is the source of the MOS transistor P14, and the drain of the MOS transistor P14 is the decode output terminal. The Po, are connected.

MOSトランジスタP14は、デコード出力端子PoとMOSトランジスタP13のドレインとの間を短絡可能に外部から制御可能な機能を有する半導体スイッチング素子で、本実施形態では、ゲートにシステムクロック入力端子Pcから反転増幅器INV1を介して、またドレインにデコード出力端子Poが、ソースにMOSトランジスタP13のドレインが、それぞれ接続されている。なお、反転増幅器INV1は、入力された信号レベルLを信号レベルHに、また入力された信号レベルHを信号レベルLに、それぞれ反転し得る反転回路で、インバータとも称される。   The MOS transistor P14 is a semiconductor switching element having a function that can be controlled from the outside so that the decode output terminal Po and the drain of the MOS transistor P13 can be short-circuited. In this embodiment, the gate is connected to the inverting amplifier from the system clock input terminal Pc. The decode output terminal Po is connected to the drain via the INV1, and the drain of the MOS transistor P13 is connected to the source. The inverting amplifier INV1 is an inverting circuit that can invert the input signal level L to the signal level H and the input signal level H to the signal level L, and is also referred to as an inverter.

MOSトランジスタN11〜N14も、ゲートに入力されるアドレス情報の信号レベルによってオンオフ制御可能な半導体スイッチング素子ではあるが、MOSトランジスタP10〜P13とは逆に、信号レベルHでオン状態、信号レベルLでオフ状態に制御されるもので、アドレス情報の最下位ビットに対応するMOSトランジスタN11も上位ビットに対応するMOSトランジスタN14もいずれも入出力が並列に接続されている。なお、このMOSトランジスタN11〜N14は、特許請求の範囲に記載の「複数の半導体スイッチング素子」に相当し得るものである。   The MOS transistors N11 to N14 are also semiconductor switching elements that can be controlled to be turned on and off according to the signal level of the address information input to the gate. However, contrary to the MOS transistors P10 to P13, the MOS transistors N11 to N14 are turned on at the signal level H, The MOS transistor N11 corresponding to the least significant bit of the address information and the MOS transistor N14 corresponding to the upper bit are both connected in parallel to each other and are controlled to be turned off. The MOS transistors N11 to N14 can correspond to “a plurality of semiconductor switching elements” recited in the claims.

即ち、MOSトランジスタN11のゲートはアドレス入力端子Pa0に、MOSトランジスタN12のゲートはアドレス入力端子Pa1に、MOSトランジスタN13のゲートはアドレス入力端子Pa2に、MOSトランジスタN14のゲートはアドレス入力端子Pa3に、それぞれ接続されており、またいずれのMOSトランジスタN11〜N14もドレインがデコード出力端子Poにそれぞれ接続されている。そして、MOSトランジスタN11のソースは抵抗R10を介して、MOSトランジスタN12のソースは抵抗R11を介して、MOSトランジスタN13のソースは抵抗R12を介して、MOSトランジスタN14のソースは抵抗R13を介して、それぞれアースEに接続されている。   That is, the gate of the MOS transistor N11 is the address input terminal Pa0, the gate of the MOS transistor N12 is the address input terminal Pa1, the gate of the MOS transistor N13 is the address input terminal Pa2, and the gate of the MOS transistor N14 is the address input terminal Pa3. The drains of the MOS transistors N11 to N14 are connected to the decode output terminal Po, respectively. The source of the MOS transistor N11 is connected through the resistor R10, the source of the MOS transistor N12 is connected through the resistor R11, the source of the MOS transistor N13 is connected through the resistor R12, and the source of the MOS transistor N14 is connected through the resistor R13. Each is connected to ground E.

抵抗R10〜R13は、前述したようにMOSトランジスタN11〜N14のソースとアースEとの間に介在するように接続されて付加回路10bを構成するもので、これらは例えば10kΩ以上100kΩ以下で、ほぼ等しい抵抗値(例えば10kΩ)に設定されている。この抵抗値は、通常のMOSトランジスタのオン抵抗(数mΩ〜数Ω)に比べると10倍〜10倍に相当するため、この意味で高抵抗であるといえるものである。なお、本実施形態では、これらの抵抗R10〜R13を、MOSトランジスタN11〜N14のソースとアースEとの間に介在するように接続したが、これに限られず、例えば、デコード出力端子とPoMOSトランジスタN11〜N14のドレインとの間に介在するように接続しても良い。また、MOSトランジスタN11〜N14のドレイン側およびソース側の両側に介在するように接続しても良い。なお、この抵抗R10〜R13は、特許請求の範囲に記載の「複数の抵抗」に相当し得るものである。 The resistors R10 to R13 are connected so as to be interposed between the sources of the MOS transistors N11 to N14 and the ground E as described above to constitute the additional circuit 10b. These are, for example, 10 kΩ or more and 100 kΩ or less. The same resistance value (for example, 10 kΩ) is set. This resistance value corresponds to 10 4 times to 10 8 times the on-resistance (several mΩ to several Ω) of a normal MOS transistor, and thus can be said to be high resistance in this sense. In the present embodiment, these resistors R10 to R13 are connected so as to be interposed between the sources of the MOS transistors N11 to N14 and the ground E. However, the present invention is not limited to this. For example, the decode output terminal and the PoMOS transistor You may connect so that it may interpose with the drain of N11-N14. Further, the MOS transistors N11 to N14 may be connected so as to be interposed on both the drain side and the source side. The resistors R10 to R13 may correspond to “a plurality of resistors” recited in the claims.

MOSトランジスタN10は、デコード出力端子PoとアースEとの間を短絡可能に外部から制御可能な機能を有する半導体スイッチング素子で、本実施形態では、ゲートにシステムクロック入力端子Pcが、またドレインにデコード出力端子Poが、ソースにアースEが、それぞれ接続されている。なお、このMOSトランジスタN10は、特許請求の範囲に記載の「スイッチング手段」に相当し得るものである。   The MOS transistor N10 is a semiconductor switching element having a function that can be controlled from the outside so that the decode output terminal Po and the ground E can be short-circuited. In this embodiment, the system clock input terminal Pc is the gate and the drain is the decode. The output terminal Po is connected to the source, and the ground E is connected to the source. The MOS transistor N10 can correspond to "switching means" described in the claims.

このMOSトランジスタN10は、前述した抵抗R10〜R13とともに付加回路10bを構成するもので、クロックバスCLKからシステムクロック入力端子Pcを介して入力されるシステムクロックに同期してデコード出力端子PoとアースEとの間をオンオフ可能にしている。これにより、MOSトランジスタN11〜N14のソース側に抵抗R10〜R13が介在していても、このMOSトランジスタN10によりアースEとデコード出力端子Poとの間を短絡させることができるので、抵抗R10〜R13によって迅速な放電が妨げられるデコード出力端子Poの電位(電荷)をバイパスしてアースE側に迅速に放電させることが可能となる。したがって、このような放電を1システムクロック毎に行うことで、MOSトランジスタN11〜N14に直列に抵抗R10〜R13が介在しても、これらの抵抗R10〜R13によるMOSトランジスタN11〜N14の動作速度の低下を防止することができる。   The MOS transistor N10 constitutes the additional circuit 10b together with the resistors R10 to R13 described above, and the decode output terminal Po and the ground E are synchronized with the system clock input from the clock bus CLK via the system clock input terminal Pc. It can be turned on and off. Thus, even if the resistors R10 to R13 are interposed on the source side of the MOS transistors N11 to N14, the MOS transistor N10 can short-circuit between the ground E and the decode output terminal Po. Therefore, the resistors R10 to R13 Thus, the potential (charge) of the decode output terminal Po, which prevents rapid discharge, can be quickly discharged to the ground E side. Therefore, by performing such discharge every system clock, even if the resistors R10 to R13 are interposed in series with the MOS transistors N11 to N14, the operating speed of the MOS transistors N11 to N14 due to these resistors R10 to R13 can be reduced. A decrease can be prevented.

このようにデコーダ回路10aを構成することにより、デコード時のアドレスデコーダ10は、図3(A) に示すタイミングチャートで動作する。図3(A) に示すように、例えば、アドレス入力端子Pa0〜Pa3を介してアドレスバスA0〜A3から入力されるアドレス情報の4ビットすべてがLレベルであり、システムクロック入力端子Pcを介してクロックバスCLKからMOSトランジスタN10に入力されるクロックがLレベルである場合には、MOSトランジスタP10〜P13がそれぞれオン状態になるとともに、MOSトランジスタN10〜N14がそれぞれオフ状態になる。そのため、この場合にはデコード出力端子PoからHレベルの出力Out_0が出力される(図3(A) に示す灰色部分のタイミング)。   By configuring the decoder circuit 10a in this way, the address decoder 10 during decoding operates according to the timing chart shown in FIG. As shown in FIG. 3A, for example, all four bits of the address information input from the address buses A0 to A3 via the address input terminals Pa0 to Pa3 are at L level, and via the system clock input terminal Pc. When the clock input from the clock bus CLK to the MOS transistor N10 is at L level, the MOS transistors P10 to P13 are turned on and the MOS transistors N10 to N14 are turned off. Therefore, in this case, the H level output Out_0 is output from the decode output terminal Po (the gray portion timing shown in FIG. 3A).

これに対し、アドレスバスA0〜A3から入力されるアドレス情報の4ビットのうちの少なくとも1ビットがHレベルであったり、またMOSトランジスタN10に入力されるクロックがHレベルである場合には、MOSトランジスタN11〜N14のいずれか、またはMOSトランジスタN10がオン状態になるため、デコード出力端子Poの電位はアースE側に引っ張られる。そのため、この場合にはデコード出力端子PoからLレベルの出力Out_0が出力される(図3(A) に示す灰色部分以外のタイミング)。これにより、デコーダ回路10aに入力されるアドレス情報が0h(hは16進表記を示す)の場合にのみ、デコード出力端子PoからHレベルの出力Out_0が出力されることになるので、アドレス情報0hのアドレスデコードが可能となる。   On the other hand, when at least one of the 4 bits of the address information input from the address buses A0 to A3 is at H level, or when the clock input to the MOS transistor N10 is at H level, the MOS Since any of the transistors N11 to N14 or the MOS transistor N10 is turned on, the potential of the decode output terminal Po is pulled to the ground E side. Therefore, in this case, an L level output Out_0 is output from the decode output terminal Po (timing other than the gray portion shown in FIG. 3A). Thus, only when the address information input to the decoder circuit 10a is 0h (h indicates hexadecimal notation), the H level output Out_0 is output from the decode output terminal Po. Address decoding is possible.

デコーダ回路10aは、このように構成されてデコード動作を可能にする一方で、本実施形態に係るアドレスデコーダ10は、検出回路10cを備える。ここで図1および図2を参照して検出回路10cの構成を説明する。なお、本実施形態では、検出回路10cとデコード出力端子Poとの間を直接接続する構成を採っているが、例えば、この間にCMOSスイッチ等のスイッチング手段を設け、後述するテスト動作時に当該スイッチング手段をオン状態にし、それ以外のデコード動作時等には当該スイッチング手段をオフ状態にする制御入力を外部から入力可能に構成しても良い。   The decoder circuit 10a is configured in this manner and enables a decoding operation, while the address decoder 10 according to the present embodiment includes a detection circuit 10c. Here, the configuration of the detection circuit 10c will be described with reference to FIGS. In this embodiment, the detection circuit 10c and the decode output terminal Po are directly connected. For example, a switching means such as a CMOS switch is provided between the detection circuit 10c and the decoding output terminal Po. The control input for turning off the switching means during other decoding operations or the like may be input from the outside.

図1に示すように、検出回路10cは、コンパレータCp10、抵抗R21,R22,R23、サンプリング回路S10、スイッチSW1から構成されている。なお、コンパレータCp10、抵抗R22,R23は、特許請求の範囲に記載の「電圧検出器」に相当し得るもので、また抵抗R21は、特許請求の範囲に記載の「所定抵抗」に相当し得るものである。   As shown in FIG. 1, the detection circuit 10c includes a comparator Cp10, resistors R21, R22, R23, a sampling circuit S10, and a switch SW1. The comparator Cp10 and the resistors R22 and R23 can correspond to the “voltage detector” recited in the claims, and the resistor R21 can correspond to the “predetermined resistor” recited in the claims. Is.

コンパレータCp10は、反転入力に入力された電圧と非反転入力に入力された電圧とを比較してその比較結果をHレベルまたはLレベルの出力信号Cout_0 により出力する機能を有するもので、検出回路10cの主要機能を担うものである。本実施形態の場合、コンパレータCp10の反転入力には、基準電圧Vref が接続されている一方で、非反転入力には、この基準電圧Vref と比較する入力電圧として前述のデコード出力端子Poの電位を入力可能にデコード出力端子Poが接続され、また電源電圧Vddとの間に抵抗R21が接続されている。そして、非反転入力よりも反転入力の方が大きい(高い)場合にLレベルの出力信号Cout_0 を出力し、非反転入力よりも反転入力の方が小さい(低い)場合にHレベルの出力信号Cout_0 を出力するコンパレータCp10の出力には、サンプリング回路S10の入力が接続されている。   The comparator Cp10 has a function of comparing the voltage input to the inverting input with the voltage input to the non-inverting input and outputting the comparison result by the H level or L level output signal Cout_0. The main functions of In the case of the present embodiment, the reference voltage Vref is connected to the inverting input of the comparator Cp10, while the potential of the decode output terminal Po described above is input to the non-inverting input as an input voltage to be compared with the reference voltage Vref. A decode output terminal Po is connected to enable input, and a resistor R21 is connected to the power supply voltage Vdd. When the inverting input is larger (higher) than the non-inverting input, the L-level output signal Cout_0 is output. When the inverting input is smaller (lower) than the non-inverting input, the H-level output signal Cout_0 is output. The input of the sampling circuit S10 is connected to the output of the comparator Cp10.

スイッチSW1は、前述したデコーダ回路10aのデコード出力(デコード出力端子Po)と検出回路10cのコンパレータCp10との導通を外部から入力される制御入力に従ってオンオフ制御し得るもので、例えばCMOSアナログスイッチが用いられる。本実施形態の場合、後述するように、アドレスデコーダ10のテスト時に当該スイッチSW1をオン状態にすることで、デコーダ回路10aのテストを可能にしている。   The switch SW1 can turn on / off the conduction between the decoding output (decoding output terminal Po) of the decoder circuit 10a and the comparator Cp10 of the detection circuit 10c according to a control input inputted from the outside. For example, a CMOS analog switch is used. It is done. In the case of the present embodiment, as will be described later, the decoder circuit 10a can be tested by turning on the switch SW1 when the address decoder 10 is tested.

基準電圧Vref は、電源電圧VddとアースEとの間に直列に接続された抵抗R22,R23による分圧として取り出したものを用いる。抵抗R22は、コンパレータCp10の非反転入力と電源電圧Vddとの間に接続した抵抗R21の値とほぼ同じ値(例えば10kΩ)に設定され、また抵抗R23は、例えば前述した抵抗R10〜R13がいずれもほぼ等しく10kΩの場合には、その1/3.5に設定、つまり2.86kΩ(≒10kΩ/3.5)に設定されている。これにより、基準電圧Vref は、電源電圧Vdd×R23/(R22+R23)によって求められることから、例えば電源電圧Vddが5Vの場合には、基準電圧Vref は、5V×2.86kΩ/(10kΩ+2.86kΩ)=1.1Vに設定される。   As the reference voltage Vref, a voltage taken out as a divided voltage by resistors R22 and R23 connected in series between the power supply voltage Vdd and the ground E is used. The resistor R22 is set to a value (for example, 10 kΩ) that is substantially the same as the value of the resistor R21 connected between the non-inverting input of the comparator Cp10 and the power supply voltage Vdd, and the resistor R23 is, for example, any of the resistors R10 to R13 described above. Is approximately equal to 10 kΩ, it is set to 1 / 3.5, that is, 2.86 kΩ (≈10 kΩ / 3.5). Thus, since the reference voltage Vref is obtained by the power supply voltage Vdd × R23 / (R22 + R23), for example, when the power supply voltage Vdd is 5 V, the reference voltage Vref is 5 V × 2.86 kΩ / (10 kΩ + 2.86 kΩ). = 1.1V.

ここで、抵抗R23の抵抗値を定めるにあたって、抵抗R10〜R13の抵抗値を3.5で割って得られる値(2.86kΩ≒10kΩ/3.5)に設定しているのは、後述するように、MOSトランジスタN11〜N14がすべて正常にオン状態に移行した場合に、デコード出力端子PoとアースEとの間において形成される並列合成抵抗(R10//R11//R12//R13)が10kΩの抵抗4本で構成されていることに基づく(「//」は並列接続を意味する記号である、以下同じ。)。   Here, in determining the resistance value of the resistor R23, the value obtained by dividing the resistance values of the resistors R10 to R13 by 3.5 (2.86 kΩ≈10 kΩ / 3.5) will be described later. Thus, when all the MOS transistors N11 to N14 are normally turned on, the parallel combined resistance (R10 // R11 // R12 // R13) formed between the decode output terminal Po and the ground E is It is based on the fact that it is composed of four resistors of 10 kΩ (“//” is a symbol meaning parallel connection, and the same applies hereinafter).

即ち、MOSトランジスタN11〜N14のうち、オープン系の故障がなくすべて正常にオン状態に移行する場合には、デコード出力端子PoとアースEとの間において形成される並列合成抵抗は、R10//R11//R12//R13となり、前述したように、これらの抵抗はすべてほぼ同値であることから、並列合成抵抗の値は1本の抵抗値の1/4になる。これに対し、MOSトランジスタN11〜N14のうち、1つでもオープン系の故障が発生している場合には、デコード出力端子PoとアースEとの間において形成される並列合成抵抗は、抵抗R10〜R13のうちの1本以上が抜けた並列合成抵抗になるため、少なくとも並列合成抵抗の値は1本の抵抗値の1/3以下、つまり1/3.5よりも小さく(低く)なる。   That is, when all of the MOS transistors N11 to N14 are normally turned on without any open system failure, the parallel combined resistance formed between the decode output terminal Po and the ground E is R10 // R11 // R12 // R13 and, as described above, since these resistors are almost the same value, the value of the parallel combined resistance is 1/4 of one resistance value. On the other hand, when at least one of the MOS transistors N11 to N14 has an open-system failure, the parallel combined resistance formed between the decode output terminal Po and the ground E is the resistance R10 to Since at least one of R13 is a parallel combined resistance, at least the value of the parallel combined resistance is 1/3 or less of one resistance value, that is, smaller (lower) than 1 / 3.5.

そこで、抵抗R10〜R13の抵抗値を3.5で割って得られる値を抵抗R23の抵抗値に設定することで、当該抵抗R23の抵抗値が、同値の抵抗4本で並列合成抵抗を構成した場合の抵抗値よりも大きく(高く)、同値の抵抗3本で並列合成抵抗を構成した場合の抵抗値よりも小さく(低く)、なるようにしている。このため、本実施形態では、抵抗R10〜R13の抵抗値を3.5で割っているが、例えばデコーダ回路10aの回路構成が8ビット構成のアドレス情報をデコードするものに対応している場合には、このような並列合成抵抗を構成する抵抗は8本になるため、これらの抵抗値を7.5で割って得られる値が抵抗R23の抵抗値として設定される。つまり、デコーダ回路10aの回路構成がn(nは1以上の整数)ビット構成のアドレス情報をデコードするものに対応している場合には、並列合成抵抗を構成する抵抗1本分の抵抗値を(n−0.5)で割って得られる値を抵抗R23の抵抗値に設定する。   Therefore, by dividing the resistance values of the resistors R10 to R13 by 3.5 to the resistance value of the resistor R23, the resistance value of the resistor R23 is composed of four resistors having the same value to form a parallel combined resistor. The resistance value is larger (higher) than the resistance value in this case, and smaller (lower) than the resistance value in the case where the parallel combined resistance is configured with three resistors having the same value. For this reason, in this embodiment, the resistance values of the resistors R10 to R13 are divided by 3.5. For example, when the circuit configuration of the decoder circuit 10a corresponds to the one that decodes the address information of the 8-bit configuration. Since there are eight resistors constituting such a parallel combined resistor, a value obtained by dividing these resistance values by 7.5 is set as the resistance value of the resistor R23. That is, when the circuit configuration of the decoder circuit 10a corresponds to the one that decodes address information of n (n is an integer of 1 or more) bit configuration, the resistance value of one resistor constituting the parallel combined resistor is obtained. A value obtained by dividing by (n−0.5) is set to the resistance value of the resistor R23.

したがって、本実施形態の場合、このような値に設定される抵抗R23と前述した抵抗R22とによる分圧を基準電圧Vref としてコンパレータCp10の反転入力とすることによって、非反転入力に入力される電圧が4本の抵抗により構成されている並列合成抵抗と抵抗R21(=R22)とによる分圧であるのか、また3本以下の抵抗により構成されている並列合成抵抗と抵抗R21(=R22)とによる分圧であるのか、コンパレータCp10の出力結果から判断できる。   Therefore, in the case of the present embodiment, the voltage input to the non-inverting input is obtained by using the voltage divided by the resistor R23 set to such a value and the resistor R22 described above as the inverting input of the comparator Cp10 as the reference voltage Vref. Is a divided voltage by the parallel combined resistor composed of four resistors and the resistor R21 (= R22), or the parallel combined resistor and resistor R21 (= R22) composed of three or less resistors It can be determined from the output result of the comparator Cp10 whether the partial pressure is due to the above.

サンプリング回路S10は、入力されたコンパレータCp10の出力信号Cout_0 を所定のタイミングで保持してフラグ信号Fsgとして出力可能な機能を有するもので、例えばラッチ回路やサンプルホールド回路がこれに相当する。本実施形態では、サンプリングクロックSckが入力されたタイミングで入力の出力信号Cout_0 を保持し出力可能なラッチ回路を適用する。このため、入力には前述したコンパレータCp10の出力が接続されるとともに、クロック入力にサンプリングクロック入力端子Psが接続される。またフラグ信号Fsgの出力にはフラグ出力端子Pfが接続される。これにより、サンプリングクロックSckの立ち上がりタイミングにおいて入力されたコンパレータCp10の出力信号Cout_0 をサンプリングしてフラグ信号Fsgとして出力することが可能となる。   The sampling circuit S10 has a function capable of holding the output signal Cout_0 of the input comparator Cp10 at a predetermined timing and outputting it as a flag signal Fsg. For example, a latch circuit or a sample hold circuit corresponds to this. In the present embodiment, a latch circuit capable of holding and outputting the input output signal Cout_0 at the timing when the sampling clock Sck is input is applied. For this reason, the output of the comparator Cp10 is connected to the input, and the sampling clock input terminal Ps is connected to the clock input. A flag output terminal Pf is connected to the output of the flag signal Fsg. As a result, the output signal Cout_0 of the comparator Cp10 input at the rising timing of the sampling clock Sck can be sampled and output as the flag signal Fsg.

このように検出回路10cを構成することにより、テスト時のアドレスデコーダ10は、図3(B) に示すタイミングチャートで動作する。具体的には、検出回路10cのスイッチSW1をオン状態にする制御入力を入力してから、以下説明するテスト動作を行う。   By configuring the detection circuit 10c as described above, the address decoder 10 at the time of the test operates according to the timing chart shown in FIG. Specifically, after inputting a control input for turning on the switch SW1 of the detection circuit 10c, a test operation described below is performed.

即ち、アドレスデコーダ10のテスト時には、アドレスバスA0〜A3から入力するアドレス情報の4ビットをすべてHレベルに設定し、かつ、クロックバスCLKから入力するシステムクロックをLレベルに設定する。これにより、MOSトランジスタN11〜N14がすべて正常にオン状態に移行している場合には、デコード出力端子PoとアースEとの間で抵抗R10〜R13がすべて並列に接続される。このため、抵抗R10〜R13の並列合成抵抗と抵抗R21との分圧(=Vdd×(R10//R11//R12//R13)/(R21+R10//R11//R12//R13))がコンパレータCp10の非反転入力に入力されることから、例えば電源電圧Vddが5Vの場合には、5V×2.5kΩ/(10kΩ+2.5kΩ)=1.0VがコンパレータCp10の非反転入力に入力される。したがって、反転入力に入力される基準電圧Vref の1.1Vと比較すると、非反転入力(1.0V)<反転入力(Vref =1.1V)の関係にあるため、コンパレータCp10からはLレベルの出力信号Cout_0 が出力されるとともに、サンプリング回路S10によりサンプリングクロックSckの立ち上がりタイミングでLレベルの出力信号Cout_0 がサンプリングされると当該サンプリング回路S10からLレベルのフラグ信号Fsgが出力される(図3(B) の紙面左側の正常時)。   That is, when testing the address decoder 10, all four bits of the address information input from the address buses A0 to A3 are set to the H level, and the system clock input from the clock bus CLK is set to the L level. As a result, when all the MOS transistors N11 to N14 are normally turned on, the resistors R10 to R13 are all connected in parallel between the decode output terminal Po and the ground E. For this reason, the divided voltage (= Vdd × (R10 // R11 // R12 // R13) / (R21 + R10 // R11 // R12 // R13)) of the combined resistance of the resistors R10 to R13 and the resistor R21 is a comparator. Since it is input to the non-inverting input of Cp10, for example, when the power supply voltage Vdd is 5V, 5V × 2.5 kΩ / (10 kΩ + 2.5 kΩ) = 1.0 V is input to the non-inverting input of the comparator Cp10. Therefore, compared with 1.1 V of the reference voltage Vref input to the inverting input, there is a relationship of non-inverting input (1.0 V) <inverting input (Vref = 1.1 V). When the output signal Cout_0 is output and the L level output signal Cout_0 is sampled by the sampling circuit S10 at the rising timing of the sampling clock Sck, the L level flag signal Fsg is output from the sampling circuit S10 (FIG. 3 ( B) Normal on the left side of the paper.

これに対し、MOSトランジスタN11〜N14のうちの1つがオン状態に移行しない場合には、そのMOSトランジスタがオフ状態を維持するため、デコード出力端子PoとアースEの間では並列合成抵抗が抵抗R10〜R13のうちの3本により構成されることになる。例えば、MOSトランジスタN12がそのオープン系の故障によりオン状態に移行しないときには、そのソースに接続された抵抗R11は他の抵抗R10等と並列抵抗を構成しないため、電源電圧VddとアースEとの間における並列合成抵抗はR10//R12//R13となる。このため、抵抗R10,R12,R13の並列合成抵抗と抵抗R21との分圧(=Vdd×(R10//R12//R13)/(R21+R10//R12//R13))がコンパレータCp10の非反転入力に入力され、電源電圧Vddが5Vの場合には、5V×3.3kΩ/(10kΩ+3.3kΩ)=1.2VがコンパレータCp10の非反転入力に入力される。したがって、反転入力に入力される基準電圧Vref の1.1Vと比較すると、非反転入力(1.2V)>反転入力(Vref =1.1V)の関係にあるため、コンパレータCp10からはHレベルの出力信号Cout_0 が出力されるとともに、サンプリング回路S10によりサンプリングクロックSckの立ち上がりタイミングでHレベルの出力信号Cout_0 がサンプリングされると当該サンプリング回路S10からHレベルのフラグ信号Fsgが出力される(図3(B) の紙面右側の故障時)。   On the other hand, when one of the MOS transistors N11 to N14 does not shift to the on state, the MOS transistor is maintained in the off state, so that the parallel combined resistor is connected to the resistor R10 between the decode output terminal Po and the ground E. It is comprised by three of ~ R13. For example, when the MOS transistor N12 does not shift to the ON state due to an open system failure, the resistor R11 connected to the source does not form a parallel resistor with the other resistor R10 and the like, and therefore between the power supply voltage Vdd and the ground E. The parallel combined resistance at is R10 // R12 // R13. For this reason, the divided voltage (= Vdd × (R10 // R12 // R13) / (R21 + R10 // R12 // R13)) of the parallel combined resistance of the resistors R10, R12, and R13 and the resistor R21 is non-inverted by the comparator Cp10. When the power supply voltage Vdd is 5V, 5V × 3.3 kΩ / (10 kΩ + 3.3 kΩ) = 1.2 V is input to the non-inverting input of the comparator Cp10. Therefore, when compared with 1.1 V of the reference voltage Vref input to the inverting input, there is a relationship of non-inverting input (1.2 V)> inverting input (Vref = 1.1 V). When the output signal Cout_0 is output, and when the H level output signal Cout_0 is sampled at the rising timing of the sampling clock Sck by the sampling circuit S10, the H level flag signal Fsg is output from the sampling circuit S10 (FIG. 3 ( B) on the right side of the paper).

また、MOSトランジスタN11〜N14のうちの2つがオン状態に移行しない場合には、デコード出力端子PoとアースEとの間における並列合成抵抗は、抵抗R10〜R13のうちの2本により構成されることから、例えば、MOSトランジスタN12,N14がそのオープン系の故障によりオン状態に移行しないときには、それらソースに接続された抵抗R11,R13は他の抵抗R10等と並列抵抗を構成しない。このため、抵抗R10,R12の並列合成抵抗と抵抗R21との分圧(=Vdd×(R10//R12)/(R21+R10//R12))がコンパレータCp10の非反転入力に入力され、電源電圧Vddが5Vの場合には、5V×5kΩ/(10kΩ+5kΩ)=1.7VがコンパレータCp10の非反転入力に入力される。この場合も、非反転入力(1.7V)>反転入力(Vref =1.1V)の関係にあるため、コンパレータCp10からはHレベルの出力信号Cout_0 が出力されるとともに、サンプリング回路S10によりサンプリングクロックSckの立ち上がりタイミングでHレベルの出力信号Cout_0 がサンプリングされると当該サンプリング回路S10からHレベルのフラグ信号Fsgが出力される(図3(B) の紙面右側の故障時)。   Further, when two of the MOS transistors N11 to N14 do not shift to the on state, the parallel combined resistance between the decode output terminal Po and the ground E is constituted by two of the resistors R10 to R13. Therefore, for example, when the MOS transistors N12 and N14 do not shift to the ON state due to an open system failure, the resistors R11 and R13 connected to their sources do not constitute a parallel resistor with the other resistors R10 and the like. Therefore, the divided voltage (= Vdd × (R10 // R12) / (R21 + R10 // R12)) of the parallel combined resistance of the resistors R10 and R12 and the resistor R21 is input to the non-inverting input of the comparator Cp10, and the power supply voltage Vdd 5V × 5 kΩ / (10 kΩ + 5 kΩ) = 1.7 V is input to the non-inverting input of the comparator Cp10. Also in this case, since there is a relationship of non-inverting input (1.7 V)> inverting input (Vref = 1.1 V), an output signal Cout_0 of H level is output from the comparator Cp10, and the sampling clock is output by the sampling circuit S10. When the H level output signal Cout_0 is sampled at the rise timing of Sck, the sampling circuit S10 outputs the H level flag signal Fsg (at the time of failure on the right side of FIG. 3B).

なお、MOSトランジスタN11〜N14のうちの3つがオン状態に移行しない場合には、デコード出力端子PoとアースEとの間における抵抗は、もはや並列合成抵抗を構成しないため、オン状態に移行したMOSトランジスタのソースに接続された抵抗のみとなる。この場合には、電源電圧VddとアースEとの間において、抵抗R10〜R13のいずれか1本の抵抗と抵抗R21との分圧になることから、両抵抗がほぼ同値であれば電源電圧Vddの1/2が(=Vdd/2)がコンパレータCp10の非反転入力に入力される。つまり、電源電圧Vddが5Vの場合には、5V/2=2.5VがコンパレータCp10の非反転入力に入力される。この場合も、非反転入力(2.5V)>反転入力(Vref =1.1V)の関係にあるため、コンパレータCp10からはHレベルの出力信号Cout_0 が出力されるとともに、サンプリング回路S10によりサンプリングクロックSckの立ち上がりタイミングでHレベルの出力信号Cout_0 がサンプリングされると当該サンプリング回路S10からHレベルのフラグ信号Fsgが出力される(図3(B) の紙面右側の故障時)。   When three of the MOS transistors N11 to N14 do not shift to the on state, the resistance between the decode output terminal Po and the ground E no longer constitutes a parallel composite resistor, so the MOS that has shifted to the on state. Only the resistor connected to the source of the transistor. In this case, since any one of the resistors R10 to R13 and the resistor R21 are divided between the power supply voltage Vdd and the ground E, the power supply voltage Vdd can be obtained if both resistors are substantially equal. 1/2 of (= Vdd / 2) is input to the non-inverting input of the comparator Cp10. That is, when the power supply voltage Vdd is 5V, 5V / 2 = 2.5V is input to the non-inverting input of the comparator Cp10. Also in this case, since there is a relationship of non-inverting input (2.5 V)> inverting input (Vref = 1.1 V), an output signal Cout_0 of H level is output from the comparator Cp10, and the sampling clock is output by the sampling circuit S10. When the H level output signal Cout_0 is sampled at the rise timing of Sck, the sampling circuit S10 outputs the H level flag signal Fsg (at the time of failure on the right side of FIG. 3B).

また、MOSトランジスタN11〜N14のいずれもオン状態に移行しない場合、つまりMOSトランジスタN11〜N14のすべてにオープン系の故障がある場合には、デコード出力端子PoとアースEと間には抵抗は一切介在しないことになるので、デコード出力端子Poに接続されるコンパレータCp10の非反転入力は、抵抗R21によって電源電圧Vdd側にプルアップされた状態を維持する。このため、このような場合には、コンパレータCp10にほぼ電源電圧Vddの電位が入力されることから、例えば電源電圧Vddが5Vの場合には、非反転入力5Vが入力される。この場合も、非反転入力(5V)>反転入力(Vref =1.1V)の関係にあるため、コンパレータCp10からはHレベルの出力信号Cout_0 が出力されるとともに、サンプリング回路S10によりサンプリングクロックSckの立ち上がりタイミングでHレベルの出力信号Cout_0 がサンプリングされると当該サンプリング回路S10からHレベルのフラグ信号Fsgが出力される(図3(B) の紙面右側の故障時)。   If none of the MOS transistors N11 to N14 is turned on, that is, if all of the MOS transistors N11 to N14 have an open fault, there is no resistance between the decode output terminal Po and the ground E. Therefore, the non-inverting input of the comparator Cp10 connected to the decode output terminal Po is kept pulled up to the power supply voltage Vdd side by the resistor R21. Therefore, in such a case, since the potential of the power supply voltage Vdd is almost input to the comparator Cp10, for example, when the power supply voltage Vdd is 5V, the non-inverting input 5V is input. Also in this case, since the relationship of non-inverting input (5V)> inverting input (Vref = 1.1V) is established, the comparator Cp10 outputs an H level output signal Cout_0, and the sampling circuit S10 outputs the sampling clock Sck. When the H level output signal Cout_0 is sampled at the rising timing, the H level flag signal Fsg is output from the sampling circuit S10 (at the time of failure on the right side of FIG. 3B).

このように本実施形態に係るアドレスデコーダ10では、MOSトランジスタN11〜N14のいずれか1つ以上に配線を含めたオープン系の故障がある場合、検出回路10cのコンパレータCp10に入力される両電圧の関係が、非反転入力(1.2V〜5V)>反転入力(Vref =1.1V)になるので当該コンパレータCp10からはHレベルの出力信号Cout_0 が出力される。このため、これをサンプリング回路S10によって所定のサンプリングクロックSckのタイミングでサンプルすることで、デコーダ回路10aにオープン系の故障が生じていることを簡易に検出することができる。   As described above, in the address decoder 10 according to the present embodiment, when there is an open-system failure including wiring in any one or more of the MOS transistors N11 to N14, both voltages input to the comparator Cp10 of the detection circuit 10c are detected. Since the relationship is non-inverted input (1.2V to 5V)> inverted input (Vref = 1.1V), the comparator Cp10 outputs an output signal Cout_0 of H level. Therefore, by sampling this at the timing of the predetermined sampling clock Sck by the sampling circuit S10, it is possible to easily detect that an open system failure has occurred in the decoder circuit 10a.

なお、MOSトランジスタN11〜N14のソースに接続される抵抗R10〜R13の精度が高くない場合には、次のような構成とテスト方法を採ることによって上述と同様にデコーダ回路10aにオープン系の故障が生じていることを簡易に検出することができる。   If the accuracy of the resistors R10 to R13 connected to the sources of the MOS transistors N11 to N14 is not high, the decoder circuit 10a has an open fault as described above by adopting the following configuration and test method. Can be easily detected.

例えば、MOSトランジスタN11〜N14のうちの、任意の2つのMOSトランジスタを一組として検査可能に構成し、複数回に分けてテストする。この場合には、前述した抵抗R23の値を、抵抗R10〜R13の抵抗値を1.5で割って得られる値に設定することで、当該抵抗R23の抵抗値が、ほぼ同値の抵抗2本で並列合成抵抗を構成した場合の抵抗値よりも大きく(高く)、ほぼ同値の抵抗1本で並列合成抵抗を構成した場合の抵抗値よりも小さく(低く)、なるようにする。   For example, any two MOS transistors of the MOS transistors N11 to N14 can be inspected as a set, and the test is divided into a plurality of times. In this case, the resistance value of the resistor R23 is set to a value obtained by dividing the resistance values of the resistors R10 to R13 by 1.5, so that the resistance value of the resistor R23 is approximately equal to two resistors. The resistance value is larger (higher) than that in the case where the parallel combined resistor is configured, and is smaller (lower) than the resistance value in the case where the parallel combined resistor is configured with one resistor having substantially the same value.

これにより、アドレスデコーダ10のテスト時には、まずアドレスバスA0〜A3から入力するアドレス情報の4ビットのうちの、アドレスバスA0,A1をHレベル、A2,A3をLレベルに設定し、かつ、クロックバスCLKから入力するシステムクロックをLレベルに設定する。この設定では、MOSトランジスタN11〜N14のうち、MOSトランジスタN11,N12が正常であればこれらがオン状態に移行し、残りのMOSトランジスタN13,N14がオフ状態を維持するため、デコード出力端子PoとアースEとの間で抵抗R10,R11による並列合成抵抗が形成される。このため、抵抗R10,R11の並列合成抵抗と抵抗R21との分圧(=Vdd×(R10//R11)/(R21+R10//R11))がコンパレータCp10の非反転入力に入力され、反転入力に入力される抵抗R22と抵抗R23との分圧(=Vdd×R23/(R22+R23))と比較されてその結果が出力信号Cout_0 としてコンパレータCp10から出力される。   Thus, when the address decoder 10 is tested, first, among the 4 bits of the address information input from the address buses A0 to A3, the address buses A0 and A1 are set to H level, A2 and A3 are set to L level, and the clock The system clock input from the bus CLK is set to L level. In this setting, if the MOS transistors N11 and N12 are normal among the MOS transistors N11 to N14, they are turned on, and the remaining MOS transistors N13 and N14 are kept off, so that the decode output terminal Po and A parallel combined resistor is formed between the ground E and the resistors R10 and R11. Therefore, the divided voltage (= Vdd × (R10 // R11) / (R21 + R10 // R11)) between the parallel combined resistance of the resistors R10 and R11 and the resistor R21 is input to the non-inverting input of the comparator Cp10 and is input to the inverting input. The input voltage is compared with the divided voltage (= Vdd × R23 / (R22 + R23)) of the resistor R22 and the resistor R23, and the result is output from the comparator Cp10 as the output signal Cout_0.

次に、アドレスバスA0〜A3から入力するアドレス情報の4ビットのうちの、アドレスバスA0,A1をLレベル、A2,A3をHレベルに設定し、かつ、クロックバスCLKから入力するシステムクロックをLレベルに設定する。この設定では、MOSトランジスタN11〜N14のうち、MOSトランジスタN13,N14が正常であればこれらがオン状態に移行し、残りのMOSトランジスタN11,N12がオフ状態を維持するため、デコード出力端子PoとアースEとの間で抵抗R12,R13による並列合成抵抗が形成される。このため、抵抗R12,R13の並列合成抵抗と抵抗R21との分圧(=Vdd×(R12//R13)/(R21+R12//R13))がコンパレータCp10の非反転入力に入力され、反転入力に入力される抵抗R22と抵抗R23との分圧(=Vdd×R23/(R22+R23))と比較されてその結果が出力信号Cout_0 としてコンパレータCp10から出力される。   Next, out of the 4 bits of the address information input from the address buses A0 to A3, the address buses A0 and A1 are set to L level, A2 and A3 are set to H level, and the system clock input from the clock bus CLK is set. Set to L level. In this setting, if the MOS transistors N13 and N14 are normal among the MOS transistors N11 to N14, they are turned on, and the remaining MOS transistors N11 and N12 are kept off, so that the decode output terminal Po and A parallel combined resistor is formed between the ground E and the resistors R12 and R13. For this reason, the divided voltage (= Vdd × (R12 // R13) / (R21 + R12 // R13)) of the parallel combined resistance of the resistors R12 and R13 and the resistor R21 is input to the non-inverting input of the comparator Cp10 and is input to the inverting input. The input voltage is compared with the divided voltage (= Vdd × R23 / (R22 + R23)) of the resistor R22 and the resistor R23, and the result is output from the comparator Cp10 as the output signal Cout_0.

コンパレータCp10から出力される出力信号Cout_0 は、正常であれば、Lレベルに、またオープン系の故障等があればHレベルになるので、前述と同様に、サンプリング回路S10によりサンプリングされて出力されるフラグ信号Fsgの信号レベルからデコーダ回路10aにオープン系の故障が生じていることを簡易に検出することができる。   The output signal Cout_0 output from the comparator Cp10 is at the L level if it is normal, and is at the H level if there is an open system failure or the like, and is sampled and output by the sampling circuit S10 as described above. It can be easily detected from the signal level of the flag signal Fsg that an open-system failure has occurred in the decoder circuit 10a.

以上説明したように、本実施形態に係るアドレスデコーダ10によると、MOSトランジスタN11〜N14のそれぞれについてMOSトランジスタN11〜N14のドレイン側またはソース側の少なくとも一方でアースEとデコード出力端子Poとの間に抵抗R10〜R13を介在させ、またこのデコード出力端子Poを抵抗R21を介して電源電圧Vddに接続し、さらにデコード出力端子Poを非反転入力に接続するとともにMOSトランジスタN11〜N14がすべてオン状態にあるときの抵抗R10〜R13による並列合成抵抗と抵抗R21とによる電源電圧Vddの分圧よりも高い電位がこの非反転入力に入力されたことを検出可能なコンパレータCp10を備える。   As described above, according to the address decoder 10 according to the present embodiment, for each of the MOS transistors N11 to N14, at least one of the drain side and the source side of the MOS transistors N11 to N14 is connected between the ground E and the decode output terminal Po. And the decode output terminal Po is connected to the power supply voltage Vdd via the resistor R21, the decode output terminal Po is connected to the non-inverting input, and the MOS transistors N11 to N14 are all turned on. A comparator Cp10 capable of detecting that a potential higher than the divided voltage of the power supply voltage Vdd by the resistor R21 and the parallel combined resistor by the resistors R10 to R13 is input to this non-inverting input.

これにより、これらのMOSトランジスタN11〜N14のすべてをオン制御可能なHレベルの信号がアドレス入力端子Pa0〜Pa3から入力されているにもかかわらず、正常にオン状態に移行しないものがこれらのMOSトランジスタN11〜N14に存在する場合には、その分、並列合成抵抗を構成する抵抗R10〜R13の数が減るので合成抵抗値が上がる。そのため、このような場合には、コンパレータCp10に、MOSトランジスタN11〜N14がすべてオン状態にあるときの抵抗R10〜R13による並列合成抵抗とこの抵抗R21とによる所電源電圧Vddの分圧よりも高い電位が入力されることから、当該コンパレータCp10によって正常にオン状態に移行しないMOSトランジスタの存在を検出することが可能となる。したがって、多重選択が発生し得るようなアドレスの組み合わせを考慮したアドレスデータの作成や管理が不要となることから、オープン系の故障に起因した多重選択の不具合を簡易に検出することができる。   As a result, even though an H level signal capable of turning on all of these MOS transistors N11 to N14 is inputted from the address input terminals Pa0 to Pa3, those which do not normally shift to the on state are those MOSs. When the transistors N11 to N14 are present, the number of resistors R10 to R13 constituting the parallel combined resistor is reduced correspondingly, so that the combined resistance value is increased. Therefore, in such a case, the comparator Cp10 has a voltage higher than the divided voltage of the power supply voltage Vdd by the parallel combined resistance of the resistors R10 to R13 and the resistor R21 when the MOS transistors N11 to N14 are all on. Since the potential is input, it is possible to detect the presence of the MOS transistor that does not normally shift to the on state by the comparator Cp10. Therefore, it becomes unnecessary to create and manage address data in consideration of a combination of addresses that can cause multiple selection, and it is possible to easily detect a malfunction of multiple selection due to an open system failure.

また、本実施形態に係るアドレスデコーダ10では、アースEとデコード出力端子Poとの間を短絡可能に外部から制御可能なMOSトランジスタN10を備える。これにより、MOSトランジスタN11〜N14のドレイン側またはソース側の少なくとも一方に、10kΩの抵抗R10〜R13が介在していても、このMOSトランジスタN10によりアースEとデコード出力端子Poとの間を短絡させることができるので、デコード出力端子Poの電位をアースE側に迅速に放電させることが可能となる。したがって、このような放電を1システムクロック毎に行うことで、MOSトランジスタN11〜N14に直列に抵抗R10〜R13が介在しても、これらの抵抗R10〜R13によるMOSトランジスタN11〜N14の動作速度の低下を防止することができる。   Further, the address decoder 10 according to the present embodiment includes a MOS transistor N10 that can be controlled from the outside so as to be short-circuited between the ground E and the decode output terminal Po. As a result, even if the resistances R10 to R13 of 10 kΩ are interposed in at least one of the drain side or the source side of the MOS transistors N11 to N14, the MOS transistor N10 shorts between the ground E and the decode output terminal Po. Therefore, the potential of the decode output terminal Po can be quickly discharged to the ground E side. Therefore, by performing such discharge every system clock, even if the resistors R10 to R13 are interposed in series with the MOS transistors N11 to N14, the operating speed of the MOS transistors N11 to N14 due to these resistors R10 to R13 can be reduced. A decrease can be prevented.

なお、上述した本実施形態では、MOSトランジスタN11〜N14に直列に抵抗R10〜R13を接続する構成を採ったが、例えば、このような抵抗R10〜R13に代えてMOSトランジスタが有するオン抵抗RON10,RON11,RON12,RON13(以下「RON10〜RON13」という)を用いても良い。即ち、オン抵抗RON10〜RON13として、10kΩ以上100kΩ以下の抵抗値を持つMOSトランジスタをMOSトランジスタN11〜N14に適用することによって、アースEとデコード出力端子Poとの間に抵抗R10〜R13を設ける必要がなくなる。これにより、部品点数を削減することが可能となり、その分、コストや故障率の低減、さらには小型軽量化が可能となる。 In the above-described embodiment, the resistors R10 to R13 are connected in series to the MOS transistors N11 to N14. For example, instead of the resistors R10 to R13, the on-resistance R ON included in the MOS transistor is used. 10, R ON 11, R ON 12, R ON 13 (hereinafter referred to as “R ON 10 to R ON 13”) may be used. That is, by applying a MOS transistor having a resistance value of 10 kΩ or more and 100 kΩ or less as the ON resistances R ON 10 to R ON 13 to the MOS transistors N11 to N14, the resistors R10 to R10 are connected between the ground E and the decode output terminal Po. There is no need to provide R13. As a result, the number of parts can be reduced, and accordingly, the cost and the failure rate can be reduced, and further, the size and weight can be reduced.

次に、本発明のアドレスデコーダの検査装置を、マスクROMに内蔵した他の実施形態を図2および図4に基づいて説明する。この他の実施形態に係る検出装置20は、前述した実施形態に係るアドレスデコーダ10の検出回路10cを中心に構成するものである。このため、前述した実施形態に係るアドレスデコーダ10と実質的に同一の構成部分には同一符号を付すものとし、それらの説明を省略する。なお、図4には、当該他の実施形態に係るアドレスデコーダの検査装置20を内蔵したROMの一部を示すブロック図が示されている。   Next, another embodiment in which an inspection apparatus for an address decoder according to the present invention is built in a mask ROM will be described with reference to FIGS. The detection device 20 according to the other embodiment is configured around the detection circuit 10c of the address decoder 10 according to the above-described embodiment. For this reason, substantially the same components as those of the address decoder 10 according to the above-described embodiment are denoted by the same reference numerals, and description thereof is omitted. FIG. 4 is a block diagram showing a part of a ROM incorporating the address decoder inspection device 20 according to the other embodiment.

図4に示すように、検出装置20は、検出回路10cと選択回路10dにより構成されており、各アドレスデコーダ10’のデコード出力端子Poに接続されて、これらのデコード出力端子Poから出力される出力Out_0(Out_1…Out_f)を入力可能にしている。
検出回路10cは、図1に示す検出回路10cと実質的に同一に構成されており、選択回路10dの出力をコンパレータCp10の非反転入力に入力可能に構成している。
As shown in FIG. 4, the detection device 20 includes a detection circuit 10c and a selection circuit 10d, and is connected to the decode output terminal Po of each address decoder 10 ′ and is output from these decode output terminals Po. The output Out_0 (Out_1 ... Out_f) can be input.
The detection circuit 10c is configured substantially the same as the detection circuit 10c shown in FIG. 1, and is configured so that the output of the selection circuit 10d can be input to the non-inverting input of the comparator Cp10.

選択回路10dは、各アドレスデコーダ10’から入力された出力Out_0(Out_1…Out_f)を、外部から入力される選択信号Selに従って選択して出力する機能を有する信号セレクタで、本実施形態の場合、入力ポートとして16ポート、出力ポートとして1ポート備えている。この選択回路10dは、例えば、複数のCMOSスイッチで構成される。   The selection circuit 10d is a signal selector having a function of selecting and outputting the output Out_0 (Out_1... Out_f) input from each address decoder 10 ′ according to the selection signal Sel input from the outside. There are 16 input ports and 1 output port. The selection circuit 10d is composed of, for example, a plurality of CMOS switches.

なお、アドレスデコーダ10’は、図1に示すアドレスデコーダ10から検出回路10cを除いた構成で、抵抗R10〜R13をMOSトランジスタN11〜N14のオン抵抗RON10〜RON13とし、またMOSトランジスタN10を除いた構成からなるデコーダ回路10a’を有する。つまり、通常のNOR型のデコーダのMOSトランジスタを高オン抵抗(10kΩ以上100kΩ以下)のもので構成したものがデコーダ回路10a’に相当する。 Note that the address decoder 10 ', a structure excluding the detection circuit 10c from the address decoder 10 shown in FIG. 1, the resistor R10~R13 the on-resistance R ON 10~R ON 13 of the MOS transistor N11~N14, also MOS transistors It has a decoder circuit 10a 'having a configuration excluding N10. In other words, a decoder circuit 10a 'corresponds to a normal NOR-type decoder MOS transistor having a high on-resistance (10 kΩ to 100 kΩ).

このように構成される検出装置20を高オン抵抗RON10〜RON13のMOSトランジスタを用いたアドレスデコーダ10’に対して付加することで、アドレスデコーダ10’のテスト時においては、テスト対象となるアドレスデコーダ10’のデコード出力端子Poに接続された入力ポートを選択信号Selによって選択する。そして、これにより選択されたアドレスデコーダ10’に対し、前述した実施形態の場合と同様に、図3(B) に示すタイミングチャートで検出装置20の検出回路10cを動作させる。これにより、MOSトランジスタN11〜N14のいずれか1つ以上に配線を含めたオープン系の故障がある場合には、検出回路10cのコンパレータCp10に入力される両電圧の関係が、非反転入力(1.2V〜5V)>反転入力(Vref =1.1V)になるので当該コンパレータCp10からはHレベルの出力信号Cout_0 が出力され、これをサンプリング回路S10によって所定のサンプリングクロックSckのタイミングでサンプルすることで、アドレスデコーダ10’にオープン系の故障が生じていることを簡易に検出することができる。 'By adding relative address decoder 10' such address decoder 10 to the formed detecting device 20 using a MOS transistor having a high on-resistance R ON 10~R ON 13 so in the test of the test The input port connected to the decode output terminal Po of the address decoder 10 ′ is selected by the selection signal Sel. Then, the detection circuit 10c of the detection device 20 is operated by the timing chart shown in FIG. 3B with respect to the address decoder 10 ′ thus selected, as in the case of the above-described embodiment. Thereby, when there is an open-system failure including wiring in any one or more of the MOS transistors N11 to N14, the relationship between the two voltages input to the comparator Cp10 of the detection circuit 10c is the non-inverted input (1 .2V-5V)> inverted input (Vref = 1.1V), the comparator Cp10 outputs an H level output signal Cout_0, which is sampled by the sampling circuit S10 at the timing of a predetermined sampling clock Sck. Thus, it is possible to easily detect that an open system failure has occurred in the address decoder 10 '.

このように、当該他の実施形態に係る検出装置20では、オン抵抗RON10〜RON13が10kΩ以上100kΩ以下の抵抗値であるMOSトランジスタN11〜N14を備えたアドレスデコーダ10’のデコード出力端子Poに、抵抗R21を介して電源電圧Vddを接続し、またこのデコード出力端子Poを非反転入力に接続するとともにMOSトランジスタN11〜N14がすべてオン状態にあるときのオン抵抗RON10〜RON13による並列合成抵抗と抵抗R21とによる電源電圧Vddの分圧よりも高い電位がこの入力に入力されたことを検出可能なコンパレータCp10を備える。 As described above, in the detection device 20 according to the other embodiment, the decode outputs of the address decoder 10 ′ including the MOS transistors N11 to N14 whose on-resistances R ON 10 to R ON 13 have resistance values of 10 kΩ or more and 100 kΩ or less. The power supply voltage Vdd is connected to the terminal Po via the resistor R21, and the decode output terminal Po is connected to the non-inverting input, and the on-resistances R ON 10 to R when the MOS transistors N11 to N14 are all in the on state. comprises a detectable comparator Cp10 that a potential higher than the partial pressure of the power supply voltage Vdd by a parallel combined resistance and the resistance R21 due to oN 13 is input to the input.

これにより、これらのMOSトランジスタN11〜N14のすべてをオン制御可能なHレベルの信号がアドレス入力端子Pa0〜Pa3から入力されているにもかかわらず、正常にオン状態に移行しないものがこれらのMOSトランジスタN11〜N14に存在する場合には、その分、並列合成抵抗を構成するオン抵抗RON10〜RON13の数が減るので合成抵抗値が上がる。そのため、このような場合には、コンパレータCp10に、MOSトランジスタN11〜N14がすべてオン状態にあるときの複数のオン抵抗RON10〜RON13による並列合成抵抗とこの抵抗R21とによる電源電圧Vddの分圧よりも高い電位が入力されることから、当該コンパレータCp10によって正常にオン状態に移行しないMOSトランジスタの存在を検出することが可能となる。したがって、このような高オン抵抗RON10〜RON13を有するMOSトランジスタで構成されるアドレスデコーダ10’に対しては、多重選択が発生し得るようなアドレスの組み合わせを考慮したアドレスデータの作成や管理が不要となることから、オープン系の故障に起因した多重選択の不具合を簡易に検出することができる。 As a result, even though an H level signal capable of turning on all of these MOS transistors N11 to N14 is inputted from the address input terminals Pa0 to Pa3, those which do not normally shift to the on state are those MOSs. if present in the transistor N11~N14 is that amount, the combined resistance value is increased the number of on-resistance R oN 10~R oN 13 constituting a parallel combined resistance decreases. Therefore, in such a case, the comparator Cp10, the power supply voltage Vdd by a parallel combined resistance with the resistor R21 by a plurality of the on-resistance R ON 10~R ON 13 when MOS transistor N11~N14 are all in the on state Since a potential higher than the divided voltage is input, it is possible to detect the presence of a MOS transistor that does not normally shift to the ON state by the comparator Cp10. Thus, for such high on-resistance R ON 10~R ON 13 constructed address decoder 10 in MOS transistors having a 'create address data multiplexing selection considering combinations of addresses, such as may occur Since no management is required, it is possible to easily detect a problem of multiple selection caused by an open system failure.

なおここでは、検出装置20により検査する対象として、図1に示すアドレスデコーダ10から検出回路10cやMOSトランジスタN10を除いた構成を採っており、抵抗R10〜R13をMOSトランジスタN11〜N14の高オン抵抗RON10〜RON13として構成されたデコーダ回路10a’を有するアドレスデコーダ10’を例示して説明したが、これに限れることはなく、図1に示すアドレスデコーダ10から検出回路10cのみを除いた構成を採るデコーダ回路を有するアドレスデコーダ10を、当該他の実施形態に係る検出装置20により検査する対象にすることができる。この場合には、上述した「オン抵抗RON10〜RON13」を「抵抗R10〜R13」に読み替えることによって同様に説明することができる。 In this example, the detection device 20 is inspected by adopting a configuration in which the detection circuit 10c and the MOS transistor N10 are removed from the address decoder 10 shown in FIG. 1, and the resistors R10 to R13 are turned on by turning on the MOS transistors N11 to N14. resistance R oN 10~R has been illustrated and described the 'address decoder 10 having a' decoder circuit 10a configured as oN 13, never Kagireru thereto, only the detection circuit 10c from the address decoder 10 shown in FIG. 1 The address decoder 10 having a decoder circuit having a configuration excluding the above can be a target to be inspected by the detection device 20 according to the other embodiment. In this case, the same explanation can be made by replacing the above-mentioned “on resistances R ON 10 to R ON 13” with “resistances R 10 to R 13”.

なお、以上説明した各実施形態では、マスクROMの場合を例に説明したが、本発明のアドレスデコーダやその検査装置は、複数の半導体スイッチング素子の入出力が並列に接続されて基準電位と出力端子との間に介在する構成を採るデコーダであれば、EPROM等のデータの読み出しを主な使用形態とする各種半導体記憶装置にも適用でき、上述と同様の作用・効果を得ることができる。   In each of the embodiments described above, the case of the mask ROM has been described as an example. However, in the address decoder and the inspection device of the present invention, the input and output of a plurality of semiconductor switching elements are connected in parallel to output the reference potential and the output. Any decoder that employs a configuration intervening between the terminals can be applied to various semiconductor memory devices such as EPROM that mainly read data, and the same operations and effects as described above can be obtained.

また、以上説明した各実施形態では、アドレスデータとして、NOR型のデコーダを構成して説明したが、NAND側のデコードについても「入力端子からの信号レベルによってオンオフ制御可能な複数の半導体スイッチング素子で、それぞれの入出力が並列に接続されて基準電位と出力端子との間に介在するものを備えたアドレスデコーダ」であれば、上述と同様に構成することにより同様の作用・効果を得ることができる。   In each of the embodiments described above, a NOR-type decoder has been described as the address data. However, the decoding on the NAND side also includes “a plurality of semiconductor switching elements that can be controlled on and off according to the signal level from the input terminal”. If the address decoder has an input / output connected in parallel and interposed between the reference potential and the output terminal, the same operation and effect can be obtained by configuring in the same manner as described above. it can.

本発明の一実施形態に係るアドレスデコーダを内蔵したROMの一部を示すブロック図である。It is a block diagram which shows a part of ROM which incorporated the address decoder based on one Embodiment of this invention. 本実施形態に係るアドレスデコーダの構成を示す回路図である。It is a circuit diagram which shows the structure of the address decoder which concerns on this embodiment. 本実施形態に係るアドレスデコーダの動作を示すタイミングチャートで、図3(A) はデコード動作を示すもの、図3(B) はテスト動作を示すものである。3A and 3B are timing charts showing the operation of the address decoder according to the present embodiment. FIG. 3A shows a decoding operation and FIG. 3B shows a test operation. 本発明の他の実施形態に係るアドレスデコーダの検査装置を内蔵したROMの一部を示すブロック図である。It is a block diagram which shows a part of ROM incorporating the test | inspection apparatus of the address decoder which concerns on other embodiment of this invention.

符号の説明Explanation of symbols

10、10’…アドレスデコーダ
10a…デコーダ回路
10b…付加回路
10c…検出回路
10d…選択回路
20…検出装置
50…メモリセルマトリックス
A0、A1、A2、A3…アドレスバス(アドレス線)
CLK…クロックバス
Cp10…コンパレータ(電圧検出器)
E…アース(基準電位)
Fsg…フラグ信号
INV1…反転増幅器
N10…MOSトランジスタ(スイッチング手段)
N11、N12、N13、N14…MOSトランジスタ(複数の半導体スイッチング素子)
P10、P11、P12、P13、P14…MOSトランジスタ
Pa0、Pa1、Pa2、Pa3…アドレス入力端子(入力端子)
Pc…システムクロック入力端子
Pf…フラグ出力端子
Po…デコード出力端子(出力端子)
Ps…サンプリングクロック入力端子
R10、R11、R12、R13…抵抗R(複数の抵抗)
R21…抵抗(所定抵抗)
R22、R23…抵抗(電圧検出器)
ON10、RON11、RON12、RON13…オン抵抗
S10…サンプリング回路
Sck…サンプリングクロック
Sel…選択信号
SW1…スイッチ
Vdd…電源電圧(所定電位)
DESCRIPTION OF SYMBOLS 10, 10 '... Address decoder 10a ... Decoder circuit 10b ... Additional circuit 10c ... Detection circuit 10d ... Selection circuit 20 ... Detection apparatus 50 ... Memory cell matrix A0, A1, A2, A3 ... Address bus (address line)
CLK: Clock bus Cp10: Comparator (voltage detector)
E ... Earth (reference potential)
Fsg: Flag signal INV1: Inverting amplifier N10: MOS transistor (switching means)
N11, N12, N13, N14 ... MOS transistors (multiple semiconductor switching elements)
P10, P11, P12, P13, P14 ... MOS transistors Pa0, Pa1, Pa2, Pa3 ... Address input terminals (input terminals)
Pc: System clock input terminal Pf: Flag output terminal Po: Decode output terminal (output terminal)
Ps: Sampling clock input terminal R10, R11, R12, R13 ... Resistor R (multiple resistors)
R21: Resistance (predetermined resistance)
R22, R23 ... resistance (voltage detector)
R ON 10, R ON 11, R ON 12, R ON 13 ... ON resistance S10 ... Sampling circuit Sck ... Sampling clock Sel ... Selection signal SW1 ... Switch Vdd ... Power supply voltage (predetermined potential)

Claims (4)

ROMに内蔵されるアドレスデコーダにおいて、当該ROMのアドレス線に接続される入力端子からの信号レベルによってオンオフ制御可能な複数の半導体スイッチング素子で、それぞれの入出力が並列に接続されて基準電位と出力端子との間に介在するものを備えたアドレスデコーダであって、
前記基準電位と前記出力端子との間で前記複数の半導体スイッチング素子の入力側または出力側の少なくとも一方に介在する10kΩ以上100kΩ以下の複数の抵抗と、
前記出力端子を所定電位に接続する所定抵抗と、
前記出力端子を入力に接続するとともに前記複数の半導体スイッチング素子がすべてオン状態にあるときの前記複数の抵抗による並列合成抵抗と前記所定抵抗とによる前記所定電位の分圧よりも高い電位がこの入力に入力されたことを検出可能な電圧検出器と、
を備えることを特徴とするアドレスデコーダ。
In the address decoder built in the ROM, a plurality of semiconductor switching elements that can be controlled to be turned on and off according to the signal level from the input terminal connected to the address line of the ROM. An address decoder provided with an intervening terminal,
A plurality of resistors of 10 kΩ or more and 100 kΩ or less interposed between at least one of the input side and the output side of the plurality of semiconductor switching elements between the reference potential and the output terminal;
A predetermined resistor for connecting the output terminal to a predetermined potential;
When the output terminal is connected to the input, a potential higher than a divided voltage of the predetermined potential by the parallel combined resistance by the plurality of resistors and the predetermined resistance when the plurality of semiconductor switching elements are all in the ON state is input to the input terminal. A voltage detector capable of detecting the input to
An address decoder comprising:
前記基準電位と前記出力端子との間を短絡可能に外部から制御可能なスイッチング手段を備えることを特徴とする請求項1記載のアドレスデコーダ。   2. The address decoder according to claim 1, further comprising switching means that can be controlled from the outside so as to be short-circuited between the reference potential and the output terminal. 前記複数の抵抗に代えて、前記複数の半導体スイッチング素子のそれぞれのオン抵抗で、10kΩ以上100kΩ以下の抵抗値であるものを前記複数の抵抗として用いることを特徴とする請求項1または2記載のアドレスデコーダ。   3. The on-resistance of each of the plurality of semiconductor switching elements that has a resistance value of 10 kΩ or more and 100 kΩ or less is used as the plurality of resistors instead of the plurality of resistors. Address decoder. ROMに内蔵されるアドレスデコーダで、当該ROMのアドレス線に接続される入力端子からの信号レベルによってオンオフ制御される複数の半導体スイッチング素子で、オン抵抗が10kΩ以上100kΩ以下の抵抗値であり、それぞれの入出力が並列に接続されて基準電位と出力端子との間に介在するものを備えたアドレスデコーダを、検査するアドレスデコーダの検査装置であって、
前記出力端子を所定電位に接続する所定抵抗と、
前記出力端子を入力に接続するとともに前記複数の半導体スイッチング素子がすべてオン状態にあるときの前記複数の抵抗による並列合成抵抗と前記所定抵抗とによる前記所定電位の分圧よりも高い電位がこの入力に入力されたことを検出可能な電圧検出器と、
を備えることを特徴とするアドレスデコーダの検査装置。
A plurality of semiconductor switching elements that are on / off controlled by signal levels from input terminals connected to the address lines of the ROM, which are built-in address decoders in the ROM, and have on-resistances of 10 kΩ or more and 100 kΩ or less, respectively. An address decoder inspection device for inspecting an address decoder having an input / output connected in parallel and interposed between a reference potential and an output terminal,
A predetermined resistor for connecting the output terminal to a predetermined potential;
When the output terminal is connected to the input, a potential higher than a divided voltage of the predetermined potential by the parallel combined resistance by the plurality of resistors and the predetermined resistance when the plurality of semiconductor switching elements are all in the ON state is input to the input terminal. A voltage detector capable of detecting the input to
An inspection apparatus for an address decoder, comprising:
JP2006183172A 2006-07-03 2006-07-03 Address decoder and its inspection apparatus Pending JP2008016080A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006183172A JP2008016080A (en) 2006-07-03 2006-07-03 Address decoder and its inspection apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006183172A JP2008016080A (en) 2006-07-03 2006-07-03 Address decoder and its inspection apparatus

Publications (1)

Publication Number Publication Date
JP2008016080A true JP2008016080A (en) 2008-01-24

Family

ID=39072956

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006183172A Pending JP2008016080A (en) 2006-07-03 2006-07-03 Address decoder and its inspection apparatus

Country Status (1)

Country Link
JP (1) JP2008016080A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10600702B2 (en) 2018-03-29 2020-03-24 Samsung Electronics Co., Ltd. Test element group and semiconductor wafer including the same
CN112311378A (en) * 2019-10-12 2021-02-02 成都华微电子科技有限公司 Single-port mode selection circuit and multi-working mode integrated circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10600702B2 (en) 2018-03-29 2020-03-24 Samsung Electronics Co., Ltd. Test element group and semiconductor wafer including the same
CN112311378A (en) * 2019-10-12 2021-02-02 成都华微电子科技有限公司 Single-port mode selection circuit and multi-working mode integrated circuit
CN112311378B (en) * 2019-10-12 2022-06-03 成都华微电子科技股份有限公司 Single-port mode selection circuit and multi-working mode integrated circuit

Similar Documents

Publication Publication Date Title
KR100927783B1 (en) Fail Bit Verification Circuit and Verification Method of Memory Devices
KR100318266B1 (en) output data compression method and packet command driving type memory device
JP2010134994A (en) Semiconductor device and calibration method therefor
CN117501369A (en) Memory for scan chain testing of column redundancy logic and multiplexing
US8042404B2 (en) Stress detection circuit and semiconductor chip including same
US11568908B2 (en) Semiconductor device for detecting failure in address decoder
JP6360610B1 (en) Redundant circuit for SRAM device, SRAM device, and semiconductor device
WO2014109107A1 (en) Nonvolatile semiconductor storage device and method for testing same
JP2008016080A (en) Address decoder and its inspection apparatus
US5923899A (en) System for generating configuration output signal responsive to configuration input signal, enabling configuration, and providing status signal identifying enabled configuration responsive to the output signal
JPH11101858A (en) Semiconductor integrated circuit
KR100313555B1 (en) Nonvolatile semiconductor memory device having test circuit for testing erasing function thereof
JP2010015656A (en) Address decoder check circuit and its check method
JP2006349616A (en) Decoder circuit
KR101051943B1 (en) Semiconductor memory device
JP2009205258A (en) Semiconductor integrated circuit
KR950004871B1 (en) Semiconductor memory device having redundant circuit and method of testing to see whether or not redundant circuit is use therein
JP2007265518A (en) Test circuit of decoder
JP2009158043A (en) Semiconductor integrated circuit and unstable bit detection method of the same
JP4608891B2 (en) ROM decoder test circuit device
KR100186335B1 (en) Parallel test circuit of dram
JP4428733B2 (en) Semiconductor memory device
KR20240031058A (en) Semiconductor storage apparatus
US7434151B2 (en) Read control systems and methods
JP2009199640A (en) Memory test circuit and semiconductor memory device