JP3076199B2 - Buffer access control circuit - Google Patents

Buffer access control circuit

Info

Publication number
JP3076199B2
JP3076199B2 JP06147382A JP14738294A JP3076199B2 JP 3076199 B2 JP3076199 B2 JP 3076199B2 JP 06147382 A JP06147382 A JP 06147382A JP 14738294 A JP14738294 A JP 14738294A JP 3076199 B2 JP3076199 B2 JP 3076199B2
Authority
JP
Japan
Prior art keywords
data
fifo buffer
buffer
written
control circuit
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 - Fee Related
Application number
JP06147382A
Other languages
Japanese (ja)
Other versions
JPH0816458A (en
Inventor
格 岡野
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 JP06147382A priority Critical patent/JP3076199B2/en
Publication of JPH0816458A publication Critical patent/JPH0816458A/en
Application granted granted Critical
Publication of JP3076199B2 publication Critical patent/JP3076199B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Computer And Data Communications (AREA)
  • Memory System (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明はバッファアクセス制御回
路に関し、特にFIFO(ファーストインファーストア
ウト)バッファを複数のプロセッサ間で共用するシステ
ムにおけるバッファアクセス高速化方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a buffer access control circuit, and more particularly to a high speed buffer access system in a system in which a FIFO (first in first out) buffer is shared among a plurality of processors.

【0002】[0002]

【従来の技術】FIFOバッファを複数のプロセッサ間
で共用するシステムとしては、FIFOバッファをプロ
セッサ間の通信バッファとして使用する例がある。具体
的には、密結合されたプロセッサ群をネットワークによ
って疎結合するシステムにおける例を挙げることができ
る。
2. Description of the Related Art As a system for sharing a FIFO buffer between a plurality of processors, there is an example in which a FIFO buffer is used as a communication buffer between processors. Specifically, an example in a system in which tightly coupled processors are loosely coupled by a network can be given.

【0003】このシステムにおいてはプロセッサ群間の
通信を行う際に共通にアクセスできるメモリがないた
め、それらプロセッサ群間の通信メッセージを覚えてお
くためのバッファとしてFIFOバッファが使用されて
いる。
[0003] In this system, since there is no memory that can be commonly accessed when performing communication between the processor groups, a FIFO buffer is used as a buffer for storing communication messages between the processor groups.

【0004】上記のシステムではFIFOバッファがプ
ロセッサ群内の共有資源としてバス等に接続されてお
り、各プロセッサは通信元毎に、または通信先毎に、あ
るいはその両方の場合によって分けられたFIFOバッ
ファに通信メッセージの書込み読出しを行うことで、通
信相手先とメッセージのやりとりを行っている。
In the above-mentioned system, a FIFO buffer is connected to a bus or the like as a shared resource in a processor group, and each processor is provided with a FIFO buffer divided for each communication source, each communication destination, or both. A message is exchanged with a communication partner by writing and reading a communication message.

【0005】通信メッセージの長さはシステムによって
様々であるが、一般的には数バイト〜数十バイト程度の
長さである。また、システムバスの幅は2バイト〜8バ
イト程度であるため、FIFOバッファに対する書込み
読出しは複数サイクルにわたって行われる。
The length of a communication message varies depending on the system, but is generally several bytes to several tens of bytes. Since the width of the system bus is about 2 to 8 bytes, writing and reading to and from the FIFO buffer are performed over a plurality of cycles.

【0006】上記の通信メッセージの内容は決められた
フォーマットにしたがっているために似通った内容のも
のが多く、ほとんどの場合、通信メッセージの一部が異
なるだけである。
Since the contents of the above-mentioned communication messages follow a predetermined format, they often have similar contents. In most cases, only a part of the communication messages differs.

【0007】[0007]

【発明が解決しようとする課題】上述した従来のシステ
ムでは、FIFOバッファがプロセッサ間の通信バッフ
ァとして使用されており、プロセッサ間で通信を行う際
に各プロセッサからのアクセスがFIFOバッファに集
中するため、他のプロセッサの動きによってFIFOバ
ッファへのアクセスが遅くなるという問題が発生する。
In the above-mentioned conventional system, the FIFO buffer is used as a communication buffer between the processors. When communication is performed between the processors, accesses from the processors concentrate on the FIFO buffer. In addition, there is a problem that the access to the FIFO buffer is delayed due to the movement of another processor.

【0008】システムバスを経由してFIFOバッファ
をアクセスする場合には、さらにFIFOバッファへの
アクセスの集中による問題が顕著となる。
When accessing the FIFO buffer via the system bus, the problem due to the concentration of accesses to the FIFO buffer becomes more remarkable.

【0009】そこで、本発明の目的は上記の問題点を解
消し、FIFOバッファへのアクセス頻度を低減し、シ
ステム性能の向上を図ることができるバッファアクセス
制御回路を提供することにある。
An object of the present invention is to provide a buffer access control circuit which solves the above-mentioned problems, reduces the frequency of accessing the FIFO buffer, and can improve the system performance.

【0010】[0010]

【課題を解決するための手段】本発明によるバッファア
クセス制御回路は、複数のエントリからなるFIFOバ
ッファへのアクセスを制御するバッファアクセス制御回
路であって、予め規定されかつ前記FIFOバッファに
書込まれるデータのフォーマットを保持する保持手段
と、前記FIFOバッファに書込むデータを前記保持手
段に保持された前記フォーマットと比較する比較手段
と、前記比較手段により連続して一致が検出された回数
が予め設定された所定数以上か否かを判定する判定手段
と、前記判定手段で前記所定数以上と判定されたときに
前記FIFOバッファに書込むデータのうち変化する頻
度が高い特定ワードのみを書込むよう制御する手段とを
備えている。
SUMMARY OF THE INVENTION A buffer access control circuit according to the present invention is a buffer access control circuit for controlling access to a FIFO buffer consisting of a plurality of entries, and is defined in advance and written into the FIFO buffer. Holding means for holding a format of data, comparing means for comparing data to be written in the FIFO buffer with the format held in the holding means, and a preset number of times that a match is continuously detected by the comparing means Determining means for determining whether the number is equal to or more than the predetermined number, and writing only a specific word having a high frequency of change among data to be written to the FIFO buffer when the determining means determines that the number is equal to or more than the predetermined number. Control means.

【0011】[0011]

【0012】[0012]

【0013】[0013]

【作用】プロセッサはFIFOバッファに書込むデータ
のうち最初の4エントリに書込むデータを管理テーブル
に記憶させておき、5エントリ目以降の書込みにおいて
FIFOバッファへの書込みに先立って書込みデータと
管理テーブルの内容とを書込み単位毎に比較する。
The processor stores the data to be written in the first four entries of the data to be written in the FIFO buffer in the management table, and in the writing of the fifth and subsequent entries, the write data and the management table are stored before the writing to the FIFO buffer. Is compared for each writing unit.

【0014】プロセッサはその書込み単位毎の比較によ
って一致が検出されると、その一致が検出されたワード
についてはFIFOバッファへの書込みを抑止する。
When a match is detected by the comparison for each write unit, the processor suppresses writing to the FIFO buffer for the word for which the match is detected.

【0015】これによって、FIFOバッファへの書込
みデータが似通っている場合、書込むデータが既にFI
FOバッファに書込まれていればその書込みを行わない
ので、システムバス及びFIFOバッファの使用率の低
減が可能となる。
Thus, if the data to be written to the FIFO buffer is similar, the data to be written is already
If the data has been written to the FO buffer, the writing is not performed, so that the usage rate of the system bus and the FIFO buffer can be reduced.

【0016】[0016]

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

【0017】図1は本発明の一実施例の構成を示すブロ
ック図である。図において、プロセッサ1,2はシステ
ムバス100及びデータレジスタ3を介してFIFOバ
ッファ4に接続されており、FIFOバッファ4を介し
て互いに通信を行うようになっている。
FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention. In the figure, processors 1 and 2 are connected to a FIFO buffer 4 via a system bus 100 and a data register 3 and communicate with each other via the FIFO buffer 4.

【0018】また、プロセッサ1,2は制御プロセッサ
(μP)10,20と、書込みデータを管理する管理テ
ーブル12,22を有する制御記憶11,21とを含ん
で構成されている。
The processors 1 and 2 include control processors (μP) 10 and 20 and control memories 11 and 21 having management tables 12 and 22 for managing write data.

【0019】データレジスタ3はプロセッサ1,2の制
御プロセッサ10,20からシステムバス100上に出
力された書込みデータを保持する。
The data register 3 holds the write data output on the system bus 100 from the control processors 10 and 20 of the processors 1 and 2.

【0020】FIFOバッファ4は4エントリ×4ワー
ド×2セットからなり、FIFOバッファ4の各セット
はプロセッサ1,2に夫々割付けられており、FIFO
バッファ4の各エントリはFIFO制御回路6によって
FIFO制御される。
The FIFO buffer 4 is composed of 4 entries × 4 words × 2 sets, and each set of the FIFO buffer 4 is assigned to each of the processors 1 and 2.
Each entry of the buffer 4 is FIFO controlled by a FIFO control circuit 6.

【0021】FIFOバッファ4にはFIFO制御回路
6の制御でデータレジスタ3からの書込みデータが書込
まれる。また、FIFOバッファ4に格納されたデータ
は最も古いエントリのデータからFIFO制御回路6の
制御によって読出されて出力される。
The write data from the data register 3 is written into the FIFO buffer 4 under the control of the FIFO control circuit 6. The data stored in the FIFO buffer 4 is read out from the oldest entry data under the control of the FIFO control circuit 6 and output.

【0022】デコーダ5はシステムバス100上に出力
された制御プロセッサ10,20からの制御信号をデコ
ードし、その内容をFIFO制御回路6に通知する。
The decoder 5 decodes control signals from the control processors 10 and 20 output on the system bus 100 and notifies the FIFO control circuit 6 of the contents.

【0023】FIFO制御回路6はデコーダ5からの通
知及び外部指示に応じてFIFOバッファ4をFIFO
制御する。
The FIFO control circuit 6 stores the FIFO buffer 4 in accordance with the notification from the decoder 5 and an external instruction.
Control.

【0024】プロセッサ1,2の制御プロセッサ10,
20は制御記憶11,21に書込まれた制御プログラム
を読出して実行するとともに、他のプロセッサ2,1と
の通信のためにシステムバス100及びデータレジスタ
3を経てFIFOバッファ4に通信データを書込む。
Control processors 10 of processors 1 and 2
Reference numeral 20 reads and executes the control program written in the control memories 11 and 21, and writes communication data to the FIFO buffer 4 via the system bus 100 and the data register 3 for communication with other processors 2 and 1. Put in.

【0025】通信データがFIFOバッファ4のエント
リに書込まれ、制御プロセッサ10,20から書込み完
了指示があると、この書込み指示をデコーダ5がデコー
ドしてFIFO制御回路6に通知するので、FIFO制
御回路6はそのエントリを有効にする。
When the communication data is written into the entry of the FIFO buffer 4 and there is a write completion instruction from the control processors 10 and 20, the decoder 5 decodes this write instruction and notifies the FIFO control circuit 6, so that FIFO control is performed. Circuit 6 validates the entry.

【0026】また、通信相手先のプロセッサ2,1から
通信データ読込み可能指示があると、その通信データ読
込み可能指示をデコーダ5がデコードしてFIFO制御
回路6に通知するので、FIFO制御回路6はFIFO
バッファ4に格納されたデータのうち最も古いエントリ
のデータを読出して出力する。
When there is an instruction to read communication data from the processor 2 or 1 at the other end of communication, the decoder 5 decodes the instruction to read communication data and notifies the FIFO control circuit 6 of the instruction. FIFO
The data of the oldest entry among the data stored in the buffer 4 is read and output.

【0027】通常は1エントリ内の4ワードを全て埋め
てから制御プロセッサ10,20が書込み完了指示を出
力するため、FIFOバッファ4の書込みサイクル及び
システムバス100を4サイクル使用する必要がある。
Normally, since the control processors 10 and 20 output a write completion instruction after filling all four words in one entry, it is necessary to use the write cycle of the FIFO buffer 4 and the system bus 100 for four cycles.

【0028】さらに、システムバス100にFIFOバ
ッファ4を共用するプロセッサ2,1が接続されると、
システムバス100及びFIFOバッファ4の使用率が
高くなり、システムの効率が低下してしまう。
Further, when the processors 2 and 1 sharing the FIFO buffer 4 are connected to the system bus 100,
The usage rate of the system bus 100 and the FIFO buffer 4 increases, and the efficiency of the system decreases.

【0029】そのため、本実施例では、FIFOバッフ
ァ4に書込んだデータをFIFOバッファ4のエントリ
毎に管理する管理テーブル12,22を制御記憶11,
21内に作成し、FIFOバッファ4に書込むデータを
管理テーブル13,23の内容と比較して一致するワー
ドについてはその書込みを抑止している。
For this reason, in this embodiment, the management tables 12 and 22 for managing the data written in the FIFO buffer 4 for each entry of the FIFO buffer 4 are stored in the control storage 11,
21. Data created in the buffer 21 and written to the FIFO buffer 4 is compared with the contents of the management tables 13 and 23, and writing of a coincident word is suppressed.

【0030】プロセッサ1,2各々に割付けられたFI
FOバッファ4の容量は4エントリなので、FIFOバ
ッファ4に書込むデータのうち最初の4エントリに書込
むデータは管理テーブル12,22に記憶させておく。
FI assigned to each of processors 1 and 2
Since the capacity of the FO buffer 4 is four entries, the data to be written to the first four entries of the data to be written to the FIFO buffer 4 is stored in the management tables 12 and 22.

【0031】5エントリ目以降の書込みについては、F
IFOバッファ4への書込みに先立って書込みデータと
管理テーブル12,22の内容(既にFIFOバッファ
4内に書込まれているデータ)とを書込み単位(本実施
例では4バイト単位)毎に比較し、一致するワードにつ
いてはその書込みを抑止する。
For writing after the fifth entry, F
Prior to writing to the FIFO buffer 4, the write data is compared with the contents of the management tables 12 and 22 (data already written in the FIFO buffer 4) for each write unit (in this embodiment, 4 byte unit). The writing of the matching word is suppressed.

【0032】これによって、FIFOバッファ4への書
込みデータが似通っている場合、書込むデータが既にF
IFOバッファ4に書込まれていればその書込みを行わ
ないので、システムバス100及びFIFOバッファ4
の使用率を低減させることができる。
Thus, if the data to be written to the FIFO buffer 4 is similar, the data to be written is already F
If the data has been written to the FIFO buffer 4, the writing is not performed, so that the system bus 100 and the FIFO buffer 4
Can be reduced.

【0033】図2は本発明の他の実施例の構成を示すブ
ロック図である。図において、本発明の他の実施例は制
御記憶11,21に管理テーブル12,22の代りにフ
ォーマット保持部13,23及びカウント部14,24
を設けた以外は本発明の一実施例と同様の構成となって
おり、同一構成要素には同一符号を付してある。
FIG. 2 is a block diagram showing the configuration of another embodiment of the present invention. In the figure, in another embodiment of the present invention, instead of the management tables 12 and 22, the format holding units 13 and 23 and the counting units 14 and 24 are stored in the control memories 11 and 21.
The configuration is the same as that of the embodiment of the present invention except for the provision of, and the same components are denoted by the same reference numerals.

【0034】フォーマット保持部13,23はプロセッ
サ1,2間の通信データの通信データフォーマットを保
持し、カウント部14,24は通信データがフォーマッ
ト保持部13,23に保持された通信データフォーマッ
トと連続して一致した回数をカウントするためものであ
る。
The format holding units 13 and 23 hold the communication data format of the communication data between the processors 1 and 2, and the counting units 14 and 24 keep the communication data continuous with the communication data format held in the format holding units 13 and 23. This is for counting the number of times of matching.

【0035】FIFOバッファ4にデータを書込む際、
制御プロセッサ10,20はその書込みデータをフォー
マット保持部13,23に保持された通信データフォー
マットと比較し、その比較結果が一致を示すときにカウ
ント部14,24をカウントアップし、その比較結果が
不一致を示すときにカウント部14,24をリセットす
る。
When writing data to the FIFO buffer 4,
The control processors 10 and 20 compare the write data with the communication data format held in the format holding units 13 and 23, and count up the counting units 14 and 24 when the comparison result indicates a match. The counters 14 and 24 are reset when indicating a mismatch.

【0036】この場合、制御プロセッサ10,20は通
信データフォーマットの変化する頻度が高い部分(例え
ば、通信データフォーマットの転送アドレス等)が書込
みデータとの比較対象とならないようにしている。
In this case, the control processors 10 and 20 make sure that a portion where the communication data format changes frequently (for example, a transfer address of the communication data format) is not compared with the write data.

【0037】制御プロセッサ10,20はカウント部1
4,24のカウント値がFIFOバッファ4の容量を越
えると、FIFOバッファ4が予め規定された通信デー
タフォーマットで埋め尽くされたと判断する。
The control processors 10 and 20 include a counting unit 1
When the count values of the buffers 4 and 24 exceed the capacity of the FIFO buffer 4, it is determined that the FIFO buffer 4 has been filled with the communication data format defined in advance.

【0038】これ以降、制御プロセッサ10,20はF
IFOバッファ4に通信データを書込むときに、予め規
定された通信データフォーマットのうち比較対象外とな
っている部分についてのみ書換えを行う。よって、通信
データのFIFOバッファ4への書込み時間を大幅に短
縮することができる。
Thereafter, the control processors 10 and 20
When writing the communication data into the I / O buffer 4, only the part of the communication data format which is not specified in the predefined communication data format is rewritten. Therefore, the time for writing communication data to the FIFO buffer 4 can be significantly reduced.

【0039】図3は本発明の他の実施例で用いられる通
信データフォーマットの一例を示す図である。図におい
て、通信データAは16バイトのコードであり、通信元
/通信先A1と、コマンドA2と、転送長A3と、転送
アドレスA4とから構成されている。
FIG. 3 is a diagram showing an example of a communication data format used in another embodiment of the present invention. In the figure, communication data A is a 16-byte code, and is composed of a communication source / communication destination A1, a command A2, a transfer length A3, and a transfer address A4.

【0040】本発明の他の実施例では、システムバス1
00上には2つのプロセッサ1,2が接続されているだ
けであり、しかもFIFOバッファ4の各セットがプロ
セッサ1,2各々に割付けられているので、通信元/通
信先A1の内容は毎回同じものと考えられる。
In another embodiment of the present invention, the system bus 1
Since only two processors 1 and 2 are connected to the processor 00 and each set of the FIFO buffer 4 is assigned to each of the processors 1 and 2, the contents of the communication source / communication destination A1 are the same each time. It is considered something.

【0041】よって、通信データAの通信元/通信先A
1とコマンドA2と転送長A3とがFIFOバッファ4
への書込み時の比較対象となり、転送アドレスA4は比
較対象外となる。
Therefore, the source / destination A of the communication data A
1, the command A2 and the transfer length A3 are stored in the FIFO buffer 4
And the transfer address A4 is excluded from the comparison.

【0042】尚、上記の説明では制御記憶11,21に
管理テーブル13,23を設ける場合と、制御記憶1
1,21にフォーマット保持部13,23及びカウント
部14,24を設ける場合とに分けて説明したが、制御
記憶11,21に管理テーブル13,23とフォーマッ
ト保持部13,23とカウント部14,24とを設けて
通信データに応じて制御を切換えるようにすることも可
能である。
In the above description, the case where the management tables 13 and 23 are provided in the control
Although the case where the format holding units 13 and 23 and the counting units 14 and 24 are provided in the control storage units 11 and 21 have been described separately, the management tables 13 and 23, the format holding units 13 and 23 and the counting unit 14, 24, the control can be switched according to the communication data.

【0043】このように、似通ったデータがFIFOバ
ッファ4に書込まれる場合に、FIFOバッファ4に書
込み済みのデータに対してはその書込みを省略すること
によって、FIFOバッファ4への書込みの高速化とと
もにシステムバス100等のプロセッサ1,2の共用資
源の使用率を減らすことができる。
As described above, when similar data is written to the FIFO buffer 4, the writing of the data already written to the FIFO buffer 4 is omitted, thereby speeding up the writing to the FIFO buffer 4. In addition, the usage rate of the shared resources of the processors 1 and 2 such as the system bus 100 can be reduced.

【0044】FIFOバッファ4は16バイト×4ワー
ドの容量を持ち、4バイト幅のシステムバス100を経
由して通信データが書込まれる。すなわち、1ワードの
書込みには4サイクルを要する。
The FIFO buffer 4 has a capacity of 16 bytes × 4 words, and communication data is written through a system bus 100 having a width of 4 bytes. That is, writing one word requires four cycles.

【0045】ここで、通信データのフォーマットが図3
に示すように16バイトのデータで、通信内容が単純な
転送要求である場合、各通信データ間で異なっているの
は転送先アドレスA4のみであり、それ以外は全て共通
の内容となっている。この場合、転送長A3が一定とす
る。
Here, the format of the communication data is shown in FIG.
As shown in (1), when the communication content is a simple transfer request with 16 bytes of data, the only difference between the communication data is the transfer destination address A4, and all other data have the same content. . In this case, the transfer length A3 is constant.

【0046】FIFOバッファ4への書込みのうち最初
の4回は16バイトの通信データ全てを書込む必要があ
るが、5回目以降は転送先アドレスが含まれる4バイト
を書換えるのみでよく、その通信データの書込みに要す
る時間を1/4に短縮することができる。この書込み時
間短縮効果は通信データの転送長が長く、しかも内容が
似通っているほど、またFIFOバッファ4の容量が小
さいほど顕著である。
In the first four times of writing to the FIFO buffer 4, it is necessary to write all 16-byte communication data, but in the fifth and subsequent times, only the four bytes including the transfer destination address need to be rewritten. The time required for writing communication data can be reduced to 1/4. The effect of shortening the writing time is more remarkable as the transfer length of the communication data is longer and the contents are similar and the capacity of the FIFO buffer 4 is smaller.

【0047】尚、本発明の他の実施例では転送先アドレ
スのみが変わる場合について述べたが、通信先が変わる
場合にも対応することは可能であり、その場合でも通信
データの書込みに要する時間を1/2に短縮することが
できる。
In the other embodiment of the present invention, the case where only the transfer destination address changes has been described. However, it is possible to cope with the case where the communication destination changes. Can be reduced to half.

【0048】[0048]

【発明の効果】以上説明したように本発明のバッファア
クセス制御回路によれば、FIFOバッファの各エント
リに書込まれたデータを保持しておき、FIFOバッフ
ァに書込むデータと保持内容との比較結果が一致を示す
ときにFIFOバッファへのデータの書込みを抑止する
ことによって、FIFOバッファへのアクセス頻度を低
減し、システム性能の向上を図ることができるという効
果がある。
As described above, according to the buffer access control circuit of the present invention, the data written in each entry of the FIFO buffer is held, and the data written in the FIFO buffer is compared with the held contents. By suppressing the writing of data to the FIFO buffer when the result indicates a match, the frequency of access to the FIFO buffer can be reduced and the system performance can be improved.

【0049】また、本発明の他のバッファアクセス制御
回路によれば、FIFOバッファの各エントリに書込ま
れたデータを保持しておき、FIFOバッファに書込む
データと保持内容とのワード単位での比較結果が一致を
示すときに一致が検出されたFIFOバッファのワード
へのデータの書込みを抑止することによって、FIFO
バッファへのアクセス頻度を低減し、システム性能の向
上を図ることができるという効果がある。
According to another buffer access control circuit of the present invention, the data written in each entry of the FIFO buffer is held, and the data to be written to the FIFO buffer and the held contents are stored in word units. By suppressing the writing of data to a word in the FIFO buffer where a match is detected when the comparison result indicates a match,
There is an effect that the frequency of access to the buffer can be reduced and the system performance can be improved.

【0050】さらに、本発明の他のバッファアクセス制
御回路によれば、予め規定されかつFIFOバッファに
書込まれるデータのフォーマットを保持しておき、FI
FOバッファに書込むデータの所定ワードと保持したフ
ォーマットの所定ワードの内容との比較結果が連続して
一致を示す回数が予め設定された所定数以上と判定され
たときにFIFOバッファに書込むデータのうち予め設
定された特定ワードのみを書込むことによって、FIF
Oバッファへのアクセス頻度を低減し、システム性能の
向上を図ることができるという効果がある。
Further, according to another buffer access control circuit of the present invention, the format of data defined in advance and written in the FIFO buffer is held,
Data to be written to the FIFO buffer when it is determined that the number of consecutive matches between the predetermined word of the data to be written to the FO buffer and the content of the predetermined word in the held format is equal to or greater than a predetermined number. By writing only a specific word set in advance,
There is an effect that the frequency of accessing the O-buffer can be reduced and the system performance can be improved.

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

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】本発明の他の実施例の構成を示すブロック図で
ある。
FIG. 2 is a block diagram showing a configuration of another embodiment of the present invention.

【図3】本発明の他の実施例で用いられる通信データフ
ォーマットの一例を示す図である。
FIG. 3 is a diagram showing an example of a communication data format used in another embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1,2 プロセッサ 4 FIFOバッファ 6 デコーダ 10,20 制御プロセッサ 11,21 制御記憶 12,22 管理テーブル 13,23 フォーマット保持部 14,24 カウント部 1, 2 processor 4 FIFO buffer 6 decoder 10, 20 control processor 11, 21, control storage 12, 22, management table 13, 23 format holding unit 14, 24 counting unit

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数のエントリからなるFIFOバッフ
ァへのアクセスを制御するバッファアクセス制御回路で
あって、予め規定されかつ前記FIFOバッファに書込
まれるデータのフォーマットを保持する保持手段と、前
記FIFOバッファに書込むデータを前記保持手段に保
持された前記フォーマットと比較する比較手段と、前記
比較手段により連続して一致が検出された回数が予め設
定された所定数以上か否かを判定する判定手段と、前記
判定手段で前記所定数以上と判定されたときに前記FI
FOバッファに書込むデータのうち変化する頻度が高い
特定ワードのみを書込むよう制御する手段とを有するこ
とを特徴とするバッファアクセス制御回路。
1. A buffer access control circuit for controlling access to a FIFO buffer consisting of a plurality of entries, comprising: holding means for holding a format of data defined in advance and written in the FIFO buffer; Comparing means for comparing the data to be written into the format with the format held in the holding means, and determining means for determining whether or not the number of times that the matching means continuously detects a match is equal to or greater than a predetermined number. And FI when the determination means determines that the number is equal to or greater than the predetermined number.
Means for controlling to write only a specific word having a high frequency of change among data to be written to the FO buffer.
【請求項2】 前記比較手段は、前記特定ワードの比較
を行わないよう構成されたことを特徴とする請求項1記
載のバッファアクセス制御回路。
2. The buffer access control circuit according to claim 1, wherein said comparison means is configured not to compare said specific word.
【請求項3】 前記FIFOバッファは、システムバス
を介して接続された複数のプロセッサ間で共用するよう
構成されたことを特徴とする請求項3または請求項2記
載のバッファアクセス制御回路。
3. The buffer access control circuit according to claim 3, wherein said FIFO buffer is configured to be shared among a plurality of processors connected via a system bus.
JP06147382A 1994-06-29 1994-06-29 Buffer access control circuit Expired - Fee Related JP3076199B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06147382A JP3076199B2 (en) 1994-06-29 1994-06-29 Buffer access control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06147382A JP3076199B2 (en) 1994-06-29 1994-06-29 Buffer access control circuit

Publications (2)

Publication Number Publication Date
JPH0816458A JPH0816458A (en) 1996-01-19
JP3076199B2 true JP3076199B2 (en) 2000-08-14

Family

ID=15428992

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06147382A Expired - Fee Related JP3076199B2 (en) 1994-06-29 1994-06-29 Buffer access control circuit

Country Status (1)

Country Link
JP (1) JP3076199B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5816344A (en) * 1981-07-21 1983-01-31 Nec Corp Data compression and storage device
JPS5935260A (en) * 1982-08-24 1984-02-25 Nec Corp Data compressing and writing device
JPH04260138A (en) * 1991-02-15 1992-09-16 Nippon Denki Joho Service Kk File compressing system

Also Published As

Publication number Publication date
JPH0816458A (en) 1996-01-19

Similar Documents

Publication Publication Date Title
US6115761A (en) First-In-First-Out (FIFO) memories having dual descriptors and credit passing for efficient access in a multi-processor system environment
US5526508A (en) Cache line replacing system for simultaneously storing data into read and write buffers having multiplexer which controls by counter value for bypassing read buffer
JP3181515B2 (en) Data transfer method and data transfer device using the method
JPH0877066A (en) Flash memory controller
JPH01293431A (en) Memory access system
US7451182B2 (en) Coordinating operations of network and host processors
JP3076199B2 (en) Buffer access control circuit
US6434592B1 (en) Method for accessing a network using programmed I/O in a paged, multi-tasking computer
JPS6272041A (en) Cache memory controller
US6847990B2 (en) Data transfer unit with support for multiple coherency granules
US20080243757A1 (en) Direct memory access controller with dynamic data transfer width adjustment, method thereof, and computer accessible storage media
JPH09311812A (en) Microcomputer
JP2000215154A (en) Dma controller
JP2594611B2 (en) DMA transfer control device
JPS6019816B2 (en) microprogram control adapter
JPS59112327A (en) Controlling method of ring buffer
JPH0351943A (en) Sharing system for high/low speed bus lines
JPH04195563A (en) Controller for memory system
JPH06103026A (en) Memory system
JPH0415843A (en) Micro processor incorporating cache memory
JPS6019810B2 (en) Buffer memory control method
JPH05233522A (en) Dma transfer device
JPS63217460A (en) Buffer control circuit
JP2001144817A (en) Data communication system
JPH04199450A (en) Direct memory access control circuit

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19961112

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080609

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090609

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100609

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees