Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5453345B2 - Memory control unit - Google Patents
[go: Go Back, main page]

JP5453345B2 - Memory control unit - Google Patents

Memory control unit Download PDF

Info

Publication number
JP5453345B2
JP5453345B2 JP2011114690A JP2011114690A JP5453345B2 JP 5453345 B2 JP5453345 B2 JP 5453345B2 JP 2011114690 A JP2011114690 A JP 2011114690A JP 2011114690 A JP2011114690 A JP 2011114690A JP 5453345 B2 JP5453345 B2 JP 5453345B2
Authority
JP
Japan
Prior art keywords
command
address
unit
rank
mirror
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.)
Active
Application number
JP2011114690A
Other languages
Japanese (ja)
Other versions
JP2012243198A (en
Inventor
竜太 田邨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions Inc
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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2011114690A priority Critical patent/JP5453345B2/en
Publication of JP2012243198A publication Critical patent/JP2012243198A/en
Application granted granted Critical
Publication of JP5453345B2 publication Critical patent/JP5453345B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明はDDR3−SDRAMなどのDRAMを制御するメモリー制御装置に関する。   The present invention relates to a memory control device for controlling a DRAM such as a DDR3-SDRAM.

従来、画像形成装置などには、プログラムや制御用のデータや画像データを一時的に記憶させるメモリーモジュール(RAM)が搭載される。例えば、メモリーモジュールに、データストローブ信号の立ち上がりおよび立ち下がりタイミングの両方で、データの読み書きが行えるDDR−SDRAM(double data rate synchronousdynamic random accessmemory)のようなメモリーチップが搭載される。尚、DDR−SDRAMには、DDR、DDR2、DDR3といった複数の規格がある。そして、画像形成装置などのメモリーモジュール(メモリーチップ)を搭載する装置には、読み書きを制御するため、メモリー制御装置が搭載される。   2. Description of the Related Art Conventionally, an image forming apparatus or the like is equipped with a memory module (RAM) that temporarily stores programs, control data, and image data. For example, a memory chip such as a DDR-SDRAM (Double Data Rate Synchronous Random Random Access Memory) that can read and write data at both rising and falling timings of the data strobe signal is mounted on the memory module. DDR-SDRAM has a plurality of standards such as DDR, DDR2, and DDR3. A device equipped with a memory module (memory chip) such as an image forming device is equipped with a memory control device for controlling reading and writing.

例えば、メモリー制御装置の一例が特許文献1に記載されている。具体的に、特許文献1には、DDR−SDRAMにデータの読み書きを行なうメモリーシステムに対し、データストローブ信号を遅延させてディレイ調整を行なうディレイ調整手段を備え、ある特定の値を特定のアドレスに書き込み、ディレイ調整手段のディレイ値を変更しながら、アドレスと同じアドレスへ読み込み、両者の値を比較して認識し、当該認識した読み込み可能範囲の中間値を前記ディレイ調整手段に設定するメモリー制御手段を備えたメモリー制御装置が記載されている。この構成により、ディレイ調整手段の値を変えながら読み込みを行なうことにより、正しい値が読めたか否かによりディレイ調整手段に設定する最適遅延時間を認識し、有効領域内で読み込みデータをラッチしようとする(特許文献1:請求項1、段落[0008]等参照)。   For example, Patent Document 1 describes an example of a memory control device. Specifically, Patent Document 1 includes delay adjustment means for delay adjustment of a data strobe signal for a memory system that reads / writes data from / to a DDR-SDRAM, and sets a specific value to a specific address. Memory control means for reading and writing to the same address as the address while changing the delay value of the write and delay adjusting means, comparing and recognizing both values, and setting the intermediate value of the recognized readable range in the delay adjusting means A memory control device is described. With this configuration, by reading while changing the value of the delay adjustment means, the optimum delay time set in the delay adjustment means is recognized depending on whether or not the correct value has been read, and an attempt is made to latch the read data within the effective area. (See Patent Document 1: Claim 1, paragraph [0008], etc.).

特開2003−099321JP 2003-099321 A

上述のように、画像形成装置などのメモリーモジュールを搭載する各種装置には、メモリーモジュールやメモリーモジュールに含まれるメモリーチップの動作を制御するメモリー制御装置が設けられることがある。   As described above, various devices including a memory module such as an image forming apparatus may be provided with a memory control device that controls the operation of the memory module and the memory chip included in the memory module.

ここで、例えば、DDR3−SDRAMのDIMM(Dual Inline Memory Module)では、アドレスミラーの有無がオプションとして選択可能である。アドレスミラーは、DDR3の規格において定められている(例えば、JEDECの規格書JEDEC Standard No. 21C Page 4.20.19-1のPage14等参照。この規格書は、www.jedec.org/sites/default/files/docs/4_20_19R20.pdfなどで閲覧可能)。   Here, for example, in the DIMM (Dual Inline Memory Module) of DDR3-SDRAM, the presence or absence of an address mirror can be selected as an option. The address mirror is defined in the DDR3 standard (for example, refer to Page 14 of JEDEC Standard JEDEC Standard No. 21C Page 4.20.19-1. This standard can be found at www.jedec.org/sites/default/ files / docs / 4_20_19R20.pdf etc.)

メモリーモジュールに搭載された各SDRAMのようなメモリーチップのトレース長(線路長)の整合を取り、メモリーモジュール上での信号の品質を高めるため、アドレスミラーでは、メモリーの信号線を入れ替えて接続することが認められている。言い換えると、メモリーソケットのピンに対し接続すると予め定められたメモリーチップのピンとは異なるピンに信号線を接続するオプションがある(信号線の入れ替え)。例えば、通常(アドレスミラーが無いとき)、メモリーモジュールのコネクター側のA3のピンは、SDRAMのA3のピンに接続されるが、アドレスミラー有りの場合では、メモリーモジュールのコネクター側のA3のピンはSDRAMのA4ピンに接続する。   To match the trace length (line length) of the memory chip such as each SDRAM mounted on the memory module and improve the quality of the signal on the memory module, the address mirror replaces and connects the memory signal lines. It is recognized that In other words, there is an option to connect a signal line to a pin different from a predetermined pin of the memory chip when connected to the pin of the memory socket (replacement of signal line). For example, normally (when there is no address mirror), the A3 pin on the connector side of the memory module is connected to the A3 pin of the SDRAM, but when there is an address mirror, the A3 pin on the connector side of the memory module is Connect to A4 pin of SDRAM.

通常のメモリーのアクセスでは、メモリーモジュール内部でアドレスミラーによってアドレス線(信号線)の接続に入れ違いがあっても、readとwriteでアドレスは1対1で対応している。そのため、readとwriteの各処理で、アドレスの入れ違いがあっても、アドレス変換などを行う必要は別段なく、意識する必要はない。一方、メモリーチップの初期化や動作(振る舞い)の設定するための設定コマンド(例えば、MRSコマンド、JEDECの規格書JEDEC Standard JESD79-3DのPage24等参照。この規格書は、www.jedec.org/standards-documents/docs/jesd-79-3dなどで閲覧可能)が用意されることがある。そして、アドレスミラーで入れ替えて接続される信号線を用いて各メモリーチップに設定コマンドが与えられることがある。   In normal memory access, even if the address lines (signal lines) are misconnected by the address mirror inside the memory module, the addresses correspond one-to-one with read and write. For this reason, there is no need to perform address conversion or the like even if there is a misplaced address in each process of read and write, and there is no need to be aware of it. On the other hand, setting commands (for example, MRS command, JEDEC standard JESD79-3D, page 24, etc.) for setting memory chip initialization and operation (behavior). This standard can be found at www.jedec.org/ standards-documents / docs / jesd-79-3d). Then, a setting command may be given to each memory chip using a signal line that is switched and connected by an address mirror.

このようなアドレスそのものに特別な意味を持たせる(アドレスミラーで入れ替えの対象となる信号線を用いる)コマンドでは、メモリー制御装置は、アドレスミラーによるアドレスの入れ違いを意識してコマンドを生成する必要がある。しかし、従来のメモリー制御装置では、アドレスミラーの有るメモリーチップと無いメモリーチップが混在するメモリーモジュールに対し、アドレスそのものに特別な意味を持たせるコマンドを生成するとき、アドレスの入れ違いに対してソフトウェアで対応している。具体的に、ソフトウェアにて、アドレスミラーの有無を確認する処理を行い、アドレスミラーの無いメモリーチップに一旦コマンドを生成し、更に、設定コマンドのアドレスを変更する等の処理を行い、別途、アドレスミラーの有るメモリーチップに対してコマンドを生成している。   In such a command that gives special meaning to the address itself (using a signal line to be exchanged by the address mirror), the memory control device needs to generate the command while considering the address misplacement by the address mirror. is there. However, in the conventional memory control device, when generating a command that gives a special meaning to the address itself for a memory module that has both a memory chip with an address mirror and a memory chip without an address mirror, It corresponds. Specifically, the software performs processing to confirm the presence / absence of an address mirror, temporarily generates a command for a memory chip without an address mirror, and further performs processing such as changing the address of a setting command. A command is generated for a memory chip with a mirror.

このように、アドレスそのものに意味を持たせるコマンドでは、従来、アドレスミラーの有無をソフトウェアで判断し、アドレスミラーの有無に応じて別々にコマンドを生成する(コマンド発行を繰り返す)ので、メモリーチップの初期化や動作設定が複雑になり、コマンド発行完了までに不必要な時間が生ずるという問題がある。   In this way, in the command that makes the address itself meaningful, conventionally, the presence / absence of the address mirror is determined by software, and the command is generated separately according to the presence / absence of the address mirror (repeat command issuance). There is a problem in that initialization and operation settings are complicated, and unnecessary time is generated until command issue is completed.

尚、特許文献1に記載された発明では、アドレスミラーやアドレスそのものに特別な意味を持たせるコマンドについての記載はなく、上記の問題を解決できない。   In the invention described in Patent Document 1, there is no description about a command that gives a special meaning to the address mirror or the address itself, and the above problem cannot be solved.

本発明は、上記の課題に鑑み、アドレスミラーの有無が混在するとき、ソフトウェアによる特別な制御による複雑なコマンド発行(コマンド生成)を無くし、アドレスそのものに特別な意味を持たせるコマンドをスムーズに発行、生成して、初期化やメモリーチップの動作設定の単純化を図ることを課題とする。   In view of the above problems, the present invention eliminates complicated command issuance (command generation) by special control by software when the presence or absence of address mirror is mixed, and issues commands that give special meaning to the address itself. It is an object to generate and simplify initialization and operation setting of a memory chip.

上記課題を解消するために、請求項1記載のメモリー制御装置は、動作を設定するための構成設定レジスタを含む複数のメモリーチップを実装するメモリーモジュールに対するコマンドをキューイングするキューイング部と、メモリーチップでのアドレスミラーの有無を示すアドレスミラー情報を保持するアドレスミラー設定部と、前記キューイング部からのコマンド発行要求とコマンドの対象となるメモリーチップを示す対象情報に応じてメモリーチップに対するコマンド生成要求を発行するコマンド発行部と、前記コマンド発行部が発行したコマンド生成要求に基づき、メモリーチップ向けのコマンドを生成しメモリーチップにコマンドを与えるとともに、アドレスミラーにより配線の入れ替えの対象となる信号線を用いて前記設定構成レジスタを設定する設定コマンドをメモリーチップに対して与えるコマンド生成部と、を含み、前記コマンド生成部は、アドレスミラーの無いメモリーチップとアドレスミラーの有るメモリーチップに対し同様の前記設定コマンドを与えるとき、前記アドレスミラー情報と前記対象情報に基づき、アドレスミラーの無いメモリーチップに向けて生成した前記設定コマンドを与える処理を行い、アドレスミラーの有るメモリーチップに対しては、アドレスミラーにより入れ替えられた信号線に応じ、前記設定コマンドのアドレスを変換してアドレスミラーの有るメモリーチップ用の前記設定コマンドを生成するアドレス変換部を含むこととした。   In order to solve the above-described problem, a memory control device according to claim 1 includes a queuing unit for queuing a command for a memory module mounted with a plurality of memory chips including a configuration setting register for setting an operation, and a memory. An address mirror setting unit that holds address mirror information indicating the presence / absence of an address mirror in the chip, and a command generation request from the queuing unit and a command generation for the memory chip according to target information indicating a memory chip to be commanded A command issuing unit that issues a request, and a signal line that generates a command for the memory chip based on the command generation request issued by the command issuing unit, gives the command to the memory chip, and is a target of wiring replacement by an address mirror The setting configuration using A command generation unit that provides a setting command for setting a register to a memory chip, and the command generation unit provides a similar setting command to a memory chip without an address mirror and a memory chip with an address mirror. Based on the address mirror information and the target information, a process of giving the setting command generated toward a memory chip without an address mirror is performed, and for a memory chip with an address mirror, a signal exchanged by the address mirror According to the line, an address conversion unit that converts the address of the setting command to generate the setting command for the memory chip having the address mirror is included.

この構成によれば、コマンド生成部は、アドレスミラーの無いメモリーチップとアドレスミラーの有るメモリーチップに対し同様の設定コマンドを与えるとき、アドレスミラー情報と対象情報に基づき、アドレスミラーの無いメモリーチップに向けて生成した設定コマンドを与える処理を行い、アドレスミラーの有るメモリーチップに対しては、アドレスミラーにより入れ替えられた信号線に応じ、設定コマンドのアドレスを変換してアドレスミラーの有るメモリーチップ用の設定コマンドを生成するアドレス変換部を含む。これにより、ハードウェアとしてのアドレス変換部がアドレスミラーの有るメモリーチップに対する設定コマンドのアドレスを自動的に変換する。言い換えると、コマンド発行部は設定コマンドの対象となるメモリーチップを示す対象情報と設定コマンドの生成要求を発行すれば、コマンド生成部は、アドレスミラーの有無に応じた設定コマンドを自動的に生成し、メモリーチップに与える。   According to this configuration, when the command generation unit gives the same setting command to the memory chip without the address mirror and the memory chip with the address mirror, the command generation unit applies the setting to the memory chip without the address mirror based on the address mirror information and the target information. For the memory chip with the address mirror, the address of the setting command is converted for the memory chip with the address mirror, and the address of the setting command is converted for the memory chip with the address mirror. An address conversion unit that generates a setting command is included. As a result, the address conversion unit as hardware automatically converts the address of the setting command for the memory chip having the address mirror. In other words, if the command issuing unit issues target information indicating the memory chip that is the target of the setting command and a setting command generation request, the command generating unit automatically generates a setting command according to the presence or absence of an address mirror. Give to the memory chip.

このように、コマンド発行部やキューイング部がソフトウェアでアドレスミラーの有無を判断し、別々に(複数回に分けて)アドレスミラーの有無に応じて設定コマンドに関する要求を発したり、設定コマンドのアドレス変換などしたりせずに済み、アドレスミラーの有るメモリーチップとアドレスミラーの無いメモリーチップに関して連続的に設定コマンドを与えることができる。言い換えると、アドレス変換等のソフトウェア処理が不要となるので、アドレスミラーの有るメモリーチップとアドレスミラーの無いメモリーチップに対する設定コマンド発行を自動的に分割して処理することができる。従って、メモリーチップの初期化や動作設定の処理の簡素化を図ることができる。又、メモリーモジュールでアドレスミラーの有るメモリーチップとアドレスミラーが無いメモリーチップが混在していても初期化等の制御フローを共通化することができる。   In this way, the command issuing unit and queuing unit determine the presence / absence of an address mirror by software, and issue a request for a setting command according to the presence / absence of an address mirror separately (divided into multiple times). It is not necessary to perform conversion or the like, and setting commands can be continuously given to a memory chip having an address mirror and a memory chip having no address mirror. In other words, since software processing such as address conversion is not required, it is possible to automatically divide and process setting command issuance for a memory chip with an address mirror and a memory chip without an address mirror. Therefore, it is possible to simplify the initialization of the memory chip and the operation setting process. Further, even if a memory chip having an address mirror and a memory chip having no address mirror are mixed in the memory module, the control flow such as initialization can be made common.

又、請求項2記載の発明は請求項1の発明において、前記アドレスミラー設定部は前記メモリーモジュールでのランクのアドレスミラーの有無を示すアドレスミラーランク情報を保持し、アドレスミラーの有るメモリーチップからなるランクとアドレスミラーの無いメモリーチップからなるランクを含むメモリーモジュールの各ランクに対して同様の前記設定コマンドを生成するとき、前記キューイング部は、前記対象情報として前記設定コマンドの発行要求にあわせてアドレスミラーの無いランクを示す第1ランク情報とアドレスミラーの有るランクを示す第2ランク情報を前記コマンド発行部に送信し、前記コマンド発行部は、前記設定コマンドの生成要求とともに、前記第1ランク情報と前記第2ランク情報を前記コマンド生成部に向けて送信し、前記アドレス変換部は、前記アドレスミラー設定部が保持する情報と前記第1ランク情報と前記第2ランク情報に基づき、入れ替えられた信号線に応じ、アドレスミラーの無いランク用の前記設定コマンドのアドレスを変換してアドレスミラーの有るメモリーチップ用の前記設定コマンドを生成することとした。   According to a second aspect of the present invention, in the first aspect of the present invention, the address mirror setting unit holds address mirror rank information indicating the presence / absence of a rank address mirror in the memory module, and from the memory chip having the address mirror. When the same setting command is generated for each rank of a memory module including a rank and a rank including a memory chip without an address mirror, the queuing unit matches the request for issuing the setting command as the target information. First rank information indicating a rank without an address mirror and second rank information indicating a rank with an address mirror are transmitted to the command issuing unit, and the command issuing unit transmits the first command together with the setting command generation request. The rank information and the second rank information are sent to the command generator. The address conversion unit, based on the information held by the address mirror setting unit, the first rank information, and the second rank information, according to the replaced signal line, for the rank without an address mirror The setting command address is converted to generate the setting command for a memory chip having an address mirror.

この構成によれば、アドレス変換部は、アドレスミラー設定部が保持する情報と第1ランク情報と第2ランク情報に基づき、入れ替えられた信号線に応じ、アドレスミラーの無いランク用の設定コマンドのアドレスを変換してアドレスミラーの有るメモリーチップ用の設定コマンドを生成する。これにより、アドレスミラーの有無に応じて、各ランクに対するコマンド発行(生成)が自動的に分割処理される。従って、メモリーモジュール内でアドレスミラーの有るランクとアドレスミラーの無いランクが混在していても、ソフトウェアでアドレスミラーの有無を判断して別々に(複数回に分けて)、アドレスミラーの有無に応じて設定コマンドを発行しなくて済み、同一ランクでのメモリーチップの初期化や動作設定の簡素化を図ることができる。   According to this configuration, the address conversion unit, based on the information held by the address mirror setting unit, the first rank information, and the second rank information, sets the setting command for the rank without the address mirror according to the replaced signal line. Converts the address and generates a setting command for the memory chip having the address mirror. Thus, command issue (generation) for each rank is automatically divided according to the presence or absence of an address mirror. Therefore, even if the rank with address mirror and the rank without address mirror are mixed in the memory module, the presence / absence of the address mirror is determined by the software separately (divided into multiple times) according to the presence / absence of the address mirror. Therefore, it is not necessary to issue a setting command, and it is possible to initialize memory chips at the same rank and simplify operation settings.

又、請求項3記載の発明は、請求項2の発明において、前記キューイング部は、前記設定コマンドの発行要求とともに、前記第1ランク情報と前記第2ランク情報を連続的に前記コマンド発行部に向けて送信し、前記コマンド発行部は、前記設定コマンドの生成要求を前記コマンド生成部に発行するとともに前記設定コマンドの生成要求にあわせて前記第1ランク情報に続けて前記第2ランク情報を前記コマンド生成部に送信することとした。   According to a third aspect of the present invention, in the second aspect of the present invention, the queuing unit continuously transmits the first rank information and the second rank information together with the setting command issuance request. The command issuing unit issues the setting command generation request to the command generation unit and the second rank information following the first rank information in accordance with the setting command generation request. The command is transmitted to the command generation unit.

この構成によれば、キューイング部は、設定コマンドの発行要求とともに、第1ランク情報と第2ランク情報を連続的にコマンド生成部に向けて送信し、コマンド発行部は、設定コマンドをコマンド生成部に発するとともに、第1ランク情報に続けて第2ランク情報をコマンド生成部に発する。これにより、複数のランクに対して設定コマンドを発行するとき、アドレスミラーの無いランクとアドレスミラーの有るランクのそれぞれのランクに対して、連続的に設定コマンドが発行される。その結果、アドレスミラーの有るランクと無いランクが混在していても、速やかに設定コマンドを発行し、コマンドを生成することができる。   According to this configuration, the queuing unit continuously transmits the first rank information and the second rank information to the command generating unit together with the setting command issuance request, and the command issuing unit generates the setting command as a command. The second rank information is issued to the command generation unit following the first rank information. As a result, when a setting command is issued for a plurality of ranks, the setting command is continuously issued for each of the rank having no address mirror and the rank having the address mirror. As a result, even if a rank with an address mirror and a rank without an address mirror are mixed, a setting command can be issued promptly and a command can be generated.

本発明の構成によれば、アドレスミラーの有無に起因するソフトウェアによる特別な制御による複雑なコマンド発行を無くすことができる。従って、アドレスそのものに特別な意味を持たせるコマンドをスムーズに発行することができ、初期化やメモリーチップの動作設定の単純化を図ることができる。   According to the configuration of the present invention, it is possible to eliminate complicated command issuance by special control by software due to the presence or absence of an address mirror. Therefore, a command for giving a special meaning to the address itself can be issued smoothly, and initialization and memory chip operation setting can be simplified.

複合機の一例を示すブロック図である。1 is a block diagram illustrating an example of a multifunction machine. メモリー制御装置を含むメモリーシステムの一例を示すブロック図である。It is a block diagram which shows an example of the memory system containing a memory control apparatus. メモリー制御装置の内部構成の一例を示すブロック図である。It is a block diagram which shows an example of an internal structure of a memory control apparatus. アドレスミラーを説明するための説明図である。It is explanatory drawing for demonstrating an address mirror. 各メモリーチップの動作設定コマンドの一例を示す説明図である。It is explanatory drawing which shows an example of the operation setting command of each memory chip. アドレスミラーの有無が混在していないときのコマンド発行の一例を示すタイミングチャートである。It is a timing chart which shows an example of command issue when the presence or absence of an address mirror is not mixed. アドレスミラーの有無が混在しているときの従来のコマンド発行の一例を示すタイミングチャートである。It is a timing chart which shows an example of the conventional command issue when the presence or absence of an address mirror is mixed. アドレスミラーの有無が混在しているときの本実施形態のメモリー制御装置でのコマンド発行の一例を示すタイミングチャートである。It is a timing chart which shows an example of command issue in the memory control device of this embodiment when the presence or absence of an address mirror is mixed.

以下、図1〜図8に基づき、本発明の実施形態を説明する。但し、本実施形態に記載されている構成等の各要素は、発明の範囲を限定せず、単なる説明例にすぎない。   Hereinafter, embodiments of the present invention will be described with reference to FIGS. However, each element such as the configuration described in this embodiment does not limit the scope of the invention and is merely an illustrative example.

(メモリー制御装置1を搭載した装置の一例)
まず、図1に基づき、実施形態に係るメモリー制御装置1が搭載された装置の一例を説明する。メモリー制御装置1を搭載した装置として複合機100を例に挙げる。図1は、複合機100の一例を示すブロック図である。
(An example of a device equipped with the memory control device 1)
First, based on FIG. 1, an example of a device in which the memory control device 1 according to the embodiment is mounted will be described. As an example of a device on which the memory control device 1 is mounted, the multifunction device 100 is given as an example. FIG. 1 is a block diagram illustrating an example of a multifunction peripheral 100.

複合機100には、スキャンを行う部分として画像読取部101が設けられる。例えば、画像読取部101は、上面にコンタクトガラスを備え、コンタクトガラスに載置された原稿を読み取る。そして、画像読取部101内には、例えば、露光ランプ、ミラー、レンズ、イメージセンサ(例えば、CCD)等(いずれも不図示)が配され、原稿への反射光をイメージセンサに導き、イメージセンサの出力をA/D変換し原稿の画像データを得る。   The multi-function device 100 is provided with an image reading unit 101 as a part for scanning. For example, the image reading unit 101 includes a contact glass on the upper surface, and reads a document placed on the contact glass. In the image reading unit 101, for example, an exposure lamp, a mirror, a lens, an image sensor (for example, a CCD), etc. (all not shown) are arranged, and the reflected light to the document is guided to the image sensor. Is A / D converted to obtain document image data.

又、複合機100には、印刷を行う部分(印刷エンジン部分)として給紙部102、搬送路103、画像形成部104、定着部105等が設けられる。給紙部102は、内部にコピー用紙等、各種、各サイズの用紙を収容する。そして、給紙部102は、印刷時、1枚ずつ用紙を搬送路103に送り出す。搬送路103は、給紙部102から供給された用紙を搬送する通路である。搬送路103には、例えば、用紙案内用のガイド板や、モータ等からなる駆動機構(不図示)に接続され回転駆動して用紙を搬送する搬送ローラー対などが設けられる。   Further, the multifunction peripheral 100 is provided with a paper feeding unit 102, a conveyance path 103, an image forming unit 104, a fixing unit 105, and the like as a part for performing printing (print engine part). The paper supply unit 102 accommodates various sizes of paper such as copy paper. The paper feed unit 102 then feeds the paper to the transport path 103 one by one during printing. The transport path 103 is a path for transporting the paper supplied from the paper supply unit 102. The conveyance path 103 is provided with, for example, a guide plate for paper guidance, a conveyance roller pair that is connected to a drive mechanism (not shown) including a motor and the like and is rotated and conveyed.

画像形成部104は、画像データに基づき、トナー像を形成し搬送される用紙に転写する。画像形成部104は、例えば、感光体ドラム、帯電部、現像部、清掃部等を含む(不図示)。そして、画像形成部104は、画像読取部101で取得した画像データや、コンピューター200等から受信した画像データ等に基づき、トナー像を形成する。具体的に、トナー像形成では、帯電部は、感光体ドラムの表面を所定電位に帯電させる。露光部は、画像データにあわせて半導体レーザ装置(不図示)の点消灯を行い、帯電後の感光体ドラムの走査・露光を行う。現像部は、トナーを収容し、トナーを所定の電位に帯電させる。又、現像部は、トナーを飛翔させて静電潜像にトナーを供給する。これにより、静電潜像がトナー像として現像される。清掃部は、感光体ドラムと接し、残トナー等を回収、除去する。   The image forming unit 104 forms a toner image based on the image data, and transfers the toner image onto the conveyed paper. The image forming unit 104 includes, for example, a photosensitive drum, a charging unit, a developing unit, a cleaning unit, and the like (not shown). The image forming unit 104 forms a toner image based on image data acquired by the image reading unit 101, image data received from the computer 200, or the like. Specifically, in the toner image formation, the charging unit charges the surface of the photosensitive drum to a predetermined potential. The exposure unit turns on and off a semiconductor laser device (not shown) according to the image data, and scans and exposes the charged photosensitive drum. The developing unit stores toner and charges the toner to a predetermined potential. Further, the developing unit causes the toner to fly and supplies the toner to the electrostatic latent image. As a result, the electrostatic latent image is developed as a toner image. The cleaning unit is in contact with the photosensitive drum and collects and removes residual toner and the like.

定着部105は、例えば、発熱体を内蔵する加熱ローラーと、これに圧接する加圧ローラーとを有する。そして、定着部105は、両ローラーの間をトナー像が転写された用紙を通過させ、トナー像を用紙に定着させる。定着の完了により1枚の用紙の印刷が完了し、印刷済用紙は機外に排出される。   The fixing unit 105 includes, for example, a heating roller that incorporates a heating element and a pressure roller that presses the heating roller. The fixing unit 105 passes the sheet on which the toner image is transferred between both rollers, and fixes the toner image on the sheet. When the fixing is completed, printing of one sheet is completed, and the printed sheet is discharged outside the apparatus.

又、複合機100には、外部のコンピューター200と通信を行う通信部106が設けられる。通信部106は、コンピューター200から印刷を行う画像データや印刷での設定データを受信する。   In addition, the multifunction device 100 is provided with a communication unit 106 that communicates with the external computer 200. The communication unit 106 receives image data to be printed and setting data for printing from the computer 200.

そして、複合機100には、複合機100の画像読取部101、給紙部102、搬送路103、画像形成部104、定着部105、通信部106等の動作制御のため、機内に制御部10が設けられる。   The MFP 100 includes a control unit 10 for controlling operations of the image reading unit 101, the paper feeding unit 102, the conveyance path 103, the image forming unit 104, the fixing unit 105, the communication unit 106, and the like of the MFP 100. Is provided.

そして、例えば、制御部10には、CPU10aや、記憶装置としてのROM10bが設けられる。又、複合機100では、制御部10に対し、HDD10cが通信可能に接続される。CPU10aは、複合機100の中央演算処理装置であり、ROM10bやHDD10cから読み出した制御用プログラムやデータに基づき、各種演算等を行い、複合機100の各部を制御する。ROM10bやHDD10cは、複合機100の制御プログラム、制御データ、画像データ等の各種データを記憶する。   For example, the control unit 10 is provided with a CPU 10a and a ROM 10b as a storage device. In the multifunction device 100, the HDD 10 c is connected to the control unit 10 so as to be communicable. The CPU 10a is a central processing unit of the multifunction peripheral 100, and performs various computations based on control programs and data read from the ROM 10b and the HDD 10c to control each part of the multifunction peripheral 100. The ROM 10b and the HDD 10c store various data such as a control program, control data, and image data of the multifunction peripheral 100.

又、制御部10にはRAMとしてのメモリーモジュール2が設けられる。メモリーモジュール2は、ROM10bやHDD10cから読み出された制御用プログラムや各種データや、コンピューター200から通信部106が受信したデータや、画像読取部101が読み取りにより生成した画像データを記憶することができる。又、制御部10には、メモリーモジュール2でのデータの読み書きなどを制御するメモリー制御装置1が設けられる。CPU10aは、メモリーモジュール2に展開されたデータやプログラムに基づき各種処理を行う。   The control unit 10 is provided with a memory module 2 as a RAM. The memory module 2 can store control programs and various data read from the ROM 10b and the HDD 10c, data received by the communication unit 106 from the computer 200, and image data generated by reading by the image reading unit 101. . Further, the control unit 10 is provided with a memory control device 1 that controls reading and writing of data in the memory module 2. The CPU 10a performs various processes based on data and programs developed in the memory module 2.

そして、制御部10は、複合機100の画像読取部101、給紙部102、搬送路103、画像形成部104、定着部105、通信部106等の各部と接続され、適切に印刷がなされるように、各部の動作を制御する。   The control unit 10 is connected to each unit such as the image reading unit 101, the paper feeding unit 102, the conveyance path 103, the image forming unit 104, the fixing unit 105, and the communication unit 106 of the multifunction peripheral 100, and printing is performed appropriately. Thus, the operation of each unit is controlled.

(メモリー制御装置1の概要)
次に、図2を用いて、本実施形態に係るメモリー制御装置1の概要を説明する。図2はメモリー制御装置1を含むメモリーシステム300の一例を示すブロック図である。
(Outline of memory control device 1)
Next, the outline of the memory control device 1 according to the present embodiment will be described with reference to FIG. FIG. 2 is a block diagram illustrating an example of a memory system 300 including the memory control device 1.

メモリーシステム300は、例えば、メモリー制御装置1やSDRAMI/F3やメモリーモジュール2などを含む。   The memory system 300 includes, for example, a memory control device 1, an SDRAM I / F 3, a memory module 2, and the like.

そして、メモリー制御装置1は、バスを介して、CPU10aやROM10bやHDD10cと接続される。例えば、メモリー制御装置1は、メモリーモジュール2とCPU10a間のデータのやり取りを制御する。又、メモリー制御装置1はメモリーモジュール2とROM10bやHDD10cとのデータやプログラムの読出や書込を制御する。   The memory control device 1 is connected to the CPU 10a, the ROM 10b, and the HDD 10c via a bus. For example, the memory control device 1 controls data exchange between the memory module 2 and the CPU 10a. The memory control device 1 controls reading and writing of data and programs between the memory module 2 and the ROM 10b and HDD 10c.

図2に示すように、メモリー制御装置1には、SDRAMI/F3が接続される。例えば、SDRAMI/F3は、データバッファやメモリーモジュール2用のソケットを含む。SDRAMI/F3には、メモリーモジュール2が接続される。図2では、メモリーモジュール2が1つ設けられる例を示すが、メモリーモジュール2は2つ以上でもよい。   As shown in FIG. 2, the SDRAM I / F 3 is connected to the memory control device 1. For example, the SDRAM I / F 3 includes a data buffer and a socket for the memory module 2. The memory module 2 is connected to the SDRAM I / F 3. Although FIG. 2 shows an example in which one memory module 2 is provided, two or more memory modules 2 may be provided.

SDRAMI/F3は、メモリー制御装置1とメモリーモジュール2間のインターフェイスである。SDRAMI/F3は、メモリー制御装置1の制御の下、書き込み対象となるデータをバッファリングする。そして、SDRAMI/F3はメモリーモジュール2にデータ等を書き込む。又、SDRAMI/F3は、メモリーモジュール2から読み出し対象となるデータを読み出してバッファリングし、メモリー制御装置1に出力する。   The SDRAM I / F 3 is an interface between the memory control device 1 and the memory module 2. The SDRAM I / F 3 buffers data to be written under the control of the memory control device 1. The SDRAM I / F 3 writes data or the like in the memory module 2. The SDRAM I / F 3 reads data to be read from the memory module 2, buffers it, and outputs it to the memory control device 1.

メモリーモジュール2は、複数のメモリーチップ4を含む。メモリーモジュール2は、制御部10が設けられる基板上のメモリーモジュール2用ソケット(不図示)に取り付けられる。メモリーモジュール2内のメモリーチップ4は、例えば、DDR3のSDRAMである。そして、例えば、メモリーモジュール2は、複数のDDR3のSDRAMのメモリーチップ4が配線されつつ装着された基板である。   The memory module 2 includes a plurality of memory chips 4. The memory module 2 is attached to a memory module 2 socket (not shown) on a substrate on which the control unit 10 is provided. The memory chip 4 in the memory module 2 is, for example, a DDR3 SDRAM. For example, the memory module 2 is a substrate on which a plurality of DDR3 SDRAM memory chips 4 are mounted while being wired.

メモリーモジュール2では、複数のメモリーチップ4を1つの単位として複数のランク5が設けられる。ランク5は、メモリー制御装置1がデータを入出力する単位である。例えば、ランク5の数は、2や4などである。例えば、メモリーモジュール2の表側に配された全メモリーチップ4を一方のランク5とし、メモリーモジュール2の裏側に配された全メモリーチップ4を他方のランク5とすることができる。   In the memory module 2, a plurality of ranks 5 are provided with a plurality of memory chips 4 as one unit. Rank 5 is a unit in which the memory control device 1 inputs and outputs data. For example, the number of rank 5 is 2, 4 or the like. For example, all the memory chips 4 arranged on the front side of the memory module 2 can be set as one rank 5, and all the memory chips 4 arranged on the back side of the memory module 2 can be set as the other rank 5.

又、メモリーモジュール2内の各メモリーチップ4は、構成設定レジスタ6を含む。メモリー制御装置1は、各メモリーチップ4の動作の設定を行うためのコマンドを発する(詳細は後述)。構成設定レジスタ6は、メモリー制御装置1が発した各メモリーチップ4の動作の設定を行うためのコマンドを記憶する。各メモリーチップ4は、構成設定レジスタ6に記憶された設定に基づき動作する。これにより、メモリーチップ4を様々な関数、機能、モードにあわせてプログラミングすることが可能となり、各メモリーチップ4をアプリケーションなどにあわせて動作させることができる。   Each memory chip 4 in the memory module 2 includes a configuration setting register 6. The memory control device 1 issues a command for setting the operation of each memory chip 4 (details will be described later). The configuration setting register 6 stores a command for setting the operation of each memory chip 4 issued by the memory control device 1. Each memory chip 4 operates based on the setting stored in the configuration setting register 6. As a result, the memory chip 4 can be programmed according to various functions, functions, and modes, and each memory chip 4 can be operated according to an application.

(メモリー制御装置1の構成)
次に、図3を用いて、実施形態に係るメモリー制御装置1の内部構成を説明する。図3は、メモリー制御装置1の内部構成の一例を示すブロック図である。
(Configuration of memory control device 1)
Next, the internal configuration of the memory control device 1 according to the embodiment will be described with reference to FIG. FIG. 3 is a block diagram illustrating an example of the internal configuration of the memory control device 1.

メモリー制御装置1は、デバイスマネージャー11、アービタ(調停部)12、リフレッシュ部13、ホストI/F14、OPBI/F15、キューイング部16(キューバッファ)、コマンド発行部17(コマンドディスパッチャー)、コマンド生成部18、ストローブ生成部19、及びクロック生成部191を備える。   The memory control device 1 includes a device manager 11, an arbiter (arbitration unit) 12, a refresh unit 13, a host I / F 14, an OPBI / F 15, a queuing unit 16 (queue buffer), a command issuing unit 17 (command dispatcher), and a command generator. Unit 18, strobe generation unit 19, and clock generation unit 191.

デバイスマネージャー11は、メモリーモジュール2や各メモリーチップ4の管理に関する処理を行う。デバイスマネージャー11は、例えば、メモリーモジュール2のうち、いずれかのメモリーモジュール2を省電力モードに設定するパワーダウン要求コマンドをアービタ12に出力する。また、デバイスマネージャー11は、コマンド発行部17から状態遷移指令を受ける。又、デバイスマネージャー11は、各メモリーバンクの状態を遷移させるための種々の要求をコマンド発行部17に出力する。   The device manager 11 performs processing related to management of the memory module 2 and each memory chip 4. For example, the device manager 11 outputs a power down request command for setting any one of the memory modules 2 to the power saving mode to the arbiter 12. In addition, the device manager 11 receives a state transition command from the command issuing unit 17. In addition, the device manager 11 outputs various requests for changing the state of each memory bank to the command issuing unit 17.

アービタ12は、リフレッシュ部13からのリフレッシュ要求、ホストI/F14からのメモリーアクセス要求、OPBI/F15からのダイレクトコマンド要求を受け付ける。リフレッシュ部13は、リフレッシュ要求をアービタ12に送信する。ホストI/F14は、CPU10aからのメモリーアクセス要求を受け付けて、アービタ12に送信する。また、ホストI/F14は、ストローブ生成部19によりメモリーモジュール2から読み出されたデータをCPU10aやHDD10c等に出力する。また、ホストI/F14は、メモリーモジュール2に書き込み対象となるデータをCPU10aやROM10bやHDD10c等から受け付けて、ストローブ生成部19に送信する。   The arbiter 12 accepts a refresh request from the refresh unit 13, a memory access request from the host I / F 14, and a direct command request from the OPBI / F 15. The refresh unit 13 transmits a refresh request to the arbiter 12. The host I / F 14 receives a memory access request from the CPU 10 a and transmits it to the arbiter 12. In addition, the host I / F 14 outputs the data read from the memory module 2 by the strobe generation unit 19 to the CPU 10a, the HDD 10c, and the like. In addition, the host I / F 14 receives data to be written to the memory module 2 from the CPU 10 a, ROM 10 b, HDD 10 c, and the like, and transmits the data to the strobe generation unit 19.

OPBI/F15(On-chip Peripheral Bus I/F)は、CPU10a等からのダイレクトコマンド要求を受け付けアービタ12に送信する。又、OPBI/F15には、各メモリーチップ4でのアドレスミラーの有無を示す情報(アドレスミラー情報)を記憶、保持するアドレスミラー設定部151が設けられる(アドレスミラーの詳細は後述)。   An OPBI / F 15 (On-chip Peripheral Bus I / F) receives a direct command request from the CPU 10 a or the like and transmits it to the arbiter 12. The OPBI / F 15 is provided with an address mirror setting unit 151 for storing and holding information (address mirror information) indicating the presence / absence of an address mirror in each memory chip 4 (details of the address mirror will be described later).

アドレスミラー設定部151は、例えば、CPU10aやROM10bなどから、各ランク5や各メモリーチップ4のアドレスミラーの有無を示す情報を受け、メモリー制御装置1内の各部が参照できるように保持する。そして、例えば、キューイング部16やコマンド発行部17やコマンド生成部18はアドレスミラー設定部151に保持された各メモリーチップ4でのアドレスミラーの有無を示す情報を参照する。   The address mirror setting unit 151 receives information indicating the presence or absence of the address mirror of each rank 5 or each memory chip 4 from the CPU 10a or the ROM 10b, for example, and holds the information so that each unit in the memory control device 1 can refer to it. For example, the queuing unit 16, the command issuing unit 17, and the command generating unit 18 refer to information indicating the presence / absence of an address mirror in each memory chip 4 held in the address mirror setting unit 151.

そして、アービタ12は、これらの要求をトランザクションとして、キューイング部16に登録する。キューイング部16は、アービタ12からのトランザクションを記憶する。   The arbiter 12 registers these requests as transactions in the queuing unit 16. The queuing unit 16 stores the transaction from the arbiter 12.

コマンド発行部17は、デバイスマネージャー11から出力される種々の要求を受け付けて、これらの要求をディスパッチする。そして、コマンド発行部17は、ディスパッチした要求に応じたコマンド生成要求をコマンド生成部18に送信し(発行し)、コマンド生成部18に各ランク5や各メモリーチップ4に対するコマンドを生成させる。また、コマンド発行部17は、キューイング部16から出力されるROWコマンド要求、ROWアドレス指定要求、COLコマンド要求、及びCOLアドレス指定要求などを読み出す。コマンド発行部17は、これらの要求をコマンド生成部18に送信する。   The command issuing unit 17 accepts various requests output from the device manager 11 and dispatches these requests. Then, the command issuing unit 17 transmits (issues) a command generation request corresponding to the dispatched request to the command generation unit 18 and causes the command generation unit 18 to generate a command for each rank 5 and each memory chip 4. The command issuing unit 17 reads a ROW command request, a ROW address designation request, a COL command request, a COL address designation request, and the like output from the queuing unit 16. The command issuing unit 17 transmits these requests to the command generating unit 18.

コマンド生成部18は、コマンド発行部17から送信されるコマンド生成要求、ROWコマンド要求、ROWアドレス指定要求、COLコマンド要求、COLアドレス指定要求等を受け付ける。そして、コマンド生成部18は、メモリーモジュール2を制御する制御コマンド等を生成する。   The command generation unit 18 receives a command generation request, a ROW command request, a ROW address designation request, a COL command request, a COL address designation request, and the like transmitted from the command issuing unit 17. Then, the command generator 18 generates a control command or the like for controlling the memory module 2.

コマンド生成部18は、生成したコマンドをSDRAMI/F3に出力する。例えば、コマンド生成部18は、MCS(Memory Chip Select)_b、RAS(Row Address Strobe)_b、CAS(Column Address Strobe)_b、MWE(Memory Write Enable)_b、BA(Bank Address)、MA(Memory Address)、CKE(Clock Enable)の各々の信号をコマンドとしてSDRAMI/F3に送信する。又、コマンド生成部18は、生成したコマンドをストローブ生成部19に出力する。又、コマンド生成部18は、制御コマンドをSDRAMI/F3に出力すると同時にデータ転送トリガをストローブ生成部19に出力する。   The command generation unit 18 outputs the generated command to the SDRAM I / F 3. For example, the command generation unit 18 includes MCS (Memory Chip Select) _b, RAS (Row Address Strobe) _b, CAS (Column Address Strobe) _b, MWE (Memory Write Enable) _b, BA (Bank Address), MA (Memory Address). ) And CKE (Clock Enable) signals are transmitted as commands to the SDRAM I / F 3. The command generator 18 outputs the generated command to the strobe generator 19. The command generator 18 outputs a control command to the SDRAM I / F 3 and simultaneously outputs a data transfer trigger to the strobe generator 19.

ストローブ生成部19は、コマンド生成部18からのデータ転送トリガに従って、データの書き込み対象となるメモリーモジュール2(メモリーチップ4)にデータを書き込む。又、ストローブ生成部19は、データの読み込み対象となるメモリーモジュール2(メモリーチップ4)からデータを読み出す。また、ストローブ生成部19は、DQOUT(データ信号出力)、DQIN(データ信号入力)、DQSOUT(出力用データストローブ信号)、DQSIN(入力用データストローブ信号)、DM(Data Mask)等の信号をSDRAMI/F3との間で送受信する。   The strobe generation unit 19 writes data to the memory module 2 (memory chip 4) to which data is to be written in accordance with the data transfer trigger from the command generation unit 18. The strobe generation unit 19 reads data from the memory module 2 (memory chip 4) that is a data reading target. The strobe generation unit 19 outputs signals such as DQOUT (data signal output), DQIN (data signal input), DQSOUT (output data strobe signal), DQSIN (input data strobe signal), DM (Data Mask), and the like to SDRAMI. Send / receive to / from F3.

(アドレスミラー)
次に、図4に基づき、本実施形態に係る各メモリーチップ4でのアドレスミラーの有無を説明する。図4は、アドレスミラーを説明するための説明図である。
(Address mirror)
Next, based on FIG. 4, the presence / absence of an address mirror in each memory chip 4 according to the present embodiment will be described. FIG. 4 is an explanatory diagram for explaining the address mirror.

DDR3−SDRAMでは、チップのトレース長(線路長)の整合を取り、メモリーモジュール2上での信号の品質を高めるため、メモリーの信号線(アドレス)を入れ替えて接続することができる。DDR3の規格では、入れ替えの対象となる信号線は、図4に示すようにピン名がA3〜A8とBA0とBA1の信号線である。   In the DDR3-SDRAM, in order to match the chip trace length (line length) and improve the signal quality on the memory module 2, the memory signal lines (addresses) can be switched and connected. In the DDR3 standard, signal lines to be exchanged are signal lines having pin names A3 to A8, BA0, and BA1, as shown in FIG.

具体的に、図4でのランク0は、配線の入れ替えがなくアドレスミラーがない時のメモリーチップ4に対するピンの接続の関係を示す。言い換えると、図4でのランク0は、通常の配線である。一方、図4でのランク1は、配線を入れ替え、アドレスミラーが有る時のメモリーチップ4に対するピンの接続の関係を示す。例えば、A3の信号線はメモリーチップ4でのA4の信号線に接続され、A4の信号線は、メモリーチップ4でのA3の信号線に接続される。このように、例えば、DDR3のメモリーチップ4では、信号線の入れ替えるアドレスミラーを行うことができる。   Specifically, rank 0 in FIG. 4 indicates a pin connection relationship with the memory chip 4 when there is no exchange of wiring and no address mirror. In other words, rank 0 in FIG. 4 is a normal wiring. On the other hand, rank 1 in FIG. 4 indicates the relationship of pin connection to the memory chip 4 when the wiring is replaced and the address mirror is provided. For example, the A3 signal line is connected to the A4 signal line in the memory chip 4, and the A4 signal line is connected to the A3 signal line in the memory chip 4. Thus, for example, in the memory chip 4 of the DDR3, an address mirror for exchanging signal lines can be performed.

(メモリーチップ4の動作設定コマンド)
次に、図5を用いて、本実施形態の各メモリーチップ4の動作設定コマンドの一例を説明する。図5は、各メモリーチップ4の動作設定コマンドの一例を示す説明図である。
(Operation setting command for memory chip 4)
Next, an example of the operation setting command of each memory chip 4 according to the present embodiment will be described with reference to FIG. FIG. 5 is an explanatory diagram showing an example of the operation setting command of each memory chip 4.

DDR3−SDRAMでは、データのreadやwriteの他、メモリーチップ4のモードやパラメータ設定のためのコマンドが用意される。このコマンドによりメモリーチップ4(SDRAMチップ)の振る舞いを定義することができる。このコマンドは、MRSコマンド(設定コマンドに相当)と呼ばれる。   In the DDR3-SDRAM, in addition to data read and write, commands for setting the mode and parameters of the memory chip 4 are prepared. With this command, the behavior of the memory chip 4 (SDRAM chip) can be defined. This command is called an MRS command (corresponding to a setting command).

DDR3−SDRAMでは、モードレジスタセットがMR0〜MR3の4種類用意される。例えば、主電源投入時の各メモリーチップ4の初期化をするときや、メモリーチップ4の動作の設定を変更するとき、MRSコマンドが生成され、MRSコマンドの対象となるメモリーチップ4に与えられる。例えば、MRSコマンドは、メモリーモジュール2でのランク5単位で与えられる。そして、MRSコマンドは、各メモリーチップ4内の構成設定レジスタ6に記憶され、各メモリーチップ4は、MRSコマンドの指示(内容)に従い動作する。   In the DDR3-SDRAM, four types of mode register sets MR0 to MR3 are prepared. For example, when initializing each memory chip 4 when the main power is turned on or changing the operation setting of the memory chip 4, an MRS command is generated and applied to the memory chip 4 that is the target of the MRS command. For example, the MRS command is given in units of rank 5 in the memory module 2. The MRS command is stored in the configuration setting register 6 in each memory chip 4, and each memory chip 4 operates according to the instruction (contents) of the MRS command.

CPU10aの指示を受ける等により、キューイング部16は、MRSコマンドの対象となるランク5やメモリーチップ4やMRSコマンドのトランザクションを登録する。メモリー制御装置1内のコマンド発行部17は、キューイング部16からMRSコマンドの対象となるランク5やメモリーチップ4を示す情報(対象情報)を受けるとともに、設定コマンド発行要求を受ける。そして、コマンド発行部17は、設定コマンドの対象となるランク5に対し、MRSコマンドの生成要求を発行する。このMRSコマンド発行の指示を受けたコマンド生成部18は、設定コマンドの対象となるランク5に対するMRSコマンドを生成する。そして、コマンド生成部18は、MRSコマンドの対象とされたランク5(メモリーチップ4)にMRSコマンドを送信する。   Upon receiving an instruction from the CPU 10a, the queuing unit 16 registers the transaction of rank 5, the memory chip 4, and the MRS command that are targets of the MRS command. The command issuing unit 17 in the memory control device 1 receives information (target information) indicating the rank 5 and the memory chip 4 that are targets of the MRS command from the queuing unit 16 and also receives a setting command issue request. Then, the command issuing unit 17 issues an MRS command generation request to rank 5 that is the target of the setting command. Upon receiving this MRS command issuance instruction, the command generator 18 generates an MRS command for rank 5 that is the target of the setting command. Then, the command generation unit 18 transmits the MRS command to rank 5 (memory chip 4) that is the target of the MRS command.

そこで、図5を用いて、4種類用意されるモードレジスタセットのうち、MR0のMRSコマンドを例に挙げて、各ランク5(メモリーチップ4)の動作設定の一例を説明する。   Therefore, an example of operation setting for each rank 5 (memory chip 4) will be described with reference to FIG. 5 by taking the MRS command of MR0 out of the four types of mode register sets prepared.

