JPH0749817A - Dma transfer controller - Google Patents

Dma transfer controller

Info

Publication number
JPH0749817A
JPH0749817A JP5195820A JP19582093A JPH0749817A JP H0749817 A JPH0749817 A JP H0749817A JP 5195820 A JP5195820 A JP 5195820A JP 19582093 A JP19582093 A JP 19582093A JP H0749817 A JPH0749817 A JP H0749817A
Authority
JP
Japan
Prior art keywords
bus
signal
dma transfer
input
output 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
JP5195820A
Other languages
Japanese (ja)
Inventor
Naofumi Yazaki
直文 矢崎
Shigenori Watari
亘  重範
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.)
Hitachi Instruments Engineering Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Instruments Engineering Co Ltd
Hitachi 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 Hitachi Instruments Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Instruments Engineering Co Ltd
Priority to JP5195820A priority Critical patent/JPH0749817A/en
Publication of JPH0749817A publication Critical patent/JPH0749817A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reset an input/output device which is hungup during DMA transfer. CONSTITUTION:A central processor 1 consists of an arithmetic unit 2, a storage device 3, a data connecting device 4 which connects data of a CPU bus and a system bus, a bus controller 5, and in the data processor having an input/ output device 6 connected to the system bus, the bus controller is provided with a means which monitors time. When the DMA transfer time of the input/ output device exceeds a prescribed time, a bus abandonment signal, a system reset signal, and a bus time-out signal are outputted.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、システムバスに中央処
理装置と入出力装置が接続されるデータ処理装置におけ
るDMA転送の制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a DMA transfer control device in a data processing device in which a central processing unit and an input / output device are connected to a system bus.

【0002】[0002]

【従来の技術】中央処理装置は、演算処理を実行する演
算装置と、CPUバス関介して、演算処理に必要なデー
タを記憶する記憶装置と、CPUバスとシステムバスの
データを接続するデータ接続装置と、DMA転送におけ
るバス権を制御するバス制御装置とからなり、システム
バスには、中央処理装置と、DAM転送を実行可能な入
出力装置で構成されるデータ処理装置において、DMA
転送を行う入出力装置は、バス要求信号をシステムバス
へ送出し、バス制御装置は、そのバス要求信号を受け、
バス許可信号を出力する。入出力装置は、バス許可によ
りバス権を取り、バスを使用するためバス使用中信号を
送出し、データ転送を開始する。データ転送終了後バス
使用中信号を開放する。
2. Description of the Related Art A central processing unit includes an arithmetic unit for executing arithmetic processing, a storage device for storing data necessary for arithmetic processing via a CPU bus, and a data connection for connecting data of the CPU bus and system bus. In the data processing device, which comprises a central processing unit and an input / output device capable of executing a DAM transfer, the system bus includes a device and a bus control device for controlling the bus right in the DMA transfer.
The input / output device for transfer sends a bus request signal to the system bus, and the bus control device receives the bus request signal,
Output the bus permission signal. The I / O device acquires the bus right by the bus permission, sends a bus busy signal to use the bus, and starts data transfer. After the data transfer is completed, the bus busy signal is released.

【0003】前記のDMA転送において時間監視は、デ
ータ転送実行信号が有効である時間のみであった。
In the above-mentioned DMA transfer, the time monitoring is only the time when the data transfer execution signal is valid.

【0004】[0004]

【発明が解決しようとする課題】上記従来のDMA転送
制御装置の時間監視は、データ転送実行に関するものの
みであったので、入出力装置がバス要求信号を送出し、
データ転送を開始するまでの時間監視、およびデータ転
送終了からバス使用中信号を開放するまでの時間監視が
ない。
The time monitoring of the conventional DMA transfer control device described above is only related to the execution of data transfer. Therefore, the input / output device sends a bus request signal,
There is no time monitoring until the start of data transfer, and no time monitoring from the end of data transfer until the bus busy signal is released.

【0005】従って、DMA転送の実行時間内に、バス
要求信号,バス許可信号,バス使用中信号がノイズ等に
より誤動作を起こった場合、または他の入出力装置が誤
った動作をした場合等、入出力装置がバス権をとったま
まハングアップし中央処理装置が動作できないという問
題があった。
Therefore, when the bus request signal, the bus permission signal, the bus busy signal malfunctions due to noise or the like during the DMA transfer execution time, or when another input / output device malfunctions, There is a problem that the central processing unit cannot operate because the I / O device hangs up with the bus right.

【0006】本発明は、前記のハングアップの状態にな
った場合に、中央処理装置が誤動作することなく継続し
て処理でき、ハングアップ状態の入出力装置を再び使用
できるよう処理することを目的とする。
It is an object of the present invention to perform processing so that the central processing unit can continue processing without malfunctioning when the hang-up state occurs and the hang-up state input / output device can be used again. And

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
の手段を説明する。
Means for achieving the above object will be described.

【0008】図2にシステム構成例を示す。FIG. 2 shows an example of system configuration.

【0009】中央処理装置1は、演算処理を実行する演
算装置2と、CPUバスを介して、演算処理に必要なデ
ータを記憶する記憶装置3と、CPUバスとシステムバ
スのデータを接続するデータ接続装置4と、DMA転送
におけるバス権を制御するバス制御装置5とからなる。
システムバスには、中央処理装置1と、DMA転送を実
行可能な入出力装置6が接続される。データ処理装置に
おけるDMA転送は、DMA転送を行う入出力装置6
は、バス要求信号をシステムバスへ送出し、バス制御装
置5は、そのバス要求信号を受け、演算装置2の演算処
理を止めさせ、バス許可信号を出力する。入出力装置6
は、バス許可によりバス権を取り、バスを使用するため
バス使用中信号を送出し、データ転送を開始する。
The central processing unit 1 includes an arithmetic unit 2 for executing arithmetic processing, a storage unit 3 for storing data required for arithmetic processing via a CPU bus, and data for connecting data of the CPU bus and system bus. It is composed of a connection device 4 and a bus control device 5 for controlling the bus right in the DMA transfer.
A central processing unit 1 and an input / output device 6 capable of executing DMA transfer are connected to the system bus. The DMA transfer in the data processing device is performed by the input / output device 6 that performs the DMA transfer.
Sends a bus request signal to the system bus, and the bus controller 5 receives the bus request signal, stops the arithmetic processing of the arithmetic unit 2, and outputs a bus permission signal. I / O device 6
Acquires the bus right by permitting the bus, sends a bus busy signal to use the bus, and starts data transfer.

【0010】図1にバス制御装置5の構成を示す。FIG. 1 shows the configuration of the bus control device 5.

【0011】DMA転送を実行する装置の決定等バス権
を管理を行うDMA転送装置51と、システムバスから
のバス要求信号が入力されるバス要求信号入力装置52
と、バス要求信号の優先順位を決定するバス要求信号優
先順位判定装置53と、CPUバスに演算ストップ信号を
出力する演算ストップ出力装置54と、バス許可信号を
出力するバス許可信号出力装置と、タイムアウト時間を
監視するDMAタイムアウト監視装置56と、バス放棄
信号を出力するバス放棄信号出力装置57と、システム
バスにシステムリセット信号を出力するシステムリセッ
ト出力装置58と、CPUバスを介し演算装置にタイム
アウトを報告するタイムアウト出力装置59で構成され
る。
A DMA transfer device 51 that manages the bus right such as the determination of the device that executes the DMA transfer, and a bus request signal input device 52 to which a bus request signal from the system bus is input.
A bus request signal priority determination device 53 for determining the priority of the bus request signal, a calculation stop output device 54 for outputting a calculation stop signal to the CPU bus, and a bus permission signal output device for outputting a bus permission signal, A DMA timeout monitoring device 56 that monitors the timeout time, a bus abandonment signal output device 57 that outputs a bus abandonment signal, a system reset output device 58 that outputs a system reset signal to the system bus, and a time-out to the arithmetic unit via the CPU bus. The time-out output device 59 for reporting

【0012】バス制御装置5のDMAタイムアウト監視
装置56の時間監視は、図3のタイムアウト監視に示す
ように3箇所実行する。
The time monitoring of the DMA time-out monitoring device 56 of the bus control device 5 is executed at three points as shown in the time-out monitoring of FIG.

【0013】監視1 バス制御装置5がバス許可信号を
出力し、入出力装置がバス使用中信号を送出するまでを
監視する。
Monitoring 1 Monitoring is performed until the bus control device 5 outputs a bus permission signal and the input / output device transmits a bus busy signal.

【0014】監視2 入出力装置6がバス使用中信号を
送出してからデータ転送を開始するまでの時間を監視す
る。
Monitor 2 The time from the output of the bus busy signal from the input / output device 6 to the start of data transfer is monitored.

【0015】監視3 入出力装置6がデータ転送を終了
してからバス使用中信号を放出するまでの時間を監視す
る。
Monitor 3 Monitors the time from the end of the data transfer by the input / output device 6 to the release of the bus busy signal.

【0016】DMAタイムアウト監視装置56が前記の
監視時間を超えたことを検出した場合DMA制御装置5
1に報告し、DMA制御装置51は、バス放棄信号出力
装置57よりバス放棄信号を出力する。さらにシステム
バスの入出力装置6がバス放棄信号を送出してもバス権
を所有している場合には、システムバスにシステムリセ
ット出力装置58よりシステムリセット信号を出力す
る。また、DMA制御装置51は、バス放棄信号とバス
放棄信号を送出とともに、タイムアウト出力装置59で
CPUバスを介し演算装置2にバスタイムアウト信号を
報告する。
When the DMA timeout monitoring device 56 detects that the above monitoring time has been exceeded, the DMA control device 5
1, the DMA controller 51 outputs a bus abandon signal from the bus abandon signal output device 57. Further, when the input / output device 6 of the system bus outputs the bus abandon signal but has the bus right, the system reset signal is output from the system reset output device 58 to the system bus. Further, the DMA control device 51 sends a bus abandonment signal and a bus abandonment signal, and also reports a bus timeout signal to the arithmetic unit 2 via the CPU bus at the timeout output device 59.

【0017】上記のDMAタイムアウト監視により、入
出力装置が誤った動作をしバス権をとったままハングア
ップの状態であることを検出することができ、上記のバ
ス放棄信号の出力により、DMA転送中の遷移状態であ
る入出力装置を解消することができ、さらにハングアッ
プ状態である入出力装置はシステムリセット信号の出力
により、初期化することができる。この間、中央処理装
置は演算ストップ状態であり、再び演算を開始するとき
はバスタイムアウト信号によりDMA転送が異常であっ
たことがわかり、異常処理を実行する。つまり、中央処
理装置が誤動作することなく継続して処理でき、ハング
アップ状態の入出力装置を復帰させることができた。
By the above DMA time-out monitoring, it is possible to detect that the I / O device is erroneously operating and is in the hang-up state while taking the bus right. The input / output device in the middle transition state can be eliminated, and the input / output device in the hang-up state can be initialized by outputting the system reset signal. During this time, the central processing unit is in the operation stop state, and when restarting the operation, it is found that the DMA transfer is abnormal due to the bus timeout signal, and the abnormal processing is executed. In other words, the central processing unit can continue processing without malfunctioning, and the hung-up input / output device can be restored.

【0018】[0018]

【作用】図4に、DMA転送の動作フローを示し、図2
のシステム構成例を用いて説明する。
The operation flow of DMA transfer is shown in FIG.
An example of the system configuration will be described.

【0019】(ステップ1) DMA転送を実行する入
出力装置6は、バス要求信号をアサートする。
(Step 1) The input / output device 6 executing the DMA transfer asserts the bus request signal.

【0020】(ステップ2) バス制御装置5が、バス
要求信号を検出し演算装置2をストップさせ優先順位を
判定し、優先の高い要求信号に対応するバス許可信号を
出力する。
(Step 2) The bus control unit 5 detects the bus request signal, stops the arithmetic unit 2, determines the priority order, and outputs the bus permission signal corresponding to the request signal having the higher priority.

【0021】(ステップ3) DMA転送を実行する入
出力装置6は、バス許可信号を検出し、バス使用中信号
をアサートする。
(Step 3) The input / output device 6 which executes the DMA transfer detects the bus permission signal and asserts the bus busy signal.

【0022】(ステップ4) DMA転送を実行する入
出力装置6は、バス使用中信号をアサート後バス要求信
号をネゲートし、データ転送を実行する。
(Step 4) The input / output device 6 which executes the DMA transfer negates the bus request signal after asserting the bus busy signal and executes the data transfer.

【0023】(ステップ5) バス制御装置5は、バス
使用中信号を検出後、バス許可信号をネゲートする。
(Step 5) The bus control device 5 negates the bus permission signal after detecting the bus busy signal.

【0024】(ステップ6) DMA転送を実行する入
出力装置6は、データ転送終了後バス使用中信号をネゲ
ートする。
(Step 6) The input / output device 6 which executes the DMA transfer negates the bus busy signal after the data transfer is completed.

【0025】このDMA転送の動作フローで、バス制御
装置5内のDMAタイムアウト監視装置56が、時間監
視を行うのは、 監視1 (ステップ2)のバス許可信号のアサートから
(ステップ3)のバス使用中信号のアサート間 監視2 (ステップ3)のバス使用中信号のアサートか
ら(ステップ4)のデータ転送開始間 監視3 (ステップ4)のデータ転送終了から(ステッ
プ6)バス使用中信号のネゲート間 の3箇所である。
In the operation flow of this DMA transfer, the DMA time-out monitoring device 56 in the bus control device 5 performs time monitoring from the assertion of the bus permission signal of the monitoring 1 (step 2) to the bus of (step 3). While the busy signal is asserted Monitor 2 (Step 3) From the bus busy signal assertion to the data transfer start of (Step 4) From the monitoring 3 (Step 4) data transfer end (Step 6) Bus busy signal is negated There are three locations in between.

【0026】図5にDMAタイムアウト監視装置56が
タイムアウトを検出した場合の動作フローを示す。
FIG. 5 shows an operation flow when the DMA time-out monitoring device 56 detects a time-out.

【0027】(ステップ10) DMAタイムアウト監
視装置56が監視時間を超えたことを検出した。
(Step 10) The DMA timeout monitoring device 56 detects that the monitoring time has been exceeded.

【0028】(ステップ11) バス制御装置はバス放
棄信号をアサートする。
(Step 11) The bus controller asserts the bus relinquish signal.

【0029】(ステップ12) 入出力装置はバス放棄
信号を検出しDMA転送を放棄する。 (ステップ13) バス制御装置は入出力装置DMA転
送を放棄したのを確認するためバス要求信号とバス使用
中信号がネゲートされているか調査する。
(Step 12) The input / output device detects the bus abandon signal and abandons the DMA transfer. (Step 13) The bus controller checks whether or not the bus request signal and the bus busy signal are negated in order to confirm that the I / O device DMA transfer has been abandoned.

【0030】(ステップ14) (ステップ13)で入
出力装置がDMA転送を放棄していなければ、バス制御
装置からシステムリセット信号を出力する。
(Step 14) If the I / O device has not abandoned the DMA transfer in (Step 13), the bus controller outputs a system reset signal.

【0031】(ステップ15) 入出力装置はシステム
リセット信号を検出し初期化する。
(Step 15) The input / output device detects and initializes the system reset signal.

【0032】(ステップ16) (ステップ13)で入
出力装置がDMA転送を放棄した場合と(ステップ1
5)を実行した場合はバスタイムアウト信号を有効にし
て演算装置に報告する。
(Step 16) When the I / O device abandons the DMA transfer in (Step 13) and (Step 1)
When 5) is executed, the bus timeout signal is validated and reported to the arithmetic unit.

【0033】上記の動作フローにより、DMA転送の動
作,タイムアウト監視、およびタイムアウト検出後のタ
イミングは良好である。
According to the above operation flow, the DMA transfer operation, the timeout monitoring, and the timing after the timeout detection are good.

【0034】[0034]

【実施例】以下に、本発明の実施例を図面に基づいて説
明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0035】本発明のシステム構成例を図2に示す。FIG. 2 shows a system configuration example of the present invention.

【0036】中央処理装置1は、演算処理を実行する演
算装置2と、CPUバスを介して、演算処理に必要なデ
ータを記憶する記憶装置3と、CPUバスとシステムバ
スのデータを接続するデータ接続装置4と、DMA転送
におけるバス権を制御するバス制御装置5とからなる。
システムバスには、中央処理装置1と、DMA転送を実
行可能な入出力装置6が接続される。データ処理装置に
おけるDMA転送は、DMA転送を行う入出力装置6
は、バス要求信号をシステムバスへ送出し、バス制御装
置5は、そのバス要求信号を受け、演算装置2の演算処
理を止めさせ、バス許可信号を出力する。
The central processing unit 1 includes an arithmetic unit 2 for executing arithmetic processing, a storage unit 3 for storing data required for arithmetic processing via a CPU bus, and data for connecting data of the CPU bus and system bus. It is composed of a connection device 4 and a bus control device 5 for controlling the bus right in the DMA transfer.
A central processing unit 1 and an input / output device 6 capable of executing DMA transfer are connected to the system bus. The DMA transfer in the data processing device is performed by the input / output device 6 that performs the DMA transfer.
Sends a bus request signal to the system bus, and the bus controller 5 receives the bus request signal, stops the arithmetic processing of the arithmetic unit 2, and outputs a bus permission signal.

【0037】入出力装置6は、バス許可によりバス権を
取り、バスを使用するためバス使用中信号を送出し、デ
ータ転送を開始する。
The input / output device 6 acquires the bus right by the bus permission, sends a bus busy signal to use the bus, and starts data transfer.

【0038】図1にバス制御装置5の構成を示す。FIG. 1 shows the configuration of the bus controller 5.

【0039】DMA転送を実行する装置の決定等バス権
の管理を行うDMA制御装置51と、システムバスから
のバス要求信号が入力されるバス要求信号入力装置52
と、バス要求信号の優先順位を決定するバス要求信号優
先順位判定装置53と、CPUバスに演算ストップ信号を
出力する演算ストップ出力装置54と、バス許可信号を
出力するバス許可信号出力装置と、タイムアウト時間を
監視するDMAタイムアウト監視装置56と、バス放棄
信号を出力するバス放棄信号出力装置57と、システム
バスにシステムリセット信号を出力するシステムリセッ
ト出力装置58と、CPUバスを介し演算装置にタイム
アウトを報告するタイムアウト出力装置59で構成され
る。
A DMA control device 51 for managing the bus right such as a device for executing the DMA transfer and a bus request signal input device 52 for inputting a bus request signal from the system bus.
A bus request signal priority determination device 53 for determining the priority of the bus request signal, a calculation stop output device 54 for outputting a calculation stop signal to the CPU bus, and a bus permission signal output device for outputting a bus permission signal, A DMA timeout monitoring device 56 that monitors the timeout time, a bus abandonment signal output device 57 that outputs a bus abandonment signal, a system reset output device 58 that outputs a system reset signal to the system bus, and a time-out to the arithmetic unit via the CPU bus. The time-out output device 59 for reporting

【0040】バス制御装置5のDMAタイムアウト監視
装置56の時間監視は、図3のタイムアウト監視に示す
ように3箇所実行する。
The time monitoring of the DMA time-out monitoring device 56 of the bus control device 5 is executed at three points as shown in the time-out monitoring of FIG.

【0041】監視1 バス制御装置5がバス許可信号を
出力し、入出力装置がバス使用中信号を送出するまでを
監視する。
Monitoring 1 Monitoring is performed until the bus control device 5 outputs a bus permission signal and the input / output device transmits a bus busy signal.

【0042】監視2 入出力装置6がバス使用中信号を
送出してからデータ転送を開始するまでの時間を監視す
る。
Monitor 2 The time from the output of the bus busy signal from the input / output device 6 to the start of data transfer is monitored.

【0043】監視3 入出力装置6がデータ転送を終了
してからバス使用中信号を放出するまでの時間を監視す
る。
Monitoring 3 The time from the end of data transfer by the input / output device 6 to the release of the bus busy signal is monitored.

【0044】DMAタイムアウト監視装置56が前記の
監視時間を超えたことを検出した場合DMA制御装置5
1に報告し、DMA制御装置51は、バス放棄信号出力
装置57よりバス放棄信号を出力する。さらにシステム
バスの入出力装置6がバス放棄信号を送出してもバス権
を所有している場合には、システムバスにシステムリセ
ット出力装置58よりシステムリセット信号を出力す
る。また、DMA制御装置51は、バス放棄信号とバス
放棄信号を送出とともに、タイムアウト出力装置59で
CPUバスを介し演算装置2にバスタイムアウト信号を
報告する。
When the DMA timeout monitoring device 56 detects that the above monitoring time has been exceeded, the DMA control device 5
1, the DMA controller 51 outputs a bus abandon signal from the bus abandon signal output device 57. Further, when the input / output device 6 of the system bus outputs the bus abandon signal but has the bus right, the system reset signal is output from the system reset output device 58 to the system bus. Further, the DMA control device 51 sends a bus abandonment signal and a bus abandonment signal, and also reports a bus timeout signal to the arithmetic unit 2 via the CPU bus at the timeout output device 59.

