JP2012053939A - Semiconductor memory, and method for setting test mode for the same - Google Patents

Semiconductor memory, and method for setting test mode for the same Download PDF

Info

Publication number
JP2012053939A
JP2012053939A JP2010194336A JP2010194336A JP2012053939A JP 2012053939 A JP2012053939 A JP 2012053939A JP 2010194336 A JP2010194336 A JP 2010194336A JP 2010194336 A JP2010194336 A JP 2010194336A JP 2012053939 A JP2012053939 A JP 2012053939A
Authority
JP
Japan
Prior art keywords
semiconductor memory
test
command
memory device
test mode
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.)
Withdrawn
Application number
JP2010194336A
Other languages
Japanese (ja)
Inventor
Sayuri Hayashi
小百合 林
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.)
Micron Memory Japan Ltd
Original Assignee
Elpida Memory Inc
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 Elpida Memory Inc filed Critical Elpida Memory Inc
Priority to JP2010194336A priority Critical patent/JP2012053939A/en
Publication of JP2012053939A publication Critical patent/JP2012053939A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a semiconductor memory which does not stop operation during a system test by solving the following problems: in a toggle type test mode setting circuit in which a setting code changes in a stepwise fashion each time a pulse is input, a setting code that is not originally designed by the semiconductor memory is sometimes input during the change and the semiconductor memory sometimes stops operation during the system test.SOLUTION: A holding circuit is provided to the test mode setting circuit and, by inputting a start signal from the outside of the semiconductor memory, the output from a counter is held.

Description

本発明は、半導体記憶装置及びそのテストモード設定方法に関する。特に、トグル式のテストモード設定回路を備える半導体記憶装置に関する。   The present invention relates to a semiconductor memory device and a test mode setting method thereof. In particular, the present invention relates to a semiconductor memory device including a toggle type test mode setting circuit.

半導体記憶装置の動作モードは、本来のメモリセルアレイに対するリードライト動作を行う通常動作モードと半導体記憶装置のテストを目的としたテストモードに大別することができる。半導体記憶装置のテストモードは様々な目的を持って使用される。例えば、設計段階では試作を行った半導体記憶装置が仕様で定められた通り動作するか確認するために用いられる。若しくは、半導体記憶装置が市場から不良品として返却された場合にはその不良の原因を解明するために用いられることもある。   The operation mode of the semiconductor memory device can be broadly classified into a normal operation mode for performing a read / write operation on the original memory cell array and a test mode for the purpose of testing the semiconductor memory device. The test mode of the semiconductor memory device is used for various purposes. For example, in the design stage, it is used to check whether the prototyped semiconductor memory device operates as defined in the specification. Alternatively, when the semiconductor memory device is returned as a defective product from the market, it may be used to elucidate the cause of the defect.

ここで、特許文献1には、特定の端子に過電圧信号を印加すると共にテスト回路にフリップフロップを設け、過電圧信号と特定の論理レベルの条件が揃った際にテストモードに遷移させることで、意図せず通常動作モードからテストモードに切り替わることを防止する技術が開示されている。   Here, in Patent Document 1, an overvoltage signal is applied to a specific terminal, a flip-flop is provided in a test circuit, and a transition is made to a test mode when an overvoltage signal and a specific logic level condition are met. A technique for preventing switching from the normal operation mode to the test mode is disclosed.

特開平5−288806号公報JP-A-5-288806

以下の分析は、本発明の観点からなされたものである。   The following analysis has been made from the viewpoint of the present invention.

上述のように、半導体記憶装置には通常動作モードとテストモードが存在するが、テストモードはその目的に応じ、様々な使われ方をする。例えば、テストモードを用いたテスタ評価では、半導体記憶装置を特定の条件下で動作させた場合にどのような挙動を示すか試験する。   As described above, the semiconductor memory device has a normal operation mode and a test mode, and the test mode is used in various ways depending on the purpose. For example, in the tester evaluation using the test mode, it is tested what behavior the semiconductor memory device exhibits when operated under specific conditions.

一方、テストモードを用いたシステムテストでは、半導体記憶装置を実使用の条件で動作させた場合に予め定められた仕様の範囲内で正しく動作をするかを試験する。   On the other hand, in the system test using the test mode, it is tested whether the semiconductor memory device operates correctly within a predetermined specification range when operated under actual use conditions.

このように、同じテストモードであってもその目的が違うため、テスタ評価であれば半導体記憶装置をテストモードにエントリーし、目的のテストモードに設定した後に動作させればよいが、システムテストでは目的のテストモードに予め設定してから動作させることはできない。即ち、システムテストでは、半導体記憶装置が動作している間にテストモードを変化させることで、半導体記憶装置の内部状態を変化させ、その変化に対する挙動を確認する事が求められるためである。   In this way, the purpose is different even in the same test mode, so for tester evaluation, the semiconductor memory device may be entered into the test mode and operated after setting to the target test mode. It cannot be operated after presetting to the target test mode. That is, in the system test, it is required to change the internal mode of the semiconductor memory device by changing the test mode while the semiconductor memory device is operating, and to confirm the behavior with respect to the change.

ここで、半導体記憶装置の通常動作時の動作モードの制御は複数の制御信号の組み合わせによって外部から与えられるコマンドをデコードすることによって行うが、テストモードの設定には、この制御信号の組み合わせのうち、通常動作時には、使用されない組み合わせによるテストコマンドを用いてテストモードに設定することができる。さらに、テストに使用するテストモードにおける設定値の種類が多い場合は、テストコマンドを与える毎に別の設定値に設定可能なトグル式のテストモード設定回路を用いることも可能である。   Here, the control of the operation mode during the normal operation of the semiconductor memory device is performed by decoding a command given from the outside by a combination of a plurality of control signals. In normal operation, the test mode can be set using a test command based on a combination that is not used. Further, when there are many kinds of setting values in the test mode used for the test, it is possible to use a toggle type test mode setting circuit which can be set to another setting value every time a test command is given.

トグル式のテストモード設定回路を備える半導体記憶装置では、テストコマンドによりテストモードに遷移すると共に、コマンドデコーダにおいて特定のコードが入力されるとそのコードをパルスに変換し、テストモード設定回路に出力する。トグル式のテストモード設定回路では、このパルスを受ける毎に設定コードに変換し、それぞれ異なるテストコードを出力し、それぞれ異なる設定値に設定する。トグル式のテストモード設定回路は、段階的な調整が必要なテストモードにおいて使用され、コマンドデコーダとテストモード設定回路の接続は一系統の信号により様々な設定を行うことができることから、テストコマンドの数を増やすことなく幅広いテストが可能であるという利点がある。図4にトグル式のテストモード設定回路の一例を示す。   In a semiconductor memory device equipped with a toggle type test mode setting circuit, the test mode is changed to a test mode, and when a specific code is input to the command decoder, the code is converted into a pulse and output to the test mode setting circuit. . In the toggle type test mode setting circuit, each time this pulse is received, it is converted into a setting code, a different test code is output, and a different setting value is set. The toggle test mode setting circuit is used in a test mode that requires stepwise adjustment, and the connection between the command decoder and the test mode setting circuit can be set in various ways with a single signal. There is an advantage that a wide range of tests can be performed without increasing the number. FIG. 4 shows an example of a toggle type test mode setting circuit.

このような、トグル式のテストモード設定回路では、パルスが入力される毎に段階的に設定コードが変化していくが、その変化の途中でそのテストでは用いることを想定していないような設定値を経由して所望の設定値を設定することがある。そのような場合には、半導体記憶装置はその途中に経由する設定値では正常動作することができず、システムテスト中に半導体記憶装置の動作が停止してしまうことがある。   In such a toggle test mode setting circuit, the setting code changes step by step each time a pulse is input, but the setting is not intended to be used in the test in the middle of the change. A desired set value may be set via the value. In such a case, the semiconductor memory device cannot operate normally with a setting value that passes along the way, and the operation of the semiconductor memory device may stop during the system test.

このように、半導体記憶装置のシステムテストにはテストモードの実施についての制限が存在し、自由度の高いテストが実施できず、設計完成度の向上や不良原因の早期発見を妨げる原因となっている。   As described above, there are restrictions on the execution of the test mode in the system test of the semiconductor memory device, a test with a high degree of freedom cannot be performed, and it becomes a cause that hinders improvement of the degree of completeness of design and early detection of the cause of failure. Yes.

以上のとおり、従来技術には、解決すべき問題点が存在する。   As described above, there are problems to be solved in the prior art.

本発明の一側面において、テストモード時に目的以外の設定コードを出力しないトグル式のテストモード設定回路を備える半導体記憶装置及びそのテストモード設定方法が、望まれる。   In one aspect of the present invention, a semiconductor memory device including a toggle type test mode setting circuit that does not output a setting code other than the target in a test mode and a test mode setting method thereof are desired.

本発明の第1の視点によれば、外部から与えられたコマンドとアドレスとに基づいて外部からリードライトアクセスが可能な複数のメモリセルを備えたメモリセルアレイと、前記外部から与えられたコマンドをデコードして前記リードライトアクセスを制御するコマンド制御部と、前記コマンド制御部が第1のテストコマンドをデコードした回数を計数するカウンタと、前記コマンド制御部が第2のテストコマンドをデコードしたときに前記カウンタの計数値に基づいて、テストモード設定コードを出力する保持回路と、を備える半導体記憶装置が提供される。   According to a first aspect of the present invention, a memory cell array including a plurality of memory cells that can be read / write accessed from the outside based on a command and an address given from the outside, and the command given from the outside A command control unit that decodes and controls the read / write access; a counter that counts the number of times the command control unit decodes the first test command; and when the command control unit decodes the second test command There is provided a semiconductor memory device comprising: a holding circuit that outputs a test mode setting code based on the count value of the counter.

本発明の第2の視点によれば、クロック信号に同期して外部から与えられるコマンドに基づいてリードライト動作を実行する同期式半導体記憶装置であって、前記外部から与えられたコマンドをデコードし、半導体記憶装置内部の動作を制御するコマンド制御部と、テストモード設定回路と、前記テストモード設定回路が設定したテストモードに基づいて半導体記憶装置内部のテストを実行するテスト実行回路と、を含み、前記テストモード設定回路は、前記コマンド制御部が第1のテストコマンドをデコードした回数を計数するカウンタと、前記コマンド制御部が第2のテストコマンドをデコードしたときに前記カウンタの計数値に基づいて所定のテストモードに設定する設定コードを出力する保持回路と、を備える半導体記憶装置が提供される。   According to a second aspect of the present invention, there is provided a synchronous semiconductor memory device that executes a read / write operation based on a command given from outside in synchronization with a clock signal, and decodes the command given from outside. A command control unit that controls the operation inside the semiconductor memory device, a test mode setting circuit, and a test execution circuit that executes a test inside the semiconductor memory device based on a test mode set by the test mode setting circuit. The test mode setting circuit is based on a counter that counts the number of times the command control unit has decoded the first test command, and based on a count value of the counter when the command control unit decodes the second test command. And a holding circuit that outputs a setting code for setting to a predetermined test mode. It is.

本発明の第3の視点によれば、外部から与えられたコマンドに基づいてリードライト動作が制御され、テストモード設定回路として、第1のテストコマンドが与えられた回数を計数するカウンタと、第2のテストコマンドが与えられたときに、前記カウンタの計数値をテストコードとして出力する保持回路と、を備えた半導体記憶装置のテストモード設定方法であって、あらかじめ設定しようとするテストモードに合わせて、前記半導体記憶装置に前記第1のテストコマンドを所定回与え、前記カウンタを所定の計数値に設定する第1のステップと、前記第1のステップの後、前記半導体記憶装置に第2のテストコマンドを与え、前記半導体記憶装置を所定のテストモードに設定する半導体記憶装置のテストモード設定方法が提供される。   According to the third aspect of the present invention, a read / write operation is controlled based on a command given from the outside, and a counter that counts the number of times the first test command is given as a test mode setting circuit; A test mode setting method for a semiconductor memory device, comprising: a holding circuit that outputs a count value of the counter as a test code when a test command of 2 is given, in accordance with a test mode to be set in advance A first step of giving the first test command to the semiconductor memory device a predetermined number of times and setting the counter to a predetermined count value; and a second step after the first step to the semiconductor memory device. A test mode setting method for a semiconductor memory device is provided in which a test command is given and the semiconductor memory device is set to a predetermined test mode.

本発明の各視点によれば、テストモード設定時に目的以外の設定値を経由することなく目的の設定値に設定することのできるトグル式のテストモード設定回路を備える半導体記憶装置が提供される。   According to each aspect of the present invention, there is provided a semiconductor memory device including a toggle type test mode setting circuit that can be set to a target setting value without passing through a setting value other than the target at the time of setting the test mode.

本発明の概要を説明するための図である。It is a figure for demonstrating the outline | summary of this invention. 本発明の実施に係るテストモード設定回路を有する半導体記憶装置の全体構成の一例である。1 is an example of an overall configuration of a semiconductor memory device having a test mode setting circuit according to an embodiment of the present invention. 図2の電源回路の内部構成の一例を示した図である。FIG. 3 is a diagram illustrating an example of an internal configuration of the power supply circuit of FIG. 2. 本発明の第1の実施形態に係るテストモード設定回路の内部構成を示したブロック図である。1 is a block diagram showing an internal configuration of a test mode setting circuit according to a first embodiment of the present invention. 図4におけるテストモード設定回路から出力される設定コードの変化を示す図である。FIG. 5 is a diagram showing a change in a setting code output from a test mode setting circuit in FIG. 4. 図4のテストモード設定回路から出力される設定コードに従って電源回路から出力される内部電圧VDD2の出力レベルを表した図である。FIG. 5 is a diagram illustrating an output level of an internal voltage VDD2 output from a power supply circuit in accordance with a setting code output from a test mode setting circuit of FIG. 図3のテストモード設定回路の内部構成の一例を示した図である。FIG. 4 is a diagram illustrating an example of an internal configuration of a test mode setting circuit in FIG. 3. 図7のテストモード設定回路から出力される設定コードに従って電源回路から出力される内部電圧VDD2の出力レベルを表した図である。It is a figure showing the output level of internal voltage VDD2 output from a power supply circuit according to the setting code output from the test mode setting circuit of FIG. 図7におけるテストモード設定回路から出力される設定コードの変化を示す図である。It is a figure which shows the change of the setting code output from the test mode setting circuit in FIG.

はじめに、図1を用いて本発明の概要について説明する。トグル式のテストモード設定回路では、半導体記憶装置の動作モードを指定するモード設定信号を用いて、テストモードの情報を入力する。このモード設定信号はコマンド制御部において第1のテストコマンドとしてデコードされ、パルス信号をテストモード設定回路に対して出力する。設定しようとする設定値に合わせてテストコマンドを所定回入力し、その都度出力されるパルス信号をカウンタによって計数し、出力を設定コードとして使用し、所望の設定値に設定する。その後、テストモード設定回路と接続されたテスト実行回路においてテストモードが実行される。   First, the outline of the present invention will be described with reference to FIG. In the toggle test mode setting circuit, test mode information is input using a mode setting signal for designating an operation mode of the semiconductor memory device. The mode setting signal is decoded as a first test command in the command control unit, and a pulse signal is output to the test mode setting circuit. A test command is input a predetermined number of times according to the setting value to be set, the pulse signal output each time is counted by a counter, and the output is used as a setting code to set a desired setting value. Thereafter, the test mode is executed in the test execution circuit connected to the test mode setting circuit.

しかし、上述のように、トグル式のテストモード設定回路では、パルス信号が入力される毎に段階的に設定コード(テストコード)が変化していくことから、変化の途中でそのテストモードでは想定していない設定コードが出力され、想定していない設定値が設定されてしまうことがある。そこで、テストモード設定回路にスタート信号によりカウンタが出力する設定コードを保持する保持回路を設ける。スタート信号は、コマンド制御部が第2のテストコマンドをデコードすることにより出力され、スタート信号が活性化されるまで、テストモード設定回路は、設定コードを外部へ出力することはない。即ち、テストモード設定回路にパルス信号が入力されただけでは設定コードは変化させず、スタート信号を契機に設定コードを有効にする構成とした。   However, as described above, in the toggle-type test mode setting circuit, the setting code (test code) changes step by step every time a pulse signal is input. A setting code that has not been set may be output and an unexpected setting value may be set. Therefore, a holding circuit for holding the setting code output from the counter in response to the start signal is provided in the test mode setting circuit. The start signal is output when the command control unit decodes the second test command, and the test mode setting circuit does not output the setting code to the outside until the start signal is activated. In other words, the setting code is not changed only by inputting a pulse signal to the test mode setting circuit, and the setting code is made effective in response to the start signal.

その結果、テストモード設定時に目的以外の設定コードを出力しない半導体記憶装置のテストモード設定回路を提供することができる。   As a result, it is possible to provide a test mode setting circuit for a semiconductor memory device that does not output a setting code other than the intended one when setting the test mode.

[第1の実施形態]
続いて、本発明の第1の実施形態について、図面を用いて詳細に説明する。まず始めに、本発明の一実施形態に係るテストモード設定回路を有する半導体記憶装置の基本的な説明を行う。図2が半導体記憶装置の全体構成を示したブロック図である。
[First Embodiment]
Next, a first embodiment of the present invention will be described in detail with reference to the drawings. First, a basic description of a semiconductor memory device having a test mode setting circuit according to an embodiment of the present invention will be given. FIG. 2 is a block diagram showing the overall configuration of the semiconductor memory device.

図2に示す半導体記憶装置は、クロック発生回路10、コマンド制御部20、メモリセルアクセス部30、メモリセルアレイ40、電源回路50から構成されている。   The semiconductor memory device shown in FIG. 2 includes a clock generation circuit 10, a command control unit 20, a memory cell access unit 30, a memory cell array 40, and a power supply circuit 50.

クロック発生回路10は、クロック信号CKを入力とし、コマンド制御部20やメモリセルアクセス部30などに内部クロック信号を供給する。また、外部から与えられるクロックイネーブル信号CKEがハイレベルのときに内部クロック信号を生成し、クロックイネーブル信号CKEがロウレベルのときは内部クロック信号の生成を停止する。   The clock generation circuit 10 receives the clock signal CK and supplies an internal clock signal to the command control unit 20, the memory cell access unit 30, and the like. Also, the internal clock signal is generated when the externally applied clock enable signal CKE is high level, and the generation of the internal clock signal is stopped when the clock enable signal CKE is low level.

コマンド制御部20は、外部から与えられるコマンド信号CMDに基づいてリードライト動作等半導体記憶装置全体の動作を制御する。コマンド制御部20は、コマンド信号CMDをデコードするコマンドデコーダを有し、外部コマンドに応じた内部コマンド信号を生成する。内部コマンド信号はメモリセルアクセス部30に対するリードライト動作の指示等である。また、コマンド制御部20は、テストモードを制御する信号として、第1のテストコマンドをデコードしたときに、コード設定パルス信号TCMDを1ショットパルスとして出力し、第2のテストコマンドをデコードしたときにテストモードスタート信号TSTを1ショットパルス信号として出力する。このコード設定パルス信号TCMDとテストモードスタート信号TSTについては、テストモード設定回路の動作を説明するときに改めて詳しく説明する。   The command control unit 20 controls the entire operation of the semiconductor memory device such as a read / write operation based on a command signal CMD given from the outside. The command control unit 20 has a command decoder that decodes the command signal CMD, and generates an internal command signal according to the external command. The internal command signal is a read / write operation instruction or the like for the memory cell access unit 30. The command control unit 20 outputs the code setting pulse signal TCMD as one shot pulse when decoding the first test command as a signal for controlling the test mode, and when decoding the second test command. A test mode start signal TST is output as a one-shot pulse signal. The code setting pulse signal TCMD and the test mode start signal TST will be described in detail again when the operation of the test mode setting circuit is described.

メモリセルアクセス部30は、半導体記憶装置の外部から与えられるデータ及びアドレス、コマンド制御部20がデコードした内部コマンド信号に基づいてメモリセルアレイ40に対するリードライトの制御を行う。書き込み動作時には、データ端子DQ0〜DQnから供給されたデータを所定のメモリセルに書き込む。また、読み出し動作時には、所定のメモリセルに保持されたデータを半導体記憶装置の外部へ出力する制御を行なう。   The memory cell access unit 30 performs read / write control on the memory cell array 40 based on data and addresses given from the outside of the semiconductor memory device and the internal command signal decoded by the command control unit 20. During the write operation, data supplied from the data terminals DQ0 to DQn is written to a predetermined memory cell. In a read operation, control is performed to output data held in a predetermined memory cell to the outside of the semiconductor memory device.

メモリセルアレイ40は、複数のワード線と、複数のビット線と、これらの交点にそれぞれ配置された複数のメモリセルと、を備えている。この複数のメモリセルにより外部から与えられたデータの保持を行う。   The memory cell array 40 includes a plurality of word lines, a plurality of bit lines, and a plurality of memory cells arranged at intersections thereof. Data supplied from outside is held by the plurality of memory cells.

電源回路50は外部から供給された電源から半導体記憶装置内部の各部で用いる電源電圧を生成する。   The power supply circuit 50 generates a power supply voltage used in each part in the semiconductor memory device from a power supply supplied from the outside.

続いて、上述のような構成を持つ半導体記憶装置のテストモード設定回路について説明する。半導体記憶装置におけるテストモードは、様々な目的を持って使用されるため半導体記憶装置の各部にテストモード設定回路は配置されている。   Next, a test mode setting circuit of the semiconductor memory device having the above configuration will be described. Since the test mode in the semiconductor memory device is used for various purposes, a test mode setting circuit is arranged in each part of the semiconductor memory device.

その中でも、トグル式のテストモード設定回路はメモリセルアクセス部30や電源回路50等で用いられている。メモリセルアクセス部30では、メモリセルアレイ40に対するリードライトのタイミングを細かく変更可能としている。さらに、電源回路50においては、内部電源の電圧を細かく変更可能にテストモード設定回路が配置されている。   Among them, the toggle type test mode setting circuit is used in the memory cell access unit 30, the power supply circuit 50, and the like. In the memory cell access unit 30, the read / write timing for the memory cell array 40 can be finely changed. Further, in the power supply circuit 50, a test mode setting circuit is arranged so that the voltage of the internal power supply can be finely changed.

例えば、電源回路50では、図3に示すように、外部から受け付けた電源VDDを内部電源VDD2に変換する変換回路51に対してテストモード設定回路52が接続されている。テストモード設定回路52はコマンド制御部20から供給されるコード設定パルス信号TCMDを設定コードに変換する。変換回路51では、前記設定コードに基づいて内部電圧VDD2の電圧値を変更する。   For example, in the power supply circuit 50, as shown in FIG. 3, a test mode setting circuit 52 is connected to a conversion circuit 51 that converts an externally received power supply VDD into an internal power supply VDD2. The test mode setting circuit 52 converts the code setting pulse signal TCMD supplied from the command control unit 20 into a setting code. The conversion circuit 51 changes the voltage value of the internal voltage VDD2 based on the setting code.

図4はテストモード設定回路52の内部構成を示す図である。テストモード設定回路52は4つのカウンタ521〜524と、4つのD型フリップフロップDFF1〜DFF4と、を備え、コード設定パルス信号TCMD及びテストモードスタート信号TSTを入力とする。各カウンタは縦続接続され、各カウンタとD型フリップフロップの接続は、カウンタ521の出力をD型フリップフロップDFF1のデータ端子に接続し、D型フリップフロップDFF1の出力をテストモード設定回路52の出力端子OUT1から出力する。カウンタ522〜524とD型フリップフロップDFF2〜DFF4の接続も同様である。   FIG. 4 is a diagram showing an internal configuration of the test mode setting circuit 52. The test mode setting circuit 52 includes four counters 521 to 524 and four D-type flip-flops DFF1 to DFF4, and receives a code setting pulse signal TCMD and a test mode start signal TST. Each counter is connected in cascade, and the connection between each counter and the D-type flip-flop is that the output of the counter 521 is connected to the data terminal of the D-type flip-flop DFF1, and the output of the D-type flip-flop DFF1 is the output of the test mode setting circuit 52. Output from terminal OUT1. The connection between the counters 522 to 524 and the D-type flip-flops DFF2 to DFF4 is the same.

また、コード設定パルス信号TCMDはカウンタ524の入力に接続され、カウンタ521〜524では入力信号を順次カウントアップする。さらに、テストモードスタート信号TSTはD型フリップフロップDFF1〜DFF4のクロック端子と接続されている。このような構成とした上で、各カウンタ521〜524の出力値をD型フリップフロップDFF1〜DFF4で保持し、設定コードとして出力する。図4のテストモード設定回路52は4つのカウンタを有していることから、4ビットに相当(16通り)する設定が可能となっている。   The code setting pulse signal TCMD is connected to the input of the counter 524, and the counters 521 to 524 sequentially count up the input signals. Further, the test mode start signal TST is connected to the clock terminals of the D-type flip-flops DFF1 to DFF4. With such a configuration, the output values of the counters 521 to 524 are held in the D-type flip-flops DFF1 to DFF4 and output as setting codes. Since the test mode setting circuit 52 of FIG. 4 has four counters, setting corresponding to four bits (16 types) can be performed.

次にテストモード設定回路52の動作を、図5を用いて説明する。図5は、テストモード設定回路52に入力されるコード設定パルス信号TCMD及びテストモードスタート信号TSTと、テストモード設定回路52から出力される設定コードの変化を示したものである。テストモードの実施の際にはテストモードスタート信号TSTをLレベルに保持したままテストモード設定回路52に対してコード設定パルス信号TCMDを順次入力し、所定の設定コードをカウンタ521〜524に設定する。その後、テストモードスタート信号TSTをHレベルに変化させ、その立ち上がりエッジでカウンタ521〜524に入力されたデータを取り込んで出力させる。図5の時刻t1でテストモードスタート信号TSTがHレベルになると、設定コードが出力される事が分かる。なお、コード設定パルス信号TCMDは、半導体記憶装置の外部から第1のテストコマンドが入力される毎にコマンド制御部20から1ショットパルスとして出力される信号であり、テストモードスタート信号TSTは、半導体記憶装置の外部から第2のテストコマンドが入力されるとコマンド制御部20から1ショットパルスとして出力される信号である。即ち、半導体記憶装置の外部から第1のテストコマンドを必要な回数だけ入力し、その後で第2のテストコマンドを入力することによって所望の設定コードを出力することができる。   Next, the operation of the test mode setting circuit 52 will be described with reference to FIG. FIG. 5 shows changes in the code setting pulse signal TCMD and the test mode start signal TST input to the test mode setting circuit 52 and the setting code output from the test mode setting circuit 52. When the test mode is performed, the code setting pulse signal TCMD is sequentially input to the test mode setting circuit 52 while the test mode start signal TST is held at the L level, and predetermined setting codes are set in the counters 521 to 524. . Thereafter, the test mode start signal TST is changed to the H level, and the data input to the counters 521 to 524 is taken in at the rising edge and output. When the test mode start signal TST becomes H level at time t1 in FIG. 5, it can be seen that the setting code is output. The code setting pulse signal TCMD is a signal output as one shot pulse from the command control unit 20 every time the first test command is input from the outside of the semiconductor memory device. The test mode start signal TST is When the second test command is input from the outside of the storage device, the signal is output from the command control unit 20 as one shot pulse. That is, a desired setting code can be output by inputting the first test command from the outside of the semiconductor memory device a required number of times and then inputting the second test command.

図6はテストモード設定回路52から、図5に示すような設定コードが出力された場合の変換回路51が出力する内部電圧VDD2の出力レベルを表した図である。図6の縦軸はテストモード設定回路52の設定に応じて変換回路51から出力される内部電圧VDD2の電圧を示している。図6から、時刻t1以前に第1のテストコマンドを入力し、コード設定パルス信号TCMDが出力されても、内部電圧VDD2は、電圧v1を維持し、時刻t1において第2のテストコマンドが入力され、テストモードスタート信号TSTが出力されると初めて、第1のテストコマンドにより設定されたカウンタ521〜524の計数値がテストモード設定回路から出力される設定コードに反映され、変換回路51が動作し、内部電圧VDD2の電圧値がv1からv2へと変化していることがわかる。   FIG. 6 is a diagram showing the output level of the internal voltage VDD2 output by the conversion circuit 51 when the setting code as shown in FIG. 6 indicates the voltage of the internal voltage VDD2 output from the conversion circuit 51 in accordance with the setting of the test mode setting circuit 52. From FIG. 6, even if the first test command is input before time t1 and the code setting pulse signal TCMD is output, the internal voltage VDD2 maintains the voltage v1, and the second test command is input at time t1. When the test mode start signal TST is output, the count values of the counters 521 to 524 set by the first test command are reflected in the setting code output from the test mode setting circuit, and the conversion circuit 51 operates. It can be seen that the voltage value of the internal voltage VDD2 changes from v1 to v2.

ここで、テストモード設定回路52のD型フリップフロップDFF1〜DFF4が存在しない場合について説明する。図7はD型フリップフロップDFF1〜DFF4が存在しない場合のテストモード設定回路52aの内部構成を示す図である。テストモード設定回路52aでは、カウンタ521〜524の出力がそのままテストモード設定回路の出力(設定コード)として出力されている。   Here, a case where the D-type flip-flops DFF1 to DFF4 of the test mode setting circuit 52 do not exist will be described. FIG. 7 is a diagram showing an internal configuration of the test mode setting circuit 52a when there are no D-type flip-flops DFF1 to DFF4. In the test mode setting circuit 52a, the outputs of the counters 521 to 524 are output as they are as the output (setting code) of the test mode setting circuit.

図8はテストモード設定回路52aから出力される設定コードに従って電源回路50の変換回路51が出力する内部電圧VDD2の出力レベルを表した図である。テストモード設定回路52aはコード設定パルス信号TCMDの入力回数で設定を変化させるものであるため、コード設定パルス信号TCMDが入力される毎に設定コードが変化し、その設定値が半導体記憶装置で予期しない値になる場合がある。   FIG. 8 is a diagram showing the output level of the internal voltage VDD2 output from the conversion circuit 51 of the power supply circuit 50 in accordance with the setting code output from the test mode setting circuit 52a. Since the test mode setting circuit 52a changes the setting according to the number of times the code setting pulse signal TCMD is input, the setting code changes each time the code setting pulse signal TCMD is input, and the setting value is expected in the semiconductor memory device. It may become a value that does not.

例えば、テストモード設定回路52aに対してコード設定パルス信号TCMDを順次入力し、時刻t2の設定から時刻t4の設定に変化させる場合を考える。この場合には、テストモード設定回路52aから出力される設定コードは一度時刻t3の設定コードを経由しなければならないため、変換回路51からv3という電圧を出力することになる。v3という電圧は、時刻t2で出力していた電圧v1と、時刻t4で出力しようとする電圧v2から大きく乖離した電圧であって、半導体記憶装置が動作することの出来ない電圧となる可能性がある。このように、遷移前と遷移後の設定から大きく乖離した設定値を経由すると、その設定内容によっては、半導体記憶装置は動作することができずテスト自体が実施不可能となる場合がある。図9は、この場合のテストモード設定回路52aから出力される設定コードの変化を示したものである。   For example, consider a case where the code setting pulse signal TCMD is sequentially input to the test mode setting circuit 52a to change from the setting at time t2 to the setting at time t4. In this case, since the setting code output from the test mode setting circuit 52a must once pass through the setting code at time t3, the voltage v3 is output from the conversion circuit 51. The voltage v3 is a voltage greatly deviating from the voltage v1 output at time t2 and the voltage v2 to be output at time t4, and may be a voltage at which the semiconductor memory device cannot operate. is there. As described above, when the setting value greatly deviates from the setting before and after the transition, depending on the setting content, the semiconductor memory device may not operate and the test itself may not be performed. FIG. 9 shows a change in the setting code output from the test mode setting circuit 52a in this case.

このように、半導体記憶装置の外部からコマンド信号やアドレス信号を入力し、コマンド信号とアドレス信号との組み合わせによって、テストコマンドを入力し、テストコマンドをデコードするコマンド制御部20を備える半導体記憶装置において、コマンド制御部20がテストコマンドをデコードし、テストモードスタート信号STSを発行したときのカウンタの計数値に基づいてそれぞれ異なった設定コードを出力し、この設定コードの値により異なる設定値に基づきテストモードの実行が可能になる。さらに、テストモード設定回路52に各カウンタが出力する設定コードを保持する保持回路を設け、テストモードスタート信号STSに基づき各カウンタの出力が反映され、今まで実施することが出来なかったテストも実行することが可能になり、設計及び不良品解析時におけるテストの幅が広がる。なお、図2では、コマンド制御部20は、コマンド信号CMDをデコードすることとしているが、第1のテストコマンド、第2のテストコマンドのデコードには、アドレス信号A0〜An等コマンド信号CMD以外の信号のコマンドのデコードに用いることができることはもちろんである。   As described above, in a semiconductor memory device including a command control unit 20 that inputs a command signal or an address signal from the outside of the semiconductor memory device, inputs a test command by a combination of the command signal and the address signal, and decodes the test command. The command control unit 20 decodes the test command and outputs different setting codes based on the count value of the counter when the test mode start signal STS is issued. The mode can be executed. Furthermore, the test mode setting circuit 52 is provided with a holding circuit for holding the setting code output by each counter, and the output of each counter is reflected based on the test mode start signal STS, and a test that could not be performed so far is also executed. And the range of tests during design and analysis of defective products is expanded. In FIG. 2, the command control unit 20 decodes the command signal CMD. However, for decoding the first test command and the second test command, other than the command signal CMD such as the address signals A0 to An. Of course, it can be used for decoding the command of the signal.

なお、上記の特許文献等の各開示を、本書に引用をもって繰り込むものとする。本発明の全開示(請求の範囲を含む)の枠内において、さらにその基本的技術思想に基づいて、実施形態の変更・調整が可能である。また、本発明の請求の範囲の枠内において種々の開示要素の多様な組み合わせないし選択が可能である。すなわち、本発明は、請求の範囲を含む全開示、技術的思想にしたがって当業者であればなし得るであろう各種変形、修正を含むことは勿論である。例えば、半導体記憶装置が複数のテストモード設定回路を備える場合、特定のテストモード設定回路に対してのみコード設定パルス信号及びテストモードスタート信号を出力し、特定のテストモード設定回路のみを独立して動作させる第1のテストコマンド及び第2のテストコマンドを用意することが可能である。若しくは、複数のテストモード設定回路に対してコード設定パルス信号及びテストモードスタート信号を出力し、複数のテストモード回路を動作させる第1のテストコマンド及び第2のテストコマンドを用意することも可能である。   It should be noted that the disclosures of the above patent documents and the like are incorporated herein by reference. Within the scope of the entire disclosure (including claims) of the present invention, the embodiment can be changed and adjusted based on the basic technical concept. Various combinations and selections of various disclosed elements are possible within the scope of the claims of the present invention. That is, the present invention of course includes various variations and modifications that could be made by those skilled in the art according to the entire disclosure including the claims and the technical idea. For example, when the semiconductor memory device includes a plurality of test mode setting circuits, the code setting pulse signal and the test mode start signal are output only to the specific test mode setting circuit, and only the specific test mode setting circuit is independently provided. It is possible to prepare a first test command and a second test command to be operated. Alternatively, the first test command and the second test command for operating the plurality of test mode circuits can be prepared by outputting the code setting pulse signal and the test mode start signal to the plurality of test mode setting circuits. is there.

10 クロック発生回路
20 コマンド制御部
30 メモリセルアクセス部
40 メモリセルアレイ
50 電源回路
51 変換回路
52、52a テストモード設定回路
521〜524 カウンタ
DFF1〜DFF4 D型フリップフロップ
DESCRIPTION OF SYMBOLS 10 Clock generation circuit 20 Command control part 30 Memory cell access part 40 Memory cell array 50 Power supply circuit 51 Conversion circuit 52, 52a Test mode setting circuit 521-524 Counter DFF1-DFF4 D type flip-flop

Claims (13)

外部から与えられたコマンドとアドレスとに基づいて外部からリードライトアクセスが可能な複数のメモリセルを備えたメモリセルアレイと、
前記外部から与えられたコマンドをデコードして前記リードライトアクセスを制御するコマンド制御部と、
前記コマンド制御部が第1のテストコマンドをデコードした回数を計数するカウンタと、
前記コマンド制御部が第2のテストコマンドをデコードしたときに前記カウンタの計数値に基づいて、テストモード設定コードを出力する保持回路と、
を備えることを特徴とする半導体記憶装置。
A memory cell array comprising a plurality of memory cells capable of external read / write access based on an externally given command and address;
A command control unit for decoding the command given from the outside and controlling the read / write access;
A counter for counting the number of times the command control unit has decoded the first test command;
A holding circuit that outputs a test mode setting code based on a count value of the counter when the command control unit decodes a second test command;
A semiconductor memory device comprising:
前記コマンド制御部は、第1のテストコマンドをデコードしたときにパルス信号を出力し、
前記カウンタは、それぞれ所定の計数値を出力するn(但し、nは2以上の整数)段縦続接続されたカウンタ回路を備え、前記n段縦続接続されたカウンタ回路のうち、初段のカウンタ回路である第1のカウンタ回路が前記パルス信号を入力とし、前記第1のカウンタ回路以外のカウンタ回路が前段のカウンタ回路の計数値を入力とする請求項1の半導体記憶装置。
The command control unit outputs a pulse signal when the first test command is decoded,
The counter includes counter circuits that are cascaded in n (where n is an integer of 2 or more) stages that output predetermined count values, and the counter circuit in the first stage among the counter circuits that are cascaded in n stages. 2. The semiconductor memory device according to claim 1, wherein a first counter circuit receives the pulse signal and a counter circuit other than the first counter circuit receives the count value of the counter circuit in the previous stage.
前記保持回路は、前記第1乃至第nのカウンタ回路の各出力に接続され、前記コマンド制御部が前記第2のテストコマンドをデコードしたときに出力するスタート信号に基づいてそれぞれのカウンタ回路の出力をラッチするn個のラッチ回路を備える請求項2の半導体記憶装置。   The holding circuit is connected to each output of the first to n-th counter circuits, and based on a start signal output when the command control unit decodes the second test command, an output of each counter circuit 3. The semiconductor memory device according to claim 2, further comprising n latch circuits for latching. 前記n個のラッチ回路はD型フリップフロップであり、前記第1乃至第nのD型フリップフロップのクロック端子に前記スタート信号が接続されると共に、前記第1乃至第nのカウンタ回路の出力が前記第1乃至第nのD型フリップフロップのデータ端子に接続されている請求項3の半導体記憶装置。   The n latch circuits are D-type flip-flops, and the start signal is connected to clock terminals of the first to n-th D-type flip-flops, and outputs of the first to n-th counter circuits are 4. The semiconductor memory device according to claim 3, wherein the semiconductor memory device is connected to data terminals of the first to n-th D-type flip-flops. 前記保持回路は、前記コマンド制御部が第2のテストコマンドをデコードしたときの前記カウンタの計数値に基づいてそれぞれ異なった設定コードを出力し、前記設定コードの値によって、それぞれ異なるテストモードの実行が可能な請求項1乃至4いずれか一に記載の半導体記憶装置。   The holding circuit outputs different setting codes based on the count value of the counter when the command control unit decodes the second test command, and executes different test modes depending on the value of the setting code 5. The semiconductor memory device according to claim 1, wherein 前記コマンド制御部は、外部からコマンド信号の他、アドレス信号を入力し、前記コマンド信号とアドレス信号との組み合わせによって、前記第1のテストコマンド及び第2のテストコマンドをデコードする請求項1乃至5いずれか一に記載の半導体記憶装置。   6. The command control unit inputs an address signal in addition to a command signal from the outside, and decodes the first test command and the second test command by a combination of the command signal and the address signal. The semiconductor memory device according to any one of the above. 外部から与えられた電源電圧を内部電源電圧に変換する電源回路をさらに備え、前記電源回路は、前記設定コードによって内部電源電圧の電圧値が設定される請求項1乃至6いずれか一に記載の半導体記憶装置。   7. The power supply circuit according to claim 1, further comprising a power supply circuit that converts an externally supplied power supply voltage into an internal power supply voltage, wherein the power supply circuit has a voltage value of the internal power supply voltage set by the setting code. Semiconductor memory device. クロック入力端子を備え、前記半導体記憶装置は、前記クロック入力端子から与えられるクロック信号に同期して動作する同期式半導体記憶装置であることを特徴とする請求項1乃至7いずれか一に記載の半導体記憶装置。   8. The synchronous semiconductor memory device according to claim 1, further comprising a clock input terminal, wherein the semiconductor memory device is a synchronous semiconductor memory device that operates in synchronization with a clock signal supplied from the clock input terminal. Semiconductor memory device. クロック信号に同期して外部から与えられるコマンドに基づいてリードライト動作を実行する同期式半導体記憶装置であって、
前記外部から与えられたコマンドをデコードし、半導体記憶装置内部の動作を制御するコマンド制御部と、
テストモード設定回路と、
前記テストモード設定回路が設定したテストモードに基づいて半導体記憶装置内部のテストを実行するテスト実行回路と、
を含み、
前記テストモード設定回路は、
前記コマンド制御部が第1のテストコマンドをデコードした回数を計数するカウンタと、
前記コマンド制御部が第2のテストコマンドをデコードしたときに前記カウンタの計数値に基づいて所定のテストモードに設定する設定コードを出力する保持回路と、
を備えることを特徴とする半導体記憶装置。
A synchronous semiconductor memory device that executes a read / write operation based on a command given from outside in synchronization with a clock signal,
A command control unit that decodes a command given from the outside and controls the operation inside the semiconductor memory device;
A test mode setting circuit;
A test execution circuit for executing a test inside the semiconductor memory device based on a test mode set by the test mode setting circuit;
Including
The test mode setting circuit includes:
A counter for counting the number of times the command control unit has decoded the first test command;
A holding circuit that outputs a setting code for setting a predetermined test mode based on a count value of the counter when the command control unit decodes a second test command;
A semiconductor memory device comprising:
半導体記憶装置内の複数の被テスト回路にそれぞれ対応して前記テスト実行回路が複数設けられ、前記複数のテスト実行回路にそれぞれ対応して前記テストモード設定回路が複数設けられている請求項9の半導体記憶装置。   10. The plurality of test execution circuits are provided corresponding to the plurality of circuits under test in the semiconductor memory device, and the plurality of test mode setting circuits are provided corresponding to the plurality of test execution circuits, respectively. Semiconductor memory device. さらに、前記第1のテストコマンド及び第2のテストコマンドは、前記複数のテストモード設定回路それぞれに対応して前記コマンド制御部によるデコード結果が異なる請求項10の半導体記憶装置。   The semiconductor memory device according to claim 10, wherein the first test command and the second test command have different decoding results by the command control unit corresponding to each of the plurality of test mode setting circuits. 外部から与えられたコマンドに基づいてリードライト動作が制御され、テストモード設定回路として、第1のテストコマンドが与えられた回数を計数するカウンタと、第2のテストコマンドが与えられたときに、前記カウンタの計数値をテストコードとして出力する保持回路と、を備えた半導体記憶装置のテストモード設定方法であって、
あらかじめ設定しようとするテストモードに合わせて、前記半導体記憶装置に前記第1のテストコマンドを所定回与え、前記カウンタを所定の計数値に設定する第1のステップと、
前記第1のステップの後、前記半導体記憶装置に第2のテストコマンドを与え、前記半導体記憶装置を所定のテストモードに設定することを特徴とする半導体記憶装置のテストモード設定方法。
The read / write operation is controlled based on a command given from the outside, and as a test mode setting circuit, a counter for counting the number of times the first test command is given, and a second test command are given, A test mode setting method for a semiconductor memory device, comprising: a holding circuit that outputs a count value of the counter as a test code;
A first step of giving the first test command to the semiconductor memory device a predetermined number of times in accordance with a test mode to be set in advance, and setting the counter to a predetermined count value;
A test mode setting method for a semiconductor memory device, wherein after the first step, a second test command is given to the semiconductor memory device to set the semiconductor memory device to a predetermined test mode.
前記所定のテストモードが前記カウンタの計数値に基づいて、内部電源電圧が設定されるテストモードである請求項12の半導体記憶装置のテストモード設定方法。   13. The test mode setting method for a semiconductor memory device according to claim 12, wherein the predetermined test mode is a test mode in which an internal power supply voltage is set based on a count value of the counter.
JP2010194336A 2010-08-31 2010-08-31 Semiconductor memory, and method for setting test mode for the same Withdrawn JP2012053939A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010194336A JP2012053939A (en) 2010-08-31 2010-08-31 Semiconductor memory, and method for setting test mode for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010194336A JP2012053939A (en) 2010-08-31 2010-08-31 Semiconductor memory, and method for setting test mode for the same

Publications (1)

Publication Number Publication Date
JP2012053939A true JP2012053939A (en) 2012-03-15

Family

ID=45907095

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010194336A Withdrawn JP2012053939A (en) 2010-08-31 2010-08-31 Semiconductor memory, and method for setting test mode for the same

Country Status (1)

Country Link
JP (1) JP2012053939A (en)

Similar Documents

Publication Publication Date Title
US6871297B2 (en) Power-on state machine implementation with a counter to control the scan for products with hard-BISR memories
US7607055B2 (en) Semiconductor memory device and method of testing the same
US6331958B2 (en) Semiconductor memory device having data parallel/serial conversion function and capable of efficiently performing operational test
JP2010003389A (en) Semiconductor memory device and test method of semiconductor memory device
US7619433B2 (en) Test circuit for a semiconductor integrated circuit
US10325669B2 (en) Error information storage circuit and semiconductor apparatus including the same
JP2013065375A (en) Semiconductor integrated circuit
JPH0383299A (en) Semiconductor storage device
KR100493028B1 (en) Circuit and method of generating mode register set(MRS) code in semiconductor memory device
US9165678B2 (en) Semiconductor memory device and method for operating the same
US9013931B2 (en) Semiconductor memory device and method for testing the same
US20160307639A1 (en) Semiconductor device and method of driving the same
US10566074B2 (en) Test mode control circuit
US7688657B2 (en) Apparatus and method for generating test signals after a test mode is completed
KR100604888B1 (en) Integrated circuit apparatus having improved test circuit and test method of the integrated circuit apparatus
US8767480B2 (en) Semiconductor memory device and method of operating the same
JP7299423B2 (en) test circuit
WO2022083146A1 (en) Repair circuit and memory
JP2012053939A (en) Semiconductor memory, and method for setting test mode for the same
CN118230779A (en) Enable signal generating circuit and semiconductor device using the same
KR100871691B1 (en) Method of Parallel Bit Test and semiconductor memory device using the method
US9053776B2 (en) Setting information storage circuit and integrated circuit chip including the same
US11640843B2 (en) Semiconductor memory device and operating method thereof
JP2013149332A (en) Memory device and test method for memory device
US7685483B1 (en) Design features for testing integrated circuits

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20131105