図5に示すように、MRSコマンドでは、コマンド生成部18に接続されるA0〜A15と、BA0〜BA2の信号線が用いられる。MR0のMRSコマンドでは、図5に示すA0、A1の信号線を用いてバースト長(BL)を設定することができる(バースト長を8や4などに設定できる)。又、A3の信号線を用いてバーストタイプ(BT)を設定することができる。又、A2、A4〜A6の信号線を用いてCASレイテンシ(リードコマンドが有効になってから実際にデータが出力されるまでの遅延サイクル数、CL)を設定することができる。又、A7の信号線を用いてテストモード(生産者用のテスト用のモード、TM)を設定することができる。又、A8の信号線を用いてDLLリセット(メモリーチップ4内部のDLL回路のリセット、DLL)を設定することができる。又、A9〜A11の信号線を用いてライトリカバリ(WR)を設定することができる。又、A12の信号線を用いてプリチャージパワーダウン(PPD)を設定することができる。尚、BA0〜BA2の信号線は、どのモードレジスタセットのMRSコマンドであるかを示すために用いられる。   As shown in FIG. 5, in the MRS command, signal lines A0 to A15 and BA0 to BA2 connected to the command generation unit 18 are used. With the MR0 MRS command, the burst length (BL) can be set using the signal lines A0 and A1 shown in FIG. 5 (the burst length can be set to 8 or 4). The burst type (BT) can be set using the A3 signal line. Further, CAS latency (the number of delay cycles from when the read command becomes valid until data is actually output, CL) can be set using the signal lines A2, A4 to A6. Further, a test mode (a test mode for producers, TM) can be set using the A7 signal line. Further, the DLL reset (reset of the DLL circuit in the memory chip 4, DLL) can be set using the A8 signal line. Also, write recovery (WR) can be set using the signal lines A9 to A11. Also, precharge power down (PPD) can be set using the A12 signal line. The signal lines BA0 to BA2 are used to indicate which mode register set the MRS command is.

その他、MR1〜MR3のMRSコマンドでは、メモリーチップ4の出力インピーダンスやライトレイテンシや終端抵抗値など、各種の設定を行える(より詳しくは、上述のJEDECの規格書JEDEC Standard JESD79-3D等参照)。   In addition, with the MRS commands MR1 to MR3, various settings such as the output impedance, write latency, and termination resistance value of the memory chip 4 can be made (for details, refer to the above-mentioned JEDEC standard JEDEC Standard JESD79-3D).

ここで、各ランク5に含まれるメモリーチップ4の動作(振る舞い)を設定するために用いられる信号線(アドレス)のA0〜A15と、BA0〜BA2のうち、A3〜A8とBA0とBA1の信号線は、アドレスミラーによって配線の入れ替えがなされることがある。通常のreadとwriteでは、配線の入れ替え(入れ違い)があっても、アドレスは1対1で対応しているので、配線の入れ替えを意識する必要はない。   Here, among signals A0 to A15 and BA0 to BA2 of signal lines (addresses) used for setting the operation (behavior) of the memory chip 4 included in each rank 5, signals A3 to A8, BA0 and BA1. Lines may be replaced by address mirrors. In normal read and write, even if the wiring is switched (incorrect), the addresses correspond one-to-one, so there is no need to be aware of the switching of the wiring.

しかし、MRSコマンドのようなコマンドは、アドレスそのものに特別な意味を持たせるコマンドである。例えば、アドレスミラーの有るメモリーチップ4とアドレスミラーの無いメモリーチップ4の動作を同様に設定するとき(同じMRSコマンドを与えるとき)、アドレスミラーの無いメモリーチップ4へのMRSコマンドをそのままアドレスミラーの有るメモリーチップ4に与えれば、配線の入れ替えによって、アドレスミラーの無いメモリーチップ4とアドレスミラーの有るメモリーチップ4では、全く設定内容が異なってしまう。   However, commands such as the MRS command are commands that give special meaning to the address itself. For example, when the operation of the memory chip 4 with the address mirror and the operation of the memory chip 4 without the address mirror are set in the same manner (when the same MRS command is given), the MRS command to the memory chip 4 without the address mirror is used as it is in the address mirror. If it is given to a certain memory chip 4, the setting contents are completely different between the memory chip 4 without an address mirror and the memory chip 4 with an address mirror by changing the wiring.

そのため、アドレスミラーの有るメモリーチップ4に対してMRSコマンドを与えるとき配線の入れ替えを考慮してMRSコマンドを生成しなくてはならない。   Therefore, when the MRS command is given to the memory chip 4 having the address mirror, the MRS command must be generated in consideration of the replacement of the wiring.

(自動的なコマンドの分割発行)
次に、図3、図6〜図8を用いて、本実施形態のメモリー制御装置1での自動的なコマンドの分割発行の一例を説明する。図6は、アドレスミラーの有無が混在していないときのコマンド発行の一例を示すタイミングチャートである。図7は、アドレスミラーの有無が混在しているときの従来のコマンド発行の一例を示すタイミングチャートである。図8は、アドレスミラーの有無が混在しているときの本実施形態のメモリー制御装置1でのコマンド発行の一例を示すタイミングチャートである。
(Automatic command split issue)
Next, an example of automatic command division issue in the memory control device 1 of the present embodiment will be described with reference to FIGS. 3 and 6 to 8. FIG. 6 is a timing chart showing an example of command issuance when the presence or absence of address mirrors is not mixed. FIG. 7 is a timing chart showing an example of conventional command issuance when the presence or absence of address mirrors is mixed. FIG. 8 is a timing chart showing an example of command issuance in the memory control device 1 of the present embodiment when the presence or absence of address mirrors is mixed.

まず、図6〜図8において、「tfRComand」は、キューイング部16がコマンド発行部17に送信するコマンド発行要求を示す。本例では、このコマンド発行要求はMRSコマンドに相当し、このコマンド発行要求に基づき、MRSコマンドが生成される。図6〜図8での「800」がMRSコマンド(の内容)を意味する。「tfRDevice」は、コマンド発行の対象となるランク5(メモリーチップ4)のリストを示す。尚、本説明では、「tfRDevice」の各ビットがメモリーモジュール2でのランク5に対応する。   First, in FIG. 6 to FIG. 8, “tfRCommand” indicates a command issue request transmitted from the queuing unit 16 to the command issuing unit 17. In this example, this command issue request corresponds to an MRS command, and an MRS command is generated based on this command issue request. “800” in FIGS. 6 to 8 means the MRS command (contents). “TfRDDevice” indicates a list of rank 5 (memory chip 4) that is a target of command issuance. In this description, each bit of “tfRDDevice” corresponds to rank 5 in the memory module 2.

ここで、ランク5とは、メモリーモジュール2のSDRAMからデータを入出力する単位である。図2を用いて説明したように、本実施形態のメモリーモジュール2は、複数のランク5を有する。メモリーモジュール2が物理的には1つのメモリスロットしか占有しないとしても、複数のランク5を有する場合、メモリー制御装置1は、ランク5数分のメモリーモジュール2を搭載した状態と扱う。又、「tfRBank」は、キューイング部16がコマンド発行部17に出力するデコード信号であり、最終的に再エンコードされてメモリーモジュール2に供給される。   Here, rank 5 is a unit for inputting and outputting data from the SDRAM of the memory module 2. As described with reference to FIG. 2, the memory module 2 of the present embodiment has a plurality of ranks 5. Even if the memory module 2 physically occupies only one memory slot, if it has a plurality of ranks 5, the memory control device 1 treats the memory modules 2 as many as five ranks. “TfRBunk” is a decode signal output from the queuing unit 16 to the command issuing unit 17 and is finally re-encoded and supplied to the memory module 2.

又、図6〜図8において、「cdComand」は、コマンド発行部17がコマンド生成部18に送信するコマンド生成要求を示す。本例では、このコマンド生成要求がMRSコマンドに相当し、このコマンド生成要求に基づき、MRSコマンドが生成される。具体的に図6〜図8での「800」がMRSコマンド(の内容)を意味する。「cdDevice」は、コマンド発行部17がコマンド生成部18に与える信号であって、コマンドの対象となるランク5(メモリーチップ4)のリストを示す。尚、本説明では、「cdDevice」も「tfRDevice」と同様に、各ビットがメモリーモジュール2でのランク5に対応する。又、「cdBank」は、コマンド発行部17がコマンド生成部18に与える信号であって、「tfRBank」と同様に、コマンド発行部17がコマンド生成部18に与えるデコード信号であり、最終的に再エンコードされてメモリーモジュール2に供給される。   6 to 8, “cdCommand” indicates a command generation request transmitted from the command issuing unit 17 to the command generating unit 18. In this example, this command generation request corresponds to an MRS command, and an MRS command is generated based on this command generation request. Specifically, “800” in FIGS. 6 to 8 means an MRS command (contents). “CdDevice” is a signal that the command issuing unit 17 gives to the command generating unit 18 and indicates a list of rank 5 (memory chip 4) that is a target of the command. In this description, “cdDevice” also corresponds to rank 5 in the memory module 2 in the same manner as “tfRDDevice”. Further, “cdBank” is a signal that the command issuing unit 17 gives to the command generating unit 18 and, like “tfRBunk”, is a decode signal that the command issuing unit 17 gives to the command generating unit 18 and is finally reproduced. It is encoded and supplied to the memory module 2.

[各ランク5でアドレスミラーの有無が混在していないとき]
まず、図6を用いて、ランク5に含まれる各メモリーチップ4で、アドレスミラーの有無が混在していないときのMRSコマンドの発行を説明する。尚、以下の説明では、ランク5に含まれる各メモリーチップ4に同様のMRSコマンドを発行する例を説明する。又、例えば、各ランク5でアドレスミラーの有無が混在していないとき、各ランク5は全てアドレスミラーの無いランク5(メモリーチップ4)のみとなる。
[When there are no mixed address mirrors in each rank 5]
First, with reference to FIG. 6, the issue of the MRS command when the presence or absence of address mirrors is not mixed in each memory chip 4 included in rank 5 will be described. In the following description, an example in which a similar MRS command is issued to each memory chip 4 included in rank 5 will be described. Further, for example, when the presence or absence of address mirrors is not mixed in each rank 5, each rank 5 is only rank 5 (memory chip 4) having no address mirror.

例えば、CPU10a等の指示に基づき、キューイング部16がMRSコマンドをキューイングする。そして、キューイング部16は、コマンド発行部17に向けてMRSコマンドのコマンド発行要求を行う(例えば、図6でのtfRComandの「800」。図6でのT1の時点)。又、キューイング部16は、MRSコマンドのコマンド発行要求にあわせて、MRSコマンドの対象とするランク5を示す情報としてtfRDevice(図6での「f」、対象情報)や、tfRBank(図6での「4」)を送信する(図6でのT1の時点)。   For example, the queuing unit 16 queues the MRS command based on an instruction from the CPU 10a or the like. Then, the queuing unit 16 issues a command issuance request for the MRS command to the command issuing unit 17 (for example, “800” of tfRCommand in FIG. 6; time point T1 in FIG. 6). In addition, the queuing unit 16 responds to a command issuance request of the MRS command with tfRDDevice (“f” in FIG. 6, target information) or tfRBunk (in FIG. 6) as information indicating the rank 5 targeted by the MRS command. "4") is transmitted (at time T1 in FIG. 6).

ランク5に含まれる各メモリーチップ4でアドレスミラーの有無が混在していなければ、配線の入れ替えを考慮しなくて良い。そのため、キューイング部16からのコマンド発行要求を受け、コマンド発行部17は、コマンド生成部18に向けてMRSコマンドのコマンド生成要求を発行する(例えば、図6でのcdComandの「800」。図6でのT2からT3の区間)。又、コマンド発行部17は、MRSコマンドのコマンド生成要求にあわせて、MRSコマンドの対象とするランク5を示す情報としてcdDevice(図6での「f」、対象情報)やcdBank(図6での「4」をコマンド生成部18に送信する(図6でのT2からT3の区間)。このように、アドレスミラーの有無が混在していなければ、キューイング部16やコマンド発行部17は、MRSコマンドに関する要求を、全てのランク5(全てのメモリーチップ4)について1回発行すれば済む。   If the presence or absence of the address mirror is not mixed in each memory chip 4 included in the rank 5, it is not necessary to consider the replacement of the wiring. Therefore, in response to a command issue request from the queuing unit 16, the command issue unit 17 issues a command generation request for the MRS command to the command generation unit 18 (for example, “800” of cdCommand in FIG. 6). 6 from T2 to T3). Also, the command issuing unit 17 sends cdDevice (“f” in FIG. 6, target information) or cdBank (in FIG. 6) as information indicating the rank 5 that is the target of the MRS command in accordance with the command generation request of the MRS command. “4” is transmitted to the command generation unit 18 (section from T2 to T3 in FIG. 6) As described above, if the presence or absence of the address mirror is not mixed, the queuing unit 16 and the command issuing unit 17 It is sufficient to issue a command request once for all ranks 5 (all memory chips 4).

そして、コマンド発行部17から発せられたMRSコマンドに応じ、コマンド生成部18は、メモリーモジュール2に与えるためコマンド(信号)を生成する。そして、コマンド生成部18は、生成したコマンド(信号)をSDRAMI/F3(メモリーモジュール2)に向けて送信する(与える)。その結果、メモリーモジュール2は、図6の時点T0以降、順次、MRSコマンドを受信する。   Then, in response to the MRS command issued from the command issuing unit 17, the command generating unit 18 generates a command (signal) to be given to the memory module 2. Then, the command generation unit 18 transmits (gives) the generated command (signal) to the SDRAM I / F 3 (memory module 2). As a result, the memory module 2 sequentially receives MRS commands after time T0 in FIG.

[各ランク5でアドレスミラーの有無が混在しているとき(従来の参考例)]
次に、図7を用いて、ランク5に含まれる各メモリーチップ4で、アドレスミラーの有無が混在しているときの従来のMRSコマンドの発行を説明する。尚、以下の説明では、ランク5に含まれる各メモリーチップ4に同様のMRSコマンドを発行する例を説明する。
[When the presence or absence of address mirror is mixed in each rank 5 (conventional reference example)]
Next, with reference to FIG. 7, the conventional issuance of MRS commands when the presence / absence of address mirrors is mixed in each memory chip 4 included in rank 5 will be described. In the following description, an example in which a similar MRS command is issued to each memory chip 4 included in rank 5 will be described.

まず、CPU10a等の指示に基づき、キューイング部16がMRSコマンドをキューイングする。そして、キューイング部16は、コマンド発行部17に向けてMRSコマンドのコマンド発行要求を行う(例えば、図7でのtfRComandの「800」。図7でのT3の時点)。又、キューイング部16は、MRSコマンドの発行要求にあわせて、MRSコマンドの対象とするランク5を示す情報としてtfRDevice(図7での「f」)や、tfRBank(図7での「4」)を送信する(図7でのT4の時点)。   First, the queuing unit 16 queues an MRS command based on an instruction from the CPU 10a or the like. Then, the queuing unit 16 issues a command issuance request for the MRS command to the command issuance unit 17 (for example, “800” of tfRCommand in FIG. 7; time point T3 in FIG. 7). Further, the queuing unit 16 sends tfRDDevice (“f” in FIG. 7) and tfRBunk (“4” in FIG. 7) as information indicating the rank 5 that is the target of the MRS command in response to the MRS command issuance request. ) Is transmitted (at time T4 in FIG. 7).

ランク5に含まれる各メモリーチップ4でアドレスミラーの有無が混在していれば、メモリーチップ4の動作の設定を確実に行うには、配線の入れ替えを考慮しなくてはならない。そこで、従来では、MRSコマンドに関し要求を発するとき、コマンド発行部17やキューイング部16は、アドレスミラー設定部151の内容(アドレスミラー情報)を確認し、MRSコマンドが対象とするランク5でアドレスミラーの有無が混在するか否かを確認する処理を行う。混在するとき、コマンド発行部17やキューイング部16は、アドレスミラーの無いランク5(メモリーチップ4)とアドレスミラーの有るランク5(メモリーチップ4)を区別する処理を行う。   If the presence or absence of an address mirror is mixed in each memory chip 4 included in the rank 5, in order to reliably set the operation of the memory chip 4, it is necessary to consider the replacement of wiring. Therefore, conventionally, when issuing a request regarding the MRS command, the command issuing unit 17 and the queuing unit 16 confirm the contents of the address mirror setting unit 151 (address mirror information), and the rank 5 targeted by the MRS command is the address. A process is performed to check whether or not there is a mirror. When they are mixed, the command issuing unit 17 and the queuing unit 16 perform processing for distinguishing between rank 5 (memory chip 4) without an address mirror and rank 5 (memory chip 4) with an address mirror.

そして、例えば、コマンド発行部17は、キューイング部16からのコマンド発行要求の対象となる複数のランク5(メモリーチップ4)のうち、アドレスミラーの無いランク5(メモリーチップ4)に対してのみ、あるいは、アドレスミラーの有るランク5(メモリーチップ4)に対してのみに、MRSコマンドのコマンド生成要求をコマンド生成部18に向けて発行する。   Then, for example, the command issuing unit 17 only applies to rank 5 (memory chip 4) having no address mirror among a plurality of ranks 5 (memory chips 4) that are subject to command issue requests from the queuing unit 16. Alternatively, an MRS command generation request is issued to the command generation unit 18 only for rank 5 (memory chip 4) having an address mirror.

例えば、コマンド発行部17は、コマンド生成部18に向けてMRSコマンドのコマンド生成要求を発行する(例えば、図7でのcdComandの「800」。図7でのT5からT6の区間)。又、コマンド発行部17は、MRSコマンドのコマンド生成要求にあわせて、MRSコマンドの対象とするランク5を示す情報としてcdDevice(図7での「d」、アドレスミラーの無い又は有るランクの何れか一方を示す)やcdBank(図7での「4」を)をコマンド発行部17に送信する(図7でのT5からT6の区間)。   For example, the command issuing unit 17 issues a command generation request for the MRS command to the command generating unit 18 (for example, “800” of cdCommand in FIG. 7; a section from T5 to T6 in FIG. 7). In addition, the command issuing unit 17 sets cdDevice (“d” in FIG. 7, which is either “d” in FIG. 7 or no rank in the address mirror) as information indicating the rank 5 targeted by the MRS command in accordance with the command generation request of the MRS command. One is shown) and cdBank ("4" in FIG. 7) is transmitted to the command issuing unit 17 (T5 to T6 in FIG. 7).

そして、例えば、コマンド発行部17は、キューイング部16にMRSコマンドのコマンド発行要求の対象としたランク5のうち、MRSコマンドの未発行のランク5向けのMRSコマンド発行要求を用意させる。言い換えると、コマンド発行部17は、MRSコマンドの未発行のランク5向けのMRSコマンドのトランザクションをキューイング部16に新たに登録させる。例えば、コマンド発行部17が、MRSコマンドの対象とするランク5のうち、先のコマンド生成要求でアドレスミラーの有るランク5を外したのであれば(MRSコマンドの未発行のランク5がアドレスミラーの有るランク5であれば)、キューイング部16は、アドレスミラーによる配線入れ替えを考慮し、先に発したMRSコマンド(アドレスミラーの無いランク5向けのMRSコマンド)のコマンド発行要求のアドレスを入れ替えたMRSコマンドのトランザクションを新たに用意する処理を行う。   Then, for example, the command issuing unit 17 causes the queuing unit 16 to prepare an MRS command issue request for rank 5 that has not been issued an MRS command among ranks 5 that are subject to the command issue request of the MRS command. In other words, the command issuing unit 17 causes the queuing unit 16 to newly register a transaction of an MRS command for rank 5 for which no MRS command has been issued. For example, if the command issuing unit 17 removes rank 5 with an address mirror in the previous command generation request from ranks 5 that are subject to the MRS command (rank 5 with no MRS command issued is an address mirror). If there is a rank 5), the queuing unit 16 replaces the address of the command issuance request of the previously issued MRS command (an MRS command for rank 5 without an address mirror) in consideration of the wiring replacement by the address mirror. Processing for newly preparing a transaction of the MRS command is performed.

これらの処理が完了した後、キューイング部16は、コマンド発行部17に向けて、MRSコマンドの未発行のランク5に対するコマンド発行要求を行う。具体的に、キューイング部16は、コマンド発行部17に向けてMRSコマンドのアドレスの入れ替えを考慮した新たなMRSコマンドのコマンド発行要求を行う(例えば、図7でのtfRComandの「800’」。「800’」は、コマンドミラーによる信号線の入れ替えを考慮した(アドレス変換後)のMRSコマンド。図7でのT7の時点)。又、キューイング部16は、MRSコマンドの発行要求にあわせ、MRSコマンドの対象とする未発行のランク5を示す情報としてtfRDevice(図7での「2」)やtfRBank(図7での「4」)を送信する(図7でのT7の時点)。   After these processes are completed, the queuing unit 16 makes a command issuance request to the command issuing unit 17 for rank 5 where the MRS command has not been issued. Specifically, the queuing unit 16 issues a command issuance request for a new MRS command in consideration of the replacement of the address of the MRS command to the command issuing unit 17 (for example, “800 ′” of tfRCommand in FIG. 7). “800 ′” is an MRS command (after address conversion) in consideration of replacement of a signal line by a command mirror (at time T7 in FIG. 7). Further, the queuing unit 16 responds to an MRS command issue request by using tfRDDevice (“2” in FIG. 7) or tfRBunk (“4” in FIG. 7) as information indicating the unissued rank 5 that is the target of the MRS command. ]) Is transmitted (at time T7 in FIG. 7).

そして、このコマンド発行要求を受け、例えば、コマンド発行部17は、MRSコマンドのコマンド生成要求をコマンド生成部18に発行する(図7でのcdComandの「800’」。図7でのT8からT9の区間)。又、コマンド発行部17は、MRSコマンドにあわせて、未発行のランク5を示す情報としてcdDevice(図7での「2」)やcdBank(図7での「4」をコマンド生成部18に送信する(図7でのT8からT9の区間)。   Upon receiving this command issuance request, for example, the command issuance unit 17 issues a command generation request for the MRS command to the command generation unit 18 (cd command “800 ′” in FIG. 7; T8 to T9 in FIG. 7). ). Further, the command issuing unit 17 transmits cdDevice (“2” in FIG. 7) and cdBank (“4” in FIG. 7) to the command generating unit 18 as information indicating the unissued rank 5 in accordance with the MRS command. (Interval from T8 to T9 in FIG. 7).

このように、メモリーモジュール2に含まれるランク5のうち、アドレスミラーの無いランク5とアドレスミラーの有るランク5が混在しているとき、キューイング部16やコマンド発行部17は、アドレスミラーの有無の確認や、アドレスを入れ替えた新たなMRSコマンドの要求の生成など、ソフトウェア的に特別な処理を行い、アドレスミラーの無いランク5に対するMRSコマンドの要求の発行と、アドレスミラーの有るランク5に対するMRSコマンドの要求の発行を行っていた。言い換えると、キューイング部16やコマンド発行部17の動作は、アドレスミラーの無いときのMRSコマンド波形を2回繰り返すような動作となる。   As described above, when rank 5 having no address mirror and rank 5 having an address mirror are mixed among ranks 5 included in the memory module 2, the queuing unit 16 and the command issuing unit 17 determine whether there is an address mirror. The software performs special processing such as confirmation of the MRS command and generation of a request for a new MRS command in which the address is exchanged, issuance of an MRS command request for rank 5 without an address mirror, and MRS for rank 5 with an address mirror. A command request was issued. In other words, the operations of the queuing unit 16 and the command issuing unit 17 are operations that repeat the MRS command waveform when there is no address mirror twice.

キューイング部16やコマンド発行部17がソフトウェア的に処理を行うため、アドレスミラーの無いランク5に対するコマンド発行を開始する時点(T5)とアドレスミラーの有るランク5に対するコマンド発行を開始する時点(T8)の間にどうしても一定の間隔を要する。従って、アドレスミラーの無いランク5とアドレスミラーの有るランク5に対し、従来、連続的にMRSコマンドに関する要求を発することができなかった。従って、コマンド生成部18でのMRSコマンドの生成も時間的に隔てられたものとなっていた。   Since the queuing unit 16 and the command issuing unit 17 perform processing in software, a time point of starting issuing a command for rank 5 without an address mirror (T5) and a time point of starting issuing commands for rank 5 having an address mirror (T8) ) Is required at certain intervals. Therefore, conventionally, it has not been possible to continuously issue requests for MRS commands to rank 5 without an address mirror and rank 5 with an address mirror. Therefore, the generation of the MRS command in the command generation unit 18 is also separated in time.

[各ランク5でアドレスミラーの有無が混在しているとき(本実施形態)]
次に、図8を用いて、本発明でのメモリーモジュール2に含まれる複数のランク5でアドレスミラーの有無が混在しているときのMRSコマンドの発行を説明する。尚、以下の説明では、メモリーモジュール2内の各ランク5に同様のMRSコマンドを発行する例を説明する。
[When the presence or absence of address mirrors is mixed in each rank 5 (this embodiment)]
Next, issuance of an MRS command when the presence or absence of an address mirror is mixed in a plurality of ranks 5 included in the memory module 2 according to the present invention will be described with reference to FIG. In the following description, an example in which a similar MRS command is issued to each rank 5 in the memory module 2 will be described.

まず、本発明では、コマンド生成部18はアドレスミラーの無いランク5に対するMRSコマンドのアドレスをアドレスミラーの有るランク5に対するMRSコマンドのアドレスに変換するアドレス変換部181を含む。尚、アドレス変換部181は、あるいは、アドレスミラーの有るランク5に対するMRSコマンドのアドレスをアドレスミラーの無いランク5に対するMRSコマンドのアドレスに変換できてもよい。   First, in the present invention, the command generation unit 18 includes an address conversion unit 181 that converts the address of the MRS command for rank 5 having no address mirror into the address of the MRS command for rank 5 having an address mirror. The address conversion unit 181 may alternatively convert the address of the MRS command for rank 5 having an address mirror into the address of the MRS command for rank 5 having no address mirror.

このアドレス変換部181によるMRSコマンドのアドレスの自動的な変換処理により、メモリーモジュール2に含まれる複数のランク5でアドレスミラーの有無が混在していても、アドレスミラーでの配線の入れ違いを考慮して、キューイング部16やコマンド生成部18がMRSコマンドのアドレスミラーの有るランク5のためにアドレスを変換するソフトウェア処理を行ったり、アドレスミラーの有るランク5のために別途コマンドトランザクションを作成する処理を行わなくて済む。   By the automatic conversion processing of the address of the MRS command by the address conversion unit 181, even if the presence / absence of address mirrors is mixed in a plurality of ranks 5 included in the memory module 2, consideration is given to incorrect wiring in the address mirrors. Then, the queuing unit 16 and the command generation unit 18 perform software processing for converting the address for rank 5 having the address mirror of the MRS command, or processing for creating a separate command transaction for rank 5 having the address mirror. You don't have to.

そのため、本発明では、まず、CPU10a等の指示に基づき、キューイング部16がMRSコマンドをキューイングする。そして、例えば、キューイング部16は、MRSコマンドのコマンド発行要求をコマンド発行部17に行う(例えば、図8でのtfRComandの「800」。図8でのT10の時点)。又、キューイング部16は、アドレスミラー設定部151内のアドレスミラー情報を確認し、MRSコマンドの発行要求にあわせて、MRSコマンドの対象とするランク5を示す情報として本発明では2種類のtfRDevice信号を連続的にコマンド発行部17に送信する。この2種類のMRSコマンドの対象とするランク5を示す情報は、第1ランク情報と第2ランク情報に相当し、図8での「f」をT10の時点で発し、「2」をT11の時点で発する(尚、従来では2種類のtfRDevice信号を時間的に隔てて送信)。   Therefore, in the present invention, first, the queuing unit 16 queues the MRS command based on an instruction from the CPU 10a or the like. For example, the queuing unit 16 issues a command issuance request for the MRS command to the command issuing unit 17 (for example, “800” of tfRCommand in FIG. 8; time point T10 in FIG. 8). Further, the queuing unit 16 confirms the address mirror information in the address mirror setting unit 151, and in accordance with the MRS command issuance request, the queuing unit 16 has two types of tfRDDevice as information indicating the rank 5 targeted by the MRS command. The signal is continuously transmitted to the command issuing unit 17. The information indicating the rank 5 that is the target of these two types of MRS commands corresponds to the first rank information and the second rank information, and “f” in FIG. 8 is issued at time T10, and “2” is displayed at T11. It is emitted at the time (in the past, two types of tfRDDevice signals are transmitted at a time interval).

アドレス変換などのソフトウェア的な処理が不要なので、キューイング部16は、アドレスミラーの無いランク5とアドレスミラーの有るランク5のMRSコマンドの発行要求を自動的に分割し、この2種類のtfRDevice信号(第1ランク情報と第2ランク情報)を連続的に発することができる。又、キューイング部16は、tfRBank(図8での「4」)を送信する(図8でのT10の時点)。   Since software processing such as address translation is unnecessary, the queuing unit 16 automatically divides the MRS command issuance request of rank 5 without address mirror and rank 5 with address mirror, and these two types of tfRDDevice signals. (First rank information and second rank information) can be issued continuously. In addition, the queuing unit 16 transmits tfRBunk (“4” in FIG. 8) (at time T10 in FIG. 8).

そして、キューイング部16からのコマンド発行要求を受け、コマンド発行部17は、アドレスミラー設定部151を確認し、アドレスミラーの無いランク5に対するMRSコマンドのコマンド生成要求をコマンド生成部18に発行する(例えば、図8でのcdComandの「800」。T12〜T13の区間)。又、コマンド発行部17は、MRSコマンドのコマンド生成要求にあわせて、MRSコマンドの対象とするアドレスミラーの無いランク5を示す情報としてcdDevice(図8での「d」)やcdBank(図8での「4」)をコマンド生成部18に送信する(T12〜T13の区間)。   Upon receiving a command issuance request from the queuing unit 16, the command issuance unit 17 confirms the address mirror setting unit 151 and issues a command generation request for the MRS command for rank 5 having no address mirror to the command generation unit 18. (For example, “800” of cdCommand in FIG. 8. T12 to T13). Further, the command issuing unit 17 sends cdDevice (“d” in FIG. 8) or cdBank (in FIG. 8) as information indicating rank 5 without an address mirror that is the target of the MRS command in response to the command generation request of the MRS command. "4") is transmitted to the command generator 18 (T12 to T13).

そして、コマンド発行部17は、続けて、アドレスミラーの有るランク5に対するMRSコマンドのコマンド生成要求をコマンド生成部18に向けて発行する(図8でのcdComandの「800」。T14〜T15の区間)又、コマンド発行部17は、MRSコマンドの生成要求にあわせて、MRSコマンドの対象とするアドレスミラーの有るランク5を示す情報としてcdDevice(図8での「2」)やcdBank(図8での「4」)をコマンド生成部18に送信する(T14〜T15の区間)。   The command issuing unit 17 then issues a command generation request for the MRS command for rank 5 having an address mirror to the command generation unit 18 (cd command “800” in FIG. 8, period T14 to T15). In addition, in response to the MRS command generation request, the command issuing unit 17 uses cdDevice (“2” in FIG. 8) or cdBank (in FIG. 8) as information indicating the rank 5 having the address mirror targeted by the MRS command. "4") is transmitted to the command generator 18 (T14 to T15).

尚、T13〜T14の信号が発せられていない区間は、T11の時点でtfRDevice信号が切り替わりに応じて、cdComand、cdDevice、cdBankを発するまでの最小の待ち時間である。そのため、コマンド発行部17は、可能な限り最短の時間で、続けて、アドレスミラーの無いランク5とアドレスミラーの有るランク5に対してMRSコマンドのコマンド生成要求を発行している。   Note that the section in which the signals T13 to T14 are not issued is the minimum waiting time until cdCommand, cdDevice, and cdBank are issued in response to switching of the tfRDDevice signal at the time T11. Therefore, the command issuing unit 17 issues a command generation request for the MRS command to rank 5 with no address mirror and rank 5 with an address mirror in the shortest possible time.

ここで、キューイング部16やコマンド発生部が発生するMRSコマンドの要求での値は、アドレス変換部18がアドレス変換の処理を行うので、アドレスミラーの無いランク5とアドレスミラーの有るランク5のいずれの場合でも同様でよい。   Here, the values in the MRS command request generated by the queuing unit 16 and the command generation unit are address conversion processing performed by the address conversion unit 18, so that the rank 5 with no address mirror and the rank 5 with an address mirror are included. In either case, the same may be applied.

そして、コマンド発行部17から発せられたMRSコマンドの生成要求に応じ、コマンド生成部18は、メモリーモジュール2に与えるためのMRSコマンド(信号)を生成する。そして、コマンド生成部18は、生成したコマンド(信号)をSDRAMI/F3(メモリーモジュール2)に向けて送信する。その結果、メモリーモジュール2は、図8の時点T01以降、順次、MRSコマンドを受信する。   Then, in response to the MRS command generation request issued from the command issuing unit 17, the command generation unit 18 generates an MRS command (signal) to be given to the memory module 2. Then, the command generation unit 18 transmits the generated command (signal) to the SDRAM I / F 3 (memory module 2). As a result, the memory module 2 sequentially receives MRS commands after time T01 in FIG.

具体的に、コマンド生成部18は、アドレスミラー設定部151のアドレスミラー情報を確認し、アドレスミラーの無いランク5とアドレスミラーの有るランク5を確認する。そして、コマンド生成部18は、アドレスミラーの無いランク5に対するコマンド生成要求に応じて、アドレスミラーの無いランク5に対してはアドレスの変換を行わないMRSコマンド(通常通りのコマンド)を生成する。又、コマンド生成部18は、アドレスミラーの無いランク5(メモリーチップ4)に向けて生成したMRSコマンドをSDRAMI/F3に送信する。   Specifically, the command generation unit 18 confirms the address mirror information of the address mirror setting unit 151, and confirms rank 5 with no address mirror and rank 5 with an address mirror. In response to a command generation request for rank 5 without an address mirror, the command generation unit 18 generates an MRS command (ordinary command) that does not perform address conversion for rank 5 without an address mirror. The command generation unit 18 transmits the MRS command generated toward rank 5 (memory chip 4) without an address mirror to the SDRAM I / F 3.

一方、アドレス変換部181は、アドレスミラー設定部151のアドレスミラー情報を確認する。そして、MRSコマンドの生成要求が対象とするランク5がアドレスミラーの有るランク5であれば、アドレス変換部181は、アドレスミラーの無いランク5用のMRSコマンドをアドレス変換し、アドレスミラーの有るランク5向けのMRSコマンドを生成する。そして、コマンド生成部18は、アドレス変換部181が生成したアドレスミラーの有るランク5(メモリーチップ4)に向けて生成したMRSコマンドをSDRAMI/F3に送信する。これにより、意図する通りのMRSコマンドがアドレスミラーの有無を問わずスムーズに各ランク5(各メモリーチップ4)に対して与えられ、各ランク5の各メモリーチップ4の動作が設定される。   On the other hand, the address conversion unit 181 confirms the address mirror information of the address mirror setting unit 151. If rank 5 targeted by the MRS command generation request is rank 5 with an address mirror, the address conversion unit 181 converts the address of the MRS command for rank 5 without an address mirror, and rank with an address mirror. MRS command for 5 is generated. Then, the command generation unit 18 transmits the MRS command generated toward the rank 5 (memory chip 4) having the address mirror generated by the address conversion unit 181 to the SDRAM I / F 3. As a result, the intended MRS command is smoothly applied to each rank 5 (each memory chip 4) regardless of the presence or absence of the address mirror, and the operation of each memory chip 4 of each rank 5 is set.

このようにして、本実施形態に係るメモリー制御装置1は、動作を設定するための構成設定レジスタ6を含む複数のメモリーチップ4を実装するメモリーモジュール2に対するコマンドをキューイングするキューイング部16と、メモリーチップ4でのアドレスミラーの有無を示すアドレスミラー情報を保持するアドレスミラー設定部151と、キューイング部16からのコマンド発行要求とコマンドの対象となるメモリーチップ4を示す対象情報に応じてメモリーチップ4に対するコマンドを発行するコマンド発行部17と、コマンド発行部17が発行したコマンドに基づき、メモリーチップ4向けのコマンドを生成しメモリーチップ4にコマンドを与えるとともに、アドレスミラーにより配線の入れ替えの対象となる信号線を用いて設定構成レジスタを設定する設定コマンドをメモリーチップ4に対して与えるコマンド生成部18と、を含み、コマンド生成部18は、アドレスミラーの無いメモリーチップ4とアドレスミラーの有るメモリーチップ4に対し同様の設定コマンドを与えるとき、アドレスミラー情報と対象情報に基づき、アドレスミラーの無いメモリーチップ4に向けて生成した設定コマンドを与える処理を行い、アドレスミラーの有るメモリーチップ4に対しては、アドレスミラーにより入れ替えられた信号線に応じ、設定コマンド(例えば、アドレスミラーの無いメモリーチップ4用の設定コマンド)のアドレスを変換してアドレスミラーの有るメモリーチップ4用の設定コマンドを生成するアドレス変換部181を含む。   In this manner, the memory control device 1 according to the present embodiment includes the queuing unit 16 that queues commands for the memory module 2 that includes the plurality of memory chips 4 including the configuration setting register 6 for setting the operation. The address mirror setting unit 151 that holds address mirror information indicating the presence / absence of an address mirror in the memory chip 4 and the command issue request from the queuing unit 16 and the target information indicating the memory chip 4 to be commanded Based on the command issued by the command issuing unit 17 that issues a command to the memory chip 4 and the command issuing unit 17, the command for the memory chip 4 is generated and given to the memory chip 4, and the wiring is switched by the address mirror. Setting using the target signal line And a command generation unit 18 for giving a setting command for setting the configuration register to the memory chip 4. The command generation unit 18 performs the same setting for the memory chip 4 without the address mirror and the memory chip 4 with the address mirror. When giving a command, a process for giving a setting command generated for the memory chip 4 without the address mirror is performed based on the address mirror information and the target information, and the memory chip 4 with the address mirror is replaced by the address mirror. An address conversion unit 181 that converts an address of a setting command (for example, a setting command for a memory chip 4 without an address mirror) in accordance with the received signal line and generates a setting command for the memory chip 4 with an address mirror. .

これにより、ハードウェアとしてのアドレス変換部181がアドレスミラーの有るメモリーチップ4に対する設定コマンドのアドレスを自動的に変換する。言い換えると、コマンド発行部17は設定コマンドの対象となるメモリーチップ4を示す対象情報と設定コマンドの生成要求を発行すれば、コマンド生成部18は、アドレスミラーの有無に応じた設定コマンドを自動的に生成し、メモリーチップ4に与える。   As a result, the address conversion unit 181 as hardware automatically converts the address of the setting command for the memory chip 4 having the address mirror. In other words, if the command issuing unit 17 issues target information indicating the memory chip 4 that is the target of the setting command and a setting command generation request, the command generating unit 18 automatically issues a setting command according to the presence or absence of the address mirror. To the memory chip 4.

このように、コマンド発行部17やキューイング部がソフトウェアでアドレスミラーの有無を判断し、別々に(複数回に分けて)アドレスミラーの有無に応じて設定コマンドに関する要求を発したり、設定コマンドのアドレス変換などしたりせずに済み、アドレスミラーの有るメモリーチップ4とアドレスミラーの無いメモリーチップ4に関して連続的に設定コマンドを与えることができる。言い換えると、アドレス変換等のソフトウェア処理が不要となるので、アドレスミラーの有るメモリーチップ4とアドレスミラーの無いメモリーチップ4に対する設定コマンド発行を自動的に分割して処理することができる。従って、メモリーチップ4の初期化や動作設定の処理の簡素化を図ることができる。又、メモリーモジュール2でアドレスミラーの有るメモリーチップ4とアドレスミラーが無いメモリーチップ4が混在していても初期化等の制御フローを共通化することができる。   In this way, the command issuing unit 17 and the queuing unit determine the presence / absence of an address mirror by software, and issue a request for a setting command separately (divided into multiple times) according to the presence / absence of an address mirror, It is not necessary to perform address conversion or the like, and setting commands can be continuously given to the memory chip 4 with the address mirror and the memory chip 4 without the address mirror. In other words, since software processing such as address conversion is not required, it is possible to automatically divide and process setting command issuance for the memory chip 4 with an address mirror and the memory chip 4 without an address mirror. Therefore, the initialization of the memory chip 4 and the operation setting process can be simplified. Further, even if the memory chip 4 with the address mirror and the memory chip 4 without the address mirror are mixed in the memory module 2, the control flow such as initialization can be shared.

又、アドレスミラー設定部151はメモリーモジュール2でのランク5のアドレスミラーの有無を示すアドレスミラーランク情報を保持し、アドレスミラーの有るメモリーチップ4からなるランク5とアドレスミラーの無いメモリーチップ4からなるランク5を含むメモリーモジュール2の各ランク5に対して同様の設定コマンドを生成するとき、キューイング部16は、対象情報として設定コマンドの発行要求にあわせてアドレスミラーの無いランク5を示す第1ランク情報とアドレスミラーの有るランク5を示す第2ランク情報をコマンド発行部17に送信し、コマンド発行部17は、設定コマンドとともに、第1ランク情報と第2ランク情報をコマンド生成部18に向けて送信し、アドレス変換部181は、アドレスミラー設定部151が保持する情報と第1ランク情報と第2ランク情報に基づき、入れ替えられた信号線に応じ、アドレスミラーの無いランク5用の設定コマンドのアドレスを変換してアドレスミラーの有るメモリーチップ4用の設定コマンドを生成する。   The address mirror setting unit 151 holds address mirror rank information indicating the presence or absence of the rank 5 address mirror in the memory module 2, and the rank 5 including the memory chip 4 with the address mirror and the memory chip 4 without the address mirror. When a similar setting command is generated for each rank 5 of the memory module 2 including the rank 5, the queuing unit 16 indicates the rank 5 having no address mirror in accordance with the setting command issuance request as target information. The first rank information and the second rank information indicating the rank 5 with the address mirror are transmitted to the command issuing unit 17, and the command issuing unit 17 sends the first rank information and the second rank information to the command generating unit 18 together with the setting command. The address conversion unit 181 sends the address mirror setting unit 15 For the memory chip 4 having the address mirror, the address of the setting command for the rank 5 without the address mirror is converted according to the replaced signal line based on the information held by the first rank information and the second rank information. Generate configuration commands.

これにより、アドレスミラーの有無に応じて、各ランク5に対するコマンド発行が自動的に分割処理される。従って、メモリーモジュール2内でアドレスミラーの有るランク5とアドレスミラーの無いランク5が混在していても、ソフトウェアでアドレスミラーの有無を判断して別々に(複数回に分けて)、アドレスミラーの有無に応じて設定コマンドを発行しなくて済み、同一ランク5でのメモリーチップ4の初期化や動作設定の簡素化を図ることができる。   Thereby, the command issuance for each rank 5 is automatically divided according to the presence or absence of the address mirror. Therefore, even if rank 5 with an address mirror and rank 5 without an address mirror are mixed in the memory module 2, the presence / absence of the address mirror is determined by software separately (divided into multiple times). It is not necessary to issue a setting command according to the presence or absence, and initialization of the memory chip 4 in the same rank 5 and simplification of operation setting can be achieved.

又、キューイング部16は、設定コマンドの発行要求とともに、第1ランク情報と第2ランク情報を連続的にコマンド生成部18に向けて送信し、コマンド発行部17は、設定コマンドをコマンド生成部18に発するとともに、第1ランク情報に続けて第2ランク情報をコマンド生成部18に発する。   The queuing unit 16 continuously transmits the first rank information and the second rank information to the command generation unit 18 together with the setting command issue request, and the command issue unit 17 transmits the setting command to the command generation unit. 18 and the second rank information is issued to the command generator 18 following the first rank information.

これにより、複数のランク5に対して設定コマンドを発行するとき、アドレスミラーの無いランク5とアドレスミラーの有るランク5のそれぞれのランク5に対して、連続的に設定コマンドが発行される。その結果、アドレスミラーの有るランク5と無いランク5が混在していても、速やかに設定コマンドを発行し、コマンドを生成することができる。   As a result, when the setting command is issued to a plurality of ranks 5, the setting command is continuously issued to each of rank 5 having no address mirror and rank 5 having an address mirror. As a result, even if rank 5 with address mirror and rank 5 without address mirror are mixed, a setting command can be issued promptly and a command can be generated.

以上、本発明の実施形態について説明したが、本発明の範囲はこれに限定されるものではなく、発明の主旨を逸脱しない範囲で種々の変更を加えて実施することができる。   The embodiment of the present invention has been described above, but the scope of the present invention is not limited to this, and various modifications can be made without departing from the spirit of the invention.

本発明は、メモリー制御装置に適用可能である。   The present invention is applicable to a memory control device.

1 メモリー制御装置 151 アドレスミラー設定部
16 キューイング部 17 コマンド発行部
18 コマンド生成部 181 アドレス変換部
2 メモリーモジュール 4 メモリーチップ
5 ランク 6 構成設定レジスタ
DESCRIPTION OF SYMBOLS 1 Memory control apparatus 151 Address mirror setting part 16 Queuing part 17 Command issuing part 18 Command generation part 181 Address conversion part 2 Memory module 4 Memory chip 5 Rank 6 Configuration setting register

Claims (3)

動作を設定するための構成設定レジスタを含む複数のメモリーチップを実装するメモリーモジュールに対するコマンドをキューイングするキューイング部と、
メモリーチップでのアドレスミラーの有無を示すアドレスミラー情報を保持するアドレスミラー設定部と、
前記キューイング部からのコマンド発行要求とコマンドの対象となるメモリーチップを示す対象情報に応じてメモリーチップに対するコマンド生成要求を発行するコマンド発行部と、
前記コマンド発行部が発行したコマンド生成要求に基づき、メモリーチップ向けのコマンドを生成しメモリーチップにコマンドを与えるとともに、アドレスミラーにより配線の入れ替えの対象となる信号線を用いて前記設定構成レジスタを設定する設定コマンドをメモリーチップに対して与えるコマンド生成部と、を含み、
前記コマンド生成部は、アドレスミラーの無いメモリーチップとアドレスミラーの有るメモリーチップに対し同様の前記設定コマンドを与えるとき、前記アドレスミラー情報と前記対象情報に基づき、アドレスミラーの無いメモリーチップに向けて生成した前記設定コマンドを与える処理を行い、アドレスミラーの有るメモリーチップに対しては、アドレスミラーにより入れ替えられた信号線に応じ、前記設定コマンドのアドレスを変換してアドレスミラーの有るメモリーチップ用の前記設定コマンドを生成するアドレス変換部を含むことを特徴とするメモリー制御装置。
A queuing unit for queuing a command for a memory module including a plurality of memory chips including a configuration setting register for setting an operation;
An address mirror setting unit for holding address mirror information indicating the presence or absence of an address mirror in the memory chip;
A command issuing unit that issues a command generation request for the memory chip according to the command issuing request from the queuing unit and target information indicating the memory chip to be commanded;
Based on a command generation request issued by the command issuing unit, a command for a memory chip is generated and a command is given to the memory chip, and the setting configuration register is set by using a signal line whose wiring is to be replaced by an address mirror. A command generation unit for giving a setting command to the memory chip,
When the command generation unit gives the same setting command to a memory chip without an address mirror and a memory chip with an address mirror, based on the address mirror information and the target information, the command generation unit is directed toward the memory chip without an address mirror. For the memory chip having the address mirror, the address of the setting command is converted to the memory chip having the address mirror by converting the address of the setting command according to the signal line exchanged by the address mirror. A memory control device comprising an address conversion unit for generating the setting command.
前記アドレスミラー設定部は前記メモリーモジュールでのランクのアドレスミラーの有無を示すアドレスミラーランク情報を保持し、
アドレスミラーの有るメモリーチップからなるランクとアドレスミラーの無いメモリーチップからなるランクを含むメモリーモジュールの各ランクに対して同様の前記設定コマンドを生成するとき、
前記キューイング部は、前記対象情報として前記設定コマンドの発行要求にあわせてアドレスミラーの無いランクを示す第1ランク情報とアドレスミラーの有るランクを示す第2ランク情報を前記コマンド発行部に送信し、
前記コマンド発行部は、前記設定コマンドの生成要求とともに、前記第1ランク情報と前記第2ランク情報を前記コマンド生成部に向けて送信し、
前記アドレス変換部は、前記アドレスミラー設定部が保持する情報と前記第1ランク情報と前記第2ランク情報に基づき、入れ替えられた信号線に応じ、アドレスミラーの無いランク用の前記設定コマンドのアドレスを変換してアドレスミラーの有るメモリーチップ用の前記設定コマンドを生成することを特徴とする請求項1記載のメモリー制御装置。
The address mirror setting unit holds address mirror rank information indicating the presence or absence of a rank address mirror in the memory module;
When generating the same setting command for each rank of a memory module including a rank consisting of a memory chip with an address mirror and a rank consisting of a memory chip without an address mirror,
The queuing unit transmits, as the target information, first rank information indicating a rank without an address mirror and second rank information indicating a rank with an address mirror to the command issuing unit in accordance with a request for issuing the setting command. ,
The command issuing unit transmits the first rank information and the second rank information to the command generation unit together with the generation request for the setting command,
The address conversion unit, based on the information held by the address mirror setting unit, the first rank information, and the second rank information, the address of the setting command for a rank without an address mirror according to the replaced signal line 2. The memory control device according to claim 1, wherein the setting command is generated for a memory chip having an address mirror by converting the above.
前記キューイング部は、前記設定コマンドの発行要求とともに、前記第1ランク情報と前記第2ランク情報を連続的に前記コマンド発行部に向けて送信し、
前記コマンド発行部は、前記設定コマンドの生成要求を前記コマンド生成部に発行するとともに、前記設定コマンドの生成要求にあわせて前記第1ランク情報に続けて前記第2ランク情報を前記コマンド生成部に送信することを特徴とする請求項2に記載のメモリー制御装置。
The queuing unit continuously transmits the first rank information and the second rank information to the command issuing unit together with the setting command issue request,
The command issuing unit issues the setting command generation request to the command generation unit, and sends the second rank information to the command generation unit following the first rank information in accordance with the setting command generation request. The memory control device according to claim 2, wherein the memory control device transmits.
JP2011114690A 2011-05-23 2011-05-23 Memory control unit Active JP5453345B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011114690A JP5453345B2 (en) 2011-05-23 2011-05-23 Memory control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011114690A JP5453345B2 (en) 2011-05-23 2011-05-23 Memory control unit

Publications (2)

Publication Number Publication Date
JP2012243198A JP2012243198A (en) 2012-12-10
JP5453345B2 true JP5453345B2 (en) 2014-03-26

Family

ID=47464809

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011114690A Active JP5453345B2 (en) 2011-05-23 2011-05-23 Memory control unit

Country Status (1)

Country Link
JP (1) JP5453345B2 (en)

Also Published As

Publication number Publication date
JP2012243198A (en) 2012-12-10

Similar Documents

Publication Publication Date Title
TW394878B (en) Shared bus system with transaction and destination ID
JP5019573B2 (en) Memory control circuit, memory system, memory control method thereof, and integrated circuit
US8762676B2 (en) Memory access control device, command issuing device, and method
US4956804A (en) Data processing system with memories access time counting and information processor wait signal generating circuitries
JP2011081553A (en) Information processing system and control method thereof
TWI540438B (en) Memory control device
JP4902640B2 (en) Integrated circuit and integrated circuit system
JP5453345B2 (en) Memory control unit
JP6233287B2 (en) Memory access device, image processing device
KR20050075642A (en) Method for using bus efficiently
JP2007241799A (en) Memory controller
US6009482A (en) Method and apparatus for enabling cache streaming
US7447849B2 (en) Memory controller configuration system and method
JPH03120059A (en) Optical printer
JP2007122410A (en) Bus arbitration circuit and method
US8713205B2 (en) Data transfer device and data transfer method
US8902689B2 (en) Controlling electric power supply to a memory in an image processing apparatus
KR100441996B1 (en) Direct Memory Access(DMA) Controller and control method
JPWO2004040462A1 (en) Device controller
JP2008117242A (en) Data transfer control device and data transfer control method
JP4356256B2 (en) Printer controller, printer, and memory controller
JP2006345011A (en) Communication device
KR20170032032A (en) Memory device and memory system
US20050047231A1 (en) Memory controller and image forming device provided with the same
JP2000099391A (en) Printer, printer controlling method and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130422

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131111

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: 20131210

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140106

R150 Certificate of patent or registration of utility model

Ref document number: 5453345

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: R3D03

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250