JPS6014382B2 - data transfer device - Google Patents
data transfer deviceInfo
- Publication number
- JPS6014382B2 JPS6014382B2 JP52130890A JP13089077A JPS6014382B2 JP S6014382 B2 JPS6014382 B2 JP S6014382B2 JP 52130890 A JP52130890 A JP 52130890A JP 13089077 A JP13089077 A JP 13089077A JP S6014382 B2 JPS6014382 B2 JP S6014382B2
- Authority
- JP
- Japan
- Prior art keywords
- data transfer
- main memory
- register
- words
- memory address
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired
Links
Landscapes
- Debugging And Monitoring (AREA)
- Bus Control (AREA)
Description
【発明の詳細な説明】
本発明は、情報処理装置システムのデータ転送装置(チ
ャネル)に関し、特にデータ転送先の主記憶アドレスお
よび転送データ量を指令されてデータ転送動作を行うチ
ャネルにおける正当性保証の方式に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data transfer device (channel) of an information processing device system, and in particular, the present invention relates to a data transfer device (channel) of an information processing device system, and particularly to a method for ensuring validity in a channel that performs a data transfer operation by being instructed to specify a main memory address of a data transfer destination and an amount of data to be transferred. Regarding the method of
一般にチャネルでは、データ転送開始主記憶アドレスと
総転送語数の指定を含むデータ転送指令語が与えられる
と、入出力装置の動作速度と、そのチャネルのバッファ
能力に応じて適当な頻度で主記憶へのアクセスが行われ
る。Generally, in a channel, when a data transfer command word containing the main memory address to start data transfer and the total number of transferred words is given, data is transferred to the main memory at an appropriate frequency depending on the operating speed of the input/output device and the buffer capacity of the channel. is accessed.
その際には、1語(1回の主記憶アクセスで読み書きさ
れるデータの単位)の読み出し又は書込みを行う度毎に
主記憶アドレスの更新を行い、更に転送語数から1を減
じて残り転送語数の更新を行って〜次のデータ転送と主
記憶へのアクセスの制御を行っている。従釆、この種の
チャネルでは、上記主記憶アドレスの更新および残り転
送語数の更新はそれぞれのタイミングで一般に知られる
加減算回路を用いて実行され、この加減算結果の正当性
チェックは行われなかったり、行われるとしてもパリテ
ィ予知機能付の加減算回路によるパリティチェックが主
体であった。In this case, the main memory address is updated every time one word (a unit of data read or written in one main memory access) is read or written, and then 1 is subtracted from the number of transferred words to determine the remaining number of transferred words. Updates ~ Next data transfer and access control to main memory. Accordingly, in this type of channel, the updating of the main memory address and the number of remaining transfer words are executed at each timing using a generally known addition/subtraction circuit, and the validity of the addition/subtraction results is not checked. Even if a parity check was performed, it was mainly a parity check using an addition/subtraction circuit with a parity prediction function.
このパリティチェック方式によると、パリティ予知機能
のために加減算回路系の金物量の増大、演算速度の低下
のほか複数ビット誤りを検出する能力に欠けるという欠
点があった。本発明は従来の上記事情に鑑みてなされた
ものであり、従って本発明の目的は、デ「タ転送先アド
レスと転送語数の両者の更新結果を一括してチェックす
ることにより、上記欠点を除去し、金物の大坪魔な増加
、演算速度の低下を招くことなく、更新結果の複数ビッ
ト誤りも検出し得る正当性チェック機能を具備した新規
なデータ転送装置を提供することにある。本発明によれ
ば、入出力装置と主記憶装置の間で指令語の指定により
主記憶アドレスの昇厭又は降順にデータ転送を行う情報
処理装置において、昇順のデータ転送の指令を受取る度
にデータ転送指令語に含まれるデータ転送開始主記憶ア
ドレスと総転送語数との和を、降順のデータ転送指令を
受取る度に前記データ転送開始アドレスと総転送語数の
差を、その指令によるデータ転送が完了するまで保持す
る定数レジスタ、データ転送動作に応じて更新された主
記憶アドレスと残り転送語数とを入力として、昇順のデ
ータ転送に対しては和を、降順のデータ転送に対しては
差を、データ転送のための主記憶へのアクセスの度毎に
出力する演算回路とを設け、該演算回路出力と、前記定
数レジスタの内容を比較回路により比較し、不一致を検
出したら主記憶へのアクセスを制限するように構成され
たデータ転送装贋が与えられ、その結果、より厳密な正
当性チェックと、故障の波及防止が容易に実現される。This parity check method has disadvantages such as an increase in the amount of hardware required for the adder/subtractor circuit due to the parity prediction function, a decrease in calculation speed, and a lack of ability to detect multiple bit errors. The present invention has been made in view of the above-mentioned conventional circumstances, and an object of the present invention is to eliminate the above-mentioned drawbacks by checking the update results of both the data transfer destination address and the number of transferred words at once. However, it is an object of the present invention to provide a new data transfer device equipped with a validity check function that can detect multiple bit errors in update results without causing a large increase in hardware or a decrease in calculation speed. According to the above, in an information processing device that transfers data between an input/output device and a main memory device in ascending or descending order of main memory addresses by specifying a command word, a data transfer command word is transmitted every time a command for data transfer in ascending order is received. Each time a descending order data transfer command is received, the difference between the data transfer start address and the total number of words to be transferred is held until the data transfer by that command is completed. The main memory address updated according to the data transfer operation and the number of remaining transfer words are input, and the sum is calculated for ascending data transfer, the difference is calculated for descending data transfer, and the main memory address updated according to the data transfer operation and the number of remaining transfer words are input. an arithmetic circuit that outputs an output every time the main memory is accessed for the purpose of the present invention, and a comparison circuit compares the output of the arithmetic circuit with the contents of the constant register, and if a mismatch is detected, access to the main memory is restricted. As a result, stricter validity checks and prevention of failures from spreading can be easily realized.
次に本発明をその良好な一実施例について図面を参照し
ながら具体的に説明する。Next, a preferred embodiment of the present invention will be specifically explained with reference to the drawings.
第1図は本発明に使用されるデータ転送指令語りストア
ドレス内のデータ転送指令語アドレスの構成を示す図、
2図は本発明に使用される第1データ転送指令語内のデ
ータ転送開始主記憶アドレス及び第2データ転送指令語
内の総転送語数の構成を示す図である。FIG. 1 is a diagram showing the structure of a data transfer command word address in a data transfer command word address used in the present invention;
FIG. 2 is a diagram showing the structure of the data transfer start main memory address in the first data transfer command word and the total number of transfer words in the second data transfer command word used in the present invention.
第1図に示すデータ転送指令語りストアドレスに含まれ
るデータ転送指令語アドレスにより、第2図に示す第1
データ転送指令語、第2データ転送指令語を主記憶より
自動的にフェッチしてデータ転送を行うチャネルにおい
て、前記第1データ転送指令語にはデータ転送開始主記
憶アドレスが、前記第2データ転送指令語には総転送語
数がそれぞれ含まれる。第3図は本発明の一実施例を示
すブロック構成図である。The data transfer command word address included in the data transfer command word address shown in FIG.
In a channel that transfers data by automatically fetching a data transfer command word and a second data transfer command word from the main memory, the first data transfer command word contains a data transfer start main memory address, and the second data transfer command word Each command word includes the total number of transferred words. FIG. 3 is a block diagram showing one embodiment of the present invention.
本発明の一実施例は、入力端子100に入力した主記憶
からのデータをバッファリングするレジスタ101の出
力と演算回路109の出力を入力とし、選択アドレス信
号200により選択された信号をレジスタ103「レジ
スタ104、レジスタ105、定数レジスタ106に出
力する選択回路102と、レジス夕103、レジスタ1
04、レジスタ105の出力信号を入力とし、選択アド
レス信号202,203により選択された信号を演算回
路109に出力する選択回路107と、レジスタ105
の出力信号と更新定数指定信号112を入力とし、選択
アドレス信号201により選択された信号を演算回路1
09に出力する選択回路108と、選択回路107,1
08の出力を入力とし、選択回路107の値に選択回路
108の値を加算した値を、又は選択回路107の値か
ら選択回路108の値を減算した値を、選択回路102
、比較回路110に出力する演算回路109と、定数レ
ジスタ106、演算回路109の出力信号を入力とし、
両信号の値が−致しない時に、比較エラー信号111を
出力する比較回路1 10と、前記比較エラー信号1
1 1を入力とし、比較エラーであれば主記憶へのアク
セス動作を制御するメモリアクセス制御回路113とか
ら構成される。次に本実施例の動作を説明する。In one embodiment of the present invention, the output of a register 101 that buffers data from the main memory input to an input terminal 100 and the output of an arithmetic circuit 109 are input, and a signal selected by a selection address signal 200 is sent to a register 103. A selection circuit 102 that outputs to register 104, register 105, and constant register 106, register 103, and register 1
04, a selection circuit 107 that receives the output signal of the register 105 and outputs the signal selected by the selection address signals 202 and 203 to the arithmetic circuit 109; and the register 105.
The output signal and the update constant designation signal 112 are input, and the signal selected by the selection address signal 201 is sent to the calculation circuit 1.
The selection circuit 108 that outputs to 09 and the selection circuit 107,1
08 is input, and the selection circuit 102 receives the value obtained by adding the value of the selection circuit 108 to the value of the selection circuit 107, or the value obtained by subtracting the value of the selection circuit 108 from the value of the selection circuit 107.
, inputs the output signals of the arithmetic circuit 109 output to the comparison circuit 110, the constant register 106, and the arithmetic circuit 109,
A comparison circuit 110 that outputs a comparison error signal 111 when the values of both signals do not match, and the comparison error signal 1
1 1 as an input, and a memory access control circuit 113 that controls the access operation to the main memory if there is a comparison error. Next, the operation of this embodiment will be explained.
昇順のデータ転送において、あらかじめ決められた主記
憶領域から、前記データ転送指令語りストアドレスを謙
取ると、主記憶からのデータは入力端子100、レジス
夕101、選択回路102を介してレジスタ103に格
納される。In ascending data transfer, when the data transfer command storage address is taken from a predetermined main memory area, the data from the main memory is transferred to the register 103 via the input terminal 100, the register 101, and the selection circuit 102. Stored.
レジスタ103に格納された前記データ転送指令語りス
トアドレスに含まれる前記データ転送指令語アドレスに
より、レジスタ103は前記第1、第2データ転送指令
語を主記憶から読取る要求を主記憶に出す。Based on the data transfer command address included in the data transfer command list address stored in the register 103, the register 103 issues a request to the main memory to read the first and second data transfer command words from the main memory.
次に選択回路107はしジスタ103の出力を、選択回
路108は更新定数指定信号112を選択し、演算回路
109でそれらの信号の加算を行い、その演算結果を選
択回路102を介してレジスタ103に格納する。主記
憶から前記第1、第2データ転送指令語が送られて来る
と、入力端子IQ0、レジスター01、選択回路102
を介して、前記第1データ転送指令語はしジスタ104
へ、前記第2データ転送指令語はしジスタ105へそれ
ぞれ格納される。次いで選択回路107はしジスタ10
4の出力を、選択回路108はしジスタ105の出力を
選択し、演算回路109でレジスタ104に格納されて
いる前記第1データ転送指令語に含まれる前記データ転
送開始主記憶アドレスと、レジスタ105に格納されて
いる前記第2データ転送指令語に含まれる前記総転送語
数とを加算し、その演算出力を選択回路102を介して
定数レジスタ106に格納する。Next, the selection circuit 107 selects the output of the register 103, the selection circuit 108 selects the update constant designation signal 112, the arithmetic circuit 109 adds these signals, and the result of the operation is sent to the register 103 via the selection circuit 102. Store in. When the first and second data transfer command words are sent from the main memory, input terminal IQ0, register 01, selection circuit 102
via the first data transfer command word register 104
Then, the second data transfer command word is stored in the register 105, respectively. Next, the selection circuit 107 selects the register 10
The selection circuit 108 selects the output of the register 105, and the arithmetic circuit 109 selects the data transfer start main memory address included in the first data transfer command word stored in the register 104 and the register 105. and the total number of transfer words included in the second data transfer command word stored in the second data transfer command word, and the calculated output is stored in the constant register 106 via the selection circuit 102.
次にレジスタ104に格納されている前記第1データ転
送指令語に含まれる主記憶アドレスにより主記憶にデー
タを転送する度毎に選択回路107はしジスタ104の
主記憶アドレスを、選択回略108は更新定数指定信号
112を選択し、それらの信号を演算回路109により
加算し、その演算出力を選択回路102を介してレジス
タ104に格納し、主記憶アドレス更新が終了する。Next, each time data is transferred to the main memory using the main memory address included in the first data transfer command word stored in the register 104, the selection circuit 107 selects the main memory address of the register 104. selects the update constant designation signal 112, adds these signals by the arithmetic circuit 109, stores the arithmetic output in the register 104 via the selection circuit 102, and the main memory address update ends.
前記主記憶アドレス更新が終了すると、選択回路107
はしジスタ105の転送語数を選択し、選択回路108
は更新定数指定信号112を選択し、演算回路109で
選択回路107の値から選択回路108の値を減算し、
その演算出力を選択回路102を介してレジスタ105
に格納し、残り転送語数の更新が終了する。前記残り転
送語数の更新が終了すると、選択回路107はしジスタ
104の更新されたま記憶アドレスを、選択回路108
はしジスタ105の更新された残り転送語数をそれぞれ
選択し、それらを演算回路109で加算する。When the main memory address update is completed, the selection circuit 107
The selection circuit 108 selects the number of words to be transferred from the register 105.
selects the update constant designation signal 112, subtracts the value of the selection circuit 108 from the value of the selection circuit 107 in the arithmetic circuit 109,
The calculation output is sent to the register 105 via the selection circuit 102.
The update of the remaining number of transfer words is completed. When the updating of the number of remaining transfer words is completed, the selection circuit 107 transfers the updated memory address of the register 104 to the selection circuit 108.
The updated number of remaining transfer words in the register 105 is selected, and the arithmetic circuit 109 adds them together.
演算回路109の演算出力と、定数レジスタ106の値
とを比較回路1 10で比較し、一致しなければ比較エ
ラー信号111をメモリアクセス制御回路113に送出
し、主記憶が破壊されないように主記憶へのアクセス動
作を制御する。他方、降順のデータ転送においては、前
記昇順データ転送における第1データ転送指令語に含ま
れるデータ転送開始主記憶アドレスと、第2データ転送
指令語に含まれる総転送語数の加算結果を定数レジスタ
106に入れる替りに、前記データ転送開始主記憶アド
レスから総転送語数を減算した値を定数レジスタ106
に入れる事と、前記昇順データ転送における主記憶アド
レス更新における主記憶アドレスと、更新定数指定信号
の加算結果をレジスタ104に格納する替りに、主記憶
アドレスから更新定数指定信号を減算し、その演算結果
をレジスタ104に格納する事と、昇順データ転送にお
ける更新された主記憶アドレスと更新された残り転送語
数の加算結果を定数レジスタ106と比較する替りに、
更新された主記憶アドレスから更新された残り転送語数
を減算した値と定数レジスタ106とを比較する事とを
除いては、本発明は以上説明したように、データ転送指
令語に含まれるデータ転送開始主記憶アドレスと総転送
語数の和又は差を定数レジス外こ記憶し、転送する度毎
に更新される主記憶アドレスと、残り転送語数との和又
は差を演算し、その演算出力を前記定数レジスタと比較
し、更新された主記憶アドレスと残り転送語数の誤りを
検出したならば主記憶へのアクセス動作を制限するよう
礎成することにより、チャネルの主要な制御動作である
主記億アドレスと残り車嵐送語数の更新の総合的なチェ
ックが一挙に実施でき、結果としてチャネル動作の正当
性確認及び誤動作時の障害波及防止が実現できる効果が
ある。The calculation output of the calculation circuit 109 and the value of the constant register 106 are compared in the comparison circuit 110, and if they do not match, a comparison error signal 111 is sent to the memory access control circuit 113 to prevent the main memory from being destroyed. Control access behavior. On the other hand, in descending order data transfer, the constant register 106 stores the addition result of the data transfer start main memory address included in the first data transfer command word in the ascending order data transfer and the total number of transfer words included in the second data transfer command word. Instead, the value obtained by subtracting the total number of transferred words from the data transfer start main memory address is stored in the constant register 106.
In addition, instead of storing the addition result of the main memory address and the update constant designation signal in the main memory address update in the ascending data transfer in the register 104, the update constant designation signal is subtracted from the main memory address, and the calculation is performed. Instead of storing the result in the register 104 and comparing the addition result of the updated main memory address and the updated number of remaining transfer words in the ascending order data transfer with the constant register 106,
As explained above, except for comparing the value obtained by subtracting the updated number of remaining transfer words from the updated main memory address with the constant register 106, the present invention performs the data transfer included in the data transfer command word. The sum or difference between the starting main memory address and the total number of transferred words is stored outside a constant register, and the sum or difference between the main memory address, which is updated each time a transfer is made, and the remaining number of transferred words is calculated, and the calculated output is used as described above. By comparing the main memory address with a constant register and restricting the access operation to the main memory if an error is detected in the updated main memory address and the number of remaining transfer words, the main memory, which is the main control operation of the channel, is A comprehensive check of updates to addresses and the number of messages left to be sent can be carried out at once, and as a result, the validity of channel operations can be confirmed and failures can be prevented from spreading when malfunctions occur.
以上本発明はその良好な一実施例について説明されたが
、それは単なる例示的なものであり、ここで説明された
実施例によってのみ本願発明が限定されるものでないこ
とは勿論である。Although the present invention has been described above with respect to one preferred embodiment thereof, this is merely an illustrative example, and it goes without saying that the present invention is not limited only to the embodiment described herein.
第1図は本発明にて使用されるデータ転送指令語りスト
アドレス内のデータ転送指令語アドレスの構成を示す図
、第2図は本発明にて使用される第1データ転送指令語
内のデータ転送開始主記憶アドレスおよび第2データ転
送指令語内の総転送語数の機成を示す図、第3図は本発
明の一実施例を示すブロック構成図である。
100・・…・入力端子、101・・・・・・主記憶か
らのデータをバッファリングするレジスタ、102……
選択回路、103・・・・・・データ転送指令語りスト
アドレスレジスタ、104・・・・・・第1データ転送
指令議しジスタ、105・・・・・・第2データ転送指
令議しジスタ、106・・…・定数レジスタ、107,
108・・・・・・選択回路、109・・・・・・演算
回路、110…・・・比較回路、1 1 1・・・・・
・比較エラー信号、1 12….・・更新定数指定信号
、113・…・・メモリアクセス制御回路、200・・
・・・・選択回路102の選択アドレス信号、201・
・・・・・選択回路108の選択アドレス信号、202
,203・・・・・・選択回路107の選択アドレス信
号。
第1図
第2図
第3図Figure 1 is a diagram showing the structure of the data transfer command word address in the data transfer command statement address used in the present invention, and Figure 2 is the data in the first data transfer command word used in the present invention. FIG. 3 is a block configuration diagram showing an embodiment of the present invention, which shows the structure of the transfer start main memory address and the total number of transfer words in the second data transfer command word. 100...Input terminal, 101...Register for buffering data from main memory, 102...
Selection circuit, 103...Data transfer command register, 104...First data transfer command register, 105...Second data transfer command register, 106...Constant register, 107,
108... Selection circuit, 109... Arithmetic circuit, 110... Comparison circuit, 1 1 1...
・Comparison error signal, 1 12…. ...Update constant designation signal, 113...Memory access control circuit, 200...
... Selection address signal of selection circuit 102, 201.
...Selection address signal of selection circuit 108, 202
, 203... Selection address signal of the selection circuit 107. Figure 1 Figure 2 Figure 3
Claims (1)
主記憶アドレスの昇順又は降順にデータ転送を行う情報
処理装置に於て、昇順のデータ転送の指令を受取る度に
データ転送指令語に含まれるデータ転送開始主記憶アド
レスと総転送語数との和を、降順のデータ転送指令を受
取る度に前記データ転送開始主記憶アドレスと総転送語
数の差を、その指令によるデータ転送が完了するまで保
持する定数レジスタと、データ転送動作の直後に更新さ
れる主記憶アドレスと残り転送語数とを入力としてデー
タ転送のための主記憶へのアクセスの度毎に昇順のデー
タ転送に対しては和を、降順のデータ転送に対しては差
を出力する演算回路と、該演算回路の出力と前記定数レ
ジスタの内容とを比較する比較回路とを有し、該比較回
路の出力に従つて主記憶へのアクセス動作を制御するこ
とを特徴とするデータ転送装置。1. In an information processing device that transfers data between an input/output device and a main memory device in ascending or descending order of main memory addresses by specifying a command word, each time an ascending order data transfer command is received, the data transfer command word is The sum of the included data transfer start main memory address and the total number of transferred words is calculated, and each time a descending data transfer command is received, the difference between the data transfer start main memory address and the total number of transferred words is calculated until the data transfer by that command is completed. The sum is calculated for data transfer in ascending order each time the main memory is accessed for data transfer by inputting the constant register to be held, the main memory address updated immediately after the data transfer operation, and the number of remaining transfer words. , for data transfer in descending order, has an arithmetic circuit that outputs a difference, and a comparator circuit that compares the output of the arithmetic circuit with the contents of the constant register, and transfers the data to the main memory according to the output of the comparator circuit. A data transfer device characterized by controlling access operations of.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP52130890A JPS6014382B2 (en) | 1977-11-02 | 1977-11-02 | data transfer device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP52130890A JPS6014382B2 (en) | 1977-11-02 | 1977-11-02 | data transfer device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5464939A JPS5464939A (en) | 1979-05-25 |
| JPS6014382B2 true JPS6014382B2 (en) | 1985-04-12 |
Family
ID=15045089
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP52130890A Expired JPS6014382B2 (en) | 1977-11-02 | 1977-11-02 | data transfer device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6014382B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5844570A (en) * | 1981-09-10 | 1983-03-15 | Fujitsu Ltd | Fault detecting system for vector processing |
-
1977
- 1977-11-02 JP JP52130890A patent/JPS6014382B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5464939A (en) | 1979-05-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8108365B2 (en) | Consistency of a database management system | |
| JPS6014382B2 (en) | data transfer device | |
| US6615292B1 (en) | Data transfer apparatus performing DMA data transfer from non-consecutive addresses | |
| US5404495A (en) | Microcomputer having an error-correcting function based on a detected parity error | |
| JPS59214952A (en) | Processing system of fault | |
| JP3239935B2 (en) | Tightly-coupled multiprocessor system control method, tightly-coupled multiprocessor system, and recording medium therefor | |
| JPS5816263B2 (en) | General information | |
| JP3427901B2 (en) | Memory content recovery device | |
| JPH0756640B2 (en) | Storage device | |
| JPH07271553A (en) | Memory control method for fifo memory device | |
| JP2839545B2 (en) | Data access method | |
| JPH01166148A (en) | Memory access device | |
| JPH04123149A (en) | Page substituting circuit | |
| JPS6411975B2 (en) | ||
| JPH05257822A (en) | Data buffer | |
| JPH02123426A (en) | Microprocessor | |
| JPH02143352A (en) | Memory error detection and correction system | |
| CN112291242A (en) | Data synchronization method, device, equipment and computer readable storage medium | |
| JPH01300352A (en) | Dump area instruction control system | |
| JPS59139199A (en) | Protecting method of storage | |
| JPS60144848A (en) | Cache memory control system | |
| JPH0256039A (en) | Memory protection control method | |
| JPH0540583A (en) | Information processing system | |
| JPS6184732A (en) | Back-up device of recording data in external memory device | |
| JPS59123918A (en) | Buffer memory controlling system |