JP2006091940A - Memory control device - Google Patents

Memory control device Download PDF

Info

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
Application number
JP2004272651A
Other languages
Japanese (ja)
Inventor
Kiyokatsu Matsui
清克 松井
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2004272651A priority Critical patent/JP2006091940A/en
Publication of JP2006091940A publication Critical patent/JP2006091940A/en
Pending legal-status Critical Current

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a memory control device capable of reducing power consumption or unnecessary radiation. <P>SOLUTION: This device has a constitution wherein a memory control part 3 is provided with an inspection execution/determination part 2 for executing an inspection whether writing data on a memory 7 agree with reading data from the memory or not and determining its quality, and an output current from an memory interface part 7, an output voltage from the memory interface part and a pattern of a memory control timing of the memory control part 3 are adjusted according to a comparison result by the inspection execution/determination part 2. A driving current and a driving voltage of the memory 7 can be optimized, while avoiding a memory data error, by this constitution, and thereby the power consumption or unnecessary radiation can be reduced. <P>COPYRIGHT: (C)2006,JPO&NCIPI

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.

また従来のメモリ制御装置では、メモリを駆動するメモリインターフェース部の駆動能力はあらかじめ固定された値で設計されている。すなわち、メモリインターフェース部の駆動能力設計において、メモリ駆動能力不足によるメモリデータエラーを回避するために、駆動電流や駆動電圧は十分なマージンがある値にあらかじめ固定されている。
特許第3490403号公報
In the conventional memory control device, the drive capability of the memory interface unit that drives the memory is designed with a fixed value in advance. That is, in designing the drive capability of the memory interface unit, the drive current and the drive voltage are fixed to values having a sufficient margin in order to avoid memory data errors due to insufficient memory drive capability.
Japanese Patent No. 3490403

しかしながら、上述のような従来のメモリ制御装置の場合、メモリ駆動クロック信号の周波数を調整するだけであり、メモリインターフェース部の駆動電流や駆動電圧は十分なマージンがある値にあらかじめ固定されているため、必要とする以上の動作電流が流れて消費電力や不要輻射の悪化を引き起こす要因となっていた。   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 Embodiment 1 of the present invention.

このメモリ制御装置は、図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 memory interface unit 6 that drives the memory 7, and the writing of data to the memory 7 and the reading from the memory 7 via the memory interface unit 6. The memory control unit 3 is provided, the memory interface unit 6 is provided with the current switching unit 4 and the voltage switching unit 5, and the memory control unit 3 is provided with the timing generation unit 1, the inspection execution / determination unit 2, and the access status determination unit 31. Yes.

前記検査実施/判定部2は、メモリ7への書き込みデータとメモリ7からの読み出しデータが一致するかどうかの検査を実施してその良否を判定する判定手段であり、検査の良否の判定結果を、タイミング生成部1と電流切換部4と電圧切換部5へ出力している。また前記アクセス状況判定部31は、メモリ7のアクセス状況を監視して任意の基準値と比較し、アクセス状況が粗かどうか密かどうかを判定するアクセス状況判定手段であり、その判定結果をタイミング生成部1へ出力している。   The inspection execution / determination unit 2 is a determination unit that determines whether or not the write data to the memory 7 and the read data from the memory 7 coincide with each other, and determines the quality. The timing generator 1, the current switching unit 4, and the voltage switching unit 5 are output. The access status determination unit 31 is an access status determination unit that monitors the access status of the memory 7 and compares it with an arbitrary reference value to determine whether the access status is rough or dense. To part 1.

また前記電流切換部4は、検査実施/判定部2から入力する検査の判定結果に応じて、メモリインターフェース部6の出力電流(メモリ7の駆動電流)を任意の値に切り換える電流切換手段であり、検査実施/判定部2の判定結果に応じて、メモリインターフェース部6の出力電流を切り換えている。この電流切換部4は、メモリインターフェース部6の出力電流を設定する際に、メモリインターフェース部6の各信号線の出力電流を個別に設定するための手段を有している。この電流切換部4の構成の一例を図2に示す。   The current switching unit 4 is a current switching unit that switches the output current of the memory interface unit 6 (drive current of the memory 7) to an arbitrary value in accordance with the test determination result input from the test execution / determination unit 2. The output current of the memory interface unit 6 is switched according to the determination result of the inspection execution / determination unit 2. The current switching unit 4 has means for individually setting the output current of each signal line of the memory interface unit 6 when setting the output current of the memory interface unit 6. An example of the configuration of the current switching unit 4 is shown in FIG.

図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 current switching unit 4 includes a buffer 8 with an output current I, a buffer 9 with an output current 2I, and a buffer 10 with an output current 4I, a switch 11, a switch 12, 13 in parallel with each other. When only the switch 11 is connected, the output current of the memory interface unit 6 becomes I, when only the switch 12 is connected, the output current of the memory interface unit 6 becomes 2I, and when only the switch 13 is connected, the output current of the memory interface unit 6 becomes When the switch 11 and the switch 12 are connected, the output current of the memory interface unit 6 is 3I. When the switch 11 and the switch 13 are connected, the output current of the memory interface unit 6 is 5I. When the two switches 12 and 13 are connected, the output current of the memory interface unit 6 becomes 6I. When all the switches 11, 12 and 13 are connected, the output current of the memory interface unit 6 becomes 7I. Therefore, in the present configuration example, the switch 11, the switch 12, and the switch 13 are selected and driven according to the determination result of the inspection performed by the inspection execution / determination unit 2 to obtain the output current of each signal line of the memory interface unit 6. Seven types of I, 2I, 3I, 4I, 5I, 6I, and 7I can be selected.

また上記電圧切換部5は、検査実施/判定部2から入力する検査の判定結果に応じて、メモリインターフェース部6の出力電圧(メモリ7の駆動電圧)を任意の値に切り換える電圧切換手段であり、検査実施/判定部2の判定結果に応じて、メモリインターフェース部6の出力電圧を切り換えている。この電圧切換手段5は、メモリインターフェース部6の出力電圧を設定する際に、メモリインターフェース6の各信号線の出力電圧を個別に設定するための手段を有している。この電圧切換部5の構成の一例を図3に示す。   The voltage switching unit 5 is voltage switching means for switching the output voltage of the memory interface unit 6 (drive voltage of the memory 7) to an arbitrary value in accordance with the inspection determination result input from the inspection execution / determination unit 2. The output voltage of the memory interface unit 6 is switched according to the determination result of the inspection execution / determination unit 2. This voltage switching means 5 has means for individually setting the output voltage of each signal line of the memory interface 6 when setting the output voltage of the memory interface section 6. An example of the configuration of the voltage switching unit 5 is shown in FIG.

図3に示すように、電圧切換部5は、入力電圧を変圧して出力電圧を生成するスイッチング式変圧部14と、パルス調整部15およびパルス変換部16を含むスイッチング制御部17とを備えている。パルス変換部16で生成されるスイッチングパルスは、パルス調整部15での設定とスイッチング式変圧部14の出力電圧のフィードバックで調整され、所望の出力電圧が得られるようにスイッチング式変圧部14のスイッチングを制御している。したがって、本構成例では、検査実施/判定部2の検査の判定結果に応じて、パルス調整部15での設定を変更することにより、メモリインターフェース部6の各信号線の出力電圧を切り換えることができる。   As shown in FIG. 3, the voltage switching unit 5 includes a switching type transformation unit 14 that transforms an input voltage to generate an output voltage, and a switching control unit 17 that includes a pulse adjustment unit 15 and a pulse conversion unit 16. Yes. The switching pulse generated by the pulse converter 16 is adjusted by the setting in the pulse adjuster 15 and the feedback of the output voltage of the switching transformer 14, and the switching of the switching transformer 14 so as to obtain a desired output voltage. Is controlling. Therefore, in this configuration example, the output voltage of each signal line of the memory interface unit 6 can be switched by changing the setting in the pulse adjustment unit 15 according to the determination result of the inspection by the inspection execution / determination unit 2. it can.

また前記タイミング生成部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 timing generator 1 is a timing generator that generates a plurality of patterns of write enable signals, address signals, and data signals in units of one cycle of the reference clock signal, that is, switches the memory control timing to a plurality of patterns. The memory control unit 3 controls the memory 7 via the memory interface unit 6 at the memory control timing generated by the timing generation unit 1. FIG. 4 is a timing chart showing an example of a memory control timing pattern generated by the timing generation unit 1 in the memory control device shown in FIG. This timing chart shows the timing of the reference clock signal 18, the write enable signal 19, the address signal 20, and the data signal 21, and the memory 7 performs a synchronization operation at the rising edge of the reference clock signal 18. The write enable signal 19 is a negative enable signal, and a write operation is performed at the L level. Three types of memory control timing patterns, Pattern 1 to Pattern 3, are preset as a plurality of patterns.
"Pattern 1"
In the pattern 1, the write enable signal 18, the address signal 20, and the data signal 21 are formed with one cycle of the reference clock signal 18 as a minimum cycle unit. In this timing chart, by enabling the write enable signal 19, the “D1” data set by the data signal 21 is written to the “A1” address set by the address signal 20, and then the “A3” address is set by the address signal 20. Thus, the operation of reading “D3” data from the data signal 21 is shown.
"Pattern 2"
In the pattern 2, the write enable signal 18, the address signal 20 and the data signal 21 are formed with the two cycles of the reference clock signal 18 as a minimum cycle unit. In this timing chart, by enabling the write enable signal 19, the “D2” data set by the data signal 21 is written to the “A2” address set by the address signal 20, and then the “A1” address is set by the address signal 20. Thus, the operation of reading “D1” data from the data signal 21 is shown.
"Pattern 3"
In the pattern 3, the write enable signal 18, the address signal 20, and the data signal 21 are formed with the three cycles of the reference clock signal 18 as a minimum cycle unit. In this timing chart, by enabling the write enable signal 19, the “D3” data set by the data signal 21 is written to the “A3” address set by the address signal 20, and then the “A2” address is set by the address signal 20. Thus, the operation of reading “D2” data from the data signal 21 is shown.

したがって、本構成例では、検査実施/判定部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 / determination unit 2 and the determination result of the access status determination unit 31.

上記構成により前記検査実施/判定部2から出力される判定結果に応じて、電流切換部4と電圧切換部5を調整して、メモリ7を駆動するメモリインターフェース部6の電流と電圧が決定され、さらに前記検査実施/判定部2とアクセス状況判定部31から出力される判定結果に応じて、タイミング生成部1を調整して、メモリ制御部3のメモリ制御タイミングが決定される。   With the above configuration, the current switching unit 4 and the voltage switching unit 5 are adjusted according to the determination result output from the inspection execution / determination unit 2 to determine the current and voltage of the memory interface unit 6 that drives the memory 7. Further, the timing generation unit 1 is adjusted in accordance with the determination results output from the inspection execution / determination unit 2 and the access status determination unit 31, and the memory control timing of the memory control unit 3 is determined.

すなわち、前記検査実施/判定部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 / determination unit 2 is good, that is, when it is determined that the write data to the memory 7 and the read data from the memory 7 match,
a1. In the current switching unit 4, the output current of the memory interface unit 6 (drive current of the memory 7) is adjusted (switched) to be less than the current level, or adjusted to maintain the current level,
a2. In the voltage switching unit 5, the output voltage of the memory interface unit 6 (drive voltage of the memory 7) is adjusted (switched) to be smaller than the current level, or adjusted to maintain the current level,
a3. In the timing generation unit 1, the memory control timing pattern is selected to be slower than the current state or to maintain the current state. Subsequently, in the timing generation unit 1, when the access status determination unit 31 determines that the access status is rough, the memory control timing pattern is adjusted (set) to be slower than the current status, and the access status determination unit 31 determines the access status. Is determined (set) so as to maintain the current pattern of the memory control timing.

また前記検査実施/判定部2の判定結果が否、すなわちメモリ7への書き込みデータとメモリ7からの読み出しデータが一致しないと判断されるときには、
b1.電流切換部4では、メモリインターフェース部6の出力電流(メモリ7の駆動電流)を現状より多くするように調整され(切り換えられ)、
b2.電圧切換部5では、メモリインターフェース部6の出力電圧(メモリ7の駆動電圧)を現状より大きくするように調整され(切り換えられ)、
b3.タイミング生成部1では、メモリ制御タイミングのパターンを現状より速くするように調整(設定)される。
When the determination result of the inspection execution / determination unit 2 is negative, that is, when it is determined that the write data to the memory 7 and the read data from the memory 7 do not match,
b1. In the current switching unit 4, the output current of the memory interface unit 6 (drive current of the memory 7) is adjusted (switched) to be larger than the current state,
b2. In the voltage switching unit 5, the output voltage of the memory interface unit 6 (drive voltage of the memory 7) is adjusted (switched) to be larger than the current state,
b3. The timing generation unit 1 adjusts (sets) the memory control timing pattern so as to be faster than the current state.

上記作用により、検査実施/判定部2の判定結果が良のとき、メモリ7の駆動電流とメモリ7の駆動電圧が、現状より減少または現状維持とされ、メモリ制御タイミングのパターンが現状より遅くまたは現状維持が選択され、続いてアクセス状況判定部31の判定結果により、アクセス状況が粗と判定されるときには、メモリ制御タイミングのパターンが現状より遅くなるように調整(設定)され、アクセス状況が密と判定するときには、メモリ制御タイミングのパターンが現状維持するように調整(設定)される。また検査実施/判定部2の判定結果が否のとき、メモリ7の駆動電流とメモリ7の駆動電圧が現状より増加され、メモリ制御タイミングのパターンが現状より速くなるように調整(設定)される。よって、メモリデータエラーを回避しながらメモリ7の駆動電流とメモリ7の駆動電圧が最適化される。   Due to the above action, when the determination result of the inspection execution / determination unit 2 is good, the drive current of the memory 7 and the drive voltage of the memory 7 are reduced or maintained from the current state, and the pattern of the memory control timing is later than the current state or When the current status is selected and the access status determination unit 31 determines that the access status is rough, the memory control timing pattern is adjusted (set) to be slower than the current status, and the access status is fine. , The memory control timing pattern is adjusted (set) so as to maintain the current state. When the determination result of the inspection execution / determination unit 2 is negative, the drive current of the memory 7 and the drive voltage of the memory 7 are increased from the current level, and the pattern of the memory control timing is adjusted (set) to be faster than the current level. . Therefore, the drive current of the memory 7 and the drive voltage of the memory 7 are optimized while avoiding memory data errors.

以上のように、本実施の形態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 timing generation unit 1 is provided as a means for adjusting the timing margin of memory control, and the timing generation unit 1 adjusts the memory control timing to switch between multiple timing patterns (patterns 1 to 3). Since the timing margin can be adjusted only by the logic circuit, the circuit scale can be reduced and the current consumption can be reduced.

また本実施の形態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 pre-write processing unit 24 provided with a data processing unit 22 and an error signal generation unit 23, and a post-read processing unit provided with a data processing unit 25 and an error signal generation unit 26. 27 is provided, and the memory control unit 30 is provided with a comparison / determination unit 29 instead of the inspection execution / determination unit 2. The configuration example of the current switching unit 4 is the same as the configuration example shown in FIG. 2, and the configuration example of the voltage switching unit 5 is the timing generated by the timing generation unit 1 as in the configuration example shown in FIG. The pattern example is the same as the timing pattern example shown in FIG.

前記データ処理部22はメモリ7に書き込む前のデータを処理する手段、前記エラー信号生成部23はデータ処理部22によりデータを処理する際に発生したエラー発生状況より処理エラー信号を生成して出力する手段であり、書き込み前処理部24は、メモリ7に対して書き込む前のデータを処理し、このデータ処理の際のエラー発生状況を出力する書き込み前処理手段を構成している。書き込み前処理部24において、メモリ7に書き込む前のデータがデータ処理部22で処理され、その際の処理エラー信号がエラー信号生成部23より比較/判定部29へ出力される。   The data processing unit 22 is means for processing data before being written to the memory 7, and the error signal generation unit 23 generates and outputs a processing error signal from an error occurrence situation that occurs when the data processing unit 22 processes the data. The pre-write processing unit 24 constitutes a pre-write processing unit that processes data before writing to the memory 7 and outputs an error occurrence status during the data processing. In the pre-write processing unit 24, data before being written to the memory 7 is processed by the data processing unit 22, and a processing error signal at that time is output from the error signal generating unit 23 to the comparison / determination unit 29.

また前記データ処理部25はメモリ7から読み出した後のデータを処理する手段、前記エラー信号生成部26はデータ処理部25によりデータを処理する際に発生したエラー発生状況より処理エラー信号を生成して出力する手段であり、読み出し後処理部27は、メモリ7から読み出した後のデータを処理し、このデータ処理の際のエラー発生状況を出力する読み出し後処理手段を構成している。読み出し後処理部27において、メモリ7から読み出した後のデータはデータ処理部25で処理され、その際の処理エラー信号がエラー信号生成部26より比較/判定部29へ出力される。   The data processing unit 25 is a means for processing the data read from the memory 7, and the error signal generation unit 26 generates a processing error signal from an error occurrence situation that occurs when the data processing unit 25 processes the data. The post-read processing unit 27 constitutes post-read processing means for processing the data read from the memory 7 and outputting the error occurrence status during the data processing. In the post-read processing unit 27, the data read from the memory 7 is processed by the data processing unit 25, and a processing error signal at that time is output from the error signal generation unit 26 to the comparison / determination unit 29.

前記メモリ制御部30に含まれる比較/判定部29は、書き込み前処理部24のエラー信号生成部23から出力された処理エラー信号(エラー発生状況)と読み出し後処理部27のエラー信号生成部26から出力された処理エラー信号(エラー発生状況)が入力され、これら2種類の処理エラー信号を比較して判定する比較判定手段を構成しており、2種類の処理エラー信号の差分による良否の判定結果が、タイミング生成部1と電流切換部4と電圧切換部5へ出力されている。   The comparison / determination unit 29 included in the memory control unit 30 includes a processing error signal (error occurrence state) output from the error signal generation unit 23 of the pre-write processing unit 24 and an error signal generation unit 26 of the post-read processing unit 27. The processing error signal (error occurrence status) output from the above is input, and a comparison / determination means for comparing and determining these two types of processing error signals is configured, and the quality is determined based on the difference between the two types of processing error signals. The result is output to the timing generation unit 1, the current switching unit 4, and the voltage switching unit 5.

上記構成により前記比較/判定部29から出力される判定結果に応じて、電流切換部4と電圧切換部5を調整して、メモリ7を駆動するメモリインターフェース部6の電流と電圧が決定され、さらに前記比較/判定部29とアクセス状況判定部31から出力される判定結果に応じて、タイミング生成部1を調整して、メモリ制御部3のメモリ制御タイミングが決定される。   According to the determination result output from the comparison / determination unit 29 with the above configuration, the current switching unit 4 and the voltage switching unit 5 are adjusted to determine the current and voltage of the memory interface unit 6 that drives the memory 7, Further, the timing generation unit 1 is adjusted according to the determination results output from the comparison / determination unit 29 and the access status determination unit 31 to determine the memory control timing of the memory control unit 3.

すなわち、前記比較/判定部29の判定結果が良、すなわちエラー信号生成部23から出力される書き込み前処理での処理エラーのエラー発生状況とエラー信号生成部26から出力される読み出し後処理での処理エラーのエラー発生状況に差が無いと判断されるときには、
c1.電流切換部4では、メモリインターフェース部6の出力電流(メモリ7の駆動電流)を現状より少なく調整される(切り換えられる)か、または現状を維持するように調整され、
c2.電圧切換部5では、メモリインターフェース部6の出力電圧(メモリ7の駆動電圧)を現状より小さく調整される(切り換えられる)か、または現状を維持するように調整され、
c3.タイミング生成部1では、メモリ制御タイミングのパターンを現状より遅くするかまたは現状を維持するように選択される。続いて、アクセス状況判定部31によりアクセス状況が粗と判定されるときには、メモリ制御タイミングのパターンを現状より遅くなるように調整(設定)され、アクセス状況判定部31によりアクセス状況が密と判定するときには、メモリ制御タイミングのパターンを現状維持するように調整(設定)される。
That is, the determination result of the comparison / determination unit 29 is good, that is, the error occurrence state of the processing error in the pre-write processing output from the error signal generation unit 23 and the post-read processing output from the error signal generation unit 26 When it is judged that there is no difference in the error occurrence status of processing error,
c1. In the current switching unit 4, the output current of the memory interface unit 6 (drive current of the memory 7) is adjusted (switched) less than the current level, or adjusted to maintain the current level,
c2. In the voltage switching unit 5, the output voltage of the memory interface unit 6 (drive voltage of the memory 7) is adjusted (switched) to be smaller than the current level or adjusted to maintain the current level,
c3. In the timing generation unit 1, the memory control timing pattern is selected to be slower than the current state or to maintain the current state. Subsequently, when the access status determination unit 31 determines that the access status is rough, the memory control timing pattern is adjusted (set) to be slower than the current status, and the access status determination unit 31 determines that the access status is dense. Sometimes, the memory control timing pattern is adjusted (set) to maintain the current state.

また前記比較/判定部29の判定結果が否、すなわちエラー信号生成部23から出力される書き込み前処理での処理エラーのエラー発生状況とエラー信号生成部26から出力される読み出し後処理での処理エラーのエラー発生状況に差が有ると判断されるときには、
d1.電流切換部4では、メモリインターフェース部6の出力電流(メモリ7の駆動電流)を現状より多くするように調整され(切り換えられ)、
d2.電圧切換部5では、メモリインターフェース部6の出力電圧(メモリ7の駆動電圧)を現状より大きくするように調整され(切り換えられ)、
d3.タイミング生成部1では、メモリ制御タイミングのパターンを現状より速くするように調整(設定)される。
Further, the determination result of the comparison / determination unit 29 is negative, that is, the error occurrence status of the processing error in the pre-write processing output from the error signal generation unit 23 and the processing in the post-read processing output from the error signal generation unit 26 When it is determined that there is a difference in error occurrence status,
d1. In the current switching unit 4, the output current of the memory interface unit 6 (drive current of the memory 7) is adjusted (switched) to be larger than the current state,
d2. In the voltage switching unit 5, the output voltage of the memory interface unit 6 (drive voltage of the memory 7) is adjusted (switched) to be larger than the current state,
d3. The timing generation unit 1 adjusts (sets) the memory control timing pattern so as to be faster than the current state.

上記作用により、比較/判定部29の判定結果が良のとき、メモリ7の駆動電流とメモリ7の駆動電圧が、現状より減少または現状維持とされ、メモリ制御タイミングのパターンが現状より遅くまたは現状維持が選択され、続いてアクセス状況判定部31の判定結果により、アクセス状況が粗と判定されるときには、メモリ制御タイミングのパターンを現状より遅くなるように調整(設定)され、アクセス状況が密と判定するときには、メモリ制御タイミングのパターンを現状維持するように調整(設定)される。また比較/判定部29の判定結果が否のとき、メモリ7の駆動電流とメモリ7の駆動電圧が現状より増加され、メモリ制御タイミングのパターンが現状より速くなるように調整(設定)される。よって、メモリデータエラーを回避しながらメモリ7の駆動電流とメモリ7の駆動電圧が最適化される。   Due to the above action, when the determination result of the comparison / determination unit 29 is good, the drive current of the memory 7 and the drive voltage of the memory 7 are reduced or maintained from the current state, and the pattern of the memory control timing is later than the current state or the current state When maintenance is selected and subsequently the access status is determined to be rough according to the determination result of the access status determination unit 31, the memory control timing pattern is adjusted (set) to be slower than the current status, and the access status is When determining, the memory control timing pattern is adjusted (set) so as to maintain the current state. When the determination result of the comparison / determination unit 29 is negative, the drive current of the memory 7 and the drive voltage of the memory 7 are increased from the current level, and the pattern of the memory control timing is adjusted (set) to be faster than the current level. Therefore, the drive current of the memory 7 and the drive voltage of the memory 7 are optimized while avoiding memory data errors.

以上のように、本実施の形態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 timing generation unit 1 which is a means for adjusting the timing margin of memory control adjusts the memory control timing and switches between multiple timing patterns (patterns 1 to 3). As a result, the timing margin can be adjusted only by the logic circuit, so the circuit scale can be reduced and the current consumption can be reduced. In addition, when the memory 7 is changed or the memory interface status is changed, the adjustment is made immediately. By doing so, memory data errors due to insufficient memory drive capability can be avoided, and the drive capability of the memory 7 can always be maintained optimally. .

本発明にかかるメモリ制御装置は、メモリデータエラーを回避しながら消費電力や不要輻射を減少させることができる、という効果を有し、メモリ制御を内蔵する半導体チップと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におけるメモリ制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the memory control apparatus in Embodiment 1 of this invention. 同メモリ制御装置における電流切換部の構成を示す図である。It is a figure which shows the structure of the electric current switching part in the memory control apparatus. 同メモリ制御装置における電圧変換部の構成を示すブロック図である。It is a block diagram which shows the structure of the voltage converter in the memory control apparatus. 同メモリ制御装置におけるメモリ制御タイミングパターンを示すタイミングチャートである。3 is a timing chart showing a memory control timing pattern in the memory control device. 本発明の実施の形態2におけるメモリ制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the memory control apparatus in Embodiment 2 of this invention.

符号の説明Explanation of symbols

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 SYMBOLS 1 Timing generation part 2 Inspection implementation / determination part 3 Memory control part 4 Current switching part 5 Voltage switching part 6 Memory interface part 7 Memory 8, 9, 10 Buffer 11, 12, 13 Switch 14 Switching type transformation part 15 Pulse adjustment part 16 Pulse converter 17 Switching controller 18 Reference clock signal 19 Write enable signal 20 Address signal 21 Data signal 22 Data processor 23 Error signal generator 24 Pre-write processor 25 Data processor 26 Error signal generator 27 Post-read processor 29 Comparison / determination unit 30 Memory control unit 31 Access status determination unit

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.
JP2004272651A 2004-09-21 2004-09-21 Memory control device Pending JP2006091940A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (5)

* Cited by examiner, † Cited by third party
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