【0045】図4に、DMA転送の動作フローを示す。FIG. 4 shows an operation flow of DMA transfer.

【0046】(ステップ1) DMA転送を実行する入
出力装置6は、バス要求信号をアサートする。
(Step 1) The input / output device 6 executing the DMA transfer asserts the bus request signal.

【0047】(ステップ2) バス制御装置5が、バス
要求信号を検出し演算装置2をストップさせ優先順位を
判定し、優先の高い要求信号に対応するバス許可信号を
出力する。
(Step 2) The bus control unit 5 detects the bus request signal, stops the arithmetic unit 2, determines the priority order, and outputs the bus permission signal corresponding to the request signal having the higher priority.

【0048】(ステップ3) DMA転送を実行する入
出力装置6は、バス許可信号を検出し、バス使用中信号
をアサートする。
(Step 3) The input / output device 6 executing the DMA transfer detects the bus permission signal and asserts the bus busy signal.

【0049】(ステップ4) DMA転送を実行する入
出力装置6は、バス使用中信号をアサート後バス要求信
号をネゲートし、データ転送を実行する。
(Step 4) The input / output device 6 which executes the DMA transfer negates the bus request signal after asserting the bus busy signal and executes the data transfer.

【0050】(ステップ5) バス制御装置5は、バス
使用中信号を検出後、バス許可信号をネゲートする。
(Step 5) The bus control device 5 negates the bus permission signal after detecting the bus busy signal.

【0051】(ステップ6) DMA転送を実行する入
出力装置6は、データ転送終了後バス使用中信号をネゲ
ートする。
(Step 6) The input / output device 6 which executes the DMA transfer negates the bus busy signal after the data transfer is completed.

【0052】このDMA転送の動作フローで、バス制御
装置5内のDMAタイムアウト監視装置56が、時間監
視を行うのは、 監視1 (ステップ2)のバス許可信号のアサートから
(ステップ3)のバス使用中信号のアサート間 監視2 (ステップ3)のバス使用中信号のアサートか
ら(ステップ4)のデータ転送開始間 監視3 (ステップ4)のデータ転送終了から(ステッ
プ6)バス使用中信号のネゲート間 の3箇所である。
In the operation flow of this DMA transfer, the DMA time-out monitoring device 56 in the bus control device 5 performs time monitoring from the assertion of the bus permission signal of the monitor 1 (step 2) to the bus of (step 3). While the busy signal is asserted Monitor 2 (Step 3) From the bus busy signal assertion to the data transfer start of (Step 4) From the monitoring 3 (Step 4) data transfer end (Step 6) Bus busy signal is negated There are three locations in between.

【0053】図5にDMAタイムアウト監視装置56が
タイムアウトを検出した場合の動作フローを示す。
FIG. 5 shows an operation flow when the DMA timeout monitoring device 56 detects a timeout.

【0054】(ステップ10) DMAタイムアウト監
視装置56が監視時間を超えたことを検出した。
(Step 10) The DMA timeout monitoring device 56 detects that the monitoring time has been exceeded.

【0055】(ステップ11) バス制御装置はバス放
棄信号をアサートする。
(Step 11) The bus controller asserts the bus relinquish signal.

【0056】(ステップ12) 入出力装置はバス放棄
信号を検出しDMA転送を放棄する。 (ステップ13) バス制御装置は入出力装置がDMA
転送を放棄したのを確認するめバス要求信号とバス使用
中信号がネゲートされているか調査する。
(Step 12) The input / output device detects the bus abandon signal and abandons the DMA transfer. (Step 13) The bus controller is the input / output device DMA
Investigate whether the bus request signal and the bus busy signal are negated to confirm that the transfer was abandoned.

【0057】(ステップ14) (ステップ13)で入
出力装置がDMA転送を放棄していなければ、バス制御
装置からシステムリセット信号を出力する。
(Step 14) If the I / O device has not abandoned the DMA transfer in (Step 13), the system reset signal is output from the bus controller.

【0058】(ステップ15) 入出力装置はシステム
リセット信号を検出し初期化する。
(Step 15) The input / output device detects and initializes the system reset signal.

【0059】(ステップ16) (ステップ13)で入
出力装置がDMA転送を放棄した場合と(ステップ1
5)を実行した場合はバスタイムアウト信号を有効にし
て演算装置に報告する。
(Step 16) When the I / O device abandons the DMA transfer in (Step 13) (Step 1)
When 5) is executed, the bus timeout signal is validated and reported to the arithmetic unit.

【0060】上記の構成,動作フロー,DMAタイムア
ウト監視により、入出力装置6が誤った動動をしバス権
をとったままハングアップの状態であることを検出する
ことができ、上記のバス放棄信号の出力により、DMA
転送中の遷移状態である入出力装置6を解消することが
でき、さらにハングアップ状態である入出力装置6はシ
ステムリセット信号の出力により、初期化することがで
きる。この間、中央処理装置1は演算ストップ状態であ
り、再び演算を開始するときはバスタイムアウト信号に
よりDMA転送が異常であったことがわかり、異常処理
を実行する。つまり、中央処理装置1が誤動作すること
なく継続して処理でき、ハングアップ状態の入出力装置
6を再び使用できるよう処理することができた。
By the above configuration, operation flow and DMA timeout monitoring, it is possible to detect that the I / O device 6 is erroneously operating and is in the hang-up state while taking the bus right. DMA by signal output
The I / O device 6 in the transition state during transfer can be eliminated, and the I / O device 6 in the hang-up state can be initialized by outputting the system reset signal. During this time, the central processing unit 1 is in the operation stop state, and when restarting the operation, it is found that the DMA transfer is abnormal due to the bus timeout signal, and the abnormal processing is executed. In other words, the central processing unit 1 can be continuously processed without malfunctioning, and the hung-up I / O device 6 can be processed again.

【0061】次に上記の装置の応用例について説明す
る。
Next, application examples of the above device will be described.

【0062】中央処理装置内のCPUバスにDMA転送
を実行可能な入出力装置が接続した場合でも、入出力装
置がDMA転送時にDMAタイムアウト監視装置が監視
時間を超えたことを検出したならば、DMA制御装置は
バス放棄信号出力装置よりバス放棄信号を出力すること
により、DMA転送中の遷移状態である入出力装置を解
消させることができる。
Even when an I / O device capable of executing DMA transfer is connected to the CPU bus in the central processing unit, if the I / O device detects that the DMA timeout monitoring device has exceeded the monitoring time during DMA transfer, The DMA control device can eliminate the input / output device in the transition state during the DMA transfer by outputting the bus abandonment signal from the bus abandonment signal output device.

【0063】上記の装置では、DMAタイムアウト監視
装置が監視時間を超えたことを検出した場合DMA制御
装置に報告し、DMA制御装置は、バス放棄信号出力装
置よりバス放棄信号を出力し、さらにシステムバスの入
出力装置がバス権を所有している場合には、システムバ
スにシステムリセット出力装置よりシステムリセット信
号を出力している。しかし、バス放棄信号あるいはシス
テムリセット信号の送出の一方のみで、入出力装置は復
帰できる。
In the above device, when the DMA timeout monitoring device detects that the monitoring time is exceeded, it reports to the DMA control device, the DMA control device outputs a bus abandonment signal from the bus abandonment signal output device, and the system further When the bus input / output device owns the bus right, the system reset signal is output from the system reset output device to the system bus. However, the input / output device can be recovered by only sending the bus abandon signal or the system reset signal.

【0064】[0064]

【発明の効果】以上の説明で明らかなように本発明によ
れば、従来のDMA転送制御装置の時間監視が、データ
転送実行に関するもののみであったのに対し、入出力装
置がバス要求信号が送出し、データ転送を開始するまで
の時間監視、およびデータ転送終了からバス使用中信号
を開放するまでの時間監視を設けたことにより、DMA
転送の実行時間内に、バス要求信号,バス許可信号,バ
ス使用中信号がノイズ等により誤動作が起こった場合、
または他の入出力装置が誤った動作をした場合等、入出
力装置がバス権をとったままハングアップし中央処理装
置が動作できないという問題は、解消することができ
た。つまり、入出力装置がハングアップの状態になった
場合に、中央処理装置が誤動作することなく継続して処
理でき、ハングアップ状態の入出力装置を再び使用でき
るよう復帰することができた。故に、データ処理装置が
信頼性のより高いシステムを構築することが可能になっ
た。
As is apparent from the above description, according to the present invention, the time monitoring of the conventional DMA transfer control device is only for the data transfer execution, whereas the I / O device is the bus request signal. By sending time and starting data transfer, and by monitoring the time from the end of data transfer to the release of the bus busy signal.
If the bus request signal, bus enable signal, or bus busy signal malfunctions due to noise, etc. within the transfer execution time,
Further, the problem that the central processing unit cannot operate because the I / O device hangs up with the bus right when another I / O device is erroneously operated can be solved. In other words, when the input / output device is in the hang-up state, the central processing unit can continue processing without malfunctioning, and the input / output device in the hung-up state can be restored so that it can be used again. Therefore, it becomes possible for the data processing device to construct a system with higher reliability.

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

【図1】バス制御装置の構成図である。FIG. 1 is a configuration diagram of a bus control device.

【図2】システム構成例を示す図である。FIG. 2 is a diagram showing an example of a system configuration.

【図3】タイムアウト監視を示す図である。FIG. 3 is a diagram showing timeout monitoring.

【図4】DMA転送の動作フロー図である。FIG. 4 is an operation flowchart of DMA transfer.

【図5】タイムアウト時の動作フロー図である。FIG. 5 is an operation flow diagram at the time of timeout.

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

1…中央処理装置、2…演算装置、3…主記憶装置、4
…データ接続装置、5…バス接続装置、6…入出力装
置、51…DMA制御装置、52…バス要求信号入出力
装置、53…バス要求信号優先順位判定装置、54…演
算ストップ出力装置、55…バス許可信号出力装置、5
6…DMAタイムアウト監視装置、57…バス放棄信号
出力装置、58…システムリセット出力装置、59…バ
タタイムアウト出力装置。
1 ... Central processing unit, 2 ... Arithmetic unit, 3 ... Main memory unit, 4
... data connection device, 5 ... bus connection device, 6 ... input / output device, 51 ... DMA control device, 52 ... bus request signal input / output device, 53 ... bus request signal priority determination device, 54 ... operation stop output device, 55 ... Bus permission signal output device, 5
6 ... DMA timeout monitoring device, 57 ... Bus abandonment signal output device, 58 ... System reset output device, 59 ... Butter timeout output device.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】システムバスに演算処理を実行する演算装
置にCPUバスを介して、演算処理に必要なデータを記
憶する記憶装置と、CPUバスとシステムバスのデータ
を接続するデータ接続装置と、DMA転送におけるバス
権を制御するバス制御装置とからなる中央処理装置、お
よびシステムバスのDMA転送を実行可能な入出力装置
が接続されるデータ処理装置において、前記バス制御装
置にバス使用許可信号とバス使用中信号とデータ転送実
行信号を時間監視する手段をもたせ、前記入出力装置に
よるDMA転送時間が規定時間を超えたときにバス権の
所有を放棄させるバス放棄信号を送出し、さらに、前記
入出力装置ではバス放棄信号を送出してもバス権を所有
している場合には、システムバスにシステムリセット信
号を出力し、また、バス放棄信号とシステムリセット信
号を送出とともに、CPUバスを介し演算装置にタイム
アウトを報告することを特徴とするDMA転送制御装
置。
1. A storage device for storing data necessary for arithmetic processing via a CPU bus in an arithmetic device for executing arithmetic processing on a system bus, and a data connection device for connecting data of the CPU bus and system bus. In a data processing device to which a central processing unit including a bus control device for controlling a bus right in a DMA transfer and an input / output device capable of executing a DMA transfer of a system bus are connected, a bus use enable signal is sent to the bus control device. A bus abandonment signal is transmitted which has means for time monitoring the bus busy signal and the data transfer execution signal, and abandons the ownership of the bus right when the DMA transfer time by the input / output device exceeds a specified time. The entry output device outputs a system reset signal to the system bus when the bus right is owned even if the bus abandon signal is sent, and With sending the bus abandon signal and the system reset signal, DMA transfer control apparatus characterized by reporting the timeout to the processing unit via a CPU bus.
【請求項2】システムバスに演算処理を実行する演算装
置にCPUバスを介して、演算処理に必要なデータを記
憶する記憶装置と、演算処理に必要なデータを入出力す
るDMA転送可能な入出力装置と、CPUバスとシステ
ムバスのデータを接続するデータ接続装置と、DMA転
送におけるバス権を制御するバス制御装置とからなる中
央処理装置、およびシステムバスのDMA転送を実行可
能な入出力装置が接続されるデータ処理装置において、
前記バス制御装置にバス使用許可信号とバス使用中信号
とデータ転送実行信号を時間監視する手段をもたせ、前
記入出力装置によるDMA転送時間が規定時間を超えた
ときにバス権の所有を放棄させるバス放棄信号を送出
し、入出力装置のバス権を放棄させ、さらに、システム
バスの前記入出力装置がバス権を所有している場合に
は、システムバスにシステムリセット信号を出力し、ま
た、バス放棄信号とシステムリセット信号を送出ととも
に、CPUバスを介し演算装置にタイムアウトを報告す
ることを特徴とするDMA転送制御装置。
2. A storage device for storing data required for the arithmetic processing, and a DMA transferable input / output device for inputting / outputting data required for the arithmetic processing via a CPU bus to an arithmetic device for executing the arithmetic processing on the system bus. A central processing unit comprising an output device, a data connection device for connecting the data of the CPU bus and the system bus, and a bus control device for controlling the bus right in the DMA transfer, and an input / output device capable of performing the DMA transfer of the system bus. In the data processing device to which is connected,
The bus controller is provided with means for time-monitoring a bus use permission signal, a bus busy signal, and a data transfer execution signal, and relinquishing ownership of the bus right when the DMA transfer time by the input / output device exceeds a specified time. A bus relinquish signal is sent to cause the I / O device to relinquish the bus right, and when the I / O device of the system bus has the bus right, a system reset signal is output to the system bus. A DMA transfer control device characterized in that it sends a bus abandonment signal and a system reset signal and reports a time-out to an arithmetic unit via a CPU bus.
【請求項3】システムバスに演算処理を実行する演算装
置にCPUバスを介して、演算処理に必要なデータを記
憶する記憶装置と、演算処理に必要なデータを入出力す
るDMA転送可能な入出力装置と、CPUバスとシステ
ムバスのデータを接続するデータ接続装置と、DMA転
送におけるバス権を制御するバス制御装置とからなる中
央処理装置、およびシステムバスのDMA転送を実行可
能な入出力装置が接続されるデータ処理装置において、
前記バス制御装置にバス使用許可信号とバス使用中信号
とデータ転送実行信号を時間監視する手段をもたせ、前
記入出力装置によるDMA転送時間が規定時間を超えた
ときにバス権の所有を放棄させるバス放棄信号を送出
し、入出力装置のバス権を放棄させ、同時にCPUバス
を介し演算装置にタイムアウトを報告することを特徴と
するDMA転送制御装置。
3. An arithmetic unit for executing arithmetic processing on a system bus, via a CPU bus, a storage unit for storing data necessary for arithmetic processing, and a DMA transferable input / output unit for inputting / outputting data necessary for arithmetic processing. A central processing unit comprising an output device, a data connection device for connecting the data of the CPU bus and the system bus, and a bus control device for controlling the bus right in the DMA transfer, and an input / output device capable of performing the DMA transfer of the system bus. In the data processing device to which is connected,
The bus controller is provided with means for time-monitoring a bus use permission signal, a bus busy signal, and a data transfer execution signal, and relinquishing ownership of the bus right when the DMA transfer time by the input / output device exceeds a specified time. A DMA transfer control device characterized in that a bus abandonment signal is sent to abandon the bus right of an input / output device, and at the same time, a timeout is reported to a computing device via a CPU bus.
【請求項4】システムバスに演算処理を実行する演算装
置にCPUバスを介して、演算処理に必要なデータを記
憶する記憶装置と、CPUバスとシステムバスのデータ
を接続するデータ接続装置と、DMA転送におけるバス
権を制御するバス制御装置とからなる中央処理装置、お
よびシステムバスのDMA転送を実行可能な入出力装置
が接続されるデータ処理装置において、前記バス制御装
置にバス使用許可信号とバス使用中信号とデータ転送実
行信号を時間監視する手段をもたせ、前記入出力装置に
よるDMA転送時間が規定時間を超えたときに、システ
ムバスにシステムリセット信号を出力し、同時に、CP
Uバスを介し演算装置にタイムアウトを報告することを
特徴とするDMA転送制御装置。
4. A storage device for storing data necessary for arithmetic processing via a CPU bus in an arithmetic device for executing arithmetic processing on the system bus, and a data connection device for connecting data of the CPU bus and the system bus. In a data processing device to which a central processing unit including a bus control device for controlling a bus right in a DMA transfer and an input / output device capable of executing a DMA transfer of a system bus are connected, a bus use enable signal is sent to the bus control device. A means for monitoring the bus busy signal and the data transfer execution signal is provided, and when the DMA transfer time by the input / output device exceeds a specified time, a system reset signal is output to the system bus, and at the same time, the CP
A DMA transfer control device characterized by reporting a time-out to an arithmetic unit via a U bus.
JP5195820A 1993-08-06 1993-08-06 Dma transfer controller Pending JPH0749817A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5195820A JPH0749817A (en) 1993-08-06 1993-08-06 Dma transfer controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5195820A JPH0749817A (en) 1993-08-06 1993-08-06 Dma transfer controller

Publications (1)

Publication Number Publication Date
JPH0749817A true JPH0749817A (en) 1995-02-21

Family

ID=16347546

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5195820A Pending JPH0749817A (en) 1993-08-06 1993-08-06 Dma transfer controller

Country Status (1)

Country Link
JP (1) JPH0749817A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030093766A (en) * 2002-06-05 2003-12-11 삼성전자주식회사 Method for transmitting data
US7003701B2 (en) 2001-01-23 2006-02-21 Nec Corporation System for facilitated analysis of PCI bus malfunction
JP2009529745A (en) * 2006-03-16 2009-08-20 ケーティーフリーテル・カンパニー・リミテッド IC chip supporting large capacity memory and supporting method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7003701B2 (en) 2001-01-23 2006-02-21 Nec Corporation System for facilitated analysis of PCI bus malfunction
KR20030093766A (en) * 2002-06-05 2003-12-11 삼성전자주식회사 Method for transmitting data
JP2009529745A (en) * 2006-03-16 2009-08-20 ケーティーフリーテル・カンパニー・リミテッド IC chip supporting large capacity memory and supporting method

Similar Documents

Publication Publication Date Title
JPH0749817A (en) Dma transfer controller
JPH08287030A (en) Device and method for automatically restarting multiple computer system
JP2998804B2 (en) Multi-microprocessor system
US20020129303A1 (en) Method and device for improving the reliability of a computer system
JPH1020968A (en) Selective hardware resetting circuit
JP2500217Y2 (en) I / O card abnormality detection system
JPS60134942A (en) Backup system for abnormal state
JP4499862B2 (en) Status detection method for printer having USB interface and printing system using the method
JP2746184B2 (en) Fault logging system
JPS6343560Y2 (en)
JPH04305758A (en) Information processor
JPS6318229B2 (en)
JP6475056B2 (en) Interface failure detection device, interface failure detection system, interface failure detection method, and interface failure detection program
JPH01310422A (en) Resetting circuit for microcomputer
JPH01116739A (en) Monitor equipment for cpu
JPS59202527A (en) Bus control system
JPH04326143A (en) Time-out monitor and control system for input/output instruction
KR100404283B1 (en) Microprocessor, system including microprocessor and method of controlling bus cycle of microprocessor
JPH0681039U (en) Watchdog circuit diagnostic device
JPS6388660A (en) Microprocessor system
JPH0463419B2 (en)
JPH06149686A (en) Channel interruption control system
JPH0282335A (en) Bus controller
JPS6295646A (en) Microprogram controller with run monitoring function
JPH04182835A (en) Bus monitor device for multiprocessor system