JP2642584B2 - Distribution table creation circuit - Google Patents

Distribution table creation circuit

Info

Publication number
JP2642584B2
JP2642584B2 JP5133077A JP13307793A JP2642584B2 JP 2642584 B2 JP2642584 B2 JP 2642584B2 JP 5133077 A JP5133077 A JP 5133077A JP 13307793 A JP13307793 A JP 13307793A JP 2642584 B2 JP2642584 B2 JP 2642584B2
Authority
JP
Japan
Prior art keywords
memory
channel
count value
cell
stored
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP5133077A
Other languages
Japanese (ja)
Other versions
JPH06350633A (en
Inventor
弘一 木原
勝美 上原
務 小林
公平 塩本
正文 加藤
敏哉 大内
弘志 池田
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.)
Fujitsu Ltd
Hitachi Ltd
NEC Corp
Nippon Telegraph and Telephone Corp
Oki Electric Industry Co Ltd
Original Assignee
Fujitsu Ltd
Hitachi Ltd
Nippon Telegraph and Telephone Corp
Oki Electric Industry Co Ltd
Nippon Electric Co 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 Fujitsu Ltd, Hitachi Ltd, Nippon Telegraph and Telephone Corp, Oki Electric Industry Co Ltd, Nippon Electric Co Ltd filed Critical Fujitsu Ltd
Priority to JP5133077A priority Critical patent/JP2642584B2/en
Publication of JPH06350633A publication Critical patent/JPH06350633A/en
Application granted granted Critical
Publication of JP2642584B2 publication Critical patent/JP2642584B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Monitoring And Testing Of Exchanges (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、非同期転送モード交
換システム(以下、ATM交換システムという)に収容
されているチャネルから送出されてくるセルの到着過程
(単位時間当たりの到着セル数に関する確率度数分布ま
たは確率補分布)を求める回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an arrival process of cells transmitted from a channel accommodated in an asynchronous transfer mode switching system (hereinafter referred to as an ATM switching system) (probability frequency relating to the number of cells arriving per unit time). (Distribution or probability complementary distribution).

【0002】[0002]

【従来技術】マルチメディア(音声・画像・データ等)
を収容可能とする広帯域通信網(B−ISDN)の一つ
であるATM(Asynchronous Transfer Mode)通信網の
特徴の一つは、通信すべき情報を固定長のセルに組み立
て、各セル毎に伝送することである。
[Prior Art] Multimedia (voice, image, data, etc.)
One of the features of the ATM (Asynchronous Transfer Mode) communication network, which is one of the broadband communication networks (B-ISDN) capable of accommodating the information, is to assemble information to be communicated into cells of a fixed length and to transmit each cell. It is to be.

【0003】第6図にセルフォーマットの概略を示す。
この例では、セルはヘッダ部1は5バイト,情報部2は
48バイトの計53バイトで構成されており、ヘッダ部
は送信先の仮想論理アドレスや各種制御情報で構成さ
れ、情報部はユーザのデータで構成されている。ATM
通信網においては、このセルを使用して通信することに
より、情報源に応じて伝送する情報量を可変とする可変
ビットレート通信(Variable Bit Rate通信:以下VB
R通信という)が可能となるので、情報量に応じた課金
を施したり、統計多重効果により中継線の使用効率を向
上させることが可能となる等の長所がある。
FIG. 6 shows an outline of a cell format.
In this example, the cell has a header section 1 of 5 bytes and an information section 2 of 48 bytes consisting of a total of 53 bytes. The header section is made up of a virtual logical address of the transmission destination and various control information. It consists of data. ATM
In a communication network, variable cell rate communication (Variable Bit Rate communication: hereinafter referred to as VB
R communication) is possible, so that there is an advantage that charging according to the amount of information can be performed, and the use efficiency of a trunk line can be improved by a statistical multiplexing effect.

【0004】これらのATM通信網の長所を生かすため
には、ATM交換システムにおいて時々刻々と動的に変
化するトラヒック量を的確に把握し、適応的トラヒック
制御を実施する必要がある。このため、ATM交換機
は、柔軟なトラヒック適応制御や通信網の資源の有効活
用を図るために、セル単位でのトラヒックに関する統計
情報の収集は必須機能となっている。
In order to make the most of these advantages of the ATM communication network, it is necessary to accurately grasp the traffic volume that changes dynamically from time to time in the ATM switching system and to implement adaptive traffic control. For this reason, the ATM exchange has an essential function of collecting traffic-related statistical information on a cell-by-cell basis in order to achieve flexible traffic adaptation control and effective use of communication network resources.

【0005】従来実施されてきた同期転送モード通信網
(以下STM(Synchronous Transfer Mode )通信網と
いう)では、固定ビットレート通信(Constant Bit Rat
e 通信以下CBR通信という)を採用しており、トラヒ
ック量はユーザの呼接続,呼切断の管理をするだけで一
義的に決定するので、動的なトラヒック制御は必要とさ
れず、また、トラヒックのリアルタイムな計測も必要と
されなかった。
In a conventional synchronous transfer mode communication network (hereinafter referred to as an STM (Synchronous Transfer Mode) communication network), a constant bit rate communication (Constant Bit Rat
e communication, hereinafter referred to as CBR communication), and the amount of traffic is determined uniquely only by managing the user's call connection and call disconnection. Therefore, dynamic traffic control is not required, and traffic is not required. No real-time measurement of was required.

【0006】[0006]

【発明が解決しようとする課題】従来のSTM通信網で
実施されていた呼接続,呼切断情報のみによるトラヒッ
ク制御をATM通信網に適用すると、VBR通信を行う
ユーザの帯域はピークレートで扱わなければならなくな
り、ATM通信網の設備の使用効率を劣下させることに
なる。この問題を回避するには、ATM交換システムに
おいて、システム内の通過セル数や廃棄セル数等のトラ
ヒック情報をセル単位にリアルタイムに計測し、これら
の実測値をトラヒック制御に反映させることで、適応的
なトラヒック制御が可能となる。
When the traffic control based on only the call connection and call disconnection information performed in the conventional STM communication network is applied to the ATM communication network, the bandwidth of the user performing the VBR communication must be handled at the peak rate. And the use efficiency of the equipment of the ATM communication network is degraded. To avoid this problem, in an ATM switching system, traffic information such as the number of passing cells and the number of discarded cells in the system is measured in real time on a cell-by-cell basis, and these measured values are reflected in traffic control, so that adaptive control is possible. Traffic control becomes possible.

【0007】本発明は、前述の問題を除去するために、
ATM交換システム内のトラヒック観測点に一定時間当
たりに到着するセル数に関する確率度数分布または確率
補分布を作成する回路を提供するものである。
[0007] The present invention has been developed in order to eliminate the aforementioned problems.
An object of the present invention is to provide a circuit for creating a probability frequency distribution or a probability distribution relating to the number of cells arriving at a traffic observation point in an ATM switching system per fixed time.

【0008】[0008]

【課題を解決するための手段】前記問題点を解決するた
めに、請求項1の発明は、ATM交換システムに収容さ
れている複数のチャネルから送出されてくるセルの到着
過程を観測し、到着セル数に関する分布を作成する分布
テーブル作成回路において、複数の前記チャネルから送
出されてくるセルを検出し、どのチャネルから送出され
たかを示すチャネル情報を含む検出信号を送出する到着
セル検出回路と、セルの計数値を前記チャネルごとに記
憶する第1のメモリと、前記第1のメモリに記憶されて
いる前記計数値を前記検出信号に基づいて加算する第1
の半加算器と、セルの計数値を前記チャネルごとに記憶
する第2のメモリと、前記第2のメモリに記憶されてい
る前記計数値を前記検出信号に基づいて加算する第2の
半加算器と、単位時間当たりのセルの計数値が交互に前
記第1のメモリと前記第2のメモリに記憶されるよう
に、前記第1のメモリまたは前記第2のメモリを初期化
し、前記第1の半加算器と前記第2の半加算器のいづれ
か一方が前記検出信号に基づいて動作するように制御す
る第1の制御部と、前記チャネルごとの前記単位時間当
たりの前記計数値の度数を前記チャネルと前記計数値か
ら決まるアドレスに記憶することにより、前記チャネル
ごとの到着セルの確率度数分布を記憶する第3のメモリ
と、前記第3のメモリに記憶されている前記度数の値を
加算する第3の半加算器と、前記第1の制御部の制御に
より計数を停止している前記第1のメモリまたは前記第
2のメモリから前記チャネルごとの前記単位時間当たり
の前記計数値を読み出し、前記チャネルの番号と読み出
した前記計数値から決まるアドレスに記憶されている前
記度数の値を1つ加算するように、前記第3のメモリ及
び前記第3の半加算器を制御する第2の制御部とを有
し、前記第1のメモリ及び前記第2のメモリから交互に
前記単位時間当たりの前記計数値を読み出すことによ
り、前記単位時間の整数倍の時間についての到着セルの
確立度数分布を前記第3のメモリに記憶させることを特
徴とする。
In order to solve the above-mentioned problem, the invention of claim 1 is to observe an arrival process of cells transmitted from a plurality of channels accommodated in an ATM switching system, In a distribution table creation circuit that creates a distribution related to the number of cells, an arrival cell detection circuit that detects cells transmitted from the plurality of channels and transmits a detection signal including channel information indicating from which channel the transmission is performed; A first memory that stores a cell count value for each of the channels, and a first memory that adds the count value stored in the first memory based on the detection signal.
A second memory for storing the cell count value for each of the channels, and a second half addition for adding the count value stored in the second memory based on the detection signal The first memory or the second memory is initialized so that a cell and a count value of cells per unit time are alternately stored in the first memory and the second memory. A first control unit that controls one of the half adder and the second half adder to operate based on the detection signal; and a frequency of the count value per unit time for each channel. A third memory for storing a probability frequency distribution of arriving cells for each channel and a value of the frequency stored in the third memory are added by storing at an address determined from the channel and the count value. 3rd half add And reading the count value per unit time for each channel from the first memory or the second memory, which stops counting under the control of the first control unit, and A second control unit that controls the third memory and the third half adder so as to add one to the frequency value stored at an address determined from the read count value. By alternately reading the count value per unit time from the first memory and the second memory, the distribution of the probability of arrival of an arrival cell for an integral multiple of the unit time is stored in the third memory. Is stored.

【0009】請求項2の発明は、ATM交換システムに
収容されている複数のチャネルから送出されてくるセル
の到着過程を観測し、到着セル数に関する分布を作成す
る分布テーブル作成回路において、複数の前記チャネル
から送出されてくるセルを検出し、どのチャネルから送
出されたかを示すチャネル情報を含む検出信号を送出す
る到着セル検出回路と、セルの計数値を前記チャネルご
とに記憶する第1のメモリと、前記第1のメモリに記憶
されている前記計数値を前記検出信号に基づいて加算す
る第1の半加算器と、セルの計数値を前記チャネルごと
に記憶する第2のメモリと、前記第2のメモリに記憶さ
れている前記計数値を前記検出信号に基づいて加算する
第2の半加算器と、単位時間当たりのセルの計数値が交
互に前記第1のメモリと前記第2のメモリに記憶される
ように、前記第1のメモリまたは前記第2のメモリを初
期化し、前記第1の半加算器と前記第2の半加算器のい
づれか一方が前記検出信号に基づいて動作するように制
御する第1の制御部と、前記検出信号が送出される度
に、前記検出信号が含む前記チャネルの番号及び前記第
1または前記第2のメモリで記憶されている前記計数値
から決まるアドレスに度数を記憶することにより、前記
チャネルごとの到着セルの確率補分布を記憶する第3の
メモリと、前記第3のメモリに記憶されている前記度数
を加算する第3の半加算器と、前記検出信号が送出され
る度に、前記第1の制御部の制御により計数動作をして
いる前記第1のメモリまたは前記第2のメモリのいずれ
かから前記検出信号が示すチャネルの前記計数値を読み
出し、前記チャネルの番号と読み出した前記計数値から
決まるアドレスに記憶されている前記度数を1つ加算す
るように、前記第3のメモリ及び前記第3の半加算器を
制御する第2の制御部とを有し、前記単位時間ごとに交
互に、前記第1のメモリまたは前記第2のメモリから前
記検出信号に基づいて前記計数値を読み出し、前記第3
のメモリが記憶する前記度数を更新することにより、前
記単位時間の整数倍の時間についての到着セルの確立補
分布を前記第3のメモリに記憶させることを特徴とす
る。
According to a second aspect of the present invention, there is provided a distribution table creating circuit for observing an arrival process of cells transmitted from a plurality of channels accommodated in an ATM switching system and creating a distribution relating to the number of arrival cells. An arriving cell detection circuit for detecting a cell transmitted from the channel and transmitting a detection signal including channel information indicating from which channel the cell is transmitted, and a first memory for storing a cell count value for each of the channels A first half adder that adds the count value stored in the first memory based on the detection signal, a second memory that stores a cell count value for each of the channels, A second half adder for adding the count value stored in the second memory based on the detection signal; and a count value of cells per unit time are alternately stored in the first memory. Initializing the first memory or the second memory so that the first half adder and the second half adder are stored in the second memory. A first control unit for controlling operation based on a signal, and each time the detection signal is transmitted, the number of the channel included in the detection signal and stored in the first or second memory. Storing a frequency at an address determined from the counted value, thereby adding a third memory storing a probability complement distribution of arriving cells for each channel, and adding the frequency stored in the third memory. 3 and the detection signal from either the first memory or the second memory which is performing a counting operation under the control of the first control unit each time the detection signal is transmitted. Of the channel indicated by The third memory and the third half adder are controlled so as to read out the count value and add one to the frequency stored in the address determined by the channel number and the read count value. A second control unit for reading the count value from the first memory or the second memory based on the detection signal alternately for each unit time;
By updating the frequency stored in the third memory, the established complementary distribution of arrival cells for an integral multiple of the unit time is stored in the third memory.

【0010】[0010]

【0011】[0011]

【作用】ATM交換システムにおいてセル数に関するト
ラヒック情報をリアルタイムに計測するために、単位時
間当たりのセルの計数値が交互に第1のメモリと第2の
メモリに記憶されるように、第1のメモリまたは第2の
メモリを初期化し、第1の半加算器と第2の半加算器の
いづれか一方が検出信号に基づいて動作するように制御
する。請求項1に示すように、第3のメモリに確立度数
分布を記憶させる場合は、計数を停止している第1のメ
モリまたは第2のメモリからチャネルごとの単位時間当
たりの計数値を読み出し、チャネルの番号と読み出した
前記計数値から決まるアドレスに記憶されている度数の
値を1つ加算するように、第3のメモリ及び第3の半加
算器を制御する。また、請求項2に示すように、第3の
メモリに確立補分布を記憶させる場合は、検出信号が送
出される度に、計数動作をしている前記第1のメモリま
たは前記第2のメモリのいずれかから検出信号が示すチ
ャネルの計数値を読み出し、チャネルの番号と読み出し
た計数値から決まるアドレスに記憶されている度数を1
つ加算するように、第3のメモリ及び第3の半加算器を
制御する。これにより、第1のメモリ及び第2のメモリ
から交互に単位時間当たりの計数値を読み出すことによ
り、単位時間の整数倍の時間についての到着セルの確立
度数分布または確立補分布を第3のメモリに記憶させ
る。
In order to measure traffic information on the number of cells in real time in an ATM switching system, a first memory and a second memory are used so that a count value of cells per unit time is alternately stored in a first memory and a second memory. The memory or the second memory is initialized, and control is performed such that one of the first half adder and the second half adder operates based on the detection signal. When the probability distribution is stored in the third memory, a count value per unit time for each channel is read from the first memory or the second memory whose counting is stopped. The third memory and the third half adder are controlled so as to add one to the frequency value stored at the address determined from the channel number and the read count value. In addition, when the probability complementary distribution is stored in the third memory, the first memory or the second memory performing the counting operation every time the detection signal is transmitted. The count value of the channel indicated by the detection signal is read from any of the above, and the frequency stored in the address determined by the channel number and the read count value is set to 1
The third memory and the third half adder are controlled to add one. Thus, by alternately reading the count value per unit time from the first memory and the second memory, the probability distribution or the probability distribution of arrival cells for an integral multiple of the unit time can be calculated in the third memory. To memorize.

【0012】[0012]

【0013】[0013]

【0014】[0014]

【0015】[0015]

【実施例】まずトラヒック観測点において、ある一定時
間(S)当たりの到着セル数に関する確率度数分布と確
率補分布の作成例について説明する。なお、以下の説明
において、ATM交換システム内を通過するセルの1セ
ル保留時間を1単位時間として正規化する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS First, a description will be given of an example of creating a probability frequency distribution and a probability complement distribution regarding the number of cells arriving per a certain time (S) at a traffic observation point. In the following description, one cell holding time of a cell passing through the ATM switching system is normalized as one unit time.

【0016】確率度数分布の説明 確率度数分布をQ(i);(0≦i≦S)とし、下記
のごとく初期化する。 Q(i)=0 ;(0≦i≦S) S時間当たりに到着するセル数の計数値をmとして、
下記のごとく初期化する。 m=0 S時間の間、セルが到着するたびに計数値mを m=m+1 とする。 S時間経過した時点で、 Q(m)=Q(m)+1 ;(0≦m≦S) とする。
Description of Probability Frequency Distribution The probability frequency distribution is defined as Q (i); (0 ≦ i ≦ S) and initialized as follows. Q (i) = 0; (0 ≦ i ≦ S) Assuming that a count value of the number of cells arriving per S time is m,
Initialize as follows. During the m = 0 S time, every time a cell arrives, the count value m is set to m = m + 1. When the S time has elapsed, Q (m) = Q (m) +1; (0 ≦ m ≦ S).

【0017】上記から迄の処理をN回繰り返すこと
で、S時間当たりに到着するセル数に関する確率度数分
布が得られる。具体例として、S=6,N=6の場合を
図4に示す。同図の如くN=1では単位時間当たり1セ
ル到着、N=2では単位時間当たり3セル到着し、以下
N=6まで単位時間当たりに到着したセルを観測し、ヒ
ストグラムに示すような度数分布を得ることができる。
By repeating the above processing N times, a probability frequency distribution concerning the number of cells arriving per S time can be obtained. FIG. 4 shows a specific example where S = 6 and N = 6. As shown in the figure, when N = 1, one cell arrives per unit time, when N = 2, three cells arrive per unit time, and thereafter, cells arriving per unit time up to N = 6 are observed. Can be obtained.

【0018】確率補分布の説明 確率補分布をQC (i);(0≦i≦S)とし、下記
のごとく初期化する。 QC (i)=N ;(i=0) QC (i)=0 ;(1≦i≦S) S時間当たりに到着するセル数の計数値をmとして、
下記のごとく初期化する。 m=0 S時間の間、セルが到着するたびに、 m=m+1 QC (m)=QC (m)+1 ;(0≦m≦S) とする。
Description of Probability Complementary Distribution The probability complement distribution is defined as Q C (i); (0 ≦ i ≦ S), and initialization is performed as follows. Q C (i) = N; (i = 0) Q C (i) = 0; a (1 ≦ i ≦ S) counts the number of cells arriving per S time as m,
Initialize as follows. m = 0 S during the time, each time the cell arrives, m = m + 1 Q C (m) = Q C (m) +1; and (0 ≦ m ≦ S).

【0019】上記から迄の処理をN回繰り返すこと
で、S時間当たりに到着するセル数に関する確率補分布
が得られる。具体例として、S=6,N=6の場合を図
5に示す、単位時間当たりに到着したセルを同図のよう
なヒストグラムに表すことができる。
By repeating the above processing N times, a probability complementary distribution relating to the number of cells arriving per S time can be obtained. As a specific example, FIG. 5 shows a case where S = 6 and N = 6, and cells arriving per unit time can be represented in a histogram as shown in FIG.

【0020】前述の説明では、到着セルが単一チャネル
で、かつS時間当たりの到着セルカウンタが1面、分布
テーブルが1面である場合を説明したが、以下の説明で
は、トラヒック観測点に複数チャネルからセルが到着
し、チャネルごとに分布テーブルを作成する場合につい
て詳細に説明する。
In the above description, the case where the arrival cell is a single channel, the arrival cell counter per S time is one plane, and the distribution table is one plane, but in the following description, the traffic observation point is The case where cells arrive from a plurality of channels and a distribution table is created for each channel will be described in detail.

【0021】確率度数分布の説明 まず、処理フローを以下に示す。 S時間当たりに到着するセル数の計数カウンタを2面
用意し、 C A (i) ;0 ≦i ≦(M-1) , 0 ≦C A (i) ≦S C B (i) ;0 ≦i ≦(M-1) , 0 ≦C B (i) ≦S 下記のごとく初期化する。 C A (i)=0 ;0 ≦i ≦(M-1) C B (i)=0 ;0 ≦i ≦(M-1) ここで、M はチャネル数。
Description of probability frequency distribution First, a processing flow is shown below. Two counters for counting the number of cells arriving per S time are prepared, and C A (i); 0 ≤ i ≤ (M-1), 0 ≤ C A (i) ≤ SC B (i); 0 ≤ i ≤ (M-1), 0 ≤ C B (i) ≤ S Initialize as follows. C A (i) = 0; 0 ≦ i ≦ (M-1) C B (i) = 0; 0 ≦ i ≦ (M-1) where M is the number of channels.

【0022】確率度数分布テーブルを2面用意し、 Q A (j,k) ;0 ≦j ≦(M-1) , 0 ≦k ≦S , 0 ≦Q
A (j,k) ≦N Q B (j,k) ;0 ≦j ≦(M-1) , 0 ≦k ≦S , 0 ≦Q
B (j,k) ≦N 下記のごとく初期化する。 Q A (j,k)=0 ;0 ≦j ≦(M-1) , 0 ≦k ≦S Q B (j,k)=0 ;0 ≦j ≦(M-1) , 0 ≦k ≦S
Two probability frequency distribution tables are prepared, and Q A (j, k); 0 ≦ j ≦ (M−1), 0 ≦ k ≦ S, 0 ≦ Q
A (j, k) ≤NQ B (j, k); 0 ≤j ≤ (M-1), 0 ≤k ≤S, 0 ≤Q
B (j, k) ≤ N Initialize as follows. Q A (j, k) = 0; 0 ≤ j ≤ (M-1), 0 ≤ k ≤ SQ B (j, k) = 0; 0 ≤ j ≤ (M-1), 0 ≤ k ≤ S

【0023】S時間の間、セルが到着するたびに、当
該到着セルのヘッダ部からチャネル番号を抽出し、到着
セルカウンタCA(NO)を C A (NO)=C A (NO)+1 とする。ここで、NOは到着セルのヘッダ部から抽出した
チャネル番号であり、 0 ≦NO≦M-1 とする。また、このS時間の間に到着セルカウンタC B
(i) を下記のごとく初期化する。 C B (i)=0 ;0
≦i ≦(M-1)
Each time a cell arrives during the S time, the channel number is extracted from the header of the arriving cell, and the arriving cell counter CA (NO) is set as C A (NO) = C A (NO) +1. I do. Here, NO is a channel number extracted from the header part of the arrival cell, and 0 ≦ NO ≦ M−1. Also, during this S time, the arrival cell counter C B
(i) is initialized as follows. C B (i) = 0; 0
≤i ≤ (M-1)

【0024】S時間経過した時点で、 Q A (j,C A (j))=Q A (j,C A (j))+1 ;0 ≦j ≦(M-1) とする。 次のS 時間の間、セルが到着するたびに、当該到着セ
ルのヘッダ部からチャネル番号を抽出し、到着セルカウ
ンタC B (NO)を C B (NO)=C B (NO)+1 とする。また、このS 時間の間に到着セルカウンタC A
(i) を下記のごとく初期化する。 C A (i)=0 ;0
≦i ≦(M-1) S 時間経過した時点で、 Q A (j,C B (j))=Q A (j,C B (j))+1 ;0 ≦j ≦(M-1) とする。
When S time has elapsed, it is assumed that Q A (j, C A (j)) = Q A (j, C A (j)) + 1; 0 ≦ j ≦ (M−1). During the next S time, every time a cell arrives, the channel number is extracted from the header part of the arriving cell, and the arriving cell counter C B (NO) is set as C B (NO) = C B (NO) +1. I do. Also, during this S time, the arrival cell counter C A
(i) is initialized as follows. C A (i) = 0; 0
≤ i ≤ (M-1) After the elapse of S time, Q A (j, C B (j)) = Q A (j, C B (j)) +1; 0 ≤ j ≤ (M-1) And

【0025】上記処理,と,を交互に繰り返
し実施し、,の繰り返し回数と, の繰り返し
回数が合わせてN回になるまで計測を実施する。 S×N時間経過した時点で、S時間当たりの到着セル
に関する確率度数分布がチャネル対応にQ A (j,k) に作
成されることになる。次のS×N時間の間は、S 時間
ごとの度数分布はQ B (j,k) に作成し、確率度数分布Q
A (j,k) は外部回路か らアクセス可能な状態にし、ア
クセスが終了した時点でQ A (j,k) を初期化する。 以下、〜の処理を繰り返す。
The above processing and are repeated alternately, and measurement is performed until the number of repetitions of and is repeated N times. At the time when S × N time has elapsed, the probability distribution of the arrival cell per S time is created in Q A (j, k) corresponding to the channel. During the next S × N time, the frequency distribution for each S time is created in Q B (j, k), and the probability frequency distribution Q
A (j, k) is made accessible from an external circuit, and Q A (j, k) is initialized when the access is completed. Hereinafter, the processing of-is repeated.

【0026】確率補分布の説明 まず、処理フローを以下に示す。 S時間当たりに到着するセル数の計数カウンタを2面
用意し、 C A (i) ;0 ≦i ≦(M-1) , 0 ≦C A (i) ≦S C B (i) ;0 ≦i ≦(M-1) , 0 ≦C B (i) ≦S 下記のごとく初期化する。 C A (i)=0 ;0 ≦i ≦(M-1) C B (i)=0 ;0 ≦i ≦(M-1) ここで、Mはチャネル数。
Description of Probability Complementary Distribution First, a processing flow will be described below. Two counters for counting the number of cells arriving per S time are prepared, and C A (i); 0 ≤ i ≤ (M-1), 0 ≤ C A (i) ≤ SC B (i); 0 ≤ i ≤ (M-1), 0 ≤ C B (i) ≤ S Initialize as follows. C A (i) = 0; 0 ≦ i ≦ (M−1) C B (i) = 0; 0 ≦ i ≦ (M-1) where M is the number of channels.

【0027】確率補分布テーブルを2面用意し、 Q C A (j,k) ;0 ≦j ≦(M-1) , 0 ≦k ≦S , 0 ≦Q C
A (j,k) ≦N Q C B (j,k) ;0 ≦j ≦(M-1) , 0 ≦k ≦S , 0 ≦Q C
B (j,k) ≦N 下記のごとく初期化する。 Q C A (j,k)=0 ;0 ≦j ≦(M-1) , 0 ≦k ≦S Q C B (j,k)=0 ;0 ≦j ≦(M-1) , 0 ≦k ≦S
Two probability distribution tables are prepared, and Q C A (j, k); 0 ≦ j ≦ (M−1), 0 ≦ k ≦ S, 0 ≦ Q C
A (j, k) ≤NQ C B (j, k); 0 ≤j ≤ (M-1), 0 ≤k ≤S, 0 ≤Q C
B (j, k) ≤ N Initialize as follows. Q C A (j, k) = 0; 0 ≤ j ≤ (M-1), 0 ≤ k ≤ SQ C B (j, k) = 0; 0 ≤ j ≤ (M-1), 0 ≤ k ≤ S

【0028】S時間の間、セルが到着するたびに、当
該到着セルのヘッダ部からチャネル番号を抽出し、到着
セルカウンタC A (NO)と確率補分布Q C A (j,k) を C A (NO)=C A (NO)+1 Q C A (NO,C A (NO))=Q C A (NO,C A (NO))+1 とする。ここで、NOは到着セルのヘッダ部から抽出し
たチャネル番号であり、 0 ≦NO≦M-1 とする。 また、このS時間の間に到着セルカウンタC B (i) を下
記のごとく初期化する。 C B (i)=0 ;0 ≦i ≦
(M−1)
Each time a cell arrives during the S time, the channel number is extracted from the header part of the arriving cell, and the arriving cell counter C A (NO) and the probability complement distribution Q C A (j, k) are converted to C A (NO) = C A (NO) +1 QC A (NO, C A (NO)) = Q C A (NO, C A (NO)) + 1. Here, NO is a channel number extracted from the header part of the arrival cell, and 0 ≦ NO ≦ M−1. During this S time, the arrival cell counter C B (i) is initialized as follows. C B (i) = 0; 0 ≤ i ≤
(M-1)

【0029】次のS時間の間、セルが到着するたび
に、当該到着セルのヘッダ部からチャネル番号を抽出
し、到着セルカウンタC (NO)と確率補分布Q
C A (j,k) を C B (NO)=C B (NO)+1 Q C A (NO,C B (NO))=Q C A (NO,C B (NO))+1 とする。また、このS 時間の間に到着セルカウンタC A
(i) を下記のごとく初期化する。 C A (i)=0 ;0
≦i ≦(M-1)
During the next S time, every time a cell arrives, the channel number is extracted from the header of the arrival cell, and the arrival cell counter C B (NO) and the probability complement distribution Q
Let C A (j, k) be C B (NO) = C B (NO) +1 Q C A (NO, C B (NO)) = Q C A (NO, C B (NO)) + 1 . Also, during this S time, the arrival cell counter C A
(i) is initialized as follows. C A (i) = 0; 0
≤i ≤ (M-1)

【0030】上記処理とを交互に繰り返し実施
し、の繰り返し回数との繰り返し回数が合わせてN
回になるまで計測を実施する。 S×N時間経過した時点で、S時間当たりの到着セル
に関する確率補分布がチャネル対応にQ C A (j,k) に作
成されることになる。次のS×N時間の間は、S時 間
ごとの補分布はQ C B (j,k) に作成し、確率補数分布Q
C A (j,k) は外部回路からア クセス可能な状態にし、
アクセスが終了した時点で Q C A (j,k)を初期化するも
のとする。 以下、〜の処理を繰り返す。
The above processing is alternately repeated, and the number of repetitions with the number of repetitions is N.
Perform the measurement until the time. At the point in time when S × N time has elapsed, a complementary probability distribution regarding the arriving cells per S time is created in Q C A (j, k) corresponding to the channel. During the next S × N times, complement distribution between every time S is created Q C B (j, k) , the probability complement distribution Q
C A (j, k) is accessible from the external circuit,
Access also to that initializes the Q C A (j, k) at the time of completion. Hereinafter, the processing of-is repeated.

【0031】実現回路の説明 確率度数分布テーブル作成回路と確率補分布テーブル作
成回路は同一の回路構成が可能である。具体例を図1、
図2、図3に示す。なお分布テーブル作成回路は図1〜
図3の3枚1組で表す。同図において、 200は到着
セル検出回路、206は外部回路、207は制御回路で
ある。010,011,012,013,014,01
5,110,111,112,113,114,11
5,202,203,205は選択回路であり、A0,
A1にはそれぞれ入力データが接続され、YにはS=0
のときA0が出力され、S=1のときA1が出力され
る。
Description of the realization circuit The probability frequency distribution table creation circuit and the probability supplemental distribution table creation circuit can have the same circuit configuration. A specific example is shown in FIG.
This is shown in FIGS. The distribution table creation circuit is shown in Figs.
This is represented by a set of three sheets in FIG. In the figure, 200 is an arrival cell detection circuit, 206 is an external circuit, and 207 is a control circuit. 010,011,012,013,014,01
5,110,111,112,113,114,11
5, 202, 203 and 205 are selection circuits, and A0,
A1 is connected to input data, and Y is S = 0.
At this time, A0 is output, and when S = 1, A1 is output.

【0032】201と204はインバータであり、入力
信号の極性を反転したものを出力する。000,00
1,100,101はランダムアクセスメモリ(RA
M、以下メモリという)であり、ADRにはアドレスバ
スが接続され、DIには入力データバスが接続され、D
Oには出力データバスが接続され、WEにはライトイネ
ーブル信号が接続され、REにはリードイネーブル信号
が接続される。WEにパルスが入力されるとADRで指
定されたアドレスにDIのデータが書き込まれ、REに
パルスが入力されるとADRで指定されたアドレスの内
容がDOに出力される。
Reference numerals 201 and 204 denote inverters, which output an input signal whose polarity is inverted. 00000
1, 100 and 101 are random access memories (RA
M, hereinafter referred to as memory), an address bus is connected to ADR, an input data bus is connected to DI, and D
O is connected to an output data bus, WE is connected to a write enable signal, and RE is connected to a read enable signal. When a pulse is input to WE, DI data is written to the address specified by ADR, and when a pulse is input to RE, the contents of the address specified by ADR are output to DO.

【0033】020,021,120,121はレジス
タであり、CKにはラッチパルスが接続され、Dには入
力データバスが接続され、Qには出力データバスが接続
される。CKが入力されるとDのデータがレジスタに書
き込まれると同時にQに出力される。030,031,
130,131は半加算器であり、Aには入力データが
接続され、YにはAに1を加算した値が出力される。
020, 021, 120 and 121 are registers, CK is connected to a latch pulse, D is connected to an input data bus, and Q is connected to an output data bus. When CK is input, D data is written to the register and output to Q at the same time. 030,031,
Reference numerals 130 and 131 denote half adders, to which input data is connected to A, and a value obtained by adding 1 to A is output to Y.

【0034】208は排他的論理和回路であり、2つの
入力の極性が互いに異なるときは、出力は1となり、2
つの入力の極性が同一のときは、出力は0となる。
Reference numeral 208 denotes an exclusive OR circuit. When the polarities of two inputs are different from each other, the output becomes 1 and 2
If the polarities of the two inputs are the same, the output will be zero.

【0035】制御回路207の入力信号には、クロック
S201,セル同期信号S202,セル検出信号S20
3,スタート信号S221,リセット信号S229があ
り、リセット信号S229は制御回路207を初期化す
る信号であり、クロックS201とセル同期信号S20
2は制御回路207内で各種タイミングを作成する為に
使用される。スタート信号S221は外部回路206か
ら供給されており、前記スタート信号が”1”になると
確率度数分布または確率補分布の作成を開始する。セル
検出信号S203は、到着セル検出回路200から供給
され、分布テーブル作成中に前記到着セル検出回路20
0にて到着セルを検出した時にこの旨を制御回路207
に通知することで、制御回路207は到着セルカウンタ
または分布テーブルを更新する為に各種制御信号を所定
のタイミングで発生する。
The input signals of the control circuit 207 include a clock S201, a cell synchronization signal S202, and a cell detection signal S20.
3, a start signal S221 and a reset signal S229. The reset signal S229 is a signal for initializing the control circuit 207, and includes a clock S201 and a cell synchronization signal S20.
Reference numeral 2 is used to create various timings in the control circuit 207. The start signal S221 is supplied from the external circuit 206. When the start signal becomes "1", creation of a probability frequency distribution or a probability complementary distribution is started. The cell detection signal S203 is supplied from the arriving cell detection circuit 200, and is used during the distribution table creation.
When the arrival cell is detected at 0, the control circuit 207 informs this fact.
, The control circuit 207 generates various control signals at a predetermined timing to update the arrival cell counter or the distribution table.

【0036】制御回路207の出力信号には、選択信号
S206,S219,ラッチパルスS212,S22
4,ライトイネーブルS208,S210,S216,
リードイネーブルS209,S211,S218,アド
レスS205,S228,割り込み信号S227があ
る。選択信号S206は選択回路010,011のSに
接続され、また、インバータ201を介して選択信号S
206の極性を反転した信号S207が選択回路11
0,111のSと排他的論理和回路208に接続され
る。排他的論理和回路208の出力S232は選択回路
202のSに接続される。
The output signals of the control circuit 207 include selection signals S206 and S219, latch pulses S212 and S22.
4, write enable S208, S210, S216,
There are read enable S209, S211, S218, addresses S205, S228, and interrupt signal S227. The selection signal S206 is connected to S of the selection circuits 010 and 011.
The signal S207 whose polarity is inverted from the signal 206 is the selection circuit 11
0, 111 and the exclusive OR circuit 208. An output S232 of the exclusive OR circuit 208 is connected to S of the selection circuit 202.

【0037】前記選択信号S206は、リセット解除
後、制御回路207がメモリ000とメモリ100を初
期化するとき、どちらのメモリを初期化するかを決定す
る信号であり、”1”のときはメモリ000が初期化さ
れ、”0”のときはメモリ100が初期化される。ま
た、分布テーブル作成中は、S時間毎に”0”,”1”
を交互に繰り返し、”0”のときはメモリ(000)に
S時間当たりの到着セルの計数値が保持され、”1”の
ときはメモリ100にS時間当たりの到着セルの計数値
が保持される。
The selection signal S206 is a signal for determining which memory is to be initialized when the control circuit 207 initializes the memory 000 and the memory 100 after the reset is released. 000 is initialized, and when it is “0”, the memory 100 is initialized. In addition, during the distribution table creation, “0”, “1” every S time
Are alternately repeated, and when "0", the count value of the arriving cell per S time is held in the memory (000), and when "1", the count value of the arriving cell per S time is held in the memory 100. You.

【0038】ラッチパルスS212はレジスタ020,
120のCKに接続され、分布テーブル作成中に、セル
が到着した際にメモリ000,100に保持されていた
到着セルの計数値を半加算器030,130で加算した
値をレジスタ020,120に保持しておく為に使用す
る。
The latch pulse S212 is supplied to the register 020,
CK connected to the half-adders 030 and 130, and the registers 020 and 120 are added to the counts of the arrival cells held in the memories 000 and 100 when the cells arrived. Used to keep.

【0039】ライトイネーブルS208,S210はメ
モリ000,100のWEに接続され、リセット解除後
と分布テーブル作成中にメモリ000,100を初期化
する際に、当該メモリ000、100にデータとして”
0”を書き込む為に使用するとともに、分布テーブル作
成中にセルが到着した際にメモリ000,100に格納
されていた到着セルの計数値を半加算器031,131
で加算した値を前記メモリ000、100に書き込む為
に使用する。
The write enable S208, S210 is connected to the WE of the memory 000, 100, and when the memory 000, 100 is initialized after reset release and during creation of the distribution table, the data is stored in the memory 000, 100 as data.
In addition to using "0" for writing, the count value of the arriving cell stored in the memory 000, 100 when the cell arrives during the creation of the distribution table is added to the half adder 031, 131.
Is used to write the value added in the above to the memories 000 and 100.

【0040】リードイネーブルS209,S211はメ
モリ000,100のREに接続され、分布テーブル作
成中にセルが到着した際に、メモリ000,100に格
納されていた到着セルの計数値を前記メモリ000、1
00から読み出し、半加算器030,130に供給する
為に使用する。また、分布テーブルを格納するメモリ0
01,101の内容を更新する際、メモリ000,10
0からS時間当たりの到着セルの計数値を読み出し、メ
モリ001,101のアドレスとして供給する為に使用
する。
The read enable S209, S211 is connected to the RE of the memory 000, 100, and when the cell arrives during the distribution table creation, the count value of the arriving cell stored in the memory 000, 100 is stored in the memory 000, 1002. 1
It is used to read from 00 and supply it to the half adders 030 and 130. Also, the memory 0 for storing the distribution table
When updating the contents of 01, 101, the memory 000, 10
The count value of the arriving cells per S time from 0 is read and used to supply the addresses of the memories 001 and 101.

【0041】アドレスS205は選択回路010,11
0のA1に接続され、リセット解除後と分布テーブル作
成中に制御回路207がメモリ000とメモリ100を
初期化するときのアドレスとして使用するとともに、分
布テーブルを格納するメモリ001,101の内容を更
新する際、メモリ000,001からS時間当たりの到
着セルの計数値を読み出し、メモリ001,101のア
ドレスとして供給する為に使用する。
The address S205 is selected by the selection circuits 010 and 11
0 is used as an address when the control circuit 207 initializes the memory 000 and the memory 100 after the reset is released and during the creation of the distribution table, and updates the contents of the memories 001 and 101 for storing the distribution table. At this time, the count value of the arriving cell per S time is read from the memory 000,001 and used to supply the address as the address of the memory 001,101.

【0042】ライトイネーブルS216は選択回路01
3,113のA0に接続され、メモリ001,101に
格納されている分布テーブルを更新する際に使用する。
リードイネーブルS218は選択回路014,114の
A0に接続され、メモリ001,101に格納されてい
る分布テーブルを更新する際に、前記メモリ001、1
01から分布テーブルを読み出し、半加算器031,1
31に供給する為に使用する。
The write enable S216 is the selection circuit 01
3, 113 are used to update the distribution table connected to A0 and stored in the memory 001, 101.
The read enable S218 is connected to A0 of the selection circuits 014, 114, and when updating the distribution table stored in the memories 001, 101, the memories 001, 1
01, the distribution table is read out, and the half adders 031, 1
Used to supply to 31.

【0043】選択信号S219は選択回路203のA1
に接続され、分布テーブル作成中はスタート信号S22
1が”1”となると、選択回路203の出力S222に
現れ、この出力信号S222は選択回路012,01
3,014,015のSに接続され、また、インバータ
204を介して選択信号S219の極性を反転した信号
S223が選択回路112,113,114,115,
205のSに接続される。選択信号S219は、分布テ
ーブル作成中、S×N時間毎に”0”,”1”を交互に
繰り返し、”0”のときは、メモリ001にS時間当た
りの到着セル数に関する分布テーブルが作成され、メモ
リ101は外部回路206に開放される。”1”のとき
は、メモリ101にS時間当たりの到着セル数に関する
分布テーブルが作成され、メモリ001は外部回路20
6に開放される。
The selection signal S219 is the signal A1 of the selection circuit 203.
To the start signal S22 during the creation of the distribution table.
When 1 becomes "1", it appears at the output S222 of the selection circuit 203, and this output signal S222 is output to the selection circuits 012 and 01.
3, 014, 015, and a signal S223 obtained by inverting the polarity of the selection signal S219 via an inverter 204 is supplied to the selection circuits 112, 113, 114, 115,
205 is connected to S. The selection signal S219 alternately repeats “0” and “1” every S × N time during the creation of the distribution table. When the selection signal S219 is “0”, the memory 001 creates a distribution table on the number of cells arriving per S time. Then, the memory 101 is opened to the external circuit 206. When "1", a distribution table relating to the number of cells arriving per S time is created in the memory 101, and the memory 001 is stored in the external circuit 20.
Opened to 6.

【0044】ラッチパルスS224はレジスタ021,
121のCKに接続され、分布テーブル作成中に、メモ
リ001,101に格納されていた分布データを半加算
器031,131で加算した値をレジスタ021,12
1に保持しておく為に使用する。
The latch pulse S224 is applied to the registers 021,
Registers 211, 12 are connected to the CKs 121, 121, and the distribution data stored in the memories 001, 101 are added by the half adders 031, 131 during the distribution table creation.
Used to keep at 1.

【0045】割り込み信号S227は、外部回路206
に接続されており、S×N時間毎に外部回路206に対
してパルスを供給することで、外部回路206に、メモ
リ001もしくはメモリ101にS時間当たりの到着セ
ル数に関する分布テーブルが作成完了したことを通知す
る。
The interrupt signal S227 is output from the external circuit 206.
By supplying a pulse to the external circuit 206 every S × N time, a distribution table relating to the number of cells arriving per S time is completed in the external circuit 206 in the memory 001 or the memory 101. Notify that.

【0046】アドレスS228は、選択回路202の出
力S213とともに、混合信号S230となり、選択回
路012,112のA0に接続される。混合信号S23
0のMSB側はアドレスS228で構成され、LSB側
は選択回路202の出力S213で構成される。混合信
号S230は、チャネル対応にメモリ001、101に
格納されている分布テーブルを更新する際に、メモリ0
01,101のアドレスとして使用し、混合信号S23
0のMSB側を構成するアドレスS228は0からM−
1の範囲で変化する。
The address S228 becomes a mixed signal S230 together with the output S213 of the selection circuit 202, and is connected to A0 of the selection circuits 012 and 112. Mixed signal S23
The MSB side of 0 is configured by the address S228, and the LSB side is configured by the output S213 of the selection circuit 202. The mixed signal S230 is used when updating the distribution table stored in the memories 001 and 101 corresponding to the channels.
01, 101, and the mixed signal S23
The address S228 constituting the MSB side of 0 is from 0 to M-
It changes in the range of 1.

【0047】外部回路206の入力信号には、入力デー
タS226,割り込み信号S227,リセット信号S2
29があり、入力データS226は選択回路205のY
と接続されており、メモリ001またはメモリ101に
格納されているS時間当たりの到着セル数に関する分布
データの実測値が供給される。外部回路206はこの実
測値がメモリ001またはメモリ101のどちらに格納
されているか知る必要はない。というのも選択回路20
5によって、本発明回路が自動的に最新の実測値が格納
されているメモリ001または101を選択するからで
ある。
The input signals of the external circuit 206 include input data S226, interrupt signal S227, and reset signal S2.
29, and the input data S226 is Y
, And the measured value of distribution data on the number of cells arriving per S time stored in the memory 001 or the memory 101 is supplied. The external circuit 206 does not need to know whether the measured value is stored in the memory 001 or the memory 101. Because the selection circuit 20
This is because, according to 5, the circuit of the present invention automatically selects the memory 001 or 101 in which the latest measured value is stored.

【0048】割り込み信号S227は、制御回路207
から供給されており、分布テーブル作成中にS×N時間
毎に割り込みパルスが供給されることで、外部回路20
6はメモリ001もしくはメモリ101にS時間当たり
の到着セル数に関する分布テーブルが作成完了したこと
を認識することが可能となる。リセット信号S229は
外部回路206を初期化する信号である。
The interrupt signal S227 is output from the control circuit 207.
From the external circuit 20 by supplying an interrupt pulse every S × N time during the creation of the distribution table.
No. 6 can recognize that the distribution table relating to the number of arriving cells per S time is completed in the memory 001 or the memory 101. The reset signal S229 is a signal for initializing the external circuit 206.

【0049】外部回路206の出力信号には、出力デー
タS225,アドレスS214,ライトイネーブルS2
15,リードイネーブルS217,選択信号S220,
スタート信号S221,モード信号S231があり、出
力データS225は選択回路015,115のA1に接
続されており、リセット解除後、外部回路206がメモ
リ001,101を初期化するとき、または、分布テー
ブル作成中、割り込みS227が入り分布データをメモ
リ001もしくは101から読み取った後に、メモリ0
01もしくは101を初期化する際、出力データS22
5を”0”にしてメモリ001もしくは101に前値
“0“を書き込む。
The output signals of the external circuit 206 include output data S225, address S214, and write enable S2.
15, read enable S217, selection signal S220,
There are a start signal S221 and a mode signal S231, and the output data S225 is connected to A1 of the selection circuits 015 and 115. After the reset is released, the external circuit 206 initializes the memories 001 and 101 or creates a distribution table. Medium, after the interruption S227 reads the distribution data from the memory 001 or 101,
01 or 101, the output data S22
5 is set to "0", and the previous value "0" is written to the memory 001 or 101.

【0050】ライトイネーブルS215は、選択回路0
13,113のA1に接続されており、リセット解除
後、外部回路206がメモリ001,101を初期化す
るとき、または分布テーブル作成中、割り込みS227
が入り分布データをメモリ001もしくは101から読
み取った後に、メモリ001もしくは101を初期化す
る際、出力データS225を”0”にしてメモリ001
もしくは101にライトイネーブル信号S215を送出
し、前値“0”を書き込む。リードイネーブルS217
は選択回路014,114のA1に接続されており、分
布テーブル作成中、割り込みS227が入り分布データ
をメモリ001もしくは101から読み取るときに使用
する。
The write enable S215 is connected to the selection circuit 0
13 and 113, the interrupt S227 occurs when the external circuit 206 initializes the memories 001 and 101 after reset release, or during the creation of the distribution table.
When the memory 001 or 101 is initialized after reading distribution data from the memory 001 or 101, the output data S225 is set to “0” and the memory 001 is initialized.
Alternatively, a write enable signal S215 is sent to 101, and the previous value “0” is written. Read enable S217
Is connected to A1 of the selection circuits 014 and 114, and is used when the distribution data is read from the memory 001 or 101 when the interrupt S227 is input during the creation of the distribution table.

【0051】選択信号S220は選択回路203のA0
に接続されており、リセット解除後、スタート信号S2
21が”0”であるとき、選択回路203の出力Yに現
れ、この出力信号S222は選択回路012,013,
014,015のSに接続され、またインバータ204
を介して選択信号S220の極性を反転した信号S22
3が選択回路112,113,114,115,205
のSに接続される。選択信号S220は、リセット解除
後、外部回路206がメモリ001,101を初期化す
る際、どちらのメモリを初期化するかを決定する信号で
あり、”0”のときはメモリ101が初期化され、”
1”のときはメモリ001が初期化される。
The selection signal S220 is A0 of the selection circuit 203.
After the reset is released, the start signal S2
21 is "0", it appears at the output Y of the selection circuit 203, and this output signal S222
014, 015 and the inverter 204
Signal S22 obtained by inverting the polarity of the selection signal S220 via
3 is a selection circuit 112, 113, 114, 115, 205
To S. The selection signal S220 is a signal that determines which memory is to be initialized when the external circuit 206 initializes the memories 001 and 101 after the reset is released. When the external signal 206 is “0”, the memory 101 is initialized. ,
When it is "1", the memory 001 is initialized.

【0052】スタート信号S221は選択回路203の
Sと制御回路207に接続され、リセット解除後は”
0”となっており、メモリ000,001,100,1
01の初期化が完了した後で、”1”とすることで分布
テーブル作成回路は計測を開始する。
The start signal S221 is connected to S of the selection circuit 203 and the control circuit 207.
0 "and the memory 000,001,100,1
After the initialization of 01 is completed, the distribution table creation circuit starts measurement by setting it to “1”.

【0053】モードS231は、排他的論理和回路20
8に接続され、確率度数分布を作成するときはモードS
231を”0”とし、確率補分布を作成するときはモー
ドS231を”1”とする。
In the mode S231, the exclusive OR circuit 20
Mode S when the probability frequency distribution is created.
231 is set to “0”, and the mode S231 is set to “1” when a probability complementary distribution is created.

【0054】到着セル検出回路200の入力信号には、
セルデータS200,セル同期信号S202,クロック
S201があり、セルデータS200は観測点でのユー
ザから送出されてきたセルであり、セル同期信号S20
2とクロックS202はセルデータに同期したタイミン
グ信号でありセル検出回路200内で各種タイミング信
号を作成するのに使用される。
The input signal of the arrival cell detection circuit 200 includes
There are cell data S200, a cell synchronization signal S202, and a clock S201. The cell data S200 is a cell transmitted from the user at the observation point.
2 and a clock S202 are timing signals synchronized with the cell data, and are used to generate various timing signals in the cell detection circuit 200.

【0055】到着セル検出回路200の出力信号には、
セル検出信号S203,チャネル番号S204があり、
セル検出信号S203は制御回路207に接続され、到
着セル検出時にこの旨を制御回路207に通知する。到
着セルのチャネル番号S204は制御回路207、及
び、選択回路010,110のA0を介してメモリ00
0,100のADRに接続され、分布テーブル作成中に
到着セルを検出した時にメモリ000または100に格
納されている当該到着セルの到着セルカウンタのアドレ
スを指定し加算する為に使用する。なお、チャネル数は
Mとし、チャネル番号は0〜M−1の値をとるものとす
る。また、到着セルのチャネル番号は当該到着セルのヘ
ッダ部からチャネル番号を抽出するものとするが、セル
のヘッダ部に0〜M−1迄の値をとりうるチャネル番号
が設定されておらず仮想論理識別子が設定されている場
合は、仮想論理識別子を本分布テーブル作成回路で使用
するチャネル番号に変換する手段を有する。(例えば、
仮想論理識別子が16bitであり、本回路の処理チャ
ネル数Mが24 のとき、216の空間を24 の空間に対応
させる変換テーブルを必要とする。)
The output signal of the arrival cell detection circuit 200 includes:
There are a cell detection signal S203 and a channel number S204,
The cell detection signal S203 is connected to the control circuit 207, and notifies the control circuit 207 when the arrival cell is detected. The channel number S204 of the arrival cell is stored in the memory 00 via the control circuit 207 and A0 of the selection circuits 010 and 110.
The ADR of 0,100 is used to specify and add the address of the arrival cell counter of the arrival cell stored in the memory 000 or 100 when the arrival cell is detected during the creation of the distribution table. Note that the number of channels is M, and the channel numbers take values from 0 to M-1. The channel number of the arriving cell is obtained by extracting the channel number from the header part of the arriving cell. However, since the channel number that can take a value from 0 to M-1 is not set in the header part of the cell, the channel number is assumed to be virtual. When a logical identifier is set, a means is provided for converting the virtual logical identifier into a channel number used in the present distribution table creation circuit. (For example,
When the virtual logical identifier is 16 bits and the number of processing channels M of this circuit is 2 4 , a conversion table is required to make 2 16 spaces correspond to 2 4 spaces. )

【0056】次に、前記処理フローに従って、回路の動
作説明をする。 確率度数分布の説明 S時間当たりの到着セルカウンタの初期化 まず、リセット信号S229により、制御回路207と
外部回路206を初期化する。リセット解除後、制御回
路207は、外部回路206のモード信号S231を”
0”にして、インバータ201の出力信号S207の極
性と同一の信号が排他的論理和回路208の出力信号S
232として出力され、この出力信号S232は制御回
路207が出力する選択信号S206と逆極性の信号と
なる。リセット解除後、制御回路207は、到着セルカ
ウンタCA (i)を格納するメモリ000と到着セルカ
ウンタCB (i)を格納するメモリ100を初期化す
る。
Next, the operation of the circuit will be described according to the processing flow. Description of Probability Frequency Distribution Initialization of Arrival Cell Counter per S Time First, the control circuit 207 and the external circuit 206 are initialized by the reset signal S229. After the reset is released, the control circuit 207 changes the mode signal S231 of the external circuit 206 to “
0 ", and the signal having the same polarity as the output signal S207 of the inverter 201 is output from the exclusive OR circuit 208.
232, and the output signal S232 has a polarity opposite to that of the selection signal S206 output by the control circuit 207. After reset release, the control circuit 207 initializes the memory 000 for storing the arrival cell counter C A (i) and the memory 100 for storing the arrival cell counter C B (i).

【0057】まず、選択信号S206を1にして、メモ
リ000のADR,WE,DIにそれぞれアドレスS2
05,ライトイネーブルS210,”0”S002を供
給し、アドレスを0からM−1迄変化させ、メモリ00
0の内容すべてに”0”を書き込む。次に、選択信号S
206を0にして、メモリ100のADR,WE,DI
にそれぞれアドレスS205,ライトイネーブルS20
8,”0”S102を供給し、アドレスを0からM−1
迄変化させ、メモリ100の内容すべてに”0”を書き
込む。以上の処理により、到着セルカウンタCA (i)
とCB (i)はオールゼロクリアされる。
First, the selection signal S206 is set to 1, and the address S2 is stored in ADR, WE, and DI of the memory 000, respectively.
05, a write enable S210, and “0” S002, and the address is changed from 0 to M−1.
"0" is written to all the contents of "0". Next, the selection signal S
206 is set to 0, and ADR, WE, DI
Address S205 and write enable S20, respectively.
8, "0" S102 is supplied, and the address is changed from 0 to M-1.
And write "0" to all the contents of the memory 100. By the above processing, the arrival cell counter C A (i)
And C B (i) are all cleared to zero.

【0058】確率度数分布テーブルの初期化 確率度数分布テーブルQA (j,k)を格納するメモリ
001と確率度数分布テーブルQB (j,k)を格納す
るメモリ101は、リセット解除後、外部回路206に
より初期化される。リセット解除後、外部回路206は
メモリ001,101を初期化する間、スタート信号S
221を”0”とする。これにより、選択回路203は
出力信号S222として外部回路206が供給する選択
信号S220を出力し、この出力信号S222は選択回
路012,013,0124,015のSとインバータ
204に接続され、インバータ204の出力信号S22
3は選択回路112,113,114,115のSに接
続される。
[0058] Memory 101 for storing the probability frequency initialization probability frequency distribution of the distribution table Table Q A (j, k) memory 001 for storing the probability frequency distribution table Q B (j, k) after reset release external Initialized by the circuit 206. After the reset is released, the external circuit 206 initializes the memories 001 and 101 while the start signal S
221 is set to “0”. As a result, the selection circuit 203 outputs the selection signal S220 supplied from the external circuit 206 as the output signal S222, and this output signal S222 is connected to S of the selection circuits 012, 013, 0124, and 015 and the inverter 204, and Output signal S22
3 is connected to S of the selection circuits 112, 113, 114 and 115.

【0059】選択信号S220を”1”とすることで、
メモリ001のADR,WE,DIにはそれぞれ外部回
路からアドレスS214,ライトイネーブルS215,
出力データS225が供給されることになる。外部回路
206は初期化の間データS225を”0”とし、アド
レスS214を0からS×M−1まで変化させ、メモリ
001の内容をオールゼロクリアする。ここで、Sは到
着セル数をカウントする測定単位時間であり、Mは本分
布テーブル作成回路に到着するセルのチャネル数であ
る。
By setting the selection signal S220 to "1",
ADR, WE, and DI of the memory 001 are provided with an address S214, a write enable S215, and a write enable S215 from external circuits, respectively.
Output data S225 will be supplied. The external circuit 206 sets the data S 225 to “0” during the initialization, changes the address S 214 from 0 to S × M−1, and clears the contents of the memory 001 to all zeros. Here, S is a measurement unit time for counting the number of arriving cells, and M is the number of channels of cells arriving at the distribution table creation circuit.

【0060】次に、選択信号S220を”0”とするこ
とで、メモリ101のADR,WE,DIにはそれぞれ
外部回路からアドレスS214,ライトイネーブルS2
16,出力データS225が供給されることになる。外
部回路206は初期化の間データS225を”0”と
し、アドレスS214を0からS×M−1まで変化さ
せ、メモリ001の内容をオールゼロクリアする。
Next, by setting the selection signal S220 to "0", the ADR, WE, and DI of the memory 101 are supplied with an address S214 and a write enable S2 from an external circuit, respectively.
16, output data S225 is supplied. The external circuit 206 sets the data S 225 to “0” during the initialization, changes the address S 214 from 0 to S × M−1, and clears the contents of the memory 001 to all zeros.

【0061】初期化が終了した時点で、外部回路206
はスタート信号S221を”1”とし、制御回路に測定
の開始を指示する。
When the initialization is completed, the external circuit 206
Sets the start signal S221 to "1" and instructs the control circuit to start measurement.

【0062】S時間当たりの到着セル数のカウント:
A (i) 測定開始後、選択信号S206をS時間毎に”0”と”
1”を交互に繰り返し、選択信号S206が”0”であ
るときは、到着セルカウンタCA (i)がメモリ000
に作成され、選択信号S206が”1”であるときは到
着セルカウンタCB (i)がメモリ100に作成され
る。ここでは、測定開始後、選択信号S206は”0”
から始まるものとする。
Counting the number of cells arriving per S time:
C A (i) After the measurement is started, the selection signal S206 is set to “0” and “0” every S time.
When the selection signal S206 is "0", the arrival cell counter C A (i) is stored in the memory 000.
When the selection signal S206 is “1”, an arrival cell counter C B (i) is created in the memory 100. Here, after the measurement is started, the selection signal S206 is “0”.
Starts with

【0063】S時間の間、セルが到着するたびに、セル
検出回路200はメモリ000のADRに当該セルのチ
ャネル番号S204を供給し、制御回路207にはセル
検出信号S203を供給し、制御回路207はリードイ
ネーブルS211を”1”にしてメモリ000に供給
し、チャネル番号S204で指定されたセルカウンタの
値がメモリ000のDOに出力データS005として現
れ、この出力データS005を半加算器030の入力A
に供給することで、半加算器030の出力データS00
4は、メモリ000に格納されていたセルカウント値に
1を加算した値となる。
During the S time, every time a cell arrives, the cell detection circuit 200 supplies the channel number S204 of the cell to the ADR of the memory 000, the cell detection signal S203 to the control circuit 207, and the control circuit 207. Reference numeral 207 sets the read enable S211 to "1" and supplies it to the memory 000. The value of the cell counter designated by the channel number S204 appears in the DO of the memory 000 as output data S005, and the output data S005 is output to the half adder 030. Input A
To the output data S00 of the half adder 030.
4 is a value obtained by adding 1 to the cell count value stored in the memory 000.

【0064】この出力データS004はラッチパルスS
212により、レジスタ020に保持されると同時にレ
ジスタ020の出力データS003として、選択回路0
11のA0に供給され、選択回路011はこのレジスタ
020の出力データS003を選択回路011の出力デ
ータS001としてメモリ000のDIに供給する。制
御回路207はリードイネーブルS211を”0”と
し、次にライトイネーブルS210を”0”→”1”
→”0”として、加算された到着セルカウンタの値を、
チャネル番号S204で指定されるアドレスに書き込
む。これで、 C A (NO)=C A (NO)+1 が実行されたことになる。
The output data S004 is the latch pulse S
At the same time, the selection circuit 0 stores the data in the register 020 as output data S003 of the register 020.
The selection circuit 011 supplies the output data S003 of the register 020 to the DI of the memory 000 as the output data S001 of the selection circuit 011. The control circuit 207 sets the read enable S211 to "0", and then changes the write enable S210 from "0" to "1".
→ As “0”, the value of the added arrival cell counter is
Write to the address specified by the channel number S204. Now, C A (NO) = C A (NO) +1 has been executed.

【0065】また、このS時間の間、到着セルカウンタ
B (i)を格納しているメモリ100をオールゼロク
リアする。選択信号S206は”0”なので、メモリ1
00のADRには制御回路207が出力するアドレスS
205が接続され、メモリ100のDIにはデータ”
0”が接続される。アドレスS205を0からM−1迄
変化させると同時に、各々のアドレスに対して、ライト
イネーブルS208を0→1→0と変化させ、メモリ1
00をオールゼロクリアする。
During this S time, the memory 100 storing the arrival cell counter C B (i) is all-zero cleared. Since the selection signal S206 is "0", the memory 1
The ADR of 00 is the address S output by the control circuit 207.
205 is connected, and the DI
0 "is connected. At the same time as changing the address S205 from 0 to M-1, the write enable S208 is changed from 0 to 1 to 0 for each address, and the memory 1 is changed.
00 is cleared to all zeros.

【0066】確率分布テーブルQA (j,k)の更新 S時間経過した時点で制御回路207は、選択信号S2
06を”1”とする。制御回路207が出力する選択信
号S219は選択回路203のA1に接続されており、
測定中はスタート信号S221が”1”なので、選択回
路203の出力S222に現れ、この出力信号S222
は選択回路012,013,014,015のSに接続
され、また、インバータ204を介して、選択信号S2
19の極性を反転した信号S223として、選択回路1
12,113,114,115,205のSに接続され
る。選択信号S219は測定開始後、S×N時間毎に”
0”,”1”を交互に繰り返す。
Updating the probability distribution table Q A (j, k) At the point of time when S time has elapsed, the control circuit 207 selects the selection signal S2
06 is set to “1”. The selection signal S219 output from the control circuit 207 is connected to A1 of the selection circuit 203,
During the measurement, since the start signal S221 is "1", it appears at the output S222 of the selection circuit 203, and this output signal S222
Is connected to S of the selection circuits 012, 013, 014, and 015, and the selection signal S2
19, the selection circuit 1
12, 113, 114, 115, and 205 are connected. After the start of the measurement, the selection signal S219 becomes “S × N” every time.
"0" and "1" are alternately repeated.

【0067】選択信号S219が”0”であるときは、
確率分布QA (j,k)はメモリ001に作成され、選
択信号S219が”1”であるときは、確率分布Q
B (j,k)はメモリ101に作成される。ここでは、
測定開始後、選択信号S219は”0”から始まるもの
とする。S時間当たりの到着セル数の計数を終了したメ
モリ000の出力データS005は選択回路202を介
して、制御回路207が出力するアドレスS228との
混合され、この混合信号S230は選択回路012のA
0に接続される。選択信号S219は”0”なので、混
合信号S230はメモリ001のADRに接続されるこ
とになり、また、制御回路207が出力するライトイネ
ーブルS216とリードイネーブルS218はそれぞれ
選択回路013,014を介してメモリ001のWEと
REに接続されることになる。
When the selection signal S219 is "0",
The probability distribution Q A (j, k) is created in the memory 001, and when the selection signal S219 is “1”, the probability distribution Q A
B (j, k) is created in the memory 101. here,
After the start of the measurement, the selection signal S219 starts from “0”. The output data S005 of the memory 000, which has finished counting the number of cells arriving per S time, is mixed with the address S228 output from the control circuit 207 via the selection circuit 202.
Connected to 0. Since the selection signal S219 is "0", the mixed signal S230 is connected to the ADR of the memory 001, and the write enable S216 and the read enable S218 output from the control circuit 207 are connected via the selection circuits 013 and 014, respectively. It will be connected to WE and RE of the memory 001.

【0068】また、制御回路207が出力するアドレス
S205は、選択回路010のA1に接続されている
が、選択信号S206が”1”なので、アドレスS20
5は選択回路010を介して、メモリ000のADRに
接続されることになる。制御回路207が出力するリー
ドイネーブルS211は、QA (j,k)を更新する
間、”1”にしておき、メモリ000に格納されている
到着セルカウンタCA (i)の値をメモリ000のDO
より出力データS005を出力する。制御回路207
は、アドレスS205とアドレスS228をそれぞれ、
0からM−1迄変化させ、各々のアドレスに対して、ま
ずリードイネーブルS218を”1”として、メモリ0
01に格納されている確率度数分布QA (j,CA
(j))の値をDOより出力データS012を出力し、
この値は半加算器031にて加算される。
The address S205 output from the control circuit 207 is connected to A1 of the selection circuit 010. However, since the selection signal S206 is "1", the address S20 is output.
5 is connected to the ADR of the memory 000 via the selection circuit 010. The read enable S211 output from the control circuit 207 keeps “1” while updating Q A (j, k), and stores the value of the arrival cell counter C A (i) stored in the memory 000 in the memory 000. DO
Then, output data S005 is output. Control circuit 207
Is the address S205 and the address S228, respectively.
0 to M−1, and for each address, the read enable S218 is first set to “1”, and the memory 0
01 is stored in the probability frequency distribution Q A (j, CA
(J)) outputs the output data S012 from the DO,
This value is added by the half adder 031.

【0069】半加算器031の出力S011はラッチパ
ルスS224により、レジスタ021にラッチされ、こ
のレジスタ021の出力S010は選択回路015を介
してメモリ001のDIに入力S009として接続され
る。リードパルスS218を”0”に戻してから、ライ
トイネーブルS216を0→1→0と変化させ、Q
A (j,CA (j))を加算した値をメモリ001に書
き込む。これで、 Q A (j,C A (j))=Q A (j,C A (j))+1 が実行される。
The output S011 of the half adder 031 is latched in the register 21 by the latch pulse S224, and the output S010 of the register 21 is connected to the DI of the memory 001 as the input S009 via the selection circuit 015. After returning the read pulse S218 to “0”, the write enable S216 is changed from 0 → 1 → 0,
The value obtained by adding A (j, C A (j)) is written to the memory 001. Thus, Q A (j, C A (j)) = Q A (j, C A (j)) + 1 is executed.

【0070】S時間当たりの到着セル数のカウント:
B (i) 次のS時間の間、制御回路207は選択信号S206
を”1”とし、セルが到着するたびに、到着セル検出回
路200はメモリ100のADRにに当該セルのチャネ
ル番号S204を供給し、制御回路207にはセル検出
信号S203を供給し、制御回路207はリードイネー
ブルS209を”1”にしてメモリ100に供給し、チ
ャネル番号S204で指定されたセルカウンタの値がメ
モリ001のDOに出力データS105として現れ、こ
の出力データS105を半加算器130の入力Aに供給
することで、半加算器130の出力データS104は、
メモリ100に格納されていたセルカウント値に1を加
算した値となる。
Counting the number of cells arriving per S time:
Between C B (i) The following S time, the control circuit 207 selects the signal S206
Is set to “1”, and each time a cell arrives, the arriving cell detection circuit 200 supplies the channel number S204 of the cell to the ADR of the memory 100, supplies the cell detection signal S203 to the control circuit 207, and 207 sets the read enable S209 to "1" and supplies it to the memory 100. The value of the cell counter designated by the channel number S204 appears in the DO of the memory 001 as output data S105. By supplying to the input A, the output data S104 of the half adder 130 becomes
The value is obtained by adding 1 to the cell count value stored in the memory 100.

【0071】この出力データS104はラッチパルスS
212により、レジスタ120に保持されると同時にレ
ジスタ120の出力データS103として、選択回路1
11のA0に供給され、選択回路111はこのレジスタ
120の出力データS103を選択回路111の出力デ
ータS101としてメモリ100のDIに供給する。制
御回路207はリードイネーブルS209を”0”と
し、次にライトイネーブルS208を”0”→”1”
→”0”として、加算された到着セルカウンタの値を、
チャネル番号S204で指定されるアドレスに書き込
む。これで、 CB (NO)= CB (NO)+1 が実行されたことになる。
This output data S104 is a latch pulse S
At the same time, the selection circuit 1 stores the data in the register 120 and outputs the output data S103 of the register 120 in step S212.
The selection circuit 111 supplies the output data S103 of the register 120 to the DI of the memory 100 as the output data S101 of the selection circuit 111. The control circuit 207 sets the read enable S209 to “0”, and then changes the write enable S208 from “0” to “1”.
→ As “0”, the value of the added arrival cell counter is
Write to the address specified by the channel number S204. This results in the C B (NO) = C B (NO) +1 is executed.

【0072】また、このS時間の間、到着セルカウンタ
A (i)を格納しているメモリ000をオールゼロク
リアする。選択信号S206は”1”なので、メモリ0
00のADRには制御回路207が出力するアドレスS
205が接続され、メモリ000のDIにはデータ”
0”が接続される。アドレスS205を0からM−1迄
変化させると同時に、各々のアドレスに対して、ライト
イネーブルS208を0→1→0と変化させ、メモリ0
00をオールゼロクリアする。
During this S time, the memory 000 storing the arrival cell counter C A (i) is cleared to all zeros. Since the selection signal S206 is "1", the memory 0
The ADR of 00 is the address S output by the control circuit 207.
205 is connected, and the data “
0 "is connected. At the same time as changing the address S205 from 0 to M-1, the write enable S208 is changed from 0 to 1 to 0 for each address, and the memory 0 is changed.
00 is cleared to all zeros.

【0073】確率分布テーブルQA(j,k)の更新 S時間経過した時点で制御回路207は、選択信号S2
06を”0”とする。S時間当たりの到着セル数の計数
を終了したメモリ100の出力データS105は選択回
路202を介して、制御回路207が出力するアドレス
S228と混合され、この混合信号S230は選択回路
012のA0に接続される。選択信号S219は”0”
なので、混合信号S230はメモリ001のADRに接
続されることになり、また、制御回路207が出力する
ライトイネーブルS216とリードイネーブルS218
はそれぞれ選択回路013,014を介してメモリ00
1のWEとREに接続されることになる。
Updating the probability distribution table QA (j, k) At the point in time when S time has elapsed, the control circuit 207 selects the selection signal S2
06 is set to “0”. The output data S105 of the memory 100, which has finished counting the number of cells arriving per S time, is mixed with the address S228 output from the control circuit 207 via the selection circuit 202, and the mixed signal S230 is connected to A0 of the selection circuit 012. Is done. The selection signal S219 is "0"
Therefore, the mixed signal S230 is connected to the ADR of the memory 001, and the write enable S216 and the read enable S218 output from the control circuit 207 are output.
Are stored in the memory 00 via the selection circuits 013 and 014, respectively.
1 WE and RE.

【0074】また、制御回路207が出力するアドレス
S205は、選択回路110のA1に接続されている
が、選択信号S206が”0”なので、アドレスS20
5は選択回路110を介して、メモリ100のADRに
接続されることになる。制御回路207が出力するリー
ドイネーブルS209は、QA (j,k)を更新する
間、”1”にしておき、メモリ100に格納されている
到着セルカウンタCA (i)の値をメモリ100のDO
に出力データS105として出力する。制御回路207
は、アドレスS205とアドレスS228をそれぞれ、
0からM−1迄変化させ、各々のアドレスに対して、ま
ず、リードイネーブルS218を”1”として、メモリ
001に格納されている確率度数分布QA (j,CA
(j))の値をDOにデータS012を出力し、この値
は半加算器031にて加算される。
The address S205 output from the control circuit 207 is connected to A1 of the selection circuit 110. However, since the selection signal S206 is "0", the address S205 is output.
5 is connected to the ADR of the memory 100 via the selection circuit 110. The read enable S209 output from the control circuit 207 is set to “1” while updating Q A (j, k), and the value of the arrival cell counter C A (i) stored in the memory 100 is stored in the memory 100. DO
As output data S105. Control circuit 207
Is the address S205 and the address S228, respectively.
From 0 to M−1, for each address, first, the read enable S218 is set to “1”, and the probability frequency distribution QA (j, CA) stored in the memory 001 is set.
The value of (j)) is output as data S012 to DO, and this value is added by the half adder 031.

【0075】半加算器031の出力S011は、ラッチ
パルスS224により、レジスタ021にラッチされ、
このレジスタ021の出力S010は選択回路015を
介してメモリ001のDIに入力データS009として
接続される。リードパルスS218を”0”に戻してか
ら、ライトイネーブルS216を0→1→0と変化さ
せ、QA (j,CA (j))を加算した値をメモリ00
1に書き込む。これで Q A (j,C B (j))=Q A (j,C B (j))+1 が実行されたことになる。 上記処理,と,を交互に繰り返し実施し、
,の繰り返し回数と, の繰り返し回数が合わ
せてN回になるまで計測を実施する。
The output S011 of the half adder 031 is latched in the register 21 by the latch pulse S224.
The output S010 of the register 21 is connected to the DI of the memory 001 as input data S009 via the selection circuit 015. After returning the read pulse S218 to “0”, the write enable S216 is changed from 0 → 1 → 0, and the value obtained by adding Q A (j, C A (j)) is stored in the memory 00.
Write to 1. This means that Q A (j, C B (j)) = Q A (j, C B (j)) + 1 has been executed. The above processing and are alternately and repeatedly performed.
The measurement is performed until the number of repetitions of and is repeated N times.

【0076】S×N時間経過した時点で、S時間当た
りの到着セル数に関する確率度数分布QA (j,k)が
チャネル対応にメモリ001に作成されることになる。
次のS×N時間の間は、選択信号S219を”1”と
し、上記処理,と,を交互に繰り返し実施する
ことで、確率度数分布QB (j,k)がメモリ101に
作成されることになる。また、このS×N時間の間は、
確率度数分布Q(j,k)を格納しているメモリ00
1は外部回路206からアクセス可能な状態となる。な
お外部回路206はアクセスが終了した時点でメモリ0
01をオールゼロクリアする。 以下、〜の処理を繰り返す。
At the time when S × N time has elapsed, a probability frequency distribution Q A (j, k) relating to the number of cells arriving per S time is created in the memory 001 for each channel.
During the next S × N time, the selection signal S219 is set to “1”, and the above processing and are alternately repeated, so that the probability frequency distribution Q B (j, k) is created in the memory 101. Will be. Also, during this S × N time,
Memory 00 storing probability frequency distribution Q A (j, k)
1 is in a state accessible from the external circuit 206. Note that the external circuit 206 stores the data in the memory 0 when the access is completed.
Clear all 01 to zero. Hereinafter, the processing of-is repeated.

【0077】確率補分布の説明 S時間当たりの到着セルカウンタの初期化について まず、リセット信号S229により、制御回路207と
外部回路206を初期化する。リセット解除後、制御回
路207は、モードS231を”1”にして、インバー
タ201の出力信号S207の極性を反転した信号が排
他的論理和回路208の出力信号S232として出力さ
れ、この出力信号S232は制御回路207が出力する
選択信号S206と同一極性の信号となる。
Description of Probability Complementary Distribution Initialization of Arrival Cell Counter per S Time First, the control circuit 207 and the external circuit 206 are initialized by a reset signal S229. After the reset is released, the control circuit 207 sets the mode S231 to "1" and outputs a signal obtained by inverting the polarity of the output signal S207 of the inverter 201 as the output signal S232 of the exclusive OR circuit 208. This output signal S232 The signal has the same polarity as the selection signal S206 output from the control circuit 207.

【0078】到着セルカウンタC(i)を格納する
メモリ000と到着セルカウンタCB(i)を格納する
メモリ100を初期化する。まず、選択信号S206を
1にして、メモリ000のADR,WE,DIにそれぞ
れアドレスS205,ライトイネーブルS210,”
0”S002を供給し、アドレスを0からM−1迄変化
させ、メモリ000の内容すべてに”0”を書き込む。
次に、選択信号S206を0にして、メモリ100のA
DR,WE,DIにそれぞれアドレスS205,ライト
イネーブルS208,”0”S102を供給し、アドレ
スを0からM−1迄変化させ、メモリ100の内容すべ
てに”0”を書き込む。以上の処理により、到着セルカ
ウンタCA (i)とCB (i)はオールゼロクリアされ
る。
The memory 000 for storing the arrival cell counter C A (i) and the memory 100 for storing the arrival cell counter C B (i) are initialized. First, the selection signal S206 is set to 1, and the address S205, the write enable S210, "
0 "S002 is supplied, the address is changed from 0 to M-1, and" 0 "is written to all the contents of the memory 000.
Next, the selection signal S206 is set to 0, and A
An address S205, a write enable S208, and "0" S102 are supplied to DR, WE, and DI, respectively, and the address is changed from 0 to M-1, and "0" is written to all the contents of the memory 100. Through the above processing, the arrival cell counters C A (i) and C B (i) are all cleared to zero.

【0079】確率補分布テーブルの初期化について 確率補分布テーブルQC A (j,k)を格納するメモリ
001と確率補分布テーブルQC B (j,k)を格納す
るメモリ101は、リセット解除後、外部回路206に
より初期化される。リセット解除後、外部回路206は
メモリ001,101を初期化する間、スタート信号S
221を”0”とする。これにより、選択回路203は
出力信号S222として外部回路206が供給する選択
信号S220を出力し、この出力信号S222は選択回
路012,013,0124,015のSとインバータ
204に接続され、インバータ204の出力信号S22
3は選択回路112,113,114,115のSに接
続される。
[0079] Memory 101 for storing a probability complement the initialization of the distribution table probability auxiliary distribution table Q C A (j, k) memory 001 and a probability auxiliary distribution table Q C B for storing (j, k) is reset release Thereafter, initialization is performed by the external circuit 206. After the reset is released, the external circuit 206 initializes the memories 001 and 101 while the start signal S
221 is set to “0”. As a result, the selection circuit 203 outputs the selection signal S220 supplied from the external circuit 206 as the output signal S222, and this output signal S222 is connected to S of the selection circuits 012, 013, 0124, and 015 and the inverter 204, and Output signal S22
3 is connected to S of the selection circuits 112, 113, 114 and 115.

【0080】選択信号S220を”1”とすることで、
メモリ001のADR,WE,DIにはそれぞれ外部回
路からアドレスS214,ライトイネーブルS215,
出力データS225が供給されることになる。外部回路
206は初期化の間データS225を”0”とし、アド
レスS214を0からS×M−1まで変化させ、メモリ
001の内容をオールゼロクリアする。ここで、Sは到
着セル数をカウントする測定単位時間であり、Mは本回
路に到着するセルのチャネル数である。
By setting the selection signal S220 to "1",
ADR, WE, and DI of the memory 001 are provided with an address S214, a write enable S215, and a write enable S215 from external circuits, respectively.
Output data S225 will be supplied. The external circuit 206 sets the data S 225 to “0” during the initialization, changes the address S 214 from 0 to S × M−1, and clears the contents of the memory 001 to all zeros. Here, S is a measurement unit time for counting the number of arriving cells, and M is the number of channels of cells arriving at this circuit.

【0081】次に、選択信号S220を”0”とするこ
とで、メモリ101のADR,WE,DIにはそれぞれ
外部回路からアドレスS214,ライトイネーブルS2
16,出力データS225が供給されることになる。外
部回路206は初期化の間データS225を”0”と
し、アドレスS214を0からS×M−1まで変化さ
せ、メモリ001の内容をオールゼロクリアする。
Next, by setting the selection signal S220 to "0", the ADR, WE, and DI of the memory 101 are supplied with an address S214 and a write enable S2 from external circuits, respectively.
16, output data S225 is supplied. The external circuit 206 sets the data S 225 to “0” during the initialization, changes the address S 214 from 0 to S × M−1, and clears the contents of the memory 001 to all zeros.

【0082】なお、確率補分布QC (j,k)は、常
に、 QC (j,0)=N ;0≦j≦(M−1) なる関係が成立する。本発明の分布テーブル作成回路は
測定中QC (j,0)にいっさいアクセスしないので、
S×N時間経過後、QC (j,0)は初期化された値”
0”のままである。よって、外部回路はS×N時間経過
後、確率補分布QC (j,0)は”N”として扱う必要
がある。もしくは、確率補分布QC (j,k)を初期化
する際、QC (j,0)のみ”N”に設定し、他は”
0”にしてもよい。初期化が終了した時点で、外部回路
206はスタート信号S221を”1”とし、制御回路
に測定の開始を指示する。
Note that the probability complement distribution Q C (j, k) always has the following relationship: Q C (j, 0) = N; 0 ≦ j ≦ (M−1). Does not access any of the distribution table creation circuit of the present invention is measured in Q C (j, 0),
After S × N time, Q C (j, 0) initialized values "
0 "remains. Therefore, the external circuit after S × N times, the probability auxiliary distribution Q C (j, 0) is" should be treated as N ". Alternatively, the probability auxiliary distribution Q C (j, k ) Is set to “N” only for Q C (j, 0),
The external circuit 206 may set the start signal S221 to "1" at the time of completion of the initialization, and instruct the control circuit to start measurement.

【0083】S時間当たりの到着セル数と確率補分布
のカウント:CA (i),Q C A (j,k) 測定開始後、選択信号S206をS時間毎に”0”と”
1”を交互に繰り返し、選択信号S206が”0”であ
るときは、到着セルカウンタCA (i)がメモリ000
に作成され、選択信号S206が”1”であるときは到
着セルカウンタCB (i)がメモリ100に作成され
る。ここでは、測定開始後、選択信号S206は”0”
から始まるものとする。
The number of arriving cells per S time and the count of the complementary distribution: C A (i), Q C A (j, k) After the start of the measurement, the selection signal S206 is changed to “0” every S time.
When the selection signal S206 is "0", the arrival cell counter C A (i) is stored in the memory 000.
When the selection signal S206 is “1”, an arrival cell counter C B (i) is created in the memory 100. Here, after the measurement is started, the selection signal S206 is “0”.
Starts with

【0084】S時間の間、セルが到着するたびに、セル
検出回路200はメモリ000のADRに当該セルのチ
ャネル番号S204を供給し、制御回路207にはセル
検出信号S203を供給し、制御回路207はリードイ
ネーブルS211を”1”にしてメモリ000に供給
し、チャネル番号S204で指定されたセルカウンタの
値がメモリ000のDOに出力データS005として現
れ、この出力データS005を半加算器030の入力A
に供給することで、半加算器030の出力データS00
4、メモリ000に格納されていたセルカウント値に1
を加算した値となる。
Each time a cell arrives during the S time, the cell detection circuit 200 supplies the channel number S204 of the cell to the ADR of the memory 000, the cell detection signal S203 to the control circuit 207, and the control circuit 207. Reference numeral 207 sets the read enable S211 to "1" and supplies it to the memory 000. The value of the cell counter designated by the channel number S204 appears in the DO of the memory 000 as output data S005, and the output data S005 is output to the half adder 030. Input A
To the output data S00 of the half adder 030.
4. One is added to the cell count value stored in the memory 000.
Is added.

【0085】この出力データS004はラッチパルスS
212により、レジスタ020に保持されると同時にレ
ジスタ020の出力データS003として、選択回路0
11のA0に供給され、選択回路011はこのレジスタ
020の出力データS00を選択回路011の出力デー
タS001としてメモリ000のDIに供給する。
The output data S004 is the latch pulse S
At the same time, the selection circuit 0 stores the data in the register 020 as output data S003 of the register 020.
The selection circuit 011 supplies the output data S00 of the register 020 to the DI of the memory 000 as the output data S001 of the selection circuit 011.

【0086】制御回路207はリードイネーブルS21
1を”0”とし、次にライトイネーブルS210を”
0”→”1”→”0”として、加算された到着セルカウ
ンタの値を、チャネル番号S204で指定されるアドレ
スに書き込む。これで、 C(NO)=C(NO)+1 が実行されたことになる。
The control circuit 207 has a read enable S21.
1 is set to "0", and then the write enable S210 is set to "0".
As 0 "→" 1 "→" 0 ", the added value of the arrival cell counter is written into the address specified by the channel number S204. This, C A (NO) = C A (NO) +1 is executed It was done.

【0087】次に再び、制御回路207はリードイネー
ブルS211を”1”とし、チャネル番号S204で指
定されたセルカウンタの値がメモリ000のDOに出力
データS005として現れ、選択回路202のA0に接
続される。選択回路202のSに接続される選択信号S
232は、確率補分布を作成するときは、外部回路20
6が出力するモード信号S231が”1”となっている
ので、選択信号S232と選択信号S206は同一極性
となる。よって、メモリ000の出力データS005
は、選択回路202の出力S213に現れ、制御回路2
07が出力するアドレスS228との混合され、この混
合信号S230は選択回路012のA0に接続される。
選択信号S219は”0”なので、混合信号S230は
メモリ001のADRに接続されることになり、また、
制御回路207が出力するライトイネーブルS216と
リードイネーブルS218はそれぞれ選択回路013,
014を介してメモリ001のWEとREに接続される
ことになる。
Next, the control circuit 207 sets the read enable S211 to “1” again, the value of the cell counter designated by the channel number S204 appears in the DO of the memory 000 as output data S005, and connects to the A0 of the selection circuit 202. Is done. Selection signal S connected to S of selection circuit 202
232, the external circuit 20
Since the mode signal S231 output from the control signal No. 6 is "1", the selection signal S232 and the selection signal S206 have the same polarity. Therefore, the output data S005 of the memory 000
Appears at the output S213 of the selection circuit 202 and the control circuit 2
07 is mixed with the output address S228, and this mixed signal S230 is connected to A0 of the selection circuit 012.
Since the selection signal S219 is "0", the mixed signal S230 is connected to the ADR of the memory 001.
The write enable S216 and the read enable S218 output from the control circuit 207 correspond to the selection circuit 013 and the selection circuit 013, respectively.
014 via the WE and the RE.

【0088】制御回路207は、到着セル検出回路20
0から供給されるチャネル番号S204をアドレスS2
28に出力し、リードイネーブルS218を”1”とし
て、メモリ001に格納されている確率補分布Q
(CH,CA (CH))の値をDOに出力データS
012として出力し、この値は半加算器031にて加算
され、半加算器031の出力S011は、ラッチパルス
S224により、レジスタ021にラッチされ、このレ
ジスタ021の出力S010は選択回路015を介して
メモリ001のDIにデータS009を入力する。リー
ドパルスS218を”0”に戻してから、ライトイネー
ブルS216を0→1→0と変化させ、QA (j,CA
(j))を加算した値をメモリ001に書き込む。これ
で、 Q C A (CH,C A (CH))=Q C A(CH,C A (CH))+1 が実行されたことになる。なお、ここでCHは到着セル
のチャネル番号であり、信号S204とS228に出力
される。
The control circuit 207 controls the arrival cell detection circuit 20
The channel number S204 supplied from 0 is assigned to the address S2.
Outputs 28, as a read enable S218 "1", the probability auxiliary distribution stored in the memory 001 Q C
The value of A (CH, C A (CH)) is output to DO as output data S
012, and this value is added by the half adder 031. The output S011 of the half adder 031 is latched in the register 21 by the latch pulse S224, and the output S010 of the register 021 is passed through the selection circuit 015. Data S009 is input to DI of the memory 001. After returning the read pulse S218 to “0”, the write enable S216 is changed from 0 → 1 → 0, and Q A (j, C A
The value obtained by adding (j)) is written to the memory 001. This, Q C A (CH, C A (CH)) = Q C A becomes (CH, C A (CH) ) that + 1 is executed. Here, CH is the channel number of the arriving cell and is output as signals S204 and S228.

【0089】また、このS時間の間、到着セルカウンタ
B (i)を格納しているメモリ100をオールゼロク
リアする。選択信号S206は”0”なので、メモリ1
00のADRには制御回路207が出力するアドレスS
205が接続され、メモリ100のDIにはデータ”
0”が接続される。アドレスS205を0からM−1迄
変化させると同時に、各々のアドレスに対して、ライト
イネーブルS208を0→1→0と変化させ、メモリ1
00をオールゼロクリアする。
During this S time, the memory 100 storing the arrival cell counter C B (i) is cleared to all zeros. Since the selection signal S206 is "0", the memory 1
The ADR of 00 is the address S output by the control circuit 207.
205 is connected, and the DI
0 "is connected. At the same time as changing the address S205 from 0 to M-1, the write enable S208 is changed from 0 to 1 to 0 for each address, and the memory 1 is changed.
00 is cleared to all zeros.

【0090】S時間当たりの到着セル数と確率補分布
のカウント:C B (i),Q C B (j,k) 次のS時間の間、選択信号S206を”1”にする。S
時間の間、セルが到着するたびに、セル検出回路200
はメモリ100のADRに当該セルのチャネル番号S2
04を供給し、制御回路207にはセル検出信号S20
3を供給し、制御回路207はリードイネーブルS20
9を”1”にしてメモリ000に供給し、チャネル番号
S204で指定されたセルカウンタの値がメモリ100
のDOに出力データS105として現れる。
Count of arrival cells and probability complementary distribution per S time: C B (i), Q C B (j, k) During the next S time, the selection signal S 206 is set to “1”. S
Each time a cell arrives during time, the cell detection circuit 200
Is the channel number S2 of the cell in the ADR of the memory 100.
04, and supplies a cell detection signal S20 to the control circuit 207.
3 and the control circuit 207 supplies the read enable signal S20
9 is set to "1" and supplied to the memory 000, and the value of the cell counter designated by the channel number S204 is stored in the memory 100.
DO as output data S105.

【0091】この出力データS105を半加算器130
の入力Aに供給することで、半加算器130の出力デー
タS104は、メモリ100に格納されていたセルカウ
ント値に1を加算した値となり、この出力データS10
4はラッチパルスS212により、レジスタ120に保
持されると同時にレジスタ120の出力データS103
として、選択回路111のA0に供給され、選択回路1
11はこのレジスタ120の出力データS103を選択
回路111の出力データS101としてメモリ100の
DIに供給する。制御回路207はリードイネーブルS
209を”0”とし、次にライトイネーブルS208
を”0”→”1”→”0”として、加算された到着セル
カウンタの値を、チャネル番号S204で指定されるア
ドレスに書き込む。これで、 C B (NO)=C B (NO)+1 が実行されたことになる。
The output data S105 is added to the half adder 130
, The output data S104 of the half adder 130 becomes a value obtained by adding 1 to the cell count value stored in the memory 100, and this output data S10
4 is held in the register 120 by the latch pulse S212, and at the same time, the output data S103 of the register 120 is output.
Is supplied to A0 of the selection circuit 111 and the selection circuit 1
11 supplies the output data S103 of the register 120 to the DI of the memory 100 as the output data S101 of the selection circuit 111. The control circuit 207 has a read enable S
209 to “0”, and then write enable S208
Is changed from “0” → “1” → “0”, and the value of the added arrival cell counter is written to the address specified by the channel number S204. Thus, C B (NO) = C B (NO) +1 has been executed.

【0092】次に再び、制御回路207はリードイネー
ブルS209を”1”とし、チャネル番号S204で指
定されたセルカウンタの値がメモリ100のDOに出力
データS105として現れ、選択回路202のA1に接
続される。選択回路202のSに接続される選択信号S
232は、確率補分布を作成するときは、外部回路20
6が出力するモード信号S231が”1”となっている
ので、選択信号S232と選択信号S206は同一極性
となる。よって、メモリ100の出力データS105
は、選択回路202の出力S213に現れ、制御回路2
07が出力するアドレスS228との混合され、この混
合信号S230は選択回路012のA0に接続される。
選択信号S219は”0”なので、混合信号S230は
メモリ001のADRに接続されることになり、また、
制御回路207が出力するライトイネーブルS216と
リードイネーブルS218はそれぞれ選択回路013,
014を介してメモリ001のWEとREに接続される
ことになる。
Next, the control circuit 207 sets the read enable S209 to "1" again, and the value of the cell counter designated by the channel number S204 appears in the DO of the memory 100 as output data S105, and is connected to A1 of the selection circuit 202. Is done. Selection signal S connected to S of selection circuit 202
232, the external circuit 20
Since the mode signal S231 output from the control signal No. 6 is "1", the selection signal S232 and the selection signal S206 have the same polarity. Therefore, the output data S105 of the memory 100
Appears at the output S213 of the selection circuit 202 and the control circuit 2
07 is mixed with the output address S228, and this mixed signal S230 is connected to A0 of the selection circuit 012.
Since the selection signal S219 is "0", the mixed signal S230 is connected to the ADR of the memory 001.
The write enable S216 and the read enable S218 output from the control circuit 207 correspond to the selection circuit 013 and the selection circuit 013, respectively.
014 via the WE and the RE.

【0093】制御回路207は、到着セル検出回路20
0から供給されるチャネル番号S204をアドレスS2
28に出力し、リードイネーブルS218を”1”とし
て、メモリ001に格納されている確率補分布Q
C A(CH,CA (CH))の値をDOに出力データS
012として出力し、この値は半加算器031にて加算
され、半加算器031の出力S011は、ラッチパルス
S224により、レジスタ021にラッチされ、このレ
ジスタ021の出力S010は選択回路015を介して
メモリ001のDIに信号S009を接続する。リード
パルスS218を”0”に戻してから、ライトイネーブ
ルS216を0→1→0と変化させ、QA (j,C
A (j))を加算した値をメモリ001に書き込む。こ
れで、 Q C A (CH,C B (CH))=Q C A (CH,C B (CH))+1 が実行される。なお、ここでCHは到着セルのチャネル
番号であり、信号S204とS228に出力される。
The control circuit 207 controls the arrival cell detection circuit 20
The channel number S204 supplied from 0 is assigned to the address S2.
28, the read enable S218 is set to “1”, and the probability complement distribution Q stored in the memory 001 is output.
The value of C A (CH, C A (CH)) is output to DO as output data S
012, and this value is added by the half adder 031. The output S011 of the half adder 031 is latched in the register 21 by the latch pulse S224, and the output S010 of the register 021 is passed through the selection circuit 015. The signal S009 is connected to DI of the memory 001. After returning the read pulse S218 to “0”, the write enable S216 is changed from 0 → 1 → 0 to Q A (j, C
The value obtained by adding A (j)) is written to the memory 001. This, Q C A (CH, C B (CH)) = Q C A (CH, C B (CH)) + 1 is executed. Here, CH is the channel number of the arriving cell and is output as signals S204 and S228.

【0094】また、このS時間の間、到着セルカウンタ
A (i)を格納しているメモリ000をオールゼロク
リアする。選択信号S206は”1”なので、メモリ0
00のADRには制御回路207が出力するアドレスS
205が接続され、メモリ000のDIにはデータ”
0”が接続される。アドレスS205を0からM−1迄
変化させると同時に、各々のアドレスに対して、ライト
イネーブルS208を0→1→0と変化させ、メモリ0
00をオールゼロクリアする。
During this S time, the memory 000 storing the arrival cell counter C A (i) is all-zero cleared. Since the selection signal S206 is "1", the memory 0
The ADR of 00 is the address S output by the control circuit 207.
205 is connected, and the data “
0 "is connected. At the same time as changing the address S205 from 0 to M-1, the write enable S208 is changed from 0 to 1 to 0 for each address, and the memory 0 is changed.
00 is cleared to all zeros.

【0095】上記処理とを交互に繰り返し実施
し、の繰り返し回数との繰り返し回数が合わせてN
回になるまで計測を実施する。 S×N時間経過した時点で、S時間当たりの到着セル
に関する確率補分布がチャネル対応にQ C A (j,k) に作
成されることになる。次のS×N時間の間は、S時間ご
との補分布はQ C B (j,k) に作成し、確率補数分布Q C
A (j,k) は外部回路からアクセス可能な状態にし、アク
セスが終了した時点で Q C A (j,k)を初期化するものと
する。
The above processing is alternately repeated, and the number of repetitions with the number of repetitions is N
Perform the measurement until the time. At the point in time when S × N time has elapsed, a complementary probability distribution regarding the arriving cells per S time is created in Q C A (j, k) corresponding to the channel. During the next S × N time, the complementary distribution for each S time is created in Q C B (j, k) and the probability complement distribution Q C
A (j, k) is from an external circuit to the access enabled state, access is assumed to initialize the Q C A (j, k) at the time of completion.

【0096】S×N時間経過した時点で、S時間当た
りの到着セル数に関する確率補分布QC A (j,k)が
チャネル対応にメモリ001に作成されることになる。
次のS×N時間の間は、選択信号S219を”1”と
し、上記処理とを交互に繰り返し実施することで、
確率補分布QCB(j,k)がメモリ101に作成される
ことになる。また、このS×N時間の間は、確率補分布
C A(j,k)を格納しているメモリ001は外部回
路206からアクセス可能な状態となる。なお、外部回
路206はアクセスが終了した時点でメモリ001をオ
ールゼロクリアするものとする。 以下、〜の処理を繰り返す。
At the time when S × N time has elapsed, the complementary probability distribution QC A (j, k) relating to the number of cells arriving per S time is created in the memory 001 for each channel.
During the next S × N time, the selection signal S219 is set to “1”, and the above processing is alternately and repeatedly performed.
The probability complementary distribution QCB (j, k) is created in the memory 101. During this S × N time, the memory 001 storing the complementary probability distribution Q C A (j, k) is in a state where it can be accessed from the external circuit 206. It is assumed that the external circuit 206 clears the memory 001 to all zeros when the access is completed. Hereinafter, the processing of-is repeated.

【0097】[0097]

【発明の効果】本発明の分布テーブル作成回路は、単位
時間当たりの到着セルを交互に計数するための第1のメ
モリ及び第2のメモリとそれぞれのメモリに対応する第
1の半加算器と第2の半加算器を有するため、第1のメ
モリまたは第2のメモリのうち、単位時間の計測を終了
し計測を停止しているメモリから測定した計数値を第3
のメモリも含めて外部の回路に引き渡すことができる。
The distribution table creation circuit of the present invention comprises a first memory and a second memory for alternately counting arrival cells per unit time, and a first half adder corresponding to each memory. Since the second half adder is provided, the count value measured from the memory in which the measurement of the unit time is completed and the measurement is stopped in the first memory or the second memory is stored in the third memory.
Can be transferred to an external circuit including the memory of the above.

【0098】また、単位時間当たりの計測を終了し、計
測終了したメモリを初期化しているときでも、他方のメ
モリを用いて引き続き単位時間当たりの到着セルを計数
できる。したがって、計測を一時中断することなく、第
3のメモリ上に確立度数分布または確立補分布を作成す
ることができ、リアルタイムに計測データが得られる。
Further, even when the measurement per unit time has been completed and the memory for which the measurement has been completed is being initialized, the arrival cells per unit time can be continuously counted using the other memory. Accordingly, the probability distribution or the probability complement distribution can be created on the third memory without interrupting the measurement, and the measurement data can be obtained in real time.

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

【図1】本発明の分布テーブル作成回路図(その1)FIG. 1 is a distribution table creation circuit diagram of the present invention (part 1).

【図2】本発明の分布テーブル作成回路図(その2)FIG. 2 is a distribution table creation circuit diagram of the present invention (part 2).

【図3】本発明の分布テーブル作成回路図(その3)FIG. 3 is a circuit diagram for creating a distribution table according to the present invention (part 3);

【図4】本発明の確率度数分布の説明図FIG. 4 is an explanatory diagram of a probability frequency distribution of the present invention.

【図5】本発明の確率度数分布の説明図FIG. 5 is an explanatory diagram of a probability frequency distribution according to the present invention.

【図6】セルフォーマットを示す説明図FIG. 6 is an explanatory diagram showing a cell format.

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

1…ヘッダ部 2…情報部 000、001、100、101…ランダムアクセスメ
モリ 010、011、012、013、014、015…選
択回路 110、111、112、113、114、115…選
択回路 020、021、120、121…レジスタ 030、031、130、131…半加算器 200…到着セル検出回路 202、203、205 …選択回路 201、204…インバータ 206…外部回路 207…制御回路 208…排他的論理和回路
DESCRIPTION OF SYMBOLS 1 ... Header part 2 ... Information part 000, 001, 100, 101 ... Random access memory 010,011,012,013,014,015 ... Selection circuit 110,111,112,113,114,115 ... Selection circuit 020,021 , 120, 121 ... Registers 030, 031, 130, 131 ... Half adder 200 ... Arrival cell detection circuit 202, 203, 205 ... Selection circuit 201, 204 ... Inverter 206 ... External circuit 207 ... Control circuit 208 ... Exclusive OR circuit

───────────────────────────────────────────────────── フロントページの続き (73)特許権者 000004237 日本電気株式会社 東京都港区芝五丁目7番1号 (72)発明者 木原 弘一 東京都港区虎ノ門1丁目7番12号 沖電 気工業株式会社内 (72)発明者 上原 勝美 東京都港区虎ノ門1丁目7番12号 沖電 気工業株式会社内 (72)発明者 小林 務 東京都港区虎ノ門1丁目7番12号 沖電 気工業株式会社内 (72)発明者 塩本 公平 東京都千代田区内幸町一丁目1番6号 日本電信電話株式会社内 (72)発明者 加藤 正文 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 大内 敏哉 東京都国分寺市東恋ケ窪一丁目280番地 株式会社日立製作所中央研究所内 (72)発明者 池田 弘志 東京都港区芝五丁目7番1号 日本電気 株式会社内 ──────────────────────────────────────────────────続 き Continued on the front page (73) Patent holder 000004237 NEC Corporation 5-7-1 Shiba, Minato-ku, Tokyo (72) Inventor Koichi Kihara 1-7-112 Toranomon, Minato-ku, Tokyo Oki Electric Inside the Industrial Co., Ltd. (72) Katsumi Uehara 1-7-12 Toranomon, Minato-ku, Tokyo Oki Electric Industry Co., Ltd. (72) Tsutomu Kobayashi 1-7-12 Toranomon, Minato-ku, Tokyo Within Kogyo Co., Ltd. (72) Inventor Kohei Shiomoto 1-6-1, Uchisaiwaicho, Chiyoda-ku, Tokyo Within Nippon Telegraph and Telephone Corporation (72) Inventor Toshiya Ouchi 1-280 Higashi Koikebo, Kokubunji-shi, Tokyo Inside the Central Research Laboratory, Hitachi, Ltd. (72) Inventor Hiroshi Ikeda 5-chome, Shiba 5-chome, Minato-ku, Tokyo No. 1 NEC Corporation

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ATM交換システムに収容されている
のチャネルから送出されてくるセルの到着過程を観測
し、到着セル数に関する分布を作成する分布テーブル作
成回路において、 複数の前記チャネルから送出されてくるセルを検出し、
どのチャネルから送出されたかを示すチャネル情報を含
む検出信号を送出する到着セル検出回路と、 セルの計数値を前記チャネルごとに記憶する第1のメモ
リと、 前記第1のメモリに記憶されている前記計数値を前記検
出信号に基づいて加算する第1の半加算器と、 セルの計数値を前記チャネルごとに記憶する第2のメモ
リと、 前記第2のメモリに記憶されている前記計数値を前記検
出信号に基づいて加算する第2の半加算器と、 単位時間当たりのセルの計数値が交互に前記第1のメモ
リと前記第2のメモリに記憶されるように、前記第1の
メモリまたは前記第2のメモリを初期化し、前記第1の
半加算器と前記第2の半加算器のいづれか一方が前記検
出信号に基づいて動作するように制御する第1の制御部
と、 前記チャネルごとの前記単位時間当たりの前記計数値の
度数を前記チャネルと前記計数値から決まるアドレスに
記憶することにより、前記チャネルごとの到着セルの確
率度数分布を記憶する第3のメモリと、 前記第3のメモリに記憶されている前記度数の値を加算
する第3の半加算器と、 前記第1の制御部の制御により計数を停止している前記
第1のメモリまたは前記第2のメモリから前記チャネル
ごとの前記単位時間当たりの前記計数値を読み出し、前
記チャネルの番号と読み出した前記計数値から決まるア
ドレスに記憶されている前記度数の値を1つ加算するよ
うに、前記第3のメモリ及び前記第3の半加算器を制御
する第2の制御部とを有し、 前記第1のメモリ及び前記第2のメモリから交互に前記
単位時間当たりの前記計数値を読み出すことにより、前
記単位時間の整数倍の時間についての到着セルの確立度
数分布を前記第3のメモリに記憶させることを特徴とす
る分布テーブル 作成回路。
1. A multi contained in the ATM switching system
Creates a distribution table that observes the arrival process of cells transmitted from a number of channels and creates a distribution related to the number of arrival cells.
A circuit for detecting cells transmitted from the plurality of channels,
Channel information indicating the channel from which
An arrival cell detection circuit for transmitting a detection signal, and a first memo for storing a cell count value for each channel.
And checking the count value stored in the first memory.
A first half adder for adding a count value based on the output signal, and a second memorandum for storing a cell count value for each channel.
And the count value stored in the second memory is checked.
A second half adder for adding based on the output signal and the first memory for alternately counting the cell count per unit time.
And the first memory as stored in the second memory.
Initializing a memory or the second memory;
Either the half adder or the second half adder is used for the detection.
A first control unit that controls to operate based on the output signal
And the count value per unit time for each channel
Frequency to an address determined from the channel and the count value
By storing, it is possible to check the arrival cell for each channel.
A third memory for storing the rate frequency distribution, the value of the third of the frequency stored in the memory adder
And a third half adder that stops counting under the control of the first control unit.
The channel from the first memory or the second memory
Read the count value per unit time for each
A channel determined by the channel number and the read count value
I will add one of the frequency values stored in the dress
Control the third memory and the third half adder
And a second control unit that performs the control from the first memory and the second memory alternately.
By reading the count value per unit time,
Degree of arrival cell arrival for an integral multiple of the unit time
The number distribution is stored in the third memory.
Distribution table creation circuit.
【請求項2】 ATM交換システムに収容されている
のチャネルから送出されてくるセルの到着過程を観測
し、到着セル数に関する分布を作成する分布テーブル作
成回路において、 複数の前記チャネルから送出されてくるセルを検出し、
どのチャネルから送出されたかを示すチャネル情報を含
む検出信号を送出する到着セル検出回路と、 セルの計数値を前記チャネルごとに記憶する第1のメモ
リと、 前記第1のメモリに記憶されている前記計数値を前記検
出信号に基づいて加算する第1の半加算器と、 セルの計数値を前記チャネルごとに記憶する第2のメモ
リと、 前記第2のメモリに記憶されている前記計数値を前記検
出信号に基づいて加算する第2の半加算器と、 単位時間当たりのセルの計数値が交互に前記第1のメモ
リと前記第2のメモリに記憶されるように、前記第1の
メモリまたは前記第2のメモリを初期化し、前記第1の
半加算器と前記第2の半加算器のいづれか一方が前記検
出信号に基づいて動作するように制御する第1の制御部
と、 前記検出信号が送出される度に、前記検出信号が含む前
記チャネルの番号及び前記第1または前記第2のメモリ
で記憶されている前記計数値から決まるアドレスに度数
を記憶することにより、前記チャネルごとの到着セルの
確率補分布を記憶する第3のメモリと、 前記第3のメモリに記憶されている前記度数を加算する
第3の半加算器と、 前記検出信号が送出される度に、前記第1の制御部の制
御により計数動作をしている前記第1のメモリまたは前
記第2のメモリのいずれかから前記検出信号が示すチャ
ネルの前記計数値を読み出し、前記チャネルの番号と読
み出した前記計数値から決まるアドレスに記憶されてい
る前記度数を1つ加算するように、前記第3のメモリ及
び前記第3の半加算器を制御する第2の制御部とを有
し、 前記単位時間ごとに交互に、前記第1のメモリまたは前
記第2のメモリから前記検出信号に基づいて前記計数値
を読み出し、前記第3のメモリが記憶する前記度数を更
新することにより、前記単位時間の整数倍の時間につい
ての到着セルの 確立補分布を前記第3のメモリに記憶さ
せることを特徴とする分布テーブル作成回路。
2. A multi contained in the ATM switching system
Creates a distribution table that observes the arrival process of cells transmitted from a number of channels and creates a distribution related to the number of arrival cells.
A circuit for detecting cells transmitted from the plurality of channels,
Channel information indicating the channel from which
An arrival cell detection circuit for transmitting a detection signal, and a first memo for storing a cell count value for each channel.
And checking the count value stored in the first memory.
A first half adder for adding a count value based on the output signal, and a second memorandum for storing a cell count value for each channel.
And the count value stored in the second memory is checked.
A second half adder for adding based on the output signal and the first memory for alternately counting the cell count per unit time.
And the first memory as stored in the second memory.
Initializing a memory or the second memory;
Either the half adder or the second half adder is used for the detection.
A first control unit that controls to operate based on the output signal
When, every time the detection signal is sent, before the detection signal comprises
Channel number and the first or second memory
Frequency to the address determined from the count value stored in
Is stored, the arrival cell of each channel is
Adding a third memory for storing a probability complement distribution and the frequency stored in the third memory;
A third half adder, which controls the first control unit each time the detection signal is transmitted.
The first memory or the previous memory which performs counting operation
The channel indicated by the detection signal from any of the second memories.
Read the count value of the channel and read the channel number and
Stored at the address determined from the counted value
The third memory and the third memory are added so as to add the frequency by one.
And a second control unit for controlling the third half adder.
And alternately with the first memory or the previous memory every unit time.
The count value based on the detection signal from the second memory;
And updates the frequency stored in the third memory.
By renewing, the time of an integral multiple of the unit time
The probability complementary distribution of all arriving cells is stored in the third memory.
A distribution table creation circuit characterized in that a distribution table is created.
JP5133077A 1993-06-03 1993-06-03 Distribution table creation circuit Expired - Lifetime JP2642584B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5133077A JP2642584B2 (en) 1993-06-03 1993-06-03 Distribution table creation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5133077A JP2642584B2 (en) 1993-06-03 1993-06-03 Distribution table creation circuit

Publications (2)

Publication Number Publication Date
JPH06350633A JPH06350633A (en) 1994-12-22
JP2642584B2 true JP2642584B2 (en) 1997-08-20

Family

ID=15096312

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5133077A Expired - Lifetime JP2642584B2 (en) 1993-06-03 1993-06-03 Distribution table creation circuit

Country Status (1)

Country Link
JP (1) JP2642584B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11261570A (en) * 1998-03-10 1999-09-24 Fujitsu Ltd Atm device
JP6616230B2 (en) * 2016-04-07 2019-12-04 APRESIA Systems株式会社 Network equipment

Also Published As

Publication number Publication date
JPH06350633A (en) 1994-12-22

Similar Documents

Publication Publication Date Title
EP0530680B1 (en) ATM cell assembling and disassembling system and method
US5509001A (en) Apparatus and method for controlling cells input to ATM network
US5402426A (en) Method and arrangement for checking the observance of prescribed transmission bit rates in an ATM switching equipment
EP0523386B1 (en) System for monitoring normality of operation of ATM cross-connecting apparatus
US20030133453A1 (en) Cell bridge apparatus and cell bridging method as well as information transmission system having cell bridge apparatus
JP2642584B2 (en) Distribution table creation circuit
JPH09247169A (en) Cell output control circuit and control method
US6104715A (en) Merging of data cells in an ATM network
US6094432A (en) Apparatus for and method of segmenting and reassembling constant bit rate traffic in asynchronous transfer mode network
CA2222413A1 (en) Controlling the flow of atm cells in an atm network
US5923645A (en) Cell rate control device and method
JPH10190702A (en) Cell processing method for asynchronous transfer mode exchange system and device therefor
US6434148B1 (en) Data packet re-sequencer
WO1997024904A1 (en) Switching apparatus
JP2002247097A (en) Communication controller
RU98103163A (en) TERMINAL ADAPTER FOR WIDESBIG DIGITAL NETWORK WITH INTEGRATION OF SERVICES
JPH07336354A (en) Stm data/atm cell conversion method and device
EP0481507A2 (en) Apparatus and method for controlling cells input to ATM network
KR100236605B1 (en) Cell multiplexer for connecting atm net of atm card
JPH04207435A (en) Cell delay time measuring system
US6967961B1 (en) Method and apparatus for providing programmable memory functions for bi-directional traffic in a switch platform
JPH08242238A (en) Communication controller and control method therefor
JPH0983537A (en) Bit rate control circuit
KR100415511B1 (en) Apparatus for transmitting and receiving asynchronous transfer mode cell and method thereof
KR950012323B1 (en) Header data control unit of isdn

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970325

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080502

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090502

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100502

Year of fee payment: 13

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100502

Year of fee payment: 13

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100502

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110502

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120502

Year of fee payment: 15

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130502

Year of fee payment: 16

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140502

Year of fee payment: 17

EXPY Cancellation because of completion of term