JP2006236012A - Memory controller - Google Patents

Memory controller Download PDF

Info

Publication number
JP2006236012A
JP2006236012A JP2005049836A JP2005049836A JP2006236012A JP 2006236012 A JP2006236012 A JP 2006236012A JP 2005049836 A JP2005049836 A JP 2005049836A JP 2005049836 A JP2005049836 A JP 2005049836A JP 2006236012 A JP2006236012 A JP 2006236012A
Authority
JP
Japan
Prior art keywords
data
previous value
memory
bit width
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005049836A
Other languages
Japanese (ja)
Inventor
Tetsuya Kamata
哲弥 鎌田
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 JP2005049836A priority Critical patent/JP2006236012A/en
Publication of JP2006236012A publication Critical patent/JP2006236012A/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 controller for preventing the garble of address data or writing data due to the shortage of an electric current amount in the address data and writing data to be written into an external memory by suppressing power consumption and unnecessary radiation. <P>SOLUTION: The memory controller includes: a data signal encoder 12 which is connected between the external memory and a memory interface, and in which the previous value of the writing data 8 is stored, and the writing data 8 is separated into an offset value X and a previous value difference data Y which is obtained based on writing data 9 and the preserved previous value, and subjected to transformation so as to write the data into the external memory as encoding writing data 15; and a memory output signal decoder 13 for obtaining the sum of the offset value X in reading data 9 and the previous value difference data Y, so as to perform inverse transformation, and outputting it as decoding reading data 16. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、外部メモリに対して、指定されたアドレスデータに、入力した書き込みデータを書き込み、前記外部メモリより、指定されたアドレスデータのデータを読み出して出力するメモリ制御装置に関するものである。   The present invention relates to a memory control device that writes input write data to specified address data to an external memory, and reads and outputs data of specified address data from the external memory.

従来、ディスク装置等で使用される外部接続メモリへのアクセスは、メモリを使用する各機能ブロックで使っているデータの形で指定されたアドレスへ書き込みを行い、順次読み出しを行っている。   Conventionally, access to an external connection memory used in a disk device or the like is performed by sequentially writing to an address specified in the form of data used in each functional block using the memory.

図8に、従来のメモリ制御を有する装置の構成を示す。
1はメモリ制御を有する装置、4はこのメモリ制御を有する装置1に外部接続される外部メモリである。
FIG. 8 shows a configuration of a device having conventional memory control.
1 is a device having memory control, and 4 is an external memory externally connected to the device 1 having memory control.

メモリ制御を有する装置1には、外部メモリ4を使用する機能ブロック2と、この機能ブロック2からの要求である入出力データ6を受け取り、外部メモリ4にアドレスデータ7と書き込みデータ8を出力し、外部メモリ4からの読み出しデータ9を受け取るメモリインターフェース3と、このメモリインターフェース3と外部メモリ4を接続するI/Oセル5が備えられている。   The device 1 having the memory control receives the functional block 2 using the external memory 4 and the input / output data 6 which is a request from the functional block 2, and outputs the address data 7 and the write data 8 to the external memory 4. A memory interface 3 that receives read data 9 from the external memory 4 and an I / O cell 5 that connects the memory interface 3 and the external memory 4 are provided.

上記構成により、メモリ制御を有する装置1は、機能ブロック2からの要求でメモリインターフェース3を介して外部メモリ4にアクセスし、機能ブロック2が指定したアドレスに対して書き込みデータ8の書き込みを行い、または読み出しデータ9の読み出しを行っている。   With the above configuration, the device 1 having memory control accesses the external memory 4 through the memory interface 3 in response to a request from the function block 2, writes the write data 8 to the address specified by the function block 2, Alternatively, the read data 9 is read.

また、従来のメモリ制御を有する装置の他の一例が、特許文献1に開示されている。
この特許文献1に開示されているメモリ制御を有する装置は、外部メモリのデータバス幅と同サイズのレジスタを設け、外部メモリから1回のアクセスで読み出したデータを該レジスタに格納した後に、必要なデータを該レジスタから順次選択し、リード要求したCPU等の処理装置に出力することにより、外部メモリへのアクセス回数を必要最小限で済ませることで高速にデータを転送できるように高速アクセスの工夫をしている。
特開2003−44354号公報(第14頁、第1図)
Another example of a conventional device having memory control is disclosed in Patent Document 1.
The device having memory control disclosed in Patent Document 1 is provided with a register having the same size as the data bus width of the external memory, and is necessary after storing data read from the external memory in one access in the register. High-speed access so that data can be transferred at high speed by sequentially selecting the correct data from the register and outputting it to a processing device such as a CPU that requested the read, thereby minimizing the number of accesses to the external memory. I am doing.
JP 2003-44354 A (page 14, FIG. 1)

しかしながら、図8および特許文献1に示される従来のメモリ制御を有する装置では、基板上の配線、レイアウトや外部メモリの負荷容量等の要因により、外部メモリへのアドレスデータや書き込みデータの電流量が不足してしまう場合がある。その際、アドレスデータや書き込みデータのデータ化けが起こり、結果として読み出しデータが正しい値にならなくなる場合があるという問題を有している。   However, in the device having the conventional memory control shown in FIG. 8 and Patent Document 1, the current amount of address data and write data to the external memory depends on factors such as wiring on the substrate, layout, and load capacity of the external memory. There may be a shortage. At this time, the address data and write data are garbled, and as a result, there is a problem that the read data may not have a correct value.

このような課題に対し、I/Oセルの電流能力を一律上げることでデータ化けの対策を行うことが可能ではあるが、消費電力や不要輻射の面で不利になってしまう。
そこで、本発明は、消費電力と不要輻射を抑えて、外部メモリへのアドレスデータや書き込みデータの電流量の不足に起因するアドレスデータや書き込みデータのデータ化けを防止できるメモリ制御装置を提供することを目的としたものである。
Although it is possible to take measures against data corruption by uniformly increasing the current capability of the I / O cell, such a problem is disadvantageous in terms of power consumption and unnecessary radiation.
Therefore, the present invention provides a memory control device that can suppress power consumption and unnecessary radiation and prevent data corruption of address data and write data due to a shortage of current amount of address data and write data to an external memory. It is aimed at.

前述した目的を達成するために、本発明のうち請求項1に記載の発明は、外部メモリに対して、指定されたアドレスデータに、入力した書き込みデータを書き込み、前記外部メモリより、指定されたアドレスデータのデータを読み出して出力するメモリ制御装置であって、前記書き込みデータの前値を保存し、前記書き込みデータを、オフセット値、および書き込みデータと前記保存された前値との前値差分データに分離して変換し、これらオフセット値と前値差分データを前記外部メモリへ書き込むデータ信号エンコーダと、前記外部メモリから読み出された、前記オフセット値と前値差分データとの和をとって逆変換し、出力するメモリ出力信号デコーダを備えることを特徴とするものである。   In order to achieve the above-mentioned object, the invention according to claim 1 of the present invention writes the input write data to the designated address data to the external memory, and is designated by the external memory. A memory control device that reads and outputs address data, stores a previous value of the write data, sets the write data as an offset value, and previous value difference data between the write data and the stored previous value A data signal encoder that writes the offset value and the previous value difference data to the external memory, and the sum of the offset value and the previous value difference data read from the external memory is reversed. A memory output signal decoder for converting and outputting is provided.

上記構成によれば、書き込みデータは、オフセット値と前値差分データに分離されて外部メモリに書き込まれる。前記前値差分データの変化は少ない(特に、オーディオデータのとき)ことから、結果として外部メモリへの書き込みデータの変化量が入力した書き込みデータよりも少なくなり、よって外部メモリへのアドレスデータと書き込みデータの同時変化による瞬時の電流量が低減され、電流量不足を最低限に抑えることが可能となり、データ化けが抑えられ、さらに不要輻射の低減につながる。   According to the above configuration, the write data is separated into the offset value and the previous value difference data and written to the external memory. Since the change in the previous value difference data is small (especially in the case of audio data), as a result, the amount of change in the write data to the external memory becomes smaller than the input write data, and thus the address data and the write to the external memory The instantaneous current amount due to the simultaneous change of data is reduced, and it becomes possible to minimize the shortage of current amount, data corruption is suppressed, and unnecessary radiation is further reduced.

また請求項2に記載の発明は、外部メモリに対して、指定されたアドレスデータに、入力した書き込みデータを書き込み、前記外部メモリより、指定されたアドレスデータのデータを読み出して出力するメモリ制御装置であって、前記書き込みデータの前値を保存し、前記書き込みデータを、オフセット値、および書き込みデータと前記保存された前値との前値差分データに分離して変換し、前記書き込みデータを分離するとき、前記前値差分データに設定されたビット幅の可動域を超える差分が発生した場合、前記オフセット値を更新して前記前値差分データを前記設定されたビット幅に抑え、前値差分データを外部メモリへ記憶し、更新したオフセット値とオフセット値更新時のアドレスを記憶するデータ信号エンコーダと、データ読み出し時に、前記データ信号エンコーダに記憶されたオフセット値変更時のアドレスと照合したオフセット値と、前記外部メモリから読み出された前値差分データの和をとって逆変換し、出力するメモリ出力信号デコーダとを備えることを特徴とするものである。   According to a second aspect of the present invention, there is provided a memory control device for writing input write data to designated address data to an external memory, and reading and outputting data of designated address data from the external memory. The previous value of the write data is stored, the write data is separated and converted into an offset value and previous value difference data between the write data and the stored previous value, and the write data is separated When a difference that exceeds the range of motion of the bit width set in the previous value difference data occurs, the offset value is updated to suppress the previous value difference data to the set bit width, and the previous value difference A data signal encoder that stores data in external memory and stores the updated offset value and the address at the time of offset value update, and data reading At this time, the memory output signal for inversely converting and outputting the sum of the offset value collated with the address at the time of offset value change stored in the data signal encoder and the previous value difference data read from the external memory And a decoder.

上記構成によれば、書き込みデータを分離するとき、前値差分データに設定されたビット幅の可動域を超える差分が発生した場合、オフセット値を更新して前値差分データを設定されたビット幅に抑え、前値差分データを外部メモリへ記憶し、更新したオフセット値とオフセット値更新時のアドレスが記憶される。このように、前値差分データのみが外部メモリに記憶され、この前値差分データの変化は少ない(特に、オーディオデータのとき)ことから、結果として外部メモリへの書き込みデータの変化量が入力した書き込みデータよりも少なくなり、よって外部メモリへのアドレスデータと書き込みデータの同時変化による瞬時の電流量が低減され、電流量不足を最低限に抑えることが可能となり、データ化けが抑えられ、さらに不要輻射の低減につながる。また外部メモリを有効に使用することが可能となる。   According to the above configuration, when separating the write data, if a difference occurs that exceeds the movable range of the bit width set in the previous value difference data, the offset value is updated and the bit width set in the previous value difference data is set. The previous value difference data is stored in the external memory, and the updated offset value and the address when the offset value is updated are stored. In this way, only the previous value difference data is stored in the external memory, and since the change in the previous value difference data is small (particularly in the case of audio data), the amount of change in the write data to the external memory is input as a result. The amount of current is less than the amount of write data, so the instantaneous amount of current due to simultaneous changes in the address data and write data to the external memory is reduced, and it is possible to minimize the shortage of current, minimizing data corruption and unnecessary. It leads to reduction of radiation. In addition, the external memory can be used effectively.

また請求項3に記載の発明は、請求項1に記載の発明であって、前記データ信号エンコーダは、前記書き込みデータを分離するとき、設定されたビット幅の可動域を超える差分が発生した場合、前記オフセット値を更新して前記前値差分データを前記設定されたビット幅に抑え、更新したオフセット値を前記外部メモリへ書き込み、前記メモリ出力信号デコーダは、前記外部メモリから読み出された、前記更新したオフセット値と前値差分データとの和をとって逆変換することを特徴とするものである。   The invention according to claim 3 is the invention according to claim 1, wherein when the data signal encoder separates the write data, a difference exceeding a movable range of a set bit width occurs. The offset value is updated to suppress the previous value difference data to the set bit width, the updated offset value is written to the external memory, and the memory output signal decoder is read from the external memory. The sum of the updated offset value and previous value difference data is taken and inversely transformed.

上記構成によれば、書き込みデータを分離するとき、設定されたビット幅の可動域を超える差分が発生した場合、オフセット値が更新され前値差分データが設定されたビット幅に抑えられる。これにより、外部メモリへの前値差分データのビット幅が常に制限される。   According to the above configuration, when the write data is separated, if a difference that exceeds the movable range of the set bit width occurs, the offset value is updated and the previous value difference data is suppressed to the set bit width. Thereby, the bit width of the previous value difference data to the external memory is always limited.

また請求項4に記載の発明は、請求項2または請求項3に記載の発明であって、前記データ信号エンコーダは、オフセット値の更新頻度を検出し、この検出するオフセット値の更新頻度が設定値を超えると前値差分データのビット幅を広げ、更新頻度が設定値以下になると前値差分データのビット幅を狭め、この制御されるビット幅により前記前値差分データを分離し、また更新されたビット幅と変更時のアドレスを保持し、前記メモリ出力信号デコーダは、読み出し時に、前記データ信号エンコーダに保持されたビット幅変更時のアドレスと照合したオフセット値と前値差分データの和をとるように逆変換することを特徴とするものである。   The invention according to claim 4 is the invention according to claim 2 or 3, wherein the data signal encoder detects the update frequency of the offset value, and the update frequency of the detected offset value is set. If the value exceeds the value, the bit width of the previous value difference data is widened. If the update frequency is less than the set value, the bit width of the previous value difference data is narrowed, and the previous value difference data is separated and updated by this controlled bit width. The memory output signal decoder stores the sum of the offset value and the previous value difference data compared with the bit width change address held in the data signal encoder at the time of reading. It is characterized in that the inverse transformation is performed.

上記構成によれば、オフセット値が更新されると、その更新頻度が検出され、この検出するオフセット値の更新頻度により前値差分データのビット幅が制御される。すなわち、オフセット値の更新頻度が設定値を超えると前値差分データのビット幅が広げられ、更新頻度が設定値以下になると前値差分データのビット幅が狭められる。この制御されるビット幅により前記前値差分データが分離される。よって、オフセット値の更新頻度が設定値を超えると、すなわち書き込みデータの変動が大きいと判断されると、前値差分データのビット幅が広くなることにより、オフセット値および前値差分データからなる外部メモリへの書き込みデータの変動が少なくなり、結果として外部メモリへの書き込みデータの変化量が入力した書き込みデータよりも少なくなり、よって外部メモリへのアドレスデータと書き込みデータの同時変化による瞬時の電流量が低減され、電流量不足を最低限に抑えることが可能となり、データ化けが抑えられ、さらに不要輻射の低減につながる。   According to the above configuration, when the offset value is updated, the update frequency is detected, and the bit width of the previous value difference data is controlled based on the detected update frequency of the offset value. That is, the bit width of the previous value difference data is widened when the update frequency of the offset value exceeds the set value, and the bit width of the previous value difference data is narrowed when the update frequency is equal to or lower than the set value. The previous value difference data is separated by the controlled bit width. Accordingly, when the update frequency of the offset value exceeds the set value, that is, when it is determined that the fluctuation of the write data is large, the bit width of the previous value difference data is widened, so that the external value composed of the offset value and the previous value difference data The fluctuation of the write data to the memory is reduced, and as a result, the change amount of the write data to the external memory is smaller than the input write data, so the instantaneous current amount due to the simultaneous change of the address data and the write data to the external memory This makes it possible to minimize shortage of current, minimize data corruption, and further reduce unnecessary radiation.

また請求項5に記載の発明は、請求項2または請求項3に記載の発明であって、前記データ信号エンコーダは、オフセット値の更新幅を検出し、検出するオフセット値の更新幅が設定値を超えると前値差分データのビット幅を広げ、更新幅が設定値以下になると前値差分データのビット幅を狭め、この制御されるビット幅により前記前値差分データを分離し、また更新されたビット幅と変更時のアドレスを保持し、前記メモリ出力信号デコーダは、読み出し時に、前記データ信号エンコーダに保持されたビット幅変更時のアドレスと照合したオフセット値と、前値差分データの和をとるように逆変換することを特徴とするものである。   The invention according to claim 5 is the invention according to claim 2 or claim 3, wherein the data signal encoder detects an update width of the offset value, and the update width of the detected offset value is a set value. When the value exceeds the value, the bit width of the previous value difference data is widened, and when the update width is less than or equal to the set value, the bit width of the previous value difference data is narrowed, and the previous value difference data is separated and updated by this controlled bit width. The memory output signal decoder reads the sum of the offset value matched with the bit width change address held in the data signal encoder and the previous value difference data at the time of reading. It is characterized in that the inverse transformation is performed.

上記構成によれば、オフセット値の更新幅により、前値差分データのビット幅が制御される。
また請求項6に記載の発明は、請求項2または請求項3に記載の発明であって、前記データ信号エンコーダは、前記アドレスデータより単位時間当たりのメモリアクセス量を検出し、この検出するメモリアクセス量が設定値を超えると前値差分データのビット幅を広げ、メモリアクセス量が設定値以下になると前値差分データのビット幅を狭め、この制御されるビット幅により前記前値差分データを分離し、また更新されたビット幅と変更時のアドレスを保持し、前記メモリ出力信号デコーダは、読み出し時に、前記データ信号エンコーダに保持されたビット幅変更時のアドレスと照合したオフセット値と、前値差分データの和をとるように逆変換することを特徴とするものである。
According to the above configuration, the bit width of the previous value difference data is controlled by the offset value update width.
The invention described in claim 6 is the invention described in claim 2 or claim 3, wherein the data signal encoder detects a memory access amount per unit time from the address data, and detects the detected memory. When the access amount exceeds the set value, the bit width of the previous value difference data is widened, and when the memory access amount is less than the set value, the bit width of the previous value difference data is narrowed. The memory output signal decoder separates the updated bit width and the changed address, and the memory output signal decoder reads the offset value collated with the changed bit width address held in the data signal encoder at the time of reading, Inverse conversion is performed so as to take the sum of the value difference data.

上記構成によれば、単位時間当たりのメモリアクセス量により、前値差分データのビット幅が制御される。
また請求項7に記載の発明は、請求項2または請求項3に記載の発明であって、前記データ信号エンコーダは、データ再生速度を検出し、この検出する再生速度が設定値を超えると前値差分データのビット幅を広げ、再生速度が設定値以下になると前値差分データのビット幅を狭め、この制御されるビット幅により前記前値差分データを分離し、また更新されたビット幅と変更時のアドレスを保持し、前記メモリ出力信号デコーダは、読み出し時に、前記データ信号エンコーダに保持されたビット幅変更時のアドレスと照合したオフセット値と、前値差分データの和をとるように逆変換することを特徴とするものである。
According to the above configuration, the bit width of the previous difference data is controlled by the memory access amount per unit time.
The invention according to claim 7 is the invention according to claim 2 or claim 3, wherein the data signal encoder detects a data reproduction speed, and when the detected reproduction speed exceeds a set value, The bit width of the value difference data is widened, and when the playback speed is lower than the set value, the bit width of the previous value difference data is narrowed, and the previous value difference data is separated by this controlled bit width, and the updated bit width and The address at the time of change is held, and at the time of reading, the memory output signal decoder reverses to take the sum of the offset value collated with the address at the time of bit width change held in the data signal encoder and the previous value difference data. It is characterized by converting.

上記構成によれば、データ再生速度により、前値差分データのビット幅が制御される。
また請求項8に記載の発明は、外部メモリに対して、指定されたアドレスデータに、入力した書き込みデータを書き込み、前記外部メモリより、指定されたアドレスデータのデータを読み出して出力するメモリ制御装置であって、前記アドレスデータより単位時間当たりのメモリアクセス量を検出し、アクセス頻度が小さい場合は、前記書き込みデータを分割して数回に分けて数ビットずつ同一アドレスに上書きして外部メモリに書き込むデータ信号エンコーダを備えることを特徴とするものである。
According to the above configuration, the bit width of the previous difference data is controlled by the data reproduction speed.
The invention according to claim 8 is a memory control device for writing input write data to designated address data to an external memory, and reading and outputting data of designated address data from the external memory. If the memory access amount per unit time is detected from the address data, and the access frequency is low, the write data is divided into several times and overwritten on the same address bit by bit to the external memory. A data signal encoder for writing is provided.

上記構成によれば、単位時間当たりのメモリアクセス量を検出し、アクセス頻度が小さい場合は、前記書き込みデータを分割して数回に分けて数ビットずつ同一アドレスに上書きして外部メモリに書き込むことにより、外部メモリへのアドレスデータと書き込みデータの同時変化が少なくなり、よって同時変化による瞬時の電流量が低減され、電流量不足を最低限に抑えることが可能となり、データ化けが抑えられ、さらに不要輻射の低減につながる。   According to the above configuration, the memory access amount per unit time is detected, and when the access frequency is low, the write data is divided into several times and overwritten on the same address by several bits and written to the external memory. This reduces the simultaneous change of the address data and write data to the external memory, thus reducing the instantaneous current amount due to the simultaneous change, minimizing the shortage of current amount, suppressing data corruption, It leads to reduction of unnecessary radiation.

また請求項9に記載の発明は、外部メモリに対して、指定されたアドレスデータに、入力した書き込みデータを書き込み、前記外部メモリより、指定されたアドレスデータのデータを読み出して出力するメモリ制御装置であって、前記データの読み出しの速度に相当するデータ再生速度を検出し、データ再生速度が遅い場合は、書き込みデータを分割して数回に分けて数ビットずつ同一アドレスに上書きして外部メモリに書き込むデータ信号エンコーダを備えることを特徴とするものである。   According to a ninth aspect of the present invention, there is provided a memory control device for writing input write data to designated address data to an external memory, and reading and outputting data of designated address data from the external memory. If the data reproduction speed corresponding to the data reading speed is detected and the data reproduction speed is slow, the write data is divided and divided into several times and overwritten on the same address bit by bit to an external memory. And a data signal encoder to be written to.

上記構成によれば、データ再生速度を検出し、データ再生速度が遅い場合は、前記書き込みデータを分割して数回に分けて数ビットずつ同一アドレスに上書きして外部メモリに書き込むことにより、外部メモリへのアドレスデータと書き込みデータの同時変化が少なくなり、よって同時変化による瞬時の電流量が低減され、電流量不足を最低限に抑えることが可能となり、データ化けが抑えられ、さらに不要輻射の低減につながる。   According to the above configuration, when the data reproduction speed is detected, and the data reproduction speed is slow, the write data is divided into several times, overwritten on the same address by several bits and written to the external memory. The simultaneous change of address data and write data to the memory is reduced, so the instantaneous current amount due to the simultaneous change is reduced, the shortage of current amount can be minimized, data corruption is suppressed, and unnecessary radiation is further reduced. It leads to reduction.

本発明のメモリ制御装置は、外部メモリへのアドレスデータと書き込みデータの同時変化による瞬時の電流量を低減でき、電流量不足を最低限に抑えることができ、データ化けを抑えることができ、さらに不要輻射を低減できる、という効果を有している。   The memory control device of the present invention can reduce the instantaneous current amount due to the simultaneous change of the address data and the write data to the external memory, can minimize the shortage of current amount, can suppress garbled data, It has the effect that unnecessary radiation can be reduced.

以下、本発明の実施の形態を、図面を参照しながら説明する。なお、背景の技術の図8の構成と同一の構成には同一の符号を付して説明を省略する。
[実施の形態1]
図1は本発明の実施の形態1におけるメモリ制御装置を備えたメモリ制御を有する装置のブロック図である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. In addition, the same code | symbol is attached | subjected to the structure same as the structure of FIG. 8 of background art, and description is abbreviate | omitted.
[Embodiment 1]
FIG. 1 is a block diagram of an apparatus having memory control provided with a memory control apparatus according to Embodiment 1 of the present invention.

本発明のメモリ制御装置10は、図1で示すように、メモリインターフェース3と、外部メモリ4との間に、I/Oセル5を介して接続されており、外部メモリ4に対して、機能ブロック2よりメモリインターフェース3を介して指定されたアドレスデータ7に、入力した書き込みデータ8を変換して書き込み、前記外部メモリ4より、指定されたアドレスデータ7のデータを読み出して逆変換し、メモリインターフェース3を介して機能ブロック2へ出力するメモリ制御装置である。このメモリ制御装置10は、アドレス信号エンコーダ11と、データ信号エンコーダ12と、メモリ出力信号デコーダ13から構成されている。   As shown in FIG. 1, the memory control device 10 of the present invention is connected between a memory interface 3 and an external memory 4 via an I / O cell 5. The input write data 8 is converted and written to the address data 7 designated from the block 2 via the memory interface 3, and the data of the designated address data 7 is read from the external memory 4 and inversely transformed, and the memory It is a memory control device that outputs to the functional block 2 via the interface 3. The memory control device 10 includes an address signal encoder 11, a data signal encoder 12, and a memory output signal decoder 13.

メモリ制御装置10の詳細なブロック図を図2に示す。
アドレス信号エンコーダ11は、例えば、アドレスデータ7が1ビットずつ変化するように各アドレスに対してアドレス信号エンコードでマッピングしておき、これにしたがってエンコーダして、エンコードアドレスデータ14として外部メモリ4へ出力する。これにより、外部メモリ4をリングバッファとして使用する際、信号の同時変化量が最低限に抑えられる。
A detailed block diagram of the memory control device 10 is shown in FIG.
For example, the address signal encoder 11 maps each address by address signal encoding so that the address data 7 changes bit by bit, encodes it according to this, and outputs the encoded address data 14 to the external memory 4. To do. As a result, when the external memory 4 is used as a ring buffer, the amount of simultaneous signal change is minimized.

前記データ信号エンコーダ12は、図2に示すように、前値保持回路17とデータ比較分離器16により構成されている。
前値保持回路17は、書き込みデータ8の前値を保存する。
The data signal encoder 12 includes a previous value holding circuit 17 and a data comparison / separator 16 as shown in FIG.
The previous value holding circuit 17 stores the previous value of the write data 8.

またデータ比較分離器16は、書き込みデータ8と前値保持回路17の出力値を比較し、予め設定されているオフセット値(設定オフセット値)X、および書き込みデータ8と前値との差分データ(前値差分データ)Yに分離し、これら設定オフセット値Xと前値差分データYをエンコード書き込みデータ15として出力する。   Further, the data comparator / separator 16 compares the write data 8 with the output value of the previous value holding circuit 17, and sets a preset offset value (set offset value) X and difference data between the write data 8 and the previous value ( The set offset value X and the previous value difference data Y are output as the encoded write data 15.

前記メモリ出力信号デコーダ13は、エンコードしたデータを復元するデコーダであり、外部メモリ4からの読み出しデータ9として入力する、前記設定オフセット値Xと前値差分データYとを加算して元のデータに戻し(逆変換し)、デコード読み出しデータ16として出力するデータ復元器18により構成されている。   The memory output signal decoder 13 is a decoder for restoring encoded data, and adds the set offset value X and the previous value difference data Y, which are input as read data 9 from the external memory 4, to the original data. It is constituted by a data restoring unit 18 that returns (inversely converts) and outputs the decoded read data 16.

上記構成による作用を説明する。
データ書き込み時には、例えば、ビット幅Pの書き込みデータ8の値を前値保持回路17で保持しておき、書き込みデータ8と前値保持回路17で保持されている前値をデータ比較分離器17で比較する。そして、データ比較分離器17において、書き込みデータ8を、予め設定しているビット幅Qの設定オフセット値Xと、ビット幅Rで書き込みデータ8と前値との差分データ(前値差分データ)Yに変換し、ビット幅S(=Q+R)のエンコード書き込みデータ15として外部メモリ4に書き込む。特に、ディスク装置等でオーディオデータを再生する場合などに外部メモリ4をリングバッファとして使用すると、オーディオデータは連続的なデータのため、前値との差分が大きくなることが比較的少なくなることで前値差分データYの変化が少なくなり、結果としてエンコード書き込みデータ15の変化量が書き込みデータ8よりも少なくなる。よって、外部メモリ4へのアドレスデータ7と書き込みデータ8の同時変化による瞬時の電流量を低減でき、電流量不足をメモリ制御装置10により最低限に抑えることが可能となり、データ化けを抑えることができる。さらに、不要輻射の低減につながる。
The operation of the above configuration will be described.
At the time of data writing, for example, the value of the write data 8 with the bit width P is held by the previous value holding circuit 17, and the previous value held by the write data 8 and the previous value holding circuit 17 is held by the data comparison / separator 17. Compare. Then, in the data comparator / separator 17, the write data 8 is converted into the preset offset value X of the bit width Q set in advance and the difference data (previous value difference data) Y between the write data 8 and the previous value with the bit width R. And is written in the external memory 4 as encoded write data 15 having a bit width S (= Q + R). In particular, when the external memory 4 is used as a ring buffer when reproducing audio data with a disk device or the like, since the audio data is continuous data, the difference from the previous value becomes relatively small. The change in the previous value difference data Y is reduced, and as a result, the change amount of the encoded write data 15 is smaller than that in the write data 8. Therefore, the instantaneous current amount due to the simultaneous change of the address data 7 and the write data 8 to the external memory 4 can be reduced, and the shortage of the current amount can be suppressed to the minimum by the memory control device 10, and data corruption can be suppressed. it can. Furthermore, it leads to reduction of unnecessary radiation.

また、データ読み出し時には、データ書き込み時とは反対に、データ復元器18において、外部メモリ4から読み出されたビット幅Sの読み出しデータ9の、ビット幅Qの設定オフセット値Xとビット幅Rの前値差分データYを加算することにより、ビット幅Pのデコード読み出しデータ16を出力する。
[実施の形態2]
図3は本発明の実施の形態2におけるメモリ制御装置のブロック図である。なお、実施の形態1のメモリ制御装置と同一の構成には、同一の符号を付して説明を省略する。また実施の形態2のメモリ制御装置の接続は、図1に示す通りであり、全体としての機能は実施の形態1のメモリ制御装置10と同様である。
At the time of data reading, contrary to the time of data writing, the data decompressor 18 sets the set offset value X and the bit width R of the bit width Q of the read data 9 of the bit width S read from the external memory 4. By adding the previous value difference data Y, the decoded read data 16 having the bit width P is output.
[Embodiment 2]
FIG. 3 is a block diagram of the memory control device according to the second embodiment of the present invention. Note that the same components as those in the memory control device according to the first embodiment are denoted by the same reference numerals, and description thereof is omitted. The connection of the memory control device of the second embodiment is as shown in FIG. 1, and the overall function is the same as that of the memory control device 10 of the first embodiment.

この実施の形態2におけるメモリ制御装置10のデータ信号エンコーダ12は、実施の形態1と同様の前値保持回路17と、データ比較分離器16と、オフセット値保持回路19により構成される。   The data signal encoder 12 of the memory control device 10 according to the second embodiment includes a previous value holding circuit 17, a data comparison / separator 16, and an offset value holding circuit 19 similar to those in the first embodiment.

データ比較分離器16は、書き込みデータ8と前値保持回路17の出力値を比較し、オフセット値X、および書き込みデータ8と前値との差分データ(前値差分データ)Yに分離し、この際、前値差分データYを外部メモリ4へ記憶するビット幅が予め設定されており、その可動域を超える差分が発生した場合、オフセット値Xを更新(変更)して、前値差分データYを設定されたビット幅に収め、この前値差分データYをエンコード書き込みデータ15として外部メモリ4へ書き込み、変更したオフセット値(変更オフセット値)Xを出力する。   The data comparison / separator 16 compares the write data 8 with the output value of the previous value holding circuit 17 and separates it into an offset value X and difference data (previous value difference data) Y between the write data 8 and the previous value. At this time, the bit width for storing the previous value difference data Y in the external memory 4 is set in advance, and when a difference exceeding the movable range occurs, the offset value X is updated (changed), and the previous value difference data Y Is stored in the set bit width, the previous value difference data Y is written as the encoded write data 15 to the external memory 4, and the changed offset value (changed offset value) X is output.

前記オフセット値保持回路19には、アドレスデータ7が入力され、データ比較分離器16により変更オフセット値Xが入力されており、オフセット値保持回路19は、入力した変更オフセット値X、および変更オフセット値Xを入力したときのアドレス(オフセット変更アドレス)を記憶(保持)し、また読み出し時には、読み出しアドレスと、記憶しているオフセット変更アドレスとを照合して変更オフセット値Xを読み出し、この変更オフセット値Xをメモリ出力信号デコーダ13へ出力する。   The offset value holding circuit 19 receives the address data 7 and the data comparison / separator 16 receives the changed offset value X. The offset value holding circuit 19 receives the input changed offset value X and the changed offset value. The address (offset change address) when X is input is stored (held), and at the time of reading, the change offset value X is read by collating the read address with the stored offset change address. X is output to the memory output signal decoder 13.

メモリ出力信号デコーダ13は、予め設定されオフセット値X、あるいはオフセット値保持回路19から変更オフセット値Xを入力したときはこのオフセット値Xと、外部メモリ4からの読み出しデータ9の前値差分データYを加算して元のデータに戻し(逆変換し)、デコード読み出しデータ16として出力するデータ復元器18により構成される。   When the memory output signal decoder 13 inputs the preset offset value X or the changed offset value X from the offset value holding circuit 19, the offset value X and the previous value difference data Y of the read data 9 from the external memory 4 are displayed. Is added back to the original data (inversely converted), and is constituted by a data restoring unit 18 that outputs the decoded read data 16.

上記構成による作用を説明する。
データ書き込み時には、例えば、ビット幅Pの書き込みデータ8の値を前値保持回路17で保持しておき、書き込みデータ8と前値をデータ比較分離器17で比較し、Qビット幅のオフセット値XとRビット幅の前値差分データYに分離し、ビット幅Rで前値差分データYをエンコード書き込みデータ15として外部メモリ4へ書きこむ。
The operation of the above configuration will be described.
At the time of data writing, for example, the value of the write data 8 having the bit width P is held by the previous value holding circuit 17, the write data 8 is compared with the previous value by the data comparison / separator 17, and the offset value X of Q bit width is The previous value difference data Y having the bit width R is written into the external memory 4 as the encoded write data 15.

そして、前値差分データYを記憶するビット幅が予め設定されており、その可動域を超える差分が発生した場合、オフセット値Xを更新(変更)して、前値差分データYを設定されたビット幅に収め、オフセット値保持回路19にビット幅Qの変更オフセット値Xとオフセット変更アドレスYを保持させる。   Then, the bit width for storing the previous value difference data Y is set in advance, and when a difference exceeding the movable range occurs, the offset value X is updated (changed), and the previous value difference data Y is set. The offset value holding circuit 19 holds the change offset value X and the offset change address Y of the bit width Q within the bit width.

前述したように、ディスク装置等でオーディオデータを再生する場合などに外部メモリ4をリングバッファとして使用すると、オーディオデータは連続的なデータのため、前値との差分が大きくなることが比較的少なくなることにより前値差分データYとともにオフセット値Xの変化も少ないため、オフセット値保持回路19のワード数やビット幅は外部メモリ4の容量より少なく構成できる。また、エンコード書き込みデータ15は前値差分データYのみとなり、前値差分データYのみが外部メモリ4に記憶され、この前値差分データの変化は少ない(特に、オーディオデータのとき)ことから、結果として外部メモリ4への書き込みデータ15の変化量が、入力した書き込みデータ8よりも少なくなり、よって外部メモリ4へのアドレスデータ7と書き込みデータ8の同時変化による瞬時の電流量が低減され、電流量不足を最低限に抑えることが可能となり、データ化けが抑えられ、さらに不要輻射の低減につながる。また外部メモリ4を有効に使用することが可能となる。   As described above, when the external memory 4 is used as a ring buffer when reproducing audio data with a disk device or the like, since the audio data is continuous data, the difference from the previous value is relatively small. Thus, since the change in the offset value X is small together with the previous value difference data Y, the number of words and the bit width of the offset value holding circuit 19 can be configured to be smaller than the capacity of the external memory 4. Further, the encoded write data 15 is only the previous value difference data Y, and only the previous value difference data Y is stored in the external memory 4, and the change in the previous value difference data is small (particularly in the case of audio data). As a result, the amount of change in the write data 15 to the external memory 4 is smaller than that of the input write data 8, so that the instantaneous current amount due to the simultaneous change of the address data 7 and the write data 8 to the external memory 4 is reduced. It is possible to minimize the shortage of data, prevent garbled data, and further reduce unnecessary radiation. In addition, the external memory 4 can be used effectively.

また、データ読み出し時には、データ書き込み時とは反対に、読み出しアドレスと、オフセット値保持回路19に記憶しているオフセット変更アドレスとを照合して変更オフセット値Xを読み出し、データ復元器18でオフセット値Xと前値差分データYを加算することにより、デコード読み出しデータ16を出力する。
[実施の形態3]
図4は本発明の実施の形態3におけるメモリ制御装置のブロック図である。なお、実施の形態1のメモリ制御装置と同一の構成には、同一の符号を付して説明を省略する。また実施の形態3のメモリ制御装置の接続は、図1に示す通りであり、全体としての機能は実施の形態1のメモリ制御装置10と同様である。
At the time of data reading, contrary to the time of data writing, the read address and the offset change address stored in the offset value holding circuit 19 are collated to read the changed offset value X, and the data restoring unit 18 reads the offset value. The decoded read data 16 is output by adding X and the previous value difference data Y.
[Embodiment 3]
FIG. 4 is a block diagram of a memory control device according to Embodiment 3 of the present invention. Note that the same components as those in the memory control device according to the first embodiment are denoted by the same reference numerals, and description thereof is omitted. The connection of the memory control device of the third embodiment is as shown in FIG. 1, and the overall function is the same as that of the memory control device 10 of the first embodiment.

この実施の形態3におけるメモリ制御装置10のデータ信号エンコーダ12は、実施の形態1と同様の前値保持回路17と、データ比較分離器16と、オフセット更新カウンタ20と、可動域制御回路22と、可動域保持回路23により構成されている。   The data signal encoder 12 of the memory control device 10 according to the third embodiment includes a previous value holding circuit 17, a data comparison / separator 16, an offset update counter 20, and a movable range control circuit 22 similar to those of the first embodiment. The movable range holding circuit 23 is configured.

データ比較分離器16は、書き込みデータ8と前値保持回路17の出力値を比較し、オフセット値Xと前値差分データYに分離し、この際、前値差分データYを外部メモリ4へ記憶するビット幅が予め設定されており、その可動域を超える差分が発生した場合、オフセット値Xを更新(変更)して、前値差分データYを設定されたビット幅に収め、また可動域制御回路22より入力する前値差分データの可動域幅により前値差分データYのビット幅を変更し、オフセット値Xと前値差分データYをエンコード書き込みデータ15として外部メモリ4へ書き込み、変更したオフセット値Xをオフセット更新カウンタ20へ出力する。   The data comparator / separator 16 compares the write data 8 with the output value of the previous value holding circuit 17 and separates it into an offset value X and previous value difference data Y. At this time, the previous value difference data Y is stored in the external memory 4. When a difference that exceeds the range of motion occurs, the offset value X is updated (changed), the previous value difference data Y is stored within the set bit width, and the range of motion control is performed. The bit width of the previous value difference data Y is changed according to the movable range width of the previous value difference data input from the circuit 22, and the offset value X and the previous value difference data Y are written to the external memory 4 as the encoded write data 15, and the changed offset The value X is output to the offset update counter 20.

オフセット更新カウンタ20は、データ比較分離器16より入力したオフセット値Xの更新頻度を検出してカウントアップし、オフセット更新頻度21として可動域制御回路22へ出力する。   The offset update counter 20 detects the update frequency of the offset value X input from the data comparison / separator 16 and counts it up, and outputs it as an offset update frequency 21 to the movable range control circuit 22.

可動域制御回路22は、オフセット更新カウンタ20で検出したオフセット更新頻度21が設定値を越えると前値差分データYのビット幅を広げ、オフセット更新頻度21が設定値以下となると前値差分データYのビット幅を狭めるよう前値差分データの可動域幅を切り換えてデータ比較分離器16と可動域保持回路23へ出力する。このように、オフセット更新頻度21により前値差分データYのビット幅を制御している。   The movable range control circuit 22 widens the bit width of the previous value difference data Y when the offset update frequency 21 detected by the offset update counter 20 exceeds the set value, and the previous value difference data Y when the offset update frequency 21 falls below the set value. The movable range width of the previous value difference data is switched so as to narrow the bit width of the data and output to the data comparison / separator 16 and the movable range holding circuit 23. Thus, the bit width of the previous value difference data Y is controlled by the offset update frequency 21.

可動域保持回路23には、アドレスデータ7が入力され、可動域制御回路22より前値差分データの可動域幅が入力されており、可動域保持回路23は、入力した可動域幅と可動域変更時のアドレスを記憶し、読み出し時には、読み出しアドレスと、記憶している可動域変更時アドレスとを照合して可動域幅を読み出し、この可動域幅をメモリ出力信号デコーダ13へ出力する。   The movable range holding circuit 23 receives the address data 7 and the movable range width of the previous value difference data from the movable range control circuit 22. The movable range holding circuit 23 receives the movable range width and the movable range. The address at the time of change is stored. At the time of reading, the read address and the stored address at the time of change of the movable range are collated to read the movable range width, and this movable range width is output to the memory output signal decoder 13.

またメモリ出力信号デコーダ13は、外部メモリ4からの読み出しデータ9と、可動域保持回路23より入力した可動域幅24から前値差分データYのビット幅を割り出し、前値差分データYを求め、この求めた前値差分データYとオフセット値Xとから元のデータに戻し(逆変換し)、デコード読み出しデータ16として出力するデータ復元器18により構成される。   The memory output signal decoder 13 calculates the bit width of the previous value difference data Y from the read data 9 from the external memory 4 and the movable range width 24 input from the movable range holding circuit 23 to obtain the previous value difference data Y, It is constituted by a data restoration unit 18 that returns (reversely converts) the original data from the obtained previous value difference data Y and the offset value X and outputs them as decoded read data 16.

上記構成による作用を説明する。
データ書き込み時には、例えば、ビット幅Pの書き込みデータ8の値を前値保持回路17で保持しておき、書き込みデータ8と前値をデータ比較分離器17で比較する。そして、設定されているビット幅Qでオフセット値、ビット幅Rで前値との差分データ(前置差分データ)Yになるように書き込みデータ8を変換し、ビット幅S(=Q+Y)のエンコード書き込みデータ15として外部メモリ4に書き込む。さらに、オフセット値Xが更新されたときにオフセット更新カウンタ20をカウントアップし、オフセット更新頻度21として可動域制御回路22へ出力する。可動域制御回路22では、オフセット更新頻度21から、ある周期で一定回数以上の更新があった場合、信号の値が大きく変わりやすいと判断して前値差分データYのビット幅を広げる。よって、データが比較的大きく変動する際にも結果としてエンコード書き込みデータ15の変化量が書き込みデータ8よりも少なくなり、外部メモリ4へのアドレスデータ7と書き込みデータ8の同時変化による瞬時の電流量を低減でき、電流量不足を、メモリ制御装置10により最低限に抑えることが可能となり、データ化けを抑えることができる。さらに、不要輻射の低減につながる。
The operation of the above configuration will be described.
At the time of data writing, for example, the value of the write data 8 having the bit width P is held by the previous value holding circuit 17, and the write data 8 and the previous value are compared by the data comparison / separator 17. Then, the write data 8 is converted so as to become the offset data with the set bit width Q and the difference data (prefix difference data) Y with the bit width R from the previous value, and the bit width S (= Q + Y) is encoded. Write to the external memory 4 as write data 15. Further, when the offset value X is updated, the offset update counter 20 is counted up and output to the movable range control circuit 22 as an offset update frequency 21. In the range-of-motion control circuit 22, when the update is performed a certain number of times or more in a certain cycle from the offset update frequency 21, it is determined that the signal value is likely to change greatly, and the bit width of the previous value difference data Y is widened. Therefore, even when the data fluctuates relatively greatly, as a result, the amount of change in the encoded write data 15 becomes smaller than that of the write data 8, and the instantaneous current amount due to the simultaneous change of the address data 7 and the write data 8 to the external memory 4 The memory control device 10 can minimize the shortage of the current amount, and can prevent data corruption. Furthermore, it leads to reduction of unnecessary radiation.

また、可動域が変更になったとき、可動域保持回路23に可動域幅と可動域変更時のアドレス値を記憶しておく。さらにオフセット更新頻度21が設定値以下となると前値差分データYのビット幅を狭めるよう前値差分データの可動域幅を切り換えることにより、出力されるエンコード書き込みデータ15(前値差分データY)のビット幅が狭くなり、外部メモリ4を有効に使用することができる。   When the movable range is changed, the movable range holding circuit 23 stores the movable range width and the address value when the movable range is changed. Further, when the offset update frequency 21 is equal to or lower than the set value, the movable range width of the previous value difference data is switched so that the bit width of the previous value difference data Y is narrowed, whereby the output encoded write data 15 (previous value difference data Y) is output. The bit width is reduced, and the external memory 4 can be used effectively.

またデータ読み出し時には、データ復元器18で、外部メモリ4からの読み出しデータ9と可動域保持回路23に保持している可動域幅24から前値差分データYのビット幅を割り出し、オフセット値Xと前値差分データYから元のデータに戻し、デコード読み出しデータ16を出力する。   At the time of data reading, the data decompressor 18 calculates the bit width of the previous value difference data Y from the read data 9 from the external memory 4 and the movable range width 24 held in the movable range holding circuit 23, and the offset value X The previous value difference data Y is returned to the original data, and the decoded read data 16 is output.

なお、オフセット値Xは外部メモリ4に書き込む構成だけではなく、実施の形態2で前述したようにオフセット値保持回路19を搭載して内部に保持し、外部メモリ4には前値差分データのみを書き込む構成でもよい。
[実施の形態4]
図5は本発明の実施の形態4におけるメモリ制御装置のブロック図である。なお、実施の形態1のメモリ制御装置と同一の構成には、同一の符号を付して説明を省略する。また実施の形態4のメモリ制御装置の接続は、図1に示す通りであり、全体としての機能は実施の形態1のメモリ制御装置10と同様である。
The offset value X is not only configured to be written to the external memory 4, but is also stored in the offset value holding circuit 19 as described in the second embodiment, and only the previous value difference data is stored in the external memory 4. A writing configuration may be used.
[Embodiment 4]
FIG. 5 is a block diagram of a memory control device according to Embodiment 4 of the present invention. Note that the same components as those in the memory control device according to the first embodiment are denoted by the same reference numerals, and description thereof is omitted. The connection of the memory control device of the fourth embodiment is as shown in FIG. 1, and the overall function is the same as that of the memory control device 10 of the first embodiment.

この実施の形態4におけるメモリ制御装置10のデータ信号エンコーダ12は、実施の形態3と同様の前値保持回路17、データ比較分離器16、および可動域保持回路23と、オフセット更新幅検出器25と、可動域制御回路22により構成されている。   The data signal encoder 12 of the memory control device 10 according to the fourth embodiment includes a previous value holding circuit 17, a data comparison / separator 16, a movable range holding circuit 23, and an offset update width detector 25 similar to those in the third embodiment. And a movable range control circuit 22.

オフセット更新幅検出器25は、比較分離器16のオフセット値Xの更新幅を検出し、オフセット更新幅26を可動域制御回路22へ出力する。
前記可動域制御回路22は、オフセット更新幅検出器25で検出したオフセット更新幅26が設定値を超えると前値差分データYのビット幅を広げ、更新幅が設定値以下になると前値差分データYのビット幅を狭めるよう、前値差分データYの可動域を切り換え、可動域幅をデータ比較分離器16と可動域保持回路23へ出力する。このように、オフセット更新幅26により前値差分データYのビット幅を制御している。
The offset update width detector 25 detects the update width of the offset value X of the comparison separator 16 and outputs the offset update width 26 to the movable range control circuit 22.
The movable range control circuit 22 widens the bit width of the previous value difference data Y when the offset update width 26 detected by the offset update width detector 25 exceeds the set value, and the previous value difference data when the update width becomes less than the set value. The movable range of the previous value difference data Y is switched so as to narrow the bit width of Y, and the movable range width is output to the data comparison / separator 16 and the movable range holding circuit 23. In this way, the bit width of the previous value difference data Y is controlled by the offset update width 26.

またメモリ出力信号デコーダ13は、外部メモリ4からの読み出しデータ9と、可動域保持回路23より入力した可動域幅24から前値差分データYのビット幅を割り出し、前値差分データYを求め、求めた前値差分データYとオフセット値Xとから元のデータに戻し(逆変換し)、デコード読み出しデータ16として出力するデータ復元器18により構成される。   The memory output signal decoder 13 calculates the bit width of the previous value difference data Y from the read data 9 from the external memory 4 and the movable range width 24 input from the movable range holding circuit 23 to obtain the previous value difference data Y, It is constituted by a data restoring unit 18 that returns (reversely converts) the obtained previous value difference data Y and the offset value X to the original data and outputs it as decoded read data 16.

上記構成による作用を説明する。
データ書き込み時には、例えば、ビット幅Pの書き込みデータ8の値を前値保持回路17で保持しておき、書き込みデータ8と前値をデータ比較分離器17で比較する。そして、予め設定しているビット幅Qでオフセット値、ビット幅Rで前値との差分データになるように書き込みデータ8を変換し、ビット幅S(=Q+R)のエンコード書き込みデータ15として外部メモリ4に書き込む。さらに、オフセット値Xが更新されたときにオフセット更新幅検出器25からオフセット更新幅26を可動域制御回路22へ出力する。可動域制御回路22では、オフセット更新幅26が設定値を超えると前値差分データYのビット幅を広げる。よって、データが比較的大きく変動する際にも結果としてエンコード書き込みデータ15の変化量が書き込みデータ8よりも少なくなり、外部メモリ4へのアドレスデータ7と書き込みデータ8の同時変化による瞬時の電流量を低減でき、電流量不足を、メモリ制御装置10により最低限に抑えることが可能となり、データ化けを抑えることができる。さらに、不要輻射の低減につながる。
The operation of the above configuration will be described.
At the time of data writing, for example, the value of the write data 8 having the bit width P is held by the previous value holding circuit 17, and the write data 8 and the previous value are compared by the data comparison / separator 17. Then, the write data 8 is converted so as to be differential data of the offset value with the preset bit width Q and the previous value with the bit width R, and the encoded data 15 having the bit width S (= Q + R) is converted into the external memory. Write to 4. Further, when the offset value X is updated, the offset update width detector 25 outputs the offset update width 26 to the movable range control circuit 22. The movable range control circuit 22 widens the bit width of the previous value difference data Y when the offset update width 26 exceeds the set value. Therefore, even when the data fluctuates relatively greatly, as a result, the amount of change in the encoded write data 15 becomes smaller than that of the write data 8, and the instantaneous current amount due to the simultaneous change of the address data 7 and the write data 8 to the external memory 4 The memory control device 10 can minimize the shortage of the current amount, and can prevent data corruption. Furthermore, it leads to reduction of unnecessary radiation.

また、可動域が変更になったとき、可動域保持回路23に可動域幅と可動域変更時のアドレス24を記憶しておく。さらにオフセット更新幅26が設定値以下になると前値差分データYのビット幅を狭めるよう前値差分データYの可動域幅を切り換えることにより、出力されるエンコード書き込みデータ15(前値差分データY)のビット幅が狭くなり、外部メモリ4を有効に使用することができる。   When the movable range is changed, the movable range holding circuit 23 stores the movable range width and the address 24 when the movable range is changed. Further, when the offset update width 26 becomes equal to or smaller than the set value, the encoded write data 15 (previous value difference data Y) to be output is switched by switching the movable range width of the previous value difference data Y so as to narrow the bit width of the previous value difference data Y. Therefore, the external memory 4 can be used effectively.

またデータ読み出し時には、データ復元器18で、外部メモリ4からの読み出しデータ9と可動域保持回路23に保持している可動域幅と可動域変更時のアドレス24から前値差分データのビット幅を割り出して、オフセット値Xと前値差分データYから元のデータに戻し、デコード読み出しデータ16を出力する。   At the time of data reading, the data decompressor 18 calculates the bit width of the previous value difference data from the read data 9 from the external memory 4, the movable range width held in the movable range holding circuit 23, and the address 24 when the movable range is changed. The index value is calculated, the original data is returned from the offset value X and the previous value difference data Y, and the decoded read data 16 is output.

なお、オフセット値は外部メモリ4に書き込む構成だけではなく、実施の形態2で前述したようにオフセット値保持回路19を搭載して内部に保持し、外部メモリ4には前値差分データのみを書き込む構成でもよい。
[実施の形態5]
図6は本発明の実施の形態5におけるメモリ制御装置のブロック図である。なお、実施の形態1のメモリ制御装置と同一の構成には、同一の符号を付して説明を省略する。また実施の形態5のメモリ制御装置の接続は、図1に示す通りであり、全体としての機能は実施の形態1のメモリ制御装置10と同様である。
The offset value is not only configured to be written in the external memory 4 but also stored in the offset value holding circuit 19 as described in the second embodiment, and only the previous value difference data is written in the external memory 4. It may be configured.
[Embodiment 5]
FIG. 6 is a block diagram of a memory control device according to Embodiment 5 of the present invention. Note that the same components as those in the memory control device according to the first embodiment are denoted by the same reference numerals, and description thereof is omitted. The connection of the memory control device of the fifth embodiment is as shown in FIG. 1, and the overall function is the same as that of the memory control device 10 of the first embodiment.

この実施の形態5におけるメモリ制御装置10は、データ信号エンコーダ12で構成され、このデータ信号エンコーダ12は、メモリアクセス量検出回路27と、書き込みデータビット幅制御装置29から構成されている。   The memory control device 10 according to the fifth embodiment includes a data signal encoder 12, and the data signal encoder 12 includes a memory access amount detection circuit 27 and a write data bit width control device 29.

メモリアクセス量検出回路27は、アドレスデータ7より外部メモリ4へのアクセス量を検出する。
また書き込みデータビット幅制御装置29は、メモリアクセス量検出回路27で検出したメモリアクセス量28によりアクセス頻度が小さいと判断する場合は、書き込みデータ8を分割して数回に分けて数ビットずつ同一アドレスに上書きするエンコード書き込みデータ15として外部メモリ4へ出力する。
The memory access amount detection circuit 27 detects the access amount to the external memory 4 from the address data 7.
When the write data bit width controller 29 determines that the access frequency is low based on the memory access amount 28 detected by the memory access amount detection circuit 27, the write data 8 is divided into several times by dividing the write data 8 several times. Output to the external memory 4 as encoded write data 15 to be overwritten on the address.

上記構成による作用を説明する。
書き込み時には、書き込みアドレスのアクセス量をメモリアクセス量検出回路27で検出し、アクセス頻度が小さい場合は、書き込みデータを分割して数回に分けて数ビットずつ同一アドレスに上書きして外部メモリ4に書き込みを行う。よって、エンコード書き込みデータ15の変化量をメモリアクセス量28に応じて可能な限り減らすことができ、外部メモリ4へのアドレスデータ7と書き込みデータ8の同時変化による瞬時の電流量を低減でき、電流量不足を、メモリ制御装置10により最低限に抑えることが可能となり、データ化けを抑えることができる。さらに、不要輻射の低減につながる。
The operation of the above configuration will be described.
At the time of writing, the access amount of the write address is detected by the memory access amount detection circuit 27, and when the access frequency is low, the write data is divided into several times and overwritten on the same address bit by bit and stored in the external memory 4. Write. Therefore, the change amount of the encoded write data 15 can be reduced as much as possible according to the memory access amount 28, the instantaneous current amount due to the simultaneous change of the address data 7 and the write data 8 to the external memory 4 can be reduced, The memory shortage can be minimized by the memory control device 10 and data corruption can be suppressed. Furthermore, it leads to reduction of unnecessary radiation.

データを読み出す場合には、読み出したいアドレスにアクセスすれば、読み出すことができる。
[実施の形態6]
図7は本発明の実施の形態6におけるメモリ制御装置のブロック図である。なお、実施の形態1のメモリ制御装置と同一の構成には、同一の符号を付して説明を省略する。また実施の形態6のメモリ制御装置の接続は、図1に示す通りであり、全体としての機能は実施の形態1のメモリ制御装置10と同様である。さらに実施の形態6では、データの読み出しの速度に相当する再生速度30のデータが入力されている。
When data is read, it can be read by accessing the address to be read.
[Embodiment 6]
FIG. 7 is a block diagram of a memory control device according to Embodiment 6 of the present invention. Note that the same components as those in the memory control device according to the first embodiment are denoted by the same reference numerals, and description thereof is omitted. The connection of the memory control device of the sixth embodiment is as shown in FIG. 1, and the overall function is the same as that of the memory control device 10 of the first embodiment. Further, in the sixth embodiment, data at a reproduction speed 30 corresponding to the data reading speed is input.

この実施の形態6におけるメモリ制御装置10は、データ信号エンコーダ12で構成され、このデータ信号エンコーダ12は、書き込みデータビット幅制御装置29から構成されている。   The memory control device 10 according to the sixth embodiment includes a data signal encoder 12, and the data signal encoder 12 includes a write data bit width control device 29.

書き込みデータビット幅制御装置29には、新たにデータ再生速度30が入力されており、書き込みデータビット幅制御装置29は、このデータ再生速度30を検出する機能(装置)を備え、データ再生速度30が遅いことが検出されると、書き込みデータ8を分割して数回に分けて数ビットずつ同一アドレスに上書きするエンコード書き込みデータ15として外部メモリ4へ出力する。   The data reproduction speed 30 is newly input to the write data bit width control device 29, and the write data bit width control device 29 has a function (device) for detecting the data reproduction speed 30. If it is detected that the write data 8 is late, the write data 8 is divided into several times and output to the external memory 4 as encoded write data 15 overwritten on the same address by several bits.

上記構成による作用を説明する。
書き込み時には、再生速度30が遅い場合は、書き込みデータを分割して数回に分けて数ビットずつ同一アドレスに上書きして外部メモリ4に書き込みを行う。よって、エンコード書き込みデータ15の変化量を再生速度30に応じて可能な限り減らすことができ、外部メモリ4へのアドレスデータ7と書き込みデータ8の同時変化による瞬時の電流量を低減でき、電流量不足を、メモリ制御装置10により最低限に抑えることが可能となり、データ化けを抑えることができる。さらに、不要輻射の低減につながる。
The operation of the above configuration will be described.
At the time of writing, if the reproduction speed 30 is slow, the write data is divided and divided into several times and overwritten on the same address by several bits and written to the external memory 4. Therefore, the change amount of the encoded write data 15 can be reduced as much as possible according to the reproduction speed 30, the instantaneous current amount due to the simultaneous change of the address data 7 and the write data 8 to the external memory 4 can be reduced, and the current amount Insufficiency can be minimized by the memory control device 10, and data corruption can be suppressed. Furthermore, it leads to reduction of unnecessary radiation.

データを読み出す場合には、読み出したいアドレスにアクセスすれば、読み出すことができる。
[他の実施の形態]
上記実施の形態3または実施の形態4における、オフセット更新カウンタ20またはオフセット更新幅検出器25に代えて、実施の形態5のメモリアクセス量検出回路27または実施の形態6のデータ再生速度30を検出する機能(装置)を設けるようにしてもよい。
When data is read, it can be read by accessing the address to be read.
[Other embodiments]
Instead of the offset update counter 20 or the offset update width detector 25 in the third embodiment or the fourth embodiment, the memory access amount detection circuit 27 of the fifth embodiment or the data reproduction speed 30 of the sixth embodiment is detected. You may make it provide the function (apparatus) to perform.

このとき、メモリアクセス量検出回路27に代えるとき、可動域制御回路22は、メモリアクセス量が設定値を超えると前値差分データYのビット幅を広げ、設定値以下になると前値差分データYのビット幅を狭める前値差分データの可動域幅を切り換えて出力する。このように、メモリアクセス量により前値差分データYのビット幅を制御する。   At this time, when the memory access amount detection circuit 27 is replaced, the movable range control circuit 22 widens the bit width of the previous value difference data Y when the memory access amount exceeds the set value, and the previous value difference data Y when the memory access amount becomes the set value or less. The range of motion of the previous value difference data that narrows the bit width of the output is switched and output. Thus, the bit width of the previous value difference data Y is controlled by the memory access amount.

またデータ再生速度30を検出する機能(装置)に代えるとき、可動域制御回路22は、再生速度が設定値を超えると前値差分データYのビット幅を広げ、設定値以下になると前値差分データYのビット幅を狭める前値差分データの可動域幅を切り換えて出力する。このように、データ再生速度により前値差分データYのビット幅を制御する。   When the function (apparatus) for detecting the data reproduction speed 30 is used, the movable range control circuit 22 widens the bit width of the previous value difference data Y when the reproduction speed exceeds the set value, and the previous value difference when the reproduction speed falls below the set value. The movable range width of the previous value difference data for narrowing the bit width of the data Y is switched and output. Thus, the bit width of the previous value difference data Y is controlled by the data reproduction speed.

なお、他の実施の形態においても、オフセット値Xは外部メモリ4に書き込む構成だけではなく、実施の形態2で前述したようにオフセット値保持回路19を搭載して内部に保持し、外部メモリ4には前値差分データのみを書き込む構成でもよい。   In other embodiments, the offset value X is not only written to the external memory 4 but also stored in the external memory 4 by mounting the offset value holding circuit 19 as described in the second embodiment. May be configured to write only the previous value difference data.

本発明にかかるメモリ制御装置は、DRAM等の外部メモリを接続して使う外部メモリ制御を有する半導体装置に有用である。   The memory control device according to the present invention is useful for a semiconductor device having an external memory control that is used by connecting an external memory such as a DRAM.

本発明の実施の形態1におけるメモリ制御装置を備えたメモリ制御を有する装置の要部構成図である。It is a principal part block diagram of the apparatus which has a memory control provided with the memory control apparatus in Embodiment 1 of this invention. 同メモリ制御装置の構成図である。It is a block diagram of the memory control device. 本発明の実施の形態2におけるメモリ制御装置の構成図である。It is a block diagram of the memory control apparatus in Embodiment 2 of this invention. 本発明の実施の形態3におけるメモリ制御装置の構成図である。It is a block diagram of the memory control apparatus in Embodiment 3 of this invention. 本発明の実施の形態4におけるメモリ制御装置の構成図である。It is a block diagram of the memory control apparatus in Embodiment 4 of this invention. 本発明の実施の形態5におけるメモリ制御装置の構成図である。It is a block diagram of the memory control apparatus in Embodiment 5 of this invention. 本発明の実施の形態6におけるメモリ制御装置の構成図である。It is a block diagram of the memory control apparatus in Embodiment 6 of this invention. 従来のメモリ制御装置を備えたメモリ制御を有する装置の要部構成図である。It is a principal part block diagram of the apparatus which has memory control provided with the conventional memory control apparatus.

符号の説明Explanation of symbols

1 メモリ制御を有する装置
2 機能ブロック
3 メモリインターフェース
4 外部メモリ
5 I/Oセル
6 入出力データ
7 アドレスデータ
8 書き込みデータ
9 読み出しデータ
10 メモリ制御装置
11 アドレス信号エンコーダ
12 データ信号エンコーダ
13 メモリ出力信号デコーダ
14 エンコードアドレスデータ
15 エンコード書き込みデータ
16 デコード読み出しデータ
17 前値保持回路
18 データ復元器
19 オフセット値保持回路
20 オフセット更新カウンタ
21 オフセット更新頻度
22 可動域制御回路
23 可動域保持回路
24 可動域幅と更新アドレス
25 オフセット更新幅検出器
26 オフセット更新幅
27 メモリアクセス量検出器
28 メモリアクセス量
29 書き込みデータビット幅制御装置
30 再生速度
DESCRIPTION OF SYMBOLS 1 Device having memory control 2 Functional block 3 Memory interface 4 External memory 5 I / O cell 6 Input / output data 7 Address data 8 Write data 9 Read data 10 Memory controller 11 Address signal encoder 12 Data signal encoder 13 Memory output signal decoder 14 Encode Address Data 15 Encode Write Data 16 Decode Read Data 17 Previous Value Holding Circuit 18 Data Restorer 19 Offset Value Holding Circuit 20 Offset Update Counter 21 Offset Update Frequency 22 Movable Range Control Circuit 23 Movable Range Holding Circuit 24 Movable Range Width and Update Address 25 Offset update width detector 26 Offset update width 27 Memory access amount detector 28 Memory access amount 29 Write data bit width controller 30 Playback speed

Claims (9)

外部メモリに対して、指定されたアドレスデータに、入力した書き込みデータを書き込み、前記外部メモリより、指定されたアドレスデータのデータを読み出して出力するメモリ制御装置であって、
前記書き込みデータの前値を保存し、前記書き込みデータを、オフセット値、および書き込みデータと前記保存された前値との前値差分データに分離して変換し、これらオフセット値と前値差分データを前記外部メモリへ書き込むデータ信号エンコーダと、
前記外部メモリから読み出された、前記オフセット値と前値差分データとの和をとって逆変換し、出力するメモリ出力信号デコーダ
を備えることを特徴とするメモリ制御装置。
A memory control device that writes input write data to designated address data to an external memory, reads out data of designated address data from the external memory, and outputs the data.
The previous value of the write data is stored, and the write data is separated and converted into an offset value and previous value difference data between the write data and the stored previous value, and the offset value and the previous value difference data are converted. A data signal encoder for writing to the external memory;
A memory control device comprising: a memory output signal decoder that performs reverse conversion by taking the sum of the offset value and previous value difference data read from the external memory and outputs the result.
外部メモリに対して、指定されたアドレスデータに、入力した書き込みデータを書き込み、前記外部メモリより、指定されたアドレスデータのデータを読み出して出力するメモリ制御装置であって、
前記書き込みデータの前値を保存し、前記書き込みデータを、オフセット値、および書き込みデータと前記保存された前値との前値差分データに分離して変換し、前記書き込みデータを分離するとき、前記前値差分データに設定されたビット幅の可動域を超える差分が発生した場合、前記オフセット値を更新して前記前値差分データを前記設定されたビット幅に抑え、前値差分データを外部メモリへ記憶し、更新したオフセット値とオフセット値更新時のアドレスを記憶するデータ信号エンコーダと、
データ読み出し時に、前記データ信号エンコーダに記憶されたオフセット値変更時のアドレスと照合したオフセット値と、前記外部メモリから読み出された前値差分データの和をとって逆変換し、出力するメモリ出力信号デコーダと
を備えることを特徴とするメモリ制御装置。
A memory control device that writes input write data to designated address data to an external memory, reads out data of designated address data from the external memory, and outputs the data.
When storing the previous value of the write data, separating the write data into an offset value, and previous value difference data between the write data and the stored previous value, and separating the write data, When a difference that exceeds the movable range of the bit width set in the previous value difference data occurs, the offset value is updated to suppress the previous value difference data to the set bit width, and the previous value difference data is stored in the external memory. A data signal encoder for storing the updated offset value and the address at the time of offset value update,
Memory output for reverse conversion by taking the sum of the offset value collated with the address at the time of offset value change stored in the data signal encoder and the previous value difference data read from the external memory when reading data A memory control device comprising a signal decoder.
前記データ信号エンコーダは、前記書き込みデータを分離するとき、設定されたビット幅の可動域を超える差分が発生した場合、前記オフセット値を更新して前記前値差分データを前記設定されたビット幅に抑え、更新したオフセット値を前記外部メモリへ書き込み、
前記メモリ出力信号デコーダは、前記外部メモリから読み出された、前記更新したオフセット値と前値差分データとの和をとって逆変換すること
を特徴とする請求項1に記載のメモリ制御装置。
When the data signal encoder separates the write data, if a difference that exceeds a movable range of a set bit width occurs, the data signal encoder updates the offset value to set the previous value difference data to the set bit width. Suppress and write the updated offset value to the external memory,
2. The memory control device according to claim 1, wherein the memory output signal decoder performs reverse conversion by taking a sum of the updated offset value and previous value difference data read from the external memory.
前記データ信号エンコーダは、オフセット値の更新頻度を検出し、この検出するオフセット値の更新頻度が設定値を超えると前値差分データのビット幅を広げ、更新頻度が設定値以下になると前値差分データのビット幅を狭め、この制御されるビット幅により前記前値差分データを分離し、また更新されたビット幅と変更時のアドレスを保持し、
前記メモリ出力信号デコーダは、読み出し時に、前記データ信号エンコーダに保持されたビット幅変更時のアドレスと照合したオフセット値と前値差分データの和をとるように逆変換すること
を特徴とする請求項2または請求項3に記載のメモリ制御装置。
The data signal encoder detects the update frequency of the offset value. When the update frequency of the detected offset value exceeds the set value, the bit width of the previous value difference data is widened, and when the update frequency becomes less than the set value, the previous value difference Narrow the bit width of the data, separate the previous value difference data by this controlled bit width, hold the updated bit width and the address at the time of change,
The memory output signal decoder, when reading, performs inverse conversion so as to take the sum of the offset value collated with the address at the time of changing the bit width held in the data signal encoder and the previous value difference data. The memory control device according to claim 2 or claim 3.
前記データ信号エンコーダは、オフセット値の更新幅を検出し、検出するオフセット値の更新幅が設定値を超えると前値差分データのビット幅を広げ、更新幅が設定値以下になると前値差分データのビット幅を狭め、この制御されるビット幅により前記前値差分データを分離し、また更新されたビット幅と変更時のアドレスを保持し、
前記メモリ出力信号デコーダは、読み出し時に、前記データ信号エンコーダに保持されたビット幅変更時のアドレスと照合したオフセット値と、前値差分データの和をとるように逆変換すること
を特徴とする請求項2または請求項3に記載のメモリ制御装置。
The data signal encoder detects the update width of the offset value, widens the bit width of the previous value difference data when the detected update width of the offset value exceeds the set value, and the previous value difference data when the update width becomes equal to or smaller than the set value. The previous bit difference data is separated by this controlled bit width, and the updated bit width and the address at the time of change are held,
The memory output signal decoder performs inverse conversion so as to take the sum of an offset value collated with an address at the time of bit width change held in the data signal encoder and a previous value difference data at the time of reading. The memory control device according to claim 2 or 3.
前記データ信号エンコーダは、前記アドレスデータより単位時間当たりのメモリアクセス量を検出し、この検出するメモリアクセス量が設定値を超えると前値差分データのビット幅を広げ、メモリアクセス量が設定値以下になると前値差分データのビット幅を狭め、この制御されるビット幅により前記前値差分データを分離し、また更新されたビット幅と変更時のアドレスを保持し、
前記メモリ出力信号デコーダは、読み出し時に、前記データ信号エンコーダに保持されたビット幅変更時のアドレスと照合したオフセット値と、前値差分データの和をとるように逆変換すること
を特徴とする請求項2または請求項3に記載のメモリ制御装置。
The data signal encoder detects a memory access amount per unit time from the address data, and when the detected memory access amount exceeds a set value, the bit width of the previous value difference data is widened, and the memory access amount is less than the set value. When it becomes, the bit width of the previous value difference data is narrowed, the previous value difference data is separated by this controlled bit width, and the updated bit width and the address at the time of change are held,
The memory output signal decoder performs inverse conversion so as to take the sum of an offset value collated with an address at the time of bit width change held in the data signal encoder and a previous value difference data at the time of reading. The memory control device according to claim 2 or 3.
前記データ信号エンコーダは、データ再生速度を検出し、この検出する再生速度が設定値を超えると前値差分データのビット幅を広げ、再生速度が設定値以下になると前値差分データのビット幅を狭め、この制御されるビット幅により前記前値差分データを分離し、また更新されたビット幅と変更時のアドレスを保持し、
前記メモリ出力信号デコーダは、読み出し時に、前記データ信号エンコーダに保持されたビット幅変更時のアドレスと照合したオフセット値と、前値差分データの和をとるように逆変換すること
を特徴とする請求項2または請求項3に記載のメモリ制御装置。
The data signal encoder detects the data reproduction speed, and when the detected reproduction speed exceeds the set value, the bit width of the previous value difference data is widened, and when the reproduction speed becomes lower than the set value, the bit width of the previous value difference data is increased. Narrowing, separating the previous value difference data by this controlled bit width, and holding the updated bit width and the address at the time of change,
The memory output signal decoder performs inverse conversion so as to take the sum of an offset value collated with an address at the time of bit width change held in the data signal encoder and a previous value difference data at the time of reading. The memory control device according to claim 2 or 3.
外部メモリに対して、指定されたアドレスデータに、入力した書き込みデータを書き込み、前記外部メモリより、指定されたアドレスデータのデータを読み出して出力するメモリ制御装置であって、
前記アドレスデータより単位時間当たりのメモリアクセス量を検出し、アクセス頻度が小さい場合は、前記書き込みデータを分割して数回に分けて数ビットずつ同一アドレスに上書きして外部メモリに書き込むデータ信号エンコーダを備えること
を特徴とするメモリ制御装置。
A memory control device that writes input write data to designated address data to an external memory, reads out data of designated address data from the external memory, and outputs the data.
A data signal encoder that detects the amount of memory access per unit time from the address data, and when the access frequency is low, divides the write data into several times and overwrites the same address bit by bit to the external memory A memory control device comprising:
外部メモリに対して、指定されたアドレスデータに、入力した書き込みデータを書き込み、前記外部メモリより、指定されたアドレスデータのデータを読み出して出力するメモリ制御装置であって、
前記データの読み出しの速度に相当するデータ再生速度を検出し、データ再生速度が遅い場合は、書き込みデータを分割して数回に分けて数ビットずつ同一アドレスに上書きして外部メモリに書き込むデータ信号エンコーダを備えること
を特徴とするメモリ制御装置。
A memory control device that writes input write data to designated address data to an external memory, reads out data of designated address data from the external memory, and outputs the data.
The data reproduction speed corresponding to the data reading speed is detected, and when the data reproduction speed is slow, the write data is divided into several times, overwritten on the same address by several bits and written to the external memory. A memory control device comprising an encoder.
JP2005049836A 2005-02-25 2005-02-25 Memory controller Pending JP2006236012A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005049836A JP2006236012A (en) 2005-02-25 2005-02-25 Memory controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005049836A JP2006236012A (en) 2005-02-25 2005-02-25 Memory controller

Publications (1)

Publication Number Publication Date
JP2006236012A true JP2006236012A (en) 2006-09-07

Family

ID=37043590

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005049836A Pending JP2006236012A (en) 2005-02-25 2005-02-25 Memory controller

Country Status (1)

Country Link
JP (1) JP2006236012A (en)

Similar Documents

Publication Publication Date Title
US6553448B1 (en) Method for unit distance encoding of asynchronous pointers for non-power-of-two sized buffers
US6918002B2 (en) Data processor and data processing method reduced in power consumption during memory access
US8254765B2 (en) Optical disc player system and method of controlling a decoding unit in the optical disc player system to read encoded bitstream data from a buffer memory
US20020091905A1 (en) Parallel compression and decompression system and method having multiple parallel compression and decompression engines
CN101765885B (en) Providing energy reduction when storing data in memory
US9502104B2 (en) Multi-level cell (MLC) non-volatile memory data reading method and apparatus
US10193579B2 (en) Storage control device, storage system, and storage control method
US6604169B2 (en) Modulo addressing based on absolute offset
US8169829B2 (en) Memory controller, memory system, recording and reproducing method for memory system, and recording apparatus
JP2019080291A (en) Data processing apparatus and data processing method
WO2013014974A1 (en) Memory controller, semiconductor storage device, and decoding method
US7148822B2 (en) Decoder and decoding method
US20120110416A1 (en) Data storage apparatus with encoder and decoder
TW499685B (en) Error-correcting code adapted for memories that store multiple bits per storage cell
US6205255B1 (en) Method and apparatus for run-length encoding of multi-colored images
JPWO2007055013A1 (en) Image decoding apparatus and method, and image encoding apparatus
JP2011141914A (en) Input/output control method and device of nand type flash memory
JP2006251837A (en) Memory controller
JP2006236012A (en) Memory controller
JP2007013337A (en) Viterbi decoding device
JPWO2008117440A1 (en) Decoding method and decoding apparatus
JP4217208B2 (en) FIFO memory
JP2010136264A (en) Display data processor
CN113190474B (en) Method and system for improving approximate caching energy efficiency of STT-MRAM
JP2008102705A (en) Memory access control circuit and its method