JPH01149643A - Packet buffer device - Google Patents
Packet buffer deviceInfo
- Publication number
- JPH01149643A JPH01149643A JP62310208A JP31020887A JPH01149643A JP H01149643 A JPH01149643 A JP H01149643A JP 62310208 A JP62310208 A JP 62310208A JP 31020887 A JP31020887 A JP 31020887A JP H01149643 A JPH01149643 A JP H01149643A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- packet
- address
- signal
- counter
- 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.)
- Granted
Links
- 239000000872 buffer Substances 0.000 title claims abstract description 56
- 230000015654 memory Effects 0.000 claims abstract description 22
- 238000007689 inspection Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 8
- 238000000034 method Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 5
- 230000002159 abnormal effect Effects 0.000 description 3
- 230000000903 blocking effect Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Landscapes
- Computer And Data Communications (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Communication Control (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はパケット通信システムにおけるパケットバッフ
ァ装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a packet buffer device in a packet communication system.
パケット通信システムでは、通信装置間におけるデータ
パケットの授受をパケットバッファを介して行うことに
より、通信装置を非同期に、すなわち独立のクロックで
動作させることができ、クロック障害に対するシステム
全体の信頼性を向上させることができる。In packet communication systems, by sending and receiving data packets between communication devices via packet buffers, the communication devices can operate asynchronously, that is, with independent clocks, improving the reliability of the entire system against clock failures. can be done.
このパケットバッファにはリング構成にしたものが多く
用いられていて、リング構成のバッファではデータ書込
み回路とデータ読出し回路とがバッファに対してそれぞ
れ独立したアドレスポインタを持ち、独立にそれぞれパ
ケットの書込み、読出しの動作を行う、リング構成のバ
ッファのアクセスアドレスには論理的に終端がなく、物
理的な最終アドレスの次に物理的な先頭アドレスが続く
。これによりバッファメモリの全体を有効に利用するこ
とができる。Many of these packet buffers have a ring configuration, and in a ring configuration buffer, a data write circuit and a data read circuit each have independent address pointers for the buffer, and write and write packets independently. The access address of a ring-configured buffer that performs a read operation has no logical end, and the physical end address is followed by the physical start address. This allows the entire buffer memory to be used effectively.
このようにパケットの書込み回路と読出し回路とが独立
に動作するバッファ装置においては、バッファメモリの
オーバフローおよびアンダーフローを避けるため、パケ
ットの書込み回路と読出し回路との間にフロー制御のた
めの交信機構を設ける必要がある。従来のバッファ装置
ではこうしたフロー制御機能を実現するために主として
以下のi)またはii)に示すような方法を採っている
。i)バッファに対するパケットの書込み回路の書込み
アドレスとパケットの読出し回路の読出しアドレスとを
直接比較する方式。但し、非同期的に動作する2つのレ
ジスタを常時比較することは困難であることから、双方
の回路において1パケツトを処理した時点におけるアド
レスを別々のレジスタに保持してその値を比較し、両者
が一致しているときにバッファが空であることを示すエ
ンプティ信号をパケットの読出し回路に、また書込みア
ドレスが読出しアドレスから予め定められた距離より近
づいたときに閉塞信号をパケットの書込み回路に伝達す
る方式。In a buffer device in which the packet write circuit and the read circuit operate independently, a communication mechanism for flow control is provided between the packet write circuit and the read circuit in order to avoid overflow and underflow of the buffer memory. It is necessary to provide Conventional buffer devices mainly employ the methods shown in i) or ii) below to realize such a flow control function. i) A method of directly comparing the write address of the packet write circuit to the buffer with the read address of the packet read circuit. However, since it is difficult to constantly compare two registers that operate asynchronously, the addresses at the time when one packet is processed in both circuits are held in separate registers and their values are compared. When there is a match, an empty signal indicating that the buffer is empty is transmitted to the packet read circuit, and when the write address is closer than a predetermined distance from the read address, a blockage signal is transmitted to the packet write circuit. method.
ii)バッファ内のパケット数を示すカウンタを設置し
、パケットの書込み時に加算、パケットの読出し時に減
算し、バッファ内パケット数が0であることを示すゼロ
信号をパケットの読出し回路に、またバッファ内パケッ
ト数が予め定められた値を越えたことを示す閉塞信号を
パケットの書込み回路に伝達する方式。ii) Install a counter that indicates the number of packets in the buffer, add it when writing a packet, subtract it when reading a packet, and send a zero signal to the packet reading circuit to indicate that the number of packets in the buffer is 0. A method in which a blocking signal indicating that the number of packets exceeds a predetermined value is transmitted to the packet writing circuit.
しかしながら、このようにパケットの書込み回路と読出
し回路とが独立に動作するバッファ装置においては両回
路が直接結合されないため、バッファ内のデータ、書込
みまたは読出しポインタ、あるいは制御用カウンタのど
れか一つに偶発的な誤りが生じた場合に、その障害を検
出して元の状態に復旧させることが困難である。そこで
間接的な障害検出手段としては、読出されたパケットの
長さをカウントし、正常なパケットの最大炎を越えた場
合に異常状態と判定する方法があるが、バッファ内のデ
ータエラーによって2つのパケ・ットが連結し、かつ連
結されたパケットの全長が正常なパケット長の最大炎を
越えない場合には異常状態は検出されない。However, in a buffer device in which the packet write circuit and read circuit operate independently, the two circuits are not directly coupled, so either one of the data in the buffer, the write or read pointer, or the control counter is When an accidental error occurs, it is difficult to detect the failure and restore the original state. Therefore, as an indirect failure detection method, there is a method of counting the length of the read packet and determining an abnormal state when the length of the read packet exceeds the maximum length of a normal packet. However, if a data error in the buffer causes two If the packets are concatenated and the total length of the concatenated packets does not exceed the maximum normal packet length, no abnormal condition is detected.
また、前述i)のアドレス比較による方式では、パケッ
トの書込みアドレスレジスタに保持されたアドレスのデ
ータがエラーした場合、アドレス比較によりパケットの
読出し回路を停止させる点が失われ、暴走する可能性が
ある。In addition, in the address comparison method described in i) above, if the address data held in the packet write address register has an error, the point of stopping the packet read circuit due to address comparison is lost, and there is a possibility of a runaway. .
さらにまた、前述it)のパケット数カウンタを用いた
方式では、カウンタのエラーまたはバッファ内のデータ
のエラーにより、カウンタの値とバッファ内に蓄積され
たパケットの数との間に矛盾が生じる可能性がある。パ
ケットの読出し回路がバッファ内のパケットを全て読出
したにも拘らずカウンタが0にならない場合には、読出
し回路・はパケットの読出しを停止せず、ときにはバッ
ファに書かれている古いデータを読出すことがあるが、
前述の間接的な障害検出手段では確実に障害を検出する
ことはできない。また、読出し回路がバッファ内の全て
のパケットを読出す前にカウンタがOになった場合には
、読出し回路はパケットの読出しを停止するが、障害状
態は検出されない。Furthermore, in the method using the packet number counter mentioned above, there is a possibility that an error in the counter or an error in the data in the buffer will cause a discrepancy between the counter value and the number of packets accumulated in the buffer. There is. If the counter does not reach 0 even though the packet reading circuit has read all the packets in the buffer, the reading circuit does not stop reading packets and sometimes reads old data written in the buffer. Sometimes,
The above-mentioned indirect fault detection means cannot reliably detect faults. Also, if the counter reaches O before the read circuit has read all the packets in the buffer, the read circuit will stop reading packets, but no fault condition will be detected.
このように異常状態を確実に検出できないバッファ管理
手段では、信頼性の高いバッファ装置を実現することが
できないと云う問題点を有している。As described above, a buffer management means that cannot reliably detect an abnormal state has a problem in that a highly reliable buffer device cannot be realized.
本発明の目的は、偶発的な誤りを確実に検出し、正常状
態に復旧することのできる信頼性の高いパケットバッフ
ァ装置を提供することにある。An object of the present invention is to provide a highly reliable packet buffer device that can reliably detect accidental errors and restore the normal state.
本発明のパケットバッファ装置は、パケットを一時的に
蓄積するリング構成のバッファメモリと、外部から到着
したパケットを前記バッファメモリに書込み、一つのパ
ケットの書込みが終了したときに書込み終了パルスを出
力し、最後にパケットの書込みが終了したときの最終ア
ドレスを保持して出力するパケット書込み回路と、前記
バッファメモリからパケットを読出して外部に送出し、
一つのパケットの読出しが終了したときに読出し終了パ
ルスを出力し、最終にパケットの読出しが終了したとき
の最終アドレスを保持して出力するパケット読出し回路
と、前記書込み終了パルスにより加算され、前記読出し
終了パルスにより減算されるアップダウンカウンタを有
し、このカウンタの内容が0であることを示すゼロ信号
を前記パケット読出し回路に出力するカウンタ回路と、
前記最後にパケットの書込みが終了したときの最終アド
レスから前記最後にパケットの読出しが終了したときの
最終アドレスをモジュロ引算し、その演算結果が0であ
ることを示すアドレス一致信号を出力し、この演算結果
が予め設定された閾値を下回ったとき閉塞信号を前記パ
ケット書込み回路に出力するアドレス比較回路と、前記
ゼロ信号が出力されたときに前記アドレス一致信号を検
査し、この検査結果に不一致をみたとき前記パケット書
込み回路と前記パケット読出し回路とカウンタ回路とに
リセット信号を送出する一致信号検査回路とを有して構
成される。The packet buffer device of the present invention includes a ring-configured buffer memory that temporarily stores packets, writes packets arriving from the outside into the buffer memory, and outputs a write end pulse when writing of one packet is completed. , a packet write circuit that holds and outputs the final address when writing of the packet was completed last; and a packet write circuit that reads the packet from the buffer memory and sends it to the outside.
A packet readout circuit outputs a readout end pulse when the reading of one packet is completed, and holds and outputs the final address when the readout of the packet is finally completed; a counter circuit having an up/down counter that is subtracted by the end pulse and outputting a zero signal indicating that the content of the counter is 0 to the packet readout circuit;
modulo subtracting the final address when the last packet reading was completed from the final address when the last packet writing was completed, and outputting an address match signal indicating that the result of the calculation is 0; an address comparison circuit that outputs a blockage signal to the packet writing circuit when the calculation result is less than a preset threshold; and an address comparison circuit that inspects the address match signal when the zero signal is output, and detects a discrepancy in the inspection result. The device includes a coincidence signal check circuit that sends a reset signal to the packet write circuit, the packet read circuit, and the counter circuit.
第1図は本発明によるパケットバッファ装置の構成を示
したブロック図である。第1図において、11はリング
構成のバッファメモリ、12はカウンタ回路、13はア
ドレス比較回路、14はパケット書込み回路、15はパ
ケット読出し回路、16は一致信号検査回路、17は外
部からパケットが入来する端子、18は外部へパケット
を送出する端子を示す。FIG. 1 is a block diagram showing the configuration of a packet buffer device according to the present invention. In FIG. 1, 11 is a ring-configured buffer memory, 12 is a counter circuit, 13 is an address comparison circuit, 14 is a packet write circuit, 15 is a packet read circuit, 16 is a coincidence signal check circuit, and 17 is a packet input from outside. Reference numeral 18 indicates a terminal for sending packets to the outside.
端子17から1つのパケットが入来すると、パケット書
込み回路14はバッファメモリ11に書込みを行い、書
込みが終了した時点で書込みアドレスをラッチしてアド
レス比較回路13へ伝達するとともにカウンタ回路12
へ書込み終了パルスを与える。パケット読出し回路15
はカウンタ回路12からカウンタの値が0のとき入力さ
れる信号をモニターし、この信号がオフのときにバッフ
ァメモリ11からのパケットの読出しを開始し、読出し
たデータを端子18へ送出する。またパケット読出し回
路15は1つのパケットの読出しを完了した時点で読出
しアドレスをラッチしてアドレス比較回路13へ伝達す
るとともに、カウンタ回路12八読出し終了パルスを与
える。When one packet enters from the terminal 17, the packet write circuit 14 writes to the buffer memory 11, and when the writing is completed, the write address is latched and transmitted to the address comparison circuit 13, and the counter circuit 12
Give a write end pulse to. Packet reading circuit 15
monitors the signal input from the counter circuit 12 when the counter value is 0, starts reading packets from the buffer memory 11 when this signal is off, and sends the read data to the terminal 18. Furthermore, when the packet readout circuit 15 completes the readout of one packet, it latches the readout address and transmits it to the address comparison circuit 13, and also provides a readout end pulse to the counter circuit 128.
本構成においてカウンタ回路12は、パケットの書込み
終了時に加算(+1)、パケットの読出し終了時に減算
(−1)されるので、正常動作時には常にバッファメモ
リ11内のパケット数を示している。カウンタの内容が
0のときには、カウンタ回路12はパケット読出し装置
15ヘゼロ信号を出力し、パケットの読出動作を停止さ
せる。In this configuration, the counter circuit 12 is incremented (+1) at the end of packet writing and subtracted (-1) at the end of packet reading, so that it always indicates the number of packets in the buffer memory 11 during normal operation. When the content of the counter is 0, the counter circuit 12 outputs a zero signal to the packet reading device 15 to stop the packet reading operation.
一方、アドレス比較回路13は常にパケット書込み回路
14から入力される最終の書込みアドレスと、パケット
読出し回路15から入力される最終の読出しアドレスと
の距離を測定しており、書込みアドレスから読出しアド
レスまでの距離が、アドレス比較回路の内部に格納され
ている予め設定された値よりも接近した場合には、閉塞
信号をパケット書込み回路14へ出力し、パケットの書
込み動作を停止させる。On the other hand, the address comparison circuit 13 always measures the distance between the final write address input from the packet write circuit 14 and the final read address input from the packet read circuit 15, and measures the distance from the write address to the read address. If the distance is closer than a preset value stored inside the address comparison circuit, a blockage signal is output to the packet write circuit 14 to stop the packet write operation.
以上のように、正常動作時にはパケット書込み回路にゼ
ロ信号を、またパケット読出し回路15に閉塞信号を与
えることにより、バッファメモ7す11に対する書込み
・読出しのフロー制御を実現することができる。ところ
で、正常動作時にはバッファメモリ11内に蓄積されて
いるパケット数とカウンタ回路12の内容とが一致して
いるため、カウンタ回路12の内容が0、すなわちゼロ
信号が一致信号検査回路16に与えられているときには
、バッファメモリ11内にはパケットが存在せず、最終
の書込みアドレスと最終の読出しアドレスとが一致し、
アドレス比較回路13がらアドレス一致信号が一致信号
検査回路16に与えられているはずである。逆にバッフ
ァ内のデータ、書込みまたは読出しポインタ、あるいは
制御用カウンタのどれか一つに偶発的な誤りが発生し、
バッファメモリ11とカウンタ回路12との間に矛盾が
生じた場合には、カウンタ回路12の内容が0となりゼ
ロ信号が一致信号検査回路16に与えられたときに、最
終の書込みアドレスと最終の読出しアドレスとが一致せ
ず、アドレス一致信号が検出されない。そこで一致信号
検査回路16ではゼロ信号がオンのときアドレス一致信
号を検査することにより障害状態を検知し、リセット信
号をパケット書込み回路14、パケット読出し回路15
、およびカウンタ回路12に帰還することができる。リ
セット信号によりカウンタ回路12をリセットし、パケ
ット書込み回路14の書込みアドレスポインタのパケッ
ト読出し回路15の読出しアドレスポインタを初期化す
れば、正常状態に復旧させることができる。As described above, by applying a zero signal to the packet write circuit and a blockage signal to the packet read circuit 15 during normal operation, it is possible to realize write/read flow control for the buffer memories 7 and 11. By the way, during normal operation, the number of packets stored in the buffer memory 11 and the contents of the counter circuit 12 match, so that the contents of the counter circuit 12 are 0, that is, a zero signal is given to the coincidence signal checking circuit 16. When there is no packet in the buffer memory 11, the final write address and the final read address match,
The address comparison circuit 13 should have given the address match signal to the match signal check circuit 16. Conversely, if an accidental error occurs in the data in the buffer, the write or read pointer, or the control counter,
If a contradiction occurs between the buffer memory 11 and the counter circuit 12, when the contents of the counter circuit 12 become 0 and a zero signal is given to the coincidence signal check circuit 16, the final write address and the final read address are The address does not match, and the address match signal is not detected. Therefore, the coincidence signal inspection circuit 16 detects a failure state by inspecting the address coincidence signal when the zero signal is on, and sends a reset signal to the packet write circuit 14 and the packet read circuit 15.
, and can be fed back to the counter circuit 12. By resetting the counter circuit 12 with a reset signal and initializing the write address pointer of the packet write circuit 14 and the read address pointer of the packet read circuit 15, the normal state can be restored.
以下、第1図に示した本発明のパケットバッファ装置の
主要回路の実施例について図面を参照して説明する。Hereinafter, an embodiment of the main circuit of the packet buffer device of the present invention shown in FIG. 1 will be described with reference to the drawings.
第2図はアドレス比較回路13の一実施例のブロック図
である。第2図において、21はモジュロ引算回路、2
2は引算回路、23はゼロ判定回路、24は固定レジス
タ、25はパケット書込み回路14から書込みアドレス
データを入力する端子、26はパケット読出し回路15
から読出しアドレスデータを入力する端子、27はゼロ
判定回路の出力をアドレス一致信号として一致信号検査
回路16へ伝達する端子、28は引算回路22の演算結
果の符号ビットの出力を閉塞信号としてパケット書込み
回路14へ伝達する端子を示す。FIG. 2 is a block diagram of one embodiment of the address comparison circuit 13. In FIG. 2, 21 is a modulo subtraction circuit;
2 is a subtraction circuit, 23 is a zero judgment circuit, 24 is a fixed register, 25 is a terminal for inputting write address data from the packet write circuit 14, and 26 is a packet read circuit 15.
27 is a terminal for transmitting the output of the zero judgment circuit to the coincidence signal checking circuit 16 as an address match signal. 28 is a terminal for transmitting the output of the sign bit of the operation result of the subtraction circuit 22 to the packet as a blocking signal. A terminal for transmitting data to the write circuit 14 is shown.
モジュロ引算回路21は、端子26を介してパケット読
出し回路14から与えられる読出しアドレスデータから
、端子25を介してパケット書込み回路15から与えら
れる書込みアドレスデータを差し引く引算回路で、演算
結果が負の場合にはバッファメモリ11の物理的なアド
レス空間長を加え、バッファメモリ11上における2つ
のアドレス間の論理的な距離を算出し、引算回路22お
よびゼロ判定回路23にその結果を出力する。引算回路
22は、モジュロ引算回路21出力から固定レジスタ2
4に格納された値を差し引く符号付き引算を行い、その
符号ビットを端子28へ出力する。ゼロ判定回路23は
モジュロ引算回路21の出力が0であるときにオンを、
0でないときにオフを端子27に出力する。The modulo subtraction circuit 21 is a subtraction circuit that subtracts the write address data given from the packet write circuit 15 via the terminal 25 from the read address data given from the packet read circuit 14 via the terminal 26, and the operation result is negative. In this case, the physical address space length of the buffer memory 11 is added, the logical distance between the two addresses on the buffer memory 11 is calculated, and the result is output to the subtraction circuit 22 and the zero determination circuit 23. . The subtraction circuit 22 outputs the fixed register 2 from the modulo subtraction circuit 21 output.
Signed subtraction is performed to subtract the value stored in 4, and the sign bit is output to terminal 28. The zero judgment circuit 23 turns on when the output of the modulo subtraction circuit 21 is 0.
When the value is not 0, an off signal is output to the terminal 27.
第3図はカウンタ回路12の一実施例のブロック図であ
る。第3図において、31はカウンタ、32はゼロ判定
回路、33はパケット書込み回路14から書込み終了パ
ルスを入力する端子、34はパケット読出し回路15か
ら読出し終了パルスを入力する端子、35はゼロ判定回
路32の出力をパケット読出し回路および一致信号検査
回路16へ出力する端子、36は一致信号検査回路16
から入来するリセット信号を入力する端子を示す。FIG. 3 is a block diagram of one embodiment of the counter circuit 12. In FIG. 3, 31 is a counter, 32 is a zero judgment circuit, 33 is a terminal for inputting the write end pulse from the packet write circuit 14, 34 is a terminal for inputting the read end pulse from the packet read circuit 15, and 35 is a zero judgment circuit. A terminal for outputting the output of 32 to the packet readout circuit and the coincidence signal inspection circuit 16; 36 is the coincidence signal inspection circuit 16;
This shows the terminal that inputs the reset signal coming from.
カウンタ31は、端子33から入力するパルスで加算し
、端子34から入力するパルスで減算するアップダウン
・カウンタで、その内容をゼロ判定回路32へ出力する
。またカウンタ31は端子36を介して一致信号検査回
路16から入来するリセット信号によりリセットされる
。ゼロ判定回路32はカウンタ31の出力がOであると
きにオンを、Oでないときにオフを端子35に出力する
。The counter 31 is an up/down counter that adds up with pulses input from a terminal 33 and subtracts with pulses input from a terminal 34, and outputs its contents to the zero determination circuit 32. Further, the counter 31 is reset by a reset signal received from the coincidence signal checking circuit 16 via the terminal 36. The zero determination circuit 32 outputs ON to the terminal 35 when the output of the counter 31 is O, and outputs OFF when the output is not O.
第4図は一致信号検査回路16の一実施例を表すブロッ
ク図である。第4図において、41はAND回路、42
はNOT回路、43はアドレス比較回路13から°入来
する信号を入力する1子、44はカウンタ回路12から
入来するアドレス一致信号を入力する端子、45はAN
D回路41の出力をリセット信号としてアドレス比較回
路13、パケット書込み装置14、パケット読出し装置
15に帰還する端子を示す。FIG. 4 is a block diagram showing one embodiment of the coincidence signal checking circuit 16. In FIG. 4, 41 is an AND circuit, 42
is a NOT circuit, 43 is a single terminal that inputs the signal coming from the address comparison circuit 13, 44 is a terminal that inputs the address match signal coming from the counter circuit 12, and 45 is an AN
A terminal is shown in which the output of the D circuit 41 is fed back to the address comparison circuit 13, packet writing device 14, and packet reading device 15 as a reset signal.
本発明によれば、バッファメモリ内に蓄積されたパケッ
ト数を計数するカウンタと、バッファに対する書込みア
ドレスポインタと読出しアドレスポインタとを比較する
回路とを具備し、カウンタから出力されるゼロ信号とア
・ドレス比較回路から出力されるアドレス一致信号とを
比較することにより、偶然に生じる誤りを確実に検査す
ることができ信頼性の高いバッファ装置を提供できる効
果がある。According to the present invention, the present invention includes a counter that counts the number of packets accumulated in a buffer memory, and a circuit that compares a write address pointer and a read address pointer for the buffer, and a zero signal outputted from the counter and a circuit that compares a write address pointer and a read address pointer for the buffer. By comparing the address match signal output from the address comparison circuit, it is possible to reliably check for errors that occur by chance, and it is possible to provide a highly reliable buffer device.
第1図は本発明によるパケットバッファ装置の構成を示
したブロック図、第2図は第1図のアドレス比較回路の
一実施例のブロック図、第3図は第1図のカウンタ回路
の一実施例のブロック図、第4図は第1図の一致信号検
査回路の一実施例のブロック図である。
11・・・バッファメモリ、12・・・カウンタ回路、
13・・・アドレス比較回路、14・・・パケット書込
み回路、15・・・パケット読出し回路、16・・・一
致信号検査回路、21・・・モジュロ引算回路、22・
・・引算回路、23.23・・・ゼロ判定回路、24・
・・固定レジスタ、31・・・カウンタ。FIG. 1 is a block diagram showing the configuration of a packet buffer device according to the present invention, FIG. 2 is a block diagram of an embodiment of the address comparison circuit of FIG. 1, and FIG. 3 is an implementation of the counter circuit of FIG. 1. Example Block Diagram FIG. 4 is a block diagram of one embodiment of the coincidence signal checking circuit of FIG. 11... Buffer memory, 12... Counter circuit,
13...Address comparison circuit, 14...Packet write circuit, 15...Packet read circuit, 16...Coincidence signal inspection circuit, 21...Modulo subtraction circuit, 22...
...Subtraction circuit, 23.23...Zero judgment circuit, 24.
...Fixed register, 31...Counter.
Claims (1)
モリと、外部から到着したパケットを前記バッファメモ
リに書込み、一つのパケットの書込みが終了したときに
書き込み終了パルスを出力し、最後にパケットの書込み
が終了したときの最終アドレスを保持して出力するパケ
ット書込み回路と、前記バッファメモリからパケットを
読出して外部に送出し、一つのパケットの読出しが終了
したときに読出し終了パルスを出力し、最終にパケット
の読出しが終了したときの最終アドレスを保持して出力
するパケット読出し回路と、前記書込み終了パルスによ
り加算され、前記読出し終了パルスにより減算されるア
ップダウンカウンタを有し、このカウンタの内容が0で
あることを示すゼロ信号を前記パケット読出し回路に出
力するカウンタ回路と、前記最後にパケットの書込みが
終了したときの最終アドレスから前記最後にパケットの
読出しが終了したときの最終アドレスを減算し、その演
算結果が0であることを示すアドレス一致信号を出力し
、この演算結果が予め設定された閾値を下回ったとき閉
塞信号を前記パケット書込み回路に出力するアドレス比
較回路と、前記ゼロ信号が出力されたときに前記アドレ
ス一致信号を検査し、この検査結果に不一致をみたとき
前記パケット書込み回路と前記パケット読出し回路と前
記カウンタ回路とにリセット信号を送出する一致信号検
査回路とを有することを特徴とするパケットバッファ装
置。A buffer memory with a ring configuration that temporarily stores packets, and packets arriving from the outside are written to the buffer memory, and a write end pulse is output when writing of one packet is completed, and finally writing of the packet is completed. A packet write circuit holds and outputs the final address when the packet is read, reads the packet from the buffer memory and sends it to the outside, outputs a read end pulse when reading of one packet is completed, and finally writes the final address of the packet. It has a packet readout circuit that holds and outputs the final address when reading is completed, and an up/down counter that is added by the write end pulse and subtracted by the read end pulse, and the content of this counter is 0. a counter circuit that outputs a zero signal to the packet readout circuit to indicate that the packet has read out; an address comparison circuit that outputs an address match signal indicating that the result is 0, and outputs a blockage signal to the packet writing circuit when the operation result is less than a preset threshold; The device is characterized by comprising a coincidence signal inspection circuit that sometimes inspects the address coincidence signal and sends a reset signal to the packet write circuit, the packet read circuit, and the counter circuit when a mismatch is found in the inspection result. Packet buffer device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62310208A JPH01149643A (en) | 1987-12-07 | 1987-12-07 | Packet buffer device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62310208A JPH01149643A (en) | 1987-12-07 | 1987-12-07 | Packet buffer device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01149643A true JPH01149643A (en) | 1989-06-12 |
| JPH0516215B2 JPH0516215B2 (en) | 1993-03-03 |
Family
ID=18002492
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62310208A Granted JPH01149643A (en) | 1987-12-07 | 1987-12-07 | Packet buffer device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH01149643A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008523653A (en) * | 2004-12-07 | 2008-07-03 | ニューナム リサーチ リミテッド | Event buffer rotation |
-
1987
- 1987-12-07 JP JP62310208A patent/JPH01149643A/en active Granted
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008523653A (en) * | 2004-12-07 | 2008-07-03 | ニューナム リサーチ リミテッド | Event buffer rotation |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0516215B2 (en) | 1993-03-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6823476B2 (en) | Mechanism to improve fault isolation and diagnosis in computers | |
| KR950015189B1 (en) | Wide error first-in first-out buffer (FIFO) error detection device | |
| JPH0516215B2 (en) | ||
| JP3190214B2 (en) | Data transmission / reception system | |
| KR950014166B1 (en) | Error data input-output protecting circuit | |
| EP3882774A1 (en) | Data processing device and data processing method | |
| JPH096725A (en) | Asynchronous data transfer receiver | |
| KR970001624B1 (en) | Tag generation and processing method in packet bus interface | |
| KR970002401B1 (en) | Fault detection / correction device on digital system bus | |
| KR100564361B1 (en) | Fault suppression circuit in system memory | |
| JPH0434180B2 (en) | ||
| JPH086870A (en) | Data transfer device | |
| JPH0535443A (en) | Buffer management method | |
| JPH033186A (en) | First-in first-out memory | |
| JPS58221424A (en) | Testing method of data | |
| JPH0540583A (en) | Information processing system | |
| JPH04220745A (en) | Bus error detecting circuit | |
| JPS62235649A (en) | Information processor | |
| JPH0522360A (en) | Fifo test diagnostic circuit | |
| JPH04268647A (en) | Register with double read preventing function | |
| JPH02297650A (en) | Receiver | |
| JPH06119193A (en) | Data processing system | |
| JPS63208964A (en) | Bus competition detecting system | |
| JPH03123945A (en) | Information processor | |
| JPS61281345A (en) | First-in/first-out register controlling circuit |