JPH10341238A - Reception atm cell processing controller - Google Patents

Reception atm cell processing controller

Info

Publication number
JPH10341238A
JPH10341238A JP9152050A JP15205097A JPH10341238A JP H10341238 A JPH10341238 A JP H10341238A JP 9152050 A JP9152050 A JP 9152050A JP 15205097 A JP15205097 A JP 15205097A JP H10341238 A JPH10341238 A JP H10341238A
Authority
JP
Japan
Prior art keywords
vci
vpi
entry
data
pointer
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
JP9152050A
Other languages
Japanese (ja)
Inventor
Akihiro Kagami
彰浩 各務
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP9152050A priority Critical patent/JPH10341238A/en
Publication of JPH10341238A publication Critical patent/JPH10341238A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide the reception ATM cell processing controller employing a retrieval means for an address pointer to process storage of received asynchronous transfer mode ATM cells to a reception buffer based on virtual path identifier/virtual channel identifier (VPI/VCI) data with a smaller circuit-scale and at an enhanced retrieval speed. SOLUTION: The controller is provided with a VC table 6 that is separated into banks I-N including a plurality of entries, data in all VPI/VCI fields 62 in a bank selected by a selector 5 are simultaneously outputted, the data are compared with VPI/VCI data having been extracted from an ATM cell header and stored by a VPI/VCI comparator circuit 2 and coincident entry numbers are detected. Pointer data in a buffer storing a payload of the ATM cell are read from a pointer field 61 in the entry of the VC table 6 by a pointer read circuit 3 based on the entry number.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ATM(Asynchro
nous Transfer Mode)通信端末における受信セル処理装
置に関し、より詳細には、ATMセル受信用のVC(Vir
tual Connection)テーブル検索回路に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an ATM (Asynchro
Nous Transfer Mode) For a receiving cell processing device in a communication terminal, more specifically, a VC (Vir
tual Connection) table search circuit.

【0002】[0002]

【従来の技術】ATM通信端末では、受信したATMセ
ルを受信バッファに格納するために、ATMセルヘッダ
の情報により、受信したATMセルが受信バッファ中の
どのパケットの一部であるかをVCテーブルを用いて判
断し、見つけられたパケットに追加していく。
2. Description of the Related Art In an ATM communication terminal, in order to store a received ATM cell in a reception buffer, a VC table is used to determine which packet in the reception buffer is a part of the received ATM cell based on information of an ATM cell header. Judgment is made using this, and the packet is added to the found packet.

【0003】図3は、従来の受信ATMセルのための処
理手段及びその動作の流れの一例を示す概略図である。
図3を参照すると、受信ATMセル処理装置8内におい
て、受信した53バイトのATMセル81は、受信セル
FIFO82に格納され、まず、5バイトのATMセル
ヘッダ812が読み出される。VCテーブル6の各エン
トリには、VPI(Virtual Path Identifier)/VC
I(Virtual Channel Identifier)フィールド62と受
信バッファを示すポインタフィールド61とその他のフ
ィールド63が有り、ヘッダ中のVPI/VCIの値と
一致したVPI(Virtual Path Identifier)/VCI
(Virtual Channel Identifier)フィールド62を持つ
VCテーブル6中のエントリから、受信バッファを示す
ポインタフィールド61のデータ値を読み出す。前記ポ
インタフィールド61のデータ値を元に受信したATM
セル81の48バイトのペイロード811を格納するア
ドレスを算出する。そして、受信セルFIFO82から
読み出した48バイトのペイロード811をシステムの
メインメモリ9中で、このペイロードに対応するVPI
/VCI用の受信バッファ91の格納場所として算出し
たアドレス92に書き込んでいく。
FIG. 3 is a schematic diagram showing an example of a conventional processing means for a received ATM cell and an operation flow thereof.
Referring to FIG. 3, in the receiving ATM cell processing device 8, the received 53-byte ATM cell 81 is stored in the receiving cell FIFO 82, and the 5-byte ATM cell header 812 is first read. Each entry of the VC table 6 has a VPI (Virtual Path Identifier) / VC
There are an I (Virtual Channel Identifier) field 62, a pointer field 61 indicating a reception buffer, and other fields 63, and a VPI (Virtual Path Identifier) / VCI that matches the value of the VPI / VCI in the header.
From the entry in the VC table 6 having the (Virtual Channel Identifier) field 62, the data value of the pointer field 61 indicating the reception buffer is read. ATM received based on the data value of the pointer field 61
The address for storing the 48-byte payload 811 of the cell 81 is calculated. Then, the payload 811 of 48 bytes read from the reception cell FIFO 82 is stored in the main memory 9 of the system in the VPI corresponding to the payload.
The data is written to the address 92 calculated as the storage location of the / VCI reception buffer 91.

【0004】図4は、従来用いられ、図3にも示される
ATMセル81のセル構成図である。図4において、A
TMセル81は、53バイトで構成され、先頭から5バ
イトがATMセルヘッダ812、残りの48バイトが情
報を格納するペイロード811をなしている。
FIG. 4 is a diagram showing the structure of an ATM cell 81 conventionally used and also shown in FIG. In FIG. 4, A
The TM cell 81 is composed of 53 bytes. The first 5 bytes form an ATM cell header 812, and the remaining 48 bytes form a payload 811 for storing information.

【0005】図5は、前記ATMセルヘッダ812中の
VPI/VCIのデータ値またはVCテーブル6中のV
PI/VCIフィールド62のビット列を示す構成図で
ある。前記ATMセルヘッダ812から読み出されたV
PI/VCIのデータ値と、前記VCテーブル6中のV
PI/VCIフィールド62のデータ値は、上位8ビッ
トにVPIのデータ値112と下位16ビットにVCI
のデータ値111を組み合わせて構成される24ビット
のデータ値11である。
FIG. 5 shows a data value of VPI / VCI in the ATM cell header 812 or a VPI / VCI in the VC table 6.
5 is a configuration diagram illustrating a bit string of a PI / VCI field 62. FIG. V read from the ATM cell header 812
PI / VCI data value and V in the VC table 6
The data value of the PI / VCI field 62 has a VPI data value 112 in the upper 8 bits and a VCI data in the lower 16 bits.
Is a 24-bit data value 11 configured by combining the data values 111 of.

【0006】前記のように、受信したATMセル81中
のペイロード811を受信バッファ91に格納するため
には、ATMセルヘッダ812中のVPI/VCIのデ
ータ値と一致するVPI/VCIフィールド62を持
つ、VCテーブル6中のエントリを見つける必要があ
る。この方法としては、検索テーブルを用いる方法が従
来の一例として上げられる。
As described above, in order to store the payload 811 in the received ATM cell 81 in the reception buffer 91, the VPI / VCI field 62 corresponding to the VPI / VCI data value in the ATM cell header 812 is required. It is necessary to find an entry in the VC table 6. As this method, a method using a search table is cited as an example of the related art.

【0007】図6は、従来の受信ATM処理装置に用い
られる検索テーブルの一例を示す構成図である。図6を
参照すると、検索テーブル12は、VPI/VCIのデ
ータ値に対応したエントリから構成され、各エントリは
VCテーブル6中の各エントリのポインタを含む。図6
において、VPI/VCIのデータ値は24ビットなの
で、検索テーブル12は、VPI/VCIのデータ値に
対応して0から16777215までのエントリを持
つ。図3において、ATMセルヘッダ812中のVPI
/VCIのデータ値と一致するVPI/VCIフィール
ド62を持つ、VCテーブル6中のエントリを見つける
ためには、図6の検索テーブル12を用いる。検索テー
ブル12中のエントリは、すべてのVPI/VCIのデ
ータ値の数分用意されていて、VPI/VCIのデータ
値の順番に並んでいるので、VPI/VCIのデータ値
の一致したエントリからVCテーブルポインタ121を
読み出す。そして、読み出されたポインタによりVCテ
ーブル6中のエントリが指定される。
FIG. 6 is a configuration diagram showing an example of a search table used in a conventional reception ATM processing device. Referring to FIG. 6, the search table 12 includes entries corresponding to data values of VPI / VCI, and each entry includes a pointer to each entry in the VC table 6. FIG.
Since the VPI / VCI data value is 24 bits, the search table 12 has entries from 0 to 16777215 corresponding to the VPI / VCI data value. In FIG. 3, the VPI in the ATM cell header 812
To find an entry in the VC table 6 that has a VPI / VCI field 62 that matches the data value of / VCI, the search table 12 in FIG. 6 is used. The entries in the search table 12 are prepared for the number of data values of all the VPI / VCIs and are arranged in the order of the data values of the VPI / VCI. The table pointer 121 is read. Then, the entry in the VC table 6 is designated by the read pointer.

【0008】[0008]

【発明が解決しようとする課題】上記の検索テーブルを
用いる方法の場合、VPI/VCIのデータ値の各ビッ
トをすべて使用するならば、テーブルのエントリが16
777216個必要となり、1つのエントリに2バイト
のメモリを使用すると仮定するならば、32Mバイトの
メモリが必要になる。このように、従来の検索テーブル
を用いる方法の場合、メモリが非常に多く必要になり、
回路規模が大きくなり、コストアップの要因になるとい
う問題点があった。本発明は、こうした従来技術におけ
る問題点に鑑みてなされたもので、受信したATMセル
をヘッダ中のVPI/VCIデータにもとづいて受信バ
ッファに格納する処理を行うためのアドレスポインタの
検索手段として、より回路規模を小さく、また、検索速
度を向上させる手段を用いてなる受信ATMセル処理装
置を提供することをその解決すべき課題とする。
In the case of the above-mentioned method using the search table, if all bits of the data value of the VPI / VCI are used, the entry of the table becomes 16
If it is assumed that 777216 pieces are required and two bytes of memory are used for one entry, 32 Mbytes of memory will be required. As described above, the conventional method using the lookup table requires a very large amount of memory,
There has been a problem that the circuit scale becomes large and causes an increase in cost. SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems in the related art, and has been developed as an address pointer search means for performing processing for storing a received ATM cell in a reception buffer based on VPI / VCI data in a header. It is an object of the present invention to provide a receiving ATM cell processing device using means for reducing the circuit scale and improving the search speed.

【0009】[0009]

【課題を解決するための手段】請求項1の発明は、少な
くともVPI/VCIフィールド及びポインタフィール
ドをそれぞれもつエントリにより構成されるVCテーブ
ルと、前記VCテーブルのエントリに格納されたデータ
を選択し出力するセレクタと、受信ATMセルヘッダか
ら読み出されたVPI/VCIデータを保持するVPI
/VCIレジスタと、前記セレクタと前記VPI/VC
Iレジスタの出力データを比較するVPI/VCI比較
回路と、前記VCテーブルのエントリ中のポインタフィ
ールドに格納されたデータを読み出すポインタ読み出し
回路と、前記VCテーブルの検索を制御するVCテーブ
ル検索制御回路とを備える受信ATMセル処理制御装置
であって、前記セレクタは、前記VCテーブルのエント
リ中のVPI/VCIフィールドに格納されたデータの
みを前記VPI/VCI比較回路に出力し、前記VCテ
ーブル検索制御回路は、前記VPI/VCI比較回路に
よる比較結果から一致するデータを格納している前記V
Cテーブル中のエントリを指定するデータを前記ポイン
タ読み出し回路に送り、前記ポインタ読み出し回路は、
前記VCテーブル検索制御回路からの指定データにより
前記VCテーブルのエントリ中のポインタフィールドに
格納されたポインタデータを読み出すようにしたもので
ある。
According to a first aspect of the present invention, there is provided a VC table having at least an entry having a VPI / VCI field and a pointer field, and data stored in an entry of the VC table. And a VPI holding the VPI / VCI data read from the received ATM cell header.
/ VCI register, the selector and the VPI / VC
A VPI / VCI comparison circuit for comparing output data of an I register, a pointer read circuit for reading data stored in a pointer field in an entry of the VC table, and a VC table search control circuit for controlling the search of the VC table. Wherein the selector outputs only data stored in a VPI / VCI field in an entry of the VC table to the VPI / VCI comparison circuit, and the VC table search control circuit Is the V that stores data that matches from the comparison result by the VPI / VCI comparison circuit.
Sending data designating an entry in the C table to the pointer reading circuit,
Pointer data stored in a pointer field in an entry of the VC table is read based on designated data from the VC table search control circuit.

【0010】請求項2の発明は、請求項1の発明におい
て、前記VCテーブルを複数のエントリを含むバンクに
分けるとともに、前記VCテーブル検索制御回路からV
Cテーブルの前記バンクを指定するデータを出力するよ
うにし、前記セレクタは、前記VCテーブル検索制御回
路出力により指定されたバンクを選択し、選択されたバ
ンク内のすべてのVCテーブルのエントリ中のVPI/
VCIフィールドに格納されたデータを同時に前記VP
I/VCI比較回路に出力するようにするものである。
According to a second aspect of the present invention, in the first aspect of the present invention, the VC table is divided into banks including a plurality of entries, and the VC table search control circuit outputs
The selector outputs data designating the bank of the C table. The selector selects the bank specified by the output of the VC table search control circuit, and selects the VPI in the entries of all the VC tables in the selected bank. /
The data stored in the VCI field is simultaneously
This is output to the I / VCI comparison circuit.

【0011】請求項3の発明は、請求項1又は2の発明
において、前記VCテーブルにVCテーブルキャッシュ
を有し、ヒットしたエントリに格納されたデータを該V
Cテーブルキャッシュにコピーする手段と、前記VCテ
ーブルキャッシュの各エントリに格納されているデータ
の優先順位を入れ替える手段とを備えるようにするもの
である。
According to a third aspect of the present invention, in the first or the second aspect of the present invention, the VC table has a VC table cache, and the data stored in the hit entry is stored in the VC table.
A means for copying to the C table cache and a means for changing the priority of data stored in each entry of the VC table cache are provided.

【0012】[0012]

【発明の実施の形態】以下、本発明の一実施形態につい
て図面を参照しながら説明する。図1は、本発明の一実
施形態の受信ATMセル処理制御装置のVCテーブル検
索回路を含む処理回路部分を示す構成図である。図1を
参照すると、複数のエントリにより構成されるVCテー
ブル6と、VCテーブル6のエントリ中のデータを選択
し、出力するセレクタ5と、ATMセルヘッダ812か
ら読み出されたVPI/VCIのデータ値を保持するV
PI/VCIレジスタ4と、セレクタ5とVPI/VC
Iレジスタ4の出力を比較するVPI/VCI比較回路
2と、VCテーブル6からポインタフィールド61のデ
ータ値を読み出すポインタ読み出し回路3と、VCテー
ブル6の検索を制御するVCテーブル検索制御回路1と
を受信ATMセル処理装置中に含み、これは、図3に示
す従来例の装置における受信ATMセル処理装置8に相
当する部分である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a configuration diagram showing a processing circuit portion including a VC table search circuit of a reception ATM cell processing control device according to an embodiment of the present invention. Referring to FIG. 1, a VC table 6 composed of a plurality of entries, a selector 5 for selecting and outputting data in the entries of the VC table 6, and a data value of VPI / VCI read from the ATM cell header 812 Hold V
PI / VCI register 4, selector 5 and VPI / VC
A VPI / VCI comparison circuit 2 for comparing the output of the I register 4, a pointer reading circuit 3 for reading the data value of the pointer field 61 from the VC table 6, and a VC table search control circuit 1 for controlling the search of the VC table 6 It is included in the reception ATM cell processing device, and is a portion corresponding to the reception ATM cell processing device 8 in the conventional device shown in FIG.

【0013】VPI/VCIレジスタ4は、図3のAT
Mセルヘッダ812から取り出したVPI/VCIのデ
ータ値を保持し、VPI/VCI比較回路2へ出力す
る。VCテーブル6は、任意の数(ここではM)のエン
トリを含むバンクをバンク毎に分けて管理し、セレクタ
5によりVCテーブル6(ここではNのバンクからな
る)中より選択されたバンクから、バンク内のすべての
VPI/VCIフィールド62のデータ値を同時に出力
する。また、ポインタ読み出し回路3からの要求に応じ
て、指定されたエントリのポインタフィールド61のデ
ータ値を読み出す。
The VPI / VCI register 4 corresponds to the AT of FIG.
The VPI / VCI data value extracted from the M cell header 812 is held and output to the VPI / VCI comparison circuit 2. The VC table 6 manages a bank including an arbitrary number (here, M) of entries by dividing the bank by bank, and selects a bank selected by the selector 5 from the VC table 6 (here, consisting of N banks). The data values of all VPI / VCI fields 62 in the bank are output simultaneously. Further, in response to a request from the pointer read circuit 3, the data value of the pointer field 61 of the designated entry is read.

【0014】セレクタ5は、VCテーブル検索制御回路
1から指定されたバンク番号によりVCテーブル6中の
バンクを選択し、選択されたVCテーブル6中のバンク
から出力されたすべてのVPI/VCIフィールド62
のデータ値を出力する。VPI/VCI比較回路2は、
VPI/VCIレジスタ4からの出力とセレクタ5から
の出力を比較して、比較した結果を、VCテーブル検索
制御回路1へ送る。ポインタ読み出し回路3は、比較結
果に従い一致したVPI/VCIをVCテーブル検索制
御回路1によって指定し、指定されたVCテーブル6中
のエントリからポインタフィールド61のデータ値を読
み出す。
The selector 5 selects a bank in the VC table 6 according to the bank number specified by the VC table search control circuit 1, and selects all VPI / VCI fields 62 output from the selected bank in the VC table 6.
Outputs the data value of. The VPI / VCI comparison circuit 2
The output from the VPI / VCI register 4 is compared with the output from the selector 5, and the comparison result is sent to the VC table search control circuit 1. The pointer reading circuit 3 designates the matched VPI / VCI according to the comparison result by the VC table search control circuit 1, and reads the data value of the pointer field 61 from the designated entry in the VC table 6.

【0015】以下に、この受信ATMセル処理装置の一
実施例の動作を説明する。図1,図3を参照すると、受
信したATMセル81中のATMセルヘッダ812から
取り出したVPI/VCIのデータ値は、本装置に入力
されるとVPI/VCIレジスタ4に格納される。検索
開始の命令が来ると、VCテーブル検索制御回路1は、
VCテーブル6の検索を行うために、バンク番号を順番
にセレクタ5に対して与えるが、まず、バンク番号1を
セレクタ5に対して与える。セレクタ5は、VCテーブ
ル6からバンク1の各エントリのVPI/VCIフィー
ルドのデータ値を同時にすべて読み出し、VPI/VC
I比較回路2に対して出力する。
The operation of one embodiment of the receiving ATM cell processing apparatus will be described below. Referring to FIGS. 1 and 3, the data value of the VPI / VCI extracted from the ATM cell header 812 in the received ATM cell 81 is stored in the VPI / VCI register 4 when input to the present apparatus. When a search start command comes, the VC table search control circuit 1
In order to search the VC table 6, the bank numbers are sequentially given to the selector 5. First, the bank number 1 is given to the selector 5. The selector 5 simultaneously reads out all the data values of the VPI / VCI field of each entry of the bank 1 from the VC table 6, and
Output to the I comparison circuit 2.

【0016】VPI/VCI比較回路2は、VPI/V
CIレジスタ4に格納されているATMセルヘッダ81
2中のVPI/VCIのデータ値と、セレクタ5から入
力した1バンク分のVPI/VCIフィールド62のデ
ータ値を同時に比較し、結果としてヒットしたかどうか
の情報と、ヒットしたならバンク中の何番目のエントリ
かの情報を、VCテーブル検索制御回路1に送る。VC
テーブル検索制御回路1は、前記の検索動作において、
ヒットしなかったならば、バンク番号として2から順番
にNまでの値をセレクタ5に渡して、前記の一連の検索
動作を繰り返す。前記の検索動作において、ヒットした
ならば、VCテーブル検索回路は、VCテーブル6中の
エントリ番号を計算し、ポインタ読み出し回路3にVC
テーブルエントリ番号を送り、VCテーブル6の読み出
しを要求する。
The VPI / VCI comparison circuit 2 has a VPI / V
ATM cell header 81 stored in CI register 4
2 and the data value of the VPI / VCI field 62 for one bank input from the selector 5 at the same time, and as a result, information as to whether or not a hit has occurred, Information about the entry is sent to the VC table search control circuit 1. VC
The table search control circuit 1 includes:
If there is no hit, the values from 2 to N are sequentially passed to the selector 5 as the bank number, and the above-described series of search operations is repeated. In the above search operation, if a hit is found, the VC table search circuit calculates the entry number in the VC table 6 and sends the VC number to the pointer read circuit 3.
A table entry number is sent, and reading of the VC table 6 is requested.

【0017】ポインタ読み出し回路3は、VCテーブル
エントリ番号から、VCテーブル6中のこのエントリに
含まれるポインタフィールド61のアドレスを算出し、
VCテーブル6に送り、ポインタフィールド61に格納
されたデータ値の読み出しを要求する。VCテーブル6
からはポインタ読み出し要求に応じて、ポインタフィー
ルド61に格納されたデータ値を出力する。ポインタ読
み出し回路3は、ポインタのデータ値を受け取り、VC
テーブル検索制御回路1に渡す。VCテーブル検索制御
回路1は、ポインタのデータ値を渡し、検索を終了す
る。
The pointer reading circuit 3 calculates the address of the pointer field 61 included in this entry in the VC table 6 from the VC table entry number,
It sends the data value to the VC table 6 and requests the data value stored in the pointer field 61 to be read. VC table 6
, Outputs the data value stored in the pointer field 61 in response to the pointer read request. The pointer read circuit 3 receives the data value of the pointer,
It is passed to the table search control circuit 1. The VC table search control circuit 1 passes the data value of the pointer, and ends the search.

【0018】上記のように、ATMセル受信のVCテー
ブル検索に、VPI/VCIのデータ値の全てに対応し
てエントリを用意していた従来の検索テーブル12を用
いず、VCテーブル6をいくつかのバンクに分け、各バ
ンクを同時にATMセルヘッダ812中のVPI/VC
Iのデータ値と比較することにより、VCテーブル6の
検索を行うので、多くのメモリを必要とせず、回路規模
を小さくすることが可能となる。
As described above, the VC table search for ATM cell reception does not use the conventional search table 12 in which entries are prepared corresponding to all the data values of VPI / VCI. Of the ATM cell header 812.
Since the VC table 6 is searched by comparing it with the data value of I, it is possible to reduce the circuit scale without requiring much memory.

【0019】次に、VCテーブルキャッシュを使用した
受信ATMセル処理装置8について説明する。図2は、
図1に示す受信ATMセル処理回路にVCテーブルキャ
ッシュを使用した一例におけるVCテーブル,VCテー
ブルキャッシュ部分の構成図である。図2を参照する
と、受信ATMセル処理回路の一例のVCテーブルキャ
ッシュ7は、1バンク分のエントリを持ち、各エントリ
には、VPI/VCI71とVCテーブルエントリ番号
72と優先順位73のフィールドを持つ、VCテーブル
キャッシュ7中のエントリには、ヒットしたVCテーブ
ル6中のエントリから、VPI/VCIフィールド62
の内容がコピーされ、そのエントリの番号が格納され
る。
Next, the reception ATM cell processing device 8 using the VC table cache will be described. FIG.
FIG. 2 is a configuration diagram of a VC table and a VC table cache part in an example in which a VC table cache is used in the reception ATM cell processing circuit shown in FIG. 1. Referring to FIG. 2, the VC table cache 7 as an example of the reception ATM cell processing circuit has one bank of entries, and each entry has a VPI / VCI 71, a VC table entry number 72, and a priority 73 field. , The entry in the VC table 6 includes the VPI / VCI field 62 from the hit entry in the VC table 6.
Is copied, and the number of the entry is stored.

【0020】また、優先順位として、最も最近ヒットし
たエントリから順に番号として1からMの値が付けられ
ている。ここで、優先順位は1が最も高く、Mが最も低
い。この構成の場合、VCテーブルキャッシュ7のバン
クがまず最初に検索対象になる。VCテーブルキャッシ
ュ7中の優先順位Lのエントリがヒットした場合、その
エントリの優先順位が1になり、それまでの優先順位が
1からL−1までのエントリの優先順位が、2からLま
でに変更される。
As the priority, values from 1 to M are assigned as numbers in order from the most recently hit entry. Here, as for the priority, 1 is the highest and M is the lowest. In the case of this configuration, the bank of the VC table cache 7 is first searched. When an entry of the priority L in the VC table cache 7 is hit, the priority of the entry becomes 1, and the priority of the entry whose priority is 1 to L-1 is 2 to L. Be changed.

【0021】また、ヒットしたVCテーブルキャッシュ
7からVCテーブルエントリ番号72が読み出され、図
1中のVCテーブル検索制御回路1に渡される。VCテ
ーブル検索制御回路1は、そのVCテーブルエントリ番
号を元にVCテーブル6に格納されたポインタデータを
読み出す動作を行う。VCテーブル6中のエントリがヒ
ットした場合、ヒットしたエントリのVPI/VCIフ
ィールド62に格納されたデータ内容が、そのエントリ
の番号と共に、VCテーブルキャッシュ7中の優先順位
Mのエントリに格納され、そのエントリの優先順位は1
に変更される。その他のVCテーブルキャッシュ7中の
エントリの優先順位フィールドは1がプラスされ、1か
らM−1であったフィールドが、それぞれ2からMに変
更される。
Further, the VC table entry number 72 is read from the hit VC table cache 7 and passed to the VC table search control circuit 1 in FIG. The VC table search control circuit 1 performs an operation of reading the pointer data stored in the VC table 6 based on the VC table entry number. When an entry in the VC table 6 is hit, the data content stored in the VPI / VCI field 62 of the hit entry is stored in the entry of the priority M in the VC table cache 7 together with the number of the entry. Entry priority is 1
Is changed to The priority field of the other entries in the VC table cache 7 is incremented by one, and the fields from 1 to M-1 are changed from 2 to M, respectively.

【0022】他の動作は、VCテーブルキャッシュがな
い構成と同じである。通常の通信では、同じVPI/V
CIのデータ値を持つATMセル81が続けて受信され
ることが多いと考えられる。従って、通常の受信では、
キャッシュ内のエントリに格納されたデータをヒットす
る可能性が高いので、キャッシュのバンクをまず最初に
検索するならば、キャッシュを使用しない場合に比べ
て、平均のVCテーブル検索時間を速くすることが可能
となる。
Other operations are the same as the configuration without the VC table cache. In normal communication, the same VPI / V
It is considered that the ATM cell 81 having the data value of CI is often received continuously. Therefore, in normal reception,
Since there is a high possibility of hitting the data stored in the entry in the cache, if the cache bank is searched first, the average VC table search time can be made faster than when the cache is not used. It becomes possible.

【0023】上記したVPI/VCIの全てのデータ値
をエントリに用意した従来の検索テーブル12を使用す
ることなく、VCテーブル6をバンクに分け、そのバン
クごとに順番にVPI/VCIのデータ値を比較してい
く方法と、上記したVCテーブルキャッシュを使用する
方法を組み合わせて、受信ATMセル処理装置8を構成
することにより、回路規模を小さくすることが可能とな
ることに加え、平均の検索速度を向上させることも可能
となる。
The VC table 6 is divided into banks without using the conventional search table 12 in which all the data values of the VPI / VCI are prepared in the entries, and the data values of the VPI / VCI are sequentially determined for each bank. By configuring the receiving ATM cell processing device 8 by combining the comparing method and the above-described method using the VC table cache, the circuit scale can be reduced, and the average search speed can be reduced. Can also be improved.

【0024】[0024]

【発明の効果】受信ATMセルのヘッダに含まれるVP
I/VCIのデータ値をVPI/VCIの全てのデータ
値をエントリに用意した従来の検索テーブルを使用せ
ず、VCテーブルのエントリ中のVPI/VCIフィー
ルドに格納されたデータのみを前記VPI/VCI比較
回路に出力するようにし、さらにVCテーブルをバンク
に分け、そのバンクごとに順番にVPI/VCIのデー
タ値を同時に比較していく構成にすることにより、テー
ブルを用意するために用いるメモリの規模及びそれに関
連する回路の規模を小さくすることが可能となる。上記
に加えて、VCテーブルキャッシュを使用した構成にす
ることにより、平均の検索速度を向上させることが可能
となる。
The VP included in the header of the received ATM cell
The data value of the I / VCI is not used in the conventional search table in which all the data values of the VPI / VCI are prepared in the entry. The scale of the memory used for preparing the table is obtained by outputting the data to the comparison circuit, further dividing the VC table into banks, and simultaneously comparing the VPI / VCI data values sequentially for each bank. And the size of the circuit associated therewith can be reduced. In addition to the above, by using a configuration using a VC table cache, it is possible to improve the average search speed.

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

【図1】本発明の一実施形態の受信ATMセル処理装置
のVCテーブル検索回路を含む処理部分の構成を示すブ
ロック図である。
FIG. 1 is a block diagram showing a configuration of a processing portion including a VC table search circuit of a reception ATM cell processing device according to an embodiment of the present invention.

【図2】図1に示す受信ATMセル処理装置のVCテー
ブルにキャッシュを用いた例を示す構成図である。
FIG. 2 is a configuration diagram showing an example of using a cache in a VC table of the reception ATM cell processing device shown in FIG. 1;

【図3】従来の受信ATM処理装置の一例の受信ATM
セルの処理手段及びその動作の流れを示す概略図であ
る。
FIG. 3 shows a reception ATM as an example of a conventional reception ATM processing device.
It is the schematic which shows the processing means of a cell, and the flow of the operation.

【図4】従来から用いられているATMセルのバイトご
とのビット列を示すセル構成図である。
FIG. 4 is a cell configuration diagram showing a bit sequence for each byte of a conventionally used ATM cell.

【図5】従来から用いられているVPI/VCIのデー
タ値のビット列を示すデータ構成図である。
FIG. 5 is a data configuration diagram showing a bit string of a data value of VPI / VCI conventionally used.

【図6】従来の受信ATM処理装置に用いられる検索テ
ーブルの一例を示すテーブル構成図である。
FIG. 6 is a table configuration diagram showing an example of a search table used in a conventional reception ATM processing device.

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

1…VCテーブル検索制御回路、2…VPI/VCI比
較回路、3…ポインタ読み出し回路、4…VPI/VC
Iレジスタ、5…セレクタ、6…VCテーブル、7…V
Cテーブルキャッシュ、8…受信ATMセル処理装置、
9…メインメモリ、11…VPI/VCIのビット列、
12…検索テーブル、61…ポインタフィールド、62
…VPI/VCIフィールド、63…その他のフィール
ド、71…VPI/VCI、72…VCテーブルエント
リ番号、73…優先順位、81…ATMセル、82…受
信セルFIFO、91…受信バッファ、92…ペイロー
ド格納先頭アドレス、111…VCI、112…VP
I、121…VCテーブルポインタ、811…ペイロー
ド、812…ATMセルヘッダ。
1 VC table search control circuit 2 VPI / VCI comparison circuit 3 Pointer reading circuit 4 VPI / VC
I register, 5 ... selector, 6 ... VC table, 7 ... V
C table cache, 8 ... received ATM cell processing device,
9: Main memory, 11: VPI / VCI bit string,
12 ... search table, 61 ... pointer field, 62
... VPI / VCI field, 63 ... other fields, 71 ... VPI / VCI, 72 ... VC table entry number, 73 ... priority, 81 ... ATM cell, 82 ... receive cell FIFO, 91 ... receive buffer, 92 ... payload storage Start address, 111 ... VCI, 112 ... VP
I, 121 ... VC table pointer, 811 ... Payload, 812 ... ATM cell header.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 少なくともVPI/VCIフィールド及
びポインタフィールドをそれぞれもつエントリにより構
成されるVCテーブルと、前記VCテーブルのエントリ
に格納されたデータを選択し出力するセレクタと、受信
ATMセルヘッダから読み出されたVPI/VCIデー
タを保持するVPI/VCIレジスタと、前記セレクタ
と前記VPI/VCIレジスタの出力データを比較する
VPI/VCI比較回路と、前記VCテーブルのエント
リ中のポインタフィールドに格納されたデータを読み出
すポインタ読み出し回路と、前記VCテーブルの検索を
制御するVCテーブル検索制御回路とを備える受信AT
Mセル処理制御装置であって、前記セレクタは、前記V
Cテーブルのエントリ中のVPI/VCIフィールドに
格納されたデータのみを前記VPI/VCI比較回路に
出力し、前記VCテーブル検索制御回路は、前記VPI
/VCI比較回路による比較結果から一致するデータを
格納している前記VCテーブル中のエントリを指定する
データを前記ポインタ読み出し回路に送り、前記ポイン
タ読み出し回路は、前記VCテーブル検索制御回路から
の指定データにより前記VCテーブルのエントリ中のポ
インタフィールドに格納されたポインタデータを読み出
すようにしてなる受信ATMセル処理制御装置。
1. A VC table composed of entries each having at least a VPI / VCI field and a pointer field, a selector for selecting and outputting data stored in an entry of the VC table, and a selector read from a received ATM cell header. A VPI / VCI register for holding the VPI / VCI data, a VPI / VCI comparison circuit for comparing the output data of the selector and the VPI / VCI register, and a data stored in a pointer field in an entry of the VC table. A receiving AT comprising a pointer reading circuit for reading, and a VC table search control circuit for controlling the search of the VC table;
An M-cell processing control device, wherein the selector comprises:
Only the data stored in the VPI / VCI field in the entry of the C table is output to the VPI / VCI comparison circuit.
/ VCI sends data designating an entry in the VC table storing matching data from the comparison result to the pointer reading circuit, and the pointer reading circuit sends the designated data from the VC table search control circuit. A receiving ATM cell processing control device for reading pointer data stored in a pointer field in an entry of the VC table.
【請求項2】 前記VCテーブルを複数のエントリを含
むバンクに分けるとともに、前記VCテーブル検索制御
回路からVCテーブルの前記バンクを指定するデータを
出力するようにし、前記セレクタは、前記VCテーブル
検索制御回路出力により指定されたバンクを選択し、選
択されたバンク内のすべてのVCテーブルのエントリ中
のVPI/VCIフィールドに格納されたデータを同時
に前記VPI/VCI比較回路に出力するようにしたこ
とを特徴とする請求項1記載の受信ATMセル処理制御
装置。
2. The VC table is divided into banks including a plurality of entries, and the VC table search control circuit outputs data designating the bank of the VC table, and the selector controls the VC table search control. A bank designated by a circuit output is selected, and data stored in VPI / VCI fields in entries of all VC tables in the selected bank are simultaneously output to the VPI / VCI comparison circuit. 2. The receiving ATM cell processing control device according to claim 1, wherein:
【請求項3】 前記VCテーブルにVCテーブルキャッ
シュを有し、ヒットしたエントリに格納されたデータを
該VCテーブルキャッシュにコピーする手段と、前記V
Cテーブルキャッシュの各エントリに格納されているデ
ータの優先順位を入れ替える手段とを備えるようにした
ことを特徴とする請求項1又は2記載の受信ATMセル
処理装置。
3. A means having a VC table cache in the VC table, and copying data stored in a hit entry into the VC table cache;
3. The received ATM cell processing device according to claim 1, further comprising means for changing the priority of data stored in each entry of the C table cache.
JP9152050A 1997-06-10 1997-06-10 Reception atm cell processing controller Pending JPH10341238A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9152050A JPH10341238A (en) 1997-06-10 1997-06-10 Reception atm cell processing controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9152050A JPH10341238A (en) 1997-06-10 1997-06-10 Reception atm cell processing controller

Publications (1)

Publication Number Publication Date
JPH10341238A true JPH10341238A (en) 1998-12-22

Family

ID=15531960

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9152050A Pending JPH10341238A (en) 1997-06-10 1997-06-10 Reception atm cell processing controller

Country Status (1)

Country Link
JP (1) JPH10341238A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000074315A1 (en) * 1999-05-28 2000-12-07 Fujitsu Limited Message write device, message write method, message read device, message read method, memory address control circuit for write of variable length message, and memory address control circuit for read of variable length message
KR20020011513A (en) * 2000-08-02 2002-02-09 서평원 ATM Switching system and data processing method for excluding the limitted using of switching resources
JP2007318459A (en) * 2006-05-25 2007-12-06 Nec Engineering Ltd Atm cell receiving circuit

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000074315A1 (en) * 1999-05-28 2000-12-07 Fujitsu Limited Message write device, message write method, message read device, message read method, memory address control circuit for write of variable length message, and memory address control circuit for read of variable length message
US7450594B2 (en) 1999-05-28 2008-11-11 Fujitsu Limited Message writing apparatus, message writing method, message readout apparatus, message readout method, memory address control circuit for writing of variable-length message and memory address control circuit for readout of variable-length message
KR20020011513A (en) * 2000-08-02 2002-02-09 서평원 ATM Switching system and data processing method for excluding the limitted using of switching resources
JP2007318459A (en) * 2006-05-25 2007-12-06 Nec Engineering Ltd Atm cell receiving circuit
JP4698480B2 (en) * 2006-05-25 2011-06-08 Necエンジニアリング株式会社 ATM cell receiving circuit

Similar Documents

Publication Publication Date Title
JP2837650B2 (en) System and method for storing and retrieving routing information
US5909440A (en) High speed variable length best match look-up in a switching device
CA2274962C (en) High speed variable length best match look-up in a switching device
US6990099B1 (en) Multiple parallel packet routing lookup
JP3035868B2 (en) Method and apparatus for ATM exchange
US5936959A (en) Cell routing in ATM networks
US6711153B1 (en) Route lookup engine
US6310875B1 (en) Method and apparatus for port memory multicast common memory switches
US6343289B1 (en) Efficient search and organization of a forwarding database or the like
JPH10341238A (en) Reception atm cell processing controller
US7352754B2 (en) ATM-based data transmitting and receiving device and method
JP3008905B2 (en) ABR shaper rate control method
KR20000074195A (en) Apparatus and method for resequencing cell of multipath atm switch
EP0680236A1 (en) Apparatus for swapping input values into corresponding output values
KR100260902B1 (en) Atm cell connection mapping device
JP3137312B2 (en) ATM interface circuit
KR100275486B1 (en) Vitual table lookup table method for atm system
JPH06276209A (en) Traffic shaping device for atm network
JPH11261569A (en) Address management device in shared buffer of atm cell
JP3178645B2 (en) Data communication device with swap processing
KR100357628B1 (en) Cell processing apparatus having priority queue and method thereof in an asynchronous transfer mode system
KR19980055986A (en) Asynchronous transfer mode cell connection mapping device
JPH1065703A (en) Atm exchanging device
JP3217667B2 (en) ATM communication control method and device
JPH08102743A (en) Switching device and method