JPH0535537A - Data transfer controller - Google Patents

Data transfer controller

Info

Publication number
JPH0535537A
JPH0535537A JP3211408A JP21140891A JPH0535537A JP H0535537 A JPH0535537 A JP H0535537A JP 3211408 A JP3211408 A JP 3211408A JP 21140891 A JP21140891 A JP 21140891A JP H0535537 A JPH0535537 A JP H0535537A
Authority
JP
Japan
Prior art keywords
transfer
address
data
memory
range
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
JP3211408A
Other languages
Japanese (ja)
Other versions
JP2833884B2 (en
Inventor
Akio Otani
明雄 大谷
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 Communication Systems Ltd
Original Assignee
NEC Communication Systems 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 Communication Systems Ltd filed Critical NEC Communication Systems Ltd
Priority to JP3211408A priority Critical patent/JP2833884B2/en
Publication of JPH0535537A publication Critical patent/JPH0535537A/en
Application granted granted Critical
Publication of JP2833884B2 publication Critical patent/JP2833884B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To detect the abnormality and the fault of a transfer address while the date are transferred between an input/output device and a main storage. CONSTITUTION:A control part block 90 that received an operation instruction fetches the transferred data from an input/output device 200. When the data transferred from the device 200 are fetched by a data path part block 70, a control part 90 sends the address held by a memory address counter 54 to a main storage 300 through a memory bus 10. At the same time, a comparator 51 compares this address with the range registers 52 and 53. The counter 54 is counted up with each transfer of a single unit. Meanwhile a transfer word number counter 55 is continuously counted down until the value of the counter 55 is set at O. When both registers 52 and 53 detect the deviation from the range of a transfer address in a series of transfer operations, this fact is reported to the outside with a fault detection signal.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、主記憶装置と外部入出
力機器間のデータ転送を制御するデータ転送制御装置に
関し、特に、転送アドレスの障害検出を行なうデータ転
送制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transfer control device for controlling data transfer between a main memory device and an external input / output device, and more particularly to a data transfer control device for detecting a failure of a transfer address.

【0002】[0002]

【従来の技術】一般に、主記憶装置と入出力機器との間
のデータ転送を行なうデータ転送制御装置では、主記憶
装置内アクセスに際し、データ転送のためのアドレスを
主記憶装置へ供給している。
2. Description of the Related Art Generally, in a data transfer control device for transferring data between a main memory device and an input / output device, an address for data transfer is supplied to the main memory device when accessing in the main memory device. .

【0003】従来のデータ転送制御装置は、データ転送
に先立ち、制御用のマイクロプロセッサ(MPU)部ブ
ロックによりメモリアドレスカウンタおよび転送語数カ
ウンタが設定され、その後、制御部ブロックに起動指示
が与えられることにより、転送動作を開始する。転送が
開始されると、主記憶装置に対するアクセス毎に、メモ
リアドレスカウンタは、一単位量ずつのカウントアップ
を行ない、転送語数カウンタは、一単位量ずつのカウン
トダウンを行なう。この転送動作は、転送語数カウンタ
が0(零)になるか、障害が検出されるまで繰り返され
る。
In a conventional data transfer control device, a memory address counter and a transfer word number counter are set by a control microprocessor (MPU) block before data transfer, and then a start instruction is given to the control block. Thus, the transfer operation is started. When the transfer is started, the memory address counter counts up by one unit each time the main memory is accessed, and the transfer word number counter counts down by one unit. This transfer operation is repeated until the transfer word number counter becomes 0 (zero) or a failure is detected.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述し
た従来のデータ転送制御装置においては、転送アドレス
系の障害、例えば、メモリアドレスカウンタのカウント
アップ不良、あるいは、送出メモリアドレスの破壊、ま
たは、転送語数カウンタのカウントダウン不良などが発
生し、メモリアドレスのパリティ検査では、検出できな
かった障害により、正規のデータ領域外のアクセスが生
じ、プログラムまたはデータの破壊を引き起こす。この
種の障害は、瞬時に検出しないと、論理深度が深いので
障害が潜在化し、かなりの時間が経過しないと、異常が
検出できないし、しかも、障害部位の検出が困難であ
り、その結果、障害回復に長時間を費やすという問題が
ある。
However, in the above-mentioned conventional data transfer control device, a transfer address system failure, for example, a count-up failure of the memory address counter, a send memory address destruction, or a transfer word number. A countdown failure of the counter or the like occurs, and a failure that cannot be detected in the parity check of the memory address causes an access outside the regular data area, which causes the destruction of the program or the data. If this kind of failure is not detected instantly, the failure becomes latent because the logical depth is deep, and if a considerable time has not passed, the abnormality cannot be detected, and furthermore, it is difficult to detect the failure site. The problem is that it takes a long time to recover from a disaster.

【0005】本発明は、上記の問題点にかんがみてなさ
れたもので、転送アドレス異常を短時間で検出できるよ
うにしたデータ転送制御装置の提供を目的とする。
The present invention has been made in view of the above problems, and an object of the present invention is to provide a data transfer control device capable of detecting an abnormal transfer address in a short time.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
本発明のデータ転送制御装置は、入出力機器と主記憶装
置とのデータ転送を行なうデータ転送制御装置におい
て、主記憶装置のデータエリアを監視する下限および上
限用の二種類の範囲レジスタ回路と、転送中のメモリア
ドレスが前記二種類の範囲レジスタ間にあることを一単
位の転送毎に比較確認する比較手段と、比較手段が範囲
逸脱を検出したとき、即座に障害検出信号を送出する障
害検出信号送出手段とを備えた構成としてある。
In order to achieve the above object, a data transfer control device of the present invention has a data transfer control device for transferring data between an input / output device and a main storage device. Two kinds of range register circuits for the lower limit and the upper limit to be monitored, comparing means for comparing and confirming that the memory address being transferred is between the two kinds of range registers, and the comparing means deviates from the range. And a failure detection signal sending means for sending a failure detection signal immediately when the is detected.

【0007】また、入出力機器の入出力バスと主記憶装
置のメモリバスとの転送データをデータパス部ブロック
で取り込み、両バス間の転送を行なうデータ転送制御装
置において、一単位毎に転送データに先立つところの転
送アドレスを送信しその後一単位量のカウントアップ動
作を行なうメモリアドレスカウンタ回路と、一単位の転
送毎に転送語数の一単位量のカウントダウン動作を行な
う転送語数カウンタ回路と、データ転送エリアの下限ア
ドレスを保持する第一の範囲レジスタ回路と、データ転
送エリアの上限アドレスを保持する第二の範囲レジスタ
回路と、前記メモリアドレスカウンタ回路から送信され
たメモリアドレスをメモリバス上で監視する手段と、前
記第一および第二の範囲レジスタ回路に保持されている
二種類のメモリアドレスを読みだす手段と、前記メモリ
バス上で監視下メモリアドレスと前記二種類の範囲レジ
スタで指定された範囲とを比較する比較手段と、比較手
段が前記メモリアドレスの範囲逸脱を検出したとき、障
害信号を活性化して外部に送出する障害信号送出手段と
を備えた構成としてある。
Further, in the data transfer control device for fetching the transfer data between the input / output bus of the input / output device and the memory bus of the main storage device by the data path block and transferring between the buses, the transfer data is transferred for each unit. , A memory address counter circuit for transmitting a transfer address prior to the above and performing a count-up operation for one unit thereafter, a transfer word number counter circuit for performing a count-down operation for one unit of the transfer word number for each transfer of one unit, and a data transfer A first range register circuit that holds a lower limit address of an area, a second range register circuit that holds an upper limit address of a data transfer area, and a memory address transmitted from the memory address counter circuit are monitored on a memory bus. Means and two types of memory devices held in the first and second range register circuits. Means for reading a response, comparing means for comparing the monitored memory address on the memory bus with the range specified by the two types of range registers, and when the comparing means detects a range deviation of the memory address, And a fault signal transmitting means for activating the fault signal and transmitting the fault signal to the outside.

【0008】そしてまた、必要に応じ、障害信号送出手
段からの障害信号の送出があったとき転送アドレス送信
に引き続く転送データの送信を停止する構成としてあ
る。
Further, if necessary, the transmission of the transfer data subsequent to the transmission of the transfer address is stopped when the fault signal is transmitted from the fault signal transmitting means.

【0009】[0009]

【作用】上記構成からなるデータ転送制御装置によれ
ば、転送中のメモリアドレスが二種類の範囲レジスタ間
にあるか否かが一単位の転送毎に比較され、範囲を逸脱
したときは、障害検出信号が送出され、例えば、転送動
作を中止する等の用に供される。
According to the data transfer control device having the above configuration, whether or not the memory address being transferred is between two types of range registers is compared for each unit of transfer, and if the range is exceeded, a failure occurs. The detection signal is sent out and is used for, for example, stopping the transfer operation.

【0010】[0010]

【実施例】以下、本発明の実施例について図面を参照し
て説明する。図1は、本発明の一実施例を示すブロック
図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention.

【0011】図中、データ転送制御装置100は、外部
の主記憶装置300のメモリバス(MEM BUS)1
0、入出力機器200の入出力バス(IO BUS)3
0、内部のローカルバス20を有し、比較器51、デー
タ転送エリアの上限アドレスを保持する範囲レジスタU
52、データ転送エリアの下限アドレスを保持する範囲
レジスタL53、メモリアドレスカウンタ54、転送語
数カウンタ55、データパス部ブロック70、MPUブ
ロック80および制御部ブロック90により構成されて
いる。
In the figure, a data transfer control device 100 is a memory bus (MEM BUS) 1 of an external main storage device 300.
0, input / output bus of input / output device 200 (IO BUS) 3
0, the internal local bus 20, the comparator 51, the range register U holding the upper limit address of the data transfer area
52, a range register L53 for holding the lower limit address of the data transfer area, a memory address counter 54, a transfer word number counter 55, a data path block 70, an MPU block 80 and a control block 90.

【0012】上記メモリアドレスカウンタ54は、一単
位毎に転送データに先立つ転送アドレスを送信し、その
後、一単位量のカウントアップ動作を行なうものであ
る。また、転送語数カウンタ55は一単位の転送毎に転
送語数の一単位量のカウントダウン動作を行なうもので
ある。比較器51は、メモリアドレスカウンタ54から
送信されたメモリアドレスをメモリバス上で監視する機
能と、第一および第二の範囲レジスタ52,53に保持
されている二種類のメモリアドレスを読みだす機能と、
メモリバス上で監視されたメモリアドレスと上記二種類
の範囲レジスタ52,53で指定された範囲とを比較す
る比較機能と、メモリアドレスの範囲逸脱を検出したと
き、障害信号を活性化して外部に送出する障害信号送出
機能とを備えている。
The memory address counter 54 transmits the transfer address preceding the transfer data for each unit, and thereafter performs a count-up operation for one unit. Further, the transfer word number counter 55 counts down the transfer word number by one unit for each transfer of one unit. The comparator 51 has a function of monitoring the memory address transmitted from the memory address counter 54 on the memory bus and a function of reading out two types of memory addresses held in the first and second range registers 52 and 53. When,
A comparison function that compares the memory address monitored on the memory bus with the range specified by the two types of range registers 52 and 53, and when a range deviation of the memory address is detected, activates a fault signal to the outside. And a fault signal transmitting function for transmitting.

【0013】また、比較器51の先には、障害信号の送
出があったとき転送アドレス送信に引き続く転送データ
の送信を停止する図示外の停止回路が設けられている。
Further, ahead of the comparator 51, there is provided a stop circuit (not shown) for stopping the transmission of the transfer data following the transmission of the transfer address when the fault signal is transmitted.

【0014】このデータ転送制御装置100は、主記憶
装置300と入出力機器200間の転送制御を行なう
が、これに先立ち内部のMPU部ブロック80が、主記
憶装置300への転送先アドレスをメモリアドレスカウ
ンタ54に設定し、転送語数を転送語数カウンタ55に
設定する。また、主記憶の転送先データエリアの下限メ
モリアドレスを範囲レジスタL53に、上限メモリアド
レスを範囲レジスタU54に、それぞれ設定する。その
後、MPU部ブロック80は、転送動作開始を制御部ブ
ロック90へ指示する。
The data transfer control device 100 controls the transfer between the main storage device 300 and the input / output device 200. Prior to this, the internal MPU block 80 stores the transfer destination address to the main storage device 300 in the memory. The address counter 54 is set, and the transfer word number is set in the transfer word number counter 55. Further, the lower limit memory address and the upper limit memory address of the transfer destination data area of the main memory are set in the range register L53 and the range register U54, respectively. After that, the MPU block 80 instructs the control block 90 to start the transfer operation.

【0015】次に、入出力機器200から主記憶装置3
00への転送動作について説明する。動作指示を受けた
制御部ブロック90は、入出力機器200へ転送データ
を取りに行く。入出力機器200からの転送データが、
データパス部ブロック70に取り込まれると、制御部9
0は、メモリアドレスカウンタ54に保持されているメ
モリアドレスを、メモリバス10に載せて主記憶装置3
00へ送出する。このとき、比較器51は、メモリバス
10を監視しており範囲レジスタL53と範囲レジスタ
U54とで指定されるエリアに転送アドレスが収まって
いることの確認を行なっている。確認後、制御部ブロッ
ク90は、データパス部ブロック70に、保持されてい
る入出力機器200からの転送データを取り出して、メ
モリバス10に載せて主記憶装置300へ一単位分の転
送を行なう。
Next, from the input / output device 200 to the main storage device 3
The transfer operation to 00 will be described. Upon receiving the operation instruction, the control block 90 goes to the input / output device 200 for the transfer data. The transfer data from the input / output device 200 is
When loaded in the data path block 70, the control unit 9
0 stores the memory address held in the memory address counter 54 on the memory bus 10 and
To 00. At this time, the comparator 51 monitors the memory bus 10 and confirms that the transfer address is within the area designated by the range register L53 and the range register U54. After confirmation, the control unit block 90 takes out the transfer data from the input / output device 200 held in the data path unit block 70, puts it on the memory bus 10, and transfers it to the main storage device 300 for one unit. .

【0016】この一単位分の転送毎にメモリアドレスカ
ウンタ54は、一単位量のカウントアップ動作し、転送
語数カウンタ55は、一単位量のカウントダウン動作を
行ない、次回の転送動作に備える。この一連の動作は、
転送語数カウンタ55のカウントダウン値が“0”
(零)になるまで繰り返す。この一連の転送動作中、比
較器51は、転送アドレスの範囲検査を行なっており、
障害などによって発生する転送アドレスの逸脱を検出す
ると障害検出信号60が直ちに活性化し、外部へ報告す
るとともに、制御部ブロック90により転送アドレスに
引き続く転送データの送信動作が打ち切られる。この動
作により主記憶装置300のデータ破壊が防止できる。
For each transfer of one unit, the memory address counter 54 counts up by one unit, and the transfer word number counter 55 counts down by one unit to prepare for the next transfer operation. This series of operations is
The countdown value of the transfer word number counter 55 is "0".
Repeat until it reaches (zero). During this series of transfer operations, the comparator 51 is performing a range inspection of the transfer address,
When the deviation of the transfer address caused by a failure is detected, the failure detection signal 60 is immediately activated to report it to the outside, and the control block 90 terminates the operation of transmitting the transfer data following the transfer address. By this operation, data destruction of the main memory device 300 can be prevented.

【0017】[0017]

【発明の効果】以上説明したように本発明のデータ転送
制御装置は、一単位分の転送毎にメモリバス上に送出さ
れる転送アドレスを監視し、一個の比較器と二種類の範
囲レジスタを用いて、データ領域の範囲検査を行なうの
で、転送アドレス異常を短時間で検出できるようにな
る。そのため、障害からの回復が、大幅に短縮でき、ま
た主記憶装置のデータ破壊を未然に防ぐようにしたの
で、信頼性の向上が図れるという効果がある。
As described above, the data transfer control device of the present invention monitors the transfer address sent to the memory bus for each transfer of one unit, and uses one comparator and two range registers. By using this, the range of the data area is inspected, so that the transfer address abnormality can be detected in a short time. Therefore, recovery from a failure can be greatly shortened, and data destruction of the main memory device is prevented in advance, which has the effect of improving reliability.

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

【図1】本発明の一実施例に係るデータ転送アドレス制
御装置の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a data transfer address control device according to an embodiment of the present invention.

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

10 メモリバス(MEM BUS) 20 内部バス 30 入出力バス(IO BUSU) 51 比較器 52 範囲レジスタU 53 範囲レジスタL 54 メモリアドレスカウンタ 55 転送語数カウンタ 60 障害検出信号 70 データパス部ブロック 80 MPU部ブロック 90 制御部ブロック 100 データ転送制御装置 200 入出力機器 300 主記憶装置 10 Memory Bus (MEM BUS) 20 internal bus 30 Input / Output Bus (IO BUSU) 51 comparator 52 Range register U 53 Range register L 54 memory address counter 55 Transfer word counter 60 Fault detection signal 70 Data path block 80 MPU block 90 Control block 100 data transfer control device 200 I / O equipment 300 main memory

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 入出力機器と主記憶装置とのデータ転送
を行なうデータ転送制御装置において、主記憶装置のデ
ータエリアを監視する下限および上限用の二種類の範囲
レジスタ回路と、転送中のメモリアドレスが前記二種類
の範囲レジスタ間にあることを一単位の転送毎に比較確
認する比較手段と、比較手段が範囲逸脱を検出したと
き、即座に障害検出信号を送出する障害検出信号送出手
段とを備えたことを特徴とするデータ転送制御装置。
1. A data transfer control device for transferring data between an input / output device and a main memory device, comprising two types of range register circuits for monitoring a data area of the main memory device, a lower limit and an upper limit, and a memory being transferred. Comparing means for comparing and confirming that the address is between the two types of range registers for each unit of transfer; and fault detecting signal transmitting means for immediately transmitting a fault detecting signal when the comparing means detects a range deviation. A data transfer control device comprising:
【請求項2】 入出力機器の入出力バスと主記憶装置の
メモリバスとの転送データをデータパス部ブロックで取
り込み、両バス間の転送を行なうデータ転送制御装置に
おいて、一単位毎に転送データに先立つところの転送ア
ドレスを送信しその後一単位量のカウントアップ動作を
行なうメモリアドレスカウンタ回路と、一単位の転送毎
に転送語数の一単位量のカウントダウン動作を行なう転
送語数カウンタ回路と、データ転送エリアの下限アドレ
スを保持する第一の範囲レジスタ回路と、データ転送エ
リアの上限アドレスを保持する第二の範囲レジスタ回路
と、前記メモリアドレスカウンタ回路から送信されたメ
モリアドレスをメモリバス上で監視する手段と、前記第
一および第二の範囲レジスタ回路に保持されている二種
類のメモリアドレスを読みだす手段と、前記メモリバス
上で監視下メモリアドレスと前記二種類の範囲レジスタ
で指定された範囲とを比較する比較手段と、比較手段が
前記メモリアドレスの範囲逸脱を検出したとき、障害信
号を活性化して外部に送出する障害信号送出手段とを備
えたことを特徴とするデータ転送制御装置。
2. A data transfer control device for fetching transfer data between an input / output bus of an input / output device and a memory bus of a main memory device by a data path block and transferring between the buses, transfer data for each unit. , A memory address counter circuit for transmitting a transfer address prior to the above and performing a count-up operation for one unit thereafter, a transfer word number counter circuit for performing a count-down operation for one unit of the transfer word number for each transfer of one unit, and a data transfer A first range register circuit that holds a lower limit address of an area, a second range register circuit that holds an upper limit address of a data transfer area, and a memory address transmitted from the memory address counter circuit are monitored on a memory bus. Means and two types of memory addresses held in the first and second range register circuits Means for reading out, a comparing means for comparing the monitored memory address on the memory bus with a range specified by the two types of range registers, and a failure when the comparing means detects a deviation of the range of the memory address. A data transfer control device comprising: a fault signal transmitting means for activating a signal and transmitting the signal to the outside.
【請求項3】 障害信号送出手段からの障害信号の送出
があったとき転送アドレス送信に引き続く転送データの
送信を停止する停止手段を備えたことを特徴とする請求
項1または2記載のデータ転送制御装置。
3. The data transfer according to claim 1, further comprising stop means for stopping transmission of transfer data subsequent to transmission of the transfer address when the failure signal is transmitted from the failure signal transmitting means. Control device.
JP3211408A 1991-07-30 1991-07-30 Data transfer control device Expired - Lifetime JP2833884B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3211408A JP2833884B2 (en) 1991-07-30 1991-07-30 Data transfer control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3211408A JP2833884B2 (en) 1991-07-30 1991-07-30 Data transfer control device

Publications (2)

Publication Number Publication Date
JPH0535537A true JPH0535537A (en) 1993-02-12
JP2833884B2 JP2833884B2 (en) 1998-12-09

Family

ID=16605464

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3211408A Expired - Lifetime JP2833884B2 (en) 1991-07-30 1991-07-30 Data transfer control device

Country Status (1)

Country Link
JP (1) JP2833884B2 (en)

Also Published As

Publication number Publication date
JP2833884B2 (en) 1998-12-09

Similar Documents

Publication Publication Date Title
JPS6272248A (en) Active/standby changeover method for data transmission system
JPS629941B2 (en)
JP6563047B2 (en) Alarm processing circuit and alarm processing method
JPH0535537A (en) Data transfer controller
JP2778691B2 (en) Bus monitoring circuit
JP2513121B2 (en) Transmission device for serial bus
JP2744113B2 (en) Computer system
JP3107104B2 (en) Standby redundancy method
JPH0726762Y2 (en) Bus mismatch circuit
JP3048100B2 (en) Communication control device
JP2706027B2 (en) Programmable controller
JPS61169036A (en) System supervisory device
JP2815730B2 (en) Adapters and computer systems
JP2910264B2 (en) Abnormal reception response detection device
JPS6155748A (en) Electronic computer system
KR100408266B1 (en) Device for automatically recovering fault of computer system
JP2980550B2 (en) Communication device
JP2578186B2 (en) Diagnosis method of failure detection circuit
JPS5916302B2 (en) Check device
JPS5827538B2 (en) Mutual monitoring method
JPH04182835A (en) Bus monitor device for multiprocessor system
JPS6386329A (en) Relay operation abnormality detector
JPS6318229B2 (en)
JPH0223446A (en) Access abnormal completion response system
JPH02245939A (en) Parity inspection device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20081002

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20091002

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20091002

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20101002

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20111002

Year of fee payment: 13

EXPY Cancellation because of completion of term