JP2008033657A - Memory control device, information processor and memory control method - Google Patents

Memory control device, information processor and memory control method Download PDF

Info

Publication number
JP2008033657A
JP2008033657A JP2006206703A JP2006206703A JP2008033657A JP 2008033657 A JP2008033657 A JP 2008033657A JP 2006206703 A JP2006206703 A JP 2006206703A JP 2006206703 A JP2006206703 A JP 2006206703A JP 2008033657 A JP2008033657 A JP 2008033657A
Authority
JP
Japan
Prior art keywords
value
write
byte
specific
memory 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.)
Pending
Application number
JP2006206703A
Other languages
Japanese (ja)
Inventor
Takeshi Takamiya
健 高宮
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2006206703A priority Critical patent/JP2008033657A/en
Publication of JP2008033657A publication Critical patent/JP2008033657A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a memory control device, capable of efficiently executing enable write processing without key specification processing for calculating a key from writing data. <P>SOLUTION: A memory controller 12 executes processing for transmitting a write mask command for designating a key showing a specific first value (e.g., ffh) to a memory device 13 and processing for transmitting writing data to the memory device 13 after substituting the value of each invalid byte part contained in the writing data by ffh. The memory controller 12 then executes processing for transmitting a write mask command for designating a key showing a specific second value (e.g., 01h) to the memory device 13 and processing for substituting the value of each other byte part except valid byte parts the value of which is ffh in the writing data by 01h and transmitting the resulting writing data to the memory device 13. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明はライトマスク書き込み処理を実行するためのメモリ制御装置および同メモリ制御装置を含む情報処理装置並びにメモリ制御方法に関する。   The present invention relates to a memory control device for executing a write mask writing process, an information processing device including the memory control device, and a memory control method.

従来、バイトイネーブル定義の無いバスを介してメモリを制御する場合には、例えば、次のような方法で、特定のバイト部のみを書き換えるためのイネーブルライトが実行されている。   Conventionally, when a memory is controlled via a bus without a byte enable definition, for example, an enable write for rewriting only a specific byte portion is executed by the following method.

(1)リードモディファイライト
リードモディファイライトは、一度処理ビット幅のデータをすべてメモリデバイスからリードしてからライトすべきバイト部のみの値を書き換え、そして再びライトを行う方法である。この方法では一度データをリードする必要があり、データバスが半二重の場合方向切り替えのためのターンアラウンド時間が必要になり、アクセスタイムが大きくなる。
(1) Read-modify-write Read-modify-write is a method that once reads all data of the processing bit width from the memory device, rewrites the value of only the byte part to be written, and then writes again. In this method, it is necessary to read data once. When the data bus is half-duplex, a turnaround time for switching the direction is required, and the access time is increased.

(2)ライトマスク
ライトマスクは、ライトマスクキーと呼ばれるキーを含むライトマスクコマンドを用いてイネーブルライトを実行する方法である。メモリデバイス内のライト回路には、バイト毎に比較器が付いており、キーの値と書き込みデータ内の個々のバイト部の値とが比較され、キーの値に一致するバイト部の書き込みが禁止される。リードモディファイライトを用いた場合よりも、効率よくイネーブルライトを実行することができる。非特許文献1には、上述のライトマスクをサポートするメモリが開示されている。
“512Mbit XDRTMDRAM(C-die) 4M x 16(/8/4/2)bit x 8s Bank”、[online]、[平成18年7月21日検索]、インターネット<URL:http://WWW.samsung.com/Products/Semiconductor/XDR_RDRAM/XDRDRAM/Component/512Mbit/K4Y50044UC/ds_k4y50xx4uc_rev03.pdf>
(2) Write mask The write mask is a method for executing enable write using a write mask command including a key called a write mask key. The write circuit in the memory device has a comparator for each byte, and the key value is compared with the value of each byte part in the write data, and writing of the byte part that matches the key value is prohibited. Is done. Enable write can be executed more efficiently than when read-modify-write is used. Non-Patent Document 1 discloses a memory that supports the above-described write mask.
“512Mbit XDRTMDRAM (C-die) 4M x 16 (/ 8/4/2) bit x 8s Bank”, [online], [searched July 21, 2006], Internet <URL: http: // WWW. samsung.com/Products/Semiconductor/XDR_RDRAM/XDRDRAM/Component/512Mbit/K4Y50044UC/ds_k4y50xx4uc_rev03.pdf>

しかし、上述のライトマスクを使用してイネーブルライトを実行する場合においては、コントローラ側では、書き込みデータ内のどの有効バイト部とも一致しない値をキーとして使用するために、キーの値を書き込みデータから算出するというキー特定処理を行うことが必要となる。   However, when executing the enable write using the write mask described above, the controller side uses the value of the key from the write data in order to use a value that does not match any valid byte part in the write data as the key. It is necessary to perform a key specifying process of calculating.

例えば、キーが8ビットから構成される場合においては、キーによって表現可能な値は256パターンあるので、キー特定処理では、各有効バイト部のライトデータをデコードして有効バイト部のライトデータ毎にパターンを調べ、256パターンの中からどの有効バイト部においても使用されていないパターンを検出することが必要となる。したがって、キー特定処理のためにコントローラ内の回路が肥大化するという問題が発生する。   For example, when the key is composed of 8 bits, there are 256 patterns that can be represented by the key. Therefore, in the key specifying process, the write data of each valid byte part is decoded and each write data of the valid byte part is decoded. It is necessary to check the pattern and detect a pattern that is not used in any valid byte part from 256 patterns. Therefore, there arises a problem that a circuit in the controller is enlarged for the key specifying process.

本発明は上述の事情を考慮してなされたものであり、書き込みデータからキーを算出するというキー特定処理を行うことなく、イネーブルライト処理を効率よく実行することが可能なメモリ制御装置および情報処理装置並びにメモリ制御方法を提供することを目的とする。   The present invention has been made in consideration of the above circumstances, and a memory control device and information processing capable of efficiently executing enable write processing without performing key specification processing of calculating a key from write data An object is to provide an apparatus and a memory control method.

上述の課題を解決するため、本発明は、ライトマスクコマンドによって指定されるキーの値と書き込みデータ内の個々のバイト部の値とを比較することによって前記キーの値に一致するバイト部の書き込みを禁止するライトマスク機能を有するメモリデバイスを制御するメモリ制御装置であって、特定の第1の値を有するキーを指定するライトマスクコマンドを前記メモリデバイスに送信する処理と、書き込みデータを構成する複数バイト部の中で書き込みを禁止すべき無効バイト部の値を前記特定の第1の値に置き換えた後に前記書き込みデータを前記メモリデバイスに送信する処理とを含む第1のライトマスク書き込みサイクルを実行する手段と、特定の第2の値を有するキーを指定するライトマスクコマンドを前記メモリデバイスに送信する処理と、前記書き込みデータを構成する複数バイト部の中で、書き込みを行うべき有効バイト部であって且つ前記特定の第1の値を有する有効バイト部を除く他の各バイト部の値を前記特定の第2の値に置き換えた後に前記書き込みデータを前記メモリデバイスに送信する処理とを含む第2のライトマスク書き込みサイクルを実行する手段とを具備することを特徴とする。   In order to solve the above-described problem, the present invention writes a byte portion that matches the key value by comparing the value of the key specified by the write mask command with the value of each byte portion in the write data. A memory control apparatus for controlling a memory device having a write mask function for prohibiting the write device, comprising: processing for transmitting a write mask command designating a key having a specific first value to the memory device; and write data A first write mask write cycle including: processing of transmitting the write data to the memory device after replacing a value of an invalid byte portion that should be prohibited from being written in the plurality of byte portions with the specific first value. A means for executing and a write mask command designating a key having a specific second value to said memory device. And a value of each byte part other than a valid byte part that is a valid byte part to be written and has the specific first value among a plurality of byte parts constituting the write data. Means for executing a second write mask write cycle including a process of transmitting the write data to the memory device after the replacement with the specific second value.

本発明によれば、書き込みデータからキーを算出するというキー特定処理を行うことなく、イネーブルライト処理を効率よく実行することが可能となる。   According to the present invention, it is possible to efficiently execute the enable write process without performing the key specifying process of calculating the key from the write data.

以下、図面を参照して、本発明の実施形態を説明する。
図1には、本発明の一実施形態に係るメモリ制御装置を用いた情報処理装置の構成例が示されている。この情報処理装置は、例えば、パーソナルコンピュータ、ワークステーション、サーバコンピュータのような各種コンピュータ、またはAV機器のような電子機器に組み込まれる組み込みシステムとして実現されており、プロセッサ11、メモリコントローラ12、メモリデバイス13、および図示しない他の各種I/Oデバイス等から構成されている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 shows a configuration example of an information processing apparatus using a memory control apparatus according to an embodiment of the present invention. This information processing apparatus is realized as an embedded system incorporated in various computers such as personal computers, workstations, and server computers, or electronic devices such as AV equipment, and includes a processor 11, a memory controller 12, and a memory device. 13 and other various I / O devices (not shown).

プロセッサ11は情報処理装置の動作を制御する中央処理装置(CPU)であり、主記憶として機能するメモリデバイス13を用いて各種データ処理を実行する。メモリコントローラ12は本実施形態に係るメモリ制御装置であり、プロセッサ11からの要求に応じてメモリデバイス13を制御して、メモリデバイス13からデータを読み出すためのリードアクセス、およびメモリデバイス13にデータを書き込むためのライトアクセス等を実行する。   The processor 11 is a central processing unit (CPU) that controls the operation of the information processing apparatus, and executes various data processing using the memory device 13 that functions as a main memory. The memory controller 12 is a memory control device according to the present embodiment, controls the memory device 13 in response to a request from the processor 11, and performs read access for reading data from the memory device 13 and data to the memory device 13. A write access for writing is executed.

メモリコントローラ12は、バイトイネーブル信号線が定義されていない、シリアルバスのようなバスを介してメモリデバイス13に接続されている。図1においては、RQバスと称されるコマンド送信用のバスと、DQバスと称されるデータ送受信用のバスとを介して、メモリコントローラ12とメモリデバイス13との間が接続されている場合が示されている。これらRQバスおよびDQバスの各々はシリアルバスである。RQバスおよびDQバスの各々は、複数組例えば16組の差動信号線ペアから構成されている。   The memory controller 12 is connected to the memory device 13 via a bus such as a serial bus in which no byte enable signal line is defined. In FIG. 1, the memory controller 12 and the memory device 13 are connected via a command transmission bus called an RQ bus and a data transmission / reception bus called a DQ bus. It is shown. Each of the RQ bus and the DQ bus is a serial bus. Each of the RQ bus and the DQ bus is composed of a plurality of sets, for example, 16 differential signal line pairs.

メモリデバイス13はライトマスクコマンドをサポートするメモリデバイスであり、ライトマスクコマンドによって指定されるキーの値と書き込みデータ内の個々のバイト部の値とを比較することによって前記キーの値に一致するバイト部の書き込みを禁止するというライトマスク機能を有している。   The memory device 13 is a memory device that supports the write mask command, and compares the key value specified by the write mask command with the value of each byte part in the write data to match the key value. It has a write mask function that prohibits the writing of parts.

特定のバイト部のみを書き換えるためのイネーブルライトを実行する場合、メモリコントローラ12は、連続する2つのライトマスクコマンドを利用して、2回のライトマスク書き込みサイクルを連続して実行するように構成されている。この場合、各ライトマスク書き込みサイクルにおいては、書き込みデータから算出したキーではなく、予め決められた特定値を示すキーが用いられる。以下では、書き込みデータが例えば32バイト長のブロックデータから構成され、キーが例えば8ビットから構成されている場合を想定する。   When executing an enable write for rewriting only a specific byte part, the memory controller 12 is configured to continuously execute two write mask write cycles using two consecutive write mask commands. ing. In this case, in each write mask write cycle, a key indicating a predetermined specific value is used instead of a key calculated from write data. In the following, it is assumed that the write data is composed of, for example, 32-byte block data and the key is composed of, for example, 8 bits.

1回目のライトマスク書き込みサイクルにおいては、メモリコントローラ12は、特定の第1の値(例えばffh)を示すキーを指定するライトマスクコマンドをRQバスを介してメモリデバイス13に送信する処理と、32バイトから構成される書き込みデータに含まれる各無効バイト部の値を特定の第1の値(例えばffh)に置き換えた後に当該32バイトの書き込みデータをバースト転送によってDQバスを介してメモリデバイス13に送信する処理とを実行する。メモリデバイス13においては、ffhの値を有する各バイト部の書き込みは禁止され、他の値を有するバイト部の書き込みのみが実行される。各バイト部の書き込み位置は、ライトマスクコマンドに含まれるアドレスによって指定される。   In the first write mask write cycle, the memory controller 12 transmits a write mask command designating a key indicating a specific first value (for example, ffh) to the memory device 13 via the RQ bus, and 32 After replacing the value of each invalid byte part included in the write data composed of bytes with a specific first value (for example, ffh), the 32-byte write data is transferred to the memory device 13 via the DQ bus by burst transfer. The process to send is executed. In the memory device 13, writing of each byte part having a value of ffh is prohibited, and only writing of a byte part having another value is executed. The write position of each byte part is specified by an address included in the write mask command.

1回目のライトマスク書き込みサイクルでは、無効バイト部のみならず、特定の第1の値を有する有効バイト部の書き込みもマスクされてしまう。このため、特定の第1の値を有する有効バイト部の書き込みを実行するために、2回目のライトマスク書き込みサイクルが実行される。   In the first write mask write cycle, not only the invalid byte part but also the valid byte part having a specific first value is masked. For this reason, the second write mask write cycle is executed in order to execute the writing of the effective byte portion having the specific first value.

2回目のライトマスク書き込みサイクルにおいては、メモリコントローラ12は、上述の第1の値とは異なる特定の第2の値(例えば01h)を示すキーを指定するライトマスクコマンドをRQバスを介してメモリデバイス13に送信する処理と、書き込みデータを構成する32バイトの中で、特定の第1の値を有する有効バイト部を除く他の各バイト部の値を、特定の第1の値(例えば01h)に置き換えた後に当該32バイトの書き込みデータをバースト転送によってDQバスを介してメモリデバイス13に送信する処理とを実行する。この2回目のライトマスク書き込みサイクルによって、1回目のライトマスク書き込みサイクルにおいてマスクされた特定の第1の値を有する有効バイト部の書き込みを実行することができる。   In the second write mask write cycle, the memory controller 12 stores a write mask command for designating a key indicating a specific second value (for example, 01h) different from the first value, via the RQ bus. Among the 32 bytes constituting the processing to be transmitted to the device 13 and the write data, the value of each byte part other than the valid byte part having a specific first value is set to a specific first value (for example, 01h). And the process of transmitting the 32-byte write data to the memory device 13 via the DQ bus by burst transfer. By this second write mask write cycle, it is possible to execute writing of the valid byte part having the specific first value masked in the first write mask write cycle.

このように、本実施形態では、書き込みデータから算出したキーではなく、予め決められた特定値を示すキーを用いているので、回路規模の増大を招くキー特定処理を行うことなく、マスクライトコマンドを利用したイネーブルライトを実行することができる。   As described above, in this embodiment, since a key indicating a predetermined specific value is used instead of a key calculated from write data, a mask write command is performed without performing a key specifying process that causes an increase in circuit scale. Enable write using can be executed.

なお、2回目のライトマスク書き込みサイクルは、書き込みデータ内に特定の第1の値を有する有効バイト部が存在する場合にのみ実行すれば良く、特定の第1の値を有する有効バイト部が存在しない場合には、2回目のライトマスク書き込みサイクルの実行を省略することができる。   The second write mask write cycle only needs to be executed when there is a valid byte portion having a specific first value in the write data, and there is a valid byte portion having a specific first value. If not, the execution of the second write mask write cycle can be omitted.

図2は、本実施形態に係るメモリ制御装置を用いた情報処理装置の他の構成例が示されている。   FIG. 2 shows another configuration example of the information processing apparatus using the memory control apparatus according to the present embodiment.

図2においては、メモリコントローラ12はプロセッサ11内にメモリインタフェースとして内蔵されており、プロセッサ11内のコアからの要求に応じてメモリデバイス13をアクセス制御する。他の点は図1と同じである。   In FIG. 2, the memory controller 12 is built in the processor 11 as a memory interface, and controls access to the memory device 13 in response to a request from the core in the processor 11. The other points are the same as in FIG.

図3には、メモリデバイス13内に設けられた書き込み回路部の構成例が示されている。   FIG. 3 shows a configuration example of a write circuit unit provided in the memory device 13.

上述のライトマスク機能を実行するために、メモリデバイス13内には、1バイト分のメモリセル群単位で、比較回路21とANDゲート回路22とが設けられている。   In order to execute the above-described write mask function, the memory device 13 is provided with a comparison circuit 21 and an AND gate circuit 22 for each memory cell group for one byte.

各比較回路21は、8ビットのキーの値と対応するバイト部の8ビットのデータとを比較する。不一致の場合にのみ、ライトイネーブル信号が対応するメモリセル群に送られる。これにより、キーの値に一致するデータを含むバイト部の書き込みは禁止され、一致しないバイト部の書き込みのみが実行される。   Each comparison circuit 21 compares the 8-bit key value with the corresponding 8-bit data in the byte part. Only when there is a mismatch, a write enable signal is sent to the corresponding memory cell group. As a result, writing of the byte part including the data matching the key value is prohibited, and only writing of the non-matching byte part is executed.

図4は、本実施形態のイネーブルライト処理のタイミングチャートである。   FIG. 4 is a timing chart of the enable write process of this embodiment.

最初に、メモリコントローラ12は、一回目のライトマスクコマンド(Write Mask)を発行する。このライトマスクコマンド(Write Mask)には、例えば、値がffhの8ビットのキーが含まれている。このライトマスクコマンドは、当該ライトマスクコマンドに含まれるキーの値に一致するバイト部以外の書き込みを指示するコマンドである。ライトマスクコマンドには、書き込みデータの書き込み位置を指定するアドレスデータも含まれている。   First, the memory controller 12 issues a first write mask command (Write Mask). This write mask command (Write Mask) includes, for example, an 8-bit key having a value of ffh. This write mask command is a command for instructing writing other than the byte portion that matches the key value included in the write mask command. The write mask command also includes address data that designates the write position of the write data.

この後、メモリコントローラ12は、32バイトの書き込みデータ(WData)を送信する。この32バイトの書き込みデータにおいては、書き込みを禁止すべき無効バイト部の値はffhに置き換えられている。メモリデバイス13においては、32バイトの書き込みデータ内の個々のバイト部毎にffhとの比較が行われ、ffh以外の値を持つバイト部のみの書き込みが実行される。   Thereafter, the memory controller 12 transmits 32-byte write data (WData). In the 32-byte write data, the value of the invalid byte portion that should be prohibited from being written is replaced with ffh. In the memory device 13, each byte part in the 32-byte write data is compared with ffh, and only the byte part having a value other than ffh is written.

この後、メモリコントローラ12は、2回目のライトマスクコマンド(Write Mask)を発行する。このライトマスクコマンド(Write Mask)には、例えば、値が01hの8ビットのキーが含まれている。そして、メモリコントローラ12は、32バイトの書き込みデータ(WData)を送信する。この32バイトの書き込みデータにおいては、値がffhの有効バイト部以外の他の各バイト部の値は01hに置き換えられている。メモリデバイス13においては、32バイトの書き込みデータ内の個々のバイト部毎にffhとの比較が行われ、01h以外の値を持つバイト部、つまりffhのバイト部の書き込みが実行される。   Thereafter, the memory controller 12 issues a second write mask command (Write Mask). The write mask command (Write Mask) includes, for example, an 8-bit key having a value of 01h. Then, the memory controller 12 transmits 32-byte write data (WData). In this 32-byte write data, the value of each byte part other than the valid byte part having a value of ffh is replaced with 01h. In the memory device 13, each byte part in the 32-byte write data is compared with ffh, and the byte part having a value other than 01h, that is, the ffh byte part is written.

2回目のライトマスク書き込みサイクルつまり2回目のライトマスクコマンド(Write Mask)の発行およびそれに後続する書き込みデータの送信は、書き込みデータにffhの値を有する有効バイト部が存在することが検出された場合のみ実行される。書き込みデータにffhの値を有する有効バイト部が存在しない場合には2回目のライトマスク書き込みサイクルは実行されない。なお、書き込みデータにffhの値を有する有効バイト部が存在しない場合であっても、例えば、全てのバイト部が01hに置換された書き込みデータを用いて、2回目のライトマスク書き込みサイクルを実行することも可能である。   When the second write mask write cycle, that is, the second write mask command (Write Mask) is issued and the subsequent write data is transmitted, it is detected that the valid byte portion having the value of ffh exists in the write data. Only executed. If there is no valid byte portion having a value of ffh in the write data, the second write mask write cycle is not executed. Even if there is no valid byte part having a value of ffh in the write data, for example, the second write mask write cycle is executed using the write data in which all the byte parts are replaced with 01h. It is also possible.

図5には、1回目のライトマスク書き込みサイクルで用いられるキー値と書き込みデータの例が示されている。   FIG. 5 shows an example of key values and write data used in the first write mask write cycle.

書き込みデータ(WData)は1バイト目のバイト部B1から32バイト目のバイト部B32までの32バイト長のブロックデータから構成されている。今、バイト部B10が書き込みを禁止すべき無効バイト部であり、他の各バイト部は書き込みを行うべき有効バイト部である場合を想定する。   The write data (WData) is composed of 32-byte block data from the first byte part B1 to the 32nd byte part B32. Assume that the byte part B10 is an invalid byte part that should be prohibited from being written and the other byte parts are valid byte parts that should be written.

書き込みデータの各バイト部の有効/無効は、プロセッサ11によって指定される。無効バイト部であるバイト部B10の値(8ビットのデータ)は、メモリコントローラ12によってffhに置き換えられる。   Validity / invalidity of each byte part of the write data is designated by the processor 11. The value (8-bit data) of the byte part B10, which is an invalid byte part, is replaced with ffh by the memory controller 12.

もし、有効バイト部B2の値がffhであるならば、無効バイト部B10の書き込みがマスクされるのみならず、有効バイト部B2の書き込みもマスクされることになる。   If the value of the valid byte part B2 is ffh, not only writing of the invalid byte part B10 is masked but also writing of the valid byte part B2 is masked.

図6には、2回目のライトマスク書き込みサイクルで用いられるキー値と書き込みデータの例が示されている。値がffhである有効バイト部B2以外の他の各バイト部B1,B3〜B32の値は、メモリコントローラ12によって01hに置き換えられる。よって、有効バイト部B2の書き込みのみが実行され、他の各バイト部B1,B3〜B32の書き込みはマスクされる。   FIG. 6 shows an example of key values and write data used in the second write mask write cycle. The values of the byte parts B1, B3 to B32 other than the valid byte part B2 whose value is ffh are replaced with 01h by the memory controller 12. Therefore, only writing of the valid byte part B2 is executed, and writing of the other byte parts B1, B3 to B32 is masked.

次に、図7を参照して、メモリコントローラ12の機能構成の例を説明する。   Next, an example of a functional configuration of the memory controller 12 will be described with reference to FIG.

図7においては、プロセッサ11からの書き込みデータがUWDATとして表記され、メモリコントローラ12からメモリデバイス13に送信される書き込みデータがWDATAとして表記されている。   In FIG. 7, write data from the processor 11 is represented as UWDAT, and write data transmitted from the memory controller 12 to the memory device 13 is represented as WDATA.

メモリコントローラ12は、第1サイクル実行部21と、第2サイクル実行部22と、判定部23とを備えている。   The memory controller 12 includes a first cycle execution unit 21, a second cycle execution unit 22, and a determination unit 23.

第1サイクル実行部21は、固定値ffhを示すキーを含むライトマスクコマンドを用いて、上述の1回目のライトマスク書き込みサイクル(第1のライトマスク書き込みサイクル)を実行する。この場合、書き込みデータUWDATに含まれる各無効バイト部の値はffhに置き換えられ、この置き換え後の書き込みデータUWDATが書き込みデータWDATAとしてメモリデバイス13に送信される。   The first cycle execution unit 21 executes the first write mask write cycle (first write mask write cycle) using the write mask command including the key indicating the fixed value ffh. In this case, the value of each invalid byte part included in the write data UWDAT is replaced with ffh, and the write data UWDAT after this replacement is transmitted to the memory device 13 as the write data WDATA.

判定部23は、書き込みデータUWDAT内に、値がffhの有効バイト部が存在するか否かを判定する。書き込みデータUWDAT内にffhの有効バイト部が存在することが判別された場合、第2サイクル実行部22は、固定値01hを示すキーを含むライトマスクコマンドを用いて、上述の2回目のライトマスク書き込みサイクル(第2のライトマスク書き込みサイクル)を実行する。この場合、書き込みデータUWDATに含まれる、値がffhの有効バイト部以外の各バイト部の値は01hに置き換えられ、この置き換え後の書き込みデータUWDATが書き込みデータWDATAとしてメモリデバイス13に送信される。   The determination unit 23 determines whether or not there is a valid byte part having a value of ffh in the write data UWDAT. When it is determined that the valid byte part of ffh is present in the write data UWDAT, the second cycle execution part 22 uses the write mask command including the key indicating the fixed value 01h, and the second write mask described above. A write cycle (second write mask write cycle) is executed. In this case, the value of each byte part other than the valid byte part having the value ffh included in the write data UWDAT is replaced with 01h, and the write data UWDAT after this replacement is transmitted to the memory device 13 as the write data WDATA.

次に、図8および図9のタイミングチャートを参照して、本実施形態のイネーブルライト処理と従来のイネーブルライト処理との違いを説明する。   Next, the difference between the enable write process of the present embodiment and the conventional enable write process will be described with reference to the timing charts of FIGS.

図8はリードモディファイライトのタイミングチャートを示している。上述したように、リードモディファイライトにおいては、リードサイクルを実行した後にそのリードデータの一部を書き換え、その後にライトサイクルを実行することが必要となり、さらにターンアラウンドのための待ち時間も必要となるので、図8に示すように、イネーブルライト処理が完了するまでに多くの時間を要する。   FIG. 8 shows a timing chart of the read modify write. As described above, in read-modify-write, it is necessary to rewrite a part of the read data after executing the read cycle, and then execute the write cycle, and further, a waiting time for turnaround is required. Therefore, as shown in FIG. 8, it takes a long time to complete the enable write process.

図9は従来のライトマスクのタイミングチャートを示している。従来のライトマスクでは、常に一回のライトサイクルのみでイネーブルライト処理を完了することができるのでイネーブルライト処理をリードモディファイライトよりも効率よく実行することができるものの、書き込みデータからキーを算出するというキー特定処理のための回路を設けることが必要となり、これによってメモリコントローラの回路規模の大幅な増大を招くことになる。   FIG. 9 shows a timing chart of a conventional light mask. In the conventional write mask, the enable write process can always be completed with only one write cycle, so the enable write process can be executed more efficiently than the read-modify-write, but the key is calculated from the write data. It is necessary to provide a circuit for the key specifying process, which causes a significant increase in the circuit scale of the memory controller.

これに対し、本実施形態では、リードモディファイライトよりも高速にイネーブルライト処理を実行することができ、また従来のライトマスクとは異なりキー特定処理は不要であるので、回路規模の増大を招くことなく、ライトマスクコマンドを用いたイネーブルライト処理を実行することができる。   On the other hand, in the present embodiment, the enable write process can be executed at a speed higher than that of the read-modify-write, and unlike the conventional write mask, the key specifying process is unnecessary, resulting in an increase in circuit scale. Instead, the enable write process using the write mask command can be executed.

次に、図10を参照して、メモリコントローラ12内に設けられる具体的な回路構成の例について説明する。   Next, an example of a specific circuit configuration provided in the memory controller 12 will be described with reference to FIG.

メモリコントローラ12は、イネーブルライト処理を実行するために、ライトデータ#1出力回路31、ライトデータ#1出力回路32、セレクタ(SEL)33、および32ビットNANDゲート34等を備えている。   The memory controller 12 includes a write data # 1 output circuit 31, a write data # 1 output circuit 32, a selector (SEL) 33, a 32-bit NAND gate 34, and the like in order to execute enable write processing.

ライトデータ#1出力回路31は1回目のライトマスク書き込みサイクルで出力すべき書き込みデータを出力する回路であり、プロセッサ11からのバイトイネーブル信号BE[31:0]に基づいて、32バイトの書き込みデータUDATA[255:0]内の無効バイト部を検出し、その無効バイト部の値をffhに置換する。   The write data # 1 output circuit 31 is a circuit for outputting write data to be output in the first write mask write cycle. Based on the byte enable signal BE [31: 0] from the processor 11, 32-byte write data is output. The invalid byte part in UDATA [255: 0] is detected, and the value of the invalid byte part is replaced with ffh.

ライトデータ#2出力回路32は、2回目のライトマスク書き込みサイクルで出力すべき書き込みデータを出力する回路である。ライトデータ#2出力回路32においては、図示のように、書き込みデータの各バイト部毎に、セレクタ(SEL)41と9ビットNANDゲート42とが設けられている。   The write data # 2 output circuit 32 is a circuit that outputs write data to be output in the second write mask write cycle. In the write data # 2 output circuit 32, as shown in the figure, a selector (SEL) 41 and a 9-bit NAND gate 42 are provided for each byte portion of write data.

各9ビットNANDゲート42は、対応するバイト部が有効(BE=1)で且つ対応するバイト部の値がffhである場合は、論理“0”の出力信号を出力し、それ以外の場合は論理“1”の出力信号を出力する。各セレクタ(SEL)41は、対応する9ビットNANDゲート42の出力信号が論理“0”である場合は、01hを選択し、対応する9ビットNANDゲート42の出力信号が論理“1”である場合は、書き込みデータUWDATA[255:0]内の対応するバイト部のデータを選択する。   Each 9-bit NAND gate 42 outputs an output signal of logic “0” when the corresponding byte part is valid (BE = 1) and the value of the corresponding byte part is ffh, and otherwise. Outputs an output signal of logic “1”. Each selector (SEL) 41 selects 01h when the output signal of the corresponding 9-bit NAND gate 42 is logic “0”, and the output signal of the corresponding 9-bit NAND gate 42 is logic “1”. In this case, the data of the corresponding byte part in the write data UWDATA [255: 0] is selected.

セレクタ(SEL)33は、タイミング信号SecWriteに従って、1回目のライトマスク書き込みサイクルにおいては、ライトデータ#1出力回路31によって得られる書き込みデータを書き込みデータWDATA[255:0]として選択してメモリデバイス13に送信し、2回目のライトマスク書き込みサイクルにおいては、ライトデータ#2出力回路32によって得られる書き込みデータMWDATA[255:0]を書き込みデータWDATA[255:0]として選択してメモリデバイス13に送信する。   The selector (SEL) 33 selects the write data obtained by the write data # 1 output circuit 31 as the write data WDATA [255: 0] in the first write mask write cycle according to the timing signal SecWrite, and selects the memory device 13. In the second write mask write cycle, the write data MWDATA [255: 0] obtained by the write data # 2 output circuit 32 is selected as the write data WDATA [255: 0] and transmitted to the memory device 13. To do.

32ビットNANDゲート34は、32個の9ビットNANDゲート42のいずれか1つからの出力信号が“0”である場合、つまり書き込みデータWDATA[255:0]内にffhの有効バイト部が1つ以上含まれている場合に、2回目のライトマスク書き込みサイクルの実行が必要であることを示す論理“1”の信号(WriteFFhneed)を出力する。32個の9ビットNANDゲート42の全ての出力信号が“1”である場合には、WriteFFhneed信号は論理“0”となり、2回目のライトマスク書き込みサイクルの実行は省略される。   In the 32-bit NAND gate 34, when the output signal from any one of the 32 9-bit NAND gates 42 is "0", that is, the effective byte portion of ffh is 1 in the write data WDATA [255: 0]. If more than one are included, a logic “1” signal (WriteFFhneed) indicating that the execution of the second write mask write cycle is necessary is output. When all the output signals of the 32 9-bit NAND gates 42 are “1”, the WriteFFhneed signal is logic “0”, and the execution of the second write mask write cycle is omitted.

次に、図11のフローチャートを参照して、メモリコントローラ12によって実行されるライト制御処理の手順を説明する。   Next, the procedure of the write control process executed by the memory controller 12 will be described with reference to the flowchart of FIG.

このライト制御処理は、イネーブルライトが必要な場合、例えば、メモリコントローラ12がプロセッサ11から無効バイト部を含む書き込みデータを受信した場合等に実行される。書き込みデータが無効バイト部を含むか否かは、プロセッサ11からのバイトイネーブル信号BE[31:0]によって判別することができる。   This write control process is executed when an enable write is necessary, for example, when the memory controller 12 receives write data including an invalid byte portion from the processor 11. Whether or not the write data includes an invalid byte portion can be determined by a byte enable signal BE [31: 0] from the processor 11.

メモリコントローラ12は、まず、ffhをキーとして含むライトマスクコマンドをRQバスを介してメモリデバイス13に送信すると共に(ステップS101)、プロセッサ11からの書き込みデータを構成する32バイトの中で無効バイト部の値をffhに置き換え、その置き換えが実行された書き込みデータをDQバスを介してメモリデバイス13に送信する(ステップS102)。   First, the memory controller 12 transmits a write mask command including ffh as a key to the memory device 13 via the RQ bus (step S101), and an invalid byte portion in the 32 bytes constituting the write data from the processor 11 Is replaced with ffh, and the write data subjected to the replacement is transmitted to the memory device 13 via the DQ bus (step S102).

次いで、メモリコントローラ12は、プロセッサ11からの書き込みデータに、値がffhの有効バイト部が含まれているか否かを判別する(ステップS103)。   Next, the memory controller 12 determines whether or not the write data from the processor 11 includes a valid byte part having a value of ffh (step S103).

もし書き込みデータに値がffhの有効バイト部が含まれているならば(ステップS103のNO)、メモリコントローラ12は、ffhの有効バイト部の書き込みを実行するために、O1hをキーとして含むライトマスクコマンドをRQバスを介してメモリデバイス13に送信すると共に(ステップS104)、プロセッサ11からの書き込みデータを構成する32バイトの中でffhの有効バイト部以外の各バイト部の値を01hに置き換え、その置き換えが実行された書き込みデータをDQバスを介してメモリデバイス13に送信する(ステップS105)。   If the write data includes a valid byte part having a value of ffh (NO in step S103), the memory controller 12 performs a write mask including O1h as a key in order to write the valid byte part of ffh. The command is transmitted to the memory device 13 via the RQ bus (step S104), and the value of each byte part other than the valid byte part of ffh is replaced with 01h in the 32 bytes constituting the write data from the processor 11. The write data subjected to the replacement is transmitted to the memory device 13 via the DQ bus (step S105).

一方、もし書き込みデータに値がffhの有効バイト部が含まれていないならば(ステップS103のNO)、ステップS104,S105の実行は省略され、この時点でイネーブルライトのためのライト制御処理は終了する。   On the other hand, if the write data does not include a valid byte part having a value of ffh (NO in step S103), the execution of steps S104 and S105 is omitted, and the write control process for the enable write ends at this point. To do.

以上のように、本実施形態によれば、2回の連続するライトマスク書き込みサイクルを利用してイネーブルライトが実行されるので、各ライトマスク書き込みサイクルでは、書き込みデータから算出された値ではなく、予め決められた特定の値をキーとして使用することが可能となり、キー特定処理が必要な従来のライトマスク方式に比べ、回路規模を大幅に削減することが可能となる。   As described above, according to the present embodiment, the enable write is executed using two consecutive write mask write cycles. Therefore, in each write mask write cycle, not the value calculated from the write data, A specific value determined in advance can be used as a key, and the circuit scale can be greatly reduced as compared with a conventional write mask method that requires a key specifying process.

また、2回目のライトマスク書き込みサイクルの実行を省略するための機能が設けられているので、1回目のライトマスク書き込みサイクルで使用されるキーと同一の値を有するバイト部が書き込みデータに存在しない場合には、1回のライトマスク書き込みサイクルのみでイネーブルライト処理を完了することができる。   Further, since a function for omitting the execution of the second write mask write cycle is provided, there is no byte portion having the same value as the key used in the first write mask write cycle in the write data. In this case, the enable write process can be completed with only one write mask write cycle.

なお、本発明は、上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。更に、異なる実施形態に構成要素を適宜組み合わせてもよい。   Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, you may combine a component suitably in different embodiment.

本発明の一実施形態に係る情報処理装置の構成例を示すブロック図。1 is a block diagram illustrating a configuration example of an information processing apparatus according to an embodiment of the present invention. 同実施形態の情報処理装置の他の構成例を示すブロック図。The block diagram which shows the other structural example of the information processing apparatus of the embodiment. 同実施形態の情報処理装置で用いられるメモリデバイス内の書き込み回路の例を示す回路図。FIG. 3 is a circuit diagram showing an example of a write circuit in a memory device used in the information processing apparatus of the embodiment. 同実施形態の情報処理装置に設けられたメモリ制御装置によって実行されるイネーブルライト処理を示すタイミングチャート。6 is a timing chart showing enable write processing executed by a memory control device provided in the information processing apparatus of the embodiment. 同実施形態の情報処理装置に設けられたメモリ制御装置によって実行される1回目のライトサイクルを説明するための図。The figure for demonstrating the 1st write cycle performed by the memory control apparatus provided in the information processing apparatus of the embodiment. 同実施形態の情報処理装置に設けられたメモリ制御装置によって実行される2回目のライトサイクルを説明するための図。The figure for demonstrating the 2nd write cycle performed by the memory control apparatus provided in the information processing apparatus of the embodiment. 同実施形態の情報処理装置に設けられたメモリ制御装置の機能構成を説明するためのブロック図。FIG. 3 is an exemplary block diagram for explaining a functional configuration of a memory control device provided in the information processing apparatus of the embodiment. 通常のリードモディファイライト処理を示すタイミングチャート。The timing chart which shows a normal read modify write process. 通常のマスクライト処理を示すタイミングチャート。The timing chart which shows a normal mask write process. 同実施形態の情報処理装置に設けられたメモリ制御装置の構成例を示す回路図。FIG. 3 is a circuit diagram showing a configuration example of a memory control device provided in the information processing apparatus of the embodiment. 同実施形態の情報処理装置に設けられたメモリ制御装置によって実行されるライト制御処理の手順を示すフローチャート。6 is an exemplary flowchart illustrating the procedure of a write control process which is executed by the memory control device provided in the information processing apparatus of the embodiment.

符号の説明Explanation of symbols

11…プロセッサ、12…メモリコントローラ、13…メモリデバイス、21…第1サイクル実行部、22…第2サイクル実行部、23…判定部、31…ライトデータ#1出力回路、32…ライトデータ#2出力回路、33…セレクタ、34…32bitNANDゲート。   DESCRIPTION OF SYMBOLS 11 ... Processor, 12 ... Memory controller, 13 ... Memory device, 21 ... 1st cycle execution part, 22 ... 2nd cycle execution part, 23 ... Determination part, 31 ... Write data # 1 output circuit, 32 ... Write data # 2 Output circuit 33... Selector, 34... 32 bit NAND gate.

Claims (10)

ライトマスクコマンドによって指定されるキーの値と書き込みデータ内の個々のバイト部の値とを比較することによって前記キーの値に一致するバイト部の書き込みを禁止するライトマスク機能を有するメモリデバイスを制御するメモリ制御装置であって、
特定の第1の値を有するキーを指定するライトマスクコマンドを前記メモリデバイスに送信する処理と、書き込みデータを構成する複数バイト部の中で書き込みを禁止すべき無効バイト部の値を前記特定の第1の値に置き換えた後に前記書き込みデータを前記メモリデバイスに送信する処理とを含む第1のライトマスク書き込みサイクルを実行する手段と、
特定の第2の値を有するキーを指定するライトマスクコマンドを前記メモリデバイスに送信する処理と、前記書き込みデータを構成する複数バイト部の中で、書き込みを行うべき有効バイト部であって且つ前記特定の第1の値を有する有効バイト部を除く他の各バイト部の値を前記特定の第2の値に置き換えた後に前記書き込みデータを前記メモリデバイスに送信する処理とを含む第2のライトマスク書き込みサイクルを実行する手段とを具備することを特徴とするメモリ制御装置。
Controls a memory device that has a write mask function that prohibits writing of the byte part that matches the key value by comparing the value of the key specified by the write mask command with the value of the individual byte part in the write data. A memory control device,
A process of transmitting a write mask command designating a key having a specific first value to the memory device, and a value of an invalid byte portion that should be prohibited from being written among a plurality of byte portions constituting write data. Means for executing a first write mask write cycle comprising: processing for transmitting the write data to the memory device after replacing with a first value;
A process of transmitting a write mask command designating a key having a specific second value to the memory device, and a valid byte part to be written among a plurality of byte parts constituting the write data, and A process of transmitting the write data to the memory device after replacing the value of each byte part other than the valid byte part having a specific first value with the specific second value. A memory control device comprising: means for executing a mask write cycle.
前記書き込みデータに前記特定の第1の値を有する有効バイト部が存在するか否かを判別し、前記特定の第1の値を有する有効バイト部が存在しない場合、前記第2のライトマスク書き込みサイクルの実行を省略する手段をさらに具備することを特徴とする請求項1記載のメモリ制御装置。   It is determined whether or not there is an effective byte portion having the specific first value in the write data, and when there is no effective byte portion having the specific first value, the second write mask write 2. The memory control device according to claim 1, further comprising means for omitting execution of a cycle. 前記メモリ制御装置は、バイトイネーブル信号線が定義されていないバスを介して前記メモリデバイスに接続されていることを特徴とする請求項1記載のメモリ制御装置。   2. The memory control device according to claim 1, wherein the memory control device is connected to the memory device via a bus in which a byte enable signal line is not defined. ライトマスクコマンドによって指定されるキーの値と書き込みデータ内の個々のバイト部の値とを比較することによって前記キーの値に一致するバイト部の書き込みを禁止するライトマスク機能を有するメモリデバイスを制御するメモリ制御装置であって、
特定の第1の値を有するキーを指定するライトマスクコマンドを前記メモリデバイスに送信する処理と、書き込みデータを構成する複数バイト部の中で書き込みを禁止すべき無効バイト部の値を前記特定の第1の値に置き換えた後に前記書き込みデータを前記メモリデバイスに送信する処理とを含む第1のライトマスク書き込みサイクルを実行する手段と、
前記書き込みデータに前記特定の第1の値を有する有効バイト部が存在するか否かを判別する手段と、
前記特定の第1の値を有する有効バイト部が存在する場合、特定の第2の値を有するキーを指定するライトマスクコマンドを前記メモリデバイスに送信する処理と、前記書き込みデータに含まれる、前記特定の第1の値を有する有効バイト部以外の他の各バイト部を前記特定の第2の値に置き換えた後に前記書き込みデータを前記メモリデバイスに送信する処理とを含む第2のライトマスク書き込みサイクルを実行する手段とを具備することを特徴とするメモリ制御装置。
Controls a memory device that has a write mask function that prohibits writing of the byte part that matches the key value by comparing the value of the key specified by the write mask command with the value of the individual byte part in the write data. A memory control device,
A process of transmitting a write mask command designating a key having a specific first value to the memory device, and a value of an invalid byte portion that should be prohibited from being written among a plurality of byte portions constituting write data. Means for executing a first write mask write cycle comprising: processing to transmit the write data to the memory device after replacing with a first value;
Means for determining whether or not there is a valid byte part having the specific first value in the write data;
A process of transmitting a write mask command designating a key having a specific second value to the memory device when a valid byte portion having the specific first value exists, and included in the write data, A second write mask write including: processing to transmit the write data to the memory device after replacing each byte portion other than the valid byte portion having the specific first value with the specific second value A memory control device comprising: means for executing a cycle.
プロセッサと、
ライトマスクコマンドによって指定されるキーの値と書き込みデータ内の個々のバイト部の値とを比較することによって前記キーの値に一致するバイト部の書き込みを禁止するライトマスク機能を有するメモリデバイスと、
前記プロセッサからの要求に応じて前記メモリデバイスを制御するメモリ制御手段であって、特定の第1の値を有するキーを指定するライトマスクコマンドを前記メモリデバイスに送信する処理と、書き込みデータを構成する複数バイト部の中で書き込みを禁止すべき無効バイト部の値を前記特定の第1の値に置き換えた後に前記書き込みデータを前記メモリデバイスに送信する処理とを含む第1のライトマスク書き込みサイクルを実行する手段と、特定の第2の値を有するキーを指定するライトマスクコマンドを前記メモリデバイスに送信する処理と、前記書き込みデータを構成する複数バイト部の中で、書き込みを行うべき有効バイト部であって且つ前記特定の第1の値を有する有効バイト部を除く他の各バイト部の値を前記特定の第2の値に置き換えた後に前記書き込みデータを前記メモリデバイスに送信する処理とを含む第2のライトマスク書き込みサイクルを実行する手段とを含むメモリ制御手段とを具備することを特徴とする情報処理装置。
A processor;
A memory device having a write mask function that prohibits writing of the byte portion that matches the key value by comparing the value of the key specified by the write mask command with the value of the individual byte portion in the write data;
Memory control means for controlling the memory device in response to a request from the processor, comprising processing for transmitting a write mask command designating a key having a specific first value to the memory device, and write data A first write mask write cycle including: a process of transmitting the write data to the memory device after replacing a value of an invalid byte part that should be prohibited from writing in the plurality of byte parts with the specific first value , A process of transmitting a write mask command designating a key having a specific second value to the memory device, and a valid byte to be written in a plurality of bytes constituting the write data And the value of each byte part other than the valid byte part having the specific first value is the specific second value. The information processing apparatus characterized by comprising a memory control means including means for executing a second write mask write cycle including a process of transmitting the write data after replacing the value in the memory device.
前記書き込みデータに前記特定の第1の値を有する有効バイト部が存在するか否かを判別し、前記特定の第1の値を有する有効バイト部が存在しない場合、前記第2のライトマスク書き込みサイクルの実行を省略する手段をさらに具備することを特徴とする請求項5記載の情報処理装置。   It is determined whether or not there is an effective byte portion having the specific first value in the write data, and when there is no effective byte portion having the specific first value, the second write mask write 6. The information processing apparatus according to claim 5, further comprising means for omitting execution of a cycle. プロセッサと、
ライトマスクコマンドによって指定されるキーの値と書き込みデータ内の個々のバイト部の値とを比較することによって前記キーの値に一致するバイト部の書き込みを禁止するライトマスク機能を有するメモリデバイスと、
前記プロセッサからの要求に応じて前記メモリデバイスを制御するメモリ制御手段であって、特定の第1の値を有するキーを指定するライトマスクコマンドを前記メモリデバイスに送信する処理と、書き込みデータを構成する複数バイト部の中で書き込みを禁止すべき無効バイト部の値を前記特定の第1の値に置き換えた後に前記書き込みデータを前記メモリデバイスに送信する処理とを含む第1のライトマスク書き込みサイクルを実行する手段と、前記書き込みデータに前記特定の第1の値を有する有効バイト部が存在するか否かを判別する手段と、前記特定の第1の値を有する有効バイト部が存在する場合、特定の第2の値を有するキーを指定するライトマスクコマンドを前記メモリデバイスに送信する処理と、前記書き込みデータに含まれる、前記特定の第1の値を有する有効バイト部以外の他の各バイト部を前記特定の第2の値に置き換えた後に前記書き込みデータを前記メモリデバイスに送信する処理とを含む第2のライトマスク書き込みサイクルを実行する手段とを含むメモリ制御手段とを具備することを特徴とする情報処理装置。
A processor;
A memory device having a write mask function that prohibits writing of the byte portion that matches the key value by comparing the value of the key specified by the write mask command with the value of the individual byte portion in the write data;
Memory control means for controlling the memory device in response to a request from the processor, comprising processing for transmitting a write mask command designating a key having a specific first value to the memory device, and write data A first write mask write cycle including: a process of transmitting the write data to the memory device after replacing a value of an invalid byte part that should be prohibited from writing in the plurality of byte parts with the specific first value A means for determining whether or not there is a valid byte part having the specific first value in the write data, and a valid byte part having the specific first value exists. A process of transmitting a write mask command designating a key having a specific second value to the memory device, and including in the write data And a process of transmitting the write data to the memory device after replacing each byte portion other than the valid byte portion having the specific first value with the specific second value. An information processing apparatus comprising: memory control means including means for executing a write mask write cycle.
ライトマスクコマンドによって指定されるキーの値と書き込みデータ内の個々のバイト部の値とを比較することによって前記キーの値に一致するバイト部の書き込みを禁止するライトマスク機能を有するメモリデバイスを制御するメモリ制御方法であって、
特定の第1の値を有するキーを指定するライトマスクコマンドを前記メモリデバイスに送信する処理と、書き込みデータを構成する複数バイト部の中で書き込みを禁止すべき無効バイト部の値を前記特定の第1の値に置き換えた後に前記書き込みデータを前記メモリデバイスに送信する処理とを含む第1のライトマスク書き込みサイクルを実行するステップと、
特定の第2の値を有するキーを指定するライトマスクコマンドを前記メモリデバイスに送信する処理と、前記書き込みデータを構成する複数バイト部の中で、書き込みを行うべき有効バイト部であって且つ前記特定の第1の値を有する有効バイト部を除く他の各バイト部の値を前記特定の第2の値に置き換えた後に前記書き込みデータを前記メモリデバイスに送信する処理とを含む第2のライトマスク書き込みサイクルを実行するステップとを具備することを特徴とするメモリ制御方法。
Controls a memory device that has a write mask function that prohibits writing of the byte part that matches the key value by comparing the value of the key specified by the write mask command with the value of the individual byte part in the write data A memory control method,
A process of transmitting a write mask command designating a key having a specific first value to the memory device, and a value of an invalid byte portion that should be prohibited from being written among a plurality of byte portions constituting write data. Performing a first write mask write cycle including processing to transmit the write data to the memory device after replacing with a first value;
A process of transmitting a write mask command designating a key having a specific second value to the memory device, and a valid byte part to be written among a plurality of byte parts constituting the write data, and A process of transmitting the write data to the memory device after replacing the value of each byte part other than the valid byte part having a specific first value with the specific second value. And a step of executing a mask write cycle.
前記書き込みデータに前記特定の第1の値を有する有効バイト部が存在するか否かを判別し、前記特定の第1の値を有する有効バイト部が存在しない場合、前記第2のライトマスク書き込みサイクルの実行を省略するステップをさらに具備することを特徴とする請求項8記載のメモリ制御方法。   It is determined whether or not there is an effective byte portion having the specific first value in the write data, and when there is no effective byte portion having the specific first value, the second write mask write The memory control method according to claim 8, further comprising a step of omitting execution of the cycle. ライトマスクコマンドによって指定されるキーの値と書き込みデータ内の個々のバイト部の値とを比較することによって前記キーの値に一致するバイト部の書き込みを禁止するライトマスク機能を有するメモリデバイスを制御するメモリ制御方法であって、
特定の第1の値を有するキーを指定するライトマスクコマンドを前記メモリデバイスに送信する処理と、書き込みデータを構成する複数バイト部の中で書き込みを禁止すべき無効バイト部の値を前記特定の第1の値に置き換えた後に前記書き込みデータを前記メモリデバイスに送信する処理とを含む第1のライトマスク書き込みサイクルを実行するステップと、
前記書き込みデータに前記特定の第1の値を有する有効バイト部が存在するか否かを判別するステップと、
前記特定の第1の値を有する有効バイト部が存在する場合、特定の第2の値を有するキーを指定するライトマスクコマンドを前記メモリデバイスに送信する処理と、前記書き込みデータに含まれる、前記特定の第1の値を有する有効バイト部以外の他の各バイト部を前記特定の第2の値に置き換えた後に前記書き込みデータを前記メモリデバイスに送信する処理とを含む第2のライトマスク書き込みサイクルを実行するステップとを具備することを特徴とするメモリ制御方法。
Controls a memory device that has a write mask function that prohibits writing of the byte part that matches the key value by comparing the value of the key specified by the write mask command with the value of the individual byte part in the write data A memory control method,
A process of transmitting a write mask command designating a key having a specific first value to the memory device, and a value of an invalid byte portion that should be prohibited from being written among a plurality of byte portions constituting write data. Performing a first write mask write cycle including processing to transmit the write data to the memory device after replacing with a first value;
Determining whether there is a valid byte part having the specific first value in the write data;
A process of transmitting a write mask command designating a key having a specific second value to the memory device when a valid byte portion having the specific first value exists, and included in the write data, A second write mask write including: processing to transmit the write data to the memory device after replacing each byte portion other than the valid byte portion having the specific first value with the specific second value And a step of executing a cycle.
JP2006206703A 2006-07-28 2006-07-28 Memory control device, information processor and memory control method Pending JP2008033657A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006206703A JP2008033657A (en) 2006-07-28 2006-07-28 Memory control device, information processor and memory control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006206703A JP2008033657A (en) 2006-07-28 2006-07-28 Memory control device, information processor and memory control method

Publications (1)

Publication Number Publication Date
JP2008033657A true JP2008033657A (en) 2008-02-14

Family

ID=39122994

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006206703A Pending JP2008033657A (en) 2006-07-28 2006-07-28 Memory control device, information processor and memory control method

Country Status (1)

Country Link
JP (1) JP2008033657A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7774535B2 (en) 2008-06-19 2010-08-10 Kabushiki Kaisha Toshiba Memory system and memory device
JP2011503753A (en) * 2007-11-19 2011-01-27 ラムバス・インコーポレーテッド Scheduling based on turnaround events

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011503753A (en) * 2007-11-19 2011-01-27 ラムバス・インコーポレーテッド Scheduling based on turnaround events
US7774535B2 (en) 2008-06-19 2010-08-10 Kabushiki Kaisha Toshiba Memory system and memory device

Similar Documents

Publication Publication Date Title
JP5107880B2 (en) Data transfer processing apparatus and method
EP3542276B1 (en) Flow control in remote direct memory access data communications with mirroring of ring buffers
JP5824488B2 (en) Using completer knowledge about memory region ordering requests to modify transaction attributes
KR20170034424A (en) Memory write management in a computer system
US10133497B1 (en) SPI command censoring method and apparatus
JP5856434B2 (en) Bus connection circuit, semiconductor device, and operation method of bus connection circuit
JP2008033657A (en) Memory control device, information processor and memory control method
US8291270B2 (en) Request processing device, request processing system, and access testing method
JP6070600B2 (en) Microcomputer
JP2008140078A (en) Bus bridge device, information processor, and data transfer control method
JP4446968B2 (en) Data processing device
WO2016039198A1 (en) Access control method, bus system, and semiconductor device
JPWO2014115277A1 (en) Storage apparatus and storage apparatus control method
CN111625411A (en) Semiconductor device and debug system
US10261700B1 (en) Method and apparatus for streaming buffering to accelerate reads
WO2012098655A1 (en) Data writing control device, data writing control method, and information processing device
JP5917325B2 (en) Bridge circuit
JP2009271623A (en) Semiconductor storage device and computer system
JP6626216B2 (en) controller
JP2010072888A (en) Dma transfer control system
JP5656589B2 (en) Data transfer device, data transfer method, and data transfer program
JP2007018440A (en) Architecture verification apparatus
JP2010262431A (en) Access method of and access control device for dual port memory
JP6471018B2 (en) Control device, storage device, memory controller, sub-processor, main processor, and control program
JP5439742B2 (en) System controller, semiconductor device, and interface test method