JPH01295352A - Data chain processing system - Google Patents

Data chain processing system

Info

Publication number
JPH01295352A
JPH01295352A JP63126177A JP12617788A JPH01295352A JP H01295352 A JPH01295352 A JP H01295352A JP 63126177 A JP63126177 A JP 63126177A JP 12617788 A JP12617788 A JP 12617788A JP H01295352 A JPH01295352 A JP H01295352A
Authority
JP
Japan
Prior art keywords
data
buffer
count value
next count
bus
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.)
Granted
Application number
JP63126177A
Other languages
Japanese (ja)
Other versions
JPH0650486B2 (en
Inventor
Shigeo Yamazaki
茂雄 山崎
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP63126177A priority Critical patent/JPH0650486B2/en
Publication of JPH01295352A publication Critical patent/JPH01295352A/en
Publication of JPH0650486B2 publication Critical patent/JPH0650486B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To control the frequent occurrence of data overrun faults when a peripheral control unit PCU executes a data chain DC function by considering not only the data transfer situation of the I/O bus side but that of the device side to detect the data overrun faults of the DC function. CONSTITUTION:In a PCU4 the data are transferred to a buffer 7 from an I/O bus control part 6 and a buffer input side counter 9 subtracts its count value by 1. When the data are transferred to a device transfer control part 8, a buffer output side counter 11 subtracts its count value by 1. When the count value of the counter 9 is equal to 0, a processor 14 gives an instruction to the counter 9 to set the next count value 41 via a buffer input side count register 10. If this setting operation is continued until the count value of the counter 11 is equal to 0, a DC action is continued as it is. Thus it is possible to control the frequent occurrence of the data overrun faults when the PCU4 executes the DC function.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータチェーン処理方式に関し、特にデータチ
ェーン機能をサポートする情報処理システムにおいてデ
ータオーバラン障害の検出および復旧処理を行うデータ
チェーン処理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data chain processing method, and more particularly to a data chain processing method for detecting and restoring a data overrun failure in an information processing system that supports a data chain function.

〔従来の技術〕[Conventional technology]

データチェーン機能(以下、DC機能と略記する)とは
、主記憶装置(以下、MMと略記する)の資源を有効に
活用するための機能であり、例えば、MM上に/O0バ
イトのデータエリアを必要とする場合、通常ならばMM
上のどこかに/O0バイト以上の大きさを持つ空きエリ
アを必要とするが、DCJa能は、このような場合に際
して、例えばA番地から50バイト、B番地から20バ
イト、C番地から30バイトというように、いくつかの
空きエリアを併せることにより要求されるサイズのデー
タエリアを確保しようとするものである。このようにす
れば、MM上の細かく分かれた空きエリアを有効に活用
することができる。
The data chain function (hereinafter abbreviated as DC function) is a function to effectively utilize the resources of the main memory (hereinafter abbreviated as MM). For example, the /O0 byte data area on MM If you need , normally MM
An empty area with a size of /O0 bytes or more is required somewhere above, but in such a case, DCJa functions can store, for example, 50 bytes from address A, 20 bytes from address B, and 30 bytes from address C. In this way, it attempts to secure a data area of the required size by combining several empty areas. In this way, the vacant areas on the MM can be effectively utilized.

従来、このようなりC機能は、例えば、第2図に示すよ
うなMMIOIと、中央処理装置(以下、cpuと略記
する)/O2と、M M /O1およびcpU/O2と
メモリバス121を介して接続されたl/O(入出力)
プロセッサ(以下、IOPと略記すル)/O3と、I 
OP /O3とI/Oインタフェース122を介して接
続された周辺制御袋!(以下、PCUと略記する)/O
4と、PCU/O4とデバイスインタフェース126を
介して接続されたデバイス/O5とからなる情報処理シ
ステムでは、l0P/O3の一機能として実現されてい
た。
Conventionally, such a C function has been implemented, for example, through an MMIOI, a central processing unit (hereinafter abbreviated as cpu)/O2, MM/O1 and cpU/O2, and a memory bus 121 as shown in FIG. I/O (input/output) connected to
Processor (hereinafter abbreviated as IOP)/O3 and I
Peripheral control bag connected via OP/O3 and I/O interface 122! (hereinafter abbreviated as PCU)/O
In an information processing system consisting of a PCU/O4 and a device/O5 connected via a device interface 126, the information processing system is realized as one function of the l0P/O3.

ところが、近年、V L S T  (Very  L
argeScale  I ntegrated ci
rcuit )化等による装置の小型化により、第2図
中のl0P/O3とPCU/O4とを近接させることが
可能となり、第3図に示すように、I/Oインタフェー
ス122はI/Oバス123へと変化していく傾向にあ
る。rOP/O3とPCU/O4との間がバス構造を持
つにつれて、PCU/O4は間接的ながらMMIOIの
アドレスを意識することが可能となり、従来はl0P/
O3が行っていた機能の一部を分担することが可能とな
ってくる。こうした状況下で、DC機能をPCU/O4
で行うようになってきた。換言すれば、l0P/O3は
、MMIOIまたはCPU/O2から各PCU/O4へ
の分配装置(D 1stributor)としての役割
に重きを置くようになってきた。
However, in recent years, V L S T (Very L
largeScale integrated ci
Due to the miniaturization of devices such as by converting the I/O interface 122 into an I/O bus, as shown in FIG. There is a tendency to change to 123. As the rOP/O3 and PCU/O4 have a bus structure, it becomes possible for the PCU/O4 to become aware of the MMIOI address, albeit indirectly.
It will become possible to share some of the functions performed by O3. Under these circumstances, the DC function can be transferred to PCU/O4.
I've started to do this. In other words, the l0P/O3 has come to place emphasis on its role as a distribution device (D 1 tributor) from the MMIOI or CPU/O2 to each PCU/O4.

ここで、I OP /O3で行われていたDC機能の概
要について説明する。I OP /O3では、データチ
ェーンを指示するコマンド(コマンド#l)を受理する
と、それに続(コマンド(コマンド#2)をコマンド#
lの実行終了前にM M /O1から読み出し、コマン
ド#1で指示されたデータ転送が終了すると、速やかに
次のデータ転送(コマンド#2で指示されているもの)
の準備を行う、これは、l0P/O3内のバッファの余
裕がなくなると、ただちに下位装置であるPCU/O4
側でのデータオーバラン障害につながる可能性があるの
で、即応性が要求されている。rOP/O3内の障害を
PCU/O4に伝えないようにするためには、コマンド
#1の実行が終了した時点でコマンド#2の準備が完了
していないときにはオーバラン障害(コマンドオーバラ
ン障害またはデータオーバラン障害)として処理する場
合が多い。
Here, an overview of the DC function performed in I OP /O3 will be explained. When the I OP /O3 receives a command (command #l) that instructs a data chain, it sends the following command (command #2) to the command #1.
When the data transfer specified by command #1 is completed, the next data transfer (specified by command #2) is read from M M /O1 before the execution of l is completed.
This means that when there is no more buffer space in the l0P/O3, the PCU/O4, which is a lower-level device,
Immediate response is required because it may lead to data overrun failure on the side. In order to prevent failures in the rOP/O3 from being reported to the PCU/O4, an overrun failure (command overrun failure or data In many cases, it is treated as a disability.

PCU/O4がDC機能を行うようになっても、コマン
ド#lの実行が終了した時点でコマンド#2の準備が完
了していないときにオーバラン障害として処理するとい
うI OP /O3での思想はそのままP CU /O
4での思想として受は継がれた。しかしながら、PCU
/O4側から見れば従来よりも機能が追加されたことに
なり、従来から有するプロセッサ性能では前記のような
コマンド#1の実行終了時にコマンド#2の準備が間に
合わないオーバラン障害が多発する可能性が生じてきた
Even if the PCU/O4 performs the DC function, the idea behind the IOP/O3 is that if the preparation for command #2 is not completed when the execution of command #l is completed, it will be treated as an overrun failure. P CU /O as it is
Uke was inherited as a philosophy in 4. However, PCU
From the /O4 side, this means that more functions have been added than before, and with the existing processor performance, there is a possibility that the above-mentioned overrun failure where command #2 cannot be prepared in time when command #1 finishes execution may occur frequently. has arisen.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のデータチェーン処理方式では、PCU/
O4でDCIm能を行うときにオーバラン障害の定義と
してI OP /O3での思想をそのまま受は継いでい
たので、P CU2O5でのオーバラン障害の多発、す
なわちPCU/O4の性能劣化を招く可能性が大きいと
いう欠点がある。
In the conventional data chain processing method described above, PCU/
When performing DCIm functions in O4, Uke inherited the concept of IOP/O3 as the definition of overrun failure, so there was a possibility that overrun failures would occur frequently in PCU2O5, which would lead to performance deterioration of PCU/O4. It has the disadvantage of being large.

ところで、PCU/O4とデバイス/O5との間のデー
タ転送は、デバイス/O5の性能および動作に依存する
場合が多く、一般にその性能はI/Oバス123例のデ
ータ転送性能よりも劣っている。したがって、DC機能
をPCU/O4で行う場合、PCU/O4がI/Oバス
123側のデータ転送状況とデバイス/O5側のデータ
転送状況との双方を意識することができることを利用し
て、前述のようにコマンド#1の実行終了時にコマンド
#2の準備が間に合わないオーバラン障害の場合でもデ
バイス/O5側のデータ転送が終了するまでにコマンド
#2の準備を行うことによりオーバラン障害がただちに
データオーバラン障害となることを回避することができ
る。
By the way, data transfer between the PCU/O4 and the device/O5 often depends on the performance and operation of the device/O5, and its performance is generally inferior to the data transfer performance of the I/O bus 123. . Therefore, when the DC function is performed by the PCU/O4, the above-mentioned Even in the case of an overrun failure where command #2 cannot be prepared in time when command #1 finishes executing, the overrun failure can be immediately resolved by preparing command #2 before data transfer on the device/O5 side is completed. Obstacles can be avoided.

本発明の目的は、上述の点に鑑み、DCIl能のデータ
オーバラン障害の検出に夏/Oバス側のデータ転送状況
だけでなくデバイス側のデータ転送状況をも加味するこ
とにより、PCUでDC機能を行ったときのデータオー
バラン障害の多発を抑制することができるデータチェー
ン処理方式を提供することにある。
In view of the above-mentioned points, an object of the present invention is to detect a data overrun failure of the DCI function by taking into consideration not only the data transfer status on the summer/O bus side but also the data transfer status on the device side. An object of the present invention is to provide a data chain processing method capable of suppressing frequent data overrun failures when performing the following steps.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のデータチェーン処理方式は、データチェーン機
能をサポートする情報処理システムで■/Oプロセッサ
とデバイスとの間に位置し前記■/OプロセッサとはI
/Oバスを介して接続され前記デバイスとはデバイスイ
ンタフェースを介して接続された周辺制御装置において
、前記1/Oバスとのデータ転送を前記I/Oプロセッ
サを介して主記憶装置のアドレスを意識して制御する1
/Oバス制御部と、前記!/Oバスからのデータを一時
的に保持するバッファと、前記デバイスとのデータ転送
を制御するデバイス転送制御部と、前記I/Oバスから
前記バッファへのデータの入力をカウントするバッファ
入力側カウンタと、このバッファ入力側カウンタのカウ
ントが尽きたときに続けてカウントすべき次カウント値
を格納するバッファ入力側次カウントレジスタと、前記
バッファから前記デバイスへのデータの出力をカウント
するバッファ出力側カウンタと、このバッファ出力側カ
ウンタのカウントが尽きたときに続けてカウントすべき
次カウント値を格納するバッファ出力側次カウントレジ
スタと、前記バッファ入力側カウンタおよび前記バッフ
ァ出力側カウンタのカウント0通知と前記バッファ入力
側次カウントレジスタおよび前記バッファ出力側次カウ
ントレジスタの次カウント値有効信号とを受けて次カウ
ント値セット要求、カウントオーバ通知およびデータオ
ーバラン障害通知を出力するデータオーバラン検出部と
、このデータオーバラン検出部からの前記次カウント値
セット要求、前記カウントオーバ通知および前記データ
オーバラン障害通知を受けてデータチェーン処理および
データオーバラン障害復旧処理を行うプロセッサとを有
する。
The data chain processing method of the present invention is an information processing system that supports a data chain function, and is located between a ■/O processor and a device, and the ■/O processor is an I/O processor.
In a peripheral control device connected via a /O bus and connected to the device via a device interface, data transfer to and from the 1/O bus is performed using the I/O processor using the address of the main memory. to control 1
/O bus control unit and the above! a buffer that temporarily holds data from the I/O bus, a device transfer control unit that controls data transfer with the device, and a buffer input side counter that counts data input from the I/O bus to the buffer. , a buffer input side next count register that stores the next count value to be counted continuously when the count of this buffer input side counter runs out, and a buffer output side counter that counts the output of data from the buffer to the device. , a buffer output side next count register that stores the next count value to be counted continuously when the count of this buffer output side counter runs out; a count 0 notification of the buffer input side counter and the buffer output side counter; a data overrun detection unit that outputs a next count value set request, a count over notification, and a data overrun failure notification in response to the next count value valid signal of the buffer input side next count register and the buffer output side next count register; and a processor that receives the next count value set request from the detection unit, the count over notification, and the data overrun failure notification, and performs data chain processing and data overrun failure recovery processing.

〔作用〕[Effect]

本発明のデータチェーン処理方式では、I/Oバス制御
部がI/Oバスとのデータ転送をI/Oプロセッサを介
して主記憶装置のアドレスを意識して制御し、バッファ
がI/Oバスからのデータを一時的に保持し、デバイス
転送制御部がデバイスとのデータ転送を制御し、バッフ
ァ入力側カウンタがI/Oバスからバッファへのデータ
の入力をカウントし、バッファ入力側次カウントレジス
タがバッファ入力側カウンタのカウントが尽きたときに
続けてカウントすべき次カウント値を格納し、バッファ
出力側カウンタがバッファからデバイスへのデータの出
力をカウントし、バッファ出力側次カウントレジスタが
バッファ出力側カウンタのカウントが尽きたときに続け
てカウントすべき次カウント(直を格納し、データオー
バラン検出部がバッファ入力側カウンタおよびバッファ
出力側カウンタのカウントO通知とバッファ入力側次カ
ウントレジスタおよびバッファ出力側次カウントレジス
タの次カウント値有効信号とを受けて次カウント値セッ
ト要求、カウントオーバ通知およびデータオーバラン障
害通知を出力し、プロセッサがデータオーバラン検出部
からの次カウント値セット要求、カウントオーバ通知お
よびデータオーバラン障害通知を受けてデータチェーン
処理およびデータオーバラン障害復旧処理を行う。
In the data chain processing method of the present invention, the I/O bus control unit controls data transfer to and from the I/O bus via the I/O processor, with the address of the main memory device in mind, and the buffer The device transfer control unit controls data transfer with the device, the buffer input side counter counts the input of data from the I/O bus to the buffer, and the buffer input side next count register stores the next count value to continue counting when the counter on the buffer input side runs out, the counter on the buffer output side counts the output of data from the buffer to the device, and the next count register on the buffer output side stores the next count value to continue counting when the counter on the buffer input side runs out. When the count of the counter on the side counter runs out, the next count (direction) to be counted continuously is stored, and the data overrun detection unit sends the count O notification of the counter on the buffer input side and the counter on the buffer output side, and the next count register on the buffer input side and the buffer output. Upon receiving the next count value valid signal of the side next count register, the processor outputs the next count value set request, count over notification, and data overrun failure notification, and the processor outputs the next count value set request, count over notification, and data overrun failure notification from the data overrun detection section. Upon receiving the data overrun failure notification, data chain processing and data overrun failure recovery processing are performed.

〔実施例〕〔Example〕

次に、本発明について図面を参照して詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.

第1図は、本発明の一実施例のデータチェーン処理方式
が適用された情報処理システムの構成を示すブロック図
である。この情報処理システムは、MMIと、CPU2
と、MMIおよびCPU2とメモリバス21を介して接
続されたl0P3と、l0P3とI/Oバス22を介し
て接続されたPCO2と、PCtJ4とデバイスインタ
フェース26を介して接続されたデバイス5とから、そ
の主要部が構成されている。
FIG. 1 is a block diagram showing the configuration of an information processing system to which a data chain processing method according to an embodiment of the present invention is applied. This information processing system consists of MMI and CPU2.
, l0P3 connected to MMI and CPU2 via memory bus 21, PCO2 connected to l0P3 via I/O bus 22, and device 5 connected to PCtJ4 via device interface 26, Its main parts are composed of:

PCO2は、■/Oバス22とデータバス23を介して
接続されたI/Oバス制jB部6と、I/Oバス制御部
6とデータバス24を介して接続されたバッファ7と、
バッファ7とデータバス25を介して接続されるととも
にデバイスインタフェース26に接続されたデバイス転
送制御部8と、バッファ7からデータ入力通知31を受
けてカウント(減算)するバッファ入力側カウンタ9と
、バッファ入力側カウンタ9のカウントが尽きたときに
続けてカウントすべき次カウント値41を格納するバッ
ファ入力側次カウントレジスタ/Oと、バッファ7から
データ出力通知32を受けてカウント(減算)するバッ
ファ出力側カウンタ11と、バッファ出力側カウンタ1
1のカウント値が尽きたときに続けてカウントすべき次
カウント値42を格納するバッファ出力側次カウントレ
ジスタ12と、バッファ入力側次カウントレジスタ/O
からの次カウント値有効信号51、バッファ入力側カウ
ンタ9からのカウント0通知52.バッフ1出力側カウ
ンタ11からのカウント0通知53およびバッファ出力
側次カウントレジスタ12からの次カウント値有効信号
54を受けて次カウント値セット要求61.カウントオ
ーバ通知62゜データオーバラン障害通知63および次
カウント値セット要求64を出力するデータオーバラン
検出部13と、ファームウェアにより制御されデータオ
ーバラン検出部13から出力される次カウント値セット
要求61.カウントオーバ通知62.データオーバラン
障害通知63および次カウント値セット要求64を受け
てデータチェーン処理およびデータオーバラン障害復旧
処理を行うプロセッサ14とを含んで構成されている。
The PCO 2 includes: ■ an I/O bus control jB unit 6 connected to the /O bus 22 and a data bus 23; a buffer 7 connected to the I/O bus control unit 6 and a data bus 24;
A device transfer control unit 8 connected to the buffer 7 via the data bus 25 and also connected to the device interface 26, a buffer input side counter 9 that receives data input notification 31 from the buffer 7 and counts (subtracts); A buffer input side next count register /O that stores the next count value 41 to be counted continuously when the count of the input side counter 9 is exhausted, and a buffer output that counts (subtracts) upon receiving the data output notification 32 from the buffer 7. side counter 11 and buffer output side counter 1
A buffer output side next count register 12 that stores the next count value 42 to be counted continuously when the count value 1 is exhausted, and a buffer input side next count register /O
The next count value valid signal 51 from the buffer input side counter 9, the count 0 notification 52 from the buffer input side counter 9. In response to the count 0 notification 53 from the buffer 1 output side counter 11 and the next count value valid signal 54 from the buffer output side next count register 12, a next count value set request 61. Count over notification 62゜ Data overrun detection unit 13 that outputs data overrun failure notification 63 and next count value set request 64, and next count value set request 61 that is controlled by firmware and output from data overrun detection unit 13. Countover notification 62. The processor 14 receives the data overrun failure notification 63 and the next count value set request 64 and performs data chain processing and data overrun failure recovery processing.

バッファ7は、I/Oバス制御部6からデータバス24
を介してデータが転送されるたびにデータ入力通知31
を出力し、データバス25を介してデバイス転送制御部
8にデータを転送するたびにデータ出力通知32を出力
する。
The buffer 7 is connected to the data bus 24 from the I/O bus control unit 6.
Data entry notification 31 every time data is transferred via
, and outputs a data output notification 32 every time data is transferred to the device transfer control unit 8 via the data bus 25.

バッファ入力端カウンタ9は、バッファ入力側次カウン
トレジスク/Oから設定された次カウント(a41をバ
ッファ7からデータ人力通知31が出力されるたびにカ
ウント(減算)し、カウント値が0になるとカウント0
通知52を出力する。
The buffer input end counter 9 counts (subtracts) the next count (a41) set from the buffer input side next count register/O every time the data manual notification 31 is output from the buffer 7, and when the count value becomes 0. Count 0
A notification 52 is output.

バッファ入力側次カウントレジスタlOは、プロセッサ
14により有効な次カウント値41が格納されている間
に次カウント値有効信号51をアクティブとし、バッフ
ァ入力側カウンタ9のカウント値が0になって次カウン
ト値41をバッファ入力端カウンタ9に設定すると同時
に次カウント値有効信号51をインアクティブとする。
The buffer input side next count register lO makes the next count value valid signal 51 active while the valid next count value 41 is stored by the processor 14, and when the count value of the buffer input side counter 9 becomes 0, the next count is started. At the same time as setting the value 41 in the buffer input end counter 9, the next count value valid signal 51 is made inactive.

バッファ出力側カウンタ11は、バッファ出力側次カウ
ントレジスタ12から設定された次カウント値42をバ
ッファ7からデータ出力通知32が出力されるたびにカ
ウント(減算)し、カウント値が0になるとカウント0
通知53を出力する。
The buffer output side counter 11 counts (subtracts) the next count value 42 set from the buffer output side next count register 12 every time the data output notification 32 is output from the buffer 7, and when the count value reaches 0, the count becomes 0.
A notification 53 is output.

バッファ出力側次カウントレジスタ12は、プロセッサ
14により有効な次カウント値42が格納されている間
に次カウント値有効信号54をアクティブとし、バッフ
ァ出力側カウンタ11のカウント値がOになって次カウ
ント値42をバッファ出力側カウンタ11に設定すると
同時に次カウント値有効信号54をインアクティブとす
る。
The buffer output side next count register 12 makes the next count value valid signal 54 active while the valid next count value 42 is stored by the processor 14, and when the count value of the buffer output side counter 11 becomes O, it starts the next count. At the same time as setting the value 42 in the buffer output side counter 11, the next count value valid signal 54 is made inactive.

次に、このように構成された本実施例のデータチェーン
処理方式の動作について説明する。
Next, the operation of the data chain processing system of this embodiment configured as described above will be explained.

いま、データは、MMIからメモリバス21.[OF2
.I/Oバス22.データJ’: ス23.  T /
 Q ハス制御部6.データバス24.バッファ7、デ
ータバス25.デバイス転送制御部8およびデバイスイ
ンタフェース26を介してデバイス5に転送されるもの
とする。
Data is now transferred from the MMI to the memory bus 21. [OF2
.. I/O bus 22. Data J': S23. T/
Q Lotus control unit 6. Data bus 24. Buffer 7, data bus 25. It is assumed that the data is transferred to the device 5 via the device transfer control unit 8 and the device interface 26.

データチェーン動作の開始時には、プロセッサ14は、
データチェーンを指示する最初のコマンドに基づいてバ
ッファ入力側次カウントレジスタ/Oおよびバッファ出
力側次カウントレジスタ12を介してバッファ入力側カ
ウンタ9およびバッファ出力側カウンタ11に次カウン
ト値41および42をそれぞれ設定し、I/Oバス制御
部6およびデバイス転送制御部8をそれぞれ動作させる
At the beginning of a data chain operation, processor 14:
Based on the first command instructing the data chain, the next count values 41 and 42 are sent to the buffer input side counter 9 and buffer output side counter 11 through the buffer input side next count register /O and the buffer output side next count register 12, respectively. settings, and operate the I/O bus control unit 6 and device transfer control unit 8, respectively.

I/Oバス制御部5からデータバス24を介してバッフ
ァ6にデータが転送されると、バッファ6からバッファ
入力側カウンタ9にデータ入力通知31が出力され、バ
ッファ入力側カウンタ9はカウント値を1つカウント(
減算)する。
When data is transferred from the I/O bus control unit 5 to the buffer 6 via the data bus 24, a data input notification 31 is output from the buffer 6 to the buffer input side counter 9, and the buffer input side counter 9 receives the count value. One count (
subtraction).

また、同様に、バッファ6からデータバス25を介して
デバイス転送制御部8にデータが転送されると、バッフ
ァ6からバッファ出力側カウンタ11にデータ出力通知
32が出力され、バッファ出力側カウンタ11はカウン
ト値を1つカウント(減算)する。
Similarly, when data is transferred from the buffer 6 to the device transfer control unit 8 via the data bus 25, a data output notification 32 is output from the buffer 6 to the buffer output side counter 11, and the buffer output side counter 11 Count (subtract) the count value by one.

バッファ入力側カウンタ9が動作中に、バッファ入力側
次カウントレジスタ/Oに有効な次カウント値41が格
納されていることを示す次カウント値有効信号51がア
クティブにならない場合、データオーバラン検出部13
は、バッファ入力側次カウントレジスタ/Oへの次カウ
ント値セット要求61を出力してプロセッサ14に通知
する8次カウント値セット要求61を受けたプロセッサ
14は、次のコマンドに基づく次カウント値41をバッ
ファ入力側次カウントレジスタ/Oに格納する。このた
め、バッファ入力側次カウントレジスタ/Oからの次カ
ウント値有効信号51がアクティブとなり、データオー
バラン検出部13は次カウント値セット要求61の出力
を停止する。
If the next count value valid signal 51 indicating that a valid next count value 41 is stored in the buffer input side next count register /O does not become active while the buffer input side counter 9 is operating, the data overrun detection unit 13
outputs the next count value set request 61 to the next count register/O on the buffer input side and notifies the processor 14. Upon receiving the eighth count value set request 61, the processor 14 sets the next count value 41 based on the next command. is stored in the next count register /O on the buffer input side. Therefore, the next count value valid signal 51 from the next count register /O on the buffer input side becomes active, and the data overrun detection section 13 stops outputting the next count value set request 61.

また、同様に、バッファ出力側カウンタ11が動作中に
、バッファ出力側次カウントレジスタ12に有効な次カ
ウント値42が格納されていることを示す次カウント埴
有効信号54がアクティブにならない場合、データオー
バラン検出部13は、バッファ出力側次カウントレジス
タ12への次カウント値セット要求64を出力してプロ
セッサ14に通知する。
Similarly, while the buffer output side counter 11 is operating, if the next count valid signal 54 indicating that a valid next count value 42 is stored in the buffer output side next count register 12 does not become active, the data The overrun detection unit 13 outputs a next count value set request 64 to the buffer output side next count register 12 and notifies the processor 14 .

次カウント値セット要求64を受けたプロセッサ14は
、次のコマンドに基づく次カウント値42をバッファ出
力側次カウントレジスタ12に格納する。このため、バ
ッファ出力側次カウントレジスタ12からの次カウント
値有効信号54がアクティブとなり、データオーバラン
検出部13は次カウント値セット要求64の出力を停止
する。
The processor 14 that receives the next count value set request 64 stores the next count value 42 based on the next command in the next count register 12 on the buffer output side. Therefore, the next count value valid signal 54 from the buffer output side next count register 12 becomes active, and the data overrun detection section 13 stops outputting the next count value set request 64.

このような状態から、例えば、バッファ入力側カウンタ
9のカウント値が0になると、バッファ入力側カウンタ
9は、カウントO通知52をアクティブにしてデータオ
ーバラン検出部13に通知する。
In such a state, for example, when the count value of the buffer input side counter 9 becomes 0, the buffer input side counter 9 activates the count O notification 52 and notifies the data overrun detection unit 13.

この時点では、通常はデバイス5へのデータ転送性能が
I/Oバス22のデータ転送性能より劣っているので、
デバイス5へのデータ転送をカウントするバッファ出力
側カウンタ11のカウント値はまだ0になっていないは
ずである。したがって、このような場合には、データオ
ーバラン検出部13は、ただちにカウントオーバとして
カウントオーバ通知62を出力してプロセッサ14に通
知する。このカウントオーバ通知62を受けたプロセッ
サ14は、バッファ入力側カウントレジスタlOからバ
ッファ入力側カウンタ9に次カウント値41を設定させ
る。
At this point, the data transfer performance to the device 5 is usually inferior to the data transfer performance of the I/O bus 22, so
The count value of the buffer output side counter 11 that counts data transfer to the device 5 should not yet reach 0. Therefore, in such a case, the data overrun detection unit 13 immediately outputs a count over notification 62 to notify the processor 14 of the count over. Upon receiving this count over notification 62, the processor 14 causes the buffer input side counter 9 to set the next count value 41 from the buffer input side count register IO.

この次カウント値41の設定がバッファ出力側カウンタ
11のカウント値が0になるまでに行われれば、バッフ
ァ入力側カウンタ9からのカウントO通知52はただち
に解除され、データチェーン動作はそのまま続行されて
、データオーバラン障害は回避される。
If the next count value 41 is set before the count value of the buffer output side counter 11 reaches 0, the count O notification 52 from the buffer input side counter 9 is immediately canceled and the data chain operation continues as it is. , data overrun failure is avoided.

しかし、プロセッサ14によるバッファ入力側カウンタ
9への次カウント値41の設定が間に合わずにバッファ
出力側カウンタ11のカウント値が0になった場合には
、バッファ出力側カウンタ11はカウント0通知53を
出力し、カウントO通知52および53を同時に受けた
データオーバラン検出部13は、データオーバラン障害
としてデータオーバラン障害通知63を出力してプロセ
ッサ14に通知する。このデータオーバラン障害通知6
3を受けて、プロセッサ14はデータオーバラン障害復
旧処理を行う。
However, if the next count value 41 is not set in time by the processor 14 to the buffer input side counter 9 and the count value of the buffer output side counter 11 becomes 0, the buffer output side counter 11 sends a count 0 notification 53. The data overrun detection unit 13 that outputs the count O notifications 52 and 53 at the same time outputs a data overrun failure notification 63 as a data overrun failure, and notifies the processor 14 of the data overrun failure notification 63. This data overrun failure notification 6
3, the processor 14 performs data overrun failure recovery processing.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、DC機能のデータオーバ
ラン障害の検出にI/Oバス側のデータ転送状況だけで
なくデバイス側のデータ転送状況をも加味することによ
り、pcuでDC5能を行ったときのデータオーバラン
障害の多発を抑制することができるという効果がある。
As explained above, the present invention detects data overrun failures in the DC function by taking into account not only the data transfer status on the I/O bus side but also the data transfer status on the device side. This has the effect of suppressing frequent data overrun failures.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例のデータチェーン処理方式が
適用された情報処理システムの構成を示すフ゛白ンク図
、 第2図は従来のデータチェーン処理方式が適用された情
報処理システムの一例を示すブロック図、第3図は従来
のデータチェーン処理方式が適用された情報処理システ
ムの他の例を示すブロック図である。 図において、 1・・・MM。 2・・・CPU。 3・・・IOP。 4・・・pcu。 5・・・デバイス、 6・・・I/Oバス制御部、 7・・・バッファ、 8・・・デバイス転送制御部、 9・・・バッファ入力側カウンタ、 /O・・・バッファ入力側次カウントレジスタ、11・
・・バッファ出力側カウンタ、 12・・・バッファ出力側次カウントレジスタ、13・
・・データオーバラン検出部、 14・・・プロセッサ、 21・・・メモリバス、 22・・・I/Oバス、 23〜25・データバス、 26・・・デバイスインタフェース、 31・・・データ入力通知、 32・・・データ出力通知、 41、42・次カウント値、 51、54・次カウント値有効信号、 52、53・カウント0通知、 61、64・次カウント値セット要求、62・・・カウ
ントオーバ通知、 63・・・データオーバラン障害通知である。
Fig. 1 is a blank diagram showing the configuration of an information processing system to which a data chain processing method according to an embodiment of the present invention is applied, and Fig. 2 is an example of an information processing system to which a conventional data chain processing method is applied. FIG. 3 is a block diagram showing another example of an information processing system to which the conventional data chain processing method is applied. In the figure, 1...MM. 2...CPU. 3...IOP. 4...pcu. 5... Device, 6... I/O bus control unit, 7... Buffer, 8... Device transfer control unit, 9... Buffer input side counter, /O... Buffer input side next Count register, 11.
...Buffer output side counter, 12...Buffer output side next count register, 13.
. . . Data overrun detection unit, 14 . . . Processor, 21 . , 32...Data output notification, 41, 42-Next count value, 51, 54-Next count value valid signal, 52, 53-Count 0 notification, 61, 64-Next count value set request, 62...Count Over notification, 63...Data overrun failure notification.

Claims (1)

【特許請求の範囲】 データチェーン機能をサポートする情報処理システムで
I/Oプロセッサとデバイスとの間に位置し前記I/O
プロセッサとはI/Oバスを介して接続され前記デバイ
スとはデバイスインタフェースを介して接続された周辺
制御装置において、前記I/Oバスとのデータ転送を前
記I/Oプロセッサを介して主記憶装置のアドレスを意
識して制御するI/Oバス制御部と、 前記I/Oバスからのデータを一時的に保持するバッフ
ァと、 前記デバイスとのデータ転送を制御するデバイス転送制
御部と、 前記I/Oバスから前記バッファへのデータの入力をカ
ウントするバッファ入力側カウンタと、このバッファ入
力側カウンタのカウントが尽きたときに続けてカウント
すべき次カウント値を格納するバッファ入力側次カウン
トレジスタと、前記バッファから前記デバイスへのデー
タの出力をカウントするバッファ出力側カウンタと、こ
のバッファ出力側カウンタのカウントが尽きたときに続
けてカウントすべき次カウント値を格納するバッファ出
力側次カウントレジスタと、前記バッファ入力側カウン
タおよび前記バッファ出力側カウンタのカウント0通知
と前記バッファ入力側次カウントレジスタおよび前記バ
ッファ出力側次カウントレジスタの次カウント値有効信
号とを受けて次カウント値セット要求、カウントオーバ
通知およびデータオーバラン障害通知を出力するデータ
オーバラン検出部と、 このデータオーバラン検出部からの前記次カウント値セ
ット要求、前記カウントオーバ通知および前記データオ
ーバラン障害通知を受けてデータチェーン処理およびデ
ータオーバラン障害復旧処理を行うプロセッサと、 を有することを特徴とするデータチェーン処理方式。
[Scope of Claims] An information processing system supporting a data chain function, wherein the I/O processor is located between an I/O processor and a device;
In a peripheral control unit connected to the processor via an I/O bus and to the device via a device interface, data transfer with the I/O bus is performed via the I/O processor to the main memory. an I/O bus control unit that controls the address of the I/O bus; a buffer that temporarily holds data from the I/O bus; a device transfer control unit that controls data transfer with the device; a buffer input side counter that counts the input of data from the /O bus to the buffer; and a buffer input side next count register that stores the next count value to be counted continuously when the count of this buffer input side counter runs out. , a buffer output side counter that counts the output of data from the buffer to the device, and a buffer output side next count register that stores the next count value to be counted continuously when the count of the buffer output side counter is exhausted. , upon receiving the count 0 notification of the buffer input side counter and the buffer output side counter and the next count value valid signal of the buffer input side next count register and the buffer output side next count register, a next count value set request is made, and the count is over. a data overrun detection unit that outputs a notification and a data overrun failure notification; and data chain processing and data overrun failure recovery in response to the next count value set request, the count over notification, and the data overrun failure notification from the data overrun detection unit. A data chain processing method comprising: a processor that performs processing;
JP63126177A 1988-05-24 1988-05-24 Data chain processing method Expired - Lifetime JPH0650486B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63126177A JPH0650486B2 (en) 1988-05-24 1988-05-24 Data chain processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63126177A JPH0650486B2 (en) 1988-05-24 1988-05-24 Data chain processing method

Publications (2)

Publication Number Publication Date
JPH01295352A true JPH01295352A (en) 1989-11-29
JPH0650486B2 JPH0650486B2 (en) 1994-06-29

Family

ID=14928590

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63126177A Expired - Lifetime JPH0650486B2 (en) 1988-05-24 1988-05-24 Data chain processing method

Country Status (1)

Country Link
JP (1) JPH0650486B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04308956A (en) * 1991-04-05 1992-10-30 Fujitsu Ltd Receiving buffer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04308956A (en) * 1991-04-05 1992-10-30 Fujitsu Ltd Receiving buffer
US5765187A (en) * 1991-04-05 1998-06-09 Fujitsu Limited Control system for a ring buffer which prevents overrunning and underrunning

Also Published As

Publication number Publication date
JPH0650486B2 (en) 1994-06-29

Similar Documents

Publication Publication Date Title
JP2001166950A (en) Device and method for managing interruption
JP3093293B2 (en) Information processing device interrupt method
US7752507B2 (en) Circuit arrangement and method for supporting and monitoring a microcontroller
JPH01295352A (en) Data chain processing system
JPS6048773B2 (en) Mutual monitoring method between multiple computers
JP2004310514A (en) Information processing terminal and history information saving method
JPS6290728A (en) Interruption processing method
JP2001022718A (en) Parallel processor
JPH0652130A (en) Multiprocessor system
JPH0650499B2 (en) Data transfer method between microprocessors
JP2002073350A (en) Interruption control device and method for controlling interruption
JPH0256662A (en) Memory protecting system
JPS6152752A (en) Fault display circuit
JPH06105931B2 (en) Initial program load method
JPH0223445A (en) Bus supervisory and controlling system
JPS61165160A (en) Bus controlling system
JPS61121140A (en) Detecting system for computer runaway
JPH0354374B2 (en)
JPS6180350A (en) Reception processor
JPS60108955A (en) Data transfer control device
JPS6165347A (en) Information processor
JPH03204739A (en) Microcomputer
JPH01243158A (en) Information processor
JPH03252831A (en) Method for collecting ras information by dma transfer
JPH096631A (en) Interrupt processing device