JP3130866B2 - ATM switch permanent stay address detection circuit and permanent stay address detection method - Google Patents

ATM switch permanent stay address detection circuit and permanent stay address detection method

Info

Publication number
JP3130866B2
JP3130866B2 JP16474698A JP16474698A JP3130866B2 JP 3130866 B2 JP3130866 B2 JP 3130866B2 JP 16474698 A JP16474698 A JP 16474698A JP 16474698 A JP16474698 A JP 16474698A JP 3130866 B2 JP3130866 B2 JP 3130866B2
Authority
JP
Japan
Prior art keywords
address
shared buffer
buffer unit
area management
permanent
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
JP16474698A
Other languages
Japanese (ja)
Other versions
JPH11355311A (en
Inventor
涼一 長田
Original Assignee
宮城日本電気株式会社
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 宮城日本電気株式会社 filed Critical 宮城日本電気株式会社
Priority to JP16474698A priority Critical patent/JP3130866B2/en
Publication of JPH11355311A publication Critical patent/JPH11355311A/en
Application granted granted Critical
Publication of JP3130866B2 publication Critical patent/JP3130866B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、共有バッファ方
式ATMスイッチの共有バッファへの永久滞留アドレス
を検出する永久滞留アドレス検出回路および永久滞留ア
ドレス検出方法に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a permanent stay address detection circuit and a permanent stay address detection method for detecting a permanent stay address in a shared buffer of a shared buffer type ATM switch.

【0002】[0002]

【従来の技術】共有バッファ方式のATMスイッチは、
バッファ容量の削減を目的として、複数存在する遅延ク
ラスでバッファを共有する。共有したバッファの遅延ク
ラス毎の使用領域は固定されず、未使用のアドレスを任
意に使用している。 共有バッファは、ATMセルを一時
保存するセル共有バッファと、セル共有バッファのアド
レス管理を行うための領域管理共有バッファの2種類存
在するATMスイッチがある。
2. Description of the Related Art An ATM switch of a shared buffer system is:
To reduce buffer capacity, multiple delay clocks exist.
Share buffers in Lass. Delaying shared buffers
The used area for each class is not fixed, and unused addresses are assigned.
I am using it. The shared buffer temporarily stores ATM cells.
Cell shared buffer to save and cell shared buffer address
There are two types of area management shared buffers for managing
There is an existing ATM switch.

【0003】このATMスイッチにおいて、セル共有バ
ッファのアドレスと領域管理共有バッファのアドレス
は、全アドレスの接続性を保つために、前使用アドレス
から次使用アドレスを呼び出すチェイン構成(図2参
照)をとっており、チェインがショートカットされるよ
うなエラーが発生した場合には、ショートカットされた
分のアドレスがバッファに永久滞留し、ATMスイッチ
のスループットが低下してしまう。
[0003] In this ATM switch, a cell sharing buffer is used.
Buffer address and area management shared buffer address
In order to keep the connection of all the addresses, it takes the chain configuration to call the next use address (see FIG. 2), when an error such as chain is shortcut occurs before using the address, a shortcut The remaining address is permanently stored in the buffer, and the throughput of the ATM switch is reduced.

【0004】このため、永久滞留の発生を監視する必要
があり、従来の技術では、アドレスの使用状況をチェッ
クするためのテーブルを持ち、管理バッファ書き込み時
にテーブル内の使用フラグを立て、アドレスが全て使用
されると予想される時間周期で、テーブルの使用フラグ
を監視して、全アドレスの使用状態の確認を実施してい
た。
For this reason, it is necessary to monitor the occurrence of permanent stagnation. In the prior art, a table for checking the use state of the address is provided, and a use flag in the table is set at the time of writing in the management buffer, and all addresses are used. At the time period expected to be used, the use flag of the table is monitored to check the use state of all addresses.

【0005】[0005]

【発明が解決しようとする課題】上述したように従来の
技術では、アドレスが全て使用されると予想される時間
周期で、アドレスの使用状況をチェックするためのテー
ブルの使用フラグを監視して、全アドレスの使用状態の
確認を実施していたが、この場合の問題点として、アド
レスが書き込まれるバッファは、複数の遅延クラスキュ
ーを有しており、高優先遅延クラスキューのアドレスか
ら読み出され、低優先遅延クラスキューの読み出しは、
高優先遅延クラスにセルが無い場合にのみ読み出される
完全優先制御型になっている場合には、低優先遅延クラ
スキューから読み出される最長周期を予想するのが難し
という問題があった。
As described above, in the prior art, a use flag of a table for checking the use state of an address is monitored at a time period in which all addresses are expected to be used. The use status of all addresses was checked, but the problem in this case is that the buffer to which the address is written has a plurality of delay class queues and is read from the address of the high priority delay class queue. , Reading the low priority delay class queue
If it has been completely priority control type to be read only when no cell in the high-priority delay classes, low priority delay classes
Difficult to predict longest period read from skew
There was a problem that.

【0006】この発明の目的は、全てのアドレスが使用
されたことを確認して、滞留したアドレスを検出可能な
永久滞留アドレス検出回路および永久滞留アドレス検出
方法を提供することにある。
An object of the present invention is to use all addresses.
An object of the present invention is to provide a permanent staying address detection circuit and a permanent staying address detection method capable of detecting a staying address after confirming that the address has been deleted.

【0007】[0007]

【課題を解決するための手段】この発明の永久滞留アド
レス検出回路は、ATMセルをスイッチングさせるため
に一時蓄える機能を有するセル共有バッファ部と、セル
共有バッファ部の書き込みおよび読み出しアドレスを管
理する領域管理共有バッファ部と、セル共有バッファ部
の未使用アドレスを格納し、未使用になったアドレスか
ら順次使用されるセル共有バッファ待機アドレスFIF
Oと、領域管理共有バッファ部の未使用アドレスを格納
し、未使用になったアドレスから順次使用される領域管
理共有バッファ待機アドレスFIFOとを備えるATM
スイッチの前記共有バッファ部への永久滞留アドレスを
検出する永久滞留アドレス検出回路において、永久滞留
アドレスの検出開始時点に初期化され、前記領域管理共
有バッファ部に書き込まれるアドレスをチェックする使
用状況テーブルと、永久滞留アドレスの検出開始制御お
よび前記使用状況テーブル内の未使用アドレスの検索を
行う監視制御部と、前記領域管理共有バッファ部に現在
格納されているアドレス数を、各キュー単位でリアルタ
イムに管理する滞留数カウンタと、各出力ポートおよび
遅延クラスキュー毎に備えられ、前記監視制御部からの
検出開始制御時点で前記領域管理共有バッファ部内の滞
留数を前記滞留数カウンタからラッチし、ラッチした滞
留数を読み出し毎に減算する最終アドレス決定カウンタ
と、全てのキューの前記最終アドレス決定カウンタのカ
ウンタ値がゼロになった後にカウントを開始する全アド
レス巡回カウンタとを備え、前記アドレス巡回カウンタ
により全てのアドレス数をカウントした後に、前記監視
制御部が、前記使用状況テーブル内の使用フラグにより
バッファ内に滞留しているアドレスを検出することを特
徴とする。
SUMMARY OF THE INVENTION A permanent stay address detection circuit according to the present invention includes a cell shared buffer unit having a function of temporarily storing an ATM cell for switching, and an area for managing write and read addresses of the cell shared buffer unit. An unused address of the management shared buffer unit and the cell shared buffer unit, and a cell shared buffer standby address FIF used sequentially from the unused address.
ATM which stores an unused address of the area management shared buffer unit and an area management shared buffer standby address FIFO which is used sequentially from the unused address.
In a permanent stay address detection circuit for detecting a permanent stay address in the shared buffer unit of the switch, a use status table that is initialized at the start of detection of the permanent stay address and checks an address written in the area management shared buffer unit. A monitoring control unit that performs detection start control of a permanent staying address and searches for an unused address in the use status table, and manages the number of addresses currently stored in the area management shared buffer unit in real time for each queue unit. And a delay counter provided for each of the output ports and the delay class queues. At the time of the detection start control from the monitoring control unit, the retention count in the area management shared buffer unit is latched from the retention count counter. A final address determination counter that decrements the number for each read, and all queues An address circulating counter that starts counting after the counter value of the final address determination counter has become zero, and after the address circulating counter has counted all addresses, the monitoring control unit sets the usage status table. , The address staying in the buffer is detected based on the use flag in the field.

【0008】この発明では、バッファアドレスの使用状
況監視周期を、非周期的およびランダムに使用され全ア
ドレスが一巡する周期が不確定なバッファアドレスに対
応するため、最終使用アドレスを認識し全アドレスの一
巡を確実に認識した後に、バッファアドレスの使用状況
を監視するテーブル内の使用フラグによりバッファ内に
滞留しているアドレスを検出している。
According to the present invention, the monitoring status of the use status of the buffer address corresponds to the buffer address which is used aperiodically and randomly and the cycle in which all the addresses go round is indefinite. After reliably recognizing one cycle, the address staying in the buffer is detected by the use flag in the table for monitoring the use state of the buffer address.

【0009】[0009]

【発明の実施の形態】次に、この発明の実施の形態につ
いて図面を参照して説明する。
Next, an embodiment of the present invention will be described with reference to the drawings.

【0010】図1は、この発明の永久滞留アドレス検出
回路の実施の形態を示すブロック図であり、図2は、セ
ル共有バッファ部および領域管理共有バッファ部のアド
レスチェインを説明する図である。
FIG. 1 is a block diagram showing an embodiment of a permanent staying address detection circuit according to the present invention, and FIG. 2 is a diagram for explaining an address chain of a cell shared buffer unit and an area management shared buffer unit.

【0011】図1において、1はこの発明の永久滞留ア
ドレス検出回路、2はセル共有バッファ部、3は領域管
理共有バッファ部、5は領域管理共有バッファ待機アド
レスFIFO、6はセル共有バッファ待機アドレスFI
FOである。
In FIG. 1, reference numeral 1 denotes a permanent stay address detection circuit of the present invention, 2 denotes a cell shared buffer, 3 denotes an area management shared buffer, 5 denotes an area management shared buffer standby address FIFO, and 6 denotes a cell shared buffer standby address. FI
FO.

【0012】セル共有バッファ部2は、ATMセルをス
イッチングさせるために、一時蓄える機能を有する。セ
ル共有バッファ部2の書き込みおよび読み出しアドレス
は、領域管理共有バッファ部3から管理される。
The cell sharing buffer unit 2 has a function of temporarily storing ATM cells for switching. The write and read addresses of the cell shared buffer 2 are managed from the area management shared buffer 3.

【0013】領域管理共有バッファ部3は、セル共有バ
ッファ部2のセル容量と同等の容量を持つ共有バッファ
方式である。図2に示すように、領域管理共有バッファ
部3は、セル共有バッファ部2へのATMセル格納アド
レスを管理するため、ATMセルの出力ポートおよび遅
延クラス毎に複数の論理的キュー34を有している。
The area management shared buffer unit 3 is a shared buffer system having a capacity equal to the cell capacity of the cell shared buffer unit 2. As shown in FIG. 2, the area management shared buffer unit 3 has a plurality of logical queues 34 for each ATM cell output port and delay class in order to manage the ATM cell storage address in the cell shared buffer unit 2. ing.

【0014】論理的キュー34のアドレス接続性は、ア
ドレスチェインによってアドレスの接続性を保つので、
1領域(A000)でセルが蓄えられているセル共有バ
ッファ部2のアドレス(C050)と、次に使用される
領域管理共有バッファ部3のアドレス(A100)の2
つの情報を有している。RDアドレスレジスタ33に保
持されているアドレス(A000)を読み出すと、次に
使用するRDアドレス(A100)が読み出されてRD
アドレスレジスタ33に保持され、次に使用するアドレ
スとなる。また、WRアドレスレジスタ32でも、次に
使用するアドレスを保持し、ランダムに使用されるアド
レスの接続性を保っている。
The address connectivity of the logical queue 34 is maintained by the address chain by the address chain.
The address (C050) of the cell shared buffer unit 2 in which cells are stored in one area (A000) and the address (A100) of the area management shared buffer unit 3 to be used next are 2
Information. When the address (A000) held in the RD address register 33 is read, the RD address (A100) to be used next is read and the RD address is read.
The address is held in the address register 33 and becomes the next address to be used. The WR address register 32 also holds the next address to be used, and maintains the connectivity of the randomly used address.

【0015】セル共有バッファ待機アドレスFIFO6
は、セル共有バッファ部2の未使用アドレスを格納し、
未使用になったアドレスから順次使用されるFIFOメ
モリを使用している。
Cell shared buffer standby address FIFO6
Stores an unused address of the cell shared buffer unit 2,
A FIFO memory used sequentially from unused addresses is used.

【0016】領域管理共有バッファ待機アドレスFIF
O5は、領域管理共有バッファ部3の未使用アドレスを
格納し、未使用になったアドレスから順次使用されるF
IFOメモリを使用している。
Area management shared buffer standby address FIF
O5 stores an unused address of the area management shared buffer unit 3, and F used sequentially from the unused address.
IFO memory is used.

【0017】永久滞留アドレス検出回路1は、領域管理
共有バッファ部3に格納されるアドレスが、何らかの理
由でアドレスのチェインから外れ、使用されずに滞留し
てしまうアドレスの検出を行うものであり、全アドレス
巡回カウンタ11と、使用状況テーブル12と、監視制
御部13と、最終アドレス決定カウンタ14と、滞留数
カウンタ15とにより構成されている。
The permanent staying address detection circuit 1 detects an address stored in the area management shared buffer unit 3 that is out of the address chain for some reason and stays unused without being used. It comprises an all-address circulating counter 11, a use status table 12, a monitoring control unit 13, a final address determination counter 14, and a stay number counter 15.

【0018】監視制御部13は、永久滞留アドレス監視
の開始制御および使用状況テーブル内の未使用アドレス
の検索を行う。
The monitoring control unit 13 performs control to start permanent staying address monitoring and searches for an unused address in the usage status table.

【0019】滞留数カウンタ15は、領域管理共有バッ
ファ部3に現在格納されているアドレス数を、各キュー
単位でリアルタイムに管理している。
The stay number counter 15 manages the number of addresses currently stored in the area management shared buffer unit 3 in real time for each queue.

【0020】使用状況テーブル12は、領域管理共有バ
ッファ部3に書き込まれた(使用された)アドレスをチ
ェックする。チェックの開始/終了は、監視制御部13
により制御される。チェック開始〜終了の間、同一アド
レスが何度使用されても、フラグを使用状態に書き込む
のみで、次回開始時にのみ未使用状態にリセットされ
る。アドレスが滞留している場合には、該当アドレスが
未使用状態のままとなる。
The use status table 12 checks the address written (used) in the area management shared buffer unit 3. The start / end of the check is determined by the monitoring control unit 13
Is controlled by From the start to the end of the check, the same ad
No matter how many times the address is used, write the flag to the use state
Only and reset to unused state only at next start
You. If the address is stagnant,
It remains unused.

【0021】全アドレス巡回カウンタ11は、全てのア
ドレスが巡回し、使用状況テーブル12がチェックされ
たことを検出し、監視制御部13に通知する。カウント
の開始は、最終アドレス決定カウンタ14で、最終アド
レスを決定した後開始される。
The all-address circulating counter 11 detects that all addresses have circulated and the use status table 12 has been checked, and notifies the monitoring control unit 13. The counting is started after the last address is determined by the last address determination counter 14.

【0022】最終アドレス決定カウンタ14は、各出力
ポートおよび遅延クラスキュー毎にカウンタを持ち、監
視制御部13からの開始制御時点で領域管理共有バッフ
ァ部3内の滞留数をラッチする。ラッチした滞留数は読
み出し毎に減算し、全てのキュウーのカウント値が0に
なったアドレスを最終アドレス読出と判定し、全アドレ
ス巡回カウンタ11の開始を監視制御部13に通知す
る。
The last address determination counter 14 has a counter for each output port and each delay class queue, and latches the number of stays in the area management shared buffer unit 3 at the time of start control from the monitoring control unit 13. The latched number of stays is decremented each time the data is read, the address at which the count value of all queues has become 0 is determined to be the last address read, and the start of the all address cyclic counter 11 is notified to the monitor control unit 13.

【0023】次に、セル共有バッファ部および領域管理
共有バッファ部のアドレスチェインを図2をもとに説明
し、その後、永久滞留アドレス検出方法について述べ
る。
Next, an address chain of the cell shared buffer section and the area management shared buffer section will be described with reference to FIG. 2, and then a method for detecting a permanent stay address will be described.

【0024】領域管理共有バッファ部3の1アドレス内
のDATAは、セル共有バッファ部2に書き込んだアド
レスと、次に読み出す領域管理共有バッファ部3のアド
レスを有している。例えば、アドレス(A000)の保
持しているデータは、セル共有バッファ部2のアドレス
(C050)と、次に使用される領域管理共有バッファ
部3のアドレス(A100)である場合、(A000)
を読み出すと、読み出した(A100)がRDアドレス
レジスタ33に保持されて次のアドレスを読み出すため
に使用され、(A100)を読み出すと(A040)が
読み出されてRDアドレスレジスタ33に保持され、チ
ェインを構成する。
DATA in one address of the area management shared buffer 3 has an address written in the cell shared buffer 2 and an address of the area management shared buffer 3 to be read next. For example, when the data held by the address (A000) is the address (C050) of the cell shared buffer unit 2 and the address (A100) of the area management shared buffer unit 3 to be used next, (A000)
When (A100) is read, the read (A100) is held in the RD address register 33 and used to read the next address. When (A100) is read, (A040) is read and held in the RD address register 33. Construct the chain.

【0025】未使用アドレスについては単純な構成で、
読み出しが終了した管理アドレス(A000)を書き込
み、書き込まれた順番で使用される。また、図2では、
1つのキューのみ示しているが、実際の領域管理共有バ
ッファ内部は論理的に、出力ポート×遅延クラス数分の
キューに分割されており、各々のキューのチェインは接
続性を保っている。
The unused address has a simple configuration.
The management address (A000) for which the reading has been completed is written, and is used in the order of writing. In FIG. 2,
Although only one queue is shown, the actual inside of the area management shared buffer is logically divided into queues equal to the number of output ports × the number of delay classes, and the chains of each queue maintain connectivity.

【0026】永久滞留アドレス検出方法は、チェインの
接続性が切れたときに発生する、バッファ内へのセルの
滞留を検出するための方法で、その処理フローを図3に
示す。
The permanent stay address detection method is a method for detecting the stay of cells in a buffer, which occurs when the connectivity of a chain is cut off, and its processing flow is shown in FIG.

【0027】ステップA1では、監視制御部13から検
出処理開始制御を行う。ステップA8では、監視制御部
13からの開始制御後、使用状況テーブル12を初期化
し、使用状況監視を開始する。つまり、図2の状態で検
出処理が開始された場合、領域管理共有バッファ待機ア
ドレスFIFO5の先頭の(A003)およびセル共有
バッファ待機アドレスFIFO6の先頭の(C004)
から監視を開始する。
In step A1, the monitoring control unit 13 performs detection process start control. In step A8, after the start control from the monitoring control unit 13, the use state table 12 is initialized and the use state monitoring is started. That is, when the detection process is started in the state of FIG. 2, (A003) at the head of the area management shared buffer standby address FIFO 5 and (C004) at the head of the cell shared buffer standby address FIFO 6
Start monitoring from.

【0028】ステップA2では、最終アドレス認識のた
めに、ステップA8と同時に領域管理共有バッファ部3
に滞留しているアドレスである滞留数カウンタ15の値
を、最終アドレス決定カウンタ14でキュー単位にラッ
チする。
In step A2, in order to recognize the last address, the area management shared buffer 3
The value of the staying number counter 15, which is the address staying at the address, is latched by the final address determination counter 14 for each queue.

【0029】ステップA3およびA4では、使用される
順番が確定している領域管理共有バッファ待機アドレス
FIFO5およびセル共有バッファ待機アドレスFIF
O6に書き込まれる最終アドレスを検出するため、領域
管理共有バッファ部3からの読み出し毎に該当キューの
最終アドレス決定カウンタ14のカウント値を減算し、
全キューのカウント値が‘0’になったときのアドレス
が最終アドレスと認識する。つまり、図2では、WRア
ドレスレジスタ32に保持されている(A040)が最
終アドレスとなる。
At steps A3 and A4, the area management shared buffer standby address FIFO5 and the cell shared buffer standby address FIFO
In order to detect the last address written in O6, the count value of the last address determination counter 14 of the corresponding queue is decremented every time reading from the area management shared buffer unit 3,
The address when the count value of all queues becomes '0' is recognized as the last address. That is, in FIG. 2, (A040) held in the WR address register 32 is the final address.

【0030】ステップA5,A6,A7では、最終アド
レスが領域管理共有バッファ待機アドレスFIFO5お
よびセル共有バッファ待機アドレスFIFO6に書き込
まれた後のアドレス使用順は、未使用になった順番で使
用されるため、待機アドレスFIFOから読み出される
アドレス数を全アドレスカウンタ11でカウントし、全
アドレス数カウントした時点で、最終アドレスが使用さ
れたと判断する。
In steps A5, A6, and A7, the address use order after the last address is written in the area management shared buffer standby address FIFO5 and the cell shared buffer standby address FIFO6 is used in the order of unused. The number of addresses read from the standby address FIFO is counted by the all address counter 11, and when the number of all addresses is counted, it is determined that the last address has been used.

【0031】ステップ9では、全アドレスの使用状況が
確認されたことになるので、監視制御部13が使用状況
テーブル12のフラグにより、未使用アドレスを認識
し、永久滞留しているアドレスを検出する。
In step 9, since the use status of all the addresses has been confirmed, the monitoring control unit 13 recognizes the unused address based on the flag of the use status table 12, and detects the address which is permanently stored. .

【0032】以上のように、この実施の形態では、監視
制御部13からの検出開始信号により最終アドレス決定
カウンタ14が処理を開始し、最終アドレス検出をトリ
ガにして、全アドレス巡回カウンタ11がカウントを開
始する。全アドレス巡回カウンタ11が全アドレス数を
カウントした時点を全アドレス巡回と判断し、使用状況
テーブル12内の未使用アドレスを検索することで永久
滞留アドレスを検出する。使用状況テーブル12は、監
視制御部13からのこの検出開始信号をトリガに、バッ
ファに書き込まれるアドレスをチェックし、アドレスが
一巡した時点で未使用のアドレスが有れば永久滞留と判
定する。
As described above, in this embodiment, the last address determination counter 14 starts processing in response to the detection start signal from the monitoring control unit 13, and the all address cyclic counter 11 counts using the last address detection as a trigger. To start. When the all-address circulating counter 11 counts the number of all addresses, it is determined that all addresses are circulated, and a permanent staying address is detected by searching for an unused address in the use status table 12. The usage status table 12 is triggered by the detection start signal from the monitoring control unit 13 to check an address to be written into the buffer. If there is an unused address at the time when the address has completed one round, it is determined that the address is permanently stored.

【0033】[0033]

【発明の効果】以上説明したように、従来技術では、ア
ドレスが全て使用されると予想される時間周期で滞留し
たアドレスを検出していたため、使用されずに滞留して
いるのか、読み出し待ちで滞留しているのか判断が付か
ないという問題があったが、この発明では、全アドレス
が巡回したことを確認した後に滞留したアドレスを検出
するため、確実に滞留したアドレスを検出することが可
能である。
As described above, in the prior art, the address which has stayed in the time period in which all the addresses are expected to be used is detected. Although there was a problem that it was not possible to judge whether or not the address was staying, in the present invention, since the address which stayed was detected after confirming that all the addresses circulated, it was possible to reliably detect the address which stayed. is there.

【0034】また、この発明では、永久滞留ばかりでな
く、何らかの理由で損失してしまったアドレスも検出可
能である。
Further, according to the present invention, not only permanent residence but also an address lost for some reason can be detected.

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

【図1】この発明の永久滞留アドレス検出回路の実施の
形態を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a permanent residence address detection circuit of the present invention.

【図2】セル共有バッファ部および領域管理共有バッフ
ァ部のアドレスチェインを説明する図である。
FIG. 2 is a diagram illustrating an address chain of a cell shared buffer unit and an area management shared buffer unit.

【図3】この発明の永久滞留アドレス検出方法の実施の
形態を示す処理フロー図である。
FIG. 3 is a processing flowchart showing an embodiment of a permanent staying address detection method of the present invention.

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

1 永久滞留アドレス検出回路 2 セル共有バッファ部 3 領域管理共有バッファ部 5 領域管理共有バッファ待機アドレスFIFO 6 セル共有バッファ待機アドレスFIFO 11 全アドレス巡回カウンタ 12 使用状況テーブル 13 監視制御部 14 最終アドレス決定カウンタ 15 滞留数カウンタ 32 WRアドレスレジスタ 33 RDアドレスレジスタ 34 論理的キュー DESCRIPTION OF SYMBOLS 1 Permanent stay address detection circuit 2 Cell shared buffer unit 3 Area management shared buffer unit 5 Area management shared buffer standby address FIFO 6 Cell shared buffer standby address FIFO 11 All address cyclic counter 12 Usage status table 13 Monitoring control unit 14 Final address determination counter 15 Stay number counter 32 WR address register 33 RD address register 34 Logical queue

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】ATMセルをスイッチングさせるために一
時蓄える機能を有するセル共有バッファ部を備え、領域
管理共有バッファ部により前記セル共有バッファ部の書
き込みおよび読み出しアドレスを管理する共有バッファ
方式ATMスイッチの前記共有バッファへの永久滞留ア
ドレスを検出する永久滞留アドレス検出回路において、 永久滞留アドレスの検出開始時点に初期化され、前記領
域管理共有バッファ部に書き込まれるアドレスをチェッ
クする使用状況テーブルと、 キュー毎に備えられ、永久滞留アドレスの検出開始時点
で前記領域管理共有バッファ部内に格納されているアド
レスの滞留数を各キュー単位でラッチし、ラッチした滞
留数を読み出し毎に減算する最終アドレス決定カウンタ
と、 全てのキューの前記最終アドレス決定カウンタのカウン
タ値がゼロになった後にカウントを開始する全アドレス
巡回カウンタとを備え、 前記アドレス巡回カウンタにより全てのアドレス数をカ
ウントした後に、前記使用状況テーブル内の使用フラグ
によりバッファ内に滞留しているアドレスを検出するこ
とを特徴とする永久滞留アドレス検出回路。
1. A shared buffer type ATM switch, comprising: a cell shared buffer unit having a function of temporarily storing an ATM cell for switching, wherein a write / read address of the cell shared buffer unit is managed by an area management shared buffer unit. A permanent stay address detection circuit for detecting a permanent stay address in the shared buffer, a use status table which is initialized at the start of detection of the permanent stay address and checks an address written to the area management shared buffer unit, A final address determination counter that latches the number of stays of addresses stored in the area management shared buffer unit at each queue unit at the start of detection of a permanent stay address, and decrements the latched stay number for each read. Final address determination for all queues A counter that starts counting after the counter value of the counter reaches zero, and after counting all addresses by the address circulating counter, stays in the buffer according to the use flag in the use status table. A permanent staying address detection circuit, which detects an address in the memory.
【請求項2】ATMセルをスイッチングさせるために一
時蓄える機能を有するセル共有バッファ部と、セル共有
バッファ部の書き込みおよび読み出しアドレスを管理す
る領域管理共有バッファ部と、セル共有バッファ部の未
使用アドレスを格納し、未使用になったアドレスから順
次使用されるセル共有バッファ待機アドレスFIFO
と、領域管理共有バッファ部の未使用アドレスを格納
し、未使用になったアドレスから順次使用される領域管
理共有バッファ待機アドレスFIFOとを備えるATM
スイッチの前記共有バッファ部への永久滞留アドレスを
検出する永久滞留アドレス検出回路において、 永久滞留アドレスの検出開始時点に初期化され、前記領
域管理共有バッファ部に書き込まれるアドレスをチェッ
クする使用状況テーブルと、 永久滞留アドレスの検出開始制御および前記使用状況テ
ーブル内の未使用アドレスの検索を行う監視制御部と、 前記領域管理共有バッファ部に現在格納されているアド
レス数を、各キュー単位でリアルタイムに管理する滞留
数カウンタと、 各出力ポートおよび遅延クラスキュー毎に備えられ、前
記監視制御部からの検出開始制御時点で前記領域管理共
有バッファ部内の滞留数を前記滞留数カウンタからラッ
チし、ラッチした滞留数を読み出し毎に減算する最終ア
ドレス決定カウンタと、 全てのキューの前記最終アドレス決定カウンタのカウン
タ値がゼロになった後にカウントを開始する全アドレス
巡回カウンタとを備え、 前記アドレス巡回カウンタにより全てのアドレス数をカ
ウントした後に、前記監視制御部が、前記使用状況テー
ブル内の使用フラグによりバッファ内に滞留しているア
ドレスを検出することを特徴とする永久滞留アドレス検
出回路。
2. A cell shared buffer unit having a function of temporarily storing an ATM cell for switching, an area management shared buffer unit for managing write and read addresses of the cell shared buffer unit, and an unused address of the cell shared buffer unit. And the cell shared buffer standby address FIFO used sequentially from the unused address
ATM that stores an unused address of the area management shared buffer unit and an area management shared buffer standby address FIFO that is used sequentially from the unused address.
In a permanent stay address detection circuit for detecting a permanent stay address in the shared buffer unit of the switch, a use status table which is initialized at the start of detection of a permanent stay address and checks an address written in the area management shared buffer unit; A monitoring control unit that performs detection start control of a permanent staying address and searches for an unused address in the use status table; and manages the number of addresses currently stored in the area management shared buffer unit in real time for each queue unit. And a delay counter provided for each output port and each delay class queue. At the time of detection start control from the monitoring control unit, the number of stays in the area management shared buffer unit is latched from the stay number counter, and the latched A final address determination counter that decrements An address circulating counter that starts counting after the counter value of the last address determination counter of the ー has reached zero, and after the number of all addresses has been counted by the address circulating counter, the monitoring control unit performs A permanent staying address detection circuit for detecting an address staying in a buffer according to a use flag in a status table.
【請求項3】ATMセルをスイッチングさせるために一
時蓄える機能を有するセル共有バッファ部を備え、領域
管理共有バッファ部により前記セル共有バッファ部の書
き込みおよび読み出しアドレスを管理する共有バッファ
方式ATMスイッチの前記共有バッファへの永久滞留ア
ドレスを検出する永久滞留アドレス検出方法において、 前記領域管理共有バッファ部に書き込まれたアドレスを
チェックする使用状況テーブルを初期化し、 前記領域管理共有バッファ部に滞留しているアドレスの
滞留数をキュー単位にラッチして前記領域管理共有バッ
ファ部からの読み出し毎に該当キューの滞留数を減算
し、 全てのキューの滞留数がゼロになったときにカウントを
開始し、 全てのアドレス数をカウントした時点で、前記使用状況
テーブルのフラグにより、未使用アドレスを認識し、永
久滞留しているアドレスを検出することを特徴とする永
久滞留アドレス検出方法。
3. A shared buffer type ATM switch according to claim 1, further comprising a cell shared buffer unit having a function of temporarily storing an ATM cell for switching, wherein a write / read address of said cell shared buffer unit is managed by an area management shared buffer unit. In the method for detecting a permanent resident address in a shared buffer, a usage state table for checking an address written in the area management shared buffer is initialized, and an address stagnated in the area management shared buffer is initialized. The number of stays of each queue is latched for each queue, and the number of stays of the corresponding queue is subtracted every time reading from the area management shared buffer unit. When the number of stays of all queues becomes zero, counting is started. When the number of addresses has been counted, the A permanent staying address detection method characterized by recognizing an unused address and detecting an address staying permanently.
【請求項4】ATMセルをスイッチングさせるために一
時蓄える機能を有するセル共有バッファ部と、セル共有
バッファ部の書き込みおよび読み出しアドレスを管理す
る領域管理共有バッファ部と、セル共有バッファ部の未
使用アドレスを格納し、未使用になったアドレスから順
次使用されるセル共有バッファ待機アドレスFIFO
と、領域管理共有バッファ部の未使用アドレスを格納
し、未使用になったアドレスから順次使用される領域管
理共有バッファ待機アドレスFIFOとを備えるATM
スイッチの前記共有バッファ部への永久滞留アドレスを
検出する永久滞留アドレス検出方法において、 前記領域管理共有バッファ部に書き込まれたアドレスを
チェックする使用状況テーブルを初期化し、 各出力ポートおよび遅延クラスキュー毎にカウンタを持
ち、検出開始時点での前記領域管理共有バッファ部内の
アドレスの滞留数を最終アドレス決定カウンタでラッチ
し、 前記領域管理共有バッファ部からの読み出し毎に該当キ
ューの最終アドレス決定カウンタのカウント値を減算
し、 全てのキューの前記最終アドレス決定カウンタのカウン
ト値がゼロになった後に全アドレス巡回カウンタがカウ
ントを開始し、 前記全アドレス巡回カウンタが全アドレス数をカウント
した時点で、前記使用状況テーブルのフラグにより、未
使用アドレスを認識し、永久滞留しているアドレスを検
出することを特徴とする永久滞留アドレス検出方法。
4. A cell shared buffer unit having a function of temporarily storing an ATM cell for switching, an area management shared buffer unit for managing write and read addresses of the cell shared buffer unit, and an unused address of the cell shared buffer unit. And the cell shared buffer standby address FIFO used sequentially from the unused address
ATM that stores an unused address of the area management shared buffer unit and an area management shared buffer standby address FIFO that is used sequentially from the unused address.
In the permanent retention address detection method for detecting a permanent retention address in the shared buffer unit of a switch, a use status table for checking an address written in the area management shared buffer unit is initialized, and each output port and each delay class queue The number of staying addresses in the area management shared buffer at the start of detection is latched by a final address determination counter, and each time the address is read from the area management shared buffer, the count of the last address determination counter of the corresponding queue is counted. After the count value of the last address determination counter of all queues becomes zero, the all address cyclic counter starts counting, and when the all address cyclic counter has counted the total number of addresses, Unused addresses can be specified by flags in the status table. Recognizes, permanent residence address detecting method and detecting an address that is permanently retained.
JP16474698A 1998-06-12 1998-06-12 ATM switch permanent stay address detection circuit and permanent stay address detection method Expired - Fee Related JP3130866B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16474698A JP3130866B2 (en) 1998-06-12 1998-06-12 ATM switch permanent stay address detection circuit and permanent stay address detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16474698A JP3130866B2 (en) 1998-06-12 1998-06-12 ATM switch permanent stay address detection circuit and permanent stay address detection method

Publications (2)

Publication Number Publication Date
JPH11355311A JPH11355311A (en) 1999-12-24
JP3130866B2 true JP3130866B2 (en) 2001-01-31

Family

ID=15799137

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16474698A Expired - Fee Related JP3130866B2 (en) 1998-06-12 1998-06-12 ATM switch permanent stay address detection circuit and permanent stay address detection method

Country Status (1)

Country Link
JP (1) JP3130866B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102274925B1 (en) * 2017-04-07 2021-07-08 가톨릭대학교 산학협력단 Catch forceps for medical

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102274925B1 (en) * 2017-04-07 2021-07-08 가톨릭대학교 산학협력단 Catch forceps for medical

Also Published As

Publication number Publication date
JPH11355311A (en) 1999-12-24

Similar Documents

Publication Publication Date Title
US6707693B1 (en) Content addressable memory with simultaneous write and compare function
JP2007525766A (en) Collision detection in multiport memory systems
US7002823B1 (en) Content addressable memory with simultaneous write and compare function
US6640267B1 (en) Architecture for multi-queue storage element
CN102203738A (en) Event queue managing device and event queue managing method
US7392354B1 (en) Multi-queue FIFO memory devices that support a backed-off standard mode of operation and methods of operating same
WO1998012623A1 (en) Single port first-in-first-out (fifo) storage device having over-write protection and diagnostic capabilities
JP3130866B2 (en) ATM switch permanent stay address detection circuit and permanent stay address detection method
JPH10260909A (en) Shared memory controller
US20030051103A1 (en) Shared memory system including hardware memory protection
CN114153758B (en) Cross-clock domain data processing method with frame counting function
US6034959A (en) ATM switch capable of detecting addressing errors
JP2545396B2 (en) Packet switch
CN104778131B (en) A kind of data cache method and a kind of buffer storage
US20050128834A1 (en) Data transfer circuit having collision detection circuit
JP2794953B2 (en) Data discard method
CN117521570B (en) Bus timeout detection circuit, method, chip and electronic equipment
JP3075898B2 (en) Anomaly detection system for FIFO memory capacity
JPH11122308A (en) Overflow and underflow detection circuit
EP1039386A1 (en) Computer system with trace unit, and method therefor
US6496506B1 (en) Address fault monitoring device and ATM switching device
KR100380601B1 (en) Address management system and method of FFC for IPC
JP2000101594A (en) Overflow alarm detecting device, method therefor an recording medium recorded with control program
JPH1051469A (en) Atm switch
JPH07288525A (en) Queue memory and cell exchange provided with queue memory

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees