JPH11261569A - Address management device in shared buffer of atm cell - Google Patents

Address management device in shared buffer of atm cell

Info

Publication number
JPH11261569A
JPH11261569A JP5814598A JP5814598A JPH11261569A JP H11261569 A JPH11261569 A JP H11261569A JP 5814598 A JP5814598 A JP 5814598A JP 5814598 A JP5814598 A JP 5814598A JP H11261569 A JPH11261569 A JP H11261569A
Authority
JP
Japan
Prior art keywords
address
cell
buffer
read
shared buffer
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
JP5814598A
Other languages
Japanese (ja)
Inventor
Akira Ogawa
亮 小川
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 JP5814598A priority Critical patent/JPH11261569A/en
Publication of JPH11261569A publication Critical patent/JPH11261569A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To retrieve an open address and a read address in a shared buffer and to easily execute the management of addresses of the shared buffer by registering a used address and an unused address in the shared buffer that randomly registers an ATM cell on a content address memory(CAM) and utilizing a retrieval function of the CAM. SOLUTION: An address management device of a shared buffer of an ATM cell has a CAM 14 which manages an open address of the shared buffer and a read address of every an output port number and an address retrieving part 13 which retrieves the free address and the read address from the CAM 14 in an address management circuit part 11 of the shared buffer. Its management method has a step which stores an open address and a read address of the shared buffer in one CAM 14 and a step which retrieves the free address or the read address of the shared buffer with an address pointer of the CAM 14 and performs address management of the shared buffer of the ATM cell.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、非同期転送モード
( Asynchronous Transfer Mode:以降ATMと称す)
の通信方式におけるATMセルの共有バッファのアドレ
ス管理方法と装置に関する。
The present invention relates to an asynchronous transfer mode (hereinafter referred to as ATM).
The present invention relates to a method and an apparatus for managing an address of a shared buffer of an ATM cell in the communication system of the above.

【0002】[0002]

【従来の技術】従来、ATMスイッチなどで実装される
ATMセルの共有バッファは、ATMセルの蓄積バッフ
ァ容量を削減し、統計的な多重効果により、少ないバッ
ファ量でセルロスを極力抑えることを目的としている。
2. Description of the Related Art Conventionally, an ATM cell shared buffer implemented in an ATM switch or the like has a purpose of reducing the storage buffer capacity of the ATM cell and minimizing cell loss with a small buffer amount due to a statistical multiplexing effect. I have.

【0003】たとえば、“大容量ATMスイッチLSI
の開発”、清水他、1997年電子情報通信学会総合大会B-
8-22には、共有バッファの空きアドレス、及び使用アド
レスを個別に用意するバッファで管理を行う技術が記載
されている。
[0003] For example, "Large-capacity ATM switch LSI"
Development ”, Shimizu et al., 1997 IEICE General Conference B-
8-22 describes a technique of managing a free address of a shared buffer and a use address by using a buffer that is individually prepared.

【0004】図9は従来の共有バッファのアドレス管理
方法の一例を示すブロック図である。共有バッファ91
は、受信セルを書き込み制御部96の指示に従い蓄積
し、読み出し制御部97の指示に従い読み出すセル蓄積
用のバッファである。空きアドレスバッファ95は、共
有バッファ91の全ての空きアドレスを管理する。読み
出しアドレスバッファ92、93、94は、ATMセル
を管理する出力ポート番号毎に用意され、共有バッファ
91でセルデータを書き込んだことにより“使用中”と
なった共有バッファ91のアドレスを管理する。図9で
は、出力ポート番号数を#1〜#Nとして記述してい
る。
FIG. 9 is a block diagram showing an example of a conventional shared buffer address management method. Shared buffer 91
Is a cell storage buffer for storing received cells according to the instruction of the write control unit 96 and reading out the cells according to the instruction of the read control unit 97. The free address buffer 95 manages all free addresses in the shared buffer 91. The read address buffers 92, 93, and 94 are prepared for each output port number for managing the ATM cell, and manage the address of the shared buffer 91 which is "in use" by writing the cell data in the shared buffer 91. In FIG. 9, the number of output port numbers is described as # 1 to #N.

【0005】書き込み制御部96は、受信ATMセルの
共有バッファ91への登録アドレスの決定と、登録によ
り使用中となったアドレスの読み出しアドレスバッファ
92、93、94への登録を行う。読み出し制御部97
は、共有バッファ91からの読み出しアドレスの決定
と、読み出しにより、“未使用”となったアドレスの空
きアドレスバッファ95への登録を行う。空きアドレス
バッファ95より出力される空きアドレスは、書き込み
に使用されると必ず出力ポート番号値に対応する読み出
しバッファ92、93、94の何れかに登録される。読
み出しバッファ92、93、94より出力される読み出
しアドレスは、読み出しに使用されると必ず空きアドレ
スバッファ95へ登録される。これにより、共有バッフ
ァ91のアドレスは、常に空きアドレスバッファ95も
しくは読み出しアドレスバッファ92、93、94によ
り管理される。また、アドレスを管理する各バッファを
FIFO(First In First Out)形式で使用することに
より、共有バッファ91より読み出すATMセルの順序
が守られる。
[0005] The write control unit 96 determines the registration address of the received ATM cell in the shared buffer 91 and registers the address used by the registration in the read address buffers 92, 93 and 94. Read control unit 97
Determines the read address from the shared buffer 91 and registers the “unused” address in the free address buffer 95 by reading. The empty address output from the empty address buffer 95 is always registered in one of the read buffers 92, 93, and 94 corresponding to the output port number value when used for writing. The read addresses output from the read buffers 92, 93 and 94 are always registered in the free address buffer 95 when used for reading. Thus, the address of the shared buffer 91 is always managed by the empty address buffer 95 or the read address buffers 92, 93, 94. Further, by using the buffers for managing the addresses in a FIFO (First In First Out) format, the order of the ATM cells read from the shared buffer 91 is maintained.

【0006】[0006]

【発明が解決しようとする課題】しかし、従来の技術で
は、次のような問題があった。
However, the prior art has the following problems.

【0007】第1の問題点は、ひとたびアドレス管理に
不正が起きた場合、その不正は消えることなく存続して
しまう、ということである。
[0007] The first problem is that once a fraud has occurred in address management, the fraud will persist without disappearing.

【0008】その理由は、アドレスが空きアドレスバッ
ファと読み出しアドレスバッファの間を巡回しているこ
とにある。
The reason is that addresses circulate between an empty address buffer and a read address buffer.

【0009】第2の問題点は、出力ポート数を増やす
と、回路規模も増加することである。そのため、出力ポ
ート数の拡張時には回路の構成を変更しなければならな
い。
A second problem is that the circuit scale increases as the number of output ports increases. Therefore, when expanding the number of output ports, the circuit configuration must be changed.

【0010】その理由は、読み出しアドレスバッファを
出力ポート毎に用意していることにある。出力ポート毎
に読み出しアドレスバッファを用意するため、出力ポー
ト数が増大するとバッファ容量も増大し、回路規模の増
加にもつながる。
[0010] The reason is that a read address buffer is prepared for each output port. Since a read address buffer is prepared for each output port, the buffer capacity increases as the number of output ports increases, which leads to an increase in circuit size.

【0011】本発明の目的は、以上の問題点を解決する
ためになされたもので、ATMセルの共有バッファのア
ドレス管理方法を提供することである。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems, and an object of the present invention is to provide a method of managing addresses of a shared buffer of ATM cells.

【0012】[0012]

【課題を解決するための手段】本発明によるATMセル
の共有バッファのアドレス管理方法は、ATMセルをラ
ンダムに登録する共有バッファの使用アドレスと未使用
アドレスをコンテンツアドレスメモリ(Content Addres
s Memory:以降CAMと称す)に登録する。CAMの検
索機能を利用することによってアドレス検索を行い、そ
れにより、共有バッファのアドレスの管理を容易に実行
する。
An address management method for a shared buffer of ATM cells according to the present invention stores a used address and an unused address of a shared buffer for randomly registering an ATM cell in a content address memory (Content Address).
s Memory: hereinafter referred to as CAM). The address search is performed by using the search function of the CAM, thereby easily managing the address of the shared buffer.

【0013】本発明のATMセルの共有バッファにおけ
るアドレス管理方法は、共有バッファ型ATMスイッチ
あるいはAALタイプ5のフレーム組み立て回路におい
て、共有バッファの空きアドレスと、読み出しアドレス
とを1つのコンテンツアドレスメモリに蓄積するステッ
プと、コンテンツアドレスメモリのアドレスポインタの
示す位置から共有バッファの空きまたは読み出しアドレ
スを検索するステップを有し、ATMセルの共有バッフ
ァのアドレスの管理を行うことを特徴とする。
According to the address management method of the present invention for a shared buffer of ATM cells, in a shared buffer type ATM switch or an AAL type 5 frame assembling circuit, an empty address of a shared buffer and a read address are stored in one content address memory. And a step of searching for a free or read address of the shared buffer from the position indicated by the address pointer in the content address memory, and managing the address of the shared buffer of the ATM cell.

【0014】また、本発明の共有バッファ型ATMスイ
ッチあるいはAALタイプ5のフレーム組み立て回路に
おける共有バッファのアドレス管理装置は、共有バッフ
ァの空きアドレスと、読み出しアドレスとを蓄積するコ
ンテンツアドレスメモリと、コンテンツアドレスメモリ
のアドレスポインタの示す位置から共有バッファの空き
または読み出しアドレスを検索する手段を有し、共有バ
ッファに書き込む際に、出力ポート番号毎に用意される
書き込みポインタから最も近く、アドレスフラグが空き
である空きアドレスを検索し、検索により、空きアドレ
スが検索されなかった場合には、前記書き込みポインタ
を初期化し、空きアドレスが検索された場合には、該当
アドレスフラグを空きから使用中に書き換え、セルバッ
ファの書き込みアドレスとして出力し、共有バッファよ
り読み出す際に、出力ポート番号毎に用意する読み出し
みポインタから最も近く、アドレスフラグが使用中であ
るアドレスを検索し、検索により、アドレスが検索され
なかった場合には、読み出しポインタを初期化し、読み
出しポインタに対応するアドレスが検索された場合に
は、該当アドレスフラグを使用中から空きに書き換え、
セルバッファの読み出しアドレスとして出力することを
特徴とする。
Further, in the shared buffer type ATM switch or AAL type 5 frame assembling circuit according to the present invention, the shared buffer address management device comprises: a content address memory for storing an empty address of the shared buffer and a read address; Means for searching for a free or read address of the shared buffer from the position indicated by the address pointer in the memory; and when writing to the shared buffer, the address flag is free and closest to the write pointer prepared for each output port number. A free address is searched, and if no free address is found by the search, the write pointer is initialized. If a free address is found, the corresponding address flag is rewritten from free to in use, and the cell buffer is used. Write a When reading from the shared buffer, the address closest to the read pointer prepared for each output port number and the address flag being used is searched. When the address corresponding to the read pointer is searched, the corresponding address flag is rewritten from being used to being empty,
It is output as a read address of a cell buffer.

【0015】本発明によれば、到着したセルデータはA
TMセルのコネクションに関係なく全て一つのセルバッ
ファに蓄えられる。セルデータ蓄積時のセルバッファの
空きアドレスと、セルデータ読み出し時の読み出しアド
レスは、CAMからアドレス検索機能を使用して容易に
検索される。セルデータの蓄積時、蓄積されるセルデー
タのセルバッファのアドレスは、空きアドレスフラグを
検索キーとして出力ポート番号毎に用意する書き込みポ
インタ値から一番近い空きアドレスがCAMからアドレ
ス検索機能を用いて読み出される。また、セルデータの
読み出し時、読み出されるセルバッファのアドレスは、
読み出すセルの出力ポート番号を検索キーとして、出力
ポート番号毎に用意する読み出しポインタ値から一番近
いアドレスが読み出される。これにより、共有バッファ
を用いながらも蓄積セルのアドレス登録順序の正常性管
理を容易に行う。
According to the present invention, the arriving cell data is A
All are stored in one cell buffer regardless of the connection of the TM cell. The empty address of the cell buffer at the time of storing the cell data and the read address at the time of reading the cell data are easily searched from the CAM by using the address search function. At the time of accumulating the cell data, the address of the cell buffer of the cell data to be accumulated is determined by using the empty address flag as a search key and the empty address closest to the write pointer value prepared for each output port number from the CAM using the address search function. Is read. When reading cell data, the address of the cell buffer to be read is:
Using the output port number of the cell to be read as a search key, the closest address is read from the read pointer value prepared for each output port number. This facilitates the normality management of the storage cell address registration order while using the shared buffer.

【0016】[0016]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して詳細に説明する。図1はATMセルの
共有バッファにおけるアドレス管理方法を実行する共有
バッファ形式のセルスイッチの構成を示すブロック図で
ある。
Next, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a shared buffer type cell switch for executing an address management method in a shared buffer of ATM cells.

【0017】共有バッファのアドレス管理回路部11
は、図1に示すように、共有バッファであるセルバッフ
ァ12の空きアドレスと出力ポート番号毎の読み出しア
ドレスとを管理するCAM14と、CAM14より空き
アドレス及び読み出しアドレスを検索するアドレス検索
部13を有している。セルバッファ12はATMセルを
一時的に蓄えるバッファであり、出力ポート番号に関係
なく、受信セルを順次登録する共有バッファである。セ
ル多重部15は、入力ポートの固定順番でATMセルを
多重化し、セルバッファ12とスイッチ用テーブル16
へ出力する。スイッチ用テーブル16は、入力されるセ
ルデータより、ATMセルの出力ポート番号を判定し、
アドレス検索部13へ出力する。出力ポート番号生成部
17は、出力ポート番号を固定的な順序で発生し、アド
レス検索部13およびセル分離部18へ出力ポート番号
を出力する。セル分離部18は、セルバッファ12より
読み出したセルデータを出力ポート番号生成部17より
得られる出力ポートへ振り分ける。
Address management circuit 11 for shared buffer
As shown in FIG. 1, the CAM 14 has a CAM 14 that manages a vacant address of a cell buffer 12 that is a shared buffer and a read address for each output port number, and an address search unit 13 that searches the CAM 14 for a vacant address and a read address. doing. The cell buffer 12 is a buffer for temporarily storing ATM cells, and is a shared buffer for sequentially registering received cells regardless of the output port number. The cell multiplexing unit 15 multiplexes the ATM cells in the fixed order of the input ports, and multiplexes the ATM cells with the cell buffer 12 and the switch table 16.
Output to The switch table 16 determines the output port number of the ATM cell from the input cell data,
Output to the address search unit 13. The output port number generation unit 17 generates the output port numbers in a fixed order, and outputs the output port numbers to the address search unit 13 and the cell separation unit 18. The cell separation unit 18 distributes the cell data read from the cell buffer 12 to output ports obtained from the output port number generation unit 17.

【0018】次に、アドレス管理回路部11の構成の詳
細について図2を用いて説明する。CAM14は、セル
バッファ12にセル単位に蓄える際のセルバッファ12
のアドレス21と、セルバッファ中に蓄える受信セルの
出力ポート番号22と、対応するアドレスの使用と未使
用(空き)を示す空きフラグ23のデータを有する。空
きフラグ23は、フラグ値が“0”であれば登録されて
いるセルバッファのアドレスは空き(未使用)であり、
フラグ値が“1”であればセルバッファのアドレスには
セルデータが書き込まれていること(使用中)を示す。
Next, details of the configuration of the address management circuit section 11 will be described with reference to FIG. The CAM 14 stores the cell buffer 12 when storing the data in the cell buffer 12 in units of cells.
, An output port number 22 of the reception cell stored in the cell buffer, and data of a vacancy flag 23 indicating use and non-use (vacancy) of the corresponding address. The empty flag 23 indicates that the registered cell buffer address is empty (unused) if the flag value is “0”.
If the flag value is "1", it indicates that cell data is written (in use) at the address of the cell buffer.

【0019】アドレス検索部13は、CAM14のアド
レス管理に出力ポート番号毎に用意する書き込みポイン
タWp(x)と、読み出しポインタRp(x)とを用意し、出
力ポート毎に書き込みを終えたCAMのアドレス値と、
読み出しを終えたCAMのアドレス値を管理するための
テーブル24を持つている。
The address search unit 13 prepares a write pointer Wp (x) and a read pointer Rp (x) prepared for each output port number in the address management of the CAM 14, and writes the CAM of the CAM that has finished writing for each output port. Address value,
It has a table 24 for managing the address value of the CAM for which reading has been completed.

【0020】次に、図1の回路の動作について図を参照
して説明する。複数の入力ポートからのATMセルは、
セル多重部15で、入力ポートの固定順序でセル多重さ
れ、セルバッファ12に書き込まれる。ATMセルが書
き込まれるセルバッファ12上のアドレスは、アドレス
検索部13によりCAM14に登録されているセルバッ
ファの空きアドレスを検索することにより決定される。
アドレス検索部13は、スイッチ用テーブル16より受
信セルの出力ポート番号が入力され、入力される出力ポ
ートへのATMセルが既に登録されているアドレスに最
も近いセルバッファの空きアドレスをCAM14より検
索する。
Next, the operation of the circuit of FIG. 1 will be described with reference to the drawings. ATM cells from multiple input ports are:
In the cell multiplexing unit 15, the cells are multiplexed in a fixed order of the input ports, and are written in the cell buffer 12. The address on the cell buffer 12 where the ATM cell is to be written is determined by searching an empty address of the cell buffer registered in the CAM 14 by the address search unit 13.
The address search unit 13 receives the output port number of the received cell from the switch table 16 and searches the CAM 14 for a free address in the cell buffer closest to the address where the ATM cell to the input output port is already registered. .

【0021】図3はアドレス検索部13における空きア
ドレス検索のフローチャートである。図3を参照する
と、アドレス検索部13は、出力ポート番号毎に用意さ
れる書き込みポインタ(図中のWp(x ))から最も近
く、CAM14に登録されている空きフラグが“0”で
あるCAMのアドレスを検索する(ステップ1S、2
S、3S、4S)。検索により、セルバッファ12の空
きアドレスが検索されなかった場合には、セルバッファ
12がオーバーフローしていると判断し、空きアドレス
を出力することなく、出力ポート番号に対する書き込み
ポインタWp(x )を初期化する(ステップ8S、9
S)。空きアドレスが検索された場合には、CAM14
中の該当アドレスの空きフラグ23を“1”に書き換
え、登録されているセルバッファ12のアドレス21を
空きアドレスとして出力する(ステップ5S、6S、7
S)。
FIG. 3 is a flow chart of an empty address search in the address search unit 13. Referring to FIG. 3, the address search unit 13 is the closest to the write pointer (Wp (x) in the figure) prepared for each output port number, and the CAM whose empty flag registered in the CAM 14 is “0”. Address (steps 1S, 2
S, 3S, 4S). If a free address of the cell buffer 12 is not found by the search, it is determined that the cell buffer 12 has overflowed, and the write pointer Wp (x) for the output port number is initialized without outputting the free address. (Steps 8S, 9
S). If a free address is found, the CAM 14
The empty flag 23 of the corresponding address is rewritten to "1", and the registered address 21 of the cell buffer 12 is output as an empty address (steps 5S, 6S, 7).
S).

【0022】セルバッファ12からのセルデータの読み
出しは、全ての出力ポートのアドレスデータを固定的な
順序で読み出すことで行われる。アドレス検索部13で
は、出力ポート番号生成部17より固定的な順序で入力
される出力ポート番号を検索キーとして、セルバッファ
12からの読み出しアドレスをCAM14より検索す
る。
Reading of cell data from the cell buffer 12 is performed by reading address data of all output ports in a fixed order. The address search unit 13 searches the CAM 14 for an address read from the cell buffer 12 using the output port numbers input from the output port number generation unit 17 in a fixed order as search keys.

【0023】図4はアドレス検索部13における読み出
しアドレス検索のフローチャートである。図4を参照す
ると、アドレス検索部13は、出力する出力ポート番号
と空きフラグを“1”とした検索キーにより、出力ポー
ト番号毎に用意する読み出しポインタ(図中のRp(x
))から最も近いCAMのアドレスを検索する(ステ
ップ11S、12S、13S、14S)。検索により、
CAMのアドレスが検索されなかった場合には、検索値
に対するセルバッファ12のアンダーフローと判断し、
検索キーとしていた出力ポートに対するRp(x )を初
期化する(ステップ18S、19S)。検索キーに対応
するCAMのアドレスが検索された場合には、CAM1
4の該当アドレスフラグ23を空き“0”に書き換え、
登録されているセルバッファ12のアドレス21をセル
バッファ13の読み出しアドレスとして出力する(ステ
ップ15S、16S、17S)。
FIG. 4 is a flowchart of a read address search in the address search unit 13. Referring to FIG. 4, the address search unit 13 uses a read pointer prepared for each output port number (Rp (x
)) Is searched for the closest CAM address (steps 11S, 12S, 13S, 14S). By search,
If the address of the CAM is not searched, it is determined that the cell buffer 12 underflows the search value.
Initialize Rp (x) for the output port used as the search key (steps 18S, 19S). If the address of the CAM corresponding to the search key is found, CAM1
4 is rewritten to empty “0”,
The registered address 21 of the cell buffer 12 is output as a read address of the cell buffer 13 (steps 15S, 16S, 17S).

【0024】読み出されたセルデータは、セル分離部1
8にて、読み出した固定順序に従い、各出力ポートへ振
り分けられる。
The read cell data is transmitted to the cell separation unit 1
At 8, the output ports are sorted according to the fixed order.

【0025】次に本発明の他の実施例について図面を参
照して詳細に説明する。図5は、本アドレス管理方法を
利用したAAL(ATM Adaptation Layer)タイプ5のA
TMセルのフレーム組み立て回路の構成を示すブロック
図である。図5を参照すると、アドレス管理回路部11
は、共有バッファであるセルバッファ12の空きアドレ
スとVPI値毎の読み出しアドレスとを管理するCAM
14と、CAM14より空きアドレス及び読み出しアド
レスを検索するアドレス検索部13を有している。AT
Mセルのフレーム組み立て回路は、共有バッファのアド
レス管理回路11と、セルバッファ12の周辺に無効セ
ル廃棄部51と、受信セル判定部52と、組み立て要求
FIFO53と、読み出しセル判定部54と、ヘッダ削
除部55と、フレーム組み立てバッファ56を設けてい
る。
Next, another embodiment of the present invention will be described in detail with reference to the drawings. FIG. 5 shows an AAL (ATM Adaptation Layer) type 5 A using this address management method.
It is a block diagram which shows the structure of the frame assembly circuit of a TM cell. Referring to FIG. 5, the address management circuit unit 11
Is a CAM that manages a vacant address of the cell buffer 12 as a shared buffer and a read address for each VPI value.
14 and an address search unit 13 for searching the CAM 14 for a free address and a read address. AT
The M cell frame assembling circuit includes an address management circuit 11 for a shared buffer, an invalid cell discarding unit 51 around the cell buffer 12, a received cell judging unit 52, an assembling request FIFO 53, a read cell judging unit 54, a header A deletion unit 55 and a frame assembly buffer 56 are provided.

【0026】また、本実施例におけるアドレス管理回路
部11の構成について図6を用いて説明する。図に示す
ように、CAM14は、セルバッファ12にATMセル
単位に蓄える際のセルバッファ12のアドレス21と、
セルバッファ中に蓄える受信セルのVPI値61と、対
応するアドレスの使用と未使用(空き)を示す空きフラ
グ23のデータを有する。空きフラグ23は、フラグ値
が“0”であれば登録されているセルバッファのアドレ
スは空き(未使用)であり、フラグ値が“1”であれば
セルバッファのアドレスにはセルデータが書き込まれて
いること(使用中)を示す。
The configuration of the address management circuit section 11 in the present embodiment will be described with reference to FIG. As shown in the figure, the CAM 14 stores an address 21 of the cell buffer 12 when storing the ATM cell unit in the cell buffer 12;
It has the VPI value 61 of the received cell stored in the cell buffer and the data of the empty flag 23 indicating whether the corresponding address is used or unused (empty). In the empty flag 23, if the flag value is "0", the registered cell buffer address is empty (unused), and if the flag value is "1", the cell data is written in the cell buffer address. (Used).

【0027】アドレス検索部13は、CAM14のアド
レス管理にVPI値毎に用意する書き込みポインタWp
(x )と、読み出しポインタRp(x)とを用意し、受信セル
毎に書き込みを終えたCAMのアドレス値、読み出しを
終えたCAMのアドレス値を管理する。
The address search unit 13 manages the address of the CAM 14 by using a write pointer Wp prepared for each VPI value.
(x) and a read pointer Rp (x) are prepared, and the address value of the CAM after writing and the address value of the CAM after reading are managed for each reception cell.

【0028】次に、図5の回路の動作について図を参照
して説明する。受信セルは無効セル廃棄部51によりユ
ーザセル以外を廃棄し、受信セル判定部52およびセル
バッファ12へユーザセルのみを出力する。受信セル判
定部52は、受信したユーザセルVPI値をCAM14
への登録値としてアドレス検索部13へ出力し、ペイロ
ードタイプ(PT)が“001”の時には、受信セルを
EOM(End Of Message )セルと判断し、組み立て要
求FIFO 53にもVPI値を出力する。
Next, the operation of the circuit of FIG. 5 will be described with reference to the drawings. The received cell is discarded by the invalid cell discarding unit 51 except for the user cell, and only the user cell is output to the received cell determining unit 52 and the cell buffer 12. The received cell determination unit 52 determines the received user cell VPI value in the CAM 14
Is output to the address search unit 13 as a registered value to the receiver. When the payload type (PT) is “001”, the received cell is determined to be an EOM (End Of Message) cell, and the VPI value is also output to the assembly request FIFO 53. .

【0029】アドレス検索部13は、受信したVPI値
のATMセルが既に書き込まれているアドレスに最も近
いセルバッファの空きアドレスを検索し、セルバッファ
12には、検索された空きアドレスで順次受信セルが登
録される。このようにして登録されたセルデータは、V
PI値毎に1フレーム分蓄積されるとフレーム組み立て
のために読み出される。組み立て要求FIFO53に
は、EOMセル受信時にそのATMセルのVPI値が登
録されるため、常にセルバッファ12に1フレーム分の
セルデータが書き込まれる毎にVPI値が登録されてい
る。
The address search unit 13 searches for an empty address in the cell buffer closest to the address where the ATM cell of the received VPI value has already been written. Is registered. The cell data registered in this way is V
When one frame is accumulated for each PI value, it is read out for frame assembly. The VPI value of the ATM cell is registered in the assembly request FIFO 53 when the EOM cell is received. Therefore, the VPI value is registered every time one frame of cell data is written in the cell buffer 12.

【0030】アドレス検索部13は、組み立てFIFO
53よりVPI値を読み出し、1フレーム分書き込まれ
たVPI値に対するATMセルのセルバッファの読み出
しアドレスを検索する。各VPI値に対する1フレーム
分のセルデータ読み出しは、読み出しセル判定部54に
てEOMセルが監視されるまで行われる。EOMセルが
監視されると、検索VPI値のセルデータは1フレーム
分読み出され、セルデータの読み出しを完了する。セル
バッファより読み出されたセルデータは、ヘッダ削除部
55にてセルヘッダが削除され、フレーム組み立てバッ
ファ56へ順次登録されることによりフレームに組み立
てられる。
The address search unit 13 is provided with an assembly FIFO
The VPI value is read from 53, and the read address of the ATM cell cell buffer for the VPI value written for one frame is searched. Reading of one frame of cell data for each VPI value is performed until the read cell determination unit 54 monitors the EOM cell. When the EOM cell is monitored, the cell data of the search VPI value is read for one frame, and the reading of the cell data is completed. The cell data read from the cell buffer is assembled into a frame by deleting the cell header in the header deleting section 55 and sequentially registering the cell data in the frame assembling buffer 56.

【0031】図7は図5のアドレス検索部13における
空きアドレス検索のフローチャートである。図を参照す
ると、アドレス検索部13は、VPI値毎に用意される
書き込みポインタ(図中のWp(x ))から最も近く、
CAM14に登録されている空きフラグが“0”である
CAMのアドレスを検索する(ステップ21S、22
S、23S、24S)。検索により、空きアドレスが検
索されなかった場合には、セルバッファ12がオーバー
フローしていると判断し、空きアドレスを出力すること
なく、VPI値に対する書き込みポインタWp(x )を
初期化する(ステップ28S、29S)。空きアドレス
が検索された場合には、CAM14中の該当アドレスの
空きフラグ23を“1”に書き換え、登録されているセ
ルバッファ12のアドレス21を書き込みアドレスとし
て出力する(ステップ25S、26S、27S)。
FIG. 7 is a flowchart for searching for an empty address in the address search unit 13 in FIG. Referring to the figure, the address search unit 13 is closest to a write pointer (Wp (x) in the figure) prepared for each VPI value,
The address of the CAM whose empty flag is “0” registered in the CAM 14 is searched (steps 21S, 22).
S, 23S, 24S). If no empty address is found by the search, it is determined that the cell buffer 12 has overflowed, and the write pointer Wp (x) for the VPI value is initialized without outputting the empty address (step 28S). , 29S). If a free address is found, the free flag 23 of the corresponding address in the CAM 14 is rewritten to "1", and the registered address 21 of the cell buffer 12 is output as a write address (steps 25S, 26S, 27S). .

【0032】セルバッファ12からのセルデータの読み
出しは、全ての受信セルのアドレスデータを固定的な順
序で読み出すことで行われる。アドレス検索部13で
は、読み出しセル判定部54より固定的な順序で入力さ
れる受信セルのVPI値を検索キーとして、セルバッフ
ァ12からの読み出しアドレスをCAM14より検索す
る。
Reading of cell data from the cell buffer 12 is performed by reading address data of all the received cells in a fixed order. The address search unit 13 searches the CAM 14 for a read address from the cell buffer 12 using the VPI value of the received cell input in a fixed order from the read cell determination unit 54 as a search key.

【0033】図8は図5のアドレス検索部13における
読み出しアドレス検索のフローチャートである。図を参
照すると、アドレス検索部13は、出力する受信セルの
VPI値と空きフラグを“1”とした検索キーにより、
VPI値毎に用意する読み出しポインタ(図中のRp
(x))から最も近いCAMのアドレスを検索する(ス
テップ31S、32S、33S、34S)。検索によ
り、CAMのアドレスが検索されなかった場合には、検
索VPI値に対するセルバッファ12のアンダーフロー
と判断し、検索キーとしていた受信セルのVPI値に対
するRp(x )を初期化する(ステップ38S、39
S)。検索キーに対応するCAMのアドレスが検索され
た場合には、CAM14の該当アドレスフラグ23を空
き“0”に書き換え、登録されているセルバッファ12
のアドレス21をセルバッファ13の読み出しアドレス
として出力する(ステップ35S、36S、37S)。
FIG. 8 is a flowchart of a read address search in the address search unit 13 of FIG. Referring to the figure, the address search unit 13 uses a VPI value of a received cell to be output and a search key in which an empty flag is set to “1”.
Read pointer prepared for each VPI value (Rp in the figure)
(X)), the nearest CAM address is searched (steps 31S, 32S, 33S, 34S). If the CAM address is not found by the search, it is determined that the cell buffer 12 underflows with respect to the search VPI value, and Rp (x) with respect to the VPI value of the received cell used as the search key is initialized (step 38S). , 39
S). When the address of the CAM corresponding to the search key is searched, the corresponding address flag 23 of the CAM 14 is rewritten to empty “0”, and the registered cell buffer 12 is rewritten.
Is output as the read address of the cell buffer 13 (steps 35S, 36S, 37S).

【0034】アドレス検索部13は、組み立てFIFO
53よりVPI値を読み出し、1フレーム分書き込まれ
たVPI値に対するATMセルの読み出しアドレスを検
索する(ステップ40S)。各VPI値に対する1フレ
ーム分のセルデータ読み出しは、読み出しセル判定部5
4にてEOMセルが監視されるまで行われる。EOMセ
ルが監視されると、検索VPI値のセルデータは1フレ
ーム分読み出され、セルデータの読み出しを完了する
(ステップ41S、42S)。
The address search unit 13 is provided with an assembly FIFO
The VPI value is read from 53, and an ATM cell read address for the VPI value written for one frame is searched (step 40S). The reading of the cell data for one frame for each VPI value is performed by the read cell determination unit 5.
4 until the EOM cell is monitored. When the EOM cell is monitored, the cell data of the search VPI value is read for one frame, and the reading of the cell data is completed (steps 41S and 42S).

【0035】読み出されたセルデータは、フレーム組み
立てバッファ56にて、読み出した固定順序に従い、各
出力ポートへ振り分けられる。
The read cell data is distributed to each output port in the frame assembling buffer 56 according to the fixed reading order.

【0036】この実施例では、提案するATMセルの共
有バッファにおけるアドレス管理方法をAALタイプ5
におけるフレーム組み立て回路に応用することにより、
フレーム組み立て回路の回路規模を削減し、コネクショ
ン数の拡張を容易にした回路を構成する。
In this embodiment, the proposed address management method for the shared buffer of ATM cells is AAL type 5
By applying to the frame assembly circuit in
A circuit that reduces the circuit scale of a frame assembly circuit and facilitates expansion of the number of connections is configured.

【0037】[0037]

【発明の効果】第一の効果は、共有バッファのアドレス
の管理に不正が起きた場合に、そのアドレス管理の不正
検出を容易に行うことができることである。この理由
は、セルバッファのアドレス管理において共有バッファ
の全アドレス値は、空きアドレスと読み出しアドレスの
両方とも一つのCAMで管理しており、共有バッファの
アドレス値でCAMを検索することにより、共有バッフ
ァアドレスの重複使用を容易に検出できるためである。
The first effect is that, when an illegal operation occurs in the management of the address of the shared buffer, the illegal operation of the address management can be easily detected. The reason is that in the address management of the cell buffer, all the address values of the shared buffer are managed by one CAM for both the free address and the read address. By searching the CAM with the address value of the shared buffer, the shared buffer is searched. This is because duplicate use of addresses can be easily detected.

【0038】第二の効果は、共有バッファのアドレス管
理を容易に行えることである。そのため、回路構成を簡
単にでき、回路規模も小さく抑えることが出来る。その
理由は、共有バッファの空きアドレス、及び読み出しア
ドレスの検索にCAMの検索機能を利用しているためで
ある。
The second effect is that the address management of the shared buffer can be easily performed. Therefore, the circuit configuration can be simplified and the circuit scale can be reduced. The reason is that the search function of the CAM is used for searching for a free address and a read address of the shared buffer.

【0039】第三の効果は、ATMセルの管理パラメー
タである出力ポート番号が増加しても、回路、および規
模に変更がないことである。その理由は、蓄積するAT
Mセルデータだけでなく、管理しているアドレスについ
ても、出力ポート番号に関係なく一つのCAMに共有し
て蓄積しているためである。
The third effect is that the circuit and the scale are not changed even if the output port number which is a management parameter of the ATM cell increases. The reason is the accumulated AT
This is because not only the M cell data but also the managed addresses are shared and stored in one CAM regardless of the output port number.

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

【図1】本発明のATMセルの共有バッファにおけるア
ドレス管理方法を実行する共有バッファ形式のセルスイ
ッチの構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a cell switch of a shared buffer type for executing an address management method in an ATM cell shared buffer according to the present invention.

【図2】図1におけるアドレス管理回路部の構成を詳細
に説明する図である。
FIG. 2 is a diagram for explaining in detail a configuration of an address management circuit unit in FIG. 1;

【図3】図1のアドレス検索部における空きアドレス検
索のフローチャートである。
FIG. 3 is a flowchart of a free address search in the address search unit of FIG. 1;

【図4】図1のアドレス検索部における読み出しアドレ
ス検索のフローチャートである。
FIG. 4 is a flowchart of a read address search in an address search unit of FIG. 1;

【図5】本発明によるAAL(ATM Adaptation Layer)
タイプ5のATMセルのフレーム組み立て回路の構成を
示すブロック図である。
FIG. 5 shows an AAL (ATM Adaptation Layer) according to the present invention.
It is a block diagram which shows the structure of the frame assembly circuit of a type 5 ATM cell.

【図6】図5におけるアドレス管理回路部の構成を詳細
に説明する図である。
FIG. 6 is a diagram illustrating in detail a configuration of an address management circuit unit in FIG. 5;

【図7】図5のアドレス検索部における空きアドレス検
索のフローチャートである。
FIG. 7 is a flowchart of a free address search in the address search unit of FIG. 5;

【図8】図5のアドレス検索部における読み出しアドレ
ス検索のフローチャートである。
FIG. 8 is a flowchart of a read address search in the address search unit of FIG. 5;

【図9】従来の共有バッファのアドレス管理方法の一例
を示すブロック図である。
FIG. 9 is a block diagram showing an example of a conventional shared buffer address management method.

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

11 アドレス管理回路 12 セルバッファ 13 アドレス検索部 14 CAM 15 セル多重部 16 スイッチ用テーブル 17 出力ポート番号生成部 18 セル分離部 21 アドレス 22 出力ポート番号 23 空きフラグ 24 出力ポート番号に対するCAMのポインタ一覧
表 51 無効セル廃棄部 52 受信セル判定部 53 組み立て要求FIFO 54 読み出しセル判定部 55 ヘッダ削除部 56 フレーム組み立てバッファ 61 VPI値 91 共有バッファ 92 #1バッファ 93 #2バッファ 94 #Nバッファ 95 空きアドレスバッファ 96 書き込み制御部 97 読み出し制御部
Reference Signs List 11 address management circuit 12 cell buffer 13 address search unit 14 CAM 15 cell multiplexing unit 16 switch table 17 output port number generation unit 18 cell separation unit 21 address 22 output port number 23 empty flag 24 CAM pointer list for output port number 51 Invalid Cell Discarding Unit 52 Received Cell Judgment Unit 53 Assembly Request FIFO 54 Read Cell Judgment Unit 55 Header Deletion Unit 56 Frame Assembly Buffer 61 VPI Value 91 Shared Buffer 92 # 1 Buffer 93 # 2 Buffer 94 #N Buffer 95 Free Address Buffer 96 Write control unit 97 Read control unit

─────────────────────────────────────────────────────
────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成11年5月21日[Submission date] May 21, 1999

【手続補正1】[Procedure amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】全文[Correction target item name] Full text

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【書類名】 明細書[Document Name] Statement

【発明の名称】 ATMセルの共有バッファにおける
ドレス管理装置
[Title of the Invention] A in the shared buffer of the ATM cell
Dress management equipment

【特許請求の範囲】[Claims]

請求項1】 共有バッファの空きアドレスと読み出し
アドレスとを蓄積するコンテンツアドレスメモリを有す
る共有バッファ型ATMスイッチにおける共有バッファ
のアドレス管理装置において、 前記コンテンツアドレスメモリのアドレスポインタの示
す位置から共有バッファの空きまたは読み出しアドレス
を検索する手段を有し、 前記アドレスを検索する手段が、共有バッファに書き込
む際に、出力ポート番号毎に用意される書き込みポイン
タから最も近く、アドレスフラグが空きである空きアド
レスを検索し、検索により、空きアドレスが検索されな
かった場合には、前記書き込みポインタを初期化し、空
きアドレスが検索された場合には、該当アドレスフラグ
を空きから使用中に書き換え、セルバッファの書き込み
アドレスとして出力する書き込み手段と、 更に、前記アドレスを検索する手段が、共有バッファよ
り読み出す際に、出力ポート番号毎に用意する読み出し
ポインタから最も近く、アドレスフラグが使用中である
アドレスを検索し、検索により、アドレスが検索されな
かった場合には、前記読み出しポインタを初期化し、読
み出しポインタに対応するアドレスが検索された場合に
は、該当アドレスフラグを使用中から空きに書き換え、
セルバッファの読み出しアドレスとして出力する読み出
し手段を有することを特徴とするATMセルの共有バッ
ファにおけるアドレス管理装置。
1. An empty address and reading of a shared buffer
Has content address memory for storing addresses
Buffer in Shared Buffer ATM Switch
The address pointer of the content address memory.
Empty or read address of shared buffer from start position
And means for searching for the address , wherein the means for searching for the address
When writing, write points prepared for each output port number
Free address that is closest to the
Address, and the search does not find a free address.
If not, the write pointer is initialized, and
Address is found, the corresponding address flag
Is rewritten from empty to in use, and the cell buffer is written.
The writing means for outputting as an address and the means for searching for the address may be a shared buffer.
Readout prepared for each output port number
Closest to pointer, address flag in use
Search for an address and search does not find the address
If not, initialize the read pointer and read
If the address corresponding to the overflow pointer is found
Rewrites the corresponding address flag from being used to empty,
Read to output as read address of cell buffer
ATM cell shared buffer
Address management device in the web server.

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

【0001】[0001]

【発明の属する技術分野】本発明は、非同期転送モード
( Asynchronous Transfer Mode:以降ATMと称す)
の通信方式におけるATMセルの共有バッファのアドレ
ス管理装置に関する。
The present invention relates to an asynchronous transfer mode (hereinafter referred to as ATM).
Address of the shared buffer ATM cells in the communication system
Related to a security management device .

【0002】[0002]

【従来の技術】従来、ATMスイッチなどで実装される
ATMセルの共有バッファは、ATMセルの蓄積バッフ
ァ容量を削減し、統計的な多重効果により、少ないバッ
ファ量でセルロスを極力抑えることを目的としている。
2. Description of the Related Art Conventionally, an ATM cell shared buffer implemented in an ATM switch or the like has a purpose of reducing the storage buffer capacity of the ATM cell and minimizing cell loss with a small buffer amount due to a statistical multiplexing effect. I have.

【0003】たとえば、“大容量ATMスイッチLSI
の開発”、清水他、1997年電子情報通信学会総合大会B-
8-22には、共有バッファの空きアドレス、及び使用アド
レスを個別に用意するバッファで管理を行う技術が記載
されている。
[0003] For example, "Large-capacity ATM switch LSI"
Development ”, Shimizu et al., 1997 IEICE General Conference B-
8-22 describes a technique of managing a free address of a shared buffer and a use address by using a buffer that is individually prepared.

【0004】図9は従来の共有バッファのアドレス管理
方法の一例を示すブロック図である。共有バッファ91
は、受信セルを書き込み制御部96の指示に従い蓄積
し、読み出し制御部97の指示に従い読み出すセル蓄積
用のバッファである。空きアドレスバッファ95は、共
有バッファ91の全ての空きアドレスを管理する。読み
出しアドレスバッファ92、93、94は、ATMセル
を管理する出力ポート番号毎に用意され、共有バッファ
91でセルデータを書き込んだことにより“使用中”と
なった共有バッファ91のアドレスを管理する。図9で
は、出力ポート番号数を#1〜#Nとして記述してい
る。
FIG. 9 is a block diagram showing an example of a conventional shared buffer address management method. Shared buffer 91
Is a cell storage buffer for storing received cells according to the instruction of the write control unit 96 and reading out the cells according to the instruction of the read control unit 97. The free address buffer 95 manages all free addresses in the shared buffer 91. The read address buffers 92, 93, and 94 are prepared for each output port number for managing the ATM cell, and manage the address of the shared buffer 91 which is "in use" by writing the cell data in the shared buffer 91. In FIG. 9, the number of output port numbers is described as # 1 to #N.

【0005】書き込み制御部96は、受信ATMセルの
共有バッファ91への登録アドレスの決定と、登録によ
り使用中となったアドレスの読み出しアドレスバッファ
92、93、94への登録を行う。読み出し制御部97
は、共有バッファ91からの読み出しアドレスの決定
と、読み出しにより、“未使用”となったアドレスの空
きアドレスバッファ95への登録を行う。空きアドレス
バッファ95より出力される空きアドレスは、書き込み
に使用されると必ず出力ポート番号値に対応する読み出
しバッファ92、93、94の何れかに登録される。読
み出しバッファ92、93、94より出力される読み出
しアドレスは、読み出しに使用されると必ず空きアドレ
スバッファ95へ登録される。これにより、共有バッフ
ァ91のアドレスは、常に空きアドレスバッファ95も
しくは読み出しアドレスバッファ92、93、94によ
り管理される。また、アドレスを管理する各バッファを
FIFO(First In First Out)形式で使用することに
より、共有バッファ91より読み出すATMセルの順序
が守られる。
[0005] The write control unit 96 determines the registration address of the received ATM cell in the shared buffer 91 and registers the address used by the registration in the read address buffers 92, 93 and 94. Read control unit 97
Determines the read address from the shared buffer 91 and registers the “unused” address in the free address buffer 95 by reading. The empty address output from the empty address buffer 95 is always registered in one of the read buffers 92, 93, and 94 corresponding to the output port number value when used for writing. The read addresses output from the read buffers 92, 93 and 94 are always registered in the free address buffer 95 when used for reading. Thus, the address of the shared buffer 91 is always managed by the empty address buffer 95 or the read address buffers 92, 93, 94. Further, by using the buffers for managing the addresses in a FIFO (First In First Out) format, the order of the ATM cells read from the shared buffer 91 is maintained.

【0006】[0006]

【発明が解決しようとする課題】しかし、従来の技術で
は、次のような問題があった。
However, the prior art has the following problems.

【0007】第1の問題点は、ひとたびアドレス管理に
不正が起きた場合、その不正は消えることなく存続して
しまう、ということである。
[0007] The first problem is that once a fraud has occurred in address management, the fraud will persist without disappearing.

【0008】その理由は、アドレスが空きアドレスバッ
ファと読み出しアドレスバッファの間を巡回しているこ
とにある。
The reason is that addresses circulate between an empty address buffer and a read address buffer.

【0009】第2の問題点は、出力ポート数を増やす
と、回路規模も増加することである。そのため、出力ポ
ート数の拡張時には回路の構成を変更しなければならな
い。
A second problem is that the circuit scale increases as the number of output ports increases. Therefore, when expanding the number of output ports, the circuit configuration must be changed.

【0010】その理由は、読み出しアドレスバッファを
出力ポート毎に用意していることにある。出力ポート毎
に読み出しアドレスバッファを用意するため、出力ポー
ト数が増大するとバッファ容量も増大し、回路規模の増
加にもつながる。
[0010] The reason is that a read address buffer is prepared for each output port. Since a read address buffer is prepared for each output port, the buffer capacity increases as the number of output ports increases, which leads to an increase in circuit size.

【0011】本発明の目的は、以上の問題点を解決する
ためになされたもので、ATMセルの共有バッファの
ドレス管理装置を提供することである。
An object of the present invention has been made to solve the above problems, the shared buffer ATM cells A
A dress management device is provided.

【0012】[0012]

【課題を解決するための手段】本発明によるATMセル
の共有バッファのアドレス管理装置は、ATMセルをラ
ンダムに登録する共有バッファの使用アドレスと未使用
アドレスをコンテンツアドレスメモリ(Content Addres
s Memory:以降CAMと称す)に登録する。CAMの検
索機能を利用することによってアドレス検索を行い、そ
れにより、共有バッファのアドレスの管理を容易に実行
する。
An address management apparatus for an ATM cell shared buffer according to the present invention stores a used address and an unused address of a shared buffer for randomly registering an ATM cell in a content address memory (Content Address).
s Memory: hereinafter referred to as CAM). The address search is performed by using the search function of the CAM, thereby easily managing the address of the shared buffer.

【0013】本発明のATMセルの共有バッファにおけ
るアドレス管理装置は、共有バッファの空きアドレスと
読み出しアドレスとを蓄積するコンテンツアドレスメモ
リを有していて、コンテンツアドレスメモリのアドレス
ポインタの示す位置から共有バッファの空きまたは読み
出しアドレスを検索する手段を有し、その検索する手段
が、共有バッファに書き込む際に、出力ポート番号毎に
用意される書き込みポインタから最も近く、アドレスフ
ラグが空きである空きアドレスを検索し、検索により、
空きアドレスが検索されなかった場合には、書き込みポ
インタを初期化し、空きアドレスが検索された場合に
は、該当アドレスフラグを空きから使用中に書き換え、
セルバッファの書き込みアドレスとして出力する書き込
み手段と、更に、その検索する手段が、共有バッファよ
り読み出す際に、出力ポート番号毎に用意する読み出し
ポインタから最も近く、アドレスフラグが使用中である
アドレスを検索し、検索により、アドレスが検索されな
かった場合には、読み出しポインタを初期化し、読み出
しポインタに対応するアドレスが検索された場合には、
該当アドレスフラグを使用中から空きに書き換え、セル
バッファの読み出しアドレスとして出力する読み出し手
段を有することを特徴とする。
In the ATM cell shared buffer of the present invention,
Address management device, the free address of the shared buffer
Content address memo to store read address
Address of the content address memory
Free or read the shared buffer from the position indicated by the pointer
Means for retrieving a delivery address, and means for retrieving the address.
However, when writing to the shared buffer,
The address pointer closest to the prepared write pointer
Search for a vacant address with an empty lag, and by searching,
If no free address is found, write
Initializes the interface and if an empty address is found
Rewrites the corresponding address flag from empty to in use,
Write to output as write address of cell buffer
The means for searching, and the means for searching, are shared buffers.
Readout prepared for each output port number
Closest to pointer, address flag in use
Search for an address and search does not find the address
If not, initialize the read pointer and read
If the address corresponding to the pointer is found,
Rewrite the corresponding address flag from busy to empty
Read method that outputs as buffer read address
It is characterized by having a step.

【0014】また、本発明のAALタイプ5のフレーム
組み立て回路における共有バッファのアドレス管理装置
は、受信セルの有効、無効を判定し、無効セルのみを廃
棄する無効セル廃棄部と、セルを記憶する共有バッファ
と、共有バッファのアドレスと受信セルのVPI値と空
きフラグを組として蓄積するコンテンツアドレスメモリ
と、VPI毎にコンテンツアドレスメモリの書き込み読
み出しアドレスを検索するアドレス検索部と、VPI毎
に受信セルがパケットの最終セルであるかを判定する受
信セル判定部と、受信セル判定部にてパケットの最終セ
ルと判断されたセルのVPI値を記憶する組み立て要求
FIFOと、共有バッファより読み出したセルがパケッ
トの最終セルであるかを判定する読み出しセル判定部
と、共有バッファから読み出したセルよりペイロードを
取り出す、ヘッダ削除部と、ヘッダ削除部より受けたペ
イロードデータをフレームに組み立てるフレーム組立バ
ッファとを有する。さらに、アドレス検索部は、コンテ
ンツアドレスメモリのアドレスをVPI毎に保管するポ
インタテーブルを有し、コンテンツアドレスメモリは、
受信セルの書き込みアドレスを、アドレスポインタテー
ブルに管理されている受信セルのVPI値に対する書き
込みポインタの示す位置より、空き領域を示す空きフラ
グを検索キーとして検索し、読み出しアドレスをアドレ
スポインタテーブルに管理されている読み出しポインタ
の示す位置より、アドレス検索部にてFIFOより読み
出したVPI値と登録済みを示す空きフラグを検索キー
として検索し、読み出しセル判定部にてパケットの最終
セルが検出されるまで、同一VPI値と登録済みを示す
空きフラグが検索キーとして保持されることを特徴とす
る。
The AAL type 5 frame of the present invention
Address management device for shared buffer in assembly circuit
Determines whether the received cell is valid or invalid, and discards only invalid cells.
Invalid cell discard unit to discard and shared buffer to store cells
, The address of the shared buffer, the VPI value of the received cell, and empty
Address memory that stores a set of flags
And writing / reading of the content address memory for each VPI
An address search unit for searching for a read address, and for each VPI
To determine whether the received cell is the last cell of the packet.
The final cell of the packet is determined by the
Request to store the VPI value of the cell determined to be
The FIFO and cells read from the shared buffer are
Read cell determination unit that determines whether the cell is the last cell
And the payload from the cell read from the shared buffer
Take out the header deletion part and the page received from the header deletion part.
Frame assembly bar that assembles erase data into a frame
And a buffer. In addition, the address search unit
For storing the address of the content address memory for each VPI
The content address memory has an inter-table,
The write address of the received cell is stored in the address pointer table.
To the VPI value of the received cell managed by
From the position indicated by the embedded pointer
Search with the search address as the search key, and
Read pointer managed in the pointer table
From the position indicated by, read from the FIFO by the address search unit.
Search key for issued VPI value and empty flag indicating registered
As the end of the packet in the read cell determination unit.
Indicates same VPI value and registered until cell is detected
The empty flag is retained as a search key.
You.

【0015】本発明によれば、到着したセルデータはA
TMセルのコネクションに関係なく全て一つのセルバッ
ファに蓄えられる。セルデータ蓄積時のセルバッファの
空きアドレスと、セルデータ読み出し時の読み出しアド
レスは、CAMからアドレス検索機能を使用して容易に
検索される。セルデータの蓄積時、蓄積されるセルデー
タのセルバッファのアドレスは、空きアドレスフラグを
検索キーとして出力ポート番号毎に用意する書き込みポ
インタ値から一番近い空きアドレスがCAMからアドレ
ス検索機能を用いて読み出される。また、セルデータの
読み出し時、読み出されるセルバッファのアドレスは、
読み出すセルの出力ポート番号を検索キーとして、出力
ポート番号毎に用意する読み出しポインタ値から一番近
いアドレスが読み出される。これにより、共有バッファ
を用いながらも蓄積セルのアドレス登録順序の正常性管
理を容易に行う。
According to the present invention, the arriving cell data is A
All are stored in one cell buffer regardless of the connection of the TM cell. The empty address of the cell buffer at the time of storing the cell data and the read address at the time of reading the cell data are easily searched from the CAM by using the address search function. At the time of accumulating the cell data, the address of the cell buffer of the cell data to be accumulated is determined by using the empty address flag as a search key and the empty address closest to the write pointer value prepared for each output port number from the CAM using the address search function. Is read. When reading cell data, the address of the cell buffer to be read is:
Using the output port number of the cell to be read as a search key, the closest address is read from the read pointer value prepared for each output port number. This facilitates the normality management of the storage cell address registration order while using the shared buffer.

【0016】[0016]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して詳細に説明する。図1はATMセルの
共有バッファにおけるアドレス管理方法を実行する共有
バッファ形式のセルスイッチの構成を示すブロック図で
ある。
Next, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a shared buffer type cell switch for executing an address management method in a shared buffer of ATM cells.

【0017】共有バッファのアドレス管理回路部11
は、図1に示すように、共有バッファであるセルバッフ
ァ12の空きアドレスと出力ポート番号毎の読み出しア
ドレスとを管理するCAM14と、CAM14より空き
アドレス及び読み出しアドレスを検索するアドレス検索
部13を有している。セルバッファ12はATMセルを
一時的に蓄えるバッファであり、出力ポート番号に関係
なく、受信セルを順次登録する共有バッファである。セ
ル多重部15は、入力ポートの固定順番でATMセルを
多重化し、セルバッファ12とスイッチ用テーブル16
へ出力する。スイッチ用テーブル16は、入力されるセ
ルデータより、ATMセルの出力ポート番号を判定し、
アドレス検索部13へ出力する。出力ポート番号生成部
17は、出力ポート番号を固定的な順序で発生し、アド
レス検索部13およびセル分離部18へ出力ポート番号
を出力する。セル分離部18は、セルバッファ12より
読み出したセルデータを出力ポート番号生成部17より
得られる出力ポートへ振り分ける。
Address management circuit 11 for shared buffer
As shown in FIG. 1, the CAM 14 has a CAM 14 that manages a vacant address of a cell buffer 12 that is a shared buffer and a read address for each output port number, and an address search unit 13 that searches the CAM 14 for a vacant address and a read address. doing. The cell buffer 12 is a buffer for temporarily storing ATM cells, and is a shared buffer for sequentially registering received cells regardless of the output port number. The cell multiplexing unit 15 multiplexes the ATM cells in the fixed order of the input ports, and multiplexes the ATM cells with the cell buffer 12 and the switch table 16.
Output to The switch table 16 determines the output port number of the ATM cell from the input cell data,
Output to the address search unit 13. The output port number generation unit 17 generates the output port numbers in a fixed order, and outputs the output port numbers to the address search unit 13 and the cell separation unit 18. The cell separation unit 18 distributes the cell data read from the cell buffer 12 to output ports obtained from the output port number generation unit 17.

【0018】次に、アドレス管理回路部11の構成の詳
細について図2を用いて説明する。CAM14は、セル
バッファ12にセル単位に蓄える際のセルバッファ12
のアドレス21と、セルバッファ中に蓄える受信セルの
出力ポート番号22と、対応するアドレスの使用と未使
用(空き)を示す空きフラグ23のデータを有する。空
きフラグ23は、フラグ値が“0”であれば登録されて
いるセルバッファのアドレスは空き(未使用)であり、
フラグ値が“1”であればセルバッファのアドレスには
セルデータが書き込まれていること(使用中)を示す。
Next, details of the configuration of the address management circuit section 11 will be described with reference to FIG. The CAM 14 stores the cell buffer 12 when storing the data in the cell buffer 12 in units of cells.
, An output port number 22 of the reception cell stored in the cell buffer, and data of a vacancy flag 23 indicating use and non-use (vacancy) of the corresponding address. The empty flag 23 indicates that the registered cell buffer address is empty (unused) if the flag value is “0”.
If the flag value is "1", it indicates that cell data is written (in use) at the address of the cell buffer.

【0019】アドレス検索部13は、CAM14のアド
レス管理に出力ポート番号毎に用意する書き込みポイン
タWp(x)と、読み出しポインタRp(x)とを用意し、出
力ポート毎に書き込みを終えたCAMのアドレス値と、
読み出しを終えたCAMのアドレス値を管理するための
テーブル24を持つている。
The address search unit 13 prepares a write pointer Wp (x) and a read pointer Rp (x) prepared for each output port number in the address management of the CAM 14, and writes the CAM of the CAM that has finished writing for each output port. Address value,
It has a table 24 for managing the address value of the CAM for which reading has been completed.

【0020】次に、図1の回路の動作について図を参照
して説明する。複数の入力ポートからのATMセルは、
セル多重部15で、入力ポートの固定順序でセル多重さ
れ、セルバッファ12に書き込まれる。ATMセルが書
き込まれるセルバッファ12上のアドレスは、アドレス
検索部13によりCAM14に登録されているセルバッ
ファの空きアドレスを検索することにより決定される。
アドレス検索部13は、スイッチ用テーブル16より受
信セルの出力ポート番号が入力され、入力される出力ポ
ートへのATMセルが既に登録されているアドレスに最
も近いセルバッファの空きアドレスをCAM14より検
索する。
Next, the operation of the circuit of FIG. 1 will be described with reference to the drawings. ATM cells from multiple input ports are:
In the cell multiplexing unit 15, the cells are multiplexed in a fixed order of the input ports, and are written in the cell buffer 12. The address on the cell buffer 12 where the ATM cell is to be written is determined by searching an empty address of the cell buffer registered in the CAM 14 by the address search unit 13.
The address search unit 13 receives the output port number of the received cell from the switch table 16 and searches the CAM 14 for a free address in the cell buffer closest to the address where the ATM cell to the input output port is already registered. .

【0021】図3はアドレス検索部13における空きア
ドレス検索のフローチャートである。図3を参照する
と、アドレス検索部13は、出力ポート番号毎に用意さ
れる書き込みポインタ(図中のWp(x))から最も近
く、CAM14に登録されている空きフラグが“0”で
あるCAMのアドレスを検索する(ステップ1S、2
S、3S、4S)。検索により、セルバッファ12の空
きアドレスが検索されなかった場合には、セルバッファ
12がオーバーフローしていると判断し、空きアドレス
を出力することなく、出力ポート番号に対する書き込み
ポインタWp(x)を初期化する(ステップ8S、9
S)。空きアドレスが検索された場合には、CAM14
中の該当アドレスの空きフラグ23を“1”に書き換
え、登録されているセルバッファ12のアドレス21を
空きアドレスとして出力する(ステップ5S、6S、7
S)。
FIG. 3 is a flow chart of an empty address search in the address search unit 13. Referring to FIG. 3, the address search unit 13 is the CAM which is closest to the write pointer (Wp (x) in the figure) prepared for each output port number and whose empty flag registered in the CAM 14 is “0”. Address (steps 1S, 2
S, 3S, 4S). If a free address of the cell buffer 12 is not found by the search, it is determined that the cell buffer 12 has overflown, and the write pointer Wp (x) for the output port number is initialized without outputting a free address. (Steps 8S, 9
S). If a free address is found, the CAM 14
The empty flag 23 of the corresponding address is rewritten to "1", and the registered address 21 of the cell buffer 12 is output as an empty address (steps 5S, 6S, 7).
S).

【0022】セルバッファ12からのセルデータの読み
出しは、全ての出力ポートのアドレスデータを固定的な
順序で読み出すことで行われる。アドレス検索部13で
は、出力ポート番号生成部17より固定的な順序で入力
される出力ポート番号を検索キーとして、セルバッファ
12からの読み出しアドレスをCAM14より検索す
る。
Reading of cell data from the cell buffer 12 is performed by reading address data of all output ports in a fixed order. The address search unit 13 searches the CAM 14 for an address read from the cell buffer 12 using the output port numbers input from the output port number generation unit 17 in a fixed order as search keys.

【0023】図4はアドレス検索部13における読み出
しアドレス検索のフローチャートである。図4を参照す
ると、アドレス検索部13は、出力する出力ポート番号
と空きフラグを“1”とした検索キーにより、出力ポー
ト番号毎に用意する読み出しポインタ(図中のRp
(x))から最も近いCAMのアドレスを検索する(ス
テップ11S、12S、13S、14S)。検索によ
り、CAMのアドレスが検索されなかった場合には、検
索値に対するセルバッファ12のアンダーフローと判断
し、検索キーとしていた出力ポートに対するRp(x)
を初期化する(ステップ18S、19S)。検索キーに
対応するCAMのアドレスが検索された場合には、CA
M14の該当アドレスフラグ23を空き“0”に書き換
え、登録されているセルバッファ12のアドレス21を
セルバッファ13の読み出しアドレスとして出力する
(ステップ15S、16S、17S)。
FIG. 4 is a flowchart of a read address search in the address search unit 13. Referring to FIG. 4, the address search unit 13 uses the output port number to be output and a search key with the empty flag set to “1” to read a pointer prepared for each output port number (Rp in the figure).
(X)) and search the address of the closest CAM (steps 11S, 12S, 13S, 14S). If the CAM address is not found by the search, it is determined that the cell buffer 12 underflows the search value, and the Rp (x) for the output port used as the search key is determined.
Is initialized (steps 18S, 19S). If the address of the CAM corresponding to the search key is found, CA
The corresponding address flag 23 of M14 is rewritten to empty “0”, and the registered address 21 of the cell buffer 12 is output as a read address of the cell buffer 13 (steps 15S, 16S, 17S).

【0024】読み出されたセルデータは、セル分離部1
8にて、読み出した固定順序に従い、各出力ポートへ振
り分けられる。
The read cell data is transmitted to the cell separation unit 1
At 8, the output ports are sorted according to the fixed order.

【0025】次に本発明の他の実施例について図面を参
照して詳細に説明する。図5は、本アドレス管理方法を
利用したAAL(ATM Adaptation Layer)タイプ5のA
TMセルのフレーム組み立て回路の構成を示すブロック
図である。図5を参照すると、アドレス管理回路部11
は、共有バッファであるセルバッファ12の空きアドレ
スとVPI値毎の読み出しアドレスとを管理するCAM
14と、CAM14より空きアドレス及び読み出しアド
レスを検索するアドレス検索部13を有している。 A
TMセルのフレーム組み立て回路は、共有バッファのア
ドレス管理回路11と、セルバッファ12の周辺に無効
セル廃棄部51と、受信セル判定部52と、組み立て要
求FIFO 53と、読み出しセル判定部54と、ヘッ
ダ削除部55と、フレーム組み立てバッファ56を設け
ている。
Next, another embodiment of the present invention will be described in detail with reference to the drawings. FIG. 5 shows an AAL (ATM Adaptation Layer) type 5 A using this address management method.
It is a block diagram which shows the structure of the frame assembly circuit of a TM cell. Referring to FIG. 5, the address management circuit unit 11
Is a CAM that manages a vacant address of the cell buffer 12 as a shared buffer and a read address for each VPI value.
14 and an address search unit 13 for searching the CAM 14 for a free address and a read address. A
The TM cell frame assembling circuit includes an address management circuit 11 of the shared buffer, an invalid cell discarding unit 51 around the cell buffer 12, a received cell judging unit 52, an assembling request FIFO 53, a read cell judging unit 54, A header deletion unit 55 and a frame assembly buffer 56 are provided.

【0026】また、本実施例におけるアドレス管理回路
部11の構成について図6を用いて説明する。 図に示
すように、CAM14は、セルバッファ12にATMセ
ル単位に蓄える際のセルバッファ12のアドレス21
と、セルバッファ中に蓄える受信セルのVPI値61
と、対応するアドレスの使用と未使用(空き)を示す空
きフラグ23のデータを有する。空きフラグ23は、フ
ラグ値が“0”であれば登録されているセルバッファの
アドレスは空き(未使用)であり、フラグ値が“1”で
あればセルバッファのアドレスにはセルデータが書き込
まれていること(使用中)を示す。
The configuration of the address management circuit section 11 in the present embodiment will be described with reference to FIG. As shown in the figure, the CAM 14 stores the address 21 of the cell buffer 12 when storing the data in the cell buffer 12 in ATM cell units.
And the VPI value 61 of the received cell stored in the cell buffer
And an empty flag 23 indicating the use and unused (empty) of the corresponding address. In the empty flag 23, if the flag value is "0", the registered cell buffer address is empty (unused), and if the flag value is "1", the cell data is written in the cell buffer address. (Used).

【0027】アドレス検索部13は、CAM14のアド
レス管理にVPI値毎に用意する書き込みポインタWp
(x)と、読み出しポインタRp(x)とを用意し、受信セル
毎に書き込みを終えたCAMのアドレス値、読み出しを
終えたCAMのアドレス値を管理する。
The address search unit 13 manages the address of the CAM 14 by using a write pointer Wp prepared for each VPI value.
(x) and a read pointer Rp (x) are prepared, and the address value of the CAM after writing and the address value of the CAM after reading are managed for each receiving cell.

【0028】次に、図5の回路の動作について図を参照
して説明する。受信セルは無効セル廃棄部51によりユ
ーザセル以外を廃棄し、受信セル判定部52およびセル
バッファ12へユーザセルのみを出力する。受信セル判
定部52は、受信したユーザセルVPI値をCAM14
への登録値としてアドレス検索部13へ出力し、ペイロ
ードタイプ(PT)が“001”の時には、受信セルを
EOM(End Of Message)セルと判断し、組み立て要求
FIFO 53にもVPI値を出力する。
Next, the operation of the circuit of FIG. 5 will be described with reference to the drawings. The received cell is discarded by the invalid cell discarding unit 51 except for the user cell, and only the user cell is output to the received cell determining unit 52 and the cell buffer 12. The received cell determination unit 52 determines the received user cell VPI value in the CAM 14
Is output to the address search unit 13 as a registered value to the receiver, and when the payload type (PT) is “001”, the received cell is determined to be an EOM (End Of Message) cell, and the VPI value is also output to the assembly request FIFO 53. .

【0029】アドレス検索部13は、受信したVPI値
のATMセルが既に書き込まれているアドレスに最も近
いセルバッファの空きアドレスを検索し、セルバッファ
12には、検索された空きアドレスで順次受信セルが登
録される。このようにして登録されたセルデータは、V
PI値毎に1フレーム分蓄積されるとフレーム組み立て
のために読み出される。組み立て要求FIFO53に
は、EOMセル受信時にそのATMセルのVPI値が登
録されるため、常にセルバッファ12に1フレーム分の
セルデータが書き込まれる毎にVPI値が登録されてい
る。
The address search unit 13 searches for an empty address in the cell buffer closest to the address where the ATM cell of the received VPI value has already been written. Is registered. The cell data registered in this way is V
When one frame is accumulated for each PI value, it is read out for frame assembly. The VPI value of the ATM cell is registered in the assembly request FIFO 53 when the EOM cell is received. Therefore, the VPI value is registered every time one frame of cell data is written in the cell buffer 12.

【0030】アドレス検索部13は、組み立てFIFO
53よりVPI値を読み出し、1フレーム分書き込まれ
たVPI値に対するATMセルのセルバッファの読み出
しアドレスを検索する。各VPI値に対する1フレーム
分のセルデータ読み出しは、読み出しセル判定部54に
てEOMセルが監視されるまで行われる。EOMセルが
監視されると、検索VPI値のセルデータは1フレーム
分読み出され、セルデータの読み出しを完了する。セル
バッファより読み出されたセルデータは、ヘッダ削除部
55にてセルヘッダが削除され、フレーム組み立てバッ
ファ56へ順次登録されることによりフレームに組み立
てられる。
The address search unit 13 is provided with an assembly FIFO
The VPI value is read from 53, and the read address of the ATM cell cell buffer for the VPI value written for one frame is searched. Reading of one frame of cell data for each VPI value is performed until the read cell determination unit 54 monitors the EOM cell. When the EOM cell is monitored, the cell data of the search VPI value is read for one frame, and the reading of the cell data is completed. The cell data read from the cell buffer is assembled into a frame by deleting the cell header in the header deleting section 55 and sequentially registering the cell data in the frame assembling buffer 56.

【0031】図7は図5のアドレス検索部13における
空きアドレス検索のフローチャートである。図を参照す
ると、アドレス検索部13は、VPI値毎に用意される
書き込みポインタ(図中のWp(x))から最も近く、
CAM14に登録されている空きフラグが“0”である
CAMのアドレスを検索する(ステップ21S、22
S、23S、24S)。検索により、空きアドレスが検
索されなかった場合には、セルバッファ12がオーバー
フローしていると判断し、空きアドレスを出力すること
なく、VPI値に対する書き込みポインタWp(x)を
初期化する(ステップ28S、29S)。空きアドレス
が検索された場合には、CAM14中の該当アドレスの
空きフラグ23を“1”に書き換え、登録されているセ
ルバッファ12のアドレス21を書き込みアドレスとし
て出力する(ステップ25S、26S、27S)。
FIG. 7 is a flowchart for searching for an empty address in the address search unit 13 in FIG. Referring to the figure, the address search unit 13 is closest to a write pointer (Wp (x) in the figure) prepared for each VPI value,
The address of the CAM whose empty flag is “0” registered in the CAM 14 is searched (steps 21S, 22).
S, 23S, 24S). If no empty address is found by the search, it is determined that the cell buffer 12 has overflowed, and the write pointer Wp (x) for the VPI value is initialized without outputting the empty address (step 28S). , 29S). If a free address is found, the free flag 23 of the corresponding address in the CAM 14 is rewritten to "1", and the registered address 21 of the cell buffer 12 is output as a write address (steps 25S, 26S, 27S). .

【0032】セルバッファ12からのセルデータの読み
出しは、全ての受信セルのアドレスデータを固定的な順
序で読み出すことで行われる。アドレス検索部13で
は、読み出しセル判定部54より固定的な順序で入力さ
れる受信セルのVPI値を検索キーとして、セルバッフ
ァ12からの読み出しアドレスをCAM14より検索す
る。
Reading of cell data from the cell buffer 12 is performed by reading address data of all the received cells in a fixed order. The address search unit 13 searches the CAM 14 for a read address from the cell buffer 12 using the VPI value of the received cell input in a fixed order from the read cell determination unit 54 as a search key.

【0033】図8は図5のアドレス検索部13における
読み出しアドレス検索のフローチャートである。図を参
照すると、アドレス検索部13は、出力する受信セルの
VPI値と空きフラグを“1”とした検索キーにより、
VPI値毎に用意する読み出しポインタ(図中のRp
(x))から最も近いCAMのアドレスを検索する(ス
テップ31S、32S、33S、34S)。検索によ
り、CAMのアドレスが検索されなかった場合には、検
索VPI値に対するセルバッファ12のアンダーフロー
と判断し、検索キーとしていた受信セルのVPI値に対
するRp(x)を初期化する(ステップ38S、39
S)。検索キーに対応するCAMのアドレスが検索され
た場合には、CAM14の該当アドレスフラグ23を空
き“0”に書き換え、登録されているセルバッファ12
のアドレス21をセルバッファ13の読み出しアドレス
として出力する(ステップ35S、36S、37S)。
FIG. 8 is a flowchart of a read address search in the address search unit 13 of FIG. Referring to the figure, the address search unit 13 uses a VPI value of a received cell to be output and a search key in which an empty flag is set to “1”.
Read pointer prepared for each VPI value (Rp in the figure)
(X)), the nearest CAM address is searched (steps 31S, 32S, 33S, 34S). If the address of the CAM is not found by the search, it is determined that the cell buffer 12 underflows with respect to the search VPI value, and Rp (x) with respect to the VPI value of the received cell used as the search key is initialized (step 38S). , 39
S). When the address of the CAM corresponding to the search key is searched, the corresponding address flag 23 of the CAM 14 is rewritten to empty “0”, and the registered cell buffer 12 is rewritten.
Is output as the read address of the cell buffer 13 (steps 35S, 36S, 37S).

【0034】アドレス検索部13は、組み立てFIFO
53よりVPI値を読み出し、1フレーム分書き込まれ
たVPI値に対するATMセルの読み出しアドレスを検
索する(ステップ40S)。各VPI値に対する1フレ
ーム分のセルデータ読み出しは、読み出しセル判定部5
4にてEOMセルが監視されるまで行われる。EOMセ
ルが監視されると、検索VPI値のセルデータは1フレ
ーム分読み出され、セルデータの読み出しを完了する
(ステップ41S、42S)。
The address search unit 13 is provided with an assembly FIFO
The VPI value is read from 53, and an ATM cell read address for the VPI value written for one frame is searched (step 40S). The reading of the cell data for one frame for each VPI value is performed by the read cell determination unit 5.
4 until the EOM cell is monitored. When the EOM cell is monitored, the cell data of the search VPI value is read for one frame, and the reading of the cell data is completed (steps 41S and 42S).

【0035】読み出されたセルデータは、フレーム組み
立てバッファ56にて、読み出した固定順序に従い、各
出力ポートへ振り分けられる。
The read cell data is distributed to each output port in the frame assembling buffer 56 according to the fixed reading order.

【0036】この実施例では、提案するATMセルの共
有バッファにおけるアドレス管理方法をAALタイプ5
におけるフレーム組み立て回路に応用することにより、
フレーム組み立て回路の回路規模を削減し、コネクショ
ン数の拡張を容易にした回路を構成する。
In this embodiment, the proposed address management method for the shared buffer of ATM cells is AAL type 5
By applying to the frame assembly circuit in
A circuit that reduces the circuit scale of a frame assembly circuit and facilitates expansion of the number of connections is configured.

【0037】[0037]

【発明の効果】第一の効果は、共有バッファのアドレス
の管理に不正が起きた場合に、そのアドレス管理の不正
検出を容易に行うことができることである。この理由
は、セルバッファのアドレス管理において共有バッファ
の全アドレス値は、空きアドレスと読み出しアドレスの
両方とも一つのCAMで管理しており、共有バッファのア
ドレス値でCAMを検索することにより、共有バッファ
アドレスの重複使用を容易に検出できるためである。
The first effect is that, when an illegal operation occurs in the management of the address of the shared buffer, the illegal operation of the address management can be easily detected. The reason is that in the address management of the cell buffer, all the address values of the shared buffer are managed by one CAM for both the empty address and the read address, and the CAM is searched by the address value of the shared buffer, so that the shared buffer is searched. This is because duplicate use of addresses can be easily detected.

【0038】第二の効果は、共有バッファのアドレス管
理を容易に行えることである。そのため、回路構成を簡
単にでき、回路規模も小さく抑えることが出来る。その
理由は、共有バッファの空きアドレス、及び読み出しア
ドレスの検索にCAMの検索機能を利用しているためで
ある。
The second effect is that the address management of the shared buffer can be easily performed. Therefore, the circuit configuration can be simplified and the circuit scale can be reduced. The reason is that the search function of the CAM is used for searching for a free address and a read address of the shared buffer.

【0039】第三の効果は、ATMセルの管理パラメー
タである出力ポート番号が増加しても、回路、および規
模に変更がないことである。その理由は、蓄積するAT
Mセルデータだけでなく、管理しているアドレスについ
ても、出力ポート番号に関係なく一つのCAMに共有し
て蓄積しているためである。
The third effect is that the circuit and the scale are not changed even if the output port number which is a management parameter of the ATM cell increases. The reason is the accumulated AT
This is because not only the M cell data but also the managed addresses are shared and stored in one CAM regardless of the output port number.

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

【図1】本発明のATMセルの共有バッファにおける
ドレス管理を実行する共有バッファ形式のセルスイッチ
の構成を示すブロック図である。
A in the shared buffer ATM cells of the present invention; FIG
FIG. 3 is a block diagram illustrating a configuration of a cell switch of a shared buffer type that performs dress management .

【図2】図1におけるアドレス管理回路部の構成を詳細
に説明する図である。
FIG. 2 is a diagram for explaining in detail a configuration of an address management circuit unit in FIG. 1;

【図3】図1のアドレス検索部における空きアドレス検
索のフローチャートである。
FIG. 3 is a flowchart of a free address search in the address search unit of FIG. 1;

【図4】図1のアドレス検索部における読み出しアドレ
ス検索のフローチャートである。
FIG. 4 is a flowchart of a read address search in an address search unit of FIG. 1;

【図5】本発明によるAAL(ATM Adaptation Layer)
タイプ5のATMセルのフレーム組み立て回路の構成を
示すブロック図である。
FIG. 5 shows an AAL (ATM Adaptation Layer) according to the present invention.
It is a block diagram which shows the structure of the frame assembly circuit of a type 5 ATM cell.

【図6】図5におけるアドレス管理回路部の構成を詳細
に説明する図である。
FIG. 6 is a diagram illustrating in detail a configuration of an address management circuit unit in FIG. 5;

【図7】図5のアドレス検索部における空きアドレス検
索のフローチャートである。
FIG. 7 is a flowchart of a free address search in the address search unit of FIG. 5;

【図8】図5のアドレス検索部における読み出しアドレ
ス検索のフローチャートである。
FIG. 8 is a flowchart of a read address search in the address search unit of FIG. 5;

【図9】従来の共有バッファのアドレス管理方法の一例
を示すブロック図である。
FIG. 9 is a block diagram showing an example of a conventional shared buffer address management method.

【符号の説明】 11 アドレス管理回路 12 セルバッファ 13 アドレス検索部 14 CAM 15 セル多重部 16 スイッチ用テーブル 17 出力ポート番号生成部 18 セル分離部 21 アドレス 22 出力ポート番号 23 空きフラグ 24 出力ポート番号に対するCAMのポインタ一覧
表 51 無効セル廃棄部 52 受信セル判定部 53 組み立て要求FIFO 54 読み出しセル判定部 55 ヘッダ削除部 56 フレーム組み立てバッファ 61 VPI値 91 共有バッファ 92 #1バッファ 93 #2バッファ 94 #Nバッファ 95 空きアドレスバッファ 96 書き込み制御部 97 読み出し制御部
[Description of Signs] 11 Address management circuit 12 Cell buffer 13 Address search unit 14 CAM 15 Cell multiplexing unit 16 Switch table 17 Output port number generation unit 18 Cell separation unit 21 Address 22 Output port number 23 Empty flag 24 For output port number CAM pointer list 51 Invalid cell discarding unit 52 Received cell judging unit 53 Assembly request FIFO 54 Readout cell judging unit 55 Header deleting unit 56 Frame assembling buffer 61 VPI value 91 Shared buffer 92 # 1 buffer 93 # 2 buffer 94 #N buffer 95 free address buffer 96 write control unit 97 read control unit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 ATMセルの共有バッファにおけるアド
レス管理方法において、 共有バッファの空きアドレスと、読み出しアドレスとを
1つのコンテンツアドレスメモリに蓄積するステップ
と、 前記コンテンツアドレスメモリのアドレスポインタの示
す位置から共有バッファの空きまたは読み出しアドレス
を検索するステップを有し、 ATMセルの共有バッファのアドレス管理を行うことを
特徴とするATMセルの共有バッファにおけるアドレス
管理方法。
1. An address management method for a shared buffer of ATM cells, comprising the steps of: accumulating a free address of a shared buffer and a read address in one content address memory; and sharing from a position indicated by an address pointer of the content address memory. An address management method for a shared buffer of ATM cells, comprising a step of searching for an empty or read address of a buffer, and performing address management of a shared buffer of ATM cells.
【請求項2】 共有バッファ型ATMスイッチにおける
共有バッファのアドレス管理方法において、 共有バッファの空きアドレスと、読み出しアドレスとを
1つのコンテンツアドレスメモリに蓄積するステップ
と、 前記コンテンツアドレスメモリのアドレスポインタの示
す位置から共有バッファの空きまたは読み出しアドレス
を検索するステップを有し、 ATMセルの共有バッファのアドレスの管理を行うこと
を特徴とするATMセルの共有バッファにおけるアドレ
ス管理方法。
2. A method for managing a shared buffer address in a shared buffer type ATM switch, comprising the steps of: accumulating a free address of a shared buffer and a read address in one content address memory; and indicating an address pointer of the content address memory. An address management method for a shared buffer of ATM cells, comprising a step of searching for an empty or read address of a shared buffer from a position, and managing the address of the shared buffer of ATM cells.
【請求項3】 AALタイプ5のフレーム組み立て回路
における共有バッファのアドレス管理方法において、 共有バッファの空きアドレスと、読み出しアドレスとを
1つのコンテンツアドレスメモリに蓄積するステップ
と、 前記コンテンツアドレスメモリのアドレスポインタの示
す位置から共有バッファの空きまたは読み出しアドレス
を検索するステップを有し、 ATMセルの共有バッファのアドレスの管理を行うこと
を特徴とするATMセルの共有バッファにおけるアドレ
ス管理方法。
3. A method for managing an address of a shared buffer in an AAL type 5 frame assembling circuit, comprising: storing an empty address of a shared buffer and a read address in one content address memory; and an address pointer of the content address memory. Searching for an empty or read address of the shared buffer from the position indicated by (a), and managing the address of the shared buffer of the ATM cell.
【請求項4】 前記共有バッファの空きまたは読み出し
アドレスを検索するステップが、 共有バッファに書き込む際に、出力ポート番号毎に用意
される書き込みポインタから最も近く、アドレスフラグ
が空きである空きアドレスを検索するステップと、 検索により、空きアドレスが検索されなかった場合に
は、前記書き込みポインタを初期化するステップと、 空きアドレスが検索された場合には、該当アドレスフラ
グを空きから使用中に書き換え、セルバッファの書き込
みアドレスとして出力するステップと、 共有バッファより読み出す際に、出力ポート番号毎に用
意する読み出しみポインタから最も近く、アドレスフラ
グが使用中であるアドレスを検索するステップと、 検索により、アドレスが検索されなかった場合には、前
記読み出しポインタを初期化するステップと、 読み出しポインタに対応するアドレスが検索された場合
には、該当アドレスフラグを使用中から空きに書き換
え、セルバッファの読み出しアドレスとして出力するス
テップを有する請求項1乃至3記載のATMセルの共有
バッファにおけるアドレス管理方法。
4. A step of searching for an empty or read address of the shared buffer, wherein at the time of writing to the shared buffer, an empty address closest to a write pointer prepared for each output port number and having an empty address flag is searched. And if the empty address is not found by the search, the step of initializing the write pointer. If the empty address is found, the corresponding address flag is rewritten from empty to being used, and the cell is rewritten. A step of outputting as a buffer write address; a step of searching for an address which is closest to a read pointer prepared for each output port number when reading from the shared buffer and whose address flag is in use; If not found, read out 4. The method according to claim 1, further comprising the steps of: initializing the interface; and, when an address corresponding to the read pointer is retrieved, rewriting the corresponding address flag from being used to being empty and outputting it as a read address of the cell buffer. Address management method in the shared buffer of the ATM cell.
【請求項5】 共有バッファ型ATMスイッチにおける
共有バッファのアドレス管理装置において、 共有バッファの空きアドレスと、読み出しアドレスとを
蓄積するコンテンツアドレスメモリと、 前記コンテンツアドレスメモリのアドレスポインタの示
す位置から共有バッファの空きまたは読み出しアドレス
を検索する手段を有し、 共有バッファに書き込む際に、出力ポート番号毎に用意
される書き込みポインタから最も近く、アドレスフラグ
が空きである空きアドレスを検索し、検索により、空き
アドレスが検索されなかった場合には、前記書き込みポ
インタを初期化し、空きアドレスが検索された場合に
は、該当アドレスフラグを空きから使用中に書き換え、
セルバッファの書き込みアドレスとして出力し、共有バ
ッファより読み出す際に、出力ポート番号毎に用意する
読み出しみポインタから最も近く、アドレスフラグが使
用中であるアドレスを検索し、検索により、アドレスが
検索されなかった場合には、前記読み出しポインタを初
期化し、読み出しポインタに対応するアドレスが検索さ
れた場合には、該当アドレスフラグを使用中から空きに
書き換え、セルバッファの読み出しアドレスとして出力
することを特徴とするATMセルの共有バッファにおけ
るアドレス管理装置。
5. A shared buffer address management device in a shared buffer type ATM switch, comprising: a content address memory for storing a free address and a read address of the shared buffer; and a shared buffer from a position indicated by an address pointer of the content address memory. Means for searching for a vacant or read address, and when writing to the shared buffer, searching for a vacant address closest to the write pointer prepared for each output port number and having the vacant address flag. If the address is not found, the write pointer is initialized, and if an empty address is found, the corresponding address flag is rewritten from empty to in use.
When the address is output as the write address of the cell buffer and read from the shared buffer, the address closest to the read pointer prepared for each output port number and whose address flag is in use is searched. In this case, the read pointer is initialized, and if an address corresponding to the read pointer is searched, the corresponding address flag is rewritten from being used to empty and output as a read address of the cell buffer. Address management device for shared buffer of ATM cells.
【請求項6】 AALタイプ5のフレーム組み立て回路
における共有バッファのアドレス管理装置において、 共有バッファの空きアドレスと、読み出しアドレスとを
蓄積するコンテンツアドレスメモリと、 前記コンテンツアドレスメモリのアドレスポインタの示
す位置から共有バッファの空きまたは読み出しアドレス
を検索する手段を有し、 共有バッファに書き込む際に、出力ポート番号毎に用意
される書き込みポインタから最も近く、アドレスフラグ
が空きである空きアドレスを検索し、検索により、空き
アドレスが検索されなかった場合には、前記書き込みポ
インタを初期化し、空きアドレスが検索された場合に
は、該当アドレスフラグを空きから使用中に書き換え、
セルバッファの書き込みアドレスとして出力し、共有バ
ッファより読み出す際に、出力ポート番号毎に用意する
読み出しみポインタから最も近く、アドレスフラグが使
用中であるアドレスを検索し、検索により、アドレスが
検索されなかった場合には、前記読み出しポインタを初
期化し、読み出しポインタに対応するアドレスが検索さ
れた場合には、該当アドレスフラグを使用中から空きに
書き換え、セルバッファの読み出しアドレスとして出力
することを特徴とするATMセルの共有バッファにおけ
るアドレス管理装置。
6. An address management device for a shared buffer in an AAL type 5 frame assembling circuit, comprising: a content address memory for storing an empty address of a shared buffer and a read address; and a position indicated by an address pointer of the content address memory. A means for searching for an empty or read address of the shared buffer, and when writing to the shared buffer, searching for an empty address closest to the write pointer prepared for each output port number and having an empty address flag, If no free address is found, the write pointer is initialized, and if a free address is found, the corresponding address flag is rewritten from free to in use,
When the address is output as the write address of the cell buffer and read from the shared buffer, the address closest to the read pointer prepared for each output port number and whose address flag is in use is searched. In this case, the read pointer is initialized, and if an address corresponding to the read pointer is searched, the corresponding address flag is rewritten from being used to empty and output as a read address of the cell buffer. Address management device for shared buffer of ATM cells.
JP5814598A 1998-03-10 1998-03-10 Address management device in shared buffer of atm cell Pending JPH11261569A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5814598A JPH11261569A (en) 1998-03-10 1998-03-10 Address management device in shared buffer of atm cell

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5814598A JPH11261569A (en) 1998-03-10 1998-03-10 Address management device in shared buffer of atm cell

Publications (1)

Publication Number Publication Date
JPH11261569A true JPH11261569A (en) 1999-09-24

Family

ID=13075831

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5814598A Pending JPH11261569A (en) 1998-03-10 1998-03-10 Address management device in shared buffer of atm cell

Country Status (1)

Country Link
JP (1) JPH11261569A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100352855B1 (en) * 1999-12-27 2002-09-16 엘지전자 주식회사 Apparatus for transmitting ATM cell by using AAL2 in communication system
US8065450B2 (en) 2006-12-26 2011-11-22 Fujitsu Limited Frame transfer method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100352855B1 (en) * 1999-12-27 2002-09-16 엘지전자 주식회사 Apparatus for transmitting ATM cell by using AAL2 in communication system
US8065450B2 (en) 2006-12-26 2011-11-22 Fujitsu Limited Frame transfer method and device

Similar Documents

Publication Publication Date Title
US8089861B1 (en) Data verification using signature
JP2837650B2 (en) System and method for storing and retrieving routing information
US5502833A (en) System and method for management of a predictive split cache for supporting FIFO queues
US6246682B1 (en) Method and apparatus for managing multiple ATM cell queues
US6775281B1 (en) Method and apparatus for a four-way hash table
US5828903A (en) System for performing DMA transfer with a pipeline control switching such that the first storage area contains location of a buffer for subsequent transfer
US6571313B1 (en) Memory for information search through prefix analysis, in particular for building routing tables for nodes of high speed communication networks, such as the internet network
JP3129244B2 (en) Communication control device
US5600820A (en) Method for partitioning memory in a high speed network based on the type of service
JP2001509975A (en) Method and apparatus for reconstructing data packets into messages in an asynchronous transfer mode communication system
US20020059197A1 (en) Longest best match search
JPH10224379A (en) Atm re-configuration controller and re-configuration method
CA2277981A1 (en) Shared memory control using multiple linked lists with pointers, status flags, memory block counters and parity
JPH07143180A (en) Address learning equipment in clad
WO2004066570A1 (en) Network switch apparatus and network switch method
US7126959B2 (en) High-speed packet memory
JP2003229907A (en) Method and apparatus to reassemble data blocks within network processor
US20030174708A1 (en) High-speed memory having a modular structure
US6892287B1 (en) Frame reassembly in an ATM network analyzer
US7480308B1 (en) Distributing packets and packets fragments possibly received out of sequence into an expandable set of queues of particular use in packet resequencing and reassembly
WO1995023380A1 (en) Bit mapping apparatus and method
EP0878758B1 (en) Device for sorting data elements in a binary tree and ATM spacer including such a device
US5604743A (en) Method for the processing of data coming from an adaptation layer for transmission according to an ATM type asynchronous transfer mode
US7400623B2 (en) Method and apparatus for managing medium access control (MAC) address
US6343289B1 (en) Efficient search and organization of a forwarding database or the like