JPH01273155A - Data transfer method - Google Patents
Data transfer methodInfo
- Publication number
- JPH01273155A JPH01273155A JP63100301A JP10030188A JPH01273155A JP H01273155 A JPH01273155 A JP H01273155A JP 63100301 A JP63100301 A JP 63100301A JP 10030188 A JP10030188 A JP 10030188A JP H01273155 A JPH01273155 A JP H01273155A
- Authority
- JP
- Japan
- Prior art keywords
- data
- write data
- write
- bus
- data transfer
- 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
Links
Landscapes
- Retry When Errors Occur (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、コンピュータ・システムにおけるデータ転送
方式に関し、特に、バスで接続された処理装置と制御装
置の間のデータ転送を正確に行うことが可能なデータ転
送方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data transfer method in a computer system, and in particular, to a data transfer method that allows accurate data transfer between a processing device and a control device connected via a bus. Concerning possible data transfer methods.
コンピュータ・システムにおいて、処理装置から制御装
置へバスを介してデータを転送する際、外部ノイズ等に
よりバスのデータが瞬間的に変化することがある。この
場合、制御装置は誤まったデータを格納、してしまう。In a computer system, when data is transferred from a processing device to a control device via a bus, the data on the bus may change instantaneously due to external noise or the like. In this case, the control device stores and stores incorrect data.
従来のシステムでは、例えば特開昭59−100927
号公報に記載されているように、データの信頼性を向上
させるため、装置間でデータ転送を行う場合、受信側の
装置は送信データバスからデータを受取って格納した後
、格納データを受信データバスで返送している。また、
送信側の装置は返送されたデータからエラー・チエツク
・コードを作成している。さらに、データブロックの転
送終了後、そのエラー・チエツク・コードをチエツクし
て、エラーが検出されると、再度、データブロックの転
送を行っていた。In the conventional system, for example, Japanese Patent Application Laid-Open No. 59-100927
As stated in the publication, when data is transferred between devices in order to improve data reliability, the receiving device receives data from the transmitting data bus, stores it, and then transfers the stored data to the received data. Returned by bus. Also,
The sending device creates an error check code from the returned data. Furthermore, after the transfer of the data block is completed, the error check code is checked, and if an error is detected, the data block is transferred again.
上記従来技術では、エラー検出を容易にする点、および
、エラー処理時間を短縮する点について、配慮がなされ
ていない。In the above-mentioned conventional technology, no consideration is given to facilitating error detection and shortening error processing time.
つまり、受信データの返送とエラー検出時のデータブロ
ックの再送が必要であり、エラー検出が複雑で、エラー
処理に時間がかかるという問題があった。In other words, it is necessary to return the received data and retransmit the data block when an error is detected, resulting in a problem that error detection is complicated and error processing takes time.
また、繰返し外部ノイズが印加されてデータバスが影響
を受けるような場合には、転送されるデータブロックが
長くなり、さらに、そのデータブロック転送中にノイズ
が印加されると、エラー処理においてデータ・ブロック
の再送が発生する。Additionally, if external noise is applied repeatedly and the data bus is affected, the data block to be transferred will be longer, and if noise is applied during the data block transfer, the data will be lost during error handling. Block retransmission occurs.
この場合、そのデータブロック再送中にエラーが検出さ
れるため、エラー処理回数が大幅に増加し。In this case, an error is detected during retransmission of the data block, resulting in a significant increase in the number of error handling times.
エラー処理時間が長くなるという問題があった。There was a problem in that the error processing time took a long time.
本発明の目的は、このような問題点を改善し、エラー検
出を容易にし、かつエラー処理時間を短縮することが可
能なデータ転送方式を提供することにある。An object of the present invention is to provide a data transfer method that can improve such problems, facilitate error detection, and shorten error processing time.
上記目的を達成するため、本発明のデータ転送方式は、
処理装置と、処理装置が出力した書込みデータを格納す
る手段(データバッファ)を有する制御装置と、それら
を接続するバスとを備え、制御装置は、処理装置が出力
する書込み制御信号に従い、データバスを介して書込み
データを受信し。In order to achieve the above object, the data transfer method of the present invention includes:
The control device includes a processing device, a control device having means (data buffer) for storing write data outputted by the processing device, and a bus connecting them. Receive write data via.
格納応答信号を出力するデータ転送方式において。In a data transfer method that outputs a storage response signal.
上記制御装置には、データバッファに格納したデータと
上記データバスを介して受信したデータとを、指定時間
経過後に比較する手段(コンパレータ)、および、その
比較結果が不一致である場合。The control device includes means (a comparator) for comparing the data stored in the data buffer and the data received via the data bus after a specified time has elapsed, and when the comparison result is a mismatch.
上記格納応答信号を出力しない状態で再び受信データを
データバッファに格納させ、また、その比較結果が一致
する場合には、格納応答信号を出力し、書込みデータ格
納完了を上記処理装置に連絡して、書込みデータ転送シ
ーケンスを終了させる手段(データバッファ制御部)を
備え、制御装置はデータバスを介して処理装置が出力し
た書込みデータを受信・格納すると、指定時間経過後に
格納データと受信データとを比較し、1回の書込みデー
タ転送シーケンス中に、それらのデータが一致するまで
、その受信データの再格納を繰り返すことにより、書込
みデータを確実に格納することに特徴がある。The received data is stored in the data buffer again without outputting the storage response signal, and if the comparison results match, the storage response signal is output to notify the processing device that the write data storage is complete. The control device includes means (data buffer control unit) for terminating the write data transfer sequence, and when the control device receives and stores the write data output by the processing device via the data bus, the control device transfers the stored data and the received data after a specified time has elapsed. A feature is that the write data is reliably stored by comparing and re-storing the received data during one write data transfer sequence until the data match.
本発明においては、コンパレータにより指定時間経過後
に格納データと受信データとを比較する。In the present invention, a comparator compares stored data and received data after a specified time has elapsed.
その比較結果により、1回の書込みデータ転送シーケン
ス中に、格納データが受信データと一致するまで、受信
データの再格納を繰り返す。Based on the comparison result, the received data is repeatedly stored again until the stored data matches the received data during one write data transfer sequence.
このため、書込みデータを確実に格納することができる
。Therefore, write data can be reliably stored.
以下、本発明の一実施例を図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.
第2図は1本発明の一実施例におけるバス制御システム
の構成図である。FIG. 2 is a block diagram of a bus control system in one embodiment of the present invention.
本実施例のバス制御システムは、処理装置(以下CPU
と記す)1、および制御装置(以下IOCと記す)2を
備え、これらはバス3により接続される。The bus control system of this embodiment uses a processing unit (hereinafter referred to as CPU).
) 1, and a control device (hereinafter referred to as IOC) 2, which are connected by a bus 3.
このl0C2は、CPUIが出力する書込みデータを格
納するため、アドレスデコーダ(以下DECと記す)2
1、データバッファ制御部(以下DBCと記す)22.
データバッファ(以下DTBと記す)23、およびコン
パレータ(以下CMPと記す)24を備える。This l0C2 is an address decoder (hereinafter referred to as DEC) 2 to store write data output by the CPUI.
1. Data buffer control unit (hereinafter referred to as DBC) 22.
It includes a data buffer (hereinafter referred to as DTB) 23 and a comparator (hereinafter referred to as CMP) 24.
また、バス3は、アドレスバス31、データバス32.
およびコントロールバス33から構成される。なお、コ
ントロールバス33は、CPUIが書込みデータを出力
する際の書込み制御信号(IOW)と、l0C2が書込
みデータの格納を完了したことを通知する格納応答信号
(RDY)を含む。The bus 3 also includes an address bus 31, a data bus 32 .
and a control bus 33. Note that the control bus 33 includes a write control signal (IOW) when the CPUI outputs write data, and a storage response signal (RDY) that notifies that the l0C2 has completed storing the write data.
第1図は、本発明の一実施例におけるバス制御システム
において、CPUIからl0C2への書込みデータ転送
シーケンスを示すタイミングチャートである。FIG. 1 is a timing chart showing a write data transfer sequence from CPUI to 10C2 in a bus control system according to an embodiment of the present invention.
本実施例では、CPUIから工○C2へ書込みデータを
転送する場合、CPUIはl0C2を選択するため、ア
ドレスバス31にデバイス選択アドレスを出力する。In this embodiment, when transferring write data from the CPUI to the device C2, the CPU outputs a device selection address to the address bus 31 in order to select the device C2.
これにより、l0C2はアドレスバス31のデバイス選
択アドレスをDEC21でデコードし。As a result, the l0C2 decodes the device selection address on the address bus 31 using the DEC21.
工○C2個有のデバイスアドレスに一致すると、l0C
2が選択され、そのl0C2内部の選択信号(SEL)
は1′となる。If it matches two device addresses, l0C
2 is selected, and the selection signal (SEL) inside 10C2
becomes 1'.
次に、CPUIは書込みデータをデータバス32に出力
するとともに、コントロールバス33の書込み制御信号
(IOW)を1′にして書込みデータ転送シーケンスを
開始し、l0C2に対して、データバス32に書込みデ
ータを出力していることを連絡する。Next, the CPU outputs the write data to the data bus 32 and sets the write control signal (IOW) of the control bus 33 to 1' to start the write data transfer sequence, and sends the write data to the data bus 32 for l0C2. Please let us know that you are outputting.
l0C2は、内部の選択信号(S E L)が411の
状態で、書込み制御信号(IOW)が1′になると、デ
ータバッファ・ライト信号(D B W)を1′にする
。なお、このデータバッファ・ライト信号は、DBC2
2で書込みデータをDTB 23に格納する際のストロ
ーブである。l0C2 sets the data buffer write signal (D B W) to 1' when the write control signal (IOW) becomes 1' while the internal selection signal (S E L) is in the state of 411. Note that this data buffer write signal is
This is a strobe when writing data is stored in the DTB 23 in step 2.
こうしてデータバッファ・ライト信号(D B W)が
1′になると、データバス32の書込みデータをDTB
23に格納する。しかし、外部ノイズ等の影響によりD
TB23格納時、データバス32の書込みデータが瞬間
的に異常データになると、格納したデータも異常となる
。In this way, when the data buffer write signal (D B W) becomes 1', the write data on the data bus 32 is transferred to DTB.
23. However, due to the influence of external noise etc.
When the TB 23 is stored, if the write data on the data bus 32 momentarily becomes abnormal data, the stored data also becomes abnormal.
このため、本実施例では、DTB23の格納データ信号
(DB)とデータバス32の書込みデータがCMP24
で比較される。その比較結果が一致していれば、一致信
号(CM″POK)は1′となり、不一致であれば、0
′となる。Therefore, in this embodiment, the stored data signal (DB) of the DTB 23 and the write data of the data bus 32 are transferred to the CMP 24.
are compared. If the comparison results match, the match signal (CM″POK) becomes 1′, and if they do not match, it becomes 0.
'.
このデータバッファ・ライト信号(D B W)により
、DTB23に受信データを格納してから指定時間経過
後、一致信号(CMPOK)が0′であれば、DBC2
2は格納応答信号(DRY)を0′のままとし、再度、
データバッファ・ライト信号(D B W)を1′とし
て、前回と同様にデータバス32の書込みデータをDT
B23に再格納する。If the match signal (CMPOK) is 0' after the specified time has elapsed since the received data was stored in the DTB23 by this data buffer write signal (DBW), the DBC2
2 leaves the storage response signal (DRY) at 0' and again,
With the data buffer write signal (D B W) set to 1', write data on the data bus 32 is transferred to DT as before.
Store again in B23.
さらに、データバッファ・ライト信号(DBW)により
、DTB23に受信データを再格納して指定時間経過後
、一致信号(CMPOK)が1′ならば、DBC22は
格納応答信号(DRY)を1′にして、書込みデータ格
納完了をCPUIに連絡する。Furthermore, if the match signal (CMPOK) is 1' after re-storing the received data in the DTB 23 using the data buffer write signal (DBW) and the specified time has elapsed, the DBC 22 sets the storage response signal (DRY) to 1'. , informs the CPUI that the write data storage is complete.
CPUIは、格納応答信号(DRY)が1′になると、
書込み制御信号(IOW)を0′にして書込みデータ転
送シーケンスを終了させる。When the storage response signal (DRY) becomes 1', the CPUI
The write control signal (IOW) is set to 0' to end the write data transfer sequence.
このように、DTB23の格納データがデータバス32
の書込みデータと一致するまで、書込みデータ転送シー
ケンスを続行し、DTB23に書込みデータの格納を繰
り返して、一致した後に書込みデータ転送シーケンスを
終了させる。In this way, the data stored in the DTB 23 is transferred to the data bus 32.
The write data transfer sequence is continued until the write data matches the write data, and the write data is repeatedly stored in the DTB 23, and after the match is reached, the write data transfer sequence is ended.
これにより、1回の書込みデータ転送シーケンスでCP
UIの書込みデータをl0C2に確実に格納することが
できる。This allows the CP to be transferred in one write data transfer sequence.
UI write data can be reliably stored in l0C2.
本発明によれば、処理装置の書込みデータを制御装置に
対して確実に格納することができるため、書込みデータ
ブロックの転送終了後、格納データブロックのチエツク
を行ってエラーが検出され。According to the present invention, since the write data of the processing device can be reliably stored in the control device, an error is detected by checking the stored data block after the transfer of the write data block is completed.
再度、書込みデータブロックの転送を行う必要がない。There is no need to transfer the write data block again.
従って、エラー処理が容易になり、かつエラー処理時間
を短縮することができる。Therefore, error processing becomes easy and error processing time can be shortened.
第1図は本発明の一実施例におけるバス制御システムに
おいて、CPUから制御装置への書込みデータ転送シー
ケンスを示すタイミングチャート、第2図は本発明の一
実施例におけるバス制御システムの構成図である。
1;処理袋[(CPU)、2 :制御装置(IOCL3
:バス、21ニアドレスデコーダ(DEC)。
22:データバッファ制御部(DBC)、23 :デー
タバッファ (DTB)、24 :コンパレータ(CO
MP)、31 : 7ドL/XバX、32:データバス
、33:コントロールバス、IOW:書込み制御信号、
RDY :格納応答信号、SEL:選択信号、DBW:
データバッファ・ライト信号、DB:格納データ信号、
CMPOKニ一致信号。
第 1 図FIG. 1 is a timing chart showing a write data transfer sequence from a CPU to a control device in a bus control system according to an embodiment of the present invention, and FIG. 2 is a configuration diagram of the bus control system according to an embodiment of the present invention. . 1: Processing bag [(CPU), 2: Control device (IOCL3
:Bus, 21 Near Address Decoder (DEC). 22: Data buffer control unit (DBC), 23: Data buffer (DTB), 24: Comparator (CO
MP), 31: 7 do L/X bus, 32: data bus, 33: control bus, IOW: write control signal,
RDY: Storage response signal, SEL: Selection signal, DBW:
Data buffer write signal, DB: storage data signal,
CMPOK match signal. Figure 1
Claims (1)
格納する手段を有する制御装置と、両装置を接続するバ
スとを備え、該制御装置は、該処理装置が出力する書込
み制御信号に従い、データバスを介して書込みデータを
受信し、該処理装置に対して格納応答信号を出力するデ
ータ転送方式において、上記制御装置には、上記格納手
段の格納データと上記データバスを介して受信したデー
タとを指定時間経過後に比較する手段、および、比較結
果が不一致である場合、上記格納応答信号を出力せず、
再び受信データを該格納手段に格納させ、また、該比較
結果が一致する場合には、該格納応答信号を出力し、書
込みデータ格納完了を上記処理装置に連絡して、書込み
データ転送シーケンスを終了させる手段を備え、該制御
装置は、該データバスを介して該処理装置が出力した書
込みデータを受信・格納し、指定時間経過後に該格納デ
ータと該受信データとを比較して、1回の書込みデータ
転送シーケンス中に、両データが一致するまで受信デー
タの再格納を繰り返すことを特徴とするデータ転送方式
。1. A processing device, a control device having means for storing write data outputted by the processing device, and a bus connecting both devices; In a data transfer method that receives write data via a data bus and outputs a storage response signal to the processing device, the control device includes data stored in the storage means and data received via the data bus. and a means for comparing the data after a designated time has elapsed, and not outputting the storage response signal when the comparison results do not match;
Store the received data in the storage means again, and if the comparison results match, output the storage response signal, notify the processing device that the write data storage is complete, and end the write data transfer sequence. The control device receives and stores the write data output by the processing device via the data bus, compares the stored data and the received data after a specified time has elapsed, and performs one write operation. A data transfer method characterized by repeatedly re-storing received data during a write data transfer sequence until both data match.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63100301A JPH01273155A (en) | 1988-04-25 | 1988-04-25 | Data transfer method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63100301A JPH01273155A (en) | 1988-04-25 | 1988-04-25 | Data transfer method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH01273155A true JPH01273155A (en) | 1989-11-01 |
Family
ID=14270348
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63100301A Pending JPH01273155A (en) | 1988-04-25 | 1988-04-25 | Data transfer method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH01273155A (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6356454B2 (en) * | 1980-10-03 | 1988-11-08 | Yamatake Honeywell Co Ltd |
-
1988
- 1988-04-25 JP JP63100301A patent/JPH01273155A/en active Pending
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6356454B2 (en) * | 1980-10-03 | 1988-11-08 | Yamatake Honeywell Co Ltd |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6691205B2 (en) | Method for using RAM buffers with simultaneous accesses in flash based storage systems | |
| US7152129B2 (en) | Apparatus having an inter-module data transfer confirming function, storage controlling apparatus, and interface module for the apparatus | |
| JPH1097471A (en) | Error correction method and error correction method for memory data | |
| JP3329155B2 (en) | Information processing device | |
| JPH10143448A (en) | Memory system | |
| JP2953878B2 (en) | Data transfer system | |
| JP2000148502A (en) | How to write firmware data | |
| JPH05108491A (en) | Information processor | |
| JPH02310754A (en) | data receiving device | |
| JPS63269233A (en) | Error detecting and correcting circuit | |
| JPH01140358A (en) | Circuit for detecting write error on random access memory | |
| JPH02224045A (en) | Data transfer control method | |
| JPS58192123A (en) | Device for transferring and controlling input and output data | |
| JPS5831680B2 (en) | Control method for multiplexed storage device | |
| JPH06175947A (en) | Data processor equipped with dma function | |
| JPH04369711A (en) | Electronic disk sub-system | |
| JPS617947A (en) | Control storage device | |
| JPH0535652A (en) | Dma controller | |
| JPS6043549B2 (en) | Data transfer control method | |
| JPH01158554A (en) | Data processing system providing dma device | |
| JP2002082843A (en) | Burst transfer control circuit and burst transfer control method | |
| JPS6041151A (en) | Correcting system of memory error | |
| JPS61224052A (en) | Data securing system | |
| JPS63216150A (en) | Storage device | |
| JPH01236341A (en) | Information processor |