JP3487701B2 - Frame counter - Google Patents

Frame counter

Info

Publication number
JP3487701B2
JP3487701B2 JP29956395A JP29956395A JP3487701B2 JP 3487701 B2 JP3487701 B2 JP 3487701B2 JP 29956395 A JP29956395 A JP 29956395A JP 29956395 A JP29956395 A JP 29956395A JP 3487701 B2 JP3487701 B2 JP 3487701B2
Authority
JP
Japan
Prior art keywords
frame
counter
reset
signal
synchronous
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 - Fee Related
Application number
JP29956395A
Other languages
Japanese (ja)
Other versions
JPH09149020A (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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP29956395A priority Critical patent/JP3487701B2/en
Publication of JPH09149020A publication Critical patent/JPH09149020A/en
Application granted granted Critical
Publication of JP3487701B2 publication Critical patent/JP3487701B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、複数のフレーム
から構成されるマルチフレーム上の各位置を特定するた
めのフレームカウンタに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a frame counter for specifying each position on a multiframe composed of a plurality of frames.

【0002】また、この発明は、SDH(Synchronous
Digital Hierarchy )やSONET(Synchronous Opti
cal NETwork )のフレームのように、行列で表されるフ
レーム上の各位置を特定するためのフレームカウンタに
関する。
The present invention is also based on SDH (Synchronous
Digital Hierarchy) and SONET (Synchronous Opti
cal NETwork), like a frame counter for specifying each position on the frame represented by a matrix.

【0003】[0003]

【従来の技術】従来、この種のフレームカウンタとして
は、特開平3−18446号公報と特開平5−2521
27号公報に記載されたカウンタが知られている。
2. Description of the Related Art Conventionally, frame counters of this type have been disclosed in JP-A-3-18446 and JP-A-5-2521.
The counter described in Japanese Patent No. 27 is known.

【0004】このフレームカウンタは、マルチフレーム
(SDH、SONETの場合はフレーム)の構造に合わ
せて、フレームカウンタを複数の同期式カウンタに分割
し、これらをキャリー信号を介してカスケード接続する
ようになっている。フレームカウンタの値をデコードし
て、マルチフレームのデータを高速に処理するには、デ
コーダ回路及びフレーム処理回路を同期式にするのが一
般的である。
This frame counter divides the frame counter into a plurality of synchronous counters according to the structure of a multi-frame (frames in the case of SDH and SONET), and cascade-connects these through a carry signal. ing. In order to decode the value of the frame counter and process multi-frame data at high speed, it is general to make the decoder circuit and the frame processing circuit synchronous.

【0005】[0005]

【発明が解決しようとする課題】伝送速度が速くなる
と、これに比例して、1つのマルチフレーム(SDH、
SONETの場合はフレーム)で伝送されるデータ量が
増える。これにより、フレームカウンタのビット数が増
えるので、各同期式カウンタのフリップフロップ回路の
数が増える。その結果、キャリー信号が次段の同期式カ
ウンタで使用される同期式カウンタの負荷が大きくな
り、この同期式カウンタの動作速度が遅くなる。
As the transmission speed increases, one multiframe (SDH,
In the case of SONET, the amount of data transmitted in frames) increases. As a result, the number of bits of the frame counter increases, and the number of flip-flop circuits of each synchronous counter increases. As a result, the carry signal increases the load on the synchronous counter used in the synchronous counter at the next stage, and the operating speed of this synchronous counter becomes slow.

【0006】また、同期式カウンタのフリップフロップ
回路の数が増えると、このカウンタをマルチフレーム
(SDH、SONETの場合はフレーム)の位相に同期
させるためのリセット信号を発生する回路の負荷が大き
くなり、このリセット信号発生回路の動作速度が遅くな
る。
Further, as the number of flip-flop circuits of the synchronous counter increases, the load on the circuit that generates a reset signal for synchronizing the counter with the phase of multi-frame (frame in the case of SDH or SONET) increases. The operating speed of the reset signal generating circuit becomes slow.

【0007】[0007]

【課題を解決するための手段】上記課題を解決するため
に、第1の発明は、マルチフレームの各フレーム上の位
置を特定するためには、クロック信号に同期する必要が
あるのに対し、マルチフレーム上の各フレーム位置を特
定するにはクロック信号に同期する必要がない点に着目
し、フレームカウンタを同期式カウンタと非同期式カウ
ンタに分割するようにしたものである。
In order to solve the above problems, the first invention requires synchronization with a clock signal in order to specify the position on each frame of a multiframe. Focusing on the fact that it is not necessary to synchronize with the clock signal to specify each frame position on the multi-frame, the frame counter is divided into a synchronous counter and an asynchronous counter.

【0008】ここで、同期式カウンタは、マルチフレー
ムの位相に同期したリセット信号によりリセットされ、
マルチフレームの位相に同期したクロック信号をカウン
トすることにより、フレーム上の各位置を特定する。非
同期式カウンタは、上記リセット信号によりリセットさ
れ、同期式カウンタのキャリー信号をカウントすること
により、マルチフレーム上の各フレーム位置を特定す
る。
Here, the synchronous counter is reset by a reset signal synchronized with the phase of the multi-frame,
Each position on the frame is specified by counting the clock signals synchronized with the phase of the multi-frame. The asynchronous counter is reset by the reset signal and counts the carry signal of the synchronous counter to identify each frame position on the multi-frame.

【0009】また、第2の発明は、SDHやSONET
のフレームの各列位置を特定するためには、クロック信
号に同期する必要があるのに対し、フレームの各行位置
を特定するにはクロック信号に同期する必要がない点に
着目し、フレームカウンタを同期式カウンタと非同期式
カウンタに分割するようにしたものである。
A second invention is SDH or SONET.
In order to specify each column position of the frame of, it is necessary to synchronize with the clock signal, whereas to specify each row position of the frame, it is not necessary to synchronize with the clock signal. The counter is divided into a synchronous counter and an asynchronous counter.

【0010】ここで、同期式カウンタは、フレームの位
相に同期したリセット信号によりリセットされ、フレー
ムの位相に同期したクロック信号をカウントすることに
より、各列位置を特定する。非同期式カウンタは、上記
リセット信号によりリセットされ、同期式カウンタのキ
ャリー信号をカウントすることにより、フレーム上の各
フレーム位置を特定する。
Here, the synchronous counter is reset by a reset signal synchronized with the phase of the frame and counts clock signals synchronized with the phase of the frame to identify each column position. The asynchronous counter is reset by the reset signal and counts the carry signal of the synchronous counter to identify each frame position on the frame.

【0011】[0011]

【発明の実施の形態】以下、図面を参照しながら、この
発明の実施の形態を詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described in detail below with reference to the drawings.

【0012】[第1の実施の形態] [構成]図1は、この発明の第1の実施の形態の構成を
示すブロック図である。なお、図1には、この発明のフ
レームカウンタを備えたオーバーヘッド処理装置を示
す。
[First Embodiment] [Structure] FIG. 1 is a block diagram showing the structure of a first embodiment of the present invention. Note that FIG. 1 shows an overhead processing device provided with the frame counter of the present invention.

【0013】このオーバーヘッド処理装置は、オーバー
ヘッド検出回路100とオーバーヘッド処理回路200
を有する。オーバーヘッド検出回路100は、この発明
のフレームカウンタ110とデコーダ120を有する。
This overhead processing apparatus comprises an overhead detection circuit 100 and an overhead processing circuit 200.
Have. The overhead detection circuit 100 has the frame counter 110 and the decoder 120 of the present invention.

【0014】オーバーヘッド処理装置において、オーバ
ーヘッド検出回路100は、データ信号入力端子300
に供給されるデータ信号Dから、マルチフレームの先頭
フレームに含まれるオーバーヘッドOHを検出し、この
オーバーヘッド位置を示す位置表示信号S1を出力す
る。
In the overhead processing device, the overhead detection circuit 100 includes a data signal input terminal 300.
The overhead OH included in the first frame of the multi-frame is detected from the data signal D supplied to, and the position display signal S1 indicating the overhead position is output.

【0015】また、オーバヘッド処理回路200は、オ
ーバーヘッド検出回路100の検出出力に基づいて、マ
ルチフレーム上の各フレームのオーバーヘッドOHに挿
入されたデータを処理する。
Further, the overhead processing circuit 200 processes the data inserted in the overhead OH of each frame on the multi-frame based on the detection output of the overhead detection circuit 100.

【0016】オーバーヘッド検出回路100において、
この発明のフレームカウンタ110は、マルチフレーム
上の各位置を特定する。デコーダ120は、フレームカ
ウンタ110のカウント出力S2,S3に基づいて、上
記位置表示信号S1を生成する。
In the overhead detection circuit 100,
The frame counter 110 of the present invention identifies each position on the multi-frame. The decoder 120 generates the position display signal S1 based on the count outputs S2 and S3 of the frame counter 110.

【0017】以上が、オーバーヘッド検出装置の構成で
ある。次に、この発明の特徴とするフレームカウンタ1
10の構成を説明する。
The above is the configuration of the overhead detector. Next, the frame counter 1 which is a feature of the present invention
The configuration of 10 will be described.

【0018】この実施の形態は、マルチフレームの各フ
レーム上の位置を特定するためには、クロック信号CK
に同期する必要があるのに対し、マルチフレーム上の各
フレーム位置を特定するためにはクロック信号CKに同
期する必要がない点に着目し、フレームカウンタ110
を同期式カウンタ111と非同期式カウンタ112に分
割するようにしたものである。
In this embodiment, the clock signal CK is used to specify the position on each frame of the multi-frame.
The frame counter 110 needs to be synchronized with the clock signal CK in order to specify each frame position on the multi-frame.
Is divided into a synchronous counter 111 and an asynchronous counter 112.

【0019】ここで、同期式カウンタ111は、リセッ
ト信号入力端子400に供給されるリセット信号Rによ
りリセットされ、クロック信号入力端子500に供給さ
れるクロック信号CKをカウントすることにより、フレ
ーム上のビット位置を特定する機能を有する。
Here, the synchronous counter 111 is reset by the reset signal R supplied to the reset signal input terminal 400, and counts the clock signal CK supplied to the clock signal input terminal 500, so that the bits on the frame are It has the function of specifying the position.

【0020】ここで、同期式カウンタ111は、n進カ
ウンタにより構成されている。nは、1フレームに含ま
れるビットの数を示す。リセット信号Rは、マルチフレ
ームの位相に同期し、マルチフレーム周期と同じ周期を
有する信号である。クロック信号CKは、マルチフレー
ムの位相に同期し、ビット周期と同じ周期を有する信号
である。
Here, the synchronous counter 111 is composed of an n-ary counter. n indicates the number of bits included in one frame. The reset signal R is a signal that is synchronized with the phase of the multiframe and has the same period as the multiframe period. The clock signal CK is a signal that is synchronized with the phase of the multiframe and has the same period as the bit period.

【0021】また、非同期式カウンタ112は、リセッ
ト信号Rによりリセットされ、同期式カウンタ111の
キャリー信号S4をカウントすることにより、マルチフ
レーム上の各フレーム位置を特定する。
Further, the asynchronous counter 112 is reset by the reset signal R and counts the carry signal S4 of the synchronous counter 111 to specify each frame position on the multi-frame.

【0022】[動作]上記構成において、図2のタイミ
ングチャートを参照しながら、動作を説明する。
[Operation] The operation of the above configuration will be described with reference to the timing chart of FIG.

【0023】まず、オーバヘッド処理装置の動作を説明
する。データ信号入力端子300に供給されるデータ信
号Dは、オーバヘッド処理回路200に供給される。こ
のデータ信号Dは、マルチフレーム化されている。図2
には、各マルチフレームに含まれるフレーム数mが9で
ある場合を代表として示す。各フレームは、図2に示す
ように、オーバヘッドOHとペイロードPLを有する。
First, the operation of the overhead processing device will be described. The data signal D supplied to the data signal input terminal 300 is supplied to the overhead processing circuit 200. This data signal D is multi-framed. Figure 2
Shows a case where the number of frames m included in each multi-frame is 9. Each frame has an overhead OH and a payload PL, as shown in FIG.

【0024】リセット信号入力端子400に供給される
リセット信号Rは、オーバーヘッド検出回路100に供
給される。クロック信号入力端子500に供給されるク
ロック信号CKは、オーバーヘッド検出回路100と、
オーバーヘッド処理回路200に供給される。
The reset signal R supplied to the reset signal input terminal 400 is supplied to the overhead detection circuit 100. The clock signal CK supplied to the clock signal input terminal 500 is supplied to the overhead detection circuit 100,
It is supplied to the overhead processing circuit 200.

【0025】オーバーヘッド検出回路100は、リセッ
ト信号Rに同期して、マルチフレームの先頭フレームに
含まれるオーバーヘッドOHを検出し、その位置を示す
位置表示信号S1を出力する。この位置表示検出信号S
1は、オーバヘッド処理回路200に供給される。
The overhead detecting circuit 100 detects the overhead OH included in the first frame of the multi-frame in synchronization with the reset signal R and outputs a position display signal S1 indicating the position thereof. This position display detection signal S
1 is supplied to the overhead processing circuit 200.

【0026】このオーバーヘッド処理回路200は、位
置表示信号S1に基づいて、マルチフレームの各フレー
ムに含まれるオーバーヘッドOHを検出し、このオーバ
ーヘッドOHのデータに対して所定の処理を施す。この
処理は、クロック信号CKを基準信号として行われる。
The overhead processing circuit 200 detects the overhead OH included in each frame of the multi-frame based on the position display signal S1 and performs a predetermined process on the data of the overhead OH. This processing is performed using the clock signal CK as a reference signal.

【0027】以上がオーバーヘッド処理装置の動作であ
る。次に、オーバーヘッド検出回路100の動作を説明
する。
The above is the operation of the overhead processing device. Next, the operation of the overhead detection circuit 100 will be described.

【0028】フレームカウンタ110は、リセット信号
Rによってリセットされた後、クロック信号CKをカウ
ントする。これにより、マルチフレーム上の各ビット位
置が特定される。
After being reset by the reset signal R, the frame counter 110 counts the clock signal CK. Thereby, each bit position on the multi-frame is specified.

【0029】このカウント出力S2,S3は、デコーダ
120に供給される。デコーダ120は、このカウント
出力S2,S3をデコードし、上記位置表示信号S1を
生成する。この処理は、クロック信号CKを基準信号と
して行われる。
The count outputs S2 and S3 are supplied to the decoder 120. The decoder 120 decodes the count outputs S2 and S3 to generate the position display signal S1. This processing is performed using the clock signal CK as a reference signal.

【0030】以上がオーバーヘッド検出回路100の動
作である。次に、この発明の特徴とするフレームカウン
タ110の動作を説明する。
The above is the operation of the overhead detection circuit 100. Next, the operation of the frame counter 110, which is a feature of the present invention, will be described.

【0031】同期式カウンタ111は、リセット信号R
によってリセットされた後、クロック信号CKをカウン
トする。これにより、カウンタ111のカウント値(カ
ウント出力S2)が、図2に示すように、クロック信号
CKに同期して1から順次1ずつ増加する。この後、カ
ウンタ111は、カウント値がnになると、再び1から
カウントを開始する。以上のカウント動作により、フレ
ーム上の各ビット位置がフレーム周期で繰り返し特定さ
れる。
The synchronous counter 111 has a reset signal R
After being reset by, the clock signal CK is counted. As a result, the count value (count output S2) of the counter 111 sequentially increases by 1 from 1 in synchronization with the clock signal CK, as shown in FIG. After that, when the count value becomes n, the counter 111 starts counting from 1 again. By the above counting operation, each bit position on the frame is repeatedly specified at the frame cycle.

【0032】非同期式カウンタ112は、リセット信号
Rによってリセットされた後、同期式カウンタ111か
ら出力されるキャリー信号S4をカウントする。これに
より、カウンタ112のカウント値がキャリー信号S4
に同期して、1から順次1ずつ増加する。この後、カウ
ンタ112は、カウント値が9になると、リセット信号
Rによりリセットされ、再び1からカウントを開始す
る。以上のカウント動作により、マルチフレーム上の各
フレーム位置がマルチフレーム周期で繰り返し特定され
る。
The asynchronous counter 112 counts the carry signal S4 output from the synchronous counter 111 after being reset by the reset signal R. As a result, the count value of the counter 112 is the carry signal S4.
In synchronism with the above, the number is sequentially increased from 1 by 1. After that, when the count value reaches 9, the counter 112 is reset by the reset signal R and restarts counting from 1. By the above counting operation, each frame position on the multi-frame is repeatedly specified in the multi-frame cycle.

【0033】カウンタ111,112のカウンタ出力S
2,S3は、マルチフレーム上の各ビット位置を示す信
号として、デコーダ120に供給される。
Counter output S of the counters 111 and 112
2, S3 are supplied to the decoder 120 as signals indicating each bit position on the multiframe.

【0034】[効果]以上詳述したこの実施の形態によ
れば、次のような効果が得られる。
[Effect] According to this embodiment described in detail above, the following effects can be obtained.

【0035】(1)まず、この実施の形態によれば、フ
レームカウンタ110を、リセット信号Rによりリセッ
トされ、クロック信号CKをカウントすることにより、
フレーム上の各位置を特定する同期式カウンタ111
と、リセット信号Rによりリセットされ、同期式カウン
タ111のキャリー信号S4をカウントすることによ
り、マルチフレーム上の各フレーム位置を特定する非同
期式カウンタ112に分割するようにしたので、同期式
カウンタ111の負荷を軽減することができる。
(1) First, according to this embodiment, the frame counter 110 is reset by the reset signal R and counts the clock signal CK,
Synchronous counter 111 for identifying each position on the frame
Then, by resetting the reset signal R and counting the carry signal S4 of the synchronous counter 111, the synchronous counter 111 is divided into the asynchronous counters 112 that specify each frame position on the multi-frame. The load can be reduced.

【0036】(2)また、このような構成によれば、非
同期式カウンタ112のリセットは非同期となるので、
このカウンタ112のリセット信号入力部に、バッファ
を挿入することができる。これにより、リセット信号R
を発生するリセット信号発生回路の負荷を軽減すること
ができる。
(2) Further, according to such a configuration, since the reset of the asynchronous counter 112 is asynchronous,
A buffer can be inserted in the reset signal input section of the counter 112. As a result, the reset signal R
It is possible to reduce the load on the reset signal generating circuit that generates

【0037】(3)また、この実施の形態によれば、フ
レームカウンタ110を同期式カウンタ111と非同期
式カウンタ112に分離したので、同期式カウンタ11
1を小形化及び高速化することができる。
(3) According to this embodiment, since the frame counter 110 is separated into the synchronous counter 111 and the asynchronous counter 112, the synchronous counter 11
1 can be miniaturized and speeded up.

【0038】(4)また、この実施の形態によれば、キ
ャリー信号S4をカウントする非同期式カウンタ112
の動作速度が遅くてよいので、この回路の配置が容易と
なる。
(4) Further, according to this embodiment, the asynchronous counter 112 for counting the carry signal S4.
Since the operation speed of 1 can be slow, the circuit can be easily arranged.

【0039】[第2の実施の形態]先の実施の形態で
は、同期式カウンタ111を1つのカウンタで構成をす
る場合を説明した。
[Second Embodiment] In the above embodiment, the case where the synchronous counter 111 is composed of one counter has been described.

【0040】これに対し、この実施の形態は、同期式カ
ウンタを2つに分割し、キャリー信号を用いて、2つの
カウンタをカスケード接続するようにしたものである。
On the other hand, in this embodiment, the synchronous counter is divided into two, and the carry signal is used to cascade-connect the two counters.

【0041】[構成]図3は、この実施の形態の同期式
カウンタの構成を示すブロック図である。
[Structure] FIG. 3 is a block diagram showing the structure of the synchronous counter of this embodiment.

【0042】図示の同期式カウンタは、第1の同期式カ
ウンタ1Aと、第2の同期式カウンタ2Aと、ラッチ回
路3Aを有する。
The illustrated synchronous counter has a first synchronous counter 1A, a second synchronous counter 2A, and a latch circuit 3A.

【0043】ここで、第1の同期式カウンタ1Aは、リ
セット信号Rによりリセットされ、クロック信号CKを
カウントすることにより、1フレームをm分割すること
により得られた各分割部のビット位置を特定する。この
カウンタ1Aは、(n/m)進カウンタにより構成され
ている。ここで、mはn/mが整数になるように設定さ
れている。
Here, the first synchronous counter 1A is reset by the reset signal R, and counts the clock signal CK to specify the bit position of each division part obtained by dividing one frame into m. To do. The counter 1A is composed of a (n / m) -adic counter. Here, m is set so that n / m is an integer.

【0044】第2の同期式カウンタ2Aは、第1の同期
式カウンタ1Aのキャリー信号S5をカウントすること
により、フレーム上の各分割部を特定する。このカウン
タ2Aは、m進カウンタにより構成されている。
The second synchronous counter 2A specifies each divided portion on the frame by counting the carry signal S5 of the first synchronous counter 1A. The counter 2A is composed of an m-ary counter.

【0045】ラッチ回路3Aは、リセット信号Rをラッ
チし、このラッチ出力を第2の同期式カウンタ2Aのリ
セット信号R1として出力する。
The latch circuit 3A latches the reset signal R and outputs the latch output as the reset signal R1 of the second synchronous counter 2A.

【0046】[動作]上記構成において、図4のタイミ
ングチャートを参照しながら、動作を説明する。
[Operation] The operation of the above configuration will be described with reference to the timing chart of FIG.

【0047】フレームカウンタ110が不定状態にある
とき、リセット信号Rが入力されると、前段の第1の同
期式カウンタ1Aは、リセット信号Rの立下がりタイミ
ングT0でリセットされる。これにより、同期式カウン
タ1Aのカウント値は1に設定される。
When the reset signal R is input while the frame counter 110 is in an indefinite state, the first synchronous counter 1A at the preceding stage is reset at the falling timing T0 of the reset signal R. As a result, the count value of the synchronous counter 1A is set to 1.

【0048】この後、この同期式カウンタ1Aは、クロ
ック信号CKをカウントする。これにより、この同期式
カウンタ1Aのカウント値が順次1ずつ更新される。こ
のカウント値がn/mになると、同期式カウンタ1A
は、再び1から自動的にカウントを開始する。これによ
り、1フレームをm分割することにより得られた各分割
部のビット位置が分割部の繰り返し周期で繰り返し特定
される。
Thereafter, the synchronous counter 1A counts the clock signal CK. As a result, the count value of the synchronous counter 1A is sequentially updated by 1. When this count value reaches n / m, the synchronous counter 1A
Automatically starts counting again from 1. As a result, the bit position of each division obtained by dividing one frame into m is repeatedly specified in the repetition cycle of the division.

【0049】上記リセット信号Rは、ラッチ回路3Aに
一時的に保持された後、所定のタイミングで、リセット
信号R1として出力される。このリセット信号R1は、
後段の第2の同期式カウンタ2Aに供給される。これに
より、この同期式カウンタ2Aは、リセット信号R1の
立下がりタイミングT1でリセットされる。その結果、
同期式カウンタ2Aのカウント値は1に設定される。
The reset signal R is temporarily held in the latch circuit 3A and then output as a reset signal R1 at a predetermined timing. This reset signal R1 is
It is supplied to the second synchronous counter 2A in the subsequent stage. As a result, the synchronous counter 2A is reset at the falling timing T1 of the reset signal R1. as a result,
The count value of the synchronous counter 2A is set to 1.

【0050】この後、この同期式カウンタ2Aは、キャ
リー信号S5をカウントする。これにより、この同期式
カウンタ2Aのカウント値が順次1ずつ更新される。こ
のカウント値がmになると、同期式カウンタ2Aは、再
び1から自動的にカウントを開始する。これにより、各
フレームの各分割部位置がフレーム周期で繰り返し特定
される。
After that, the synchronous counter 2A counts the carry signal S5. As a result, the count value of the synchronous counter 2A is sequentially updated by 1. When the count value reaches m, the synchronous counter 2A automatically starts counting from 1 again. As a result, the position of each divided portion of each frame is repeatedly specified at the frame cycle.

【0051】第2の同期式カウンタ2Aは、第1の同期
式カウンタ1Aがリセットされてから最初のキャリー信
号S5が出力されるまでの間にリセットされればよい。
図4の例では、リセット信号Rの立下がりタイミングT
0から最初のキャリー信号S5の立下がりタイミングT
2が経過するまでの間にリセットされればよい。図4に
は、リセット信号Rの立下がりタイミングT0からクロ
ック信号CKの1周期分が経過したタイミングT1でリ
セットする場合を示す。
The second synchronous counter 2A may be reset between the reset of the first synchronous counter 1A and the output of the first carry signal S5.
In the example of FIG. 4, the falling timing T of the reset signal R is
0 to the first fall timing T of the carry signal S5
It suffices to be reset before 2 has elapsed. FIG. 4 shows a case where the reset is performed at the timing T1 when one cycle of the clock signal CK has elapsed from the falling timing T0 of the reset signal R.

【0052】前段の第1の同期式カウンタ1Aは、上記
のごとく、クロック信号CKをカウントすることによ
り、1からn/mまでカウントし、自走する。後段の第
1の同期式カウンタ2Aは、上記のごとく、キャリー信
号S5をカウントすることにより、1からmまでカウン
トし、自走する。したがって、T0から1フレーム周期
が経過したタイミングT3で、リセット信号Rが入力さ
れなくても、カウンタ1A,2Aのカウント値は変わら
ない。
As described above, the first synchronous counter 1A in the preceding stage counts the clock signal CK and counts from 1 to n / m, and runs by itself. As described above, the first synchronous counter 2A in the subsequent stage counts the carry signal S5 to count from 1 to m and self-runs. Therefore, the count values of the counters 1A and 2A do not change even if the reset signal R is not input at the timing T3 when one frame period has elapsed from T0.

【0053】[効果]以上詳述したこの実施例によれ
ば、先の実施の形態と同様の効果を得ることができると
ともに、さらに、次のような効果を得ることができる。
[Effect] According to this embodiment described in detail above, the same effects as those of the previous embodiment can be obtained, and further the following effects can be obtained.

【0054】すなわち、この実施の形態によれば、同期
式カウンタを、クロック信号CKをカウントする第1の
同期式カウンタ1Aと、このカウンタ1Aのキャリー信
号S5をカウントする第2の同期式カウンタ2Aに分
け、第1の同期式カウンタ1Aのリセット信号Rをラッ
チ回路3Aを介して第2の同期式カウンタ2Aに供給す
るようにしたので、リセット信号Rを生成する回路の負
荷を軽減することができる。これにより、リセット信号
Rの遅延を少なくすることができるので、フレームカウ
ンタの周辺回路の動作を高速にすることができる。
That is, according to this embodiment, the synchronous counter includes the first synchronous counter 1A for counting the clock signal CK and the second synchronous counter 2A for counting the carry signal S5 of the counter 1A. Since the reset signal R of the first synchronous counter 1A is supplied to the second synchronous counter 2A via the latch circuit 3A, the load on the circuit that generates the reset signal R can be reduced. it can. As a result, the delay of the reset signal R can be reduced, so that the peripheral circuits of the frame counter can operate at high speed.

【0055】[その他の実施例]以上、この発明の2つ
の実施の形態を説明したが、この発明は、上述したよう
な実施の形態に限定されるものではない。
[Other Embodiments] The two embodiments of the present invention have been described above, but the present invention is not limited to the above-described embodiments.

【0056】(1)例えば、先の第1,第2の実施の形
態では、この発明を、複数のフレームから構成されるマ
ルチフレーム上の各位置を特定するためのフレームカウ
ンタに適用する場合を説明した。しかし、この発明は、
SDHやSONETのフレームのように、行列で表され
るフレーム上の各位置を特定するためのフレームカウン
タにも適用することができる。
(1) For example, in the above first and second embodiments, the present invention is applied to a frame counter for specifying each position on a multi-frame composed of a plurality of frames. explained. However, this invention
It can also be applied to a frame counter for specifying each position on a frame represented by a matrix, such as an SDH or SONET frame.

【0057】この場合、フレームカウンタは、フレーム
に位相が同期したリセット信号によりリセットされ、フ
レームに位相が同期したクロック信号をカウントするこ
とにより、各列位置を特定する同期式カウンタと、リセ
ット信号によりリセットされ、同期式カウンタのキャリ
ー信号をカウントすることにより、各行位置を特定する
非同期式カウンタに分割される。
In this case, the frame counter is reset by the reset signal whose phase is synchronized with the frame, and the synchronous counter which specifies each column position by counting the clock signal whose phase is synchronized with the frame, and the reset signal. By resetting and counting the carry signal of the synchronous counter, it is divided into asynchronous counters that specify each row position.

【0058】(2)また、先の第2の実施の形態では、
フレームカウンタの同期式カウンタを2つの同期式カウ
ンタ1A,2Aに分割する場合を説明した。しかし、こ
の発明は、3つ以上の同期式カウンタに分割するように
してもよい。この場合、カスケード接続された2つのカ
ウンタ間にすべてラッチ回路を挿入せず、負荷に応じて
必要な数だけ挿入するようにしてもよい。
(2) Further, in the second embodiment,
The case where the synchronous counter of the frame counter is divided into two synchronous counters 1A and 2A has been described. However, the present invention may be divided into three or more synchronous counters. In this case, all the latch circuits may not be inserted between the two counters connected in cascade, but a necessary number may be inserted according to the load.

【0059】すなわち、この発明の同期式カウンタは、
1段目がクロック信号CKをカウントし、2段目以降が
前段のキャリー信号をカウントするようにカスケード接
続された複数の同期式カウンタと、前段の同期式カウン
タに供給されるリセット信号をラッチし、このラッチ出
力を後段の同期式カウンタにリセット信号として供給す
るために、隣接する同期式カウンタ間に適宜挿入された
ラッチ回路とを備えたものであってもよい。
That is, the synchronous counter of the present invention is
The first stage counts the clock signal CK, and the second and subsequent stages latch multiple synchronous counters cascaded to count the carry signal of the previous stage and the reset signal supplied to the synchronous counter of the previous stage. In order to supply the latch output to the subsequent synchronous counter as a reset signal, a latch circuit appropriately inserted between adjacent synchronous counters may be provided.

【0060】(3)この他にも、この発明は、その要旨
を逸脱しない範囲で種々様々変形実施可能なことは勿論
である。
(3) In addition to this, it is needless to say that the present invention can be variously modified without departing from the scope of the invention.

【0061】[0061]

【発明の効果】以上詳述したように第1の発明によれ
ば、マルチフレームの各フレーム上の位置を特定するた
めには、クロック信号に同期する必要があるのに対し、
マルチフレーム上の各フレーム位置を特定するためには
クロック信号に同期する必要がない点に着目し、フレー
ムカウンタを、マルチフレームの位相に同期したリセッ
ト信号によりリセットされ、マルチフレームの位相に同
期したクロック信号をカウントすることにより、フレー
ム上の各位置を特定する同期式カウンタと、上記リセッ
ト信号によりリセットされ、同期式カウンタのキャリー
信号をカウントすることにより、マルチフレーム上の各
フレーム位置を特定する非同期式カウンタに分割するよ
うにしたので、同期式カウンタの負荷を軽減することが
できる。
As described above in detail, according to the first invention, in order to specify the position on each frame of the multiframe, it is necessary to synchronize with the clock signal.
Focusing on the point that it is not necessary to synchronize with the clock signal in order to specify each frame position on the multiframe, the frame counter is reset by the reset signal synchronized with the phase of the multiframe and synchronized with the phase of the multiframe. A synchronous counter that identifies each position on the frame by counting the clock signal, and a carry signal that is reset by the reset signal and is counted by the synchronous counter, and identifies each frame position on the multi-frame Since it is divided into asynchronous counters, the load on the synchronous counter can be reduced.

【0062】また、このような構成によれば、非同期式
カウンタのリセットは非同期となるので、このカウンタ
のリセット信号入力部に、バッファを挿入することがで
きる。これにより、リセット信号を発生する回路の負荷
を軽減することができる。
Further, according to such a configuration, since the reset of the asynchronous counter is asynchronous, a buffer can be inserted in the reset signal input section of this counter. This can reduce the load on the circuit that generates the reset signal.

【0063】同様に、第2の発明によれば、SDHやS
ONETのフレームのように、行列で表されるフレーム
の各列位置を特定するためには、クロック信号に同期す
る必要があるのに対し、各行位置を特定するためにはク
ロック信号に同期する必要がない点に着目し、フレーム
カウンタを、フレームの位相に同期したリセット信号に
よりリセットされ、フレームの位相に同期したクロック
信号をカウントすることにより、列位置を特定する同期
式カウンタと、上記リセット信号によりリセットされ、
同期式カウンタのキャリー信号をカウントすることによ
り、行位置を特定する非同期式カウンタにより構成する
ようにしたので、同期式カウンタの負荷を軽減すること
ができる。
Similarly, according to the second invention, SDH and S
Like an ONET frame, it is necessary to synchronize with a clock signal to specify each column position of a frame represented by a matrix, whereas it is necessary to synchronize with a clock signal to specify each row position. Paying attention to the point that there is no such, there is a synchronous counter for resetting the frame counter by a reset signal synchronized with the phase of the frame, and counting the clock signal synchronized with the phase of the frame, and specifying the column position; Reset by
Since the asynchronous counter for specifying the row position is configured by counting the carry signal of the synchronous counter, the load of the synchronous counter can be reduced.

【0064】また、このような構成によれば、非同期式
カウンタのリセットは非同期となるので、このカウンタ
のリセット信号入力部に、バッファを挿入することがで
きる。これにより、リセット信号を発生する回路の負荷
を軽減することができる。
Further, according to such a configuration, since the reset of the asynchronous counter is asynchronous, a buffer can be inserted in the reset signal input section of this counter. This can reduce the load on the circuit that generates the reset signal.

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

【図1】この発明の第1の実施の形態の構成を示すブロ
ック図である。
FIG. 1 is a block diagram showing a configuration of a first embodiment of the present invention.

【図2】この発明の第1の実施の形態の動作を説明する
ためのタイミングチャートである。
FIG. 2 is a timing chart for explaining the operation of the first embodiment of the present invention.

【図3】この発明の第2の実施の形態の構成を示すブロ
ック図である。
FIG. 3 is a block diagram showing a configuration of a second embodiment of the present invention.

【図4】この発明の第2の実施の形態の動作を説明する
ためのタイミングチャートである。
FIG. 4 is a timing chart for explaining the operation of the second embodiment of the present invention.

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

100…オーバーヘッド検出回路 200…オーバーヘッド処理回路 300…データ信号入力端子 400…リセット信号入力端子 500…データ信号入力端子 110…フレームカウンタ 120…デコーダ 111…同期式カウンタ 112…非同期式カウンタ 1A…第1の同期式カウンタ 2A…第2の同期式カウンタ 3A…ラッチ回路 100 ... Overhead detection circuit 200 ... Overhead processing circuit 300 ... Data signal input terminal 400 ... Reset signal input terminal 500 ... Data signal input terminal 110 ... Frame counter 120 ... Decoder 111 ... Synchronous counter 112 ... Asynchronous counter 1A ... 1st synchronous counter 2A ... second synchronous counter 3A ... Latch circuit

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数のフレームから構成されるマルチフ
レーム上の各位置を特定するためのフレームカウンタに
おいて、 前記マルチフレームの位相に同期したリセット信号によ
りリセットされ、前記マルチフレームの位相に同期した
クロック信号をカウントすることにより、前記フレーム
上の各位置を特定する同期式カウンタと、 前記リセット信号によりリセットされ、前記同期式カウ
ンタのキャリー信号をカウントすることにより、前記マ
ルチフレーム上の各フレーム位置を特定する非同期式カ
ウンタとを備えたことを特徴とするフレームカウンタ。
1. A frame counter for identifying each position on a multi-frame composed of a plurality of frames, wherein a clock reset by a reset signal synchronized with the phase of the multi-frame and synchronized with the phase of the multi-frame A synchronous counter that identifies each position on the frame by counting signals, and a carry signal that is reset by the reset signal and counts the carry signal of the synchronous counter to identify each frame position on the multiframe. A frame counter having an asynchronous counter for specifying.
【請求項2】 行列で表されるフレーム上の各位置を特
定するためのフレームカウンタにおいて、 前記フレームの位相に同期したリセット信号によりリセ
ットされ、前記フレームに位相に同期したクロック信号
をカウントすることにより、各列位置を特定する同期式
カウンタと、 前記リセット信号によりリセットされ、前記同期式カウ
ンタのキャリー信号をカウントすることにより、前記フ
レーム上の各フレーム位置を特定する非同期式カウンタ
とを備えたことを特徴とするフレームカウンタ。
2. A frame counter for identifying each position on a frame represented by a matrix, counting a clock signal which is reset by a reset signal synchronized with the phase of the frame and is synchronized with the phase of the frame. A synchronous counter that specifies each column position, and an asynchronous counter that specifies each frame position on the frame by counting the carry signal of the synchronous counter that is reset by the reset signal. A frame counter that is characterized.
【請求項3】 前記同期式カウンタは、 1段目は前記クロック信号をカウントし、2段目以降は
前段のキャリー信号をカウントするようにカスケード接
続された複数の同期式カウンタと、 前段の同期式カウンタに供給されるリセット信号をラッ
チし、このラッチ出力を後段の同期式カウンタにリセッ
ト信号として供給するために、隣接する同期式カウンタ
間に適宜挿入されたラッチ回路とを備えたことを特徴と
する請求項1または2記載のフレームカウンタ。
3. The synchronous counter comprises: a plurality of synchronous counters cascade-connected to count the clock signal in the first stage and count carry signals in the previous stages in the second and subsequent stages; And a latch circuit appropriately inserted between adjacent synchronous counters in order to latch a reset signal supplied to the synchronous counter and to supply the latch output to the synchronous counter in the subsequent stage as a reset signal. The frame counter according to claim 1 or 2.
JP29956395A 1995-11-17 1995-11-17 Frame counter Expired - Fee Related JP3487701B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29956395A JP3487701B2 (en) 1995-11-17 1995-11-17 Frame counter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29956395A JP3487701B2 (en) 1995-11-17 1995-11-17 Frame counter

Publications (2)

Publication Number Publication Date
JPH09149020A JPH09149020A (en) 1997-06-06
JP3487701B2 true JP3487701B2 (en) 2004-01-19

Family

ID=17874253

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29956395A Expired - Fee Related JP3487701B2 (en) 1995-11-17 1995-11-17 Frame counter

Country Status (1)

Country Link
JP (1) JP3487701B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030048164A (en) * 2001-12-11 2003-06-19 삼성전자주식회사 Method for counting frame number in the asynchronous type code division multiple access mobile telecommunication system
CN102571050B (en) * 2010-12-31 2014-08-20 中国航空工业集团公司第六三一研究所 Reset circuit for multi-clock domains

Also Published As

Publication number Publication date
JPH09149020A (en) 1997-06-06

Similar Documents

Publication Publication Date Title
JP4541155B2 (en) Frame synchronization device and method
JPH05160825A (en) Synchronizing circuit
EP0460604A2 (en) Pattern sychronizing circuit
JP2744690B2 (en) Frame synchronization circuit
JP3487701B2 (en) Frame counter
US5113417A (en) Frame detection system
JP2000286922A (en) Detection circuit of transmission rate
JP2502263B2 (en) Error detection method
US6885714B1 (en) Independently roving range control
JP2950784B2 (en) Asynchronous signal synchronization circuit
JP2897404B2 (en) Data transmission apparatus and method
US8380871B1 (en) Efficient delayed overhead processing techniques
JP3072494B2 (en) Monitor circuit for channel selection status of parallel frame synchronization circuit
KR100204062B1 (en) Phase arragement apparatus for low speed data frame
JP3033543B2 (en) Frame synchronization circuit
JP2702324B2 (en) Frame synchronization detection circuit
KR200240576Y1 (en) SDH Frame Counter
JP2639598B2 (en) Asynchronous processing unit
JPS6310623B2 (en)
JPH0789656B2 (en) Control signal output device
JPH088546B2 (en) Frame synchronization detection method for digital transmission circuits
JP2000092034A (en) Counter interface
JPH11127145A (en) Frame synchronization system and frame synchronization method
JPS59140559A (en) Buffer register
JPH0537361A (en) Synchronous counter

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081031

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20081031

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20091031

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101031

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20111031

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111031

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20121031

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20121031

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20131031

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees