JPH03123238A - Common buffer type switch - Google Patents
Common buffer type switchInfo
- Publication number
- JPH03123238A JPH03123238A JP1261505A JP26150589A JPH03123238A JP H03123238 A JPH03123238 A JP H03123238A JP 1261505 A JP1261505 A JP 1261505A JP 26150589 A JP26150589 A JP 26150589A JP H03123238 A JPH03123238 A JP H03123238A
- Authority
- JP
- Japan
- Prior art keywords
- address
- common buffer
- addresses
- buffer
- read
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000001514 detection method Methods 0.000 claims abstract description 13
- CIWBSHSKHKDKBQ-JLAZNSOCSA-N Ascorbic acid Chemical compound OC[C@H](O)[C@H]1OC(=O)C(O)=C1O CIWBSHSKHKDKBQ-JLAZNSOCSA-N 0.000 abstract description 13
- 230000000694 effects Effects 0.000 abstract description 3
- 230000015654 memory Effects 0.000 description 128
- 210000004027 cell Anatomy 0.000 description 72
- 238000010586 diagram Methods 0.000 description 19
- 238000000034 method Methods 0.000 description 7
- 230000008439 repair process Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000000717 retained effect Effects 0.000 description 2
- 235000017166 Bambusa arundinacea Nutrition 0.000 description 1
- 235000017491 Bambusa tulda Nutrition 0.000 description 1
- 241001330002 Bambuseae Species 0.000 description 1
- 101100336279 Caenorhabditis elegans icl-1 gene Proteins 0.000 description 1
- 235000015334 Phyllostachys viridis Nutrition 0.000 description 1
- 239000011425 bamboo Substances 0.000 description 1
- 230000032677 cell aging Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 230000001351 cycling effect Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 210000005260 human cell Anatomy 0.000 description 1
- 230000007480 spreading Effects 0.000 description 1
- FBWNMEQMRUMQSO-UHFFFAOYSA-N tergitol NP-9 Chemical compound CCCCCCCCCC1=CC=C(OCCOCCOCCOCCOCCOCCOCCOCCOCCO)C=C1 FBWNMEQMRUMQSO-UHFFFAOYSA-N 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Use Of Switch Circuits For Exchanges And Methods Of Control Of Multiplex Exchanges (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、非同期転送モード(△rM)を用いたスイッ
チ装置あるいはセル多重装置等に適用される共通バッフ
ァ型スイッチに係り、詳しくは、入力ポートと出力ポー
トと共通バッファとを備えると共に、入力ポートから入
力されるセルを記憶すべき共通バッノ?の未使用アドレ
スを管理する未使用アドレス管理手段と、セルの記憶さ
れた共通バッファの使用アドレスを管理する使用アドレ
ス管理手段とを備え、未使用アドレス管理手段から与え
られる共通バッファの未使用アドレスに入力ポートから
入力されるセルを記憶し、使用アドレス管理手段から与
えられる共通バッファの使用アドレスからセルを読出し
て所定の出力ポートに供給することにより入出力ポート
間でのスイッチ動作を行なう共通バッファ型スイッチに
関する。[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a common buffer type switch applied to a switching device or a cell multiplexing device using an asynchronous transfer mode (△rM). A common buffer that includes a port, an output port, and a common buffer, and that stores cells input from the input port? unused address management means for managing the unused addresses of the common buffer stored in the cell; and used address management means for managing the used addresses of the common buffer stored in the cell; A common buffer type that stores cells input from an input port and performs switching operations between input and output ports by reading cells from the common buffer's usage address given by usage address management means and supplying them to a predetermined output port. Regarding switches.
従来の共通バッファ形スイッチの第一の例を第9図に示
す(引用文献: Jean−Pierre C0UOR
EUSEand Hichel 5ERVEL PRE
LUDE:AN ASVNCI−IRQNOUSFIN
E−01VISION S旧TCH[011ETWOR
に” IEEE Inter −national c
onrerence on C0IIIltlniCa
tiOn& ’ 87 :Com1unication
−Sound to Light、Proceedin
gspp、 769−773 vol、2)。A first example of a conventional common buffer type switch is shown in FIG. 9 (Citation: Jean-Pierre C0UOR
EUSEand Hichel 5ERVEL PRE
LUDE:AN ASVNCI-IRQNOUSFIN
E-01VISION S old TCH [011ETWOR
” IEEE Inter-national c
onrerence on C0IIIltlniCa
tiOn&'87: Communication
-Sound to Light, Proceedin
gspp, 769-773 vol, 2).
この例では、入力ポート数と出力ポート数は等しく、そ
れぞれ4の場合を示す。符5Sil〜i4は入力ポート
1〜4を示し、各入力ポートから同時刻にセルicl〜
ic4がブロック分割部80に入力される。セルは、入
力ポート数と同数の均等なブロックに分割されて処理さ
れる。従って、第9図では4分割される。セルの先頭か
ら順に第1、第2.第3.第4ブロツクと呼ぶことにし
、iclにおける10+ 、102.103.104の
ごとく表し、各ブロックの時刻は1+j(1−0,1,
2,3,j=0.1.2.3.4.5゜6)で表す。以
下の記述において時刻の単位はこの1ブロック分の時間
を1とする。また、各部の人出力ポートはことわりのな
いかぎり図中上から下へポート1.2.3.4と表す。In this example, the number of input ports and the number of output ports are equal, each being four. Reference characters 5Sil to i4 indicate input ports 1 to 4, and cells icl to i4 are input from each input port at the same time.
ic4 is input to the block dividing section 80. A cell is divided into equal blocks of the same number as the number of input ports and processed. Therefore, in FIG. 9, it is divided into four parts. 1st, 2nd, etc. in order from the beginning of the cell. Third. We will call it the fourth block and represent it as 10+, 102.103.104 in icl, and the time of each block is 1+j (1-0, 1,
2, 3, j = 0.1.2.3.4.5°6). In the following description, the unit of time is the time for one block. In addition, unless otherwise specified, the human output ports of each part are expressed as ports 1, 2, 3, and 4 from top to bottom in the figure.
ブロック分前部80の構成を第10図に示す。第10図
では入力ポートは上からポート1.2.3,4.出力ポ
ートは上からポート4.3,2.1である。符号90−
1〜90−3はそれぞれ1.2.3ブロック分の遅延を
与える遅延回路、符号91はバレルシフタを示す。第1
0図にバレルシフタの一巡の入力ポートと出力ポートの
接続関係の変化を示す。The configuration of the block front portion 80 is shown in FIG. In FIG. 10, the input ports are ports 1, 2, 3, 4, . . . from the top. The output ports are ports 4.3 and 2.1 from the top. Code 90-
Delay circuits 1 to 90-3 each provide a delay of 1.2.3 blocks, and 91 represents a barrel shifter. 1st
Figure 0 shows changes in the connection relationship between the input and output ports of the barrel shifter.
接続関係は4ブロック時間で一巡し、その4つの接続関
係をそれぞれ時間順に第10図(a)。The connection relationships go through one cycle every four blocks of time, and the four connection relationships are shown in chronological order in FIG. 10(a).
(b)、(C)、(d)に示す。入力セルiclに対し
て入力セルic2.tc3.ic4はそれぞれ遅延回路
90−1−90−3により110ツク分、2ブロック分
、3ブロック分の遅延を与えられ、その後バレルシフタ
91により各セルの第1、第2.第3.第470ツクは
それぞれブロック分割部80の出力ポート1,2,3.
4に出力される。−例としてiC2を取り上げると、i
clの第1ブロツク10+が時刻tnに出力されるので
それより170ツク分遅れて、第1ブロツク20+は時
刻toにブロック分割部80の出力ポート1に、第2ブ
ロツク202は時刻しりに出力ポート2に、第3ブロツ
クは203は時刻tI3に出力ポート3に、第4ブロツ
ク204は時刻tI4に出力ポート4にそれぞれ出力さ
れる。したがって、ブロック分割部80の出力ポート1
〜4には同時刻に各入力ポートから入力されたセルの第
1〜第4ブロツクの集合ibl〜ib4が1ブロック分
ずつ時刻がずれて出力される。共通バッファ82はブロ
ック分甥数と等しいr1〜r4の4つのRAMメモリか
ら構成され、それぞれに第1〜第4ブロツクが記憶され
る。書き込みアドレス修復手段83は共通バッファ82
を構成するRAMメモリの全アドレス(第9図における
0〜n)を−巡とするサイクリックカウンタで構成され
ており、1ブロック時間に1ずつカウントアツプする。Shown in (b), (C), and (d). Input cell ic2. tc3. ic4 is given a delay of 110 blocks, 2 blocks, and 3 blocks by delay circuits 90-1 to 90-3, respectively, and then the barrel shifter 91 applies the first, second, . Third. The 470th ports are output ports 1, 2, 3, . . . of the block dividing section 80, respectively.
4 is output. - Taking iC2 as an example, i
Since the first block 10+ of cl is output at time tn, 170 blocks later, the first block 20+ is output to the output port 1 of the block division unit 80 at time to, and the second block 202 is output to the output port at the same time. 2, the third block 203 is output to output port 3 at time tI3, and the fourth block 204 is output to output port 4 at time tI4. Therefore, output port 1 of block dividing section 80
4, a set ibl-ib4 of the first to fourth blocks of cells input from each input port at the same time is outputted with a time shift of one block. The common buffer 82 is composed of four RAM memories r1 to r4, which are equal to the number of blocks, and each of them stores the first to fourth blocks. The write address restoration means 83 uses the common buffer 82
It is composed of a cyclic counter that cycles through all addresses (0 to n in FIG. 9) of the RAM memory constituting the block, and counts up by 1 every block time.
このカウンタの値をRAMメモリへの書き込みアドレス
として、共通バッファ82を構成するRAMメモリr1
〜r4に同時に与える。ある時刻τにibl中のブロッ
ク40+が共通バッファに入力され、その時刻に書き込
みアドレス$り帥部83からアドレス“23″が与えら
れたとすると、RAMメモリr1〜r4のアドレス“2
3”にはそれぞれブロック40+ 、30z 、203
。The value of this counter is used as the write address to the RAM memory, and the RAM memory r1 that constitutes the common buffer 82 is
-Give to r4 at the same time. Suppose that block 40+ in ibl is input to the common buffer at a certain time τ, and address "23" is given from the write address $ controller 83 at that time.
3” has blocks 40+, 30z, and 203, respectively.
.
104が書き込まれる。iclを構成するブロック10
1〜104に注目すると、時刻(τ−3)にはRAMメ
モリr1のアドレス“20”に入力セルiclの第1ブ
ロツク10+が、時刻(τ2)にはRAMメモリr2の
アドレス“21”に第270ツク102が、時刻(τ−
1)にはRAMメモリr3のアドレス“22′″に第3
ブロツク103が、時刻τにはRAMメモリr4のアド
レス“23”に第4ブロツク104が書き込まれる。104 is written. Block 10 constituting icl
1 to 104, the first block 10+ of the input cell ICL is placed at address “20” of RAM memory r1 at time (τ-3), and the first block 10+ of input cell ICL is placed at address “21” of RAM memory r2 at time (τ2). 270 Tsuku 102 is the time (τ-
1), the third
Block 103 is written to address "23" of RAM memory r4 at time τ, and fourth block 104 is written to address "23" of RAM memory r4.
すなわち、入力セルの第1ブロツクがRAMメモリr1
のアドレス“a ”に1き込まれたとすると、第2.第
3.第4ブロツクはそれぞれRAMメモ’Jr2.r3
.r4のアドレス“a+1”、“a+2パa −) 3
”に書き込まれる。一方、第1ブロツクを1き込んだR
AMメモリr1のアドレスはアドレス記憶部84に送ら
れ、出力ポート読み取り部81でその第1ブロツクから
読みだした出力ポート番号によってアドレス振り分は部
85により該当するノア−ストイン・ファーストアウド
動作するメモリ(以下ではFIFOメモリと表す)に振
り分けられて記憶される。符号f1〜f4はそれぞれ出
力ポート01〜o4に対応するアドレス記憶用FIFO
メモリを示す。したがって、入力セルiclが出力ポー
ト03に出力されるとすると、第110ツク10+ を
書き込んだRAMメモリr1のアドレス“20″はアド
レス記憶部84のFIFOメモリr3に記憶される。That is, the first block of input cells is in the RAM memory r1.
If 1 is written to the address "a" of the second . Third. The fourth block is RAM memo 'Jr2. r3
.. r4 address “a+1”, “a+2 pa-a-) 3
”. On the other hand, the R
The address of the AM memory r1 is sent to the address storage section 84, and according to the output port number read from the first block by the output port reading section 81, the address is allocated by the section 85 to the memory that operates in the corresponding north-first-in-first-out mode. (hereinafter referred to as FIFO memory) and stored. Symbols f1 to f4 are address storage FIFOs corresponding to output ports 01 to o4, respectively.
Indicates memory. Therefore, if the input cell icl is output to the output port 03, the address "20" of the RAM memory r1 into which the 110th check 10+ has been written is stored in the FIFO memory r3 of the address storage section 84.
共通バッファ82からの読み出しアドレスは、アドレス
読み出し部86から与えられる。アドレス読み出し部8
6はFIFOメモリ「1〜f4の順にサイクリックに1
ブロック時間に1つずつアドレスを読み出す。読みださ
れたアドレスを“a”とすると、まず共通バッファ82
のRAMメモリr1のアドレス“a”から第1ブロツク
が読みだされる。その1ブロック時間後にアドレス“a
″はアドレス加鐸部87−1で1加算されRAMメモリ
r2のアドレス″a+1”から第2ブロツクが読みださ
れる。さらにその1ブロツクvR門後にアドレス“a+
1”はアドレス加算部87−2で1加算されRAMメモ
リr3のアドレス″a+2”から第3ブロツクが読みだ
される。最後にその1ブロック時間後にアドレス“a+
2”はアドレス加算部87−3で1加算されRAMメモ
リr4のアドレス“a+3”から第4ブロツクが読み出
される。第9図により説明すると、時刻t21にFIF
Oメモリr2からアト0ス“22″が読みだされたとす
ると、時刻t21にRAMメモリr1のアドレス″22
″から第1ブロツク301が読みだされ、時刻t22に
RAMメモリr2のアドレス“23″から第2ブロツク
302が読みだされ、時刻t23にRAMメモリr3の
アドレス“24″から第3ブロツク303が読みだされ
、時刻t 24にRAMメモリr4のアドレス“25”
から第4ブロツク304から読みだされる。上述のよう
にしであるセルを構成する第1.第2.第3.第4ブロ
ツクはそれぞれ1ブロック時間ずつ遅れて共通バッファ
82の出力ポート1〜4に出力される。The read address from the common buffer 82 is given from an address reading section 86. Address reading section 8
6 is a FIFO memory "1 to f4 cyclically
Read addresses one by one at block time. If the read address is “a”, first the common buffer 82
The first block is read from address "a" of RAM memory r1. One block time later, the address “a”
'' is incremented by 1 in the address adder 87-1, and the second block is read from the address ``a+1'' of the RAM memory r2.Furthermore, after that 1 block vR, the address ``a+'' is added.
1" is added by 1 in the address adder 87-2, and the third block is read from the address "a+2" of the RAM memory r3. Finally, one block time later, the address "a+2" is read out.
2" is added by 1 in the address adder 87-3, and the fourth block is read from the address "a+3" of the RAM memory r4. To explain with reference to FIG. 9, at time t21, the FIF
Assuming that the address "22" is read from the O memory r2, the address "22" of the RAM memory r1 is read out at time t21.
The first block 301 is read from address "23" of RAM memory r2 at time t22, and the third block 303 is read from address "24" of RAM memory r3 at time t23. Then, at time t24, address “25” of RAM memory r4
The data is read out from the fourth block 304. The first cell forming the cell as described above. Second. Third. The fourth block is outputted to output ports 1 to 4 of the common buffer 82 with a delay of one block time.
すなわち、共通バッファ82の出力ポート1〜4にはそ
れぞれ第1〜第4ブロツクの集合ob1〜ob4が出力
される。Ob1〜Ob4はブロック結合部88に入力さ
れる。ブロック結合部88の構成を第11図に示す。第
11図では、入力ポートは上からポート1.2.3,4
.出力ポートは上から4.3.2.1である。ブロック
分割部と@罹のバレルシフタとそれぞれ3,2.1ブロ
ック分の遅延を与える遅延回路10−1.10−3によ
り構成される。各ブロックはバレルシフタ91により対
応する出力ポートに接続され、第1〜第4ブロツクが結
合されてセルの形態に戻され、遅延回路10−1〜10
−3により出力ポート間でずれているセルの先頭時刻を
あわせて出力ポートに出力される。That is, sets ob1 to ob4 of the first to fourth blocks are output to output ports 1 to 4 of the common buffer 82, respectively. Ob1 to Ob4 are input to the block combining section 88. The configuration of the block combining section 88 is shown in FIG. In Figure 11, the input ports are ports 1, 2, 3, and 4 from the top.
.. The output ports are 4.3.2.1 from the top. It is composed of a block dividing section, a barrel shifter, and delay circuits 10-1 and 10-3 that provide delays of 3 and 2.1 blocks, respectively. Each block is connected to a corresponding output port by a barrel shifter 91, and the first to fourth blocks are combined and returned to the cell form, and the delay circuits 10-1 to 10-10
-3, the leading times of the cells that are different between the output ports are combined and output to the output ports.
前記RAMメモリへの書き込み、及び読み出しは1ブロ
ック時間にそれぞれ1回行われる。Writing to and reading from the RAM memory is performed once per block time.
前述のようにして共通バッファを利用した任意の入力ポ
ートから任意の出力ポートへのスイッチ動作が行なわれ
る。As described above, a switching operation from an arbitrary input port to an arbitrary output port is performed using the common buffer.
従来の共通バッファ形スイッチの第二の例を第12図に
示す(引用文献:遠藤界、小崎尚彦、櫻井義人、郷原忍
“A1M交換アーキテクチャの一提案”、信学技報S
S E 88−56 01)、37−421988)。A second example of the conventional common buffer type switch is shown in Fig. 12 (References: Kai Endo, Naohiko Ozaki, Yoshito Sakurai, Shinobu Gohara "A Proposal of A1M Switching Architecture", IEICE Technical Report S
SE 88-56 01), 37-421988).
この例では、入力ポート数4.出力ポート数4の場合を
示す。符号110は共通バッファに接続する入力ポート
を選択する入力選択部、符号111は次回読み出しを行
うアドレスを記憶するアドレスチェーン記憶部、符号1
12はセルデータを記憶する共通セルバッファ部、符@
113は共通セルバッファから読みだしたセルを該当す
る出力ポートに接続する出力選択部、符号114は出力
ポート別に次回書き込みアドレスを保持する書き込みア
ドレス保持部、wp1〜wp4はそれぞれ出力ポート0
1〜04に対応する占き込みアドレスポインタ、符号1
15は出力ポート別に次回読み出しアドレスを保持する
読み出しアドレス保持部、rp1〜rf)4はそれぞれ
出力ポートOr〜04に対応する読み出しアドレスポイ
ンタ、符号116は共通セルバッフ7部112の空きア
ドレスを保持する空きアドレスバッファを示す。In this example, the number of input ports is 4. The case where the number of output ports is 4 is shown. Reference numeral 110 is an input selection unit that selects an input port connected to the common buffer; reference numeral 111 is an address chain storage unit that stores an address to be read next; reference numeral 1
12 is a common cell buffer section for storing cell data, and the symbol @
113 is an output selection unit that connects the cell read from the common cell buffer to the corresponding output port, 114 is a write address holding unit that holds the next write address for each output port, and wp1 to wp4 are output ports 0, respectively.
Fortune-telling address pointer corresponding to 1 to 04, code 1
15 is a read address holding unit that holds the next read address for each output port, rp1 to rf) 4 is a read address pointer corresponding to the output port Or to 04, respectively, and 116 is an empty space that holds the empty address of the common cell buffer 7 section 112. Indicates address buffer.
入力ポートから入力されたセルから出力ポート読み取り
部81でその出力光を読み取り、その出力ポートに対応
するよき込みアドレスポインタ“a”を1き込みアドレ
ス保持部114から読み出し、共通セルバッファ部11
2のアドレス゛′a″にセルを1き込む、また、空きア
ドレスバツフ7116から空きアドレスを1つ読み出し
、そのアドレスを1き込みアドレス保持部114の竹記
アドレス“a”を読みだした書き込みアドレスポインタ
に保持すると共にアドレスチ工−ン記憶部111のアド
レス“a″に記憶しアドレスチェーンを構成する。今、
入力ポート12から出力ポートo1に接続されるセルが
入力されたとすると、出力ポート01に対応する書き込
みアドレス保持部114の1き込みアドレスポインタW
DIにしたがってセルは共通セルバッファ112のアド
レス“3″に書き込まれ、空きアドレスバツフ7116
からアドレス“6”が読みだされ、wplに“6”を書
き込み、また、アドレスチェーン記憶部111のアドレ
ス“3″にアドレス“6”が占き込まれる。読み出しア
ドレス保持部115には出力ポート毎に形成されたアド
レスチェーンの最も古い時点のアドレスが保持されてお
り、このアドレスにしたがってセルが該当する出力ポー
トに読みだされる。また、セルを読みだした後、アドレ
スチェーン記憶部111のそのセルを読みだしたアドレ
スから次回読み出すアドレスを読み出し、読み出しアド
レス保持部に保持する。また、セルを読みだしたアドレ
スは空き状態になるので空きアドレスパツ77116に
記憶する。出力ポート03にセルを読み出すと、すると
rp3よりアドレス“4”を読み出し、共通セルバフフ
ッ部112のアドレス“4”から読み出し出力ポート0
3に出力する。また、アドレスチェーン記憶部111の
アドレス“4”から次回読み出すアドレス“9′を読み
出してrp3に記憶する。また、アドレス“4″は空き
アドレスとなるため空きアドレスバッファ116に記憶
する。The output port reading section 81 reads the output light from the cell input from the input port, reads out the read address pointer "a" corresponding to the output port from the read address holding section 114, and reads out the read address pointer "a" corresponding to the output port from the read address holding section 114.
Writing 1 cell into address ``a'' of 2, and reading 1 empty address from the empty address buffer 7116 and writing that address into 1. Writing by reading the bamboo register address ``a'' of the address holding unit 114. It is stored in the address pointer and stored in the address "a" of the address chain storage section 111 to form an address chain.
If a cell connected to output port o1 is input from input port 12, write address pointer W of write address holding unit 114 corresponding to output port 01
According to DI, the cell is written to address “3” of the common cell buffer 112, and the empty address buffer 7116
Address "6" is read from address "6", "6" is written to wpl, and address "6" is written to address "3" of address chain storage section 111. The read address holding unit 115 holds the oldest address of the address chain formed for each output port, and cells are read out to the corresponding output port according to this address. Further, after reading a cell, the next address to be read is read from the address from which the cell was read in the address chain storage unit 111, and is held in the read address holding unit. Furthermore, since the address from which the cell was read becomes vacant, it is stored in the vacant address pad 77116. When a cell is read to output port 03, address “4” is read from rp3, and read from address “4” of common cell buffer section 112 to output port 0.
Output to 3. Further, address “9” to be read next time is read from address “4” of address chain storage unit 111 and stored in rp3. Address “4” is also a free address, so it is stored in free address buffer 116.
上述した従来の共通バッファ壁スイツチの第一の例では
、書き込みアドレスはカウンタにより周期的に与えられ
、読み出しアドレスは出力ポートによりランダムに与え
られるため、書き込みアドレスが一巡するまでに読みだ
しが完了している必要があり、必要なメモリ量より余分
なメモリを設ける必要があるという不具合がある。ある
いは、読み出しが行なわれる前に書き込みアドレスが巡
回してきて上書きをしてしまい、セル廃棄を起こすとい
う不具合がある。また、異なるRAMメモリの同一アド
レスには入力ポートの異なるセルの10ツクが同詩に1
き込まれるため、入力セルの無いポートが存在してもそ
のアドレスに無効なデータを1き込む必要がありメモリ
の無駄を生じるという不具合がある。すなわち、ハード
的には同一メモリを全ポートが共通に使用しているが論
理的にはメモリ量は均等に入力ポートに削り当てられて
いるため、入力ポート別に異なるメモリを設けているこ
とと等価であり、完全な共通バッファになっていない。In the first example of the conventional common buffer wall switch described above, the write address is given periodically by the counter and the read address is given randomly by the output port, so the readout is completed before the write address goes around. There is a problem in that it is necessary to provide more memory than the required amount of memory. Alternatively, there is a problem in that the write address circulates and overwrites the data before reading is performed, causing cell discard. In addition, 10 cells of different input ports are stored in the same address in different RAM memories.
Therefore, even if there is a port without an input cell, it is necessary to write one invalid data to that address, resulting in a waste of memory. In other words, although hardware-wise the same memory is commonly used by all ports, logically the amount of memory is allocated evenly to the input ports, so it is equivalent to providing different memory for each input port. Therefore, it is not a complete common buffer.
上述した従来の共通のバッファ型スイッチの第二の例で
は完全な共通バック7にはなっているが、アドレスがチ
ェーンになっているため1つでも誤りが発生すると連鎖
的に波及し、正常状態に復帰しないという不具合がある
。In the second example of the conventional common buffer type switch mentioned above, it is a complete common back 7, but since the addresses are in a chain, if even one error occurs, it will spread in a chain reaction and the normal state will be affected. There is a problem that it does not return to .
そこで、本発明の課題は、完全な共通バッファを維持し
つつ、アドレスに誤りが生じた場合に、その誤りが他の
アドレスに波及しないようにし、全体のスイッチ作動に
支障をきたさないようにすることである。Therefore, an object of the present invention is to maintain a complete common buffer while preventing the error from spreading to other addresses when an error occurs in an address, thereby preventing the overall switch operation from being affected. That's true.
本発明は、第1図(a)、(b)に示すような構成とな
る。入力ポート1と出力ポート3と共通バッファ2とを
備えると共に、入力ポート1から入力されるセルCを記
憶すべき共通バッファ2の未使用アドレスを管理する未
使用アドレス管理手段4と、セルCの記憶された共通バ
ッファ2の使用アドレスを管理する使用アドレス管理手
段5とを備え、未使用アドレス管理手段4から与えられ
る共通バッファ2の未使用アドレスに入力ポート1から
人力されるセルCを記憶し、使用アドレス管理手段5か
ら与えられる共通バッファ2の使用アドレスからヒルC
8読出して所定の出力ポートに供給することにより入出
力ポート1.3間でのスイッチ動作を行なう共通バック
7型スイツチを前提としており、当該共通バッファ型ス
イッチにおいて、上記課題を解決するための技術的手段
は、第1図(a)に示すように、上記未使用アドレス管
理手段4が、入力ポート1から入力されるセルCに対し
て共通バッファ2の未使用アドレスを共通に管理するも
のとなると共に、上記使用アドレス管理手段5が、共通
バッファ2の使用アドレスを、そのアドレスに記憶され
ているセルCの出力すべき態様に応じて管理するものと
なり、共通バッファ2の各アドレスについて、そのアド
レスが管理される手段を示す識別fを記憶する識別子記
憶手段6と、共通バッファ2のアクセスに際し、そのア
ドレスを実際に管理している手段と識別子記憶手段6内
の当該アドレスに対応した識別子とのと比較によりアド
レスの誤りを検出するアドレス誤り検出手段7と、アド
レス誤り検出手段7がアドレスの誤りを検出したときに
、その誤りアドレスの使用を禁止するアドレス廃棄手段
8とを備えたものである。The present invention has a configuration as shown in FIGS. 1(a) and 1(b). Unused address management means 4 includes an input port 1, an output port 3, and a common buffer 2, and manages unused addresses of the common buffer 2 that is to store the cell C input from the input port 1; A used address management means 5 for managing the stored used addresses of the common buffer 2, and a cell C manually inputted from the input port 1 is stored at an unused address of the common buffer 2 given from the unused address management means 4. , hill C from the used address of the common buffer 2 given from the used address management means 5
This assumes a common back 7-type switch that performs switching operations between input and output ports 1 and 3 by reading data from 8 and supplying it to a predetermined output port. As shown in FIG. 1(a), the unused address management means 4 commonly manages the unused addresses of the common buffer 2 for the cell C input from the input port 1. At the same time, the used address management means 5 manages the used address of the common buffer 2 according to the output mode of the cell C stored at that address, and for each address of the common buffer 2, An identifier storage means 6 that stores an identification f indicating a means by which an address is managed, a means that actually manages the address when accessing the common buffer 2, and an identifier corresponding to the address in the identifier storage means 6. The address error detecting means 7 detects an error in the address by comparing it with the address error, and the address discarding means 8 prohibits the use of the erroneous address when the address error detecting means 7 detects an error in the address. be.
上記使用アドレス管理手段5における管理の基礎となる
記憶されているセルCの出力すべきB様とは、具体的に
は、出力すべき出力ポート3あるいは予め定めた出力順
序の優先度等そのスイッチの目的に応じて任意に定めら
れる。Specifically, Mr. B to whom the stored cell C should be output, which is the basis of management in the use address management means 5, refers to the output port 3 to which the output is to be made, or the priority of the predetermined output order, etc. It is determined arbitrarily depending on the purpose.
また、誤りアドレスが増加した場合に、使用可能なアド
レスの単純な減少を防止してより適正なスイッチ作動を
保証する観点から、第1図(b)に示すように、上記構
成に加わえ、アドレス廃棄手段8での使用禁止により欠
落したアドレスについて誤り前のアドレスを検索し、復
元するアドレス修復手段9を備えたものとなる。Furthermore, in order to prevent a simple decrease in the number of usable addresses and ensure more appropriate switch operation when the number of erroneous addresses increases, as shown in FIG. 1(b), in addition to the above configuration, The apparatus is equipped with an address restoration means 9 for searching for and restoring the address before the error with respect to an address that has been lost due to prohibition of use by the address discarding means 8.
入力ポート1から人力されるセルCが未使用アドレス管
理手段4から与えられる共通バック72の未使用アドレ
スに記憶され、使用中となったそのアドレスは使用アド
レス管理手段5にて管理されるようになる。そして、使
用アドレス管理手段5から与えられる共通バック?2の
使用アドレスからセルCが読出され、そのセルCが所定
の出力ポート3から出力される。この共通バッファ2か
らのセルCの読出しにより、未使用中となったアドレス
は未使用アドレス管理手段4での管理に移される。この
ようにして共通バッファ2のアドレスが未使用アドレス
管理手段4と使用アドレス管理手段5との間で巡回され
て共通バッファ2が管理され、それにより入出力ポート
1,3間でのスイッチ動作がなされる。The cell C manually entered from the input port 1 is stored in an unused address of the common bag 72 given from the unused address management means 4, and the address that is in use is managed by the used address management means 5. Become. And the common back given from the used address management means 5? The cell C is read from the used address No. 2, and the cell C is output from a predetermined output port 3. By reading the cell C from the common buffer 2, the unused address is transferred to the unused address management means 4. In this way, the common buffer 2 is managed by circulating the address of the common buffer 2 between the unused address management means 4 and the used address management means 5, thereby controlling the switching operation between the input/output ports 1 and 3. It will be done.
上記スイッチ動作の過程で、識別子記憶手段6は共通バ
ッファ2の各アドレスについて、そのアドレスが管理さ
れる手段を示す識別子を記憶する。In the process of the above switch operation, the identifier storage means 6 stores, for each address in the common buffer 2, an identifier indicating the means by which that address is managed.
そして、共通バッファ2のアクセスに際し、アドレス誤
り検出手段7が共通バッファ2のアクセスされたアドレ
スを実際に管理している手段と、上記識別子記憶手段6
内の当該アドレスに対応した識別子との比較によりアド
レスの誤りを検出すると、アドレス廃棄手段8がその検
出した誤りアドレスの使用を禁止する。これにより、以
後のスイッチ動作の過程では、その誤りの検出されたア
ドレスについては、使用、未使用の管理の対象からはず
される。即ち、共通バッファ2の当該誤リアドレスにつ
いてのアクセスはなされない。When the common buffer 2 is accessed, the address error detection means 7 includes means for actually managing the accessed address of the common buffer 2, and the above-mentioned identifier storage means 6.
When an error in the address is detected by comparison with the identifier corresponding to the address in the address, the address discarding means 8 prohibits the use of the detected error address. As a result, in the process of subsequent switch operations, the address in which the error was detected is excluded from the management of whether it is used or not. That is, the common buffer 2 is not accessed at the incorrect rear address.
更に、アドレス修復手段9を備える場合、上記のように
して使用禁止となったアドレスについて、アドレス修復
手段9が誤り前の正常なアドレスを検索し、復元する。Furthermore, when the address restoration means 9 is provided, the address restoration means 9 searches for a normal address before the error and restores the address whose use has been prohibited as described above.
当該誤りアドレスは、もとの状態にて使用、未使用の管
理がなされる。The erroneous address is managed to be used or unused in its original state.
以下本発叫の実施例を図面に基づいて説明する。 Hereinafter, an embodiment of the present shouting will be described based on the drawings.
第2図は、本発明の第一実施例である共通バッファ型ス
イッチを説明する図である。FIG. 2 is a diagram illustrating a common buffer type switch which is a first embodiment of the present invention.
水弟−実施例は、共通バッファを構成するRAMメモリ
の空きアドレスを共通な−っのFIFOメ七りで管理す
るため、共通バッファの大きさが必要最小限ですみ、さ
らに、使用アドレスを出力ポート毎にF!FOメモリに
より管理しているため、アドレスに誤りが生じた場合に
もそのアドレスのみで誤りは終わり、他のアドレスに誤
りが波及することが無い。また、アドレスが管理されて
いる場所を記憶する対応記憶部を設け、アドレスをFI
FOメモリに書き込む場合にそのFIFOメモリを示す
識別fを対応記憶部に記憶し、F(FOメモリから読み
出す場合にその対応記憶部に記憶されている識別fが示
すFIFOメモリと同一のFIFOメモリから実際に読
みだされたかどうかを検査することによりアドレスの誤
りを検出し、その誤りアドレスを使用禁止にすることが
できるという特徴がある。In the embodiment, the free address of the RAM memory that constitutes the common buffer is managed by a common FIFO memory, so the size of the common buffer can be kept to the minimum necessary, and furthermore, the used address can be output. F for each port! Since it is managed by the FO memory, even if an error occurs in an address, the error will end with that address only, and the error will not spread to other addresses. In addition, a correspondence storage unit is provided to store the location where addresses are managed, and addresses can be stored in FI.
When writing to the FO memory, the identification f indicating the FIFO memory is stored in the corresponding storage section, and when reading from the FO memory, the data is stored from the same FIFO memory as the FIFO memory indicated by the identification f stored in the corresponding storage section. It has the feature that an error in an address can be detected by checking whether it has actually been read, and the use of the erroneous address can be prohibited.
入力ポート数と出力ポート数はそれぞれ任意の数でよい
。ここでは−例として、入力ポート数4゜出力ポート数
4の場合を示す。入力ポート11〜i4から共通バッフ
ァ82の入力までの動作および共通バッファ82の出力
から出力ポート01〜04までの動作は従来の第一の例
と同じなので省略する。The number of input ports and the number of output ports may be any number. Here, as an example, a case where the number of input ports is 4 degrees and the number of output ports is 4 is shown. The operations from the input ports 11 to i4 to the input of the common buffer 82 and the operations from the output of the common buffer 82 to the output ports 01 to 04 are the same as in the first conventional example, and will therefore be omitted.
符号11−1.11−2.11−3.11−4はそれぞ
れRAMメモリr1〜r4に書き込みアドレスを与える
書き込みアドレスレジスタ、符号12−1.12−2.
12−3.12−4はそれぞれRAMメモリrl−r4
に読み出しアドレスを与える読み出しアドレスレジスタ
を示す。11-1.11-2.11-3.11-4 are write address registers that provide write addresses to the RAM memories r1 to r4, respectively; 12-1.12-2.
12-3 and 12-4 are RAM memories rl-r4, respectively.
The read address register that provides the read address is shown.
初期状態では、共通バッファを構成するRAMメモリは
全て空き状態であるから、空きアドレスバッフ710に
はRAMメモリのアドレスが全て記憶されており、アド
レス記憶部には何も記憶されていない状態である。また
、書き込みアドレスレジスタ11−1〜11−4および
読み出しアドレスレジスタ12−1〜12−4は後述す
る入力セルの無い場合、および読み出しセルの無い場合
に相当する状態になっている。In the initial state, all of the RAM memories forming the common buffer are empty, so all addresses of the RAM memory are stored in the free address buffer 710, and nothing is stored in the address storage section. . Further, the write address registers 11-1 to 11-4 and the read address registers 12-1 to 12-4 are in a state corresponding to a case where there is no input cell and a case where there is no read cell, which will be described later.
第3図は共通バッファへのブロックの書き込み動作を説
明する図である。畠き込み動作に関係の無い結線等は省
略している。FIG. 3 is a diagram illustrating the operation of writing blocks into the common buffer. Connections, etc. that are not related to the field digging operation are omitted.
ある時刻τ(入力セルicfの第1ブロツク10+が共
通バッファに書き込まれるとする。また、icl〜ic
4はそれぞれ出力ポート03゜01、o4.o2に出力
されるものとする。第3図(a)、(b)、(c)、(
d)、<e)はそれぞれ時刻(τ−1)、τ、(τ+1
)、(τ+2)、(τ+3)の状態を示す。時刻(τ−
1)には(第3Fg(a)参照)書き込みアドレスレジ
スタ11−1〜11−4には何がしかのアドレス(*1
〜*4で表す)が保持されている。空きアドレスバッフ
710には先頭から2″、“’23”“5” 20”
“27″・・・の空きアドレスが記憶されており、こ
の順に読みだされる。時刻τには(第3図(b)参照)
空き?ドレスバッファ10がら空きアドレス“2″′が
読みだされ、書き込みアドレスレジスタ11−1に保持
され、時刻(τ−1)に書き込みアドレスレジスタ11
−1〜11−3に保持されていたアドレスはそれぞれ書
き込みアドレスレジスタ11−2〜11−4にジットさ
れて保持され、書き込みアドレスレジスタ11−4に保
持されていたアドレスは書き込み終了ということで滌滅
し、RAMメモリr1のアドレス“2”にブロック10
+ 、r’2〜r4にはそれぞれアドレス“*1”〜“
*3″に時刻τに共通バッファの入力ポート2〜4に入
力されたブロックが1き込まれる。また、出力ポート読
み取り部81でブロック10+から出力ポート先の03
が読みだされ、これをもとにアドレス記憶部84に送ら
れたアドレス“2”はアドレス振り分は部85により出
力ポート03に対応するFIFOメモリf3に記憶され
る。時刻(τ+1)には(第3図(C)参照)空きアド
レスバッファ10からアドレス“23″が読み出され、
時刻τの場合と同様にしてRAMメモリri、r2には
それぞれアドレス″23″とM 211にブロック20
1と10zが書き込まれ、FIFOメモリf1にアドレ
ス″23″が記憶される。時刻(τ+2)には(第3f
fl(d)参照)空きアドレスバッファ10からアドレ
ス“5″′が読みだされ、同様にしてRAMメモリr1
.r2.r3にはそれぞれアドレス“5H9“23”
M 2 Hにブロック30+ 、202.103が占
き込まれ、FIFOメモリ「4にアドレス“5Hが記憶
される。時刻(τ+3)には(第3図(e)参照)空き
アドレスバッファ10からアドレス“20″が読みださ
れ、同様にしてRAMメモリr1.r2.r3゜r4に
はそれぞれアドレス“20″ “5″“23″ “2”
にブロック40+ 、302 。Assume that at a certain time τ (the first block 10+ of the input cell icf is written to the common buffer.
4 are output ports 03°01, o4. It is assumed that it is output to o2. Figure 3 (a), (b), (c), (
d) and <e) are times (τ-1), τ, and (τ+1), respectively.
), (τ+2), and (τ+3). Time (τ−
1) (see 3rd Fg (a)) write address registers 11-1 to 11-4 contain some address (*1
~*4) is retained. The empty address buffer 710 contains 2" from the beginning, "'23", "5", 20"
Empty addresses "27"... are stored and read out in this order. At time τ (see Figure 3(b))
Vacant? Empty address "2"' is read out from the address buffer 10, held in the write address register 11-1, and written to the write address register 11 at time (τ-1).
The addresses held in -1 to 11-3 are stored in the write address registers 11-2 to 11-4, respectively, and the addresses held in the write address register 11-4 are written to indicate that writing has ended. block 10 at address “2” of RAM memory r1.
+, r'2 to r4 have addresses “*1” to “, respectively.
At *3'', the block input to the input ports 2 to 4 of the common buffer at time τ is read by 1. Also, the output port reading unit 81 reads from block 10+ to 03 of the output port destination.
is read out, and based on this, the address "2" is sent to the address storage section 84, and the address allocation section 85 stores it in the FIFO memory f3 corresponding to the output port 03. At time (τ+1) (see FIG. 3(C)), address "23" is read from the empty address buffer 10,
Similarly to the case of time τ, block 20 is stored in RAM memories ri and r2 at address "23" and M211, respectively.
1 and 10z are written, and the address "23" is stored in the FIFO memory f1. At time (τ+2), (3rd f
(see fl(d)) Address "5"' is read from the free address buffer 10, and in the same way, the address "5"' is read out from the RAM memory r1.
.. r2. r3 has address “5H9”23” respectively.
Block 30+, 202.103 is allocated to M 2 H, and address "5H" is stored in FIFO memory "4". At time (τ+3) (see FIG. 3(e)), address "20" is read from the free address buffer 10, and the RAM memory r1. r2. Address “20” “5” “23” “2” for r3 and r4 respectively
block 40+, 302.
20g 、 104が占き込まれ、FIFOメモリf2
にアドレス“20″が記憶される。以上のようにして人
力セルiclの全ブロックはRAMメモリr1〜r4の
同一アドレスに磨き込まれる。入力セルの無い場合は、
空きアドレスは読み出さf1RAMメモリへの1き込み
を行わない。または、空きアドレスは読み出さf1特定
のアドレスをセルの無い場合の1き込みに割り当ててお
き、そのアドレスにセルの無いことを示すデータを占き
込む。または、空きアドレスを読み出し、そのアドレス
にセルの無いことを示すデータを書き込み、そのアドレ
スをアドレス記憶部84には記憶しないで空きアドレス
バッファi ok:sき込む。20g, 104 is populated, FIFO memory f2
Address "20" is stored in . As described above, all blocks of the human cell ICL are polished to the same address in the RAM memories r1 to r4. If there is no input cell,
Empty addresses are read and 1 is not written into the f1RAM memory. Alternatively, a vacant address is read f1, and a specific address is assigned to 1 reading when there is no cell, and data indicating that there is no cell is read into that address. Alternatively, an empty address is read, data indicating that there is no cell is written at that address, and the address is written into the empty address buffer i ok:s without being stored in the address storage section 84 .
第4図は共通バッファからのブロックの読み出し動作を
説明する図である。読み出し動作に関係の無い結線等は
省略している。FIG. 4 is a diagram illustrating the operation of reading blocks from the common buffer. Connections and the like that are unrelated to the read operation are omitted.
ある時刻τに出力ポートo1に出力されるセルが読みだ
されたとする。第4図(a)、(b)。Assume that a cell output to the output port o1 is read out at a certain time τ. Figures 4(a) and (b).
(c)、(d)、(e)はそれぞれ時刻(τ−1)。(c), (d), and (e) are times (τ-1), respectively.
τ、(τ+1)、(τ+2)、(τ+3)の状態を示す
。時刻(τ−1)には(第4図(a)参照)読み出しア
ドレスレジスタ12−1〜12−4に何がしかのアドレ
ス(*1〜*4で表す)が保持されている。アドレス記
憶部84のFIFOメモリ「1〜「4の先頭にはそれぞ
れアドレス“’23”“20”、“2”、′5”が記憶
されているものとする。時刻τには(第4図(b)参照
)f−IFOメモリf1から出力ポートo1に出力する
セルが1き込まれているアドレス“23”がアドレス読
み出し部86により読みだされ、読み出しアドレスレジ
スタ12−1に保持され、時刻(τ−1)に読み出しア
ドレスレジスタ12−1〜12−3に保持されていたア
ドレスはそれぞれ読み出しアドレスレジスタ12−2〜
12−4にシフトされて保持され、読み出しアドレスレ
ジスタ12−4に保持されていたアドレスは読み出し終
了ということで消滅し、RAMメモリr1のアドレス“
23″からブロック20+ 、r2〜r4のそれぞれの
アドレス“*1″〜“*3″から共通バッファの出力ポ
ート2〜4に出力されるブロックが読みだされる。また
、アドレス“23″は空きアドレスとなるため空きアド
レスバッファ10に記憶される。時刻(τ+1)にはく
第4図(C)参照)FIFOメモリ「2からアドレス“
20″が読み出され、時刻τの場合と同様にしてRAM
メモリri、r2のそれぞれのアドレス“20”と23
”よりブロック40+ と202が読みだされ、空きア
ドレスバツフ710にアドレス“20Hが記憶される。The states of τ, (τ+1), (τ+2), and (τ+3) are shown. At time (.tau.-1) (see FIG. 4(a)), some addresses (represented by *1 to *4) are held in the read address registers 12-1 to 12-4. It is assumed that the addresses "'23", "20", "2", and "5" are stored at the beginning of the FIFO memory "1" to "4" of the address storage section 84, respectively. At time τ (see FIG. 4(b)), the address reading section 86 reads out the address "23" into which 1 cell is to be output from the f-IFO memory f1 to the output port o1, and the address is read out from the read address register. 12-1, and the addresses held in read address registers 12-1 to 12-3 at time (τ-1) are read address registers 12-2 to 12-3, respectively.
12-4 and the address held in the read address register 12-4 disappears when reading is completed, and the address "
Blocks 20+ from 23'' and blocks to be output to output ports 2 to 4 of the common buffer are read from addresses ``*1'' to ``*3'' of r2 to r4, respectively.Additionally, address ``23'' is empty. Since it becomes an address, it is stored in the free address buffer 10. At time (τ+1), see FIG.
20'' is read out and stored in the RAM in the same way as at time τ.
Addresses “20” and 23 of memories ri and r2, respectively
”, blocks 40+ and 202 are read out, and the address “20H” is stored in the free address buffer 710.
時刻(τ+2) (第4図(d)参照)にはFIFOメ
モリ「3からアドレス“2″が読みだされ、同様にして
RAMメモリr1゜r2.r3のそれぞれのアドレス″
2″、“20″“23″よりブロック10+ 、402
.203が読みだされ、空きアドレスパツ7?10にア
ドレス“2”が記憶される。時刻(τ+3) (第4図
(e)参照)にはFIFOメモリr4からアドレス“5
”が読みだされ、同様にしてRAMメモリrl、r2.
r3、r4のそれぞれのアドレス“5″、“2”、′2
0”23”よりブロック30+ 、102.40g 、
204が読みだされ、空きアドレスバッファ10にアド
レス“5”が記憶される。以上のようにして出力ポート
01に出力されるセルOC1を構成する4ブロツク20
1〜204が読みだされる。アドレス記憶部84にアド
レスの記憶されていないFIFOメモリが存在する場合
は、RAMメモリの読みだしを禁止する。または、アド
レスが存在らない場合に読み出す特定のデータを書き込
んだ特定のアドレスを決めておき、そのアドレスからデ
ータを読み出す。At time (τ+2) (see FIG. 4(d)), address "2" is read from FIFO memory "3", and in the same way, each address "2" of RAM memory r1, r2, r3 is read out.
Block 10+ from 2", "20" and "23", 402
.. 203 is read out, and address "2" is stored in empty address pads 7-10. At time (τ+3) (see FIG. 4(e)), the address “5” is read from the FIFO memory r4.
” are read out, and the RAM memories rl, r2 .
Addresses “5”, “2”, and '2 of r3 and r4, respectively
Block 30+ from 0"23", 102.40g,
204 is read out, and address “5” is stored in the empty address buffer 10. The four blocks 20 forming the cell OC1 output to the output port 01 as described above
1 to 204 are read out. If there is a FIFO memory in which no address is stored in the address storage unit 84, reading from the RAM memory is prohibited. Alternatively, a specific address to which specific data to be read if the address does not exist is determined, and data is read from that address.
または、そのFIFOメモリはとばして次のFIFOメ
モリに書かれているアドレスを読み出す。Alternatively, that FIFO memory is skipped and the address written in the next FIFO memory is read.
以上のようにしてスイッチ動作が行われる。The switch operation is performed as described above.
入力ポート数と出力ポート数が異なる場合は、多い方の
ポート数と同数にブロック分割する。出力ポート数が多
い場合の一例として、入力ポート数2.出力ポート数4
の場合を取り上げる。この場合は、前述の入力ポート数
4.出力ポート数4の場合において、任意の2つの入力
ポートからの入力が常に無い場合と等価であり、実際に
はその2つの入力ポートが存在せず、そのポートに関す
る回路も無いものと考えればよい。If the number of input ports and the number of output ports are different, divide the block into the same number of ports as the larger number. As an example when the number of output ports is large, the number of input ports is 2. Number of output ports: 4
Let's take the case of In this case, the number of input ports mentioned above is 4. In the case of 4 output ports, this is equivalent to the case where there is always no input from any two input ports, and it can be assumed that those two input ports do not actually exist and there is no circuit related to those ports. .
入力ポート数が多い場合の一例として、入力ポート数4
.出力ポート数2の場合を取り上げる。As an example of a case where the number of input ports is large, the number of input ports is 4.
.. Let us consider the case where the number of output ports is 2.
この場合は、前述の入力ポート数4.出力ポート数4の
場合において、アドレス記憶部84のFIFOメモリの
内任意の2つのFIFOメモリに常にアドレスが記憶さ
れておらず、前述したようにそのF(FOメモリをとば
して次のFIFOメモリからアドレスを読み出す場合と
等価であり、実際には2つに相当するFIFOメモリお
よびそれらに対応する出力ポートが存在せず、そのFI
FOメモリおよび出力ポートに関する回路も無いものと
考えればよい。In this case, the number of input ports mentioned above is 4. In the case where the number of output ports is 4, addresses are not always stored in any two FIFO memories of the FIFO memories of the address storage unit 84, and as described above, the address is This is equivalent to reading an address; in reality, there are no two FIFO memories and corresponding output ports;
It can be assumed that there is no circuit related to FO memory and output ports.
以下にアドレス誤りの検出および誤りアドレスを使用禁
止にする方法を説明する。A method for detecting address errors and disabling the use of erroneous addresses will be explained below.
−例として、共通バッノ?82を構成するRAMメモリ
のアドレスが0〜31の場合を示す。この場合、アドレ
ス数は32であるから5ビツトでアドレスを表現する。-For example, common banno? The case where the addresses of the RAM memory 82 are 0 to 31 is shown. In this case, since the number of addresses is 32, the address is expressed using 5 bits.
アドレス記憶場所を示す識別IFを記憶する対応&!憶
部13は5ビツトで表現できるアドレス全てを有するR
AMメモリで構成する。すなわち、ここでは0〜31の
アドレスを有するRAMメモリで構成する。したがって
、アドレスに誤りが生じて異なるアドレスに変化しても
やはりそのアドレスは対応記憶部13のアドレスに含ま
れるため誤り検出が可能である。Support for storing the identification IF indicating the address storage location &! The storage section 13 contains all addresses that can be expressed in 5 bits.
Consists of AM memory. That is, here, it is constituted by a RAM memory having addresses 0 to 31. Therefore, even if an error occurs in the address and the address changes to a different address, the address is still included in the addresses in the correspondence storage section 13, so the error can be detected.
−例として、アドレスが空きアドレスバッファ10に記
憶されている場合は“0000” 、F I F Oメ
モリ「1〜f4に記憶されている場合はそれぞれ“00
01“° 0010”9 “oioo” ”“100
0”をアドレス記憶場所を示す識別子とする。rti述
のスイッチ動作中、共通バッファ82を構成するRAM
メEりのあるアドレス“a”を空きアドレスバツフア1
0またはFIFOメモリf1〜f4に書き込む場合には
対応記憶部13のアドレス“a″に前記アドレスEmj
iA所を示す識別子を記憶する。- For example, if the address is stored in the free address buffer 10, it will be "0000", and if the address is stored in FIFO memory "1 to f4", it will be "000", respectively.
01"° 0010"9 "oioo""100
0" is an identifier indicating the address storage location. During the switch operation described in rti, the RAM constituting the common buffer 82
Transfer the available address “a” to the free address buffer 1.
0 or in the FIFO memories f1 to f4, the address Emj is written to the address "a" of the correspondence storage section 13.
An identifier indicating the iA location is stored.
空きアドレスバッファ10またはFIFOメモリf1〜
f4からあるアドレス“b”を読み出した場合には対応
記憶部13のアドレス“b IIに記憶されているアド
レス記憶場所を示す識別子を読み出し、実際にその識別
子が示す場所から読みだされたかどうかをアドレス誤り
検査部14で検査し、一致していれば正常と判断して、
そのアドレスに濁する前述のスイッチ動作を継続して行
う。一致していない場合は、アドレスかあるいは対応記
憶部13に誤りがあると判断して、そのアドレスに関す
る動作を行わない。また、そのアドレスは、空きアドレ
スバツフ?10あるいはFIFOメモリf1〜f4のい
ずれにも占き込まないで廃棄し、使用禁止にする。Free address buffer 10 or FIFO memory f1~
When a certain address "b" is read from f4, the identifier indicating the address storage location stored in the address "b II" of the correspondence storage section 13 is read out, and it is checked whether or not it was actually read from the location indicated by the identifier. It is checked by the address error checking unit 14, and if they match, it is determined to be normal.
The above-mentioned switch operation that affects that address continues. If they do not match, it is determined that there is an error in the address or in the correspondence storage section 13, and no operation is performed regarding that address. Also, does that address have a free address buffer? 10 or FIFO memories f1 to f4 and discard them without occupying them and prohibit their use.
前述の誤り検出方法において、誤ったアドレスと同じ正
常なアドレスが同一場所に管理されている場合は誤り検
出ができない。しかしながら、アドレスは異なるFIF
Oメモリ間を巡回しており、同−FIFOメモリに管理
され続ける確率はきわめて小さいため、永久に誤り検出
ができない確率はほぼOである。In the error detection method described above, if the same normal address as the erroneous address is managed in the same location, error detection cannot be performed. However, the address is a different FIF
Since the probability that the error will continue to be managed by the same FIFO memory is extremely small, the probability that error detection will not be detected forever is approximately O.
前記共通バッファ82の0〜31のアドレスを6ピツト
以上で表現する場合は、対応記憶部13のアドレスのう
ち共通バッファ82のアドレスO〜31に対応するアド
レス以外のアドレスには場所を示す識別子以外のデータ
を用いてそのアドレスが存在しえないことを予め占き込
んでおく。When the addresses 0 to 31 of the common buffer 82 are expressed by 6 or more pits, the addresses in the correspondence storage section 13 other than those corresponding to the addresses 0 to 31 of the common buffer 82 contain an identifier other than an identifier indicating the location. It is predicted in advance that the address cannot exist using the data of .
前記対応記憶部13は、共通バッファ82のRAMメモ
リにブロック記憶領域と管理場所の識別fの記憶領域を
設けることにより1つのメモリで実現することもできる
。The correspondence storage unit 13 can also be realized by one memory by providing a block storage area and a storage area for the management location identification f in the RAM memory of the common buffer 82.
第5図により上記誤り検出の方法を更に具体的に説明す
る。誤り検出に関係の無い結線等は省略しである。第5
図に示すようにアドレスが記憶されており、対応記憶部
13にその状態が記憶されているとする。空きアドレス
バツノ?10からアドレス“3”が読みだされた場合、
対応記憶部13のアドレス“3”には記憶場所を示す識
別子として“oooo”が記憶されており、この識別子
は空きアドレスバッファ10を示しているから正常であ
るので、動作を継続し、例えばアドレス“3°′を出力
に対応するFIFOメモリ「2に記憶し、対応記憶部1
3のアドレス“3′°の位置に新しい記憶場所として”
0(11<1”を占き込む。また、F[FOメモリf3
からアドレス“6″が読みだされた場合、対応記憶部1
3のアドレス“6″には記I!場所として“0001
”が記憶されており、この識別fはFIFOメモリf1
を示しているから実際に読みだしを行ったFIFOメモ
リr3とは異なるので誤りがあると判断し、アドレス“
6”に関する動作は中止し、アドレス“6n自体もどこ
にも書き込まず廃棄する。具体的には、読出しアビレス
レジスタ12−1に対する格納タイミング信号及び、F
IFOIOに対する書込みタイミング信号をvIlll
することにより、アドレス“6”を読出しアドレスレジ
スタ12−1.’FIFO10に格納しないようにする
。また、上記FIFOIOからのアドレス“3”がかり
に誤っていた場合には、上記と同様タイミング信号の制
御により古き込みアドレスレジスタ11−1及びアドレ
ス振り分は部85へのアドレス格納が禁止される。The above error detection method will be explained in more detail with reference to FIG. Connections and the like that are unrelated to error detection are omitted. Fifth
Assume that the address is stored as shown in the figure, and its status is stored in the correspondence storage section 13. Is there a vacant address? If address “3” is read from 10,
“oooo” is stored at address “3” of the correspondence storage unit 13 as an identifier indicating the storage location, and since this identifier indicates the free address buffer 10, it is normal, so the operation continues and, for example, the address "3°' is stored in the FIFO memory "2 corresponding to the output, and the corresponding memory section 1
3 address “as a new storage location at position 3′°”
0(11<1”. Also, F[FO memory f3
When address “6” is read from
Address “6” of 3 is written I! “0001” as location
” is stored, and this identification f is stored in the FIFO memory f1.
Since it is different from the FIFO memory r3 that was actually read, it is determined that there is an error, and the address "
The operation regarding "6" is discontinued, and the address "6n itself is also discarded without being written anywhere. Specifically, the storage timing signal for the read out failure register 12-1 and the F
Write timing signal for IFOIO
By doing this, address "6" is read out from address register 12-1 . 'Do not store in FIFO10. Further, if the address "3" from the FIFOIO is incorrect, storage of the address in the old address register 11-1 and address allocation section 85 is prohibited under the control of the timing signal as described above.
上述のスイッチにおいて同一出力ポートへのセルの出力
順序に優先制御を容易に付加できる。すなわち、優先!
1Jtlllを行う出力ポートに対応するFIFOメモ
リを優先度に応じて個別に設け、アドレスを書き込む場
合にアドレス振り分は部85において宛先出力ポートと
優先度の両方に対するFIFOメモリに1き込み、アド
レスを読み出す場合はある出力ポートに関してアドレス
が書き込まれている優先度の最も大きなFIFOメモリ
からアドレスを読み出すようにすれば実現できる。In the above switch, priority control can be easily added to the output order of cells to the same output port. In other words, priority!
FIFO memories corresponding to the output ports that perform 1Jtlll are individually provided according to the priority, and when writing an address, address allocation is performed in the section 85 by writing 1 into the FIFO memory for both the destination output port and the priority, and writing the address. Reading can be accomplished by reading the address from the FIFO memory with the highest priority in which the address has been written for a certain output port.
また、上述のスイッチにおいて1つのセルを全出力ポー
トに出力する放送形式のスイッチも容易に実現できる。Further, in the above-mentioned switch, a broadcast type switch that outputs one cell to all output ports can be easily realized.
すなわち、全出力ポートに出力するセルのアドレスを読
み出す場合はFIFOメモリの読み出しポインタをその
アドレスが1き込まれている位置に固定し、アドレス読
み出し部86も読み出しFIFOメモリをそのアドレス
が書ぎ込まれているFIFOメモリに本来−巡する問固
定すれば全出力ポートに対して同一アドレスからセルが
読みだされるため、放送形式のスイッチが容易に実現で
きる。That is, when reading the address of a cell to be output to all output ports, the read pointer of the FIFO memory is fixed at the position where that address is written, and the address reading section 86 also reads the FIFO memory so that the address is written. By fixing the data that originally circulates in the FIFO memory contained in the memory, cells are read from the same address for all output ports, so a broadcast-type switch can be easily realized.
第6図は、本発明の第二実施例である共通バッファ型ス
イッチを説明する図である。FIG. 6 is a diagram illustrating a common buffer type switch which is a second embodiment of the present invention.
入力ポート数と出力ポート数はそれぞれ任意の数でよい
。ここでは−例として、入力ポート数2゜出力ポート数
2の場合を示す。入力セルは入力ボ−ト数と出力ポート
数の和の数にブロック分割される。したがってここでは
4分割される。符号50−1〜50−4はRAMメモリ
r 1−r 4にアドレスを与えるアドレスレジスタを
示す。The number of input ports and the number of output ports may be any number. Here, as an example, a case where the number of input ports is 2 degrees and the number of output ports is 2 is shown. The input cells are divided into blocks equal to the sum of the number of input ports and the number of output ports. Therefore, it is divided into four here. Reference numerals 50-1 to 50-4 indicate address registers that provide addresses to the RAM memories r1-r4.
ブロック分謂部80において入力セルiclに対してi
C2は1又は2又は3ブロック分の遅延が与えられ、か
つ、各セルの第1.第2.第3゜第4ブロツクはそれぞ
れブロック分割部80の出力ポート1.2,3.4に出
力される。遅延量は、全ての入力ポートから同時刻に入
力されるセルの第1ブロツクが1セル時虞内に入ってい
ればよい。In the block dividing unit 80, i
C2 is given a delay of 1, 2 or 3 blocks, and the first . Second. The third and fourth blocks are output to output ports 1.2 and 3.4 of the block dividing section 80, respectively. The amount of delay only needs to be such that the first block of cells input from all input ports at the same time is within one cell time range.
ここでは、遅延口を2ブロック分としている。Here, the delay port is set to two blocks.
iC2を取り上げると、iclの第1のブロック10+
$Ii刻tuに出力されるのでそれより2ブロック分遅
れて、第1ブロツク201は時IjJ t +tにブロ
ック分割部80の出力ポート1に、第2ブロツク202
は時刻toに出力ポート2に、第3ブロツク203は時
刻tHに出力ポート3に、第4ブロツク204は時Mt
hに出力ポート4に出力される。Taking iC2, the first block of icl 10+
Since it is output at $Ii time tu, the first block 201 is output to the output port 1 of the block dividing unit 80 at time IjJ t +t, and the second block 202 is output two blocks later than that.
is connected to output port 2 at time to, the third block 203 is connected to output port 3 at time tH, and the fourth block 204 is connected to output port 3 at time Mt.
It is output to output port 4 at h.
第7図は共通バッファへのブロックの書き込み、および
共通バッファからのブロックの読み出し動作を説明する
図である。動作に関係の無い結線等は省略している。FIG. 7 is a diagram illustrating operations for writing blocks into the common buffer and reading blocks from the common buffer. Connections, etc. not related to operation are omitted.
ある時刻τに入力セルic1の第1ブロツク101が共
通バッファに書き込まれるとする。また、icl、ic
2はそれぞれ出力ポートo2゜01に出力されるものと
する。第7図(a)。Assume that the first block 101 of the input cell ic1 is written to the common buffer at a certain time τ. Also, icl, ic
2 shall be output to the output port o2°01, respectively. Figure 7(a).
(b)、(c)、(d)、(e)、(f’)はそれぞれ
時刻(τ−1)、τ9 (τ+1)、(τ]2)。(b), (c), (d), (e), and (f') are times (τ-1), τ9 (τ+1), and (τ]2), respectively.
(τ+3)、(τ+4)の状態を示す。空きアドレスバ
ッファ10には先頭から2”、”23”“5パ・・・の
空きアドレスが記憶されている。また、アドレス記憶部
84のFIFOメモリf1.f2の先頭にはそれぞれア
ドレス“20”′1”が記憶されており、RAMメモリ
r1〜r4のアドレス“20”と“1”にはそれぞれブ
ロック111〜114と211〜214が記憶されてい
る。時IJ(τ−1)には(第7図Ca)参照)アドレ
スレジスタ50−1〜50−4に何がしかのアドレス(
*1〜*4で表す)が保持されている。時刻τには(第
7ffl(b)参照)空きアドレスバッファ10がら空
きアドレス“2”が読みだされ、アドレスレジスタ50
−1に保持され、時刻(τ−1)にアドレスレジスタ5
0−1〜50−3に保持されていたアドレスはそれぞれ
アドレスレジスタ50−2〜50−4にシフトされて保
持され、アドレスレジスタ50−4に保持されていたア
ドレスは消滅し、RAMメモリr1のアドレス“2″に
ブロック10+ 、RAMメモリr3のアドレス“*2
”に時刻τに共通バッファの入力ポート3に入力された
ブロックが書き込まれる。また、出力ポート読み取り部
81でブロック101から出力ポート先の02が読みだ
され、これをもとにアドレス記憶部84に送られたアド
レス“2″はアドレス振り分けW2B5により出力ポー
トo2に対応するFIFOメモリf2に記憶される。ま
た、RAMメモリr2.r4のアドレス“*1”“*3
”から共通バッファの出力ポート2,4に出力されるブ
ロックが読みだされる。時刻くτ十1)には(第7図(
C)参照)FIFOメモリ「1から出力ポート01に出
力するセルが古き込まれているアドレス“20″がアド
レス読み出しi”!$86により読みだされ、アドレス
レジスタ501に保持され、時刻τにアドレスレジスタ
5〇−1〜50−3に保持されていたアドレス“2″“
*1″、′*2″′はそれぞれアドレスレジスタ50−
2〜50−4にシフトされて保持され、アドレスレジス
タ50−4に保持されていたアドレス“*3”は消滅し
、RA Mメモリr1のアドレス“20″からブロック
11+、r3のアドレス“*1”から共通バッファの出
力ポート3に出力されるブロックが読みだされる。また
、アドレス″20”は空きアドレスとなるため空きアド
レスバッファ10に記憶される。また、RAMメモリr
2のアドレス“2″にブ0 ’/り102.r4のアド
レス“*2″に時刻(τ+1)に共通バッファの人力ポ
ート4に人力されたブロックが古き込まれる。時刻(τ
+2)には空きアドレスバッファ10がら空きアドレス
“23″が読みだされ、アドレスレジスタ50−1に保
持され、時刻(τ十1)にアドレスレジスタ50−1〜
50−3に保持されていたアドレスはそれぞれぞれアド
レスレジスタ5o−2〜50−4にシフトされて保持さ
れ、アドレスレジスタ50−4に保持されていたアドレ
スは消滅し、RAMメモリr1のアドレス“23”にブ
ロック20+ 、RAMメモリr3のアドレス″2″に
ブロック103が書き込まれる。また、出力ポート読み
取り部81でブロック201から出力ポート先の01が
読みだされ、これをもとにアドレス記憶部84に送られ
たアドレス“23″はアドレス振り分は部85により出
力ポート01に対応するFIFOメモリf1に記憶され
る。また、RAMメモリr2のアドレス“20″からブ
o”7り11z、r4のアドレス“*1”から共通バッ
ファの出力ポート4に出力されるブロックが読みだされ
る。時刻(τ+3)にはFIFOメモリf2から出力ポ
ート02に出力するセルが占き込まれているアドレス“
1″がアドレス読み出し部86により読みだされ、アド
レスレジスタ50−1に保持され、時刻(τ+2)にア
ドレスレジスタ50−1〜50−3に保持されていたア
ドレス“23″ “20パ2”はそれぞれアドレスレジ
スタ50−2〜50−4にシフトされて保持され、アド
レスレジスタ504に保持されていたアドレス“*1”
は消滅し、RAMメモリr1のアドレス“1パからブロ
ック21+、r3のアドレス“20″からブロック11
3が読みだされる。また、アドレス“1″は空きアドレ
スとなるため空きアドレスバツフ710に記憶される。The states of (τ+3) and (τ+4) are shown. In the free address buffer 10, empty addresses 2", 23, 5, etc. from the beginning are stored. Also, the FIFO memory f1. Addresses "20" and "1" are stored at the beginning of f2, respectively, and blocks 111 to 114 and 211 to 214 are stored at addresses "20" and "1" of RAM memories r1 to r4, respectively. At the time IJ(τ-1), some address (see Figure 7 Ca) is stored in the address registers 50-1 to 50-4.
*1 to *4) are retained. At time τ (see seventh ffl(b)), empty address “2” is read out from the empty address buffer 10, and the address register 50 is read out.
-1, and the address register 5 at time (τ-1)
The addresses held in 0-1 to 50-3 are shifted to and held in address registers 50-2 to 50-4, respectively, and the addresses held in address register 50-4 disappear and are transferred to RAM memory r1. Block 10+ at address “2”, address “*2” of RAM memory r3
”, the block input to the input port 3 of the common buffer at time τ is written. Further, the output port reading unit 81 reads out the output port destination 02 from the block 101, and based on this, the block is written to the input port 3 of the common buffer. Address "2" sent to is stored in FIFO memory f2 corresponding to output port o2 by address distribution W2B5.Additionally, address "*1""*3" of RAM memory r2.r4 is stored in FIFO memory f2 corresponding to output port o2 by address distribution W2B5.
”, the block output to the output ports 2 and 4 of the common buffer is read out. At time τ11) (Fig. 7 (
See C)) FIFO memory “1 to address “20” where cells output to output port 01 are old is read address “i”! The address "2" read out by $86 and held in the address register 501, and held in the address registers 50-1 to 50-3 at time τ
*1" and '*2"' are address registers 50-
The address "*3" that was shifted from 2 to 50-4 and held in the address register 50-4 disappears, and the address "*1" of block 11+ and r3 is shifted from address "20" of RAM memory r1 to address "*1" of block 11+ and r3. ”, the block to be output to output port 3 of the common buffer is read. Furthermore, since address “20” is a free address, it is stored in the free address buffer 10. Also, RAM memory r
2's address "2" is BU0 '/ri102. The block manually inputted to the manual port 4 of the common buffer at time (τ+1) is stale at the address "*2" of r4. Time (τ
+2), empty address "23" is read out from the empty address buffer 10, held in the address register 50-1, and at time (τ11), the empty address "23" is read out from the empty address buffer 10.
The addresses held in address register 50-3 are shifted and held in address registers 5o-2 to 50-4, respectively, and the address held in address register 50-4 disappears, and the address " Block 20+ is written to address "23" and block 103 is written to address "2" of RAM memory r3. Further, the output port reading unit 81 reads out the output port destination 01 from the block 201, and based on this, the address “23” sent to the address storage unit 84 is assigned to the output port 01 by the address allocation unit 85. It is stored in the corresponding FIFO memory f1. Also, the block to be output from the address "20" of the RAM memory r2 to the output port 4 of the common buffer is read from the address "*1" of the RAM memory r4. Address " where the cell output from memory f2 to output port 02 is occupied"
1'' is read by the address reading unit 86 and held in the address register 50-1, and the address “23” “20pa2” held in the address registers 50-1 to 50-3 at time (τ+2) is The address “*1” that was shifted and held in each of the address registers 50-2 to 50-4 and held in the address register 504
disappears, block 21+ from address "1" of RAM memory r1, block 11 from address "20" of r3
3 is read out. Further, since address "1" is a vacant address, it is stored in the vacant address buffer 710.
また、RAMメモリr2のアドレス“23”にブロック
20z、r4のアドレス“2″′にブロック104が書
き込まれる。時刻1(τ+4)には空きアドレスバッフ
ァ10がら空きアドレス“5nが読みだされ、アドレス
レジスタ50−1に保持され、時刻(τ+3)にアドレ
スレジスタ50−1〜50−3に保持されていたアドレ
スはそれぞれアドレスレジスタ50−2〜50−4にシ
フトされて保持され、アドレスレジスタ50−4に保持
されていたアドレスは消滅し、RAMメモリr1のアド
レス″5”に時刻(τ+4)に共通バッフ784の入力
ポート1に入力されたプロッタ、RAMメモリr3のア
ドレス“23″にブロック203が占き込まれる。また
、出力ポート読み取り部81でrlに書き込んだブロッ
クから出力ポート先が読みだされ、これをもとにアドレ
ス記憶部84に送られたアドレス“5″はアドレス振り
分は部85により出力ポートに対応するFIFOメモリ
に記憶される。また、RAMメモリr2のアドレス“1
″からブロック212が、r4のアドレス“20”から
ブロック114が読みだされる。以上のようにして入力
セルiclを構成するブロック101〜104が1き込
まれ、出力セルを構成するブロック111〜114が読
みだされる。このようにして4ブロック時間の内2ブロ
ック時間は書き込みアドレスを与え、2ブロック時圏は
読み出しアドレスを与えて共通バッファの書き込み・読
みだしを行う。ここでは、入力ヒルic2をiclに対
して2ブロック分遅延させたため書き込みと読みだしの
アドレスを交互に与えたが、遅延の与え方に応じて4ブ
ロック時固の内に2回ずつ畠き込みあるいは読み出しア
ドレスを与えれば順番は任意でよい。Further, the block 20z is written to the address "23" of the RAM memory r2, and the block 104 is written to the address "2"' of the RAM memory r4. At time 1 (τ+4), empty address "5n" is read out from the empty address buffer 10 and held in address register 50-1, and at time (τ+3), the addresses held in address registers 50-1 to 50-3 are The addresses held in the address registers 50-2 to 50-4 are shifted and held respectively, and the address held in the address register 50-4 disappears, and the address "5" of the RAM memory r1 is stored in the common buffer 784 at time (τ+4). The block 203 is occupied by the address "23" of the plotter RAM memory r3 input to the input port 1. Also, the output port destination is read from the block written to rl by the output port reading unit 81, and this is The address “5” originally sent to the address storage unit 84 is stored in the FIFO memory corresponding to the output port by the address distribution unit 85. Also, the address “5” of the RAM memory r2 is stored in the FIFO memory corresponding to the output port.
Block 212 is read from address "20" of r4, and block 114 is read from address "20" of r4. As described above, blocks 101 to 104 forming the input cell ICL are read by 1, and blocks 111 to 114 forming the output cell are read. 114 is read out.In this way, a write address is given for 2 of the 4 block times, and a read address is given for the 2nd block time to write and read from the common buffer.Here, the input hill Since ic2 was delayed by 2 blocks with respect to icl, the write and read addresses were given alternately, but depending on how the delay was given, the write or read address could be given twice within 4 blocks. The order can be arbitrary.
人力ポート数と出力ポート数が異なる場合は、前記第一
実施例で説明したのと同様にして実現できる。If the number of manual ports and the number of output ports are different, it can be realized in the same manner as described in the first embodiment.
アドレスの誤り検出およびアドレスを使用禁止にする方
法は、前記第一実施例においてFIFOメモリ数をfl
とf2の2つにした場合と同様である。The method for detecting address errors and disabling addresses is to set the number of FIFO memories to fl in the first embodiment.
This is similar to the case where there are two, f2 and f2.
本第二実施例においても前記第一実施例と同様にして優
先tUaおよび放送形式のスイッチを容易に実現できる
。In the second embodiment as well, the priority tUa and broadcast format switch can be easily realized in the same manner as in the first embodiment.
本発明の第三実施例は前記第一実施例および第二実施例
において誤り検出によりあるアドレスを使用禁止といし
て廃棄したために欠落したアドレスを修復する機能を付
加したものである。スイッチ動作および誤り検出を行う
部分は第2図あるいは第5図および第6図と同じなので
、アドレス修復部に関する部分のみを第8図に示す。−
例として、共通バッファ82を構成するRAMメモリの
アドレスがO〜31の場合(第8図においてn=31の
場合)を示す。70はアドレスが存在しているかどうか
をチエツクするアドレストチエツク記憶部、71は誤り
アドレス数を計数する誤り計数部、72はアドレスチエ
ツク記憶部70を検査し、欠落したアドレスを修復する
アドレス修復部を示す。共通バッファ82を構成するR
AMメモリのアドレスは0〜31であるから、アドレス
チエツク記憶部70はO〜31のアドレスを持つRAM
メモリで構成する。The third embodiment of the present invention is the same as the first and second embodiments, with the addition of a function for restoring addresses that are missing because a certain address is disabled and discarded due to error detection. Since the parts for performing switch operation and error detection are the same as those in FIG. 2, FIG. 5, and FIG. 6, only the part related to the address repair section is shown in FIG. −
As an example, a case where the addresses of the RAM memory constituting the common buffer 82 are 0 to 31 (n=31 in FIG. 8) is shown. 70 is an address check storage unit that checks whether an address exists; 71 is an error counter unit that counts the number of erroneous addresses; and 72 is an address repair unit that checks the address check storage unit 70 and restores missing addresses. shows. R constituting the common buffer 82
Since the addresses of the AM memory are 0 to 31, the address check storage section 70 is a RAM having addresses 0 to 31.
Configure with memory.
誤り計数部71は誤りアドレスが存在しない場合“0″
である。誤りが生じると、そのたびに1ずつカウントア
ツプする。誤り譜数部71の値が1以上になった時点で
アドレスチエツク記憶部70のRAMメモリの全アドレ
スのデータを“OHにする。その後、空きアドレスバッ
ファ10あるいはFIFOメモリ「1〜f4からアドレ
スを読みだした場合にはアドレスチエツク記憶部70の
RAMメモリのそのアドレスにアドレスが存在した印と
して、Millを占き込む。あらかじめ定めた時間経過
したのち、アドレス修復部72によりアドレスチエツク
記憶部70のRAMメモリの全アドレスのデータをチエ
ツクし、“O″”の数と0”が記憶されていたアドレス
を検査する。その結果、“0″の数が誤り計数部71の
値と等しい場合には、“0″が記憶されていたアドレス
が欠落したアドレスと′pI断して空きアドレスバッフ
ァ10に占き込むことによりアドレスを修復し、誤り計
数t571の値を0にする。“0“′の数が誤り計数部
71の値より小さい場合にtよ、アドレスバッファを終
了したアドレスがその後に誤った場合なので、0″が記
憶されていたアドレスを空きアドレスバッファ10に記
憶することによりアドレスを修復し、誤り胴数部71の
値から修復したアドレス数を減算し、再度アドレスチエ
ツク記憶部70の全アドレスのデータを″OHにして前
述の処理を行うことにより残りの欠落アドレスをvi復
する。“0″の数が誤り泪数部71の値により大きい場
合には、存在しているアドレスがまだ全てチエツクされ
ていないので、引続きチエツクを行い、ある時間経過し
た後同様の処理を行う。The error counter 71 is “0” if there is no error address.
It is. Each time an error occurs, it counts up by 1. When the value of the error score section 71 becomes 1 or more, the data at all addresses in the RAM memory of the address check storage section 70 is set to "OH." After that, the address is set from the free address buffer 10 or the FIFO memory "1 to f4." When it is read out, Mill is used as a sign that an address exists at that address in the RAM memory of the address check storage section 70. After a predetermined time has elapsed, the address restoration section 72 reads the address from the address check storage section 70. Check the data at all addresses in the RAM memory, and check the number of "O"s and the addresses where 0s were stored.As a result, if the number of "0s" is equal to the value of the error counter 71, , the address in which "0" was stored is disconnected from the missing address by pI, and the address is filled into the free address buffer 10, thereby restoring the address and setting the value of the error count t571 to 0. If the number is smaller than the value of the error counter 71, then the address that ended the address buffer is incorrect, so the address where 0'' was stored is stored in the free address buffer 10 to restore the address. Then, the number of repaired addresses is subtracted from the value of the error body number section 71, and the data of all addresses in the address check storage section 70 are set to "OH" again, and the above-mentioned processing is performed to recover the remaining missing addresses. If the number of "0"s is greater than the value of the error count unit 71, all existing addresses have not been checked yet, so the check is continued and the same process is performed after a certain period of time has elapsed.
′O”の数が誤り計数部71の値より大きい場合にはカ
ウンタの誤り等により永久に“0”の数が誤り計数部7
1の値より大きく、アドレス修復が行われない可能性が
ある。したがって、前記室められたアドレスチエツク時
間に比べて十分長い時間経過した後も“0″の数が誤り
51数部71の値より大きい場合には一旦“0”が記憶
されていたアドレスをすべて空き?ドレスバッファ10
に書き込み、誤りのない状態と同じ状態にする機能を設
けてもよい。この場合、修復したアドレスの中に誤りア
ドレスが含まれている可能性があるが、その誤りは前述
の方法で検出されるので問題無い。If the number of 'O's is larger than the value of the error counting section 71, the number of "0"s will remain forever due to an error in the counter, etc.
If the value is greater than 1, address repair may not be performed. Therefore, even after a sufficiently long time has elapsed compared to the above-mentioned address check time, if the number of "0"s is greater than the value of the error 51 number section 71, all addresses in which "0"s have been stored are temporarily deleted. Vacant? dress buffer 10
It is also possible to provide a function to write to the error-free state and make the state the same as the error-free state. In this case, there is a possibility that an erroneous address is included in the repaired address, but that error is detected by the method described above, so there is no problem.
上記実施例では、特に入力ポート間でセルの位相をずら
し、セルをブロックに分割し、ブロック毎に異なるRA
Mメモリに記憶するため、共通バッファメモリの動作速
度を人力ポートの速度以下にすることが可能となる。In the above embodiment, in particular, the phase of the cell is shifted between input ports, the cell is divided into blocks, and each block has a different RA.
Since the data is stored in the M memory, the operating speed of the common buffer memory can be made lower than the speed of the manual port.
以上説明してきたように、本発明によれば、共通バッフ
ァの未使用アドレス及び使用アドレスを夫々未使用アド
レス管理手段と使用アドレス管理1段とのelで巡回し
て管理することにより、完全な共通バッファが維持され
、必要最小限の共通バッノ?壜でスイッチが実現できる
と共にアドレスに誤りが生じた場合もその誤り1つのみ
で波及しない。そして、アドレスの誤りを検出して、そ
の誤りアドレスを使用禁止にするようにしたため、誤り
がit>してしまうことが防止される。As described above, according to the present invention, unused addresses and used addresses of the common buffer are managed by cycling through the unused address management means and the 1st stage of used address management, respectively. Is the buffer maintained and the minimum common banno required? The switch can be implemented using a bottle, and even if an error occurs in the address, it is only one error and does not spread. Since an error in the address is detected and the use of the erroneous address is prohibited, it is possible to prevent an error from occurring.
また、セル自体は共通バッファに記憶され、その1N1
1はセルを記憶しているアドレスによって行なっている
ため、放送形式のスイッチ等が容易に実現できる。Also, the cells themselves are stored in a common buffer, and their 1N1
1 is performed based on the address storing the cell, so a broadcast format switch, etc. can be easily realized.
更に、誤りアドレスを修復するようにしたため、使用禁
止によって使用可能メ七り吊が減少することを防止でき
る。Furthermore, since erroneous addresses are repaired, it is possible to prevent the number of usable addresses from decreasing due to prohibition of use.
第1図は本発明の原理構成図、
第2図は本発明の第一実施例を示す図、第3図は本発明
の第一実施例におけるセルの書き込み動作を説明する図
、
第4図は本発明の第一実施例におけるセルの読み出し動
作を説明する図、
第5図は本発明の第一実施例にお【プるアドレスの誤り
を検出する方法を説明する図、
第6図は本発明の第二実施例を示す図、第7図は本発明
の第二実施例におけるセルの古き込み・読み出し動作を
説明する図、
第8図は本発明の第三実施例を示す図、第9図は従来の
共通バッファ型スイッチの第−例を示す図、
第10図は従来の共通バッファ型スイッチの第−例にお
けるブロック分割部を示す図、第11図は従来の共通バ
ッファ型スイッチの第−例におけるブロック結合部を示
す図、第12図は従来の共通バッファ型スイッチの第二
例を示す図である。
1・・・入力ポート、2・・・出力ポート、3・・・共
通バッファ、4・・・未使用アドレス管理手段、5・・
・使用アドレス管理手段、6・・・識別子記憶手段、7
・・・アドレス誤り検出手段、8・・・アドレス廃棄手
段、9・・・アドレス修復手段、70・・・空きアドレ
スパンツ?、11−1〜11−4・・・占き込みアドレ
スレジスタ、12−1〜12−4・・・読み出しアドレ
スレジスタ、13・・・対応記憶部、14・・・アドレ
ス誤り検査部、50−1〜50−4・・・アドレスレジ
スタ、70・・・アドレスチエツク記憶部、71・・・
誤り田数部、72・・・アドレス修復部、80・・・ブ
ロック分割部、81・・・出力ポート読み取り部、82
・・・共通バッファ、83・・・書き込みアドレス制御
部、84・・・アドレス記憶部、85・・・アドレス振
り割り部、86・・・アドレス読み出し部、87−1〜
87−3・・・アドレス加算部、88・・・ブロック結
合部、90−1〜90−3・・・遅延回路、91・・・
バレルシフタ、10−1〜10−3・・・遅延回路、1
10・・・入力選択品、111・・・アドレスチェーン
記憶部、112・・・共通セルバッファ耶、113・・
・出力選択品、114・・・濃き込みアドレス保持部、
115・・・読み出しアドレス保持部、116・・・空
きアドレスバッファ、11〜i4・・・入力ポート1〜
4.01〜04・・・出力ポート1〜4、icl〜ic
4・・・入力ポートド〜4から同時刻に入力させるセル
、tb1〜ib4・・・入力セルを構成する第1〜第4
ブロツクの集合、OC1〜oc4・・・出力ポート1〜
4に同時刻に出力されるセル、obl〜ob4・・・出
力セルを構成する第1〜第4ブロツクの集合、r1〜r
4・・・共通バッファを構成するRAMメモリ、f 1
−f 4・・・アドレス記憶部を構成するFIFOメモ
リ、wpl〜wp4・・・書き込みアドレスポインタ、
rpl〜rp4・・・読み出しアドレスポインタ。
本発明の原理構成図
第1図(a)
誤ジ検出及び修復の各回路構成を示す図第8図
バレルシフタの作動状態を示す図
91
ブロック結合部の構成を示す図
第11
図
1b
従来の共通バッファ型スイッチの他の一例を示す図第1
2図FIG. 1 is a diagram showing the principle configuration of the present invention, FIG. 2 is a diagram showing a first embodiment of the present invention, FIG. 3 is a diagram explaining a cell write operation in the first embodiment of the present invention, and FIG. 5 is a diagram illustrating a cell read operation in the first embodiment of the present invention, FIG. 5 is a diagram illustrating a method for detecting address errors in the first embodiment of the present invention, and FIG. A diagram showing a second embodiment of the present invention, FIG. 7 is a diagram illustrating cell aging and readout operations in a second embodiment of the present invention, and FIG. 8 is a diagram showing a third embodiment of the present invention. FIG. 9 is a diagram showing a first example of a conventional common buffer type switch, FIG. 10 is a diagram showing a block dividing section in a first example of a conventional common buffer type switch, and FIG. 11 is a diagram showing a conventional common buffer type switch. FIG. 12 is a diagram showing a second example of the conventional common buffer type switch. 1... Input port, 2... Output port, 3... Common buffer, 4... Unused address management means, 5...
・Used address management means, 6...Identifier storage means, 7
...Address error detection means, 8.Address disposal means, 9.Address repair means, 70.Empty address pants? , 11-1 to 11-4... Fortune-telling address register, 12-1 to 12-4... Read address register, 13... Correspondence storage section, 14... Address error checking section, 50- 1 to 50-4...address register, 70...address check storage section, 71...
Error field number part, 72... Address repair part, 80... Block division part, 81... Output port reading part, 82
...Common buffer, 83...Write address control unit, 84...Address storage unit, 85...Address allocation unit, 86...Address reading unit, 87-1~
87-3...Address addition section, 88...Block coupling section, 90-1 to 90-3...Delay circuit, 91...
Barrel shifter, 10-1 to 10-3...delay circuit, 1
DESCRIPTION OF SYMBOLS 10... Input selection product, 111... Address chain storage section, 112... Common cell buffer, 113...
・Output selection product, 114...deep address holding section,
115...Read address holding unit, 116...Empty address buffer, 11-i4...Input port 1-
4.01~04...Output ports 1~4, icl~ic
4... Cells to be input at the same time from input ports d to 4, tb1 to ib4... 1st to 4th cells constituting input cells
Set of blocks, OC1~oc4...output port 1~
4, cells output at the same time, obl to ob4... a set of the first to fourth blocks constituting the output cell, r1 to r
4...RAM memory forming a common buffer, f 1
-f 4... FIFO memory forming the address storage section, wpl to wp4... Write address pointer,
rpl to rp4...Read address pointer. Fig. 1(a) A diagram showing the circuit configuration for error detection and repair Fig. 8 Fig. 91 showing the operating state of the barrel shifter Fig. 11 showing the configuration of the block coupling part Fig. 1b Common to the conventional technology Diagram 1 showing another example of a buffer type switch
Figure 2
Claims (2)
ると共に、入力ポートから入力されるセルを記憶すべき
共通バッファの未使用アドレスを管理する未使用アドレ
ス管理手段と、セルの記憶された共通バッファの使用ア
ドレスを管理する使用アドレス管理手段とを備え、 未使用アドレス管理手段から与えられる共通バッファの
未使用アドレスに入力ポートから入力されるセルを記憶
し、使用アドレス管理手段から与えられる共通バッファ
の使用アドレスからセルを読出して所定の出力ポートに
供給することにより、入出力ポート間でのスイッチ動作
を行なう共通バッファ型スイッチにおいて、上記未使用
アドレス管理手段が、入力ポートから入力されるセルに
対して共通バッファの未使用アドレスを共通に管理する
ものとなると共に、 上記使用アドレス管理手段が、共通バッファの使用アド
レスをそのアドレスに記憶されているセルの出力すべき
態様に応じて管理するものとなり、 共通バッファの各アドレスについて、そのアドレスが管
理される手段を示す識別子を記憶する識別子記憶手段と
、 共通バッファのアクセスに際し、そのアドレスを実際に
管理している手段と識別子記憶手段内の当該アドレスに
対応した識別子との比較によりアドレスの誤りを検出す
るアドレス誤り検出手段と、 アドレス誤り検出手段が、アドレスの誤りを検出したと
きに、その誤りアドレスの使用を禁止するアドレス廃棄
手段とを備えたことを特徴とする共通バッファ型スイッ
チ。(1) An unused address management means that includes an input port, an output port, and a common buffer, and manages unused addresses of the common buffer in which cells input from the input port are to be stored, and a common buffer in which the cells are stored. used address management means for managing the used addresses of the common buffer given by the unused address management means, and stores cells inputted from the input port at unused addresses of the common buffer given from the used address management means; In a common buffer type switch that performs a switching operation between input and output ports by reading a cell from a used address and supplying it to a predetermined output port, the unused address management means is configured to read a cell from a used address and supply it to a predetermined output port. The unused addresses of the common buffer are managed in common, and the used address management means manages the used addresses of the common buffer according to the manner in which the cells stored at the addresses are to be output. , an identifier storage means for storing, for each address of the common buffer, an identifier indicating the means by which that address is managed; a means for actually managing the address and the address in the identifier storage means when the common buffer is accessed; address error detection means for detecting an error in the address by comparison with an identifier corresponding to the address; and address discard means for prohibiting the use of the erroneous address when the address error detection means detects an error in the address. A common buffer type switch characterized by:
、 アドレス廃棄手段での使用禁止により欠落したアドレス
について誤り前の正常なアドレスを検索し、復元するア
ドレス修復手段を備えたことを特徴とする共通バッファ
型スイッチ。(2) The common buffer type switch according to claim 1, further comprising address restoration means for searching and restoring a normal address before an error for an address that has been lost due to prohibition of use by the address discarding means. Buffer type switch.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP26150589A JP2738064B2 (en) | 1989-10-06 | 1989-10-06 | Common buffer type switch |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP26150589A JP2738064B2 (en) | 1989-10-06 | 1989-10-06 | Common buffer type switch |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH03123238A true JPH03123238A (en) | 1991-05-27 |
JP2738064B2 JP2738064B2 (en) | 1998-04-08 |
Family
ID=17362839
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP26150589A Expired - Fee Related JP2738064B2 (en) | 1989-10-06 | 1989-10-06 | Common buffer type switch |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2738064B2 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07321795A (en) * | 1994-05-20 | 1995-12-08 | Nec Corp | Buffer address management method |
US6034959A (en) * | 1996-08-16 | 2000-03-07 | Nec Corporation | ATM switch capable of detecting addressing errors |
WO2008099472A1 (en) * | 2007-02-14 | 2008-08-21 | Fujitsu Limited | Data switch method and circuit |
JP2011113404A (en) * | 2009-11-27 | 2011-06-09 | Fujitsu Ltd | Buffer memory device and buffering method |
-
1989
- 1989-10-06 JP JP26150589A patent/JP2738064B2/en not_active Expired - Fee Related
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07321795A (en) * | 1994-05-20 | 1995-12-08 | Nec Corp | Buffer address management method |
US6034959A (en) * | 1996-08-16 | 2000-03-07 | Nec Corporation | ATM switch capable of detecting addressing errors |
WO2008099472A1 (en) * | 2007-02-14 | 2008-08-21 | Fujitsu Limited | Data switch method and circuit |
JPWO2008099472A1 (en) * | 2007-02-14 | 2010-05-27 | 富士通株式会社 | Data switch method and circuit |
JP2011113404A (en) * | 2009-11-27 | 2011-06-09 | Fujitsu Ltd | Buffer memory device and buffering method |
Also Published As
Publication number | Publication date |
---|---|
JP2738064B2 (en) | 1998-04-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6430666B1 (en) | Linked list memory and method therefor | |
JPS6148200A (en) | semiconductor storage device | |
US4174537A (en) | Time-shared, multi-phase memory accessing system having automatically updatable error logging means | |
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 | |
US8661223B1 (en) | Buffer management architecture | |
JPH03123238A (en) | Common buffer type switch | |
US4388687A (en) | Memory unit | |
JP3281211B2 (en) | Information processing apparatus having synchronous memory and synchronous memory | |
JP2873229B2 (en) | Buffer memory controller | |
KR0176096B1 (en) | High speed data transfer device between synchronous buses | |
EP0020972A1 (en) | Program controlled microprocessing apparatus | |
KR100253730B1 (en) | Backup device of non-continuous multi-source digital data | |
US7788426B2 (en) | Apparatus and method for initializing an elastic buffer | |
SU1569843A1 (en) | Multicompressor computer system | |
SU881863A1 (en) | Stack-type storage | |
GB2084768A (en) | Circuit arrangement for rapidly exchanging data between the memory of an electronic processor and the interface units of its peripheral units | |
SU1008743A1 (en) | Fifo-type request servicing device | |
JP2699482B2 (en) | Data transfer control device | |
JPS63153655A (en) | Memory access control method | |
RU2024920C1 (en) | Device for time count | |
JP3354177B2 (en) | Data transmission equipment | |
JPH03201846A (en) | ATM switch buffer control method | |
SU1075311A1 (en) | Control unit for bubble memory | |
KR100218669B1 (en) | Atm switch address error deleting method | |
JPH11102325A (en) | Memory monitoring system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |