JP5344577B2 - Memory control apparatus and control method - Google Patents

Memory control apparatus and control method Download PDF

Info

Publication number
JP5344577B2
JP5344577B2 JP2009036376A JP2009036376A JP5344577B2 JP 5344577 B2 JP5344577 B2 JP 5344577B2 JP 2009036376 A JP2009036376 A JP 2009036376A JP 2009036376 A JP2009036376 A JP 2009036376A JP 5344577 B2 JP5344577 B2 JP 5344577B2
Authority
JP
Japan
Prior art keywords
memory
odt
error
memory elements
control unit
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.)
Expired - Fee Related
Application number
JP2009036376A
Other languages
Japanese (ja)
Other versions
JP2010191761A (en
Inventor
栄司 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Computertechno Ltd
Original Assignee
NEC Computertechno Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP2009036376A priority Critical patent/JP5344577B2/en
Publication of JP2010191761A publication Critical patent/JP2010191761A/en
Application granted granted Critical
Publication of JP5344577B2 publication Critical patent/JP5344577B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Debugging And Monitoring (AREA)
  • Memory System (AREA)
  • Dram (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a memory controller and a memory control method, capable of reducing electric power consumption, and capable of maintaining signal quality. <P>SOLUTION: This memory controller is a memory controller connectable to a plurality of memory elements having an ODT (On Die Termination) function, and includes a diagnostic device 2, a memory end terminal resistance control part 7, and an ECC circuit 8. The memory end terminal resistance control part 7 outputs an ODT control signal for controlling use of an ODT or nonuse thereof in each of the plurality of memory elements, and the ECC circuit 8 detects an error of a data output from the plurality of memory elements. The diagnostic device 2 switches the setting of use of the ODT in each of the plurality of memory elements, based on information of an ODT use situation and the error, during system operation. <P>COPYRIGHT: (C)2010,JPO&amp;INPIT

Description

本発明はメモリ制御装置及び制御方法に関し、特に、On Die Termination(ODT)機能を有する複数のメモリ素子の制御装置及び制御方法に関する。   The present invention relates to a memory control device and a control method, and more particularly, to a control device and a control method for a plurality of memory elements having an on die termination (ODT) function.

メモリインタフェースのデータ転送速度は年々向上しており、今まで気にされていなかったインピーダンス不整合によって発生する電気(反射)ノイズが問題視されている。このノイズを抑えるために伝送線路の末端に終端抵抗を付け、電気ノイズを抑え信号品質を向上させている。   The data transfer speed of the memory interface has been improved year by year, and electrical (reflection) noise generated by impedance mismatch that has not been considered so far has been regarded as a problem. In order to suppress this noise, a terminating resistor is attached to the end of the transmission line to suppress electrical noise and improve signal quality.

汎用SDRAMのDDR2以降、メモリ素子に終端抵抗が内蔵されている。内蔵の終端抵抗は外付けの終端抵抗に比べ「オン/オフ」制御が簡単にでき、かつ実装密度も高く出来るという利点を有している。一般的に、ODT機能を有するメモリ素子が広く使用されている。   Since DDR2 of the general-purpose SDRAM, a termination resistor is built in the memory element. The built-in termination resistor has an advantage that “on / off” control can be easily performed and mounting density can be increased as compared with an external termination resistor. In general, memory devices having an ODT function are widely used.

しかしながら、メモリ素子のODTをオンにすることにより信号品質を向上できるという利点がある反面、多くのメモリ素子のODTをオンにすることによってメモリ素子の消費電力を増大させるという欠点がある。   However, there is an advantage that the signal quality can be improved by turning on the ODT of the memory element, but there is a disadvantage that the power consumption of the memory element is increased by turning on the ODT of many memory elements.

上記の問題点を解消するため、特許文献1に記載の半導体記憶装置では、メモリ素子単位でODT制御信号を有し、きめ細かなODT制御を実現している。これにより、データ転送に影響を及ぼさない範囲で不要なODT制御を抑止させ、消費電力を低減させることを可能としている。   In order to solve the above problems, the semiconductor memory device described in Patent Document 1 has an ODT control signal for each memory element and realizes fine ODT control. As a result, unnecessary ODT control can be suppressed within a range that does not affect data transfer, and power consumption can be reduced.

しかし、初期化段階でプログラマブルにODTの未使用を決定したとしても、データ転送の信号品質は転送データのパタンや温度条件等に依存するため、信号品質が初期化時に比べシステム運用状態の方が低下するという欠点がある。   However, even if the ODT is determined not to be used programmatically at the initialization stage, the signal quality of the data transfer depends on the pattern and temperature conditions of the transfer data, so the signal quality is better in the system operating state than at the time of initialization. There is a drawback of lowering.

特開2008−102706号公報JP 2008-102706 A

特許文献1では、信号品質が初期化時に比べて、システム運用状態のほうが低下してしまうという問題点がある。   In Patent Document 1, there is a problem that the system operation state is deteriorated compared with the signal quality at the time of initialization.

本発明は、このような事情を背景としてなされたものであり、本発明の目的は、消費電力を低減させるとともに、信号品質を維持することが可能なメモリ制御装置及び制御方法を提供することを目的とする。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide a memory control device and a control method capable of reducing power consumption and maintaining signal quality. Objective.

本発明の一態様に係るメモリ制御装置は、ODT(On Die Termination)機能を有する複数のメモリ素子に接続可能なメモリ制御装置であって、前記複数のメモリ素子毎にODTを使用とするか未使用とするかを制御するためのODT制御信号を出力するメモリ終端抵抗制御部と、前記複数のメモリ素子から送出されるデータのエラーを検出するエラー検出部と、前記複数のメモリのシステム運用中において、前記複数のメモリ素子のODT使用状況及び前記エラーの情報に基づいて、前記複数のメモリ素子のODT使用設定を切り換える診断装置とを備えるものである。   A memory control device according to an aspect of the present invention is a memory control device that can be connected to a plurality of memory elements having an ODT (On Die Termination) function, and uses an ODT for each of the plurality of memory elements. A memory termination resistance control unit that outputs an ODT control signal for controlling whether to use, an error detection unit that detects an error in data transmitted from the plurality of memory elements, and a system operation of the plurality of memories And a diagnostic device for switching the ODT usage setting of the plurality of memory elements based on the ODT usage status of the plurality of memory elements and the error information.

本発明の他の態様に係る制御方法は、ODT(On Die Termination)機能を有する複数のメモリ素子の制御方法であって、前記複数のメモリ素子から送出されるデータのエラーを検出し、前記複数のメモリのシステム運用中において、前記複数のメモリ素子のODT使用状況及び前記エラーの情報に基づいて、前記複数のメモリ素子のODT使用設定を切り換える。   A control method according to another aspect of the present invention is a method for controlling a plurality of memory elements having an ODT (On Die Termination) function, detecting errors in data transmitted from the plurality of memory elements, and During the operation of the memory system, the ODT usage setting of the plurality of memory elements is switched based on the ODT usage status of the plurality of memory elements and the error information.

本発明によれば、消費電力を低減させるとともに、信号品質を維持することが可能なメモリ制御装置及び制御方法を提供することができる。   According to the present invention, it is possible to provide a memory control device and a control method capable of reducing power consumption and maintaining signal quality.

実施の形態1に係るメモリ制御装置を搭載した半導体記憶装置の構成の一例を示す図である。1 is a diagram illustrating an example of a configuration of a semiconductor memory device on which a memory control device according to a first embodiment is mounted. 実施の形態1に係るメモリ制御装置のメモリコントローラの構成の一例を示す図である。3 is a diagram illustrating an example of a configuration of a memory controller of the memory control device according to the first embodiment. FIG. 実施の形態1に係るメモリ制御装置のメモリ終端抵抗制御部の構成の一例を示す図である。3 is a diagram illustrating an example of a configuration of a memory termination resistance control unit of the memory control device according to the first embodiment. FIG. 各メモリ素子のODT使用/未使用設定の例を示す図である。It is a figure which shows the example of ODT use / non-use setting of each memory element. 診断装置に格納されるエラー情報の一例を示す図である。It is a figure which shows an example of the error information stored in a diagnostic apparatus. ODT設定動作を説明するためのタイミングチャートである。It is a timing chart for demonstrating ODT setting operation | movement. ODT設定動作を説明するためのタイミングチャートである。It is a timing chart for demonstrating ODT setting operation | movement.

本発明の実施の形態に係るメモリ制御装置について、図1〜図3を参照して説明する。図1は、本実施の形態に係るメモリ制御装置を搭載した半導体記憶装置の構成の一例を示す図である。図2は、図1に示すメモリコントローラ1の構成の一例を詳細に示す図である。図1に示すように、本実施の形態に係る半導体記憶装置は、メモリコントローラ1、診断装置2、メモリ素子3を備えている。   A memory control device according to an embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a diagram showing an example of a configuration of a semiconductor memory device equipped with a memory control device according to the present embodiment. FIG. 2 is a diagram showing in detail an example of the configuration of the memory controller 1 shown in FIG. As shown in FIG. 1, the semiconductor memory device according to the present embodiment includes a memory controller 1, a diagnostic device 2, and a memory element 3.

メモリ素子3は、ODT(On Die Termination)機能を有する。本発明は、このODT機能を有する複数のメモリ素子3に接続可能なメモリ制御装置に関するものである。メモリコントローラ1は、メモリ終端抵抗制御部7、ECC回路8を備える。メモリ制御装置は、診断装置2、メモリ終端抵抗制御部7、ECC回路8を含む。   The memory element 3 has an ODT (On Die Termination) function. The present invention relates to a memory control device that can be connected to a plurality of memory elements 3 having the ODT function. The memory controller 1 includes a memory termination resistance control unit 7 and an ECC circuit 8. The memory control device includes a diagnostic device 2, a memory termination resistance control unit 7, and an ECC circuit 8.

本実施の形態では、メモリ素子31、・・・、3nのn個のメモリ素子3が設けられているものとする。メモリコントローラ1とn個のメモリ素子3は、それぞれ配線を介して接続されている。メモリコントローラ1とn個のメモリ素子3の配線長は、それぞれ異なる。   In the present embodiment, it is assumed that n memory elements 3 of memory elements 31 to 3n are provided. The memory controller 1 and the n memory elements 3 are connected to each other via wiring. The wiring lengths of the memory controller 1 and the n memory elements 3 are different from each other.

メモリ終端抵抗制御部7は、n個のメモリ素子3それぞれに対し、ODTを使用又は未使用とするODT信号を送出する。ECC回路8は、複数のメモリ素子3から送出されるデータのエラーを検出するエラー検出部である。   The memory termination resistance control unit 7 sends an ODT signal for using or not using the ODT to each of the n memory elements 3. The ECC circuit 8 is an error detection unit that detects an error in data transmitted from the plurality of memory elements 3.

診断装置2は、メモリコントローラ1に接続されるn個のメモリ素子のODT使用状況を管理する。また、診断装置2は、システム運用中に検出された訂正可能エラーの履歴管理を行う。診断装置2は、メモリ素子のODT使用状況及び訂正可能エラーの履歴に基づいて、メモリ素子のODT使用状態設定値を動的に切り換える。メモリ制御装置の動作については、後に詳述する。   The diagnostic device 2 manages the ODT usage status of n memory elements connected to the memory controller 1. Further, the diagnostic device 2 performs history management of correctable errors detected during system operation. The diagnostic device 2 dynamically switches the ODT usage state setting value of the memory element based on the ODT usage status of the memory element and the history of correctable errors. The operation of the memory control device will be described in detail later.

図2に示すように、メモリコントローラ1は、診断インタフェース制御部4、CPU(Central Processing Unit)インタフェース制御部5、メモリコマンド制御部6、メモリ終端抵抗制御部7、ECC(Error Correcting Code)回路8、メモリデータ制御部9を有している。   As shown in FIG. 2, the memory controller 1 includes a diagnostic interface control unit 4, a CPU (Central Processing Unit) interface control unit 5, a memory command control unit 6, a memory termination resistance control unit 7, and an ECC (Error Correcting Code) circuit 8. The memory data control unit 9 is included.

診断インタフェース制御部4は、診断装置2からの動作要求を制御する。CPUインタフェース制御部5は、CPUからのライト、リードリクエストを受け付ける。メモリコマンド制御部6は、n個のメモリ素子3に対しライト、リードするためのイトデコマンド及びアドレスを送出する。   The diagnostic interface control unit 4 controls an operation request from the diagnostic device 2. The CPU interface control unit 5 accepts write and read requests from the CPU. The memory command control unit 6 sends a data command and an address for writing and reading to the n memory elements 3.

メモリ終端抵抗制御部7は、メモリ素子3の単位でODT信号を有しており、n個のメモリ素子3それぞれのODT使用/未使用を制御することができる。これにより、不要なODT制御を抑止することができ、消費電力を低減させることができる。   The memory termination resistance control unit 7 has an ODT signal in units of the memory elements 3 and can control the use / unuse of the ODT of each of the n memory elements 3. Thereby, unnecessary ODT control can be suppressed and power consumption can be reduced.

ECC回路8は、複数のメモリ素子3から送出されるデータのエラーを検出するエラー検出部である。具体的には、ECC回路8は、ライトデータに対しチェックビット生成を行う。また、ECC回路8は、リードデータに対しデータ訂正、訂正可能エラー検出、訂正不可能エラー検出、エラー情報保持を行う。   The ECC circuit 8 is an error detection unit that detects an error in data transmitted from the plurality of memory elements 3. Specifically, the ECC circuit 8 generates check bits for the write data. The ECC circuit 8 performs data correction, correctable error detection, uncorrectable error detection, and error information holding on the read data.

例えば、データをメモリから読み出す際に読み出されたデータから生成されたチェックビットとライトデータに対し生成したチェックビットとを比較する。ECC回路8が1ビットのエラーを検出した場合、そのビット位置を特定して、そのエラーを訂正することができる。同時に2ビット以上のエラーが発生した場合は、訂正はできないが、2ビット以上のエラー(訂正不可能エラー)の存在を検出することができる。   For example, the check bit generated from the read data when the data is read from the memory is compared with the check bit generated for the write data. When the ECC circuit 8 detects a 1-bit error, the bit position can be specified and the error can be corrected. If errors of 2 bits or more occur at the same time, they cannot be corrected, but the presence of errors of 2 bits or more (uncorrectable errors) can be detected.

メモリデータ制御部9は、n個のメモリ素子3に対しライトデータ送出、及びn個のメモリ素子3からのリードデータ受信を行う。図3は、メモリ終端抵抗制御部7の構成の一例を示す図である。図3に示すように、メモリ終端抵抗制御部7は、ODT信号生成回路71及び複数のフリップフロップ(F/F)REG1−1、・・・を備えている。   The memory data control unit 9 transmits write data to the n memory elements 3 and receives read data from the n memory elements 3. FIG. 3 is a diagram illustrating an example of the configuration of the memory termination resistance control unit 7. As shown in FIG. 3, the memory termination resistance control unit 7 includes an ODT signal generation circuit 71 and a plurality of flip-flops (F / F) REG 1-1.

フリップフロップREG1−1、REG2−1、・・・、REGn−1には、診断インタフェース制御部4からの1クロックサイクル分の設定値セット信号が入力される。また、フリップフロップREG1−1にはメモリ素子31設定値が入力され、以降のフリップフロップREG2−1、・・・、REGn−1にはそれぞれのメモリ素子設定値が入力される。   A set value set signal for one clock cycle from the diagnostic interface control unit 4 is input to the flip-flops REG1-1, REG2-1, ..., REGn-1. Also, the memory element 31 set value is input to the flip-flop REG1-1, and the respective memory element set values are input to the subsequent flip-flops REG2-1,... REGn-1.

フリップフロップREG1−1、REG2−1、・・・、REGn−1の後段には、それぞれフリップフロップREG1−2、REG2−2、・・・、REGn−2が設けられている。フリップフロップREG1−2、REG2−2、・・・、REGn−2には、ODT信号生成回路71からNOT回路を介してODT信号が入力される。   Flip-flops REG1-2, REG2-2,..., REGn-2 are provided at the subsequent stages of the flip-flops REG1-1, REG2-1,. The ODT signal is input from the ODT signal generation circuit 71 via the NOT circuit to the flip-flops REG1-2, REG2-2, ..., REGn-2.

また、ODT信号は、フリップフロップREG−ODTにも入力される。フリップフロップREG1−2、REG2−2、・・・、REGn−2の後段には、それぞれアンド回路を介して、フリップフロップREG1−3、REG2−3、・・・、REGn−3が設けられている。フリップフロップREG−ODTからの出力と、フリップフロップREG1−2、・・・、REGn−2からの出力は、AND回路に入力される。そして、フリップフロップREG1−3、・・・、REGn−3からそれぞれのメモリ素子ODT信号が出力される。   The ODT signal is also input to the flip-flop REG-ODT. Flip-flops REG1-2, REG2-2, ..., REGn-2 are respectively provided with flip-flops REG1-3, REG2-3, ..., REGn-3 via AND circuits. Yes. The outputs from the flip-flops REG-ODT and the outputs from the flip-flops REG1-2, ..., REGn-2 are input to the AND circuit. Then, the respective memory element ODT signals are output from the flip-flops REG1-3,... REGn-3.

ここで、図1に示す半導体記憶装置の動作について説明する。システム初期化時において、ODT使用/未使用設定を決定するキャリブレーションが行われる。まず、診断装置2は、診断インタフェース制御部4を介して、メモリコントローラ1とn個全てのメモリ素子3との間において、ODT未使用の設定をメモリ終端抵抗制御部7に対して行う。なお、メモリコントローラ1とn個全てのメモリ素子3との間においてODT使用の設定を行って、キャリブレーションを行ってもよい。   Here, the operation of the semiconductor memory device shown in FIG. 1 will be described. At the time of system initialization, calibration for determining whether ODT is used or not is performed. First, the diagnostic device 2 performs ODT unused setting for the memory termination resistance control unit 7 between the memory controller 1 and all n memory elements 3 via the diagnostic interface control unit 4. Note that calibration may be performed by setting use of ODT between the memory controller 1 and all n memory elements 3.

次に、診断インタフェース制御部4を介し、メモリコマンド制御部6に対してライトコマンドを実行し、その後リードコマンドを同一アドレス番地に対して実行する。メモリデータ制御部9は、各メモリ素子3からのリードデータと期待値との比較を行い、メモリ素子3毎のキャリブレーション結果を、診断インタフェース制御部4を介して診断装置2へ報告する。   Next, a write command is executed to the memory command control unit 6 via the diagnostic interface control unit 4, and then a read command is executed to the same address address. The memory data control unit 9 compares the read data from each memory element 3 with the expected value, and reports the calibration result for each memory element 3 to the diagnostic device 2 via the diagnostic interface control unit 4.

診断装置2は、その報告結果からメモリ終端抵抗制御部7に対しODT使用/未使用の設定を行う。本実施の形態においては、設定値がODT未使用の場合0、ODT使用の場合1とする。図4に、各メモリ素子3のODT使用/未使用設定の例を示す。   Based on the report result, the diagnostic device 2 sets whether or not the ODT is used for the memory termination resistance control unit 7. In the present embodiment, the setting value is 0 when ODT is not used and 1 when ODT is used. FIG. 4 shows an example of the ODT use / unuse setting of each memory element 3.

図4に示す例では、1番目、2番目・・・のメモリ素子はODT未使用でインピーダンスをマッチングすることができOKであるため、0が設定される。また、n番目のメモリ素子はODT未使用でインピーダンスをマッチングすることができずNGであるため、ODT使用設定とする1が設定される。診断装置2は、この各メモリ素子3のODT使用/未使用の設定値を診断プログラムエリアに格納する。   In the example shown in FIG. 4, the first, second,... Memory elements are not used in ODT and can be matched in impedance and are OK. In addition, since the nth memory element is not used for ODT and cannot be matched in impedance and is NG, 1 is set as the ODT use setting. The diagnostic device 2 stores the set values of the ODT used / unused of each memory element 3 in the diagnostic program area.

その後、システム運用状態に入る。メモリコントローラ1では、CPUからのリクエストをCPUインタフェース制御部5にて受け付ける。ライトリクエスト時では、メモリコマンド制御部6は、1対n接続されたn個のメモリ素子3に対し、ライトコマンド及びアドレスを送出する。ライトデータは、ECC回路8からメモリデータ制御部9を介して、n個のメモリ素子3に送出される。また、メモリ終端抵抗制御部7からは、キャリブレーション時にODT使用設定対象(設定値=1)となったメモリ素子3のみにODT信号が送出される。   Thereafter, the system enters an operating state. In the memory controller 1, the CPU interface control unit 5 receives a request from the CPU. At the time of a write request, the memory command control unit 6 sends a write command and an address to n memory elements 3 connected in a one-to-n manner. The write data is sent from the ECC circuit 8 to the n memory elements 3 via the memory data control unit 9. In addition, the memory termination resistance control unit 7 sends an ODT signal only to the memory element 3 that is an ODT use setting target (setting value = 1) at the time of calibration.

リードリクエスト時には、メモリコマンド制御部6は、1対n接続されたn個のメモリ素子3に対し、リードコマンド及びアドレスを送出する。n個のメモリ素子3からのリードデータはメモリデータ制御部9で受付けられ、ECC回路8を通りCPUインタフェース制御部5からCPUへ送出される。   At the time of a read request, the memory command control unit 6 sends a read command and an address to n memory elements 3 connected in a 1: n manner. Read data from the n memory elements 3 is received by the memory data control unit 9 and sent from the CPU interface control unit 5 to the CPU through the ECC circuit 8.

リード動作時において、ECC回路8で訂正可能エラーを検出した場合には、診断インタフェース制御部4を介して診断装置2に報告が行われる。報告を受付けた診断装置2は、ECC回路8に保持されたエラー情報(エラーブロック、シンドローム、エラーアドレス)の採取を行う。   If a correctable error is detected by the ECC circuit 8 during the read operation, a report is made to the diagnostic device 2 via the diagnostic interface control unit 4. The diagnostic device 2 that has received the report collects error information (error block, syndrome, error address) held in the ECC circuit 8.

診断装置2は、エラー情報のエラーブロックから、どこのメモリ素子3で訂正可能エラーが発生したかを判断することができる。そして、診断装置2は、メモリ素子3の単位でエラー情報を診断プログラムエリアに格納する。この一連の動作は、その後訂正可能エラーが発生するたびに繰返し行われ、メモリ素子3の単位でエラー情報の履歴管理が行われる。   The diagnostic device 2 can determine in which memory element 3 a correctable error has occurred from the error block of the error information. The diagnostic device 2 stores the error information in the diagnostic program area in units of the memory element 3. This series of operations is repeated each time a correctable error occurs thereafter, and history management of error information is performed in units of the memory element 3.

図5に、診断装置2に格納されるエラー情報の一例を示す。図5に示すように、診断装置2では、例えば、メモリ素子3の単位にODT使用状態(ODT)、回数、シンドローム、エラーアドレス情報の履歴管理が行われる。図5に示す例では、メモリ素子31はODT未使用状態であるが、同一シンドローム、同一エラーアドレスで2回のエラーが発生している。このため、メモリ素子31のエラーは、訂正可能エラーであり、メモリセル故障による障害と判断できる。   FIG. 5 shows an example of error information stored in the diagnostic device 2. As shown in FIG. 5, in the diagnostic device 2, for example, history management of ODT usage status (ODT), number of times, syndrome, and error address information is performed in units of the memory element 3. In the example shown in FIG. 5, the memory element 31 is in an ODT unused state, but two errors have occurred with the same syndrome and the same error address. For this reason, the error of the memory element 31 is a correctable error and can be determined as a failure due to a memory cell failure.

これに対し、メモリ素子32はODT未使用状態であり、シンドローム、エラーアドレスともに異なるエラーが発生している。このため、メモリ素子32のエラーは、伝送線路起因の障害と判断できる。   On the other hand, the memory element 32 is in an ODT unused state, and different errors occur in both the syndrome and the error address. For this reason, the error of the memory element 32 can be determined as a failure caused by the transmission line.

システム運用中に診断プログラムにて、特定のメモリ素子3がODT未使用状態で、伝送線路起因の障害と判断した場合は、診断装置2からメモリ終端抵抗制御部7に対して、動的にODT未使用からODT使用設定に切り替えを行う。図5に示した例では、メモリ素子32が切り替えとなる。   When it is determined by the diagnostic program that the specific memory element 3 is not used in the ODT and the failure is caused by the transmission line during the system operation, the diagnostic device 2 dynamically changes the ODT to the memory termination resistance control unit 7. Switch from unused to ODT usage setting. In the example shown in FIG. 5, the memory element 32 is switched.

ここで、図3及び図6を参照してODT設定の動作について説明する。図6は、ODT設定動作を説明するためのタイミングチャートである。図6に示すように、タイミングT1において、メモリ終端抵抗制御部7は、診断インタフェース制御部4から1クロックサイクル分の設定値セット信号と、これと同じタイミングでメモリ素子32設定値(=1)を受信する。   Here, the ODT setting operation will be described with reference to FIGS. FIG. 6 is a timing chart for explaining the ODT setting operation. As shown in FIG. 6, at the timing T1, the memory termination resistance control unit 7 sets the set value set signal for one clock cycle from the diagnostic interface control unit 4 and the set value (= 1) of the memory element 32 at the same timing. Receive.

このとき、その他のメモリ素子の設定値は現状の設定値と変わらず、診断インタフェース制御部4から送出される。フリップフロップREG2−1は、タイミングT2でメモリ素子32の設定値「1」を取り込み、次のタイミングT3でフリップフロップREG2−2に対し送出する。   At this time, the setting values of the other memory elements are not changed from the current setting values and are sent from the diagnosis interface control unit 4. The flip-flop REG2-1 takes in the set value “1” of the memory element 32 at the timing T2, and sends it to the flip-flop REG2-2 at the next timing T3.

フリップフロップREG2−2は、ODT信号生成回路71から出力されるODT信号が「0」のときのみ取り込みを行い、以降ホールド状態となる。従って、タイミングT3にてフリップフロップREG2−2は、「1」を取り込み、タイミングT4以降ホールド状態となる。   The flip-flop REG2-2 takes in only when the ODT signal output from the ODT signal generation circuit 71 is “0”, and thereafter enters the hold state. Accordingly, the flip-flop REG2-2 fetches “1” at the timing T3 and enters the hold state after the timing T4.

そして、タイミングT5でフリップフロップREG−ODTが「1」となると、その後のタイミングT6でメモリ素子32ODT信号が「1」となる。これにより、メモリ素子32に対するODT信号はイネーブル状態となり、メモリ素子32のODTが使用可能状態となる。   When the flip-flop REG-ODT becomes “1” at the timing T5, the memory element 32 ODT signal becomes “1” at the subsequent timing T6. As a result, the ODT signal for the memory element 32 is enabled, and the ODT of the memory element 32 is enabled.

また、図7に、ODT信号が「1」の状態のタイミングで、メモリ終端抵抗制御部7が設定値セット信号とメモリ素子32設定値を受信した例を示す。この場合、ODT信号が「1」であるため、フリップフロップREG2−2には取り込まれない。   FIG. 7 shows an example in which the memory termination resistance control unit 7 receives the set value set signal and the set value of the memory element 32 at the timing when the ODT signal is “1”. In this case, since the ODT signal is “1”, it is not taken into the flip-flop REG2-2.

タイミングT5でODT信号が「0」に切り替わった後、タイミングT6でフリップフロップREG2−2に取り込まれる。このため、メモリ素子32に対するODT信号が中途半端な出力になることを防ぐことができる。   After the ODT signal is switched to “0” at timing T5, it is taken into the flip-flop REG2-2 at timing T6. For this reason, it is possible to prevent the ODT signal for the memory element 32 from being halfway.

なお、上述の説明では、ライト時のODT制御について説明しているが、これに限られるものではない。リード時のメモリコントローラ1内のODT制御についてもメモリ終端抵抗制御部7と同様な回路を持つことにより動的にODTの切り替えが可能となる。   In the above description, the ODT control at the time of writing is described, but the present invention is not limited to this. ODT control in the memory controller 1 at the time of reading can be dynamically switched by providing a circuit similar to the memory termination resistance control unit 7.

以上説明したように、本発明によれば、メモリコントローラ1がメモリ素子3の単位にODT信号を有しているので、メモリ素子単位のODT制御ができることである。また、診断装置2の診断プログラムエリア内にメモリ素子単位のODTキャリブレーション結果及びメモリ素子単位との訂正可能エラー情報を保持している。このため、診断装置2が、当該訂正可能エラーが、伝送線起因の障害であると判断することができる。   As described above, according to the present invention, since the memory controller 1 has an ODT signal in units of memory elements 3, ODT control can be performed in units of memory elements. Further, the ODT calibration result for each memory element and the correctable error information for each memory element are held in the diagnostic program area of the diagnostic apparatus 2. Therefore, the diagnostic device 2 can determine that the correctable error is a failure caused by the transmission line.

従って、システム運用中にODT未使用のメモリ素子で訂正可能エラーが発生し、診断プログラムにて伝送線路起因のエラーと判断した場合には、診断装置からメモリコントローラに対し、対象となるメモリ素子のODTを使用する設定に動的に切り替えることが可能となる。これにより、転送信号の品質を向上させ、以降の訂正可能エラーの発生を防ぎ、品質を向上させることが可能となる。   Therefore, when a correctable error occurs in a memory element not using ODT during system operation, and the diagnosis program determines that the error is caused by a transmission line, the diagnosis device sends a memory controller to the memory controller. It is possible to dynamically switch to a setting that uses ODT. As a result, the quality of the transfer signal can be improved, the subsequent correctable error can be prevented, and the quality can be improved.

なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。   Note that the present invention is not limited to the above-described embodiment, and can be changed as appropriate without departing from the spirit of the present invention.

1 メモリコントローラ
2 診断装置
3 メモリ素子
4 診断インタフェース制御部
5 CPUインタフェース制御部
6 メモリコマンド制御部
7 メモリ終端抵抗制御部
8 ECC回路
9 メモリデータ制御部
31、・・・、3n メモリ素子
71 ODT信号生成回路
REG1−1、・・・、REGn−1 フリップフロップ(F/F)
REG フリップフロップ
DESCRIPTION OF SYMBOLS 1 Memory controller 2 Diagnostic apparatus 3 Memory element 4 Diagnostic interface control part 5 CPU interface control part 6 Memory command control part 7 Memory termination resistance control part 8 ECC circuit 9 Memory data control part 31, ..., 3n Memory element 71 ODT signal Generation circuit REG1-1, ..., REGn-1 Flip-flop (F / F)
REG flip-flop

Claims (5)

ODT(On Die Termination)機能を有する複数のメモリ素子に接続可能なメモリ制御装置であって、
前記複数のメモリ素子毎にODTを使用とするか未使用とするかを制御するためのODT制御信号を出力するメモリ終端抵抗制御部と、
前記複数のメモリ素子から送出されるデータのエラーを検出するエラー検出部と、
前記複数のメモリのシステム運用中において、前記複数のメモリ素子のODT使用状況及び前記エラーの情報に基づいて、前記複数のメモリ素子のODT使用設定を切り換える診断装置と、
を備えるメモリ制御装置。
A memory control device connectable to a plurality of memory elements having an ODT (On Die Termination) function,
A memory termination resistance controller that outputs an ODT control signal for controlling whether to use or not use ODT for each of the plurality of memory elements;
An error detection unit for detecting an error in data transmitted from the plurality of memory elements;
A diagnostic device that switches the ODT usage setting of the plurality of memory elements based on the ODT usage status of the plurality of memory elements and the error information during the system operation of the plurality of memories;
A memory control device comprising:
前記診断装置は、ODT未使用のメモリ素子で訂正可能エラーが発生した場合、当該訂正可能エラーが伝送線路起因のエラーであるか否かを診断し、
前記訂正可能エラーが伝送線路起因のエラーであると判断された場合に、前記メモリ終端抵抗制御部に対し、当該訂正可能エラーが発生したメモリ素子のODTを使用する設定に切り換えることを特徴とする請求項1に記載のメモリ制御装置。
The diagnostic device diagnoses whether or not the correctable error is an error caused by a transmission line when a correctable error occurs in a memory element not using ODT,
When it is determined that the correctable error is an error caused by a transmission line, the memory termination resistance control unit is switched to a setting that uses the ODT of the memory element in which the correctable error has occurred. The memory control device according to claim 1.
前記複数のメモリ素子のそれぞれと接続される複数の配線をさらに備え、
前記複数の配線の長さはそれぞれ物理的に異なることを特徴とする請求項1又は2に記載のメモリ制御装置。
A plurality of wirings connected to each of the plurality of memory elements;
The memory control device according to claim 1, wherein lengths of the plurality of wirings are physically different from each other.
ODT(On Die Termination)機能を有する複数のメモリ素子の制御方法であって、
前記複数のメモリ素子から送出されるデータのエラーを検出し、
前記複数のメモリのシステム運用中において、前記複数のメモリ素子のODT使用状況及び前記エラーの情報に基づいて、前記複数のメモリ素子のODT使用設定を切り換える
制御方法。
A method of controlling a plurality of memory devices having an ODT (On Die Termination) function,
Detecting an error in data transmitted from the plurality of memory elements;
A control method for switching an ODT use setting of the plurality of memory elements based on an ODT use status of the plurality of memory elements and the error information during the system operation of the plurality of memories.
前記ODT使用状況が未使用のメモリ素子で訂正可能エラーが発生した場合、当該訂正可能エラーが伝送線路起因のエラーであるか否かを診断し、
前記訂正可能エラーが伝送線路起因のエラーであると判断された場合に、当該訂正可能エラーが発生したメモリ素子のODTを使用する設定に切り換えることを特徴とする請求項4に記載の制御方法。
When a correctable error occurs in an unused memory device having the ODT usage status, it is diagnosed whether the correctable error is an error caused by a transmission line,
5. The control method according to claim 4, wherein when it is determined that the correctable error is an error caused by a transmission line, the control is switched to a setting that uses the ODT of the memory element in which the correctable error has occurred.
JP2009036376A 2009-02-19 2009-02-19 Memory control apparatus and control method Expired - Fee Related JP5344577B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009036376A JP5344577B2 (en) 2009-02-19 2009-02-19 Memory control apparatus and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009036376A JP5344577B2 (en) 2009-02-19 2009-02-19 Memory control apparatus and control method

Publications (2)

Publication Number Publication Date
JP2010191761A JP2010191761A (en) 2010-09-02
JP5344577B2 true JP5344577B2 (en) 2013-11-20

Family

ID=42817729

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009036376A Expired - Fee Related JP5344577B2 (en) 2009-02-19 2009-02-19 Memory control apparatus and control method

Country Status (1)

Country Link
JP (1) JP5344577B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9767920B2 (en) 2014-08-11 2017-09-19 Samsung Electronics Co., Ltd. Semiconductor memory devices and memory systems including the same

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101439815B1 (en) 2013-03-08 2014-09-11 고려대학교 산학협력단 Circuit and method for processing error of memory
KR102045011B1 (en) * 2017-09-29 2019-11-14 주식회사 만도 Robust method for calibration data and device thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070005826A1 (en) * 2005-06-30 2007-01-04 Hsien-Pao Yang Termination control in memory systems
JP4615461B2 (en) * 2006-03-10 2011-01-19 京セラミタ株式会社 Memory controller
JP2008046797A (en) * 2006-08-14 2008-02-28 Renesas Technology Corp Data transfer system
JP5019573B2 (en) * 2006-10-18 2012-09-05 キヤノン株式会社 Memory control circuit, memory system, memory control method thereof, and integrated circuit
US7984355B2 (en) * 2007-04-09 2011-07-19 Qimonda Ag Memory module with ranks of memory chips
JP2010092384A (en) * 2008-10-10 2010-04-22 Kyocera Mita Corp Memory control device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9767920B2 (en) 2014-08-11 2017-09-19 Samsung Electronics Co., Ltd. Semiconductor memory devices and memory systems including the same

Also Published As

Publication number Publication date
JP2010191761A (en) 2010-09-02

Similar Documents

Publication Publication Date Title
EP3327578B1 (en) Early identification in transactional buffered memory
EP3234778B1 (en) Error handling in transactional buffered memory
JP3201242U (en) Sensor device and sensor arrangement
TWI635503B (en) Semiconductor memory apparatus and operating method thereof
US7952944B2 (en) System for providing on-die termination of a control signal bus
KR102378466B1 (en) Memory devices and modules
US8607121B2 (en) Selective error detection and error correction for a memory interface
JP5010643B2 (en) Adjustable transmitter power for high speed links with constant bit error rate
US8566672B2 (en) Selective checkbit modification for error correction
JP2007241625A (en) Semiconductor device
WO2023221342A1 (en) Ddr dual-in-line memory module and operation method therefor, and memory system
JP5344577B2 (en) Memory control apparatus and control method
US8321777B2 (en) Cyclic redundancy check code generating circuit, semiconductor memory device, and method of driving semiconductor memory device
US20190114236A1 (en) Fault tolerant network on-chip
US20130162286A1 (en) Impedance code generation circuit and semiconductor memory device including the same
US9239755B2 (en) Semiconductor device and semiconductor system including the same
JP4179883B2 (en) Termination resistor device, data transmission device, and termination resistor circuit inspection method
TW201346529A (en) Signal processing circuit and testing apparatus using the same
CN108459876B (en) Method and apparatus for reduced area control register circuit
JP6861611B2 (en) Semiconductor devices and semiconductor systems equipped with them
US8782475B2 (en) PRBS test memory interface considering DDR burst operation
US11467760B1 (en) Selective erasure decoding for memory devices
JP5726924B2 (en) Chip with fail-safe method applied to serial transfer system
CN109817268B (en) Multi-path selection circuit and method for fuse signal and semiconductor memory
JP2014075065A (en) Semiconductor device and circuit operation starting method for the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120125

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130708

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130716

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130808

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130905

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130906

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees