JP2006091940A - Memory control device - Google Patents
Memory control device Download PDFInfo
- Publication number
- JP2006091940A JP2006091940A JP2004272651A JP2004272651A JP2006091940A JP 2006091940 A JP2006091940 A JP 2006091940A JP 2004272651 A JP2004272651 A JP 2004272651A JP 2004272651 A JP2004272651 A JP 2004272651A JP 2006091940 A JP2006091940 A JP 2006091940A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- unit
- data
- current
- memory control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
Description
本発明は、メモリを使用するシステムのメモリ制御装置に関するものである。 The present invention relates to a memory control device of a system using a memory.
従来、メモリ制御装置では、メモリの駆動能力不足やタイミングマージン不足によるメモリデータエラーを回避し、メモリを正常かつ高速に駆動できるようにメモリ制御のタイミングマージンを調整している。 2. Description of the Related Art Conventionally, in a memory control device, a memory control timing margin is adjusted so that a memory data error due to insufficient memory driving capability or timing margin is avoided and the memory can be driven normally and at high speed.
このようなタイミングマージンの制御方法と制御装置が、例えば、特許第3490403号公報に開示されている。この公報に開示されている方法は、メモリの検査を実施し、その検査結果の良否判定によってメモリ駆動クロック信号の周波数を調整するというものである。 Such a timing margin control method and control apparatus are disclosed in, for example, Japanese Patent No. 3490403. The method disclosed in this publication is to inspect a memory and adjust the frequency of the memory drive clock signal by determining whether the inspection result is good or bad.
また従来のメモリ制御装置では、メモリを駆動するメモリインターフェース部の駆動能力はあらかじめ固定された値で設計されている。すなわち、メモリインターフェース部の駆動能力設計において、メモリ駆動能力不足によるメモリデータエラーを回避するために、駆動電流や駆動電圧は十分なマージンがある値にあらかじめ固定されている。
しかしながら、上述のような従来のメモリ制御装置の場合、メモリ駆動クロック信号の周波数を調整するだけであり、メモリインターフェース部の駆動電流や駆動電圧は十分なマージンがある値にあらかじめ固定されているため、必要とする以上の動作電流が流れて消費電力や不要輻射の悪化を引き起こす要因となっていた。 However, in the case of the conventional memory control device as described above, only the frequency of the memory drive clock signal is adjusted, and the drive current and drive voltage of the memory interface unit are fixed to values having a sufficient margin in advance. More operating current than necessary has been a factor causing deterioration of power consumption and unnecessary radiation.
そこで、本発明は、消費電力や不要輻射を減少できるメモリ制御装置を提供することを目的としたものである。 Therefore, an object of the present invention is to provide a memory control device that can reduce power consumption and unnecessary radiation.
前述した目的を達成するために、本発明のメモリ制御装置は、メモリへの書き込みデータとメモリからの読み出しデータが一致するかどうかの検査を実施してその良否を判定する判定手段を設け、この判定手段の比較結果によってメモリインターフェース部の出力電流とメモリインターフェース部の出力電圧とメモリ制御タイミングのパターンを調整することを特徴とするものである。 In order to achieve the above-described object, the memory control device according to the present invention includes a determination unit that performs an inspection to determine whether the data written to the memory matches the data read from the memory, and determines whether the data is good or bad. The output current of the memory interface unit, the output voltage of the memory interface unit, and the pattern of the memory control timing are adjusted according to the comparison result of the determination means.
また本発明のメモリ制御装置は、メモリに対して書き込む前のデータを処理し、このデータ処理の際のエラー発生状況を出力する書き込み前処理手段と、メモリから読み出した後のデータを処理し、このデータ処理の際のエラー発生状況を出力する読み出し後処理手段と、書き込み前処理手段から出力されたエラー発生状況と読み出し後処理手段から出力されたエラー発生状況を比較して判定する比較判定手段を設け、この比較判定手段の比較結果によってメモリインターフェース部の出力電流とメモリインターフェース部の出力電圧とメモリ制御タイミングのパターンを調整することを特徴とするものである。 Further, the memory control device of the present invention processes the data before writing to the memory, outputs the error occurrence status during the data processing, and processes the data after reading from the memory, A post-read processing means for outputting the error occurrence status during the data processing, and a comparison determination means for comparing the error occurrence status output from the pre-write processing means with the error occurrence status output from the post-read processing means And the output current of the memory interface unit, the output voltage of the memory interface unit, and the pattern of the memory control timing are adjusted according to the comparison result of the comparison / determination means.
上記構成によれば、判定手段の比較結果または比較判定手段の比較結果に応じて、判定結果が良のとき、メモリインターフェース部の出力電流と出力電圧(メモリの駆動電流と駆動電圧)が、現状より減少または現状維持とされ、メモリ制御タイミングのパターンが現状より遅くまたは現状維持とされ、判定結果が否のとき、メモリインターフェース部の出力電流と出力電圧(メモリの駆動電流と駆動電圧)が、現状より増加され、メモリ制御タイミングのパターンが現状より速くされることにより、メモリデータエラーを回避しながらメモリの駆動電流と駆動電圧が最適化される。 According to the above configuration, when the determination result is good according to the comparison result of the determination unit or the comparison result of the comparison determination unit, the output current and output voltage (memory drive current and drive voltage) of the memory interface unit are When the pattern of the memory control timing is later than the current state or the current state is maintained, and the determination result is NO, the output current and output voltage of the memory interface unit (memory drive current and drive voltage) are By increasing the memory control timing pattern faster than the current state, the memory drive current and drive voltage are optimized while avoiding memory data errors.
本発明のメモリ制御装置は、上記構成を有し、メモリデータエラーを回避しながらメモリの駆動能力(メモリの駆動電流と駆動電圧)を最適化でき、消費電力や不要輻射を減少させることができる、という効果を有している。 The memory control device of the present invention has the above-described configuration, can optimize the memory driving capability (memory driving current and driving voltage) while avoiding memory data errors, and can reduce power consumption and unnecessary radiation. Has the effect of.
以下、本発明の実施の形態を、図面を参照しながら説明する。
[実施の形態1]
図1は本発明の実施の形態1におけるメモリ制御装置の構成を示すブロック図である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[Embodiment 1]
FIG. 1 is a block diagram showing a configuration of a memory control device according to
このメモリ制御装置は、図1に示すように、メモリ7と、メモリ7を駆動するメモリインターフェース部6と、メモリインターフェース部6を介してメモリ7へのデータの書き込みおよびメモリ7からの読み出しを制御するメモリ制御部3を備え、メモリインターフェース部6に電流切換部4および電圧切換部5を設け、メモリ制御部3にタイミング生成部1、検査実施/判定部2およびアクセス状況判定部31を設けている。
As shown in FIG. 1, the memory control device controls the memory 7, the
前記検査実施/判定部2は、メモリ7への書き込みデータとメモリ7からの読み出しデータが一致するかどうかの検査を実施してその良否を判定する判定手段であり、検査の良否の判定結果を、タイミング生成部1と電流切換部4と電圧切換部5へ出力している。また前記アクセス状況判定部31は、メモリ7のアクセス状況を監視して任意の基準値と比較し、アクセス状況が粗かどうか密かどうかを判定するアクセス状況判定手段であり、その判定結果をタイミング生成部1へ出力している。
The inspection execution /
また前記電流切換部4は、検査実施/判定部2から入力する検査の判定結果に応じて、メモリインターフェース部6の出力電流(メモリ7の駆動電流)を任意の値に切り換える電流切換手段であり、検査実施/判定部2の判定結果に応じて、メモリインターフェース部6の出力電流を切り換えている。この電流切換部4は、メモリインターフェース部6の出力電流を設定する際に、メモリインターフェース部6の各信号線の出力電流を個別に設定するための手段を有している。この電流切換部4の構成の一例を図2に示す。
The
図2に示すように、電流切換部4は、出力電流がIのバッファ8と、出力電流が2Iのバッファ9と、出力電流が4Iのバッファ10とがそれぞれスイッチ11と、スイッチ12と、スイッチ13とを介して並列に接続される構成を有している。スイッチ11だけを接続するとメモリインターフェース部6の出力電流はIになり、スイッチ12だけを接続するとメモリインターフェース部6の出力電流は2Iになり、スイッチ13だけを接続するとメモリインターフェース部6の出力電流は4Iになり、スイッチ11とスイッチ12の2つを接続するとメモリインターフェース部6の出力電流は3Iになり、スイッチ11とスイッチ13の2つを接続するとメモリインターフェース部6の出力電流は5Iになり、スイッチ12とスイッチ13の2つを接続するとメモリインターフェース部6の出力電流は6Iになり、スイッチ11とスイッチ12とスイッチ13を全て接続するとメモリインターフェース部6の出力電流は7Iになる。したがって、本構成例では、検査実施/判定部2の検査の判定結果に応じて、スイッチ11とスイッチ12とスイッチ13を選択・駆動することによって、メモリインターフェース部6の各信号線の出力電流としてI、2I、3I、4I、5I、6I、7Iの7通りを選択することができる。
As shown in FIG. 2, the
また上記電圧切換部5は、検査実施/判定部2から入力する検査の判定結果に応じて、メモリインターフェース部6の出力電圧(メモリ7の駆動電圧)を任意の値に切り換える電圧切換手段であり、検査実施/判定部2の判定結果に応じて、メモリインターフェース部6の出力電圧を切り換えている。この電圧切換手段5は、メモリインターフェース部6の出力電圧を設定する際に、メモリインターフェース6の各信号線の出力電圧を個別に設定するための手段を有している。この電圧切換部5の構成の一例を図3に示す。
The
図3に示すように、電圧切換部5は、入力電圧を変圧して出力電圧を生成するスイッチング式変圧部14と、パルス調整部15およびパルス変換部16を含むスイッチング制御部17とを備えている。パルス変換部16で生成されるスイッチングパルスは、パルス調整部15での設定とスイッチング式変圧部14の出力電圧のフィードバックで調整され、所望の出力電圧が得られるようにスイッチング式変圧部14のスイッチングを制御している。したがって、本構成例では、検査実施/判定部2の検査の判定結果に応じて、パルス調整部15での設定を変更することにより、メモリインターフェース部6の各信号線の出力電圧を切り換えることができる。
As shown in FIG. 3, the
また前記タイミング生成部1は、基準クロック信号の1周期を単位として複数のパターンの書き込みイネーブル信号とアドレス信号とデータ信号を生成する、すなわちメモリ制御タイミングを複数のパターンに切り換えるタイミング生成手段であり、メモリ制御部3は、このタイミング生成部1により生成されるメモリ制御タイミングにより、メモリインターフェース部6を介してメモリ7を制御している。図4は、図1に示したメモリ制御装置におけるタイミング生成部1で生成されるメモリ制御タイミングパターンの一例を示すタイミングチャートである。本タイミングチャートは、基準クロック信号18と、書き込みイネーブル信号19と、アドレス信号20と、データ信号21とのタイミングを示しており、メモリ7は基準クロック信号18の立ち上がりエッジでの同期動作を行う。また、書き込みイネーブル信号19はネガティブイネーブル信号であり、Lレベルで書き込み動作が行われる。複数のパターンとしてパターン1〜パターン3の3種類のメモリ制御タイミングのパターンが予め設定されている。
「パターン1」
パターン1では、基準クロック信号18の1周期を最小周期単位として書き込みイネーブル信号18とアドレス信号20とデータ信号21が形成される。本タイミングチャートでは、書き込みイネーブル信号19をイネーブルにすることによりアドレス信号20で設定する「A1」アドレスにデータ信号21で設定する「D1」データを書き込み、その後アドレス信号20で「A3」アドレスを設定してデータ信号21から「D3」データを読み出すという動作を示している。
「パターン2」
パターン2では、基準クロック信号18の2周期を最小周期単位として書き込みイネーブル信号18とアドレス信号20とデータ信号21が形成される。本タイミングチャートでは、書き込みイネーブル信号19をイネーブルにすることによりアドレス信号20で設定する「A2」アドレスにデータ信号21で設定する「D2」データを書き込み、その後アドレス信号20で「A1」アドレスを設定してデータ信号21から「D1」データを読み出すという動作を示している。
「パターン3」
パターン3では基準クロック信号18の3周期を最小周期単位として書き込みイネーブル信号18とアドレス信号20とデータ信号21が形成される。本タイミングチャートでは、書き込みイネーブル信号19をイネーブルにすることによりアドレス信号20で設定する「A3」アドレスにデータ信号21で設定する「D3」データを書き込み、その後アドレス信号20で「A2」アドレスを設定してデータ信号21から「D2」データを読み出すという動作を示している。
The
"
In the
"
In the
"
In the
したがって、本構成例では、検査実施/判定部2の検査の判定結果とアクセス状況判定部31の判定結果に応じて、前記3種類のメモリ制御タイミングのパターンは任意に切り換えられて使用される。
Therefore, in the present configuration example, the three types of memory control timing patterns are arbitrarily switched and used in accordance with the test determination result of the test execution /
上記構成により前記検査実施/判定部2から出力される判定結果に応じて、電流切換部4と電圧切換部5を調整して、メモリ7を駆動するメモリインターフェース部6の電流と電圧が決定され、さらに前記検査実施/判定部2とアクセス状況判定部31から出力される判定結果に応じて、タイミング生成部1を調整して、メモリ制御部3のメモリ制御タイミングが決定される。
With the above configuration, the
すなわち、前記検査実施/判定部2の判定結果が良、すなわちメモリ7への書き込みデータとメモリ7からの読み出しデータが一致すると判断されるときには、
a1.電流切換部4では、メモリインターフェース部6の出力電流(メモリ7の駆動電流)を現状より少なくするように調整される(切り換えられる)か、または現状を維持するように調整され、
a2.電圧切換部5では、メモリインターフェース部6の出力電圧(メモリ7の駆動電圧)を現状より小さくするように調整される(切り換えられる)か、または現状を維持するように調整され、
a3.タイミング生成部1では、メモリ制御タイミングのパターンを現状より遅くするかまたは現状を維持するように選択される。続いてタイミング生成部1では、アクセス状況判定部31によりアクセス状況が粗と判定されるときには、メモリ制御タイミングのパターンが現状より遅くなるように調整(設定)され、アクセス状況判定部31によりアクセス状況が密と判定するときには、メモリ制御タイミングのパターンを現状維持するように調整(設定)される。
That is, when the determination result of the inspection execution /
a1. In the
a2. In the
a3. In the
また前記検査実施/判定部2の判定結果が否、すなわちメモリ7への書き込みデータとメモリ7からの読み出しデータが一致しないと判断されるときには、
b1.電流切換部4では、メモリインターフェース部6の出力電流(メモリ7の駆動電流)を現状より多くするように調整され(切り換えられ)、
b2.電圧切換部5では、メモリインターフェース部6の出力電圧(メモリ7の駆動電圧)を現状より大きくするように調整され(切り換えられ)、
b3.タイミング生成部1では、メモリ制御タイミングのパターンを現状より速くするように調整(設定)される。
When the determination result of the inspection execution /
b1. In the
b2. In the
b3. The
上記作用により、検査実施/判定部2の判定結果が良のとき、メモリ7の駆動電流とメモリ7の駆動電圧が、現状より減少または現状維持とされ、メモリ制御タイミングのパターンが現状より遅くまたは現状維持が選択され、続いてアクセス状況判定部31の判定結果により、アクセス状況が粗と判定されるときには、メモリ制御タイミングのパターンが現状より遅くなるように調整(設定)され、アクセス状況が密と判定するときには、メモリ制御タイミングのパターンが現状維持するように調整(設定)される。また検査実施/判定部2の判定結果が否のとき、メモリ7の駆動電流とメモリ7の駆動電圧が現状より増加され、メモリ制御タイミングのパターンが現状より速くなるように調整(設定)される。よって、メモリデータエラーを回避しながらメモリ7の駆動電流とメモリ7の駆動電圧が最適化される。
Due to the above action, when the determination result of the inspection execution /
以上のように、本実施の形態1によれば、メモリデータエラーを回避しながらメモリ7の駆動能力(メモリ7の駆動電流とメモリ7の駆動電圧)を最適化でき、消費電力や不要輻射を減少させることができる。 As described above, according to the first embodiment, it is possible to optimize the driving capability of the memory 7 (the driving current of the memory 7 and the driving voltage of the memory 7) while avoiding the memory data error, thereby reducing power consumption and unnecessary radiation. Can be reduced.
また本実施の形態1によれば、メモリ制御のタイミングマージンを調整する手段としてタイミング生成部1を設け、タイミング生成部1によってメモリ制御タイミングを調整して複数タイミングパターン(パターン1〜3)の切換を行うことにより、論理回路だけでタイミングマージンを調整できるため、回路規模の縮小と消費電流の削減を行うことができる。
Further, according to the first embodiment, the
また本実施の形態1によれば、メモリ7の変更やメモリインターフェース状況の変化などが発生した場合に、即座に調整を行うことでメモリ駆動能力不足によるメモリデータエラーを回避でき、メモリ7の駆動能力を常時最適に維持できる。
[実施の形態2]
図5は本発明の実施の形態2におけるメモリ制御装置の構成を示すブロック図である。なお、実施の形態1におけるメモリ制御装置(図1)と同一の構成には同一の符号を付して説明を省略する。
Further, according to the first embodiment, when a change in the memory 7 or a change in the memory interface status occurs, a memory data error due to insufficient memory drive capability can be avoided by making an adjustment immediately, and the memory 7 is driven. Capability can always be maintained optimally.
[Embodiment 2]
FIG. 5 is a block diagram showing a configuration of the memory control device according to the second embodiment of the present invention. Note that the same components as those of the memory control device (FIG. 1) in the first embodiment are denoted by the same reference numerals, and description thereof is omitted.
このメモリ制御装置は、図5に示すように、データ処理部22およびエラー信号生成部23を設けた書き込み前処理部24と、データ処理部25およびエラー信号生成部26を設けた読み出し後処理部27を新たに備え、メモリ制御部30に、検査実施/判定部2に代えて比較/判定部29を設けている。なお、前記電流切換部4の構成例は図2で示される構成例と同様、前記電圧切換部5の構成例は図3で示される構成例と同様、前記タイミング生成部1で生成されるタイミングパターン例は図4で示されるタイミングパターン例と同様としている。
As shown in FIG. 5, the memory control device includes a
前記データ処理部22はメモリ7に書き込む前のデータを処理する手段、前記エラー信号生成部23はデータ処理部22によりデータを処理する際に発生したエラー発生状況より処理エラー信号を生成して出力する手段であり、書き込み前処理部24は、メモリ7に対して書き込む前のデータを処理し、このデータ処理の際のエラー発生状況を出力する書き込み前処理手段を構成している。書き込み前処理部24において、メモリ7に書き込む前のデータがデータ処理部22で処理され、その際の処理エラー信号がエラー信号生成部23より比較/判定部29へ出力される。
The
また前記データ処理部25はメモリ7から読み出した後のデータを処理する手段、前記エラー信号生成部26はデータ処理部25によりデータを処理する際に発生したエラー発生状況より処理エラー信号を生成して出力する手段であり、読み出し後処理部27は、メモリ7から読み出した後のデータを処理し、このデータ処理の際のエラー発生状況を出力する読み出し後処理手段を構成している。読み出し後処理部27において、メモリ7から読み出した後のデータはデータ処理部25で処理され、その際の処理エラー信号がエラー信号生成部26より比較/判定部29へ出力される。
The
前記メモリ制御部30に含まれる比較/判定部29は、書き込み前処理部24のエラー信号生成部23から出力された処理エラー信号(エラー発生状況)と読み出し後処理部27のエラー信号生成部26から出力された処理エラー信号(エラー発生状況)が入力され、これら2種類の処理エラー信号を比較して判定する比較判定手段を構成しており、2種類の処理エラー信号の差分による良否の判定結果が、タイミング生成部1と電流切換部4と電圧切換部5へ出力されている。
The comparison /
上記構成により前記比較/判定部29から出力される判定結果に応じて、電流切換部4と電圧切換部5を調整して、メモリ7を駆動するメモリインターフェース部6の電流と電圧が決定され、さらに前記比較/判定部29とアクセス状況判定部31から出力される判定結果に応じて、タイミング生成部1を調整して、メモリ制御部3のメモリ制御タイミングが決定される。
According to the determination result output from the comparison /
すなわち、前記比較/判定部29の判定結果が良、すなわちエラー信号生成部23から出力される書き込み前処理での処理エラーのエラー発生状況とエラー信号生成部26から出力される読み出し後処理での処理エラーのエラー発生状況に差が無いと判断されるときには、
c1.電流切換部4では、メモリインターフェース部6の出力電流(メモリ7の駆動電流)を現状より少なく調整される(切り換えられる)か、または現状を維持するように調整され、
c2.電圧切換部5では、メモリインターフェース部6の出力電圧(メモリ7の駆動電圧)を現状より小さく調整される(切り換えられる)か、または現状を維持するように調整され、
c3.タイミング生成部1では、メモリ制御タイミングのパターンを現状より遅くするかまたは現状を維持するように選択される。続いて、アクセス状況判定部31によりアクセス状況が粗と判定されるときには、メモリ制御タイミングのパターンを現状より遅くなるように調整(設定)され、アクセス状況判定部31によりアクセス状況が密と判定するときには、メモリ制御タイミングのパターンを現状維持するように調整(設定)される。
That is, the determination result of the comparison /
c1. In the
c2. In the
c3. In the
また前記比較/判定部29の判定結果が否、すなわちエラー信号生成部23から出力される書き込み前処理での処理エラーのエラー発生状況とエラー信号生成部26から出力される読み出し後処理での処理エラーのエラー発生状況に差が有ると判断されるときには、
d1.電流切換部4では、メモリインターフェース部6の出力電流(メモリ7の駆動電流)を現状より多くするように調整され(切り換えられ)、
d2.電圧切換部5では、メモリインターフェース部6の出力電圧(メモリ7の駆動電圧)を現状より大きくするように調整され(切り換えられ)、
d3.タイミング生成部1では、メモリ制御タイミングのパターンを現状より速くするように調整(設定)される。
Further, the determination result of the comparison /
d1. In the
d2. In the
d3. The
上記作用により、比較/判定部29の判定結果が良のとき、メモリ7の駆動電流とメモリ7の駆動電圧が、現状より減少または現状維持とされ、メモリ制御タイミングのパターンが現状より遅くまたは現状維持が選択され、続いてアクセス状況判定部31の判定結果により、アクセス状況が粗と判定されるときには、メモリ制御タイミングのパターンを現状より遅くなるように調整(設定)され、アクセス状況が密と判定するときには、メモリ制御タイミングのパターンを現状維持するように調整(設定)される。また比較/判定部29の判定結果が否のとき、メモリ7の駆動電流とメモリ7の駆動電圧が現状より増加され、メモリ制御タイミングのパターンが現状より速くなるように調整(設定)される。よって、メモリデータエラーを回避しながらメモリ7の駆動電流とメモリ7の駆動電圧が最適化される。
Due to the above action, when the determination result of the comparison /
以上のように、本実施の形態2によれば、メモリデータエラー発生の判断条件としてメモリ書き込み前とメモリ読み出し後のエラー発生状況(データ処理エラー)の差を利用することで、実施の形態1のようなメモリ検査回路(検査実施/判定部2)がなくてもメモリ駆動条件の調整が行えるため、回路規模をより削減できる。 As described above, according to the second embodiment, the difference between the error occurrence status (data processing error) before the memory write and after the memory read is used as the determination condition for the memory data error occurrence. Since the memory drive condition can be adjusted without the memory test circuit (test execution / determination unit 2) as described above, the circuit scale can be further reduced.
また本実施の形態2によれば、上記実施の形態1と同様に、メモリデータエラーを回避しながらメモリ7の駆動能力(メモリ7の駆動電流とメモリ7の駆動電圧)を最適化でき、消費電力や不要輻射を減少させることができ、またメモリ制御のタイミングマージンを調整する手段であるタイミング生成部1によって、メモリ制御タイミングを調整して複数タイミングパターン(パターン1〜3)の切換を行うことにより、論理回路だけでタイミングマージンを調整できるため、回路規模の縮小と消費電流の削減を行うことができ、さらにメモリ7の変更やメモリインターフェース状況の変化などが発生した場合に、即座に調整を行うことでメモリ駆動能力不足によるメモリデータエラーを回避でき、メモリ7の駆動能力を常時最適に維持できる。
Further, according to the second embodiment, as in the first embodiment, the drive capability of the memory 7 (drive current of the memory 7 and drive voltage of the memory 7) can be optimized while avoiding memory data errors, and consumption Power and unnecessary radiation can be reduced, and the
本発明にかかるメモリ制御装置は、メモリデータエラーを回避しながら消費電力や不要輻射を減少させることができる、という効果を有し、メモリ制御を内蔵する半導体チップとDRAM等のメモリチップが実装基板上で接続されるシステムにおいて有用である。 The memory control device according to the present invention has an effect that power consumption and unnecessary radiation can be reduced while avoiding a memory data error, and a semiconductor chip incorporating a memory control and a memory chip such as a DRAM are mounted on a mounting substrate. Useful in systems connected above.
1 タイミング生成部
2 検査実施/判定部
3 メモリ制御部
4 電流切換部
5 電圧切換部
6 メモリインターフェース部
7 メモリ
8,9,10 バッファ
11,12,13 スイッチ
14 スイッチング式変圧部
15 パルス調整部
16 パルス変換部
17 スイッチング制御部
18 基準クロック信号
19 書き込みイネーブル信号
20 アドレス信号
21 データ信号
22 データ処理部
23 エラー信号生成部
24 書き込み前処理部
25 データ処理部
26 エラー信号生成部
27 読み出し後処理部
29 比較/判定部
30 メモリ制御部
31 アクセス状況判定部
DESCRIPTION OF
Claims (12)
前記メモリ制御部に、前記メモリへの書き込みデータとメモリからの読み出しデータが一致するかどうかの検査を実施してその良否を判定する判定手段を設け、
前記メモリインターフェース部に、前記判定手段の判定結果に応じて、メモリインターフェース部の出力電流を任意の値に切り換える電流切換手段を設け、
前記電流切換手段は、前記判定手段においてメモリへの書き込みデータとメモリからの読み出しデータが一致すると判断されるときには、メモリインターフェース部の出力電流を現状より少なくするように切り換えるか、または現状を維持するようにし、前記判定手段においてメモリへの書き込みデータとメモリからの読み出しデータが一致しないと判断されるときには、メモリインターフェースの出力電流を現状より多くするように切り換えること
を特徴とするメモリ制御装置。 A memory control device including a memory, a memory interface unit that drives the memory, and a memory control unit that controls data writing to and reading from the memory via the memory interface unit,
The memory control unit is provided with a determination unit that performs an inspection of whether or not the write data to the memory and the read data from the memory match to determine whether the data is good or bad,
The memory interface unit is provided with a current switching unit that switches the output current of the memory interface unit to an arbitrary value according to the determination result of the determination unit,
When the determination means determines that the write data to the memory and the read data from the memory coincide with each other, the current switching means switches the output current of the memory interface unit to be less than the current value or maintains the current condition. Thus, when the determination means determines that the data written to the memory and the data read from the memory do not match, the memory control device switches the output current of the memory interface to be larger than the current state.
を特徴とする請求項1に記載のメモリ制御装置。 2. The memory control according to claim 1, wherein the current switching means has means for individually setting the current of each signal line of the memory interface unit when setting the output current of the memory interface unit. apparatus.
前記メモリ制御部に、前記メモリへの書き込みデータとメモリからの読み出しデータが一致するかどうかの検査を実施してその良否を判定する判定手段を設け、
前記メモリインターフェース部に、前記判定手段の判定結果に応じて、メモリインターフェース部の出力電圧を任意の値に切り換える電圧切換手段を設け、
前記電圧切換手段は、前記判定手段においてメモリへの書き込みデータとメモリからの読み出しデータが一致すると判断されるときには、メモリインターフェース部の出力電圧を現状より小さくするように切り換えるか、または現状を維持するようにし、前記判定手段においてメモリへの書き込みデータとメモリからの読み出しデータが一致しないと判断されるときには、メモリインターフェース部の出力電圧を現状より大きくするように切り換えること
を特徴とするメモリ制御装置。 A memory control device including a memory, a memory interface unit that drives the memory, and a memory control unit that controls data writing to and reading from the memory via the memory interface unit,
The memory control unit is provided with a determination unit that performs an inspection of whether or not the write data to the memory and the read data from the memory match to determine whether the data is good or bad,
The memory interface unit is provided with a voltage switching unit that switches the output voltage of the memory interface unit to an arbitrary value according to the determination result of the determination unit,
The voltage switching means switches the output voltage of the memory interface unit to be lower than the current state or maintains the current state when the determination means determines that the write data to the memory and the read data from the memory match. Thus, when the determination means determines that the data written to the memory and the data read from the memory do not match, the memory control device switches the output voltage of the memory interface unit to be larger than the current value.
を特徴とする請求項3に記載のメモリ制御装置。 4. The memory control device according to claim 3, wherein the voltage switching means has means for individually setting the voltage of each signal line of the memory interface when setting the output voltage of the memory interface section. .
前記メモリ制御部に、前記メモリへの書き込みデータとメモリからの読み出しデータが一致するかどうかの検査を実施してその良否を判定する判定手段と、メモリ制御タイミングを複数のパターンに切り換えるタイミング生成手段とを設け、
前記タイミング生成手段は、前記判定手段においてメモリへの書き込みデータとメモリからの読み出しデータが一致すると判断されるときには、メモリ制御タイミングのパターンを現状より遅くなるように設定するか、または現状を維持するように設定し、前記判定手段においてメモリへの書き込みデータとメモリからの読み出しデータが一致しないと判断されるときには、メモリ制御タイミングのパターンを現状より速くなるように設定すること
を特徴とするメモリ制御装置。 A memory control device including a memory, a memory interface unit that drives the memory, and a memory control unit that controls data writing to and reading from the memory via the memory interface unit,
A determination means for checking whether the write data to the memory and the read data from the memory coincide with each other in the memory control section, and a timing generation means for switching the memory control timing to a plurality of patterns And
The timing generation unit sets the memory control timing pattern to be slower than the current state or maintains the current state when the determination unit determines that the write data to the memory and the read data from the memory match. The memory control timing pattern is set to be faster than the current state when the determination means determines that the data written to the memory and the data read from the memory do not match. apparatus.
前記タイミング生成手段は、メモリ制御タイミングのパターンを現状より遅くなるように設定するか、または現状を維持するように設定するとき、前記アクセス状況判定手段により前記アクセス状況が粗と判定されるときには、メモリ制御タイミングのパターンを現状より遅くなるように設定し、前記アクセス状況判定手段により前記アクセス状況が密と判定するときには、メモリ制御タイミングのパターンを現状維持するように設定すること
を特徴とする請求項5に記載のメモリ制御装置。 The memory control unit is provided with access status determination means for monitoring the access status of the memory and comparing it with an arbitrary reference value to determine whether the access status is rough or dense,
When the timing generation unit sets the memory control timing pattern to be slower than the current state or sets the current state to maintain the current state, when the access state determination unit determines that the access state is rough, The memory control timing pattern is set so as to be later than the current state, and when the access status determining means determines that the access status is dense, the memory control timing pattern is set to maintain the current status. Item 6. The memory control device according to Item 5.
前記メモリに対して書き込む前のデータを処理し、このデータ処理の際のエラー発生状況を出力する書き込み前処理手段と、
前記メモリから読み出した後のデータを処理し、このデータ処理の際のエラー発生状況を出力する読み出し後処理手段と
を備え、
前記メモリ制御部に、前記書き込み前処理手段から出力されたエラー発生状況と前記読み出し後処理手段から出力されたエラー発生状況を比較して判定する比較判定手段を設け、
前記メモリインターフェース部に、前記比較判定手段の判定結果に応じて、メモリインターフェース部の出力電流を任意の値に切り換える電流切換手段を設け、
前記電流切換手段は、前記比較判定手段において前記メモリに対して書き込む前のデータ処理でのエラー発生状況とメモリから読み出した後のデータ処理でのエラー発生状況に差が無いと判断されるときには、メモリインターフェース部の出力電流を現状より少なくするように切り換えるか、または現状を維持するようにし、前記比較判定手段において前記メモリに対して書き込む前のデータ処理でのエラー発生状況とメモリから読み出した後のデータ処理でのエラー発生状況に差が有ると判断されるときには、メモリインターフェース部の出力電流を現状より多くするように切り換えること
を特徴とするメモリ制御装置。 A memory control device including a memory, a memory interface unit that drives the memory, and a memory control unit that controls data writing to and reading from the memory via the memory interface unit,
A pre-write processing means for processing data before writing to the memory and outputting an error occurrence status during the data processing;
Processing post-read data from the memory, and a post-read processing means for outputting an error occurrence status during the data processing,
The memory control unit is provided with comparison determination means for comparing and determining the error occurrence status output from the pre-write processing means and the error occurrence status output from the post-read processing means,
The memory interface unit is provided with a current switching unit that switches the output current of the memory interface unit to an arbitrary value according to the determination result of the comparison determination unit.
When the current switching means determines that there is no difference between the error occurrence status in the data processing before writing to the memory and the error occurrence status in the data processing after reading from the memory in the comparison determination means, After switching from the current output of the memory interface unit to be less than the current value or maintaining the current status, the comparison determination means and the error occurrence status in the data processing before writing to the memory and after reading from the memory A memory control device characterized in that when it is determined that there is a difference in error occurrence status in the data processing, the output current of the memory interface unit is switched to be larger than the current state.
を特徴とする請求項7に記載のメモリ制御装置。 8. The memory control according to claim 7, wherein the current switching unit includes a unit for individually setting a current of each signal line of the memory interface unit when setting an output current of the memory interface unit. apparatus.
前記メモリに対して書き込む前のデータを処理し、このデータ処理の際のエラー発生状況を出力する書き込み前処理手段と、
前記メモリから読み出した後のデータを処理し、このデータ処理の際のエラー発生状況を出力する読み出し後処理手段と
を備え、
前記メモリ制御部に、前記書き込み前処理手段から出力されたエラー発生状況と前記読み出し後処理手段から出力されたエラー発生状況を比較して判定する比較判定手段を設け、
前記メモリインターフェース部に、前記比較判定手段の判定結果に応じて、メモリインターフェース部の出力電圧を任意の値に切り換える電圧切換手段を設け、
前記電圧切換手段は、前記比較判定手段においてメモリに対して書き込む前のデータ処理でのエラー発生状況とメモリから読み出した後のデータ処理でのエラー発生状況に差が無いと判断されるときには、メモリインターフェース部の出力電圧を現状より小さくするように切り換えるか、または現状を維持するようにし、前記比較判定手段においてメモリに対して書き込む前のデータ処理でのエラー発生状況とメモリから読み出した後のデータ処理でのエラー発生状況に差が有ると判断されるときには、メモリインターフェース部の出力電圧を現状より大きくするように切り換えること
を特徴とするメモリ制御装置。 A memory control device including a memory, a memory interface unit that drives the memory, and a memory control unit that controls data writing to and reading from the memory via the memory interface unit,
A pre-write processing means for processing data before writing to the memory and outputting an error occurrence status during the data processing;
Processing post-read data from the memory, and a post-read processing means for outputting an error occurrence status during the data processing,
The memory control unit is provided with comparison determination means for comparing and determining the error occurrence status output from the pre-write processing means and the error occurrence status output from the post-read processing means,
The memory interface unit is provided with a voltage switching unit that switches the output voltage of the memory interface unit to an arbitrary value according to the determination result of the comparison determination unit.
When the voltage switching means determines that there is no difference between the error occurrence status in the data processing before writing to the memory and the error occurrence status in the data processing after reading from the memory in the comparison determination means, The output voltage of the interface unit is switched to be lower than the current state or the current state is maintained, and the error occurrence state in the data processing before writing to the memory in the comparison judgment unit and the data after reading from the memory A memory control device, characterized in that when it is determined that there is a difference in error occurrence status in processing, the output voltage of the memory interface unit is switched to be larger than the current state.
を特徴とする請求項9に記載のメモリ制御装置。 10. The memory control according to claim 9, wherein the voltage switching unit includes a unit for individually setting a voltage of each signal line of the memory interface unit when setting an output voltage of the memory interface unit. apparatus.
前記メモリに対して書き込む前のデータを処理し、このデータ処理の際のエラー発生状況を出力する書き込み前処理手段と、
前記メモリから読み出した後のデータを処理し、このデータ処理の際のエラー発生状況を出力する読み出し後処理手段と
を備え、
前記メモリ制御部に、前記書き込み前処理手段から出力されたエラー発生状況と前記読み出し後処理手段から出力されたエラー発生状況を比較して判定する比較判定手段と、メモリ制御タイミングを複数のパターンに切り換えるタイミング生成手段を設け、
前記タイミング生成手段は、前記比較判定手段においてメモリに対して書き込む前のデータ処理でのエラー発生状況とメモリから読み出した後のデータ処理でのエラー発生状況に差が無いと判断されるときには、メモリ制御タイミングのパターンを現状より遅くなるように設定するか、または現状を維持するように設定し、前記比較判定手段においてメモリに対して書き込む前のデータ処理でのエラー発生状況とメモリから読み出した後のデータ処理でのエラー発生状況に差が有ると判断されるときには、メモリ制御タイミングのパターンを現状より速くなるように設定すること
を特徴とするメモリ制御装置。 A memory control device including a memory, a memory interface unit that drives the memory, and a memory control unit that controls data writing to and reading from the memory via the memory interface unit,
A pre-write processing means for processing data before writing to the memory and outputting an error occurrence status during the data processing;
Processing post-read data from the memory, and a post-read processing means for outputting an error occurrence status during the data processing,
The memory control unit is configured to compare and determine the error occurrence status output from the pre-write processing means and the error occurrence status output from the post-read processing means, and to determine the memory control timing in a plurality of patterns. Provide a timing generation means for switching,
The timing generation means determines that there is no difference between the error occurrence status in the data processing before writing to the memory and the error occurrence status in the data processing after reading from the memory in the comparison determination means. After setting the control timing pattern to be later than the current state or setting to maintain the current state and reading from the memory the error occurrence status in the data processing before writing to the memory in the comparison judgment means A memory control device characterized in that when it is determined that there is a difference in error occurrence status in the data processing, the pattern of the memory control timing is set to be faster than the current state.
前記タイミング生成手段は、メモリ制御タイミングのパターンを現状より遅くなるように設定するか、または現状を維持するように設定するとき、前記アクセス状況判定手段により前記アクセス状況が粗と判定されるときには、メモリ制御タイミングのパターンを現状より遅くなるように設定し、前記アクセス状況判定手段により前記アクセス状況が密と判定するときには、メモリ制御タイミングのパターンを現状維持するように設定すること
を特徴とする請求項11に記載のメモリ制御装置。
The memory control unit is provided with access status determination means for monitoring the access status of the memory and comparing it with an arbitrary reference value to determine whether the access status is rough or dense,
When the timing generation unit sets the memory control timing pattern to be slower than the current state or sets the current state to maintain the current state, when the access state determination unit determines that the access state is rough, The memory control timing pattern is set so as to be later than the current state, and when the access status determining means determines that the access status is dense, the memory control timing pattern is set to maintain the current status. Item 12. The memory control device according to Item 11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004272651A JP2006091940A (en) | 2004-09-21 | 2004-09-21 | Memory control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004272651A JP2006091940A (en) | 2004-09-21 | 2004-09-21 | Memory control device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006091940A true JP2006091940A (en) | 2006-04-06 |
Family
ID=36232897
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004272651A Pending JP2006091940A (en) | 2004-09-21 | 2004-09-21 | Memory control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006091940A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008065819A (en) * | 2006-09-08 | 2008-03-21 | Internatl Business Mach Corp <Ibm> | Device, method, system and program for improving performance using mixed memory type |
JP2008226211A (en) * | 2007-02-13 | 2008-09-25 | Megachips Lsi Solutions Inc | Memory controller |
JP2009146541A (en) * | 2007-12-17 | 2009-07-02 | Fujitsu Microelectronics Ltd | System device and operating method of system device |
JP2012216188A (en) * | 2011-03-30 | 2012-11-08 | Fujitsu Ltd | Storage control device, storage control method, and storage control program |
CN109844724A (en) * | 2016-10-26 | 2019-06-04 | 日立汽车系统株式会社 | On-vehicle control apparatus |
-
2004
- 2004-09-21 JP JP2004272651A patent/JP2006091940A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008065819A (en) * | 2006-09-08 | 2008-03-21 | Internatl Business Mach Corp <Ibm> | Device, method, system and program for improving performance using mixed memory type |
JP2008226211A (en) * | 2007-02-13 | 2008-09-25 | Megachips Lsi Solutions Inc | Memory controller |
JP2009146541A (en) * | 2007-12-17 | 2009-07-02 | Fujitsu Microelectronics Ltd | System device and operating method of system device |
JP2012216188A (en) * | 2011-03-30 | 2012-11-08 | Fujitsu Ltd | Storage control device, storage control method, and storage control program |
CN109844724A (en) * | 2016-10-26 | 2019-06-04 | 日立汽车系统株式会社 | On-vehicle control apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR20150062438A (en) | Semiconductor Memory Apparatus and Input / Output Control Circuit Therefor | |
JP5181499B2 (en) | SCAN test circuit and semiconductor integrated circuit | |
JPWO2009150694A1 (en) | Semiconductor integrated circuit and test apparatus | |
JP2006275616A (en) | Semiconductor device and skew adjustment method | |
JP2006091940A (en) | Memory control device | |
JP2010250905A (en) | Semiconductor integrated circuit and method for testing the same | |
JP2005141725A (en) | Memory access circuit, operating method therefor, and display device using the memory access circuit | |
JP2003316566A (en) | Pipeline processor | |
JP2008065801A (en) | Switch module controller for memory, and related method | |
JP2006302493A (en) | Method of generating internal clock for semiconductor memory device and semiconductor memory device using the same | |
WO2011080841A1 (en) | Power-source control device and power-source control method | |
JP2006072777A (en) | Clock distribution circuit in semiconductor logic circuit, and method therefor | |
JP5089129B2 (en) | MEMORY SYSTEM, DATA WRITE METHOD, AND DATA READ METHOD | |
JP2008225956A (en) | Semiconductor integrated circuit device and timing adjustment method | |
JP2008152870A (en) | Memory test device | |
JP2007298378A (en) | Testing system, burn-in test method, and program | |
JP4669258B2 (en) | Timing generator and test apparatus | |
JP2007209030A (en) | Driver circuit device and driver-driving method | |
JP2004303163A (en) | Memory circuit and method for operating memory circuit | |
JP4181987B2 (en) | Semiconductor integrated circuit, electronic device, and clock supply state detection method for semiconductor integrated circuit | |
JP2008077305A (en) | Memory control unit | |
JP2005149696A (en) | Circuit for controlling driver strengths of data and data strobe in semiconductor element | |
JP2005010958A (en) | Semiconductor device | |
JP2005026757A (en) | Clock switching circuit and image processing apparatus employing the same | |
JP2005283537A (en) | Semiconductor device |