JPH07123094A - Buffer control circuit - Google Patents

Buffer control circuit

Info

Publication number
JPH07123094A
JPH07123094A JP5263349A JP26334993A JPH07123094A JP H07123094 A JPH07123094 A JP H07123094A JP 5263349 A JP5263349 A JP 5263349A JP 26334993 A JP26334993 A JP 26334993A JP H07123094 A JPH07123094 A JP H07123094A
Authority
JP
Japan
Prior art keywords
cell
buffer memory
buffer
address
write
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
JP5263349A
Other languages
Japanese (ja)
Inventor
Shiyunsuke Saikouji
俊介 西光寺
Kenichi Asano
賢一 浅野
Masaru Nakamura
勝 中村
Toshihiko Fujita
利彦 藤田
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.)
Hitachi Ltd
Hitachi Solutions Technology Ltd
Original Assignee
Hitachi ULSI Engineering Corp
Hitachi Ltd
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 Hitachi ULSI Engineering Corp, Hitachi Ltd filed Critical Hitachi ULSI Engineering Corp
Priority to JP5263349A priority Critical patent/JPH07123094A/en
Publication of JPH07123094A publication Critical patent/JPH07123094A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Use Of Switch Circuits For Exchanges And Methods Of Control Of Multiplex Exchanges (AREA)

Abstract

(57)【要約】 【目的】バッファの書き込みと読み出しの動作を停止さ
せずに、バッファを高速に制御する。 【構成】バッファ制御回路は、バッファメモリの書き込
みアドレスを制御する書き込みポインタ21,バッファ
メモリの読み出しアドレスを制御する読み出しポインタ
22,書き込みポインタ21の出力または特定の固定ア
ドレスのどちらか一方を出力するセレクタ23,バッフ
ァメモリの空きと塞りの状態を判定するフラグ判定回路
24,バッファメモリからの出力セルと空きセルのどち
らか一方を選択し出力するセレクタ25で構成される。
バッファメモリの一アドレスを廃棄用アドレスに利用
し、セルを廃棄する時は、廃棄するセルを廃棄用アドレ
スに書き込み、メモリの書き込み動作を止めずに廃棄
し、読み出すべきセルがバッファメモリに無いときは、
読み出し動作を止めずに、空きセルを出力する。
(57) [Abstract] [Purpose] Control the buffer at high speed without stopping the writing and reading operations of the buffer. A buffer control circuit includes a write pointer 21 that controls a write address of a buffer memory, a read pointer 22 that controls a read address of a buffer memory, and a selector that outputs either the output of the write pointer 21 or a specific fixed address. 23, a flag determination circuit 24 for determining the empty / closed state of the buffer memory, and a selector 25 for selecting and outputting either the output cell from the buffer memory or the empty cell.
When using one address of the buffer memory as the discard address and discarding the cell, write the cell to be discarded to the discard address, discard without stopping the memory write operation, and there is no cell to be read in the buffer memory. Is
An empty cell is output without stopping the read operation.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、情報をセル単位にスイ
ッチングするATMスイッチのバッファ制御回路に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an ATM switch buffer control circuit for switching information in cell units.

【0002】[0002]

【従来の技術】ATMスイッチでは、ATMセルに付加
されたヘッダ部の情報に従ってバッファメモリへの書き
込みを行うか否かを判断する。このような、従来例に、
特開平3−3448 号公報がある。この発明のバッファ制御
回路では、ATMセルに付加されたヘッダ部の有効性表
示ビットに従って、書き込みを行わない場合、バッファ
へのクロックの供給を止めることで、書き込み動作を停
止している。また、読み出し動作の場合も同様である。
2. Description of the Related Art An ATM switch determines whether to write data in a buffer memory according to information in a header portion added to an ATM cell. Such a conventional example,
There is JP-A-3-3448. In the buffer control circuit of the present invention, the write operation is stopped by stopping the clock supply to the buffer when the write is not performed according to the validity indication bit of the header section added to the ATM cell. The same applies to the read operation.

【0003】[0003]

【発明が解決しようとする課題】本発明に使用している
バッファメモリは、ライトクロック(WC)及びリード
クロック(RC)に同期して動作するため、これらのク
ロックの立上りエッジで書き込みと読み出しの動作を行
う。そこで、各々のクロックを“0”に固定することに
より、書き込み及び読み出し動作を停止することができ
る。
Since the buffer memory used in the present invention operates in synchronization with the write clock (WC) and the read clock (RC), writing and reading are performed at the rising edge of these clocks. Take action. Therefore, by fixing each clock to "0", the write and read operations can be stopped.

【0004】従来技術のバッファ制御回路では、ライト
クロック(WC)とライトイネーブル(WE),リード
クロック(RC)とリードイネーブル(RE)の論理積
をそれぞれとることにより、ライトイネーブル(WE)
及びリードイネーブル(RE)が“0”の場合に、ライ
トクロック(WC)及びリードクロック(RC)を“0”
に固定していた。
In the conventional buffer control circuit, the write enable (WE) is obtained by taking the logical product of the write clock (WC) and the write enable (WE) and the read clock (RC) and the read enable (RE).
When the read enable (RE) is "0", the write clock (WC) and the read clock (RC) are "0".
It was fixed to.

【0005】この方法はクロックの周期に対してアドレ
ス及びセルのデータの周期が長い場合に適用できる。し
かし、ATMスイッチ全体の高速化によりアドレス及び
データの周期が短くなりクロックの周期と同じになった
場合には、バッファの空きと塞り状態の制御が複雑にな
り、また、クロックとライトイネーブル及びリードイネ
ーブルが同時に変化するためハザードが発生し、誤動作
する可能性がある。
This method can be applied when the cycle of the address and cell data is longer than the cycle of the clock. However, when the address and data cycles are shortened to be the same as the clock cycle due to the increase in the speed of the ATM switch as a whole, the control of the empty and closed states of the buffer becomes complicated, and the clock, write enable, and Since the read enable changes at the same time, a hazard may occur and a malfunction may occur.

【0006】本発明の目的は、データとクロックの周期
が等しい場合のバッファ制御の動作を可能にし、これに
よって高速化を実現することにある。
An object of the present invention is to enable a buffer control operation in the case where the data and the clock have the same cycle, and thereby realize a high speed operation.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するた
め、本発明では、書き込み及び読み出し動作を停止する
かわりに、クロックは常時バッファメモリに入力し、バ
ッファメモリの任意の特定アドレスをダミーアドレスと
して利用し、無効セルが入力されたとき、またはバッフ
ァが塞り状態のときに、ダミーアドレスにセルを書き込
むことでセルを廃棄する。また、バッファ内の有効なセ
ル数を計数するカウンタを設け、バッファの空きと塞り
状態を検知する。
In order to achieve the above object, in the present invention, instead of stopping the write and read operations, the clock is always input to the buffer memory and any specific address of the buffer memory is used as a dummy address. When an invalid cell is input or when the buffer is closed, the cell is discarded by writing the cell to the dummy address. In addition, a counter for counting the number of valid cells in the buffer is provided to detect the vacancy and blockage of the buffer.

【0008】[0008]

【作用】ライトクロックとリードクロックを停止させず
に無効セルはダミーアドレスに書き込むことで、クロッ
クを常時バッファメモリに入力したままで、無効セルの
廃棄が可能になる。また、バッファ内の有効なセルを計
数するカウンタを設けることで、クロックと同じ周期で
バッファの空きと塞り状態が検知できる。これより、バ
ッファメモリを高速に制御でき、バッファのオーバーフ
ロー時のセルの上書きによるバッファ内のセル廃棄を防
ぐことができる。
The invalid cell is written to the dummy address without stopping the write clock and the read clock, so that the invalid cell can be discarded while the clock is always input to the buffer memory. Further, by providing a counter that counts valid cells in the buffer, it is possible to detect the vacancy and clogging of the buffer at the same cycle as the clock. As a result, the buffer memory can be controlled at high speed, and it is possible to prevent cell discard in the buffer due to overwriting of cells when the buffer overflows.

【0009】[0009]

【実施例】図1はセルを蓄えるバッファメモリとバッフ
ァ制御回路の一実施例である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an embodiment of a buffer memory for storing cells and a buffer control circuit.

【0010】バッファ制御回路2は、書き込みアドレス
を指定する書き込みポインタ21,読み出しアドレスを
指定する読み出しポインタ22,書き込みポインタとセ
ル廃棄用のダミーアドレスのどちらか一方を選択し出力
するセレクタ23,バッファ制御回路に入力されるライ
トイネーブルとリードイネーブルを受信しバッファメモ
リの空きと塞りを判定するフラグ判定回路24,バッフ
ァメモリからの出力セルと空きセルのどちらか一方を選
択し出力するセレクタ25とから構成される。
The buffer control circuit 2 includes a write pointer 21 for designating a write address, a read pointer 22 for designating a read address, a selector 23 for selecting and outputting either the write pointer or a dummy address for cell discard, and buffer control. From a flag determination circuit 24 that receives a write enable and a read enable input to the circuit and determines whether the buffer memory is empty or full, and a selector 25 that selects and outputs either an output cell from the buffer memory or an empty cell. Composed.

【0011】セルがバッファメモリ1の端子DIに入力
されるのと同時に、フラグ判定回路24の端子WEには
セルに付加されたヘッダ部の情報に従って生成されるラ
イトイネーブルが入力される。セルのライトイネーブル
は“1”のとき有効、“0”のとき無効を表す。
At the same time that the cell is input to the terminal DI of the buffer memory 1, the write enable generated according to the information of the header portion added to the cell is input to the terminal WE of the flag determination circuit 24. The write enable of a cell is valid when "1" and invalid when "0".

【0012】フラグ判定回路24は、端子WEに“1”
が入力され、バッファメモリ1が塞り状態でないことを
判定すると、書き込みポインタ21と、セレクタ23の
端子S1に有効を示す“1”を出力する。
The flag determination circuit 24 puts "1" at the terminal WE.
When it is determined that the buffer memory 1 is not closed, the write pointer 21 and the terminal S1 of the selector 23 are output with "1" indicating validity.

【0013】書き込みポインタ21は、“1”が入力さ
れるごとに一つずつカウントアップし、“0”が入力さ
れている間はアドレス値を保持する。書き込みポインタ
の値はセレクタ23に出力される。
The write pointer 21 counts up one by one each time "1" is input, and holds the address value while "0" is input. The value of the write pointer is output to the selector 23.

【0014】セレクタ23は、端子S1に“1”が入力
されると、書き込みポインタ21から出力された書き込
みアドレスを選択し、バッファメモリ1の端子WAに出
力する。また端子S1に入力される信号が“0”のとき
には、バッファメモリ1の端子DIに入力されるセルは
無効なものとみなし、ダミーアドレス(例えば、バッフ
ァメモリ1の最上位アドレス)を選択し、端子WAに出
力する。バッファメモリ1は、端子WCに入力されるラ
イトクロックに同期して、端子WAから入力された書き
込みアドレスに端子DIから入力されたセルを書き込
む。これにより無効セルはダミーアドレスに書き込ま
れ、廃棄される。
When "1" is input to the terminal S1, the selector 23 selects the write address output from the write pointer 21 and outputs it to the terminal WA of the buffer memory 1. When the signal input to the terminal S1 is "0", the cell input to the terminal DI of the buffer memory 1 is regarded as invalid and a dummy address (for example, the highest address of the buffer memory 1) is selected. Output to the terminal WA. The buffer memory 1 writes the cell input from the terminal DI to the write address input from the terminal WA in synchronization with the write clock input to the terminal WC. As a result, the invalid cell is written to the dummy address and discarded.

【0015】フラグ判定回路24の端子REに入力され
るリードイネーブルは“1”のとき有効、“0”のとき
無効を表す。フラグ判定回路24は、端子REに“1”
が入力され、バッファ内に有効なセルがあると判定する
と、端子Q2から読み出しポインタ22と、セレクタ2
5の端子S2に“1”を出力する。
The read enable input to the terminal RE of the flag determination circuit 24 is valid when "1" and invalid when "0". The flag determination circuit 24 has "1" at the terminal RE.
Is input and it is determined that there is a valid cell in the buffer, the read pointer 22 from the terminal Q2 and the selector 2
5 outputs "1" to the terminal S2.

【0016】読み出しポインタ22は、“1”が入力さ
れるごとに一つずつカウントアップし、“0”が入力さ
れている間はカウントした値を保持する。カウントして
いる値は読み出しアドレスとして出力する。バッファメ
モリ1は、端子RCに入力されるリードクロックに同期
して、端子RAから入力された読み出しアドレスのセル
を端子DOから出力する。
The read pointer 22 counts up one by one each time "1" is input and holds the counted value while "0" is input. The counted value is output as a read address. The buffer memory 1 outputs the cell of the read address input from the terminal RA from the terminal DO in synchronization with the read clock input to the terminal RC.

【0017】セレクタ25は、端子S2に“1”が入力
されると、バッファメモリ1の端子DOから出力された
セルを選択し、出力する。また端子S2に入力される信
号が“0”のときには、バッファメモリ1の端子DOか
ら出力されるセルは無効なものとみなし、空きセルを選
択し、出力する。
When "1" is input to the terminal S2, the selector 25 selects the cell output from the terminal DO of the buffer memory 1 and outputs it. When the signal input to the terminal S2 is "0", the cell output from the terminal DO of the buffer memory 1 is regarded as invalid, and an empty cell is selected and output.

【0018】図2はフラグ判定回路24の一実施例であ
る。フラグ判定回路24は、バッファ内のセル数をカウ
ントするセルカウンタ241,セルカウンタ241の値
からバッファメモリ1の塞り状態を検出する塞り検出2
42,空き状態を検出する空き検出243,これらを制
御する動作モード判定244とから構成される。
FIG. 2 shows an embodiment of the flag judgment circuit 24. The flag determination circuit 24 detects a block state of the buffer memory 1 from the values of the cell counter 241 and the cell counter 241 that count the number of cells in the buffer.
42, a vacancy detection 243 for detecting a vacant state, and an operation mode determination 244 for controlling these.

【0019】セルカウンタ241は、動作モード判定2
44から入力される信号で動作し、バッファメモリ1に
蓄えられている有効なセルの数を常時カウントする。端
子Uに“1”が入力されるとセルカウンタ241は一つ
ずつカウントアップし、端子Dに“1”が入力されると
一つずつカウントダウンし、ともに“0”のときにはカ
ウントした値を保持する。
The cell counter 241 has an operation mode determination 2
It operates by the signal input from 44 and constantly counts the number of valid cells stored in the buffer memory 1. When "1" is input to the terminal U, the cell counter 241 counts up one by one, and when "1" is input to the terminal D, it counts down one by one, and when both are "0", the counted value is held. To do.

【0020】塞り検出242は、セルカウンタの端子Q
から出力される値がバッファメモリ1の容量と等しくな
ると動作モード判定244の端子Fに“1”を出力す
る。
The blockage detection 242 is performed by the terminal Q of the cell counter.
When the value output from the buffer memory 1 becomes equal to the capacity of the buffer memory 1, “1” is output to the terminal F of the operation mode determination 244.

【0021】空き検出243は、セルカウンタの端子Q
から出力される値が“0”になると動作モード判定24
4の端子Eに“1”を出力する。
The vacancy detection 243 is performed by the terminal Q of the cell counter.
When the value output from is 0, the operation mode is determined.
"1" is output to the terminal E of 4.

【0022】動作モード判定244は、端子FとEにと
もに“0”が入力されている場合、端子WEとREとも
に無効を表す“0”が入力されているときには、端子Q
1,Q2,Q3,Q4からは“0”を出力する。端子W
Eに“1”が入力されると、端子Q1とQ3から“1”
を出力し、セルカウンタ241の端子Uには“1”が入
力される。端子REに“1”が入力されると、端子Q2
とQ4からは“1”を出力し、セルカウンタ241の端
子Dには“1”が入力される。端子WEとREともに
“1”が入力されると、端子Q1とQ2からは“1”を
出力し、バッファメモリ1は有効なセルの書き込みと読
み出しを同時に行う。セルカウンタ241は値を保持し
たままである。
The operation mode determination 244 is such that when "0" is input to both terminals F and E, and when "0" indicating invalidity is input to both terminals WE and RE, terminal Q is detected.
“0” is output from 1, Q2, Q3 and Q4. Terminal W
When "1" is input to E, "1" is input from terminals Q1 and Q3.
Is output, and “1” is input to the terminal U of the cell counter 241. When "1" is input to the terminal RE, the terminal Q2
Then, “1” is output from Q4 and “1” is input to the terminal D of the cell counter 241. When "1" is input to both the terminals WE and RE, "1" is output from the terminals Q1 and Q2, and the buffer memory 1 simultaneously writes and reads valid cells. The cell counter 241 retains the value.

【0023】端子Fに“1”が入力されている場合、ラ
イトイネーブルに関係なく、端子Q1とQ3からは
“0”を出力する。また端子REに“1”が入力される
と、端子Q2とQ4からは“1”を出力する。
When "1" is input to the terminal F, "0" is output from the terminals Q1 and Q3 regardless of the write enable. When "1" is input to the terminal RE, the terminals Q2 and Q4 output "1".

【0024】端子Eに“1”が入力されている場合、リ
ードイネーブルに関係なく、端子Q2とQ4からは
“0”を出力する。また端子WEに“1”が入力される
と、端子Q1とQ3からは“1”を出力する。
When "1" is input to the terminal E, "0" is output from the terminals Q2 and Q4 regardless of the read enable. When "1" is input to the terminal WE, "1" is output from the terminals Q1 and Q3.

【0025】図3は図2の動作モード判定244を実現
するための一実施例であり、四つのインバータ素子24
41,2442,2443,2444、と四つのアンド
素子2445,2446,2447,2448の組合せ
論理で構成される。
FIG. 3 shows an embodiment for realizing the operation mode determination 244 of FIG.
41, 4442, 2443, 2444, and four AND elements 2445, 2446, 2447, 2448 are configured by combination logic.

【0026】図4は動作モード判定244の真理値表で
ある。
FIG. 4 is a truth table for the operation mode determination 244.

【0027】図5は、本発明におけるバッファ制御回路
を適用したスイッチシステムの一実施例である。
FIG. 5 shows an embodiment of a switch system to which the buffer control circuit of the present invention is applied.

【0028】スイッチシステムは、バッファメモリ1−
1〜1−n,バッファ制御回路2−1〜2−n,データ
多重3,アドレスフィルタ4,P/S5−1〜5−n、
から構成される。m個の回線から入力されたセルはデー
タ多重3で多重化され、n個のバッファメモリ1−1〜
1−nの端子DIに入力され、セルに付加されたヘッダ
部の情報はアドレスフィルタ4に入力される。アドレス
フィルタ4では、入力された有効なセルを書き込むべき
バッファメモリを選択するライトイネーブルを生成し、
バッファ制御回路2−1〜2−nのいずれかの端子WE
に出力する。バッファ制御回路2−1〜2−nは端子W
Eに入力されるライトイネーブルに従ってバッファメモ
リの端子WAにセルを書き込むべきアドレス番号を出力
し、バッファメモリ1−1〜1−nではそのアドレスに
端子DIから入力されたセルを書き込む。リードイネー
ブルは出力回線への出力タイミングに合わせて、ある一
定の間隔でバッファ制御回路2−1〜2−nの端子RE
に入力される。バッファ制御回路2−1〜2−nは、リ
ードイネーブルが入力されると、読み出すべきセルのア
ドレス番号をバッファメモリの端子RAに出力する。バ
ッファメモリ1−1〜1−nでは、端子RAから入力さ
れたアドレスに蓄えられているセルを端子DOから出力
する。出力されたセルはP/S5−1〜5−nで入力前
の元の形に戻され、各回線から出力される。
The switch system comprises a buffer memory 1-
1-1-n, buffer control circuits 2-1 to 2-n, data multiplexing 3, address filter 4, P / S 5-1 to 5-n,
Composed of. The cells input from the m lines are multiplexed by the data multiplexing 3, and the n buffer memories 1-1 to 1-1.
The information of the header portion added to the cell 1-n and added to the cell is input to the address filter 4. In the address filter 4, a write enable that selects the buffer memory in which the valid input cell is to be written is generated,
One of the terminals WE of the buffer control circuits 2-1 to 2-n
Output to. The buffer control circuits 2-1 to 2-n have terminals W
According to the write enable input to E, the address number at which the cell is to be written is output to the terminal WA of the buffer memory, and the buffer memories 1-1 to 1-n write the cell input from the terminal DI to that address. The read enable is provided at the terminals RE of the buffer control circuits 2-1 to 2-n at regular intervals in accordance with the output timing to the output line.
Entered in. When the read enable is input, the buffer control circuits 2-1 to 2-n output the address number of the cell to be read to the terminal RA of the buffer memory. In the buffer memories 1-1 to 1-n, the cell stored at the address input from the terminal RA is output from the terminal DO. The output cell is returned to the original form before input by P / S5-1 to 5-n and output from each line.

【0029】図6,図7はバッファ制御回路2の他の一
実施例である。
6 and 7 show another embodiment of the buffer control circuit 2.

【0030】フラグ判定回路24における空き検出24
3は、セルカウンタ241の端子Qから出力される値が
“0”になると動作モード判定244の端子Eと読み出
しポインタ22の端子Lに“1”を出力する。バッファ
制御回路2における読み出しポインタ22の端子Lに
“1”が入力されると端子DTから入力される書き込み
ポインタ21の値をロードすることで、書き込みポイン
タ21及び読み出しポインタ22とセルカウンタ241
との同期をとる。
Empty detection 24 in the flag determination circuit 24
3 outputs "1" to the terminal E of the operation mode determination 244 and the terminal L of the read pointer 22 when the value output from the terminal Q of the cell counter 241 becomes "0". When “1” is input to the terminal L of the read pointer 22 in the buffer control circuit 2, the value of the write pointer 21 input from the terminal DT is loaded, so that the write pointer 21, the read pointer 22 and the cell counter 241 are loaded.
Synchronize with.

【0031】[0031]

【発明の効果】本発明のバッファ制御回路では、書き込
み及び読み出し動作を停止するかわりに、バッファメモ
リの任意の特定アドレスをダミーアドレスとして利用
し、ダミー書き込み及びダミー読み出し動作を行うこと
により、書き込み及びリードクロックを常時バッファメ
モリに入力したままで無効セルの廃棄が可能になる。ま
た、クロックを停止することなくバッファメモリの動作
を制御するので、クロックを停止する場合のハザードの
発生及びバッファメモリの誤動作を防止することも可能
となる。そのため、メモリ周辺回路のクロック及びデー
タ周期を高速化でき、バッファメモリが塞り状態のとき
メモリ内の必要なデータに上書きすることを防止でき
る。
According to the buffer control circuit of the present invention, instead of stopping the write and read operations, any specific address of the buffer memory is used as a dummy address, and the dummy write and dummy read operations are performed to perform the write and read operations. Invalid cells can be discarded while the read clock is always input to the buffer memory. Further, since the operation of the buffer memory is controlled without stopping the clock, it is possible to prevent the occurrence of a hazard and the malfunction of the buffer memory when stopping the clock. Therefore, the clock and data cycle of the memory peripheral circuit can be speeded up, and it is possible to prevent the necessary data in the memory from being overwritten when the buffer memory is in the closed state.

【0032】また、バッファメモリ内のセル数をカウン
トすることによって、空きと塞り状態のフラグメントが
容易にできる。
Further, by counting the number of cells in the buffer memory, it is possible to easily make a fragment in a free state and a closed state.

【0033】また、バッファメモリが空き状態のときに
は、書き込みポインタの値を読み出しポインタにロード
することでセルカウンタと同期を取ることは、バッファ
メモリの全てのアドレスを満遍なく使用するので、メモ
リの全ビットに対して、均等にビットエラーの検知が行
える。
When the buffer memory is empty, the value of the write pointer is loaded into the read pointer to synchronize with the cell counter, since all the addresses of the buffer memory are used evenly, all bits of the memory are used. However, it is possible to detect bit errors evenly.

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

【図1】本発明の一実施例を示すATMスイッチのバッ
ファ制御回路のブロック図。
FIG. 1 is a block diagram of a buffer control circuit of an ATM switch showing an embodiment of the present invention.

【図2】図1のバッファ制御回路におけるフラグ判定回
路の一実施例のブロック図。
FIG. 2 is a block diagram of an embodiment of a flag determination circuit in the buffer control circuit of FIG.

【図3】図2のフラグ判定回路における動作モード判定
の一実施例の回路図。
3 is a circuit diagram of an embodiment of operation mode determination in the flag determination circuit of FIG.

【図4】図2のフラグ判定回路における動作モード判定
の動作真理値の説明図。
FIG. 4 is an explanatory diagram of an operation truth value for operation mode determination in the flag determination circuit of FIG.

【図5】本発明のバッファ制御回路を適用したATMス
イッチのブロック図。
FIG. 5 is a block diagram of an ATM switch to which the buffer control circuit of the present invention is applied.

【図6】本発明の一実施例を示すATMスイッチのバッ
ファ制御回路のブロック図。
FIG. 6 is a block diagram of a buffer control circuit of an ATM switch showing an embodiment of the present invention.

【図7】図6のバッファ制御回路におけるフラグ判定回
路の一実施例のブロック図。
7 is a block diagram of an embodiment of a flag determination circuit in the buffer control circuit of FIG.

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

1…バッファメモリ、2…バッファ制御回路、21…書
き込みポインタ、22…読み出しポインタ、23,25
…セレクタ、24…フラグ判定回路。
1 ... Buffer memory, 2 ... Buffer control circuit, 21 ... Write pointer, 22 ... Read pointer, 23, 25
... selector, 24 ... flag determination circuit.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 浅野 賢一 東京都小平市上水本町5丁目20番1号 日 立超エル・エス・アイ・エンジニアリング 株式会社内 (72)発明者 中村 勝 東京都国分寺市東恋ケ窪1丁目280番地 株式会社日立製作所中央研究所内 (72)発明者 藤田 利彦 神奈川県横浜市戸塚区戸塚町216番地 株 式会社日立製作所情報通信事業部内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Kenichi Asano 5-20-1 Kamimizuhonmachi, Kodaira-shi, Tokyo Inside Hitate Cho-LS Engineering Co., Ltd. (72) Inventor Masaru Nakamura Kokubunji, Tokyo 1-280, Higashi-Kengokubo, Ichi, Central Research Laboratory, Hitachi, Ltd. (72) Inventor Toshihiko Fujita, 216 Totsuka-cho, Totsuka-ku, Yokohama-shi, Kanagawa Stock company Hitachi Information & Communication Division

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】ヘッダ部と情報部からなる固定長のセルを
用いて、複数の入線と複数の出線間で通信情報を前記ヘ
ッダ部の情報に基づき交換するATMスイッチのバッフ
ァ制御回路において、セルを蓄えるバッファメモリの書
き込みアドレスを制御する書き込みポインタと、前記バ
ッファメモリの読み出しアドレスを制御する読み出しポ
インタと、前記書き込みポインタの出力または特定の固
定アドレスのどちらか一方を出力する第一のセレクタ
と、前記バッファメモリの空きと塞りの状態を判定し前
記書き込みポインタと前記読み出しポインタの動作を制
御するフラグ判定回路とを含み、前記バッファメモリの
書き込みと読み出しの動作を制御する上で、前記バッフ
ァメモリの前記特定の固定アドレスを廃棄用のダミーア
ドレスとして使用し、前記ダミーアドレスに廃棄するセ
ルを書き込むことを特徴とするバッファ制御回路。
1. A buffer control circuit of an ATM switch for exchanging communication information between a plurality of incoming lines and a plurality of outgoing lines based on the information of the header section by using a fixed-length cell composed of a header section and an information section, A write pointer that controls a write address of a buffer memory that stores cells, a read pointer that controls a read address of the buffer memory, and a first selector that outputs either the output of the write pointer or a specific fixed address. A buffer determining circuit that determines a free / empty state of the buffer memory and controls operations of the write pointer and the read pointer, and controls the write and read operations of the buffer memory. Use the specific fixed address of memory as a dummy address for discarding Buffer control circuit and writes the cell to be discarded to the dummy address.
【請求項2】請求項1において、前記バッファメモリの
出力または特定パターンの空きセルのどちらか一方を出
力する第二のセレクタを設けることで、前記バッファメ
モリ内に出力するセルが無いときとリードイネーブルが
無効を示すときには、前記空きセルを出力するバッファ
制御回路。
2. The method according to claim 1, wherein a second selector for outputting either the output of the buffer memory or the vacant cell of a specific pattern is provided to read when there is no cell to output in the buffer memory. A buffer control circuit that outputs the empty cell when enable indicates invalid.
【請求項3】請求項1において、前記フラグ判定回路内
に前記バッファメモリに蓄えられているセル数を計数す
るセルカウンタを設け、前記バッファメモリの空きと塞
りの状態を、前記セルカウンタの値で判定するバッファ
制御回路。
3. A cell counter for counting the number of cells stored in the buffer memory is provided in the flag determination circuit, and a free / closed state of the buffer memory is determined by the cell counter. Buffer control circuit that judges by value.
【請求項4】請求項1において、前記バッファメモリ内
に出力するセルが無いときに、書き込みポインタの値を
読み出しポインタにロードすることによって、前記セル
カウンタと前記書き込みポインタ及び前記読み出しポイ
ンタとの同期をとる手段を設けたバッファ制御回路。
4. The synchronization of the cell counter with the write pointer and the read pointer by loading the value of the write pointer into the read pointer when there is no cell to be output in the buffer memory. A buffer control circuit provided with a means for taking.
JP5263349A 1993-10-21 1993-10-21 Buffer control circuit Pending JPH07123094A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5263349A JPH07123094A (en) 1993-10-21 1993-10-21 Buffer control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5263349A JPH07123094A (en) 1993-10-21 1993-10-21 Buffer control circuit

Publications (1)

Publication Number Publication Date
JPH07123094A true JPH07123094A (en) 1995-05-12

Family

ID=17388243

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5263349A Pending JPH07123094A (en) 1993-10-21 1993-10-21 Buffer control circuit

Country Status (1)

Country Link
JP (1) JPH07123094A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6195361B1 (en) 1997-05-16 2001-02-27 Mitsubishi Denki Kabushiki Kaisha Network communication device
JP2006202265A (en) * 2004-12-21 2006-08-03 Denso Corp Microcomputer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6195361B1 (en) 1997-05-16 2001-02-27 Mitsubishi Denki Kabushiki Kaisha Network communication device
JP2006202265A (en) * 2004-12-21 2006-08-03 Denso Corp Microcomputer

Similar Documents

Publication Publication Date Title
US4486854A (en) First-in, first-out memory system
US5587953A (en) First-in-first-out buffer memory
US4115855A (en) Buffer memory control device having priority control units for priority processing set blocks and unit blocks in a buffer memory
JP2572292B2 (en) Asynchronous data transmission device
US4873667A (en) FIFO buffer controller
KR910003382B1 (en) Semiconductor memory device with register
US6112268A (en) System for indicating status of a buffer based on a write address of the buffer and generating an abort signal before buffer overflows
KR100194634B1 (en) Error detection and automatic recovery of read-write pointers on a first-in first-out
JPH07123094A (en) Buffer control circuit
US7392354B1 (en) Multi-queue FIFO memory devices that support a backed-off standard mode of operation and methods of operating same
JP2873229B2 (en) Buffer memory controller
JP2746284B2 (en) OAM cell insertion device
US20020145995A1 (en) Address release method, and common buffering device for atm switching system which employs the same method
US5732011A (en) Digital system having high speed buffering
US6831920B1 (en) Memory vacancy management apparatus and line interface unit
US4771402A (en) Address comparator
EP0789363B1 (en) Memory system and data communications system
JP2604482B2 (en) FIFO register
JP3371278B2 (en) Shared buffer type switch section
JPH0795204A (en) VCC table access method and virtual channel converter
US20050128834A1 (en) Data transfer circuit having collision detection circuit
JP2536721B2 (en) Alarm collection circuit
JP3075898B2 (en) Anomaly detection system for FIFO memory capacity
SU1728863A1 (en) Device for handling requests
JP2577834B2 (en) Buffer memory device