JP2968727B2 - Light operation check device - Google Patents

Light operation check device

Info

Publication number
JP2968727B2
JP2968727B2 JP8199344A JP19934496A JP2968727B2 JP 2968727 B2 JP2968727 B2 JP 2968727B2 JP 8199344 A JP8199344 A JP 8199344A JP 19934496 A JP19934496 A JP 19934496A JP 2968727 B2 JP2968727 B2 JP 2968727B2
Authority
JP
Japan
Prior art keywords
write
processor
target
access
write buffer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP8199344A
Other languages
Japanese (ja)
Other versions
JPH1049426A (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.)
SHIKOKU NIPPON DENKI SOFUTOEA KK
Original Assignee
SHIKOKU NIPPON DENKI SOFUTOEA KK
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 SHIKOKU NIPPON DENKI SOFUTOEA KK filed Critical SHIKOKU NIPPON DENKI SOFUTOEA KK
Priority to JP8199344A priority Critical patent/JP2968727B2/en
Publication of JPH1049426A publication Critical patent/JPH1049426A/en
Application granted granted Critical
Publication of JP2968727B2 publication Critical patent/JP2968727B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ライト動作確認装
置、特にプロセッサからシステムリソースにデータをラ
イトする場合のライト動作確認装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a write operation check device, and more particularly to a write operation check device for writing data from a processor to system resources.

【0002】[0002]

【従来の技術】プロセッサから、メモリやI/Oデバイ
ス等のシステムリソースにデータを書き込む場合、シス
テムの制御形態によりライト動作完了の待ち合わせが生
じるときがあるが、このようなときは、従来、実動作に
影響のないエリアをダミーでリードするのが通例であ
る。これは、リード動作に関しては、ライトバッファが
全て掃き出されなければデータは受け取れないからであ
る。特開平5−282205公報では、この操作を効率
化した提案となっており、実動作に影響の無いエリアを
ダミーでリードする場合は、単なるダミーリードである
から結果は必要ではないのに、ライトバッファが空にな
った後もその結果が返って来るまで待たなければならな
い欠点を解消するべく、ダミーリード用の高速レジスタ
を設け、このレジスタをアクセスすることで、実動作に
影響の無いエリアのダミーリードを行わない様にしたも
のである。
2. Description of the Related Art When data is written from a processor to a system resource such as a memory or an I / O device, a wait for completion of a write operation may occur depending on a system control mode. Normally, an area that does not affect the operation is read with a dummy. This is because data cannot be received unless all the write buffers are flushed out in the read operation. Japanese Patent Application Laid-Open No. 5-282205 proposes an efficient operation. When an area that does not affect the actual operation is read with a dummy, the result is not necessary because it is merely a dummy read. To eliminate the disadvantage of having to wait until the result is returned even after the buffer becomes empty, a high-speed dummy read register is provided, and by accessing this register, an area that does not affect actual operation The dummy read is not performed.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上述の
ような従来技術では、ダミーリード用の高速レジスタを
設けることにより、ダミーリードを効率化するものの、
プロセッサがライト動作の完了を確認することには変わ
りはないため、システムスループットの低下は拒めない
という問題点は残る。
However, in the above-mentioned prior art, the efficiency of dummy reading is improved by providing a high-speed register for dummy reading.
Since the processor confirms completion of the write operation, there is still a problem that a decrease in system throughput cannot be refused.

【0004】本発明の目的は、プロセッサはライトバッ
ファに保留されたライトデータが全て掃き出されている
か否かの確認を、ライトバッファに保留されたライトデ
ータが完全に掃き出され、ターゲットへのライトアクセ
スが完了したか否かをチェックする専用のライトバッフ
ァ制御部状態チェックレジスタを用いて行うことによ
り、従来の様なダミーのリードサイクルを生成する必要
をなくし、システムスループットの低下を阻止するライ
ト動作確認装置を提供することにある。
[0004] It is an object of the present invention that a processor checks whether or not all the write data held in a write buffer has been flushed out, and determines whether or not the write data held in the write buffer has been completely swept out and the target has been sent to the target. By using a dedicated write buffer control unit status check register for checking whether or not the write access has been completed, there is no need to generate a dummy read cycle as in the related art, and a write for preventing a decrease in system throughput. An object of the present invention is to provide an operation check device.

【0005】[0005]

【課題を解決するための手段】本発明の装置は、プロセ
ッサからのターゲットに対するライト要求は、いったん
ライトバッファに保留され、実際にターゲットへのライ
トが完了しない時点でも、前記ライトバッファは前記プ
ロセッサに応答を返す情報処理装置におけるライト動作
確認装置において、前記プロセッサが行ったライト動作
が、実際にターゲットにまで届いて真にライト動作が完
了しているか否かを前記プロセッサが確認するときに、
前記プロセッサからのアクセスを受け、該アクセス動作
以前に前記ライトバッファに保留されたライトデータが
全て掃き出され、実際にターゲットまで届いて、ライト
動作が完了した時点で、該アクセス動作の応答信号を返
すライトバッファ制御部状態チェックレジスタを設けた
ことを特徴とする。
According to the apparatus of the present invention, a write request from a processor to a target is temporarily held in a write buffer, and even when the write to the target is not actually completed, the write buffer is transmitted to the processor. In the write operation confirmation device in the information processing device that returns a response, the write operation performed by the processor, when the processor confirms whether the write operation has actually reached the target and the write operation is truly completed,
Upon receiving the access from the processor, all the write data held in the write buffer before the access operation is swept out, and reaches the target, and when the write operation is completed, a response signal of the access operation is generated. A write buffer control unit status check register to be returned is provided.

【0006】本発明は、プロセッサはライトバッファに
保留されたライトデータが全て掃き出されているか否か
の確認を、ライトバッファに保留されたライトデータが
完全に掃き出され、ターゲットへのライトアクセスが完
了したか否かをチェックする専用のライトバッファ制御
部状態チェックレジスタを用いて行う。
According to the present invention, the processor determines whether or not all the write data held in the write buffer has been flushed out, and determines whether the write data held in the write buffer has been completely swept out and the write access to the target has been completed. This is performed using a dedicated write buffer control unit status check register for checking whether or not the writing has been completed.

【0007】[0007]

【発明の実施の形態】次に本発明の実施例について図面
を参照して詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0008】図1は本発明の一実施例の概略ブロック図
であり、プロセッサ1,ライトバッファ2,ライトバッ
ファ制御部状態レジスタ3,2つのターゲット5a,5
bから成る。ここで、ターゲットとは、メモリ,I/O
デバイス等のシステムリソースをいうものとする。
FIG. 1 is a schematic block diagram of an embodiment of the present invention, which includes a processor 1, a write buffer 2, a write buffer control unit status register 3, two targets 5a, 5
b. Here, the target is a memory, an I / O
It refers to system resources such as devices.

【0009】プロセッサ1は、システムバス4を経由し
てターゲット5a,5bへライトアクセスを実行する。
今、ターゲット5aに対してライトアクセスを実行した
とすると、ターゲット5aに目的のデータのライトが完
了する以前に、プロセッサ1からのアクセスを受ける
と、ライトバッファ2がプロセッサ1に応答を返し、プ
ロセッサ1から見て、見かけ上ライト動作が完了した様
に見える。
The processor 1 executes a write access to the targets 5a and 5b via the system bus 4.
Assuming now that a write access has been performed to the target 5a, if access from the processor 1 is received before the writing of the target data to the target 5a is completed, the write buffer 2 returns a response to the processor 1, and From the viewpoint of No. 1, it appears that the write operation has been completed.

【0010】ここで、システムの制御形態により、ライ
トバッファ2に保留されたライトデータが完全に掃き出
され、ターゲットへのライトアクセスが完了したか否か
を確認したい場合には、ライトバッファ制御部状態チェ
ックレジスタ3に対してリードもしくはライトのアクセ
スを行う。ライトバッファ制御部状態チェックレジスタ
3は、プロセッサ1からのアクセスを受けると、ライト
バッファ2の状態をチェックし、保留されたデータが全
て掃き出されるまでプロセッサ1に応答を返さない。
If the write data held in the write buffer 2 is completely swept out by the control mode of the system and it is desired to confirm whether or not the write access to the target is completed, the write buffer control unit The status check register 3 is accessed for reading or writing. When the write buffer control unit status check register 3 receives an access from the processor 1, it checks the status of the write buffer 2 and does not return a response to the processor 1 until all the held data is flushed out.

【0011】次に本実施例について、図2を用いて詳細
に説明する。
Next, this embodiment will be described in detail with reference to FIG.

【0012】図2は、ライトバッファ2とライトバッフ
ァ制御部状態チェックレジスタ3の要部を抜き出したも
のであり、ライトバッファ2はFIFO2a,ライトバ
ッファ制御部2bおよびアドレスデコーダ2cから成
る。プロセッサ1からのライト要求は、図2に示す通
り、Address/Data/転送TypeがFIF
O2に格納されることによって保留される。この時点
で、ライトバッファ制御部2bは、プロセッサ1に対し
て応答2Fを返し、見かけ上プロセッサ1からのライト
サイクルは終了する。
FIG. 2 shows the essential parts of the write buffer 2 and the write buffer control unit status check register 3. The write buffer 2 comprises a FIFO 2a, a write buffer control unit 2b and an address decoder 2c. As shown in FIG. 2, the write request from the processor 1 has Address / Data / Transfer Type set to FIFO.
Reserved by being stored in O2. At this point, the write buffer control unit 2b returns a response 2F to the processor 1, and the write cycle from the processor 1 ends apparently.

【0013】ここで、FIFO2aに保留された情報
は、ターゲットへのライトアクセスが完了した時点まで
保持される。このFIFOは、本実施例では、3段(図
2の2a1、2a2、2a3)の記憶容量を持ってお
り、先に格納されたデータは先に出力される。ターゲッ
トへのライトアクセスが完了した通知は、ターゲット
(図1の5a,5b)からライトバッファ制御部2bが
受ける。この信号を受けることと、ライトバッファ制御
部2bはFIFO2aに対して、当該情報のクリヤ指示
2Gを送出し、FIFO2aは、当該情報のクリヤを行
う。
Here, the information held in the FIFO 2a is held until the write access to the target is completed. This FIFO has a storage capacity of three stages (2a1, 2a2, 2a3 in FIG. 2) in this embodiment, and the data stored earlier is output first. The notification that the write access to the target is completed is received by the write buffer control unit 2b from the target (5a, 5b in FIG. 1). Upon receiving this signal, the write buffer control unit 2b sends a clear instruction 2G for the information to the FIFO 2a, and the FIFO 2a clears the information.

【0014】プロセッサ1からのライト要求に対して、
FIFO2aが満杯状態の時は、ライトバッファ制御部
2bがFIFO2aからの有効データの存在する段数を
示すFC信号2Hにより状態を把握し、プロセッサ1に
対して応答2Fを返さない。
In response to a write request from the processor 1,
When the FIFO 2a is full, the write buffer control unit 2b grasps the state by the FC signal 2H indicating the number of stages where valid data from the FIFO 2a exists, and does not return a response 2F to the processor 1.

【0015】今、システムの都合上、FIFO2aに保
留されているライトデータが完全に掃き出され、ターゲ
ットへのライトアクセスが完了したか否かをチェックす
る必要が生じた場合、プロセッサ1は、ライトバッファ
制御部状態チェックレジスタ3へリード2Dもしくはラ
イト2Eいずれかのアクセスを行う。この場合、アドレ
スデコード回路2Cにより、ライトバッファ制御部状態
チェックレジスタ3aへのアクセスと判別された場合
は、デコード信号2Lによりライトバッファ制御部チェ
ックレジスタ3aが選択される。
Now, if the write data held in the FIFO 2a is completely swept out for the sake of convenience of the system and it becomes necessary to check whether or not the write access to the target has been completed, the processor 1 executes the write operation. Either read 2D or write 2E is accessed to the buffer controller status check register 3. In this case, if the address decode circuit 2C determines that the write buffer control unit status check register 3a is accessed, the decode signal 2L selects the write buffer control unit check register 3a.

【0016】ライトバッファ制御部状態チェックレジス
タ3は、FIFO2aからの有効データの存在する段数
を示すFC信号2Hにより状態を把握(図2の2J)
し、FIFO2aに保留されたライトデータが完全に掃
き出され、ターゲットへのライトアクセスが完了した時
点でライトバッファ制御部2bに応答信号3Bを返す。
これを受けて、ライトバッファ制御部2bはプロセッサ
1に対して応答を返し、FIFO2aに保留されている
ライトデータが完全に掃き出され、ターゲットへのライ
トアクセスが完了したか否かのチェックが終了する。
The write buffer control unit status check register 3 grasps the status by the FC signal 2H indicating the number of stages in which valid data exists from the FIFO 2a (2J in FIG. 2).
Then, the write data held in the FIFO 2a is completely swept out, and a response signal 3B is returned to the write buffer control unit 2b when the write access to the target is completed.
In response to this, the write buffer control unit 2b returns a response to the processor 1, and the write data held in the FIFO 2a is completely swept out, and the check as to whether the write access to the target has been completed is completed. I do.

【0017】[0017]

【発明の効果】以上説明したように、本発明は、ライト
バッファに保留されたライトデータが全て掃き出されて
いるか否かの確認をライトバッファに保留されたライト
データが完全に掃き出され、ターゲットへのライトアク
セスが完了したか否かをチェックする専用のライトバッ
ファ制御部状態チェックレジスタを用いて行う構成とし
たため、従来行っていたダミーのリードサイクルを生成
する必要が無く、本来の目的であるライトバッファに保
留されたライトデータが全て掃き出された時点で、即プ
ロセッサはその状態を確認することが出来るので、ダミ
ーリードで補っていた従来と比べて、無駄な処理時間が
無くなるという効果を有する。
As described above, according to the present invention, it is determined whether or not all the write data held in the write buffer has been flushed out, and the write data held in the write buffer is completely swept out. Since it is configured to use a dedicated write buffer control unit status check register to check whether write access to the target has been completed, there is no need to generate a dummy read cycle, which has been performed conventionally, and When all the write data held in a certain write buffer has been flushed out, the processor can immediately confirm the state, so that there is no useless processing time compared to the conventional case where the dummy read compensated. Having.

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

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

【図2】図1に示した実施例の詳細図である。FIG. 2 is a detailed view of the embodiment shown in FIG.

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

1 プロセッサ 2 ライトバッファ 3 ライトバッファ制御部状態チェックレジスタ 4 システムバス 5a,5b ターゲット 2a FIFO 2b ライトバッファ制御部 2c アドレスデコーダ 3 ライトバッファ制御部状態チェックレジスタ。 1 Processor 2 Write buffer 3 Write buffer control unit status check register 4 System bus 5a, 5b Target 2a FIFO 2b Write buffer control unit 2c Address decoder 3 Write buffer control unit status check register

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 プロセッサからのターゲットに対するラ
イト要求は、いったんライトバッファに保留され、実際
にターゲットへのライトが完了しない時点でも、前記ラ
イトバッファは前記プロセッサに応答を返す情報処理装
置におけるライト動作確認装置において、 前記プロセッサが行ったライト動作が、実際にターゲッ
トにまで届いて真にライト動作が完了しているか否かを
前記プロセッサが確認するときに、前記プロセッサから
のアクセスを受け、該アクセス動作以前に前記ライトバ
ッファに保留されたライトデータが全て掃き出され、実
際にターゲットまで届いて、ライト動作が完了した時点
で、該アクセス動作の応答信号を返すライトバッファ制
御部状態チェックレジスタを設けたことを特徴とするラ
イト動作確認装置。
1. A write request from a processor to a target is temporarily held in a write buffer, and even when writing to the target is not actually completed, the write buffer checks a write operation in the information processing apparatus that returns a response to the processor. In the apparatus, when the write operation performed by the processor reaches the target and confirms whether or not the write operation is truly completed, the processor receives an access from the processor and performs the access operation. A write buffer control unit status check register that returns a response signal of the access operation is provided when all the write data previously held in the write buffer is swept out, reaches the target, and completes the write operation. A light operation check device characterized by the above-mentioned.
【請求項2】 前記アクセスがリードであることを特徴
とする請求項1記載のライト動作確認装置。
2. The write operation check device according to claim 1, wherein the access is a read.
【請求項3】 前記アクセスがライトであることを特徴
とする請求項1記載のライト動作確認装置。
3. The write operation checking device according to claim 1, wherein the access is a write.
JP8199344A 1996-07-29 1996-07-29 Light operation check device Expired - Fee Related JP2968727B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8199344A JP2968727B2 (en) 1996-07-29 1996-07-29 Light operation check device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8199344A JP2968727B2 (en) 1996-07-29 1996-07-29 Light operation check device

Publications (2)

Publication Number Publication Date
JPH1049426A JPH1049426A (en) 1998-02-20
JP2968727B2 true JP2968727B2 (en) 1999-11-02

Family

ID=16406219

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8199344A Expired - Fee Related JP2968727B2 (en) 1996-07-29 1996-07-29 Light operation check device

Country Status (1)

Country Link
JP (1) JP2968727B2 (en)

Also Published As

Publication number Publication date
JPH1049426A (en) 1998-02-20

Similar Documents

Publication Publication Date Title
US6519689B2 (en) Method and system for processing pipelined memory commands
US6766386B2 (en) Method and interface for improved efficiency in performing bus-to-bus read data transfers
US5138703A (en) Method of and apparatus for expanding system bus
JP2968727B2 (en) Light operation check device
US6871102B2 (en) Apparatus and method for verifying memory coherency of duplication processor
JPH10178626A (en) Transmitting device, server device and transmitting method
JP2731761B2 (en) Network control device
US6418491B1 (en) Apparatus and method for controlling timing of transfer requests within a data processing apparatus
JP2587586B2 (en) Data transfer method
US7395399B2 (en) Control circuit to enable high data rate access to a DRAM with a plurality of areas
JP3110024B2 (en) Memory control system
JPH0340417B2 (en)
JP2002082901A (en) Bus controller
JP2000029824A (en) Hiearchical bus system and bus converter
JP3226557B2 (en) Multiprocessor system
JPH03241442A (en) Store buffer control system
JPH0589027A (en) Write buffer provided with monitoring function
JPH0514293B2 (en)
KR0120598B1 (en) Memory board designing method and device
JP2001142840A (en) Dma controller circuit and memory control method
JPH1011405A (en) Memory access conflict control system
JPH0258647B2 (en)
JP2000207235A (en) Information processor
JPH0512121A (en) Data processor
JPH10247162A (en) Electronic computer system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990721

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070820

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080820

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080820

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090820

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees