JPS61210464A - Data buffer device - Google Patents

Data buffer device

Info

Publication number
JPS61210464A
JPS61210464A JP5048385A JP5048385A JPS61210464A JP S61210464 A JPS61210464 A JP S61210464A JP 5048385 A JP5048385 A JP 5048385A JP 5048385 A JP5048385 A JP 5048385A JP S61210464 A JPS61210464 A JP S61210464A
Authority
JP
Japan
Prior art keywords
data
buffer memory
memory block
buffer
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.)
Pending
Application number
JP5048385A
Other languages
Japanese (ja)
Inventor
Kunio Nakamura
中村 國夫
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 Ltd
Original Assignee
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 Ltd filed Critical Hitachi Ltd
Priority to JP5048385A priority Critical patent/JPS61210464A/en
Publication of JPS61210464A publication Critical patent/JPS61210464A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/122Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware performs an I/O function other than control of data transfer

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)

Abstract

PURPOSE:To shorten access time and to enhance a responsiveness and a throughput of an entire of a system by setting and selecting a length of an optimum buffer memory block in accordance with a data transfer speed of I/O of an object. CONSTITUTION:All data inputted to a buffer memory block 8 in a data buffer device 2 through an I/O data bus 4 from an I/O 1 are transmitted to a CPU 3, and the data from the I/O 1 is written in a buffer memory block 9. At this time, the device 2 newly sets an output data of an initial address register 13 in buffer address counters 10, 11. The data from the I/O 1 is written in the memory 8 and the data in the memory 9 is transmitted to the CPU 3. A similar operation thereafter is repeated until all the receiving data from the I/O 1 is completed to be transmitted to the CPU 3. Thereby, an access time can be shortened and a responsiveness and a throughput of a system can be enhanced.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明はコンピュータシステムにおける中央処理装置と
周辺装置間のデータ転送方式に係シ、特に中央処理と周
辺装置のデータ転送速度差を緩衝する目的で用いられる
データ緩衝装置に関する。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a data transfer method between a central processing unit and peripheral devices in a computer system, and in particular, to a method for buffering data transfer speed differences between the central processing unit and peripheral devices. Regarding the data buffer used.

〔発明の背景〕[Background of the invention]

従来方式の交代形データ緩衝方式では緩衝メモリブロッ
ク全体を緩衝メモリ領域として使用するため、対象の入
出力装置のデータ転送速度が半固定(データ転送速度の
異なるモードを複数有する場合)の場合、中央処理装置
から見た場合のアクセス時間が不必要に長くなる場合が
ある。(中央処理装置がデータ受信を開始するには、少
なくとも、一方の緩衝メモリブロックが入出力装置から
データ受信を完了しなければならない為)〔発明の目的
〕 本発明の目的は人出装置のデータ転送速度に応じて最適
なアクセス時間t−選択可能な交代形データ緩衝装置を
実現することにある。
In the conventional alternating data buffering method, the entire buffer memory block is used as the buffer memory area, so if the data transfer rate of the target input/output device is semi-fixed (if it has multiple modes with different data transfer rates), the central Access time from the perspective of the processing device may become unnecessarily long. (For the central processing unit to start receiving data, at least one buffer memory block must complete receiving data from the input/output device.) [Object of the Invention] The object of the present invention is to The object of the present invention is to realize an alternating data buffer device in which the optimum access time t can be selected according to the transfer speed.

〔発明の概要〕[Summary of the invention]

交代形データ緩衝方式においてアクセス時間(入出力装
置からのデータが中央処理装置に行き着くまでの時間)
を短縮させる為には緩衝メモリブロックの容量を減少さ
せればよいこと、但し、緩衝装置が本来の目的を達成さ
せる為には、入出力装置と中央処理のデータ転送速度差
を緩衝するために充分な緩衝メモリバイト数が必要であ
り、上記2つの条件を満足する緩衝メモリブロックの実
使用バイト値を選択設定可能にするととKより目的を実
現した。
Access time (time taken for data from an input/output device to reach the central processing unit) in the alternating data buffering system
In order to shorten the time, it is sufficient to reduce the capacity of the buffer memory block.However, in order for the buffer device to achieve its original purpose, it is necessary to reduce the data transfer speed difference between the input/output device and the central processing. A sufficient number of buffer memory bytes is required, and the objective was realized by making it possible to select and set the actually used byte value of the buffer memory block that satisfies the above two conditions.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を第1図および第2図により説
明する。本実施例では入出力装置lから送信されてくる
データを中央処理装置3へ送信する場合を示す。データ
緩衝装置2は入出力装置1と中央処理装置3のデータ転
送速度差を十分吸収しうる緩衝メモリブロック8,9を
有している。
An embodiment of the present invention will be described below with reference to FIGS. 1 and 2. In this embodiment, a case is shown in which data sent from an input/output device 1 is sent to a central processing unit 3. The data buffer device 2 has buffer memory blocks 8 and 9 that can sufficiently absorb the difference in data transfer speed between the input/output device 1 and the central processing unit 3.

データ緩衝装置2の緩衝メモリブロック制御を実現する
回路例を第2図に示す。4は入出力装置からのデータを
乗せる入出力装置データバスであり、8.9は入出力装
置からの受信データを格納する緩衝メモリブロックであ
り、それぞれ等容量の複ライン15.16のストローブ
信号により、各緩衝メモリブロック8.9に記憶される
。緩衝メモリブロック8,9からのデータの読出しは緩
衝メモリ出力データバス17.18により取出され、1
7.18のいずれか一方のデータバスがセレクトライン
19によシ指定され、指定されたデータバスのデータが
選択回路12を介して、データ緩衝装置出力データバス
5に送られ中央処理装置3へと送信される。ここで、緩
衝メモリブロック8゜9のメモリアドレスはそれぞれの
緩衝メモリアドレスカウンタ10.11のデータ出力を
乗せる緩衝メモリアドレスライン26.27によシ指定
される。10・、11の緩衝メモリアドレスカウンタは
初期アドレスレジスタ出力ライン23上のデータを緩衝
メモリアドレスプリセットストローブライン24.25
上のストローブ信号によシ初期カウント値をプリセット
し、以後、カウントアツプパルス入力ライン21.22
上のパルス信号によシアドレスが+1される。
An example of a circuit for realizing buffer memory block control of the data buffer device 2 is shown in FIG. 4 is an input/output device data bus that carries data from the input/output device, 8.9 is a buffer memory block that stores received data from the input/output device, and strobe signals of double lines 15 and 16 of equal capacity are provided, respectively. is stored in each buffer memory block 8.9. Reading data from the buffer memory blocks 8, 9 is taken out by the buffer memory output data bus 17.18,
7. One of the data buses of 18 is designated by the select line 19, and the data of the designated data bus is sent to the data buffer output data bus 5 via the selection circuit 12 and sent to the central processing unit 3. is sent. Here, the memory addresses of the buffer memory blocks 8.9 are designated by buffer memory address lines 26.27 carrying the data outputs of the respective buffer memory address counters 10.11. Buffered memory address counters 10, 11 transfer data on initial address register output line 23 to buffered memory address preset strobe lines 24, 25.
The initial count value is preset by the above strobe signal, and thereafter, the count up pulse input lines 21 and 22
The upper pulse signal increments the sear address by +1.

緩衝メモリアドレスカウンタ10,11のカウント値は
それぞれの緩衝メモリブロック8,9のメモリバイト数
に一致(各データバス4,5は8ビツトパス)しており
、緩衝メモリブロックの最終バイトをアクセスし九後は
カウンタ10,11はカウントオーバーを示すCARR
Y出カライフカライン28アクティブ状態となシ、緩衝
メモリブロックに許容バイト数の全データをアクセスし
たことを検知することができる。初期アドレスレジスタ
13は、緩衝メモリブロック中のどのアドレスから最終
アドレスまでを実使用緩衝メモリとするかを記憶するた
めのレジスタであυ、その設定データは初期アドレスデ
ータライン14に乗せられ、初期アドレスデータセット
ライン上の信号により初期アドレスレジスタ13にセッ
トされる。
The count values of the buffer memory address counters 10 and 11 match the number of memory bytes of the respective buffer memory blocks 8 and 9 (each data bus 4 and 5 are 8-bit paths), and the last byte of the buffer memory block is accessed. After that, counters 10 and 11 are CARR indicating count over.
When the output lifeline 28 is in the active state, it is possible to detect that all the data in the allowable number of bytes has been accessed to the buffer memory block. The initial address register 13 is a register for storing which address in the buffer memory block to the final address is to be used as the actual buffer memory, and its setting data is placed on the initial address data line 14, and the initial address It is set in the initial address register 13 by a signal on the data set line.

以上の回路の動作を、入出力装置1から送られてくるデ
ータを受信し、中央処理装置3へ送信する場合のデータ
緩衝装置2t−中心に説明する。
The operation of the above circuit will be explained with a focus on the data buffer device 2t when receiving data sent from the input/output device 1 and transmitting it to the central processing unit 3.

データ転送に先たち、初期アドレスレジスタに緩衝メモ
リブロックの便用開始アドレス(1M!い始める先頭ア
ドレスをセットし、初期アドレスレジスタの出力データ
を緩衝メモリアドレスカウンタlOにセットする。入出
力装置からのデータは随時、緩衝メモリ書込ストローブ
ライン15の信号によシ緩衝メモリプqツクに書込まれ
、1バイト書込み毎にカウントアツプパルス入力ライン
21にパルスが加えられ緩衝メモリアドレスカウンタ1
(1+1加算される。緩衝メモリブロック8の最終アド
レスのバイトにデータが書込まれた時にCARR,Y出
力ライン2Bがアクティブとなり、データ緩衝装置2は
緩衝メモリアドレスカウンタ10、IIK初期アドレス
レジスタ13の出力データをセットして、以降の入出力
装置lからのデ−夕は緩衝メモリブロック9へ書込み、
一方、緩衝メモリブロック8内のデータは選択回路12
で選択されてデータ緩衝装置出力データバス5を通じて
中央処理装置3へと送信される。
Prior to data transfer, set the useful start address (1M!) of the buffer memory block in the initial address register, and set the output data of the initial address register in the buffer memory address counter lO. Data is written to the buffer memory address counter 1 at any time by a signal on the buffer memory write strobe line 15, and a pulse is applied to the count up pulse input line 21 every time one byte is written.
(1+1 is added. When data is written to the final address byte of the buffer memory block 8, the CARR, Y output line 2B becomes active, and the data buffer 2 registers the buffer memory address counter 10 and the IIK initial address register 13. After setting the output data, subsequent data from the input/output device 1 is written to the buffer memory block 9,
On the other hand, the data in the buffer memory block 8 is transferred to the selection circuit 12.
is selected and transmitted to the central processing unit 3 via the data buffer output data bus 5.

緩衝メモリブロック8内の全データが中央処理装置3へ
送信され、かつ、入出力tj[xからの受信データが緩
衝メモリブロック9の所定のメモリ領域全てに書込まれ
た時に、データ緩衝装置2ri、新たに、緩衝メモリア
ドレスカウンタ10.11に初期アドレスレジスタ13
の出力データをセットして、入出力装置1からのデータ
は緩衝メモリブロック8へ書込み、一方、緩衝メモリブ
ロック9内のデータは選択回路12で選択されてデータ
緩衝装置出力データバス5を通じて中央処理装置3へと
送信される。以後、同様の動作が、入出力装置1からの
全ての受信データを中央処理装置3へ送信し終えるまで
繰返す。
When all the data in the buffer memory block 8 has been transmitted to the central processing unit 3 and the received data from the input/output tj[x has been written to all the predetermined memory areas of the buffer memory block 9, the data buffer 2ri , new initial address register 13 is added to buffer memory address counter 10.11.
The data from the input/output device 1 is written to the buffer memory block 8, while the data in the buffer memory block 9 is selected by the selection circuit 12 and sent to the central processing via the data buffer output data bus 5. It is sent to device 3. Thereafter, similar operations are repeated until all received data from the input/output device 1 has been transmitted to the central processing unit 3.

本発明によれば、入出力装置のデータ転送速度に応じて
最適な緩衝メモリブロック長を初期アドレスレジスタ1
3で設定可能となる為、入出力装置1から中央処理装置
3へのアクセス時間をコントロール(短縮可能)するこ
とができる。
According to the present invention, the optimum buffer memory block length is set in the initial address register 1 according to the data transfer speed of the input/output device.
3, the access time from the input/output device 1 to the central processing unit 3 can be controlled (shortened).

〔発明の効果〕〔Effect of the invention〕

本発明によれば、対象の入出力装置のデータ転送速度に
応じて最適な緩衝メモリブロック長(実使用の緩衝メモ
リバイト数)を選択設定可能となる為、アクセス時間を
短縮できコンピュータシステム全体の応答性およびスル
ープットを向上させることができる。
According to the present invention, it is possible to select and set the optimal buffer memory block length (number of buffer memory bytes actually used) according to the data transfer speed of the target input/output device, so access time can be reduced and the overall computer system Responsiveness and throughput can be improved.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はデータ緩衝装置と中央処理装置および入出力装
置の関係図、第2図は本発明のデータ緩衝装置の緩衝メ
モリブロック制御の一実施例を示す図である。 l・・・入出力装置、2・・・データ緩衝装置、3・・
・中央処理装置、4・・・入出力装置データバス、5・
・・データ緩衝装置出力データバス、6・・・入出力装
置制御ライン、7・・・データ緩衝装置制御ライン、8
,9・・・緩衝メモリブロック、10.11・・・緩衝
メモリアドレスカウンタ、12・・・選択回路、13・
・・初期アドレスレジスタ、14・・・初期アドノスデ
ータ2イン、15,16・・・緩衝メモリ書込ストロー
ブライン、17.18・・・緩衝メモリ出力データバス
、19・・・セレクトライン、20・・・初期アドレス
データセットライン、21.22・・・カウントアツプ
パルス入力ライン、23・・・初期アドレスレジスタ出
力ライン、24.25・・・緩衝メモリアドレスプリセ
ットストローブライン、26,27・・・緩衝メモリア
ドレスライン、28,29・・・CAEl、BY出力う
第 1 国 寮20
FIG. 1 is a diagram showing the relationship between a data buffer, a central processing unit, and an input/output device, and FIG. 2 is a diagram showing an embodiment of buffer memory block control of the data buffer of the present invention. l...I/O device, 2...Data buffer device, 3...
・Central processing unit, 4...I/O device data bus, 5.
...Data buffer output data bus, 6...I/O device control line, 7...Data buffer control line, 8
, 9... Buffer memory block, 10.11... Buffer memory address counter, 12... Selection circuit, 13.
...Initial address register, 14...Initial Adnos data 2-in, 15, 16...Buffer memory write strobe line, 17.18...Buffer memory output data bus, 19...Select line, 20... - Initial address data set line, 21.22... Count up pulse input line, 23... Initial address register output line, 24.25... Buffer memory address preset strobe line, 26, 27... Buffer memory Address line, 28, 29...CAEl, BY output 1st country dormitory 20

Claims (1)

【特許請求の範囲】[Claims] 1、入出力装置と中央処理装置の間に接続され、等容量
のデータ格納用メモリを2ブロック(1ブロックは2バ
イト以上の複数バイトから構成される。以下“緩衝メモ
リブロック”と称する。)有し、一方の緩衝メモリブロ
ックへは入出力装置から送られてくるデータを随時受信
し、該緩衝メモリブロックの全バイトに該データが受信
された時に、該緩衝メモリブロックのデータを中央処理
装置に送信し、他方の緩衝メモリブロックへは引続き、
入出力装置からのデータを受信する動作を行ない以下同
様な動作を繰返すいわゆる交代形データ緩衝において、
各緩衝メモリブロックが個々に有する該緩衝メモリアド
レスを指定するアドレスカウンタに初期アドレスを設定
する為の初期アドレスレジスタを具備し、該初期アドレ
スレジスタに任意のデータ(アドレス)を書込む手段を
有して、初期アドレスレジスタに設定されたアドレスか
ら該緩衝メモリの最終アドレスまでの緩衝メモリで上記
交代形データ緩衝動作を実行することを特徴とするデー
タ緩衝装置。
1. Two blocks of equal capacity data storage memory connected between the input/output device and the central processing unit (one block consists of two or more bytes; hereinafter referred to as "buffer memory block"). One buffer memory block receives data sent from an input/output device at any time, and when the data is received in all bytes of the buffer memory block, the data in the buffer memory block is transferred to the central processing unit. and continue to the other buffer memory block.
In so-called alternating data buffering, which receives data from an input/output device and then repeats the same operation,
Each buffer memory block has an initial address register for setting an initial address in an address counter that specifies the buffer memory address, and has means for writing arbitrary data (address) into the initial address register. A data buffering device characterized in that the alternating data buffering operation is executed in a buffer memory from an address set in an initial address register to a final address of the buffer memory.
JP5048385A 1985-03-15 1985-03-15 Data buffer device Pending JPS61210464A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5048385A JPS61210464A (en) 1985-03-15 1985-03-15 Data buffer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5048385A JPS61210464A (en) 1985-03-15 1985-03-15 Data buffer device

Publications (1)

Publication Number Publication Date
JPS61210464A true JPS61210464A (en) 1986-09-18

Family

ID=12860158

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5048385A Pending JPS61210464A (en) 1985-03-15 1985-03-15 Data buffer device

Country Status (1)

Country Link
JP (1) JPS61210464A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6380653U (en) * 1986-11-17 1988-05-27

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6380653U (en) * 1986-11-17 1988-05-27

Similar Documents

Publication Publication Date Title
KR20010013137A (en) Communication DMA Device
JPS61210464A (en) Data buffer device
JP2963696B2 (en) Data transfer control system
JPH03152651A (en) Information transmission system
JPH04333950A (en) Information processing system
JPS61193230A (en) Magnetic disk controller
JPH01191964A (en) Transfer method for memory bus data
JPH08202650A (en) Dma transfer controller
JPS59211125A (en) Memory control system
JPS6019023B2 (en) data processing equipment
JPH06161945A (en) Memory data transfer device
JPS6049465A (en) Data transfer method between microcomputers
JPS61131152A (en) Dma buffer control system
JPS61127025A (en) Optical disk controller
JPH0736739A (en) Data processor
JPS6383854A (en) Data transfer circuit
JPH0237452A (en) Data transfer system for signal processing device
JPH06195297A (en) Dma circuit
JPS61120262A (en) Inter-memory intelligent dma controller
JPH01261763A (en) Dma transfer control device
JPH052551A (en) Dma transfer control system
JPH0452948A (en) Data transfer system for input/output controller
JPS63239549A (en) Data chaining control system
JPH02136949A (en) Input/output controller
JPH01250163A (en) Bus controller