JPS6245576B2 - - Google Patents
Info
- Publication number
- JPS6245576B2 JPS6245576B2 JP6688482A JP6688482A JPS6245576B2 JP S6245576 B2 JPS6245576 B2 JP S6245576B2 JP 6688482 A JP6688482 A JP 6688482A JP 6688482 A JP6688482 A JP 6688482A JP S6245576 B2 JPS6245576 B2 JP S6245576B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- byte
- bytes
- buffer memory
- 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.)
- Expired
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/20—Handling requests for interconnection or transfer for access to input/output bus
- G06F13/28—Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Systems (AREA)
Description
【発明の詳細な説明】
(a) 発明の技術分野
本発明はデータバツフアメモリを有する下位装
置が上位装置よりデータを該データバツフアメモ
リにバイト単位で転送を受ける方式に係り、特に
データ転送速度を高速で行なうデータ転送方式に
関する。Detailed Description of the Invention (a) Technical Field of the Invention The present invention relates to a system in which a lower device having a data buffer memory receives data transferred in bytes from a higher device to the data buffer memory, and particularly relates to a method for data transfer. It relates to a data transfer method that performs at high speed.
(b) 従来技術と問題点
データバツフアメモリを有する下位装置例えば
入出力装置は上位装置例えばマルチプレクサチヤ
ンネルよりデータの転送を受ける場合、データ要
求のビツトを立て上位装置にデータの転送を要求
し、上位装置は該データ要求のビツトを見てデー
タを1バイトずつ転送するが、1バイト転送する
たびにそれで転送終了かどうかチエツクをしてい
る。このデータ転送方式はバイトマルチプレクス
モードと言われるが1バイト転送する毎に転送終
了をチエツクしているためデータ転送速度が遅い
と言う欠点がある。(b) Prior Art and Problems When a lower-level device, such as an input/output device, having a data buffer memory receives data transfer from a higher-level device, such as a multiplexer channel, it sets a data request bit and requests the higher-level device to transfer data. The host device checks the bits of the data request and transfers the data one byte at a time, but each time it transfers one byte, it checks whether the transfer is complete. This data transfer method is called a byte multiplex mode, but it has the disadvantage that the data transfer speed is slow because it checks for completion of transfer every time one byte is transferred.
(c) 発明の目的
本発明の目的は上記欠点を除くため、従来の1
バイト毎のデータ転送をN×Mバイトまとめて転
送するN×Mバイトローカルバーストで行ない、
データバツフアメモリの残りの記憶領域がN×M
−1バイト以下となつたら1バイト毎にデータを
転送し該データバツフアメモリの記録完了により
データ転送を終了することでデータ転送速度を向
上させ、延いてはシステムの効率も向上させるこ
とにある。(c) Purpose of the invention The purpose of the present invention is to eliminate the above-mentioned drawbacks,
Byte-by-byte data transfer is performed using N×M byte local bursts that transfer N×M bytes at once.
The remaining storage area of data buffer memory is N×M
-When the data becomes less than 1 byte, the data is transferred 1 byte at a time, and the data transfer is terminated when the recording of the data buffer memory is completed, thereby improving the data transfer speed and, by extension, the efficiency of the system. .
(d) 発明の構成
本発明の構成はNバイトのレジスタM個とLビ
ツトのカウンタ2個と下位装置の状況レジスタ1
個とを設け、データの転送をN×Mバイドローカ
ルバーストで行ない、データバツフアメモリの記
憶容量の残りがN×M−1バイト以下となつた事
を検出すると1バイト毎のデータ転送に切替え該
データバツフアメモリの記録完了によりデータ転
送を終了するようにしたものである。(d) Structure of the Invention The structure of the present invention is as follows: M registers of N bytes, two counters of L bits, and one status register of the lower device.
Data transfer is performed in N×M byte local bursts, and when it is detected that the remaining storage capacity of the data buffer memory is less than N×M-1 bytes, the data transfer is switched to 1-byte byte data transfer. Data transfer is terminated upon completion of recording in the data buffer memory.
(e) 発明の実施例
図は本発明の一実施例を示す回路のブロツク図
でNが4、Mが1、Lが2の場合を示す。制御部
10は上位装置11よりデータ転送を受ける場合
下位装置の状況レジスタ1のDRQビツトを
“1”としてデータ転送を要求する。上位装置1
1は下位装置の状況レジスタ1のDRQビツトが
“1”となつた事でデータ転送要求を知ると下位
装置の状況レジスタ1のLASTビツトをチエツク
し“0”の場合は、転送すべきデータが4バイト
以上の時は4バイトを、それ以下の時はそれだけ
のバイト数のデータを4バイトレジスタ7へ送
る。2ビツトの書込みアドレスカウンタ2には該
転送されたバイト数がセツトされる。4バイトレ
ジスタ7に入つたデータはマルチプレクサ6によ
り1バイトづつ順にデータバツフアメモリ5に書
込まれるが制御部10はこのデータのバイト数を
計数し2ビツトの読出しアドレスカウンタ3にセ
ツトする。書込みアドレスカウンタ2と続出しア
ドレスカウンタ3の値が一致回路4により一致し
た事が制御部10に報告されると、制御部10は
4バイトレジスタ7のデータのデータバツフアメ
モリ5への書込み完了と判断し、下位装置の状況
レジスタ1のDRQビツトを再度“1”として上
位装置11に次のデータ転送を要求する。上位装
置11の転送すべきデータが4バイト以上の場合
上記の動作が繰り返され、3バイト以下の場合は
データ転送は終了する。(e) Embodiment of the Invention The figure is a block diagram of a circuit showing an embodiment of the invention, in which N is 4, M is 1, and L is 2. When receiving data transfer from the higher-level device 11, the control section 10 sets the DRQ bit of the status register 1 of the lower-level device to "1" to request data transfer. Upper device 1
1 means that when the DRQ bit of the status register 1 of the lower device becomes "1" and it becomes aware of a data transfer request, it checks the LAST bit of the status register 1 of the lower device, and if it is "0", the data to be transferred is When the number of bytes is 4 or more, 4 bytes are sent to the 4-byte register 7, and when it is less than that, that many bytes of data are sent to the 4-byte register 7. The number of transferred bytes is set in a 2-bit write address counter 2. The data entered in the 4-byte register 7 is sequentially written byte by byte into the data buffer memory 5 by the multiplexer 6, and the control section 10 counts the number of bytes of this data and sets it in the 2-bit read address counter 3. When the matching circuit 4 reports to the control unit 10 that the values of the write address counter 2 and the continuous address counter 3 match, the control unit 10 completes writing of the data in the 4-byte register 7 to the data buffer memory 5. It then sets the DRQ bit in the status register 1 of the lower device to "1" again and requests the higher device 11 to transfer the next data. If the data to be transferred by the host device 11 is 4 bytes or more, the above operation is repeated, and if the data is 3 bytes or less, the data transfer ends.
制御部10は上記動作の繰り返し中にバイトカ
ウンタ9の計数値よりデータバツフアメモリ5の
残り記憶領域が3バイト以下となつた事を検出す
ると、フリツプフロツプ8をセツトし下位装置の
状況レジスタ1のLASTビツトを“1”とする。
上位装置11はLASTビツトが“1”になつた事
を検知すると4バイト毎のデータ転送を1バイト
毎のデータ転送に切替える。バイトカウンタ9は
データバツフアメモリ5の記憶領域が1杯になり
記録完了すると“0”となつてフリツプフロツプ
8をリセツトし下位装置の状況レジスタ1の
LASTビツトを“0”とする。上位装置11は
LASTビツトが“1”より“0”に変つた事によ
りデータ転送完了を検出してデータ転送を終了す
る。 When the control unit 10 detects that the remaining storage area of the data buffer memory 5 is 3 bytes or less from the count value of the byte counter 9 while repeating the above operation, it sets the flip-flop 8 and changes the status register 1 of the lower device. Set the LAST bit to “1”.
When the host device 11 detects that the LAST bit becomes "1", it switches data transfer every 4 bytes to data transfer every 1 byte. When the storage area of the data buffer memory 5 becomes full and recording is completed, the byte counter 9 becomes "0", resets the flip-flop 8, and reads the status register 1 of the lower device.
Set the LAST bit to “0”. The host device 11
When the LAST bit changes from "1" to "0", data transfer completion is detected and the data transfer is terminated.
(f) 発明の効果
以上説明した如く本発明は従来のデータ転送方
式であるバイトマルチプレクスモードに比しN×
Mバイトまとめてデータの転送を行なうため転送
速度が向上し、データバツフアメモリの記憶領域
がN×M−1バイト以下となつた時転送データが
オーバフローしない様に1バイト毎の転送に切替
えるためデータの粉失を生ずることもなく、シス
テムの効率を向上させ得るためその効果は大なる
ものがある。(f) Effects of the Invention As explained above, the present invention has N×
Transfer speed is improved because data is transferred in M bytes at a time, and when the storage area of the data buffer memory becomes less than N x M - 1 bytes, the transfer is switched to 1 byte at a time so that the transferred data does not overflow. The effect is great because the efficiency of the system can be improved without causing data loss.
図は本発明の一実施例を示す回路のブロツク図
である。
1は下位装置の状況レジスタ、2,3は2ビツ
トのカウンタ、4は一致回路、5はデータバツフ
アメモリ、6はマルチプレクサ、7はバイトレジ
スタ、8はフリツプフロツプ、9はバイトカウン
タ、10は制御部、11は上位装置である。
The figure is a block diagram of a circuit showing one embodiment of the present invention. 1 is the status register of the lower device, 2 and 3 are 2-bit counters, 4 is the match circuit, 5 is the data buffer memory, 6 is the multiplexer, 7 is the byte register, 8 is the flip-flop, 9 is the byte counter, and 10 is the control. 11 is a host device.
Claims (1)
ータの転送を受ける下位装置に於て、Nバイトの
レジスタM個とLビツトのカウンタ2個と下位装
置の状況レジスタ1個とを設け、データの転送を
N×Mバイトローカルバーストで行ない、データ
バツフアメモリの記憶領域の残りがN×M−1バ
イト以下となつた場合、1バイト毎にデータを転
送し該データバツフアメモリの記録完了によりデ
ータ転送を終了することを特徴とするデータ転送
方式。1. In a lower device that has a data buffer memory and receives data transfer from the upper device, M registers of N bytes, two counters of L bits, and one status register of the lower device are provided to facilitate data transfer. When the remaining storage area of the data buffer memory is N×M-1 bytes or less, the data is transferred byte by byte and the data is transferred when the recording of the data buffer memory is completed. A data transfer method characterized by terminating.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6688482A JPS58184647A (en) | 1982-04-21 | 1982-04-21 | Data transfer system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6688482A JPS58184647A (en) | 1982-04-21 | 1982-04-21 | Data transfer system |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS58184647A JPS58184647A (en) | 1983-10-28 |
JPS6245576B2 true JPS6245576B2 (en) | 1987-09-28 |
Family
ID=13328762
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP6688482A Granted JPS58184647A (en) | 1982-04-21 | 1982-04-21 | Data transfer system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS58184647A (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6112287A (en) | 1993-03-01 | 2000-08-29 | Busless Computers Sarl | Shared memory multiprocessor system using a set of serial links as processors-memory switch |
JPH02254540A (en) * | 1989-03-29 | 1990-10-15 | Fujitsu Ltd | Instruction counter control system |
JP4937355B2 (en) * | 2007-09-21 | 2012-05-23 | 三菱電機株式会社 | Data transfer apparatus and data transfer method |
-
1982
- 1982-04-21 JP JP6688482A patent/JPS58184647A/en active Granted
Also Published As
Publication number | Publication date |
---|---|
JPS58184647A (en) | 1983-10-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5452432A (en) | Partially resettable, segmented DMA counter | |
JPH0877066A (en) | Flash memory controller | |
US4914575A (en) | System for transferring data between an interleaved main memory and an I/O device at high speed | |
JPS6245576B2 (en) | ||
JPS6232494B2 (en) | ||
JPS5833571B2 (en) | You can do it yourself. | |
JP2533886B2 (en) | Data transfer method | |
JPS60201453A (en) | Memory access controlling system | |
JPH01297756A (en) | Data transfer controller | |
CN115268795A (en) | Moving method supporting large-scale continuous data | |
JP2806583B2 (en) | I / O channel device | |
JPH0581165A (en) | Data transfer circuit | |
JPS61265653A (en) | Direct memory access method | |
JPH0246967B2 (en) | ||
JP2002050172A (en) | Fifo control circuit | |
SU1026138A1 (en) | Device for interfacing magnetic tape store to digital computer | |
JPS58166469A (en) | High-speed data transfer buffer circuit | |
JPS6057095B2 (en) | Storage device | |
JPH0241549A (en) | Data transfer system | |
JPS63226756A (en) | DMA transfer circuit that can manipulate bits | |
JPH0122655B2 (en) | ||
JPS6369326A (en) | data conversion device | |
JPS61210464A (en) | data buffer | |
JPS6160124A (en) | Buffer control system | |
JPH05151150A (en) | Computer data input/output device |