JP4786155B2 - Semiconductor device and semiconductor device refresh processing method - Google Patents
Semiconductor device and semiconductor device refresh processing method Download PDFInfo
- Publication number
- JP4786155B2 JP4786155B2 JP2004237902A JP2004237902A JP4786155B2 JP 4786155 B2 JP4786155 B2 JP 4786155B2 JP 2004237902 A JP2004237902 A JP 2004237902A JP 2004237902 A JP2004237902 A JP 2004237902A JP 4786155 B2 JP4786155 B2 JP 4786155B2
- Authority
- JP
- Japan
- Prior art keywords
- volatile memory
- areas
- refresh
- area
- semiconductor device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Dram (AREA)
Description
この発明は、揮発性メモリを有する半導体装置に関し、特にメモリ容量の増大に伴う消費電力の増大抑止する揮発性メモリの構成に関する。 The present invention relates to a semiconductor device having a volatile memory, and more particularly to a configuration of a volatile memory that suppresses an increase in power consumption accompanying an increase in memory capacity.
近年、デジタルカメラ、デジタルビデオカメラ、カメラ付き携帯電話機等の画像を取り扱う電子機器では、年々CCDの画素数が増加し、処理するデータ容量も大きくなる傾向にあり、このように大きなデータ容量を処理するには、一般にはDRAM(Dynamic RAM)が使用されている。DRAM以外の揮発性メモリとして他に、SRAM(Static RAM)があるが、高コストであり、素子の回路規模が大きく、また、大きな消費電力が必要であって、画像データのような大容量のデータ記録には適さない。従って、DRAMの方がSRAMに比較して画像処理用の揮発性メモリとして適している。 In recent years, electronic devices that handle images, such as digital cameras, digital video cameras, and camera-equipped mobile phones, tend to increase the number of CCD pixels year by year and increase the data capacity to be processed. For this purpose, a DRAM (Dynamic RAM) is generally used. There is another SRAM (Static RAM) as a volatile memory other than DRAM, but it is expensive, requires a large circuit scale of the device, requires large power consumption, and has a large capacity such as image data. Not suitable for data recording. Therefore, the DRAM is more suitable as a volatile memory for image processing than the SRAM.
DRAMを使用したとき、記録されたデータを記録保持するために定期的に情報を再生し書き直すリフレッシュ処理が行われる。ここで、リフレッシュ処理に必要な消費電流は、データ容量に比例して増加する。リフレッシュ処理期間と揮発性メモリへのアクセスが同一時間内に行われ、処理が競合した場合、揮発性メモリへのアクセスが待機され、アクセス速度が低減してしまうため、リフレッシュ回数を効率よく低減する必要もある。 When a DRAM is used, a refresh process is performed to periodically reproduce and rewrite information in order to record and hold the recorded data. Here, the current consumption required for the refresh process increases in proportion to the data capacity. If the refresh process period and access to the volatile memory are performed within the same time and the process conflicts, access to the volatile memory is waited and the access speed is reduced, so the number of refreshes is efficiently reduced. There is also a need.
揮発性メモリのリフレッシュ回数の低減例として、例えば、FAT(File Allocation Table:ファイルアロケーションテーブル)の情報を使用する半導体記憶装置の例がある。すなわち、DRAMにおいて、セルフリフレッシュモードを有し、FAT用のメモリと、FATに付属するレジスタ群を有し、FATにより関連付けられた第一のレジスタに記憶された値とセルフ・リフレッシュ動作モード信号とにより、このレジスタ群の値を書き換え、FATが示すメモリ領域のセルフ・リフレッシュを停止する。(例えば、特許文献1参照)。
しかしながら、特許文献1に記載の技術では、データ格納用の揮発性メモリの他に、FAT情報の管理用メモリが更に必要で、このFAT情報管理用メモリの分、コストも高く、消費電力が増加していた。特に、FAT単位で管理するため、データ領域の分割数も多く、また、FAT情報単位であるクラスタ単位で使用中か未使用か、リフレッシュの要否等の管理するため、大容量の管理用メモリが別に必要となる。また、FAT情報では、データをクラスタ単位で固定化して管理する必要があるため、本来必要なデータ容量以上のメモリ領域に対して、リフレッシュを行わなければならない状況が生じていた。
However, the technique described in
この発明は、このような問題点を解決するためになされたものであり、効率よくデータ保持の不要なメモリ領域のリフレッシュ期間を最小限度に抑え、消費電力を低減することができる半導体装置を提供することを目的とする。 The present invention has been made to solve such problems, and provides a semiconductor device that can efficiently reduce the power consumption by minimizing the refresh period of a memory area that does not require data retention. The purpose is to do.
本発明に係る半導体装置は、分割された複数領域毎に、データを記憶する揮発性メモリ、およびこの揮発性メモリの複数領域の各々をリフレッシュするリフレッシュコントローラ部を備え、上記複数領域に読み出し回数が設定され、この設定された読み出し回数に基づいて、上記リフレッシュコントローラ部に対し、上記揮発性メモリの領域毎にリフレッシュの停止制御を行うことを特徴とするものである。
このような構成により、効率よくデータ保持の不要なメモリ領域のリフレッシュ期間を最小限度に抑え、消費電力を低減することができる。
A semiconductor device according to the present invention includes a volatile memory that stores data for each of a plurality of divided areas, and a refresh controller unit that refreshes each of the plurality of areas of the volatile memory. A refresh stop control is performed for each region of the volatile memory with respect to the refresh controller unit based on the set number of readings.
With such a configuration, it is possible to efficiently minimize the refresh period of the memory area that does not require data retention and to reduce power consumption.
本発明に係る半導体装置は、分割された複数領域毎に、データを記憶する揮発性メモリ、この揮発性メモリの複数領域の各々をリフレッシュするリフレッシュコントローラ部、上記揮発性メモリの複数領域の各々に対応してそれぞれ設けられ、上記揮発性メモリの複数領域の各々に対し、読み出し可能回数を設定するレジスタ、上記揮発性メモリの複数領域の各々に対応してそれぞれ設けられ、上記揮発性メモリの複数領域の各々から読み出しされた読み出し回数を数えるカウンタ、上記揮発性メモリの複数領域の各々に対応してそれぞれ設けられ、上記揮発性メモリの複数領域の各々に対し、上記レジスタに設定された読み出し可能回数および上記カウンタが数える読み出し回数を比較する比較器を備え、この比較器の比較結果に応じて、上記リフレッシュコントローラ部に対し、上記揮発性メモリの領域毎にリフレッシュの停止制御を行うことを特徴とするものである。
このような構成により、効率よくデータ保持の不要なメモリ領域のリフレッシュ期間を最小限度に抑え、消費電力を低減することができる。
A semiconductor device according to the present invention includes a volatile memory that stores data for each of a plurality of divided areas, a refresh controller that refreshes each of the plurality of areas of the volatile memory, and each of the plurality of areas of the volatile memory. A register for setting the number of times of reading is possible for each of the plurality of areas of the volatile memory, and a plurality of the volatile memories respectively provided for each of the plurality of areas of the volatile memory. A counter for counting the number of times read from each of the areas is provided corresponding to each of the plurality of areas of the volatile memory, and the readability set in the register for each of the plurality of areas of the volatile memory is provided. Comparing the number of times and the number of readings counted by the counter, according to the comparison result of this comparator, To serial refresh controller unit, and is characterized in that the refresh stop control for each region of the volatile memory.
With such a configuration, it is possible to efficiently minimize the refresh period of the memory area that does not require data retention and to reduce power consumption.
また、比較器は、レジスタに設定された読み出し可能回数に、カウンタが数える読み出し回数が達したとき、リフレッシュコントローラ部に対し、揮発性メモリの領域毎にリフレッシュの停止制御を行ってもよい。 In addition, the comparator may perform refresh stop control for each area of the volatile memory with respect to the refresh controller unit when the number of readings counted by the counter reaches the number of possible readings set in the register.
また、揮発性メモリの複数領域はアドレスにより分割されてもよい。 Further, the plurality of areas of the volatile memory may be divided by addresses.
また、比較器の比較結果を記録保持する保持部を備え、この保持部に記録保持された比較結果に応じて、上記リフレッシュコントローラ部に対し、揮発性メモリの領域毎にリフレッシュの停止制御を行うようにしてもよい。 Further, a holding unit for recording and holding the comparison result of the comparator is provided, and the refresh controller unit is controlled to stop refreshing for each area of the volatile memory according to the comparison result recorded and held in the holding unit. You may do it.
また、レジスタ、カウンタ、および比較器に替えて、揮発性メモリへ書き込みが発生したときから読み出しがあったときまでの期間、上記リフレッシュコントローラ部に対し、リフレッシュの停止制御を行うようにしてもよい。 Further, in place of the register, the counter, and the comparator, the refresh controller unit may be controlled to stop refreshing during a period from when writing to the volatile memory is performed until reading is performed. .
また、レジスタ、カウンタ、および比較器は、揮発性メモリの複数領域のうちの一部の領域に対してのみ設けられ、上記一部の領域以外の領域に対しては、書き込みが発生したときから読み出しがあったときまでの期間、上記リフレッシュコントローラ部に対し、リフレッシュの停止制御を行うようにしてもよい。 In addition, the register, counter, and comparator are provided only for a part of the plurality of areas of the volatile memory, and the area other than the part of the area is written from when writing occurs. The refresh controller may be controlled to stop refreshing for a period until reading.
本発明に係る半導体装置のリフレッシュ処理方法は、分割された複数領域毎に、データを記憶する揮発性メモリをリフレッシュするリフレッシュ処理方法であって、揮発性メモリの複数領域の各々に対し、読み出し可能回数を設定し、上記揮発性メモリの複数領域の各々から読み出しされた読み出し回数を数え、上記揮発性メモリの複数領域の各々に対し、上記読み出し可能回数および上記読み出し回数を比較し、この比較結果に応じて、上記揮発性メモリの領域毎にリフレッシュの停止制御を行うことを特徴とするものである。
このような方法により、効率よくデータ保持の不要なメモリ領域のリフレッシュ期間を最小限度に抑え、消費電力を低減することができる。
The refresh processing method for a semiconductor device according to the present invention is a refresh processing method for refreshing a volatile memory storing data for each of a plurality of divided areas, and can be read from each of the plurality of areas of the volatile memory. Set the number of times, count the number of times read from each of the plurality of areas of the volatile memory, compare the number of times that can be read and the number of times of reading for each of the plurality of areas of the volatile memory, the comparison result Accordingly, refresh stop control is performed for each area of the volatile memory.
By such a method, the refresh period of the memory area that does not need to hold data efficiently can be minimized and power consumption can be reduced.
この発明により、効率よくデータ保持の不要なメモリ領域のリフレッシュ期間を最小限度に抑え、消費電力を低減することができる半導体装置を提供できる。 According to the present invention, it is possible to provide a semiconductor device that can efficiently reduce the power consumption by minimizing the refresh period of a memory area that does not require data retention.
発明の実施の形態1.
本発明の実施の形態1について、図に基づいて説明する。
図1は、本発明の実施の形態1に係る半導体装置の構成を示す図である。
図2は、図1にアクセス監視回路部の内部の構成を示す図である。
FIG. 1 is a diagram showing a configuration of a semiconductor device according to the first embodiment of the present invention.
FIG. 2 is a diagram showing an internal configuration of the access monitoring circuit unit shown in FIG.
図1において、アクセス監視回路部1は、アドレス(Address(RAS/CAS))信号Signal(以下、Sを称する)1、書き込み信号(Write Enable)S2、読み出し信号(Read Enable)S3、および予め設定されるメモリセル3の領域ごとの読み出し回数設定信号S4を受けて、リフレッシュ(Refresh)停止信号S5をリフレッシュコントローラ部2へ出力する。
リフレッシュコントローラ部2はアクセス監視回路部1からのリフレッシュ停止信号S5および図示しないCPUからのリフレッシュ要求(Refresh_Req)信号S6に従って、後述のRAS(Row Address Strobe)制御4およびCAS(Column Address Strobe)制御5を介して、メモリセル2の指定アドレスのリフレッシュを行う。
In FIG. 1, an access
The
メモリセル3は揮発性のメモリであるDRAMであり、本実施の形態の説明では16bitのアドレス空間を有するものとする。また、メモリセル3は行アドレスおよび列アドレスを指定してアクセスされるように構成され、RAS制御部4により行アドレスを入力され、CAS制御部5により列アドレスが入力される。
図示しないCPUは、アドレス信号S1、書き込み信号S2、読み出し信号S3、およびリフレッシュコントローラ部2からのリフレッシュ要求信号S6、リフレッシュ停止信号S5に従って、RAS制御4およびCAS制御5を用いてメモリセル2のアドレスにより領域を特定し、特定された領域に対し、書き込み、読み出し、またはリフレッシュを行う。
The
The CPU (not shown) uses the
次に、図1のアクセス監視回路部1の内部構成について、図2を用いて説明する。
図2において、アクセス検出部10はメモリへのアクセス、すなわちアドレス信号S1、書き込み信号S2、読み出し信号S3の検出を行い、これらの信号S1、S2、S3を後述のメモリ管理部(領域1)101〜(領域n)10nへ出力する。
メモリ管理部(領域1)101は、メモリセル3の分割された複数領域のうちの1つである領域1の管理を行う。メモリ管理部(領域1)101はカウンタ111、設定レジスタ121、比較器131、およびステータス141から構成される。メモリ管理部10n(n=1、2、・・・)は、アドレスで指定された領域毎に設けられ、メモリ管理部10n(n=1、2、3、・・・)の各々がカウンタ11n(n=1、2、3、・・・)、設定レジスタ12n(n=1、2、3、・・・)、比較器13n(n=1、2、3、・・・)、ステータス14n(n=1、2、3、・・・)を備えている。
Next, the internal configuration of the access
In FIG. 2, the
The memory management unit (area 1) 101 manages the
設定レジスタ121はメモリセル3の複数領域の各々に対しそれぞれ設けられ、読み出し可能回数を設定する。
カウンタ111はメモリセル3の複数領域の各々に対しそれぞれ設けられ、アクセス検出部10から入力される読み出し信号S2から読み出し回数を数える。
比較器131はメモリセル3の複数領域の各々に対しそれぞれ設けられ、設定レジスタ121に設定された読み出し可能回数およびカウンタ111が数える読み出し回数を比較し、比較結果をステータス141へ出力する。
ステータス141はメモリセル3の領域1に対するリフレッシュの要否を認識するための識別信号が保持されている。例えば、スタータス141に“0”が保持されている場合、リフレッシュコントローラ部2へリフレッシュ停止信号S5を出力し、メモリセル3の領域1に対しセルフ・リフレッシュを停止・抑制の制御を行う。
The setting register 121 is provided for each of the plurality of regions of the
The counter 111 is provided for each of the plurality of regions of the
The comparator 131 is provided for each of the plurality of regions of the
The status 141 holds an identification signal for recognizing the necessity of refreshing the
次に、本発明の実施の形態1に係る半導体装置の動作説明をする。
図3は、本発明の実施の形態1に係る半導体装置の初期設定フロー図である。
図4は、本発明の実施の形態1に係る半導体装置の動作フロー図である。
まず、半導体装置は初期設定を行う。図3において、図示しないCPUからのアドレス信号S1による指示により、アクセス監視回路部1による初期設定が開始され(ST301)、アクセス検出部10が、メモリ管理部10nに対し、領域設定を行う(ST302)。ここで、メモリセル3の領域1に対して領域設定があった場合について説明する。まず、領域1のスタートアドレス(メモリセル3に16bitのアドレス空間を使用した場合、例えば0x0000番地)を設定し(ST303)、次に領域1のエンドアドレス(例えば0x0FFF)を設定する(ST304)。次に、メモリ管理部(領域1)101の設定レジスタ121に、メモリセル3の領域1に対応する読み出し回数を例えばN回と設定する(ST305)。同様にして、図示しないCPUの指示に従い、他の領域についても繰り返し領域設定を行い(ST302〜ST305)、領域設定が完了後(ST302)初期設定を完了する(ST306)。
Next, the operation of the semiconductor device according to the first embodiment of the present invention will be described.
FIG. 3 is an initial setting flowchart of the semiconductor device according to the first embodiment of the present invention.
FIG. 4 is an operation flowchart of the semiconductor device according to the first embodiment of the present invention.
First, the semiconductor device is initialized. In FIG. 3, initial setting by the access
次に、本発明に係る半導体装置の動作説明をする。
アクセス検出部10は、図3で初期設定されたメモリセル3の各領域に対し、常時、書き込み信号S2、読み出し信号S3の有無を検出する。
図4において、例えば、図示しないCPUが、メモリセル3の0x0000番地に対する書き込み信号S2を出力したとすると、アクセス監視回路部1のアクセス検出部10は書き込み信号S2を検出し、セルフ・リフレッシュのための各設定動作を開始する(ST401)。
Next, the operation of the semiconductor device according to the present invention will be described.
The
In FIG. 4, for example, when a CPU (not shown) outputs a write signal S2 for the address 0x0000 of the
次に、アクセス検出部10がメモリセル3の領域1のスタートアドレス(0x0000番地)が書き出されたか検出する(ST402)。検出の結果、スタートアドレスの書き込みが行われた場合(ST402)、カウンタ111の読み出し回数が0に初期化され、ステータス141の識別信号を“1”にする(ST403)。なお、メモリセル3の領域1のスタートアドレスが書き出されない場合(ST402)、カウンタ111の読み出し回数が0に初期化することなく、ステータス141の識別信号も書き換えされない。
次に、アクセス検出部10がメモリセル3の領域1のエンドアドレス(0x0FFF番地)が読み出しされたかを検出する(ST404)。検出の結果、エンドアドレスが読み出された場合(ST404)、メモリ管理部(領域1)101のカウンタ111を+1加算(インクリメント)する(ST405)。次に、比較器131は設定レジスタ121に設定された読み出し可能回数N回およびカウンタ111が数える読み出し回数を比較し(ST406)、両数値が同一であった場合、比較器131はステータス141の識別信号を“1”から“0”へ変換し(ST407)、セルフ・リフレッシュのための各設定動作の処理を終了する。一方、ST406で両数値が同一でなかった場合、ステータス141の識別信号の変換を行うことなく、セルフ・リフレッシュのための各設定動作の処理を終了する(ST408)。
Next, the
Next, the
そして、ステータス141は識別信号“0”を保持している場合、リフレッシュ停止信号S5をリフレッシュコントローラ部2へ出力する。図示しないCPUからリフレッシュ要求信号S6が一定時間毎にリフレッシュコントローラ部2へ出力されたとき、リフレッシュコントローラ部2は、各メモリ管理部101、102、・・・10nのステータス141、142、・・・14nの識別信号が“0”の領域に対してはセルフ・リフレッシュを行わず、識別信号が“1”の領域に対してメモリセル3のセルフ・リフレッシュをRAS制御4およびCAS制御5を介して行う。
When the status 141 holds the identification signal “0”, the refresh stop signal S5 is output to the
このような構成により、効率よくデータ保持の不要なメモリ領域のリフレッシュ期間を最小限度に抑え、消費電力を低減することができる半導体装置を提供できる。すなわち、メモリセル3の物理アドレスに対して直接領域設定を行っているので、従来の技術で示した特許文献1の技術のように、FAT適応されたシステム(例えばファイルシステム)を使用する必要もなく、データ管理用領域としてのFAT管理用メモリを新たに設ける必要もない。また、領域数や領域サイズも自由に設定可能であるため、従来の技術で示した特許文献1に記載の技術のように、メモリセルのデータ領域の分割数を多くとる必要もなく、また、これら全ての分割された単位に対し、リフレッシュの要否状態を保持するメモリを必要とせず、更に領域数を最適化して制御可能であるため、図示しないCPUへの負荷を軽減することができ、半導体装置全体の消費電力を低減できる。更に、メモリ管理部で必要なデータ領域を自由に領域設定できるので、従来技術の特許文献1に記載の技術のように、データをクラスタ単位の固定サイズで管理する必要がなく、本来必要なデータ量よりも大きいサイズの領域に対し、リフレッシュを行ってしまう問題もない。領域毎に読み出し回数に応じて、リフレッシュを行うので、必要な処理を最適な期間のみリフレッシュを行うことが可能であり、半導体装置の消費電力を最小限に低減することができる。
With such a configuration, it is possible to provide a semiconductor device that can efficiently reduce the power consumption by minimizing the refresh period of a memory area that does not require data retention. That is, since the area setting is directly performed on the physical address of the
次に、本発明に係る半導体装置を、デジタルカメラに適用した例について、説明する。
図5はデジタルカメラの処理システムを説明する図である。
図5において、CCD200は被写体を撮像するカメラである。取り込み部300はCCD200が撮像した被写体画像を撮像素子に取り込んで撮像データへ変換し、大規模DRAM400へ撮像データ書き込みをする。大規模DRAM400は、図1に示された構成を有するメモリセル3に相当する。画質調整部500はDRAM400に書き込まれた撮像データに対し、明るさ、彩度、表示バランス等の画質調整を行う。JPEG処理部600は大規模DRAM400に書き込まれた撮像データに対し、JPEG方式で圧縮処理を行う。外部データ記録部700はカード等800の記録媒体に撮像データを記録する。リサイズ部900はLCD等1000の表示部へ表示できるサイズに撮像データを変換する。表示制御部1100はLCD等1000の表示部へ表示制御を行う。CPU等1200はデジタルカメラ全体の制御を行う。また、これらはメインバス1200を介して、信号接続されている。
Next, an example in which the semiconductor device according to the present invention is applied to a digital camera will be described.
FIG. 5 is a diagram for explaining a processing system of a digital camera.
In FIG. 5, a
次に、CCD200が撮像した撮像データをカード等800に記録する処理について、説明する。
図6はデジタルカメラの処理システムの動作フローを示す図である。
図6において、まず、CCD200が被写体を撮像する(ST601)。次に、取り込み部300が、CCD200が撮像した被写体を撮像データとして取り込む(ST602)。次に、取り込み部300は、大規模DRAM400に撮像データを記録する(ST603)。この際、例えば大規模DRAM400の特定領域(領域1とする)に記録されるように指定されている。次に、画質調整部500が大規模DRAM400の領域1から、領域1に記録された撮像データを読み出し(ST604)、画質調整を行った後(ST605)、再度大規模DRAM400の特定領域(領域2とする)に書き戻しする(ST606)。次に、JPEG処理部600が大規模DRAM400の領域2に記録された画質調整後の撮像データを読み出し(ST607)、JPEG方式に圧縮変換した後(ST608)、再度大規模DRAM400の特定領域(領域3)に書き戻しする(ST609)。次に、外部データ記録部700が、大規模DRAM400の領域3に記録され、JPEG変換された撮像データを読み出して(ST610)、カード等800に記録保存する(ST611)。
Next, a process for recording image data captured by the
FIG. 6 is a diagram showing an operation flow of the processing system of the digital camera.
In FIG. 6, first, the
次に、CCD200が撮像データをLCD等1000に表示する処理について、説明する。
ST601〜ST606は、カード等800に記録する処理と同様である。
画質調整部500が大規模DRAM400から、領域1に記録された撮像データを読み出し、画質調整を行った後、再度大規模DRAM400の特定領域(領域2)に書き戻し後(ST606)、リサイズ部900が、大規模DRAM400の領域2に記録された画質調整後の撮像データを読み出し(ST612)、LCD等1000に表示可能にリサイズした後(ST613)、再度大規模DRAM400の特定領域(領域4)に書き戻しする(ST614)。次に、表示制御部1100が、リサイズ後の撮像データを大規模DRAM400の領域4から読み出し(ST615)、LCD等1000へ表示させる(ST616)。
Next, the process in which the
ST601 to ST606 are the same as the process of recording on the
The image quality adjustment unit 500 reads the image data recorded in the
通常、デジタルカメラの使用者は、CCD200で撮像する画像データをカード等800に記録し、カード等800に記録後に、LCD等1000に表示させて、撮像内容を確認する。
ここで、大規模DRAM400への読み出し回数を確認すると、領域1へはST604の1回、領域2へはST607、ST612の2回、領域3へはST610の1回、領域4へはST615の1回である。
従って、図2のメモリ管理部(領域1)101の設定レジスタ121には1回、メモリ管理部(領域2)102の設定レジスタ122には2回、メモリ管理部(領域3)103の設定レジスタ123には1回、メモリ管理部(領域4)104の設定レジスタ124には1回を設定しておけば、必要最小限の撮像データ保持期間を確保し、大規模DRAM400(メモリセル3)のセルフ・リフレッシュを行うことができる。
Usually, a user of a digital camera records image data captured by the
Here, when the number of times of reading to the large-
Accordingly, the setting register 121 of the memory management unit (area 1) 101 in FIG. 2 is set once, the setting register 122 of the memory management section (area 2) 102 is set twice, and the setting register of the memory management section (area 3) 103 is set. If once is set in 123 and once in the setting register 124 of the memory management unit (area 4) 104, a necessary minimum image data holding period is secured, and the large-scale DRAM 400 (memory cell 3) Self-refresh can be performed.
ところで、大規模DRAM400はCPU等1200の動作領域として使用される場合もある。この場合には、動作中の特定領域に対し、無限回数の読み出し、すなわち常時セルフ・リフレッシュを行う設定にすればよい。一方、現在動作中の特定領域以外の領域に対しては、0回の読み出し、すなわち常時セルフ・リフレッシュを行わない設定にすればよい。このようにすることで、効率的に半導体装置の消費電力の低減を実現できる。
Incidentally, the large-
また、図5において、予め、画像圧縮率やコントラスト等の表示制御を固定することにより、あるいはCPU等1200でこれらの処理を行うようにした場合、リサイズ部900および表示制御部1100を省略して構成することもできる。
このとき、ST612における領域2に対する読み出し処理、およびST615における領域4に対する読み出し処理が必要なくなる。この場合、図2のメモリ管理部(領域1〜4)101〜104の設定レジスタ121〜124のすべてに1回を設定しておけば、必要最小限の撮像データ保持期間を確保し、大規模DRAM400(メモリセル3)のセルフ・リフレッシュを行うことができる。このように、一律で各設定レジスタに1回を設定できる場合には、設定レジスタ121、カウンタ111、および比較器131に替えて、揮発性メモリとしてのメモリセル3へ読み出しがあったとき、リフレッシュコントローラ部2に対し、セルフ・リフレッシュの停止制御を行う。従って、各カウンタ、各設定レジスタおよび各比較器を不要とし、半導体装置の構成部品を少なくすることができ、セルフ・リフレッシュに際しても、更に効率的な電力低減を実現できる。
設定レジスタ121、カウンタ111、および比較器131は、揮発性メモリの複数領域のうちの一部の領域に対してのみ設けられてもよく、この場合、一部の領域以外の領域に対しては、読み出しがあったとき、リフレッシュコントローラ部2に対し、セルフ・リフレッシュの停止制御を行う。
In FIG. 5, when the display control such as the image compression rate and the contrast is fixed in advance, or when these processes are performed by the CPU 1200 or the like, the resizing
At this time, the reading process for
The setting register 121, the counter 111, and the comparator 131 may be provided only for a part of the plurality of areas of the volatile memory. In this case, for the areas other than the part of the areas, When reading is performed, the
更に、メモリセル3の領域について、読み出し回数設定可能領域と不可能領域とをそれぞれ適切な数量設定することにより、効率よくデータ保持の不要なメモリ領域のリフレッシュ期間を最小限度に抑え、消費電力を低減する。
Furthermore, the
1 アクセス監視回路部、 2 リフレッシュコントローラ部、 3 メモリセル、 4 RAS制御、 5 CAS制御、 10 アクセス検出部、 10n アドレス管理部(領域n)、 11n カウンタ、 12n 設定レジスタ、 13n 比較器、 14n ステータス、 200 CCD、 300 取り込み部、 400 大規模DRAM、 500 画質調整部、 600 JPEG処理部、 700 外部データ記録部、 800 カード等、 900 リサイズ部、 1000 LCD等、1100 表示制御部、 1200 CPU等。
1 access monitoring circuit unit, 2 refresh controller unit, 3 memory cell, 4 RAS control, 5 CAS control, 10 access detection unit, 10n address management unit (region n), 11n counter, 12n setting register, 13n comparator,
Claims (6)
この揮発性メモリの複数領域の各々をリフレッシュするリフレッシュコントローラ部、
上記揮発性メモリの複数領域の各々に対応してそれぞれ設けられ、上記揮発性メモリの複数領域の各々に対し、読み出し可能回数を設定するレジスタ、
上記揮発性メモリの複数領域の各々に対応してそれぞれ設けられ、上記揮発性メモリの複数領域の各々から読み出しされた読み出し回数を数えるカウンタ、
上記揮発性メモリの複数領域の各々に対応してそれぞれ設けられ、上記揮発性メモリの複数領域の各々に対し、上記レジスタに設定された読み出し可能回数および上記カウンタが数える読み出し回数を比較する比較器を備え、
上記レジスタに設定された読み出し可能回数と、上記カウンタが数える読み出し回数とが等しくなった場合の上記比較器の比較結果に応じて、上記リフレッシュコントローラ部に対し、上記揮発性メモリの領域毎にリフレッシュの停止制御を行うことを特徴とする半導体装置。 Volatile memory that stores data for each of the divided areas,
A refresh controller for refreshing each of the plurality of areas of the volatile memory;
A register that is provided corresponding to each of the plurality of areas of the volatile memory, and sets a readable count for each of the plurality of areas of the volatile memory;
A counter provided corresponding to each of the plurality of areas of the volatile memory, and counting the number of times read from each of the plurality of areas of the volatile memory;
A comparator provided corresponding to each of the plurality of areas of the volatile memory, and for comparing each of the plurality of areas of the volatile memory with the number of readable times set in the register and the number of reads counted by the counter With
The refresh controller unit is refreshed for each area of the volatile memory in accordance with the comparison result of the comparator when the number of possible reads set in the register is equal to the number of reads counted by the counter. The semiconductor device is characterized in that stop control is performed.
上記一部の領域以外の領域に対しては、読み出しがあったとき、上記リフレッシュコントローラ部に対し、リフレッシュの停止制御を行うことを特徴とする請求項1に記載の半導体装置。 2. The semiconductor device according to claim 1, wherein when a read operation is performed on a region other than the partial region, refresh stop control is performed on the refresh controller unit. 3.
揮発性メモリの複数領域の各々に対し、読み出し可能回数を設定し、 Set the number of readable times for each of the multiple areas of volatile memory,
上記揮発性メモリの複数領域の各々から読み出しされた読み出し回数を数え、 Count the number of reads from each of the plurality of areas of the volatile memory,
上記揮発性メモリの複数領域の各々に対し、上記読み出し可能回数および上記読み出し回数を比較し、 For each of the plurality of areas of the volatile memory, compare the number of possible reads and the number of reads,
上記読み出し可能回数と、上記読み出し回数とが等しくなった場合の比較結果に応じて、上記揮発性メモリの領域毎にリフレッシュの停止制御を行うことを特徴とする半導体装置のリフレッシュ処理方法。 A refresh processing method for a semiconductor device, characterized in that refresh stop control is performed for each area of the volatile memory in accordance with a comparison result when the number of possible reads and the number of reads are equal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004237902A JP4786155B2 (en) | 2004-08-18 | 2004-08-18 | Semiconductor device and semiconductor device refresh processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004237902A JP4786155B2 (en) | 2004-08-18 | 2004-08-18 | Semiconductor device and semiconductor device refresh processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006059403A JP2006059403A (en) | 2006-03-02 |
JP4786155B2 true JP4786155B2 (en) | 2011-10-05 |
Family
ID=36106761
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004237902A Expired - Fee Related JP4786155B2 (en) | 2004-08-18 | 2004-08-18 | Semiconductor device and semiconductor device refresh processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4786155B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5661227B2 (en) * | 2007-02-07 | 2015-01-28 | 株式会社メガチップス | Memory controller |
KR101411499B1 (en) | 2008-05-19 | 2014-07-01 | 삼성전자주식회사 | Variable resistance memory device and management method thereof |
JP5311466B2 (en) * | 2008-11-27 | 2013-10-09 | ナルテック株式会社 | Memory control method and apparatus |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0628246A (en) * | 1991-06-24 | 1994-02-04 | Nec Corp | Storage device |
JP4246812B2 (en) * | 1997-06-12 | 2009-04-02 | パナソニック株式会社 | Semiconductor circuit and control method thereof |
JP2003045176A (en) * | 2001-08-03 | 2003-02-14 | Canon Inc | Electronic equipment, control method for electronic equipment, and control program for electronic equipment |
JP2004047051A (en) * | 2002-05-17 | 2004-02-12 | Matsushita Electric Ind Co Ltd | Memory controller, memory control method, and program |
-
2004
- 2004-08-18 JP JP2004237902A patent/JP4786155B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2006059403A (en) | 2006-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11887650B2 (en) | Semiconductor memory device managing flexible refresh skip area | |
TWI735727B (en) | Memory device and refresh method thereof and memory system | |
EP1993099B1 (en) | Memory device, memory controller and memory system | |
JP4528242B2 (en) | Memory system and memory system operation method | |
KR100817057B1 (en) | Mapping method and video system for mapping pixel data included same pixel data group to same bank address of memory | |
US8010746B2 (en) | Data processing apparatus and shared memory accessing method | |
US20190079881A1 (en) | Memory access control device, image processing device, and imaging device | |
US6727944B1 (en) | Digital electronic still-video camera and method of controlling operation of same | |
JP5034551B2 (en) | Memory controller, semiconductor memory access control method and system | |
JP4786155B2 (en) | Semiconductor device and semiconductor device refresh processing method | |
JP4964091B2 (en) | MEMORY ACCESS METHOD AND MEMORY CONTROL DEVICE | |
US8732384B1 (en) | Method and apparatus for memory access | |
US10719458B2 (en) | Data transfer device, image processing device, and imaging device | |
KR101068829B1 (en) | Imaging device and method for processing image rotation | |
US20100169564A1 (en) | Apparatus and method for accessing data | |
JP2006109224A (en) | Imaging apparatus | |
JP2005196952A (en) | Dynamic semiconductor memory device and power saving mode operating method of this device | |
US6433786B1 (en) | Memory architecture for video graphics environment | |
US7457470B2 (en) | Image processing apparatus | |
US20090043954A1 (en) | Information Recording/Playback Apparatus and Memory Control Method | |
JPH05242671A (en) | Device for refreshing dram | |
JP2007207138A (en) | Image pickup device and its program | |
KR100982465B1 (en) | Memory control method for a camera | |
JP5311466B2 (en) | Memory control method and apparatus | |
KR20110005098A (en) | Method and apparatus for random access to memory |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20060223 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070713 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100630 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100706 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100820 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110524 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110621 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110712 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110713 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140722 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |