JPS62171064A - Buffer circuit - Google Patents

Buffer circuit

Info

Publication number
JPS62171064A
JPS62171064A JP1313186A JP1313186A JPS62171064A JP S62171064 A JPS62171064 A JP S62171064A JP 1313186 A JP1313186 A JP 1313186A JP 1313186 A JP1313186 A JP 1313186A JP S62171064 A JPS62171064 A JP S62171064A
Authority
JP
Japan
Prior art keywords
data
transfer
buffer
signal
detecting part
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
JP1313186A
Other languages
Japanese (ja)
Inventor
Kazuya Ohashi
大橋 一哉
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 Corp
Original Assignee
NEC Corp
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 Corp filed Critical NEC Corp
Priority to JP1313186A priority Critical patent/JPS62171064A/en
Publication of JPS62171064A publication Critical patent/JPS62171064A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the occurrence of the overflow or the empty condition of a data buffer and to shorten a data bus exclusive time by providing a transferring error detecting part, a number of transferring setting part, etc., and changing the set value of the number of data which can be transferred once. CONSTITUTION:When a data buffer 2 is full and an empty signal 10 is vanished, data are removed from the buffer 2 in accordance with a buffer requesting signal 19. In such a case, before the signal 19 is sent to the buffer 2 and an error detecting part 6, the data are outputted from a memory 1, a data transmitting signal 13 is not sent through a buffer transferring control part 3 to the detecting part 6, then, the detecting part 6 detects a transfer error. Thus, the detecting part 6 sends a setting number changing signal 21 to a transferring number setting part 5 and the setting part 5 increases a set value 14 and therefore, the maximum value of the number of data which can be transferred once is increased. When other transfer error signal 20 is sent to the detecting part 6, the value 14 is decreased, the maximum value of the number of the data, which can be transferred once, is decreased, the overflow of the buffer 2 or the empty condition will not occur and the data bus private time can be shortened.

Description

【発明の詳細な説明】 〔産業上の利用分野:1 本発明はバ・ソファ回路に関し、特に共有のデータバス
を経由してデータの転送を行うバ・・777回路に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application: 1] The present invention relates to a bus circuit, and particularly to a bus bus circuit that transfers data via a shared data bus.

〔従来の技術〕[Conventional technology]

従来、データバスを使用して直接メモリからデータの転
送を行う場合は、転送数設定部で決定された設定値の範
囲内のデータ数を1回に転送することになっており、転
送数設定部が動作中のデータバスの使用状況に応じて設
定数を変更できなかった。
Conventionally, when transferring data directly from memory using a data bus, the number of data within the range of the setting value determined by the transfer number setting section was to be transferred at one time. The set number could not be changed depending on the usage status of the data bus while the unit was in operation.

[発明が解決しようとする問題点〕 上述した従来のべ・ソファ回路は、転送数設定部で設定
された範囲内でデータ数を転送するが、転送数設定部は
動作中不変となっているため、データバスの専有度が流
動的に変化する場合、データバ・ソファがあふれ又は空
き状態を生じる。又、1回に転送するデータ数を劣くす
ると、データバスを専有する時間が長くなり、データバ
スを共有する池の回路の動作に影響を与えるという問題
点がある。
[Problems to be solved by the invention] The conventional sofa circuit described above transfers the number of data within the range set by the transfer number setting section, but the transfer number setting section remains unchanged during operation. Therefore, when the degree of occupancy of the data bus changes fluidly, the data bus sofa becomes overflowing or empty. In addition, if the number of data transferred at one time is reduced, the time for exclusive use of the data bus becomes longer, which poses the problem of affecting the operation of the circuits that share the data bus.

本発明は目的は、データバッファのあふれ又は空き状態
を生じずかつデータバスの専有時間を短縮できるバッフ
ァ回路を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a buffer circuit that can shorten the exclusive use time of a data bus without overflowing or emptying the data buffer.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のバッファ回路は、メモリから読出されたデータ
をデータバスを経由して受領し一時格納するデータバッ
ファと、1回の転送期間中に前記データバッファへ送ら
れるデータ数を計数する転送数計数部と、前記データバ
ッファへのデータ転送の転送誤りを検出し設定数変更信
号を出力する転送エラー検出部と、1回の転送期間中に
転送できる前記データ数を前記設定数変更信号の入力時
に変更する転送数設定部と、前記データバッファの空き
状態と前記転送数設定部が設定した値とに対応して1回
の転送期間中に前記データの転送数を変更するバッファ
転送制御部とを含んで構成される。
The buffer circuit of the present invention includes a data buffer that receives and temporarily stores data read from a memory via a data bus, and a transfer number counter that counts the number of data sent to the data buffer during one transfer period. a transfer error detection unit that detects a transfer error in data transfer to the data buffer and outputs a set number change signal; and a transfer error detection unit that detects a transfer error in data transfer to the data buffer and outputs a set number change signal; a transfer number setting section for changing the number of transfers; and a buffer transfer control section for changing the number of data transfers during one transfer period in accordance with an empty state of the data buffer and a value set by the transfer number setting section. It consists of:

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例のプロ・ツク図である。FIG. 1 is a block diagram of one embodiment of the present invention.

第1図において、メモリ1はデータを記憶する部分、デ
ータバッフT2はメモリ1からのデータを一時的に格納
する部分である。バッファ転送制御部3はメモリ1とデ
ータバ・ソファ2との間のデータ転送を制御する。
In FIG. 1, memory 1 is a part that stores data, and data buffer T2 is a part that temporarily stores data from memory 1. The buffer transfer control unit 3 controls data transfer between the memory 1 and the data server 2.

転送数計数部4は1回のデータ転送期間中に転送される
データ数を計数し、計数値が転送数設定部5で設定され
た転送データ数の設定値14と一致した時、計数一致信
号15をバ・・ソファ転送制御部3へ送る。
The transfer number counting section 4 counts the number of data transferred during one data transfer period, and when the counted value matches the transfer data number setting value 14 set in the transfer number setting section 5, a count match signal is sent. 15 to the sofa transfer control unit 3.

転送エラー検出部6はバッファ空き信号16゜データ送
信信号17.データ要求信号18及びバッファデータ要
求信号19によって転送誤りを検出した時、及び他転送
エラー信号20を入力した時、設定数変更信号21を転
送数設定部5へ送り、転送数設定部5は、設定数変更信
号21が入力した時、設定値14を変更する。
The transfer error detection unit 6 detects a buffer empty signal 16°, a data transmission signal 17. When a transfer error is detected by the data request signal 18 and the buffer data request signal 19, and when the other transfer error signal 20 is input, a setting number change signal 21 is sent to the transfer number setting section 5, and the transfer number setting section 5: When the set number change signal 21 is input, the set value 14 is changed.

メモリ1からデータバッファ2へのデータ転送時、デー
タバッファ2の空きを示すバッファ空き信号10がデー
タバ・ソファ2からバッファ転送制御部31\供給され
ると、バ・・Iノア転送制御部3はバッファ空き信号1
0をデータ要求信号12に変換してメモリ1へ送る。デ
ータ要求信号12を受領したメモリ1はデータをデータ
バス7へ送出し、データ送信1工号13をバ・ソファ転
送制御部3及び転送数計数部4に送る。データ送信信号
13を受領したバ・ソファ転送制御部3はバ・ソファロ
ード信号11をデータパ・ソファ2に送り、データバッ
ファ2は入力データライン8を介してデータを取込む。
When data is transferred from the memory 1 to the data buffer 2, when the buffer empty signal 10 indicating that the data buffer 2 is empty is supplied from the data buffer 2 to the buffer transfer control unit 31, the buffer transfer control unit 3 Buffer empty signal 1
0 into a data request signal 12 and send it to the memory 1. Upon receiving the data request signal 12, the memory 1 sends the data to the data bus 7, and sends a data transmission 1 code 13 to the bus transfer control section 3 and transfer number counting section 4. Having received the data transmission signal 13, the buffer transfer control unit 3 sends a buffer load signal 11 to the data buffer 2, and the data buffer 2 takes in the data via the input data line 8.

一方、データ送信信号13を受領した転送数計数部4は
データ送信信号13を計数し、計数結果と転送数設定部
5からの設定値14とを比較する。
On the other hand, upon receiving the data transmission signal 13, the transfer number counting section 4 counts the data transmission signal 13 and compares the counting result with the set value 14 from the transfer number setting section 5.

転送数計数部4はデータ送信信号13を計数した値と設
定値14とが一致すると計数一致信号15をハ・ソファ
転送制御部3へ送出する。
The transfer number counting section 4 sends a count coincidence signal 15 to the sofa transfer control section 3 when the counted value of the data transmission signal 13 and the set value 14 match.

バ・・Iノア転送制御部3は転送数計数部4からの計数
一致信号15が来るか、又は、データバ・ソファ2から
のバ・ソファ空き信号10が消滅するまで、データ要求
信号]2をメモリ11\送出し続ける。
The transfer controller 3 sends the data request signal 2 until the count match signal 15 from the transfer number counter 4 arrives or the bus empty signal 10 from the data bus sofa 2 disappears. Memory 11\Continue sending.

メモリ1はデータ要求信号12がある間はデータバス7
にデータを乗せ、データ送信信号13をバッファ転送制
御部3及び転送数計数部4へ送出する。
Memory 1 is connected to data bus 7 while data request signal 12 is present.
The data transmission signal 13 is sent to the buffer transfer control section 3 and the transfer number counting section 4.

データバ・ソファ2が一杯でバ・ソファ空き信号10が
消滅している状態では、バ・ソファ要求信号19に応じ
てデータバ・ソファ2から出力データライン9を介して
データが取出され、再びバ・ソファ空き信号10がバ・
ソファ転送制御部3へ送られ、上記した動作が繰返され
る。
When the data bar sofa 2 is full and the bar sofa empty signal 10 has disappeared, data is taken out from the data bar sofa 2 via the output data line 9 in response to the bar sofa request signal 19, and the data bar is returned to the bar state again. Sofa vacant signal 10 is bar.
The data is sent to the sofa transfer control unit 3, and the above-described operation is repeated.

データバ・・Iノア2が空き状態では、バ・ソファ空き
信号10がバッファ転送制御部3へ送られ、バッファ転
送制御部3はメモリ11\データ要求信号12を送り、
転送エラー検出部61\バ・ソファ空き信号16及びデ
ータ要求信号18を送る。
When the data bar 2 is in an empty state, the buffer empty signal 10 is sent to the buffer transfer control unit 3, and the buffer transfer control unit 3 sends the memory 11\data request signal 12.
The transfer error detection unit 61 sends the sofa empty signal 16 and the data request signal 18.

バ・ソファデータ要求信号19がデータバ・・ノファ2
及び転送エラー検出部6へ送られる前にメモリ1からデ
ータがデータバス71\乗せられ、メモリ1からのデー
タ送信信号13がバ・ソファ転送制御部3を経由してデ
ータ送信信号17として転送エラー検出部61\送られ
ない時、転送エラー検出部6は転送誤りを検出して設定
数変更信号21を転送数設定部5へ送り、転送数設定部
5は設定値14を増加する。これにより、1回に転送可
能なデータ数の最大値が増加される。
BA/SOFA data request signal 19 is data BA/NOFA 2
And before being sent to the transfer error detection section 6, the data from the memory 1 is put on the data bus 71\, and the data transmission signal 13 from the memory 1 is passed through the bus transfer control section 3 as the data transmission signal 17 to detect a transfer error. When the detection unit 61\ is not sent, the transfer error detection unit 6 detects a transfer error and sends a set number change signal 21 to the transfer number setting unit 5, and the transfer number setting unit 5 increases the set value 14. This increases the maximum number of data that can be transferred at one time.

池転送エラー信号20が転送エラー検出部6へ送ちれる
と、転送エラー検出部すは設定数変更信号2]を転送数
設定部5へ送り、転送数設定部5は設定値14を減少し
、1回に転送可能なデータ数の最大値が減少される。
When the transfer error signal 20 is sent to the transfer error detection section 6, the transfer error detection section sends a setting number change signal 2] to the transfer number setting section 5, and the transfer number setting section 5 decreases the setting value 14. , the maximum number of data that can be transferred at one time is reduced.

I発明の効果〕 以上説明したように本発明のバ・ソファ回路は、データ
を転送するためのデータバスを共有するバッファ回路に
おいて、データバッファの使用状態とデータ転送数を計
数した結果とを参照することにより、1回に転送できる
データ数の設定値を変更することができるので、データ
バ・ソファのあふれ又は空き状態を生じずかつデータバ
スの専有時間を短縮して、データハ・ソファ及びデータ
バスの利用効率を向上できるという効果が、7)る。
I. Effects of the Invention] As explained above, the bus sofa circuit of the present invention is a buffer circuit that shares a data bus for transferring data, and the buffer circuit can refer to the usage state of the data buffer and the result of counting the number of data transfers. By doing this, you can change the setting value for the number of data that can be transferred at one time, so you can prevent the data bus from overflowing or becoming empty, and reduce the exclusive time of the data bus. This has the effect of improving the utilization efficiency of 7).

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

第1「4は本発明の一実施例のプロ・・/り図である。 ■・・・メモリ、2・・データバ・・ソファ、3・・・
バ・ソファ転送制御部、・1・・・転送数計数部、5・
・・転送数設定部、b・・・転送エラー検出部、7・・
データバス、8・・・入力データライン、9・・・出力
データライン、10・・・ハ・lファ空き信号、11・
・・バ・・ソファロード信号、】2・・・データ要求信
号、13・・・データ送信信号、14・・設定値、15
・・・計数τ致信号、1()・・・バ・ソファ空信号、
17・・・データ送信信号、18・・・データ要求信号
、19・・・バ・ソファデータ要求信号、20・・・池
転送エラー信号、21・・・設定数変更信号。
1st ``4'' is a professional diagram of an embodiment of the present invention. ■...Memory, 2...Database...Sofa, 3...
BA sofa transfer control unit, 1...transfer number counting unit, 5.
... Transfer number setting section, b... Transfer error detection section, 7...
data bus, 8...input data line, 9...output data line, 10...Ha/lfa empty signal, 11...
...Ba... Sofa load signal, ]2... Data request signal, 13... Data transmission signal, 14... Setting value, 15
...Counting τ signal, 1()...Ba sofa empty signal,
17...Data transmission signal, 18...Data request signal, 19...Bath data request signal, 20...Position transfer error signal, 21...Setting number change signal.

Claims (1)

【特許請求の範囲】[Claims] メモリから読出されたデータをデータバスを経由して受
領し一時格納するデータバッファと、1回の転送期間中
に前記データバッファへ送られるデータ数を計数する転
送数計数部と、前記データバッファへのデータ転送の転
送誤りを検出し設定数変更信号を出力する転送エラー検
出部と、1回の転送期間中に転送できる前記データ数を
前記設定数変更信号の入力時に変更する転送数設定部と
、前記データバッファの空き状態と前記転送数設定部が
設定した値とに対応して1回の転送期間中に前記データ
の転送数を変更するバッファ転送制御部とを含むことを
特徴とするバッファ回路。
a data buffer that receives and temporarily stores data read from memory via a data bus; a transfer number counter that counts the number of data sent to the data buffer during one transfer period; a transfer error detection unit that detects a transfer error in the data transfer and outputs a set number change signal; and a transfer number setting unit that changes the number of data that can be transferred during one transfer period when the set number change signal is input. , a buffer transfer control unit that changes the number of data transfers during one transfer period in accordance with the empty state of the data buffer and the value set by the transfer number setting unit. circuit.
JP1313186A 1986-01-23 1986-01-23 Buffer circuit Pending JPS62171064A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1313186A JPS62171064A (en) 1986-01-23 1986-01-23 Buffer circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1313186A JPS62171064A (en) 1986-01-23 1986-01-23 Buffer circuit

Publications (1)

Publication Number Publication Date
JPS62171064A true JPS62171064A (en) 1987-07-28

Family

ID=11824599

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1313186A Pending JPS62171064A (en) 1986-01-23 1986-01-23 Buffer circuit

Country Status (1)

Country Link
JP (1) JPS62171064A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5710638A (en) * 1991-06-22 1998-01-20 Fuji Xerox Co., Ltd. Image processing system with a buffer memory

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5710638A (en) * 1991-06-22 1998-01-20 Fuji Xerox Co., Ltd. Image processing system with a buffer memory

Similar Documents

Publication Publication Date Title
US5497501A (en) DMA controller using a predetermined number of transfers per request
US5179709A (en) Look ahead bus transfer request
JP4063529B2 (en) Bus system and retry method
US4161779A (en) Dynamic priority system for controlling the access of stations to a shared device
JP3057591B2 (en) Multiprocessor system
JPS62171064A (en) Buffer circuit
EP0378422B1 (en) Look ahead bus transfer request
JPS63304316A (en) Buffer circuit
KR100199021B1 (en) A multi-interrupt control device and method by interrupt order on pci bus
JPH0650499B2 (en) Data transfer method between microprocessors
JPH0461388B2 (en)
JPH0226904B2 (en)
JPH04163659A (en) Bus arbitration system
JPS5818727A (en) Method and apparatus for self-control of dispersion type priority competition
JPS6277666A (en) Buffer circuit
JP2802091B2 (en) Interrupt vector control method
JPH0512203A (en) Bus performance measurement system
JPH06224975A (en) Method for resetting modules connected with each other, and system using this method
KR19980044002A (en) Multiple Interrupt Control Units and Methods for an Affordable PCI Bus
JPS61269545A (en) Computer system
JPS614342A (en) Information transfer system
JPS62140156A (en) Polling system
JPH03147048A (en) Polling control system
JPH02310657A (en) Bus connecting device
JPS626359A (en) Bus control system