JPH0991192A - Memory controller - Google Patents

Memory controller

Info

Publication number
JPH0991192A
JPH0991192A JP24157095A JP24157095A JPH0991192A JP H0991192 A JPH0991192 A JP H0991192A JP 24157095 A JP24157095 A JP 24157095A JP 24157095 A JP24157095 A JP 24157095A JP H0991192 A JPH0991192 A JP H0991192A
Authority
JP
Japan
Prior art keywords
filling
fill
memory
cpu
access
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
JP24157095A
Other languages
Japanese (ja)
Inventor
Satoshi Watanabe
敏 渡辺
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.)
NEC Solution Innovators Ltd
Original Assignee
NEC Software Chubu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Software Chubu Ltd filed Critical NEC Software Chubu Ltd
Priority to JP24157095A priority Critical patent/JPH0991192A/en
Publication of JPH0991192A publication Critical patent/JPH0991192A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent management information from being enlarged by providing a memory controller for mediating a filling processing by a background device and memory access from a CPU. SOLUTION: When a CPU 10 desires to fill a filling area 16 inside a memory 14 with certain filling data, the CPU 10 searches a free entry inside a filling area management table 13, marks the entry while using and then, sets the leading address of the filling area 16, a length and the filling data. At the point of time, the CPU 10 ends a filling operation. When the entry is detected, a background filling device 12 starts the filling processing of the filling area 16. In this case, even while the filling processing to the filling area 16 by the background filling device 12 is performed, the CPU 10 can perform read or write to the filling area 16. Access mediation at the time is performed by this memory controller 11.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明はコンピュータシステ
ムにおけるメモリ制御装置に関し、特にメモリ装置を特
定の値でフィルする制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory controller in a computer system, and more particularly to a controller for filling a memory device with a specific value.

【0002】[0002]

【従来の技術】従来のこの種のメモリ制御装置は、例え
ば、公開特許公報“メモリ制御回路”(平4−9745
5)に記載されているように、メモリ領域の0化を高速
化することを目的として、複数のメモリチップに同時に
並列に0データを書き込む技術や、あるいはさらにメモ
リ領域の0化を高速化するために、公開特許公報“メモ
リ装置”(昭59−186015)に記載されているよ
うに、実際にメモリ領域を0クリアするのではなく、0
クリアするアドレスをアドレスメモリに記憶させ、この
アドレスが登録されている場合には、読み出しアドレス
をメモリ本体に供給させないようにして、疑似的に0ク
リアする技術が代表的なものとして挙げることができ
る。
2. Description of the Related Art A conventional memory control device of this type is disclosed, for example, in Japanese Patent Laid-Open Publication No. Hei 4-9745.
As described in 5), a technique for simultaneously writing 0 data in parallel to a plurality of memory chips for the purpose of speeding up the memory area zeroization, or further speeding up the memory area zeroing Therefore, as described in Japanese Patent Laid-Open Publication No. "Memory Device" (SHO 59-186015), the memory area is not actually cleared to 0, but 0
A typical technique is to store an address to be cleared in an address memory and, when this address is registered, prevent the read address from being supplied to the memory body and artificially clear the address to zero. .

【0003】[0003]

【発明が解決しようとする課題】上述した従来のメモリ
制御装置は、前者では、メモリ領域の0化が終了するま
で、CPUは先の処理に進めないという欠点があり、ま
た後者では、フィル済領域内にランダムに書き込みが行
われると、フィルされた部分とされていない部分の管理
情報が大きくなるという問題があった。
The above-mentioned conventional memory control device has a drawback that the CPU cannot proceed to the previous process until the memory area is completely zeroed in the former case, and the latter has been filled. When writing is performed randomly in the area, there is a problem that the management information of the filled portion and the non-filled portion becomes large.

【0004】[0004]

【課題を解決するための手段】第1の発明は、CPUと
メモリを備えたコンピュータシステムにおけるメモリ制
御装置において、前記CPUからの指示により前記メモ
リにおける指定された値でフィルすべきフィル領域の情
報を保持するフィル領域管理テーブルと、前記フィル領
域管理テーブルの前記フィル領域の情報に従って前記フ
ィル領域のフィル処理を実行するバックグラウンドフィ
ル装置と、前記バックグラウンド装置によるフィル処理
と前記CPUからのメモリアクセスを調停するメモリコ
ントローラとを備えたことを特徴とする。
According to a first aspect of the present invention, in a memory control device in a computer system including a CPU and a memory, information on a fill area to be filled with a specified value in the memory according to an instruction from the CPU. A fill area management table for holding the background area, a background fill device for performing a fill processing of the fill area according to the information of the fill area of the fill area management table, a fill processing by the background apparatus, and a memory access from the CPU And a memory controller that arbitrates.

【0005】また、第2の発明は第1の発明において、
前記メモリコントローラは、前記CPUのアクセス対象
が前記フィル領域の外にある場合は通常のアクセスを実
行し、前記アクセス対象が前記フィル領域の中にある場
合であって、該アクセスが読み出しの場合は前記CPU
にフィルデータを返却し、該アクセスが書き込みの場合
はアクセス部分のフィルが終了するまで待機した上で書
き込み動作を実行することを特徴とする。
The second invention is the same as the first invention.
The memory controller executes a normal access when the access target of the CPU is outside the fill area, and when the access target is inside the fill area and the access is read. The CPU
It is characterized in that the fill data is returned to, and when the access is writing, the writing operation is executed after waiting until the filling of the access portion is completed.

【0006】[0006]

【発明の実施の形態】次に、本発明について図面を参照
して説明する。
Next, the present invention will be described with reference to the drawings.

【0007】図1は本発明の一実施例を示すブロック
図、図2は図1におけるメモリコントローラ11の動作
フロー図である。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is an operation flow chart of the memory controller 11 in FIG.

【0008】図1を参照すると、本実施例は、メモリ読
み書きを行うCPU10と、メモリ装置14と、メモリ
バス15と、指定された値でフィルすべきメモリ領域を
保持するフィル領域管理テーブル13と、フィル領域管
理テーブルの内容に従ってバックグラウンドでメモリフ
ィルを実行するバックグラウンドフィル装置12と、バ
ックグラウンドでのフィル操作とCPUからのメモリア
クセスを調停するメモリコントローラ11とから構成さ
れる。
Referring to FIG. 1, in this embodiment, a CPU 10 for reading and writing memory, a memory device 14, a memory bus 15, and a fill area management table 13 for holding a memory area to be filled with a designated value. A background fill device 12 that executes memory fill in the background according to the contents of the fill area management table, and a memory controller 11 that arbitrates the fill operation in the background and memory access from the CPU.

【0009】CPU10がメモリ14内のフィル領域1
6をあるフィルデータでフィルしたい時、CPU10
は、フィル領域管理テーブル13内の空きエントリを探
し、そのエントリを使用中にマークした上で、フィル領
域16の先頭アドレス、長さ、フィルデータを設定す
る。こと時点でCPU10は、フィル作業は終了する。
バックグラウンドフィル装置12はこのエントリを検出
すると、フィル装置16のフィル処理を開始する。フィ
ルが完了すると該当するフィル領域管理テーブル13中
のエントリは再び空きとなり、将来フィルが発生した場
合に使用される。
The CPU 10 causes the fill area 1 in the memory 14 to be filled.
When you want to fill 6 with certain fill data, CPU10
Searches for an empty entry in the fill area management table 13, marks the entry as being used, and then sets the start address, length, and fill data of the fill area 16. At that point, the CPU 10 finishes the filling operation.
When the background filling device 12 detects this entry, the filling process of the filling device 16 is started. When the filling is completed, the corresponding entry in the fill area management table 13 becomes empty again, and is used when a filling occurs in the future.

【0010】バックグラウンドフィル装置12によるフ
ィル領域16へのフィル処理が行われている最中にも、
CPU10はフィル領域16に対して読み出しあるいは
書き込みを行うことができる。この時のアクセス調停
は、メモリコントローラ11によって行われる。
Even while the background area filling device 12 is performing the filling process on the filling area 16,
The CPU 10 can read from or write to the fill area 16. The access arbitration at this time is performed by the memory controller 11.

【0011】次に、メモリコントローラ11の処理の流
れを図2を用いて説明する。
Next, the processing flow of the memory controller 11 will be described with reference to FIG.

【0012】ステップ21は、CPUからのアクセスが
フィル領域内の一部に対するものがどうかを判定する。
アクセス対象がフィル領域の外にある場合はステップ2
6に移行し、通常のアクセスを実行し処理を終える。ア
クセス対象がフィル領域の中にある場合には、さらにス
テップ22において、アクセスが読み出しか書き込みか
を判定する。アクセスが読み出しの場合は、ステップ2
5に移行し、CPUにフィルデータを返却し、処理を終
了する。アクセスが書き込みの場合は、ステップ23に
移行し、アクセス部分のフィルが終了するまで待機した
上で、ステップ24に移行し、書き込み動作を実行して
処理を終了する。この時、フィル領域終端までのフィル
処理を待つ必要はない。
In step 21, it is judged whether the access from the CPU is to a part of the fill area.
Step 2 if the access target is outside the fill area
Then, the process proceeds to 6 to execute a normal access and finish the process. If the access target is in the fill area, it is further determined in step 22 whether the access is read or write. If the access is read, step 2
5, the fill data is returned to the CPU, and the process ends. If the access is writing, the process proceeds to step 23, waits until the filling of the access portion is completed, and then proceeds to step 24 to execute the write operation and terminate the process. At this time, it is not necessary to wait for the fill processing up to the end of the fill area.

【0013】上述したように、本発明により、メモリフ
ィル中であっても、CPUは読み出し、書き込みを実行
することが可能になる。
As described above, according to the present invention, the CPU can read and write even during the memory filling.

【0014】[0014]

【発明の効果】以上説明したように、本発明のメモリ制
御装置は、メモリのフィル時間を見掛け上0にすること
ができ、また、メモリのフィルが実行されている間もC
PUはあたかもフィルが既に終了したかのように自由に
メモリにアクセスすることができ、管理情報も大きくな
らない効果がある。
As described above, the memory control device of the present invention can apparently reduce the memory fill time to 0, and the memory C can be filled while the memory is being filled.
The PU can freely access the memory as if the fill has been completed, and the management information does not become large.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

【図2】図1のメモリコントローラの動作を示す処理フ
ロー図である。
FIG. 2 is a process flow chart showing an operation of the memory controller of FIG.

【符号の説明】[Explanation of symbols]

10 CPU 11 メモリコントローラ 12 バックグラウンドフィル装置 13 フィル領域管理テーブル 14 メモリ 15 メモリバス 16 フィル領域 10 CPU 11 Memory Controller 12 Background Fill Device 13 Fill Area Management Table 14 Memory 15 Memory Bus 16 Fill Area

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 CPUとメモリを備えたコンピュータシ
ステムにおけるメモリ制御装置において、前記CPUか
らの指示により前記メモリにおける指定された値でフィ
ルすべきフィル領域の情報を保持するフィル領域管理テ
ーブルと、前記フィル領域管理テーブルの前記フィル領
域の情報に従って前記フィル領域のフィル処理を実行す
るバックグラウンドフィル装置と、前記バックグラウン
ド装置によるフィル処理と前記CPUからのメモリアク
セスを調停するメモリコントローラとを備えたことを特
徴とするメモリ制御装置。
1. In a memory control device in a computer system including a CPU and a memory, a fill area management table holding information on a fill area to be filled with a specified value in the memory according to an instruction from the CPU, A background fill device that executes a fill process of the fill region according to the information of the fill region in the fill region management table, and a memory controller that arbitrates the fill process by the background device and the memory access from the CPU And a memory control device.
【請求項2】 前記メモリコントローラは、前記CPU
のアクセス対象が前記フィル領域の外にある場合は通常
のアクセスを実行し、前記アクセス対象が前記フィル領
域の中にある場合であって、該アクセスが読み出しの場
合は前記CPUにフィルデータを返却し、該アクセスが
書き込みの場合はアクセス部分のフィルが終了するまで
待機した上で書き込み動作を実行することを特徴とする
請求項1記載のメモリ制御装置。
2. The memory controller is the CPU
If the access target is outside the fill area, a normal access is executed, and if the access target is inside the fill area and the access is read, the fill data is returned to the CPU. The memory control device according to claim 1, wherein when the access is a write, the write operation is executed after waiting until the filling of the access portion is completed.
JP24157095A 1995-09-20 1995-09-20 Memory controller Pending JPH0991192A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24157095A JPH0991192A (en) 1995-09-20 1995-09-20 Memory controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24157095A JPH0991192A (en) 1995-09-20 1995-09-20 Memory controller

Publications (1)

Publication Number Publication Date
JPH0991192A true JPH0991192A (en) 1997-04-04

Family

ID=17076299

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24157095A Pending JPH0991192A (en) 1995-09-20 1995-09-20 Memory controller

Country Status (1)

Country Link
JP (1) JPH0991192A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5888889A (en) * 1981-11-19 1983-05-27 Toshiba Corp Electronic computer
JPS59108157A (en) * 1982-12-14 1984-06-22 Toshiba Corp Electronic computer
JPS62298990A (en) * 1986-06-18 1987-12-26 Fujitsu Ltd High speed memory device
JPH01292451A (en) * 1988-05-19 1989-11-24 Nec Corp Information processor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5888889A (en) * 1981-11-19 1983-05-27 Toshiba Corp Electronic computer
JPS59108157A (en) * 1982-12-14 1984-06-22 Toshiba Corp Electronic computer
JPS62298990A (en) * 1986-06-18 1987-12-26 Fujitsu Ltd High speed memory device
JPH01292451A (en) * 1988-05-19 1989-11-24 Nec Corp Information processor

Similar Documents

Publication Publication Date Title
US6553487B1 (en) Device and method for performing high-speed low overhead context switch
EP0542417A1 (en) Method and direct memory access controller for asynchronously reading/writing data from/to a memory with improved throughput
USRE40261E1 (en) Apparatus and method of partially transferring data through bus and bus master control device
JPH0798663A (en) Asynchronous i/o control system
JPH0991192A (en) Memory controller
US20080209085A1 (en) Semiconductor device and dma transfer method
JP3130798B2 (en) Bus transfer device
US5579495A (en) Information processing in which a simulation of parallelism is achieved
JPS6148741B2 (en)
EP0382529A2 (en) Microprocessor having store buffer
JPH07152574A (en) Program loading system
JPH05257807A (en) Cache memory controller
JPH0736806A (en) Dma system
JP2710219B2 (en) DMA controller
JPS6345654A (en) Invalidation processing system for information processor
JP2584528Y2 (en) Information processing device
JPH04107634A (en) Memory data bypass control system
JPS58205258A (en) Data processor
JPH0775017B2 (en) Memory access method
JPH0431944A (en) Electronic file system
JPH0399322A (en) Instruction prefetching system at the time of processing interruption
JPH05100842A (en) Instruction processor
JPH08123725A (en) Write-back type cache system
JPH08249024A (en) Programmable controller
JPH0334014A (en) Management reference method for screen format data

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19980224