JPH07226731A - Coincidence detection output circuit for multi-frame data - Google Patents

Coincidence detection output circuit for multi-frame data

Info

Publication number
JPH07226731A
JPH07226731A JP6018762A JP1876294A JPH07226731A JP H07226731 A JPH07226731 A JP H07226731A JP 6018762 A JP6018762 A JP 6018762A JP 1876294 A JP1876294 A JP 1876294A JP H07226731 A JPH07226731 A JP H07226731A
Authority
JP
Japan
Prior art keywords
frame
data
output
input
frame data
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.)
Withdrawn
Application number
JP6018762A
Other languages
Japanese (ja)
Inventor
Hiroki Ogata
宏樹 小形
Sadao Narahira
貞夫 奈良平
Kazunori Kawabe
一範 川辺
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
Original Assignee
Fujitsu 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 filed Critical Fujitsu Ltd
Priority to JP6018762A priority Critical patent/JPH07226731A/en
Publication of JPH07226731A publication Critical patent/JPH07226731A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

PURPOSE:To provide a coincidence detection output circuit for multi-frame data whose processing time is short without the need for data transfer with respect to the coincidence detection output circuit for multi-frame data outputting an output of the multi-frame data when same multi-frame data are consecutive for n-times in the case of reception of the multi-frame data of multi-frame configuration where m-frame is equal to 1 multi-frame. CONSTITUTION:RAMs are formed to be of double buffer configuration and both RAMs 1, 2 are used to detect the coincidence of multi-frame data where m-frames are equal to 1 multi-frame simultaneously over all frames, a data mis-match detection circuit 5 always monitors outputs of m-frame coincidence detection circuits 3, 4 to compare data coincidenct consecutively for n-times in the unit of multi-frames with data coincident consecutively for n-times newly thereby detecting dissidence thereby outputting multi-frame data.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、mフレーム=1マルチ
フレーム構成のデータが入力する場合、同じマルチフレ
ームデータがn回連続すると、マルチフレームデータを
出力するマルチフレームデータの一致検出出力回路の改
良に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multi-frame data coincidence detection output circuit for outputting multi-frame data when the same multi-frame data is input n times when data of m frame = 1 multi-frame structure is input. Regarding improvement.

【0002】[0002]

【従来の技術】図13は従来例のマルチフレームデータ
の一致検出出力回路のブロック図、図14は図13の各
部のタイムチャートで、入力データは、マルチフレーム
データA,B,Cが夫々3回連続して入力し、3回同じ
マルチフレームデータが入力すると出力よりマルチフレ
ームデータのA,B,Cを出力し、且つ3回連続したマ
ルチフレームデータと次の3回連続したマルチフレーム
データとが不一致の時はデータ不一致情報を出力する場
合のものである。
2. Description of the Related Art FIG. 13 is a block diagram of a conventional multi-frame data coincidence detection output circuit, and FIG. 14 is a time chart of each part of FIG. 13. Input data is multi-frame data A, B, and C, respectively. When the same multi-frame data is input three times consecutively and the same multi-frame data is input three times, the multi-frame data A, B and C are output from the output, and three consecutive multi-frame data and the next three consecutive multi-frame data are output. Is a case where the data mismatch information is output.

【0003】RAM1に対し、図14のRAM書込みデ
ータに示すデータ及びWE信号に示す書込み信号が入力
し、RAM1に書き込むと、RAM1の出力は、図14
のRAM1出力に示す如きデータとなる。
When the data shown in the RAM write data of FIG. 14 and the write signal shown in the WE signal are input to the RAM1 and written in the RAM1, the output of the RAM1 is as shown in FIG.
The data will be as shown in the output of RAM1.

【0004】mフレーム一致検出回路3にて、RAM1
への書込みマルチフレームデータと、RAM1の出力の
マルチフレームデータとを、各フレーム毎に比較し全て
のフレームが一致すると、図14のmフレーム一致検出
回路出力パルスに示す如き一致検出パルスを出力し、n
回連続一致検出回路30に入力する。
In the m-frame match detection circuit 3, the RAM 1
The multi-frame data to be written to and the multi-frame data output from the RAM 1 are compared for each frame, and if all the frames match, a match detection pulse as shown in the m-frame match detection circuit output pulse in FIG. 14 is output. , N
It is input to the continuous hit detection circuit 30.

【0005】n回連続一致検出回路30では一致検出パ
ルスをカウントし、図14のn回連続一致検出回路出力
値に示す如く2カウントすると、3回連続して同じマル
チフレームデータが入力したとし、書込み制御回路31
に信号を送り、書込み信号を出力させ、図14のRAM
32書込みデータに示す如き、1マルチフレームデータ
をRAM32に書き込ませる。
The n-th consecutive coincidence detection circuit 30 counts the coincidence detection pulses, and if the count value is 2 as shown in the output value of the n-th consecutive coincidence detection circuit in FIG. 14, it is assumed that the same multi-frame data is input three consecutive times. Write control circuit 31
To send a write signal to the RAM shown in FIG.
One multi-frame data is written in the RAM 32 as shown by 32 write data.

【0006】一致比較回路33では、RAM32に書き
込んだデータ、図14のRAM32出力に示す、読出し
データを比較し、一致していなければ図14の一致比較
33の出力に示す如くHレベルの信号を出力し、一致し
ていれば何も出力しない。
In the match comparison circuit 33, the data written in the RAM 32 and the read data shown in the output of the RAM 32 of FIG. 14 are compared, and if they do not match, an H level signal is output as shown in the output of the match comparison 33 of FIG. Output, and output nothing if they match.

【0007】又図14のRAM32出力に示す、RAM
32よりの読出しデータを出力として出力する。
A RAM shown in the RAM 32 output of FIG.
The read data from 32 is output as an output.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、従来の
マルチフレームデータの一致検出出力回路では、RAM
1よりRAM32にデータを転送せねばならず、特にフ
レーム数が多い場合は、転送するのに時間がかかり処理
時間が長くなる問題点があり、又RAM32に書き込む
マルチフレームの各フレームのアドレスが、一定でなく
途中で変わった場合等は、比較するのに制御が困難とな
る問題点がある。
However, in the conventional multiframe data coincidence detection output circuit, a RAM is used.
The data must be transferred to the RAM 32 from 1, and there is a problem in that it takes time to transfer and the processing time becomes long particularly when the number of frames is large, and the address of each frame of the multi-frame to be written in the RAM 32 is When it is not constant and changes in the middle, there is a problem that control is difficult for comparison.

【0009】本発明は、データ転送を必要とせず処理時
間が短いマルチフレームデータの一致検出出力回路の提
供を目的としている。
An object of the present invention is to provide a coincidence detection output circuit for multi-frame data which does not require data transfer and has a short processing time.

【0010】[0010]

【課題を解決するための手段】図1は本発明の実施例の
マルチフレームデータの一致検出出力回路のブロック
図、図3は本発明の他の実施例のマルチフレームデータ
の一致検出出力回路のブロック図である。
FIG. 1 is a block diagram of a multiframe data coincidence detection output circuit according to an embodiment of the present invention, and FIG. 3 is a multiframe data coincidence detection output circuit according to another embodiment of the present invention. It is a block diagram.

【0011】図1に示す如く、書込み信号切替部7にて
切り替えた書込み信号夫々にて該入力データを1マルチ
フレーム単位にて書き込む第1,第2のRAM1,2
と、該第1又は第2のRAMに書き込まれた1マルチフ
レームのデータと、次に入力する1マルチフレームの入
力データとを、各フレーム毎に比較し、全てのフレーム
が一致した時一致信号を出力する第1,第2のmフレー
ム一致検出回路3,4と、該第1,第2のmフレーム一
致検出回路3,4の出力を入力し、n回連続して同一の
マルチフレームデータを受信したことを検出し、前回の
マルチフレーム単位のn回連続一致検出を行ったデータ
と、次のマルチフレーム単位のn回連続一致検出を行っ
たデータとが同一でない時はデータミスマッチとしデー
タ不一致情報を出力すると共に切替信号出力部6に入力
するデータミスマッチ検出回路5と、該データ不一致情
報が入力すると、該書込み信号切替部7及びセレクタ8
に切り替え信号を送る該切替信号出力部6と、該第1,
第2のmフレーム一致検出回路3,4に入力する該第
1,第2のRAM1,2の出力を入力し、該切替信号出
力部6の出力の切り替え信号により切り替え、何れかの
入力を出力するセレクタ8と、該切替信号出力部6の出
力の切り替え信号により、書込み信号を、該第1又は第
2のRAMへの書込み信号に切り替える該書込み信号切
替部7を有する構成とする。
As shown in FIG. 1, the first and second RAMs 1 and 2 for writing the input data in units of one multiframe by the write signals switched by the write signal switching unit 7.
And the 1-multiframe data written in the first or second RAM and the 1-multiframe input data to be input next are compared for each frame, and when all the frames match, a match signal To output the first and second m frame coincidence detection circuits 3 and 4 and the outputs of the first and second m frame coincidence detection circuits 3 and 4, and to input the same multi-frame data n times consecutively. Is detected, and if the data that has been detected n times in succession in multiframe units the previous time is not the same as the data that has been detected n times in succession in the next multiframe units, a data mismatch is detected. When the data mismatch detection circuit 5 outputs the mismatch information and inputs it to the switching signal output section 6 and the data mismatch information, the write signal switching section 7 and the selector 8
The switching signal output unit 6 for sending a switching signal to the
Outputs of the first and second RAMs 1 and 2 input to the second m-frame coincidence detection circuits 3 and 4 are input and switched by a switching signal of the output of the switching signal output unit 6, and either input is output. The selector 8 and the write signal switching unit 7 that switches the write signal to the write signal to the first or second RAM according to the switching signal of the output of the switching signal output unit 6.

【0012】又は図3に示す如く、前記第1,第2のm
フレーム一致検出回路3,4にて、前記第1又は第2の
RAMに書き込まれた1マルチフレームのデータと、次
に入力する1マルチフレームのデータとを各フレーム毎
に比較する場合、比較するフレームデータが一致してい
る時は、該第1又は第2のRAMへのフレームデータの
書込みを行わないようにするマスク回路9を前記書込み
信号切替部7の出力側に設けた構成とする。
Alternatively, as shown in FIG. 3, the first and second m
When the frame matching detection circuits 3 and 4 compare the data of one multi-frame written in the first or second RAM with the data of one multi-frame to be input next for each frame, they are compared. A mask circuit 9 is provided on the output side of the write signal switching section 7 so as not to write the frame data to the first or second RAM when the frame data match.

【0013】[0013]

【作用】本発明によれば、n回連続して入力した同一の
マルチフレームデータと、次のn回連続して入力した同
一のマルチフレームデータとが異なる時は、入力データ
を、書込み信号切替部7にて切り替えた書込み信号に
て、1マルチフレーム単位に、第1又は第2のRAM
1,2に書込み、第1,第2のmフレーム一致検出回路
3,4にて、第1又は第2のRAM1,2に書込まれた
1マルチフレームのデータと、次に入力する入力データ
の1マルチフレームのデータとを各フレーム毎に比較
し、全てのフレームが一致した時は一致信号をデータミ
スマッチ検出回路5に出力する。
According to the present invention, when the same multi-frame data input n times in succession and the same multi-frame data input next n times are different, the input data is switched to the write signal. With the write signal switched by the unit 7, the first or second RAM is set in units of one multiframe.
1 and 2 data written in the first and second m-frame coincidence detection circuits 3 and 4 and 1 multiframe data written in the first or second RAM 1 or 2 and the input data to be input next. 1 multi-frame data is compared for each frame, and when all the frames match, a match signal is output to the data mismatch detection circuit 5.

【0014】データミスマッチ検出回路5では、第1,
第2のmフレーム一致検出回路3,4の出力にて、n回
連続して同一のマルチフレームデータを受信したことを
検出し、前回のマルチフレーム単位のn回連続一致検出
を行ったデータと、次のマルチフレーム単位のn回連続
一致検出を行ったデータとが同一でない時はデータミス
マッチとしデータ不一致情報を出力すると共に切替信号
出力部6に入力する。
In the data mismatch detection circuit 5,
The output of the second m-frame coincidence detection circuits 3 and 4 detects that the same multi-frame data has been received n times in succession, and the data obtained by performing the previous n-time continuous coincidence detection in multi-frame units. If the data that has been subjected to the next n-time continuous match detection in units of multiframes is not the same, a data mismatch is detected and the data mismatch information is output and also input to the switching signal output unit 6.

【0015】すると、切替信号出力部6は切り替え信号
を、書込み信号切替部7に送り、第1又は第2のRAM
1,2への、入力データの1マルチフレーム単位のデー
タの書込みを切り替えさせる。
Then, the switching signal output unit 6 sends the switching signal to the write signal switching unit 7, and the first or second RAM.
The writing of the input data in units of 1 multiframe to 1 and 2 is switched.

【0016】又切り替え信号を、第1,第2のRAM
1,2の出力を入力しているセレクタ8にも送り、出力
を第1又は第2のRAMの出力に切り替えさせる。この
ようにすると、RAM間のデータの転送はなくなり、処
理時間は短くなり、又不一致情報をうるのに複雑な制御
の必要がなくなる。
Further, the switching signal is sent to the first and second RAMs.
The outputs of 1 and 2 are also sent to the selector 8 which is input, and the output is switched to the output of the first or second RAM. In this way, data transfer between RAMs is eliminated, the processing time is shortened, and complicated control is not required to obtain the mismatch information.

【0017】図3に示す如く、図1に示すマルチフレー
ムデータの一致検出出力回路の、書込み信号切替部7の
次に、マスク回路9を設け、第1,第2のmフレーム一
致検出回路3,4にて、前記第1又は第2のRAMに書
き込まれた1マルチフレームのデータと、次に入力する
1マルチフレームのデータとを各フレーム毎に比較する
場合、比較するフレームデータが一致している時は、該
第1又は第2のRAMへのフレームデータの書込みを行
わないようにしても、比較する動作は変わらず、書込み
動作が少なくなるので、図1の場合の効果以外に更に、
この分消費電力を小さくすることが出来る。
As shown in FIG. 3, a mask circuit 9 is provided next to the write signal switching unit 7 of the multi-frame data coincidence detection output circuit shown in FIG. 1, and the first and second m-frame coincidence detection circuits 3 are provided. , 4, when comparing the multi-frame data written in the first or the second RAM with the multi-frame data to be input next for each frame, the frame data to be compared are the same. In this case, even if the frame data is not written to the first or second RAM, the comparing operation does not change and the writing operation is reduced. Therefore, in addition to the effect in the case of FIG. ,
The power consumption can be reduced accordingly.

【0018】[0018]

【実施例】図1は本発明の実施例のマルチフレームデー
タの一致検出出力回路のブロック図、図2は図1の各部
のタイムチャート、図3は本発明の他の実施例のマルチ
フレームデータの一致検出出力回路のブロック図、図4
は図3のmフレーム一致検出回路及びマスク回路の動作
のタイムチャート、図5は本発明の実施例のデータミス
マッチ検出回路のブロック図、図6は図5のデコーダA
i+1 ,Bi+1 の状態遷移図、図7は本発明の実施例のm
フレーム一致検出回路のブロック図、図8は図7の各部
のタイムチャート、図9は本発明の他の実施例のmフレ
ーム一致検出回路のブロック図、図10は図9の各部の
タイムチャート、図11は本発明の実施例の同期検出保
護よりマルチフレームデータの一致検出出力回路迄のブ
ロック図、図12は図11の各部のタイムチャートであ
る。
1 is a block diagram of a coincidence detection output circuit for multi-frame data according to an embodiment of the present invention, FIG. 2 is a time chart of each portion of FIG. 1, and FIG. 3 is multi-frame data according to another embodiment of the present invention. Block diagram of the match detection output circuit of FIG.
Is a time chart of the operation of the m-frame match detection circuit and the mask circuit of FIG. 3, FIG. 5 is a block diagram of the data mismatch detection circuit of the embodiment of the present invention, and FIG. 6 is the decoder A of FIG.
State transition diagram of i + 1 , B i + 1 , FIG. 7 shows m of the embodiment of the present invention.
8 is a block diagram of the frame match detection circuit, FIG. 8 is a time chart of each part of FIG. 7, FIG. 9 is a block diagram of an m frame match detection circuit of another embodiment of the present invention, and FIG. 10 is a time chart of each part of FIG. FIG. 11 is a block diagram from the sync detection protection to the coincidence detection output circuit of multi-frame data according to the embodiment of the present invention, and FIG. 12 is a time chart of each part of FIG.

【0019】以下図10迄は図13の説明の場合と同じ
く、入力データはマルチフレームデータA,B,Cが夫
々3回連続入力し、3回同じマルチフレームデータが入
力すると出力よりマルチフレームデータA,B,Cを出
力し、且つ3回連続したマルチフレームデータと、次の
3回連続したマルチフレームデータとが不一致の時はデ
ータ不一致情報を出力する場合を例にとり説明する。
As in the case of FIG. 13, up to FIG. 10, the input data is the multi-frame data A, B and C which are continuously input three times respectively, and when the same multi-frame data is input three times, the multi-frame data is output from the output. An example will be described in which data mismatch information is output when A, B, and C are output, and when three consecutive multiframe data do not match the next three consecutive multiframe data.

【0020】図1にて図2のRAM書込データに示す入
力データ及びWE信号に示す書込み信号が入力すると、
入力データはmフレーム一致検出回路3,4に入力し、
3回連続して入力した同一マルチフレームデータと、次
の3回連続して入力した同一マルチフレームデータが異
なる時は書込み信号切替部7にて切り替えた、図2のR
AMWE信号,RAMWE信号に示す、書込み信号
にて、図2RAM書込みデータ,RAM書込みデー
タに示すデータをRAM1,2に書き込む。
When the input data shown in the RAM write data in FIG. 2 and the write signal shown in the WE signal in FIG. 1 are input,
The input data is input to the m frame coincidence detection circuits 3 and 4,
When the same multi-frame data input three times in succession and the same multi-frame data input three times in succession are different, switching is performed by the write signal switching unit 7, R in FIG.
The write signal shown by the AMWE signal and the RAMWE signal is used to write the data shown in FIG.

【0021】するとRAM1,2の出力データは図2の
RAM出力,RAM出力に示すデータとなり、夫々
mフレーム一致検出回路3,4に入力する。mフレーム
一致検出回路3,4では、両入力を比較し、全フレーム
が一致すれば、図2のmフレーム一致検出出力パル
ス,mフレーム一致検出出力パルスに示すパルスを出
力し、データミスマッチ検出回路5に入力する。
Then, the output data of the RAMs 1 and 2 become the data shown in the RAM output and the RAM output of FIG. 2, and are input to the m frame coincidence detection circuits 3 and 4, respectively. The m-frame coincidence detection circuits 3 and 4 compare both inputs, and if all the frames coincide, the m-frame coincidence detection output pulse and the m-frame coincidence detection output pulse shown in FIG. 2 are output, and the data mismatch detection circuit. Enter in 5.

【0022】データミスマッチ検出回路5では、RAM
1に書き込んでいる場合は、mフレーム一致検出回路3
の出力を選択し、RAM2に書き込んでいる場合は、m
フレーム一致検出回路4の出力を選択し、mフレーム一
致検出回路3,4の両方が出力している時は、一致検出
パルスを出力しないので、一致検出の回数は、図2のn
回連続一致検出に示す如くなり、データ不一致情報とし
ては、図2のデータミスマッチ検出に示す如き情報を出
力すると共に、切替信号出力部6に入力する。
In the data mismatch detection circuit 5, the RAM is
If it is written in 1, the m-frame match detection circuit 3
When the output of is selected and written in RAM2, m
When the output of the frame coincidence detection circuit 4 is selected and both of the m frame coincidence detection circuits 3 and 4 are outputting, the coincidence detection pulse is not output. Therefore, the number of coincidence detections is n in FIG.
As shown in the continuous consecutive detection, as the data mismatch information, the information as shown in the data mismatch detection in FIG. 2 is output and also input to the switching signal output unit 6.

【0023】切替信号出力部6では、図2の切替出力に
示す如きパルスを出力し、セレクタ8及び書込み信号切
替部7のアンド回路10,11に送り、RAM1,2へ
の書込み信号を、図2のRAMWE信号,RAMW
E信号に示す如くする。
The switching signal output unit 6 outputs a pulse as shown in the switching output of FIG. 2 and sends it to the AND circuits 10 and 11 of the selector 8 and the writing signal switching unit 7 to write signals to the RAMs 1 and 2. 2 RAMWE signal, RAMW
As indicated by the E signal.

【0024】セレクタ8には、RAM1,2の読出しデ
ータが入力しており、切替信号出力部6の出力にて選択
を切り替え、図2のRAM読出しデータに示す如きマル
チフレームデータを出力する。
The read data of the RAMs 1 and 2 is input to the selector 8, the selection is switched by the output of the switching signal output unit 6, and the multi-frame data as shown in the RAM read data of FIG. 2 is output.

【0025】このようにすると、RAM間のデータの転
送はなくなり、処理時間は短くなり、又不一致情報をう
るのに複雑な制御の必要がなくなる。図3は図1の回路
に、アンド回路12,13よりなるマスク回路9を追加
したものであるので、このマスク回路9を用いた効果に
つき図4を用いて説明する。
In this way, data transfer between RAMs is eliminated, the processing time is shortened, and complicated control is not required to obtain the mismatch information. Since the mask circuit 9 including AND circuits 12 and 13 is added to the circuit of FIG. 1 in FIG. 3, the effect of using the mask circuit 9 will be described with reference to FIG.

【0026】図4のRAM書込データに示すフレームデ
ータを、図4のRAM書込アドレスに示すアドレスに、
図4のRAMWE信号に示す信号にて書込み、読み出し
た図4のRAM読出データに示すデータと、入力データ
とを比較し、一致した時は書き込まなくすると、同じデ
ータを読み出すので、この時、mフレーム一致検出回路
3,4にて発する、図4のフレーム一致検出結果に示す
パルスを、アンド回路12又は13に入力し、図4のR
AMWE信号に示す如くマスクし書込みを行わなくす
る。
The frame data shown in the RAM write data of FIG. 4 is replaced with the address shown in the RAM write address of FIG.
When the data shown in the RAM read data written and read by the signal shown in the RAMWE signal in FIG. 4 is compared with the input data and if they do not match, the same data is read out. At this time, m The pulse shown in the frame match detection result of FIG. 4 which is issued by the frame match detection circuits 3 and 4 is input to the AND circuit 12 or 13, and R of FIG.
Masking is performed as shown by the AMWE signal so that writing is not performed.

【0027】勿論入力データと、RAM1,2よりの読
出しデータとが一致しない時は、図4のRAMWE信号
に示す如く書込み信号を出力させ、書き込ませる。この
ようにすると、比較する動作は変わらず、書込み動作が
少なくなるので、図1の場合の効果以外に更に、この分
消費電力を小さくすることが出来る。
Of course, when the input data and the read data from the RAMs 1 and 2 do not match, a write signal is output and written as shown by the RAMWE signal in FIG. By doing so, the comparison operation does not change, and the number of write operations is reduced. Therefore, in addition to the effect of FIG. 1, the power consumption can be further reduced by this amount.

【0028】次に、図5,図6を用いてデータミスマッ
チ検出回路の動作を説明する。mフレーム一致検出回路
3,4の一致検出出力パルスを両方監視し、図2の切替
出力に示す切り替え信号がLレベルの時は、セレクタ2
3にてmフレーム一致検出回路3の出力を選択して3回
連続一致検出を行い、Hレベルの時は、mフレーム一致
検出回路4の出力を選択して3回連続一致検出を行な
う。
Next, the operation of the data mismatch detection circuit will be described with reference to FIGS. Both the match detection output pulses of the m-frame match detection circuits 3 and 4 are monitored, and when the switching signal shown in the switching output of FIG.
At 3, the output of the m-frame coincidence detection circuit 3 is selected and three consecutive coincidence detections are performed. When the output is at H level, the output of the m-frame coincidence detection circuit 4 is selected and three consecutive coincidence detections are performed.

【0029】しかしmフレーム一致検出回路3,4より
出力パルスが出力されている時は、マルチフレーム単位
の3回連続一致検出したデータと、次のマルチフレーム
単位の3回連続一致検出しようとしているデータが同じ
である為、アンド回路21,22にてマスクし、3回連
続一致検出動作に含めない回路構成としている。
However, when the output pulses are output from the m-frame coincidence detection circuits 3 and 4, it is going to detect the data for which three consecutive coincidences are detected in multiframe units and the next three consecutive coincidence detections in multiframe units. Since the data is the same, the AND circuits 21 and 22 mask the data so that it is not included in the three consecutive coincidence detection operation.

【0030】こうすることで、3回連続一致検出した時
は、必ず、1マルチフレーム単位の3回連続一致検出を
行ったデータと、次の1マルチフレーム単位の3回連続
一致検出を行ったデータとはデータミスマッチと定義す
ることが出来、データミスマッチを検出することが出来
る。
By doing so, when three consecutive coincidence detections are performed, the data for which three consecutive consecutive coincidence detections are performed for each multi-frame unit and the next three consecutive consecutive coincidence detections for one multi-frame unit are performed. Data can be defined as a data mismatch, and a data mismatch can be detected.

【0031】次に3回連続一致検出を行う場合のデコー
ダAi+1 ,Bi+1 ,FF26,27の動作につき図6を
用いて説明する。図6の(A)は、図5のA,B点の状
態遷移図で、図6の(B)は、条件による遷移を示す図
で、図5のA,B点の状態としては、図6の(B)に示
す如く、0,0、0,1、1,0、1,1〔但しAの0
はマルチフレーム位相比較パルスなし、1はマルチフレ
ーム位相比較パルス有り、Bの0は一致検出パルスな
し、1は一致検出パルス有りを示す〕の状態があり、
A,Bの各状態に対し、マルチフレーム位相比較パルス
と一致検出パルスは、0,0、0,1、1,0、1,1
の条件がある(0はパルスはない状態,1はパルスのあ
る状態)。
Next, the operation of the decoders A i + 1 , B i + 1 and the FFs 26, 27 in the case of performing continuous coincidence detection three times will be described with reference to FIG. 6A is a state transition diagram at points A and B in FIG. 5, and FIG. 6B is a diagram showing transitions according to conditions. The state at points A and B in FIG. As shown in (B) of 6, 0,0,0,1,1,0,1,1 [however, 0 of A
Indicates that there is no multi-frame phase comparison pulse, 1 indicates that there is a multi-frame phase comparison pulse, 0 of B indicates that there is no match detection pulse, and 1 indicates that there is a match detection pulse.
For each state of A and B, the multi-frame phase comparison pulse and the coincidence detection pulse are 0, 0, 0, 1, 1, 0, 1, 1
(0 means no pulse, 1 means pulse).

【0032】A,Bの各状態で、上記条件になった時
の、次のデコーダAi+1 ,Bi+1 の状態は図6(B)の
次状態に示す如くなる。最初は図6(A)の0回に示す
如く、A,B共共0,0であるが、0,1、1,0の時
は遷移せず、1,1(マルチフレーム位相比較パルス有
り,一致検出パルスあり)となると、1回の所に遷移し
(0,1)となり、マルチフレームデータ一致を示す。
ここで、条件が、0,Xの時は遷移せず1,0となると
0回の所に返り、1,1となると、2回の所に遷移し
(1,0)となり、3マルチフレームデータ連続一致を
示す。
When the above conditions are satisfied in each of the states A and B, the states of the next decoders A i + 1 and B i + 1 are as shown in the next state of FIG. 6B. At first, as shown at 0 times in FIG. 6A, both A and B are 0, 0, but when 0, 1, 1, 0 do not transition, 1, 1 (with multi-frame phase comparison pulse) , There is a coincidence detection pulse), the state transits to once and becomes (0, 1), indicating multiframe data coincidence.
Here, when the condition is 0 or X, no transition occurs, and when the condition is 1,0, the condition returns to 0 times, and when the condition becomes 1,1, the condition transits to 2 times (1,0) and 3 multiframes. Indicates continuous data matching.

【0033】ここで、3回連続一致を検出したので、条
件が1,Xの時、0回の所に遷移する。このようにして
3マルチフレームデータ連続一致を検出する。
Here, since three consecutive matches have been detected, when the condition is 1, X, the transition is made to 0 times. In this way, continuous agreement of 3 multi-frame data is detected.

【0034】次に図7,図8を用いてmフレーム一致検
出回路の実施例につき説明する。図8のRAM書込デー
タに示す、RAM1又はRAM2に書き込むデータを、
図8のRAM書込アドレスに示すアドレスに、RAMW
E信号に示す書込み信号にて書込み、書込んだデータ
と、図8のRAM読出データに示すRAMより読出した
データとを比較器17にて比較し、比較結果を、アンド
回路18にて、図8の一致検出タイミングパルスに示す
パルスとアンドをとり、図8のフレーム一致検出結果に
示す如く、リタイミングし、m+1カウンタ19に入力
し、図8の一致検出フレームカウント値に示す如く、m
迄カウントアップしたところでmフレーム全部一致と
し、パルスをデコーダ34に入力し、図8のカウント値
mをデコードに示す如きパルスを出力させ、図8のmフ
レーム一致検出パルスに示すパルスがきた時に、アンド
回路35よりmフレーム一致検出パルスを出力する。
Next, an embodiment of the m frame coincidence detection circuit will be described with reference to FIGS. Data to be written in RAM1 or RAM2 shown in the RAM write data of FIG.
At the address shown in the RAM write address of FIG.
The data written and written by the write signal indicated by the E signal is compared with the data read from the RAM indicated by the RAM read data of FIG. 8 by the comparator 17, and the comparison result is indicated by the AND circuit 18. The coincidence detection timing pulse shown in FIG. 8 is ANDed, re-timed as shown in the frame coincidence detection result of FIG. 8, and input to the m + 1 counter 19, and as shown in the coincidence detection frame count value of FIG.
After counting up to m, all the m frames are determined to be coincident, the pulse is input to the decoder 34, a pulse as shown in the decoding of the count value m in FIG. 8 is output, and when the pulse shown in the m frame coincidence detection pulse in FIG. The AND circuit 35 outputs an m frame coincidence detection pulse.

【0035】次にmフレーム一致検出回路の他の実施例
を図9,図10を用いて説明する。図9では、比較器1
7にて、RAM1又は2に書き込まれているデータと、
次にRAM1又は2に書き込むデータを比較し、一致す
ると、図10の一致検出タイグパルスに示すタイミング
で、図10のフレーム一致検出結果に示す如くHレベル
となるも、不一致の時はLレベルとなり、ナンド回路1
8ー1に入力する。
Next, another embodiment of the m-frame coincidence detecting circuit will be described with reference to FIGS. In FIG. 9, the comparator 1
At 7, the data written in RAM 1 or 2 and
Next, the data to be written in the RAM 1 or 2 is compared, and if they match each other, at the timing shown by the match detection timing pulse in FIG. 10, it becomes H level as shown in the frame match detection result in FIG. 10, but becomes L level when they do not match, NAND circuit 1
Input in 8-1.

【0036】従って、ナンド回路18ー1の出力は、不
一致の時はHレベル、一致の時はLレベルで不一致ラッ
チ回路20に入力する。不一致ラッチ回路20では、ナ
ンド回路18ー1の出力がHレベルの時出力を、図10
の不一致検出チッチ情報に示す如くHレベルとする。
Therefore, the output of the NAND circuit 18-1 is input to the non-coincidence latch circuit 20 at H level when they do not match and at L level when they match. In the mismatch latch circuit 20, when the output of the NAND circuit 18-1 is at the H level,
H level as indicated by the mismatch detection chich information.

【0037】図10の場合は、m−1フレーム目で不一
致を検出した時と、2フレーム目で不一致を検出した時
とを示しており、図10のマルチフレームFPに示す、
マルチフレームのフレームパルスが入力した時、出力が
Hレベルであれば、アンド回路35の出力はHレベルと
なり、Lレベルであればアンド回路35の出力はLレベ
ルでmフレーム全部が一致したことを示す。
FIG. 10 shows the case where the mismatch is detected in the m-1th frame and the case where the mismatch is detected in the second frame, which is shown in the multi-frame FP of FIG.
When the frame pulse of the multi-frame is input, if the output is H level, the output of the AND circuit 35 becomes H level, and if the output is L level, the output of the AND circuit 35 is at L level and all the m frames match. Show.

【0038】次に、入力するデータの同期検出保護よ
り、マルチフレームデータの一致検出出力回路迄につき
図11,図12を用いて説明する。図11,図12では
入力する64フレーム=1マルチフレームのデータの6
3,64フレーム目に同期パターンが挿入されており、
このマルチフレームデータに対し同期検出保護部41で
は、前方3段,後方3段の保護を行い、ハンチング中の
データに対してはRAM1,2への書込みは行わなくし
ている。又マルチフレームデータの一致検出出力回路の
一致回数は図1と同じく3としている。
Next, the steps from the synchronization detection protection of the input data to the coincidence detection output circuit of the multi-frame data will be described with reference to FIGS. 11 and 12. In FIG. 11 and FIG. 12, 6 of the input 64 frames = 1 multi-frame data
The synchronization pattern is inserted in the 3rd and 64th frames,
The synchronization detection protection unit 41 protects the multi-frame data in the front three stages and the rear three stages, and does not write the hunting data in the RAMs 1 and 2. Further, the number of times of coincidence of the coincidence detection output circuit of multi-frame data is set to 3 as in FIG.

【0039】図12の(A)(I)(J)に示すアルフ
アベットの小文字は不完全なマルチフレームデータで同
期がとれないものを示しており、アは前方1段、イは前
方2段、ウは同期、エは後方1段、オは後方2段、カは
ハンチング中を示し、(1)ではRAM1にデータを書
込み、RAM2よりデータを読出し、(2)ではRAM
2にデータを書込み、RAM1よりデータを読出してい
るタイミングを示している。
The lowercase letters of the alphabet shown in (A), (I), and (J) of FIG. 12 indicate incomplete multi-frame data that cannot be synchronized. , C is synchronous, d is 1 step backward, o is 2 steps backward, and c is hunting. In (1), write data to RAM1, read data from RAM2, and in (2) RAM.
2 shows the timing when data is written in 2 and the data is read from RAM 1.

【0040】図12(A)に示す入力データが、同期検
出保護部41に入力すると、(B)に示す同期パターン
を検出し、出力より(E)に示すマルチフレーム位相比
較パルス及び(F)(I)に示すデータの合計のRAM
への書込みデータを出力し、又この書込みデータに対応
した書込み信号をRAM制御部40より出力し、図1に
示すと同じ、マルチフレームデータの一致検出出力回路
に入力する。
When the input data shown in FIG. 12A is input to the sync detection protection section 41, the sync pattern shown in FIG. 12B is detected, and the multiframe phase comparison pulse shown in FIG. RAM for total data shown in (I)
Write data corresponding to the write data is output from the RAM control unit 40 and is input to the same multiframe data match detection output circuit as shown in FIG.

【0041】マルチフレームデータの一致検出出力回路
の動作のタイムチャートは、図12(F)〜(P)に示
しており、図1にて説明したと同じく動作するので説明
は省略する。
The time charts of the operation of the coincidence detection output circuit of the multi-frame data are shown in FIGS. 12F to 12P, and the operation is the same as that described with reference to FIG.

【0042】[0042]

【発明の効果】以上詳細に説明せる如く本発明によれ
ば、RAMをダブルバッフア構成にして、mフレーム=
1マルチフレームデータの全フレームに対する一致検出
を両方のRAM1,2で同時に行い、データミスマッチ
検出回路5にて、mフレーム一致検出回路3,4の出力
を常に監視し、マルチフレーム単位のn回連続一致した
データと、新たにn回連続一致したデータとの比較を行
い、不一致の検出を行い、マルチフレームデータを出力
するようにしているので、データの転送を必要とせず、
処理時間は短くなり、又不一致情報を得るのに複雑な制
御の必要がなくなる効果がある。
As described above in detail, according to the present invention, the RAM has a double buffer structure and m frames =
Match detection for all frames of one multi-frame data is performed simultaneously in both RAMs 1 and 2, and the data mismatch detection circuit 5 constantly monitors the outputs of the m-frame match detection circuits 3 and 4 for n consecutive times in multi-frame units. Since the matched data is compared with the data which is newly matched n times continuously, the mismatch is detected and the multi-frame data is output, the data transfer is not required.
The processing time is shortened, and complicated control is not required to obtain the mismatch information.

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

【図1】は本発明の実施例のマルチフレームデータの一
致検出出力回路のブロック図、
FIG. 1 is a block diagram of a match detection output circuit for multi-frame data according to an embodiment of the present invention,

【図2】は図1の各部のタイムチャート、2 is a time chart of each part of FIG.

【図3】は本発明の他の実施例のマルチフレームデータ
の一致検出出力回路のブロック図、
FIG. 3 is a block diagram of a match detection output circuit for multi-frame data according to another embodiment of the present invention,

【図4】は図3のmフレーム一致検出回路及びマスク回
路の動作のタイムチャート、
FIG. 4 is a time chart of the operation of the m-frame coincidence detection circuit and mask circuit of FIG.

【図5】は本発明の実施例のデータミスマッチ検出回路
のブロック図、
FIG. 5 is a block diagram of a data mismatch detection circuit according to an embodiment of the present invention,

【図6】は図5のデコーダAi+1 ,Bi+1 の状態遷移
図、
6 is a state transition diagram of the decoders A i + 1 and B i + 1 in FIG.

【図7】は本発明の実施例のmフレーム一致検出回路の
ブロック図、
FIG. 7 is a block diagram of an m-frame match detection circuit according to an embodiment of the present invention,

【図8】は図7の各部のタイムチャート、FIG. 8 is a time chart of each part of FIG.

【図9】は本発明の他の実施例のmフレーム一致検出回
路のブロック図、
FIG. 9 is a block diagram of an m-frame coincidence detection circuit according to another embodiment of the present invention,

【図10】は図9の各部のタイムチャート、10 is a time chart of each part of FIG. 9,

【図11】は本発明の実施例の同期検出保護よりマルチ
フレームデータの一致検出出力回路迄のブロック図、
FIG. 11 is a block diagram from the sync detection protection circuit to the multi-frame data match detection output circuit according to the embodiment of the present invention;

【図12】は図11の各部のタイムチャート、12 is a time chart of each part of FIG.

【図13】は従来例のマルチフレームデータの一致検出
出力回路のブロック図、
FIG. 13 is a block diagram of a conventional multi-frame data match detection output circuit;

【図14】は図13の各部のタイムチャートである。FIG. 14 is a time chart of each part of FIG.

【符号の説明】 1,2はRAM、 3,4はmフレーム一致検出回路、 5はデータミスマッチ検出回路、 6は切替信号出力部、 7は書込み信号切替部、 8,23はセレクタ、 9はマスク回路、 10〜13,18,21,22,28,35はアンド回
路、 17は比較器、 18ー1はナンド回路、 19はカウンタ、 20は不一致ラッチ回路、 24,25,34はデコーダ、 26〜29はフリップフロップを示す。
[Explanation of Codes] 1, 2 RAM, 3, 4 m frame match detection circuit, 5 data mismatch detection circuit, 6 switching signal output section, 7 write signal switching section, 8 and 23 selector, 9 Mask circuit, 10 to 13, 18, 21, 22, 28 and 35 are AND circuits, 17 is a comparator, 18-1 is a NAND circuit, 19 is a counter, 20 is a mismatch latch circuit, 24, 25 and 34 are decoders, Reference numerals 26 to 29 denote flip-flops.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 mフレームで1マルチフレームを構成す
るデータが入力する場合、同じマルチフレームデータが
n回連続すると、マルチフレームデータを出力するマル
チフレームデータの一致検出出力回路において、書込み
信号切替部(7)にて切り替えた書込み信号夫々にて該
入力データを1マルチフレーム単位にて書き込む第1,
第2のRAM(1)(2)と、該第1又は第2のRAM
に書き込まれた1マルチフレームのデータと、次に入力
する1マルチフレームの入力データとを、各フレーム毎
に比較し、全てのフレームが一致した時一致信号を出力
する第1,第2のmフレーム一致検出回路(3)(4)
と、該第1,第2のmフレーム一致検出回路(3)
(4)の出力を入力し、n回連続して同一のマルチフレ
ームデータを受信したことを検出し、前回のマルチフレ
ーム単位のn回連続一致検出を行ったデータと、次のマ
ルチフレーム単位のn回連続一致検出を行ったデータと
が同一でない時はデータミスマッチとしデータ不一致情
報を出力すると共に切替信号出力部(6)に入力するデ
ータミスマッチ検出回路(5)と、該データ不一致情報
が入力すると、該書込み信号切替部(7)及びセレクタ
(8)に切り替え信号を送る該切替信号出力部(6)
と、該第1,第2のmフレーム一致検出回路(3)
(4)に入力する該第1,第2のRAM(1)(2)の
出力を入力し、該切替信号出力部(6)の出力の切り替
え信号により切り替え、何れかの入力を出力するセレク
タ(8)と、該切替信号出力部(6)の出力の切り替え
信号により、書込み信号を、該第1又は第2のRAMへ
の書込み信号に切り替える該書込み信号切替部(7)を
有することを特徴とするマルチフレームデータの一致検
出出力回路。
1. A write signal switching unit in a multi-frame data coincidence detection output circuit which outputs multi-frame data when the same multi-frame data is input n times when data constituting one multi-frame in m frames is input. Write the input data in units of one multi-frame with each of the write signals switched in (7).
Second RAM (1) (2) and the first or second RAM
The 1-multi-frame data written in 1 and the 1-multi-frame input data to be input next are compared for each frame, and a match signal is output when all the frames match with each other. Frame match detection circuit (3) (4)
And the first and second m-frame coincidence detection circuits (3)
By inputting the output of (4), it is detected that the same multi-frame data has been received n times in succession, and the data for which the previous multi-frame unit coincidence detection is performed n times and the next multi-frame unit When the data that has been subjected to the continuous match detection n times is not the same, the data mismatch information is output as data mismatch information and the data mismatch detection circuit (5) to be input to the switching signal output unit (6) and the data mismatch information are input. Then, the switching signal output unit (6) that sends a switching signal to the write signal switching unit (7) and the selector (8).
And the first and second m-frame coincidence detection circuits (3)
A selector that inputs the outputs of the first and second RAMs (1) and (2) that are input to (4), and switches by the switching signal of the output of the switching signal output unit (6), and outputs either input. (8) and the write signal switching unit (7) for switching the write signal to the write signal for the first or second RAM according to the output switching signal of the switching signal output unit (6). Match detection output circuit of the characteristic multi-frame data.
【請求項2】 前記第1,第2のmフレーム一致検出回
路(3)(4)にて、前記第1又は第2のRAMに書き
込まれた1マルチフレームのデータと、次に入力する1
マルチフレームのデータとを各フレーム毎に比較する場
合、比較するフレームデータが一致している時は、該第
1又は第2のRAMへのフレームデータの書込みを行わ
ないようにするマスク回路(9)を前記書込み信号切替
部(7)の出力側に設けたことを特徴とする請求項1記
載のマルチフレームデータの一致検出出力回路。
2. The multi-frame data written in the first or second RAM by the first and second m-frame coincidence detection circuits (3) and (4) and the next input 1
When comparing multi-frame data for each frame, when the frame data to be compared match each other, a mask circuit (9) for preventing writing of the frame data to the first or second RAM. ) Is provided on the output side of the write signal switching unit (7), and the coincidence detection output circuit for multi-frame data according to claim 1.
JP6018762A 1994-02-16 1994-02-16 Coincidence detection output circuit for multi-frame data Withdrawn JPH07226731A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6018762A JPH07226731A (en) 1994-02-16 1994-02-16 Coincidence detection output circuit for multi-frame data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6018762A JPH07226731A (en) 1994-02-16 1994-02-16 Coincidence detection output circuit for multi-frame data

Publications (1)

Publication Number Publication Date
JPH07226731A true JPH07226731A (en) 1995-08-22

Family

ID=11980660

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6018762A Withdrawn JPH07226731A (en) 1994-02-16 1994-02-16 Coincidence detection output circuit for multi-frame data

Country Status (1)

Country Link
JP (1) JPH07226731A (en)

Similar Documents

Publication Publication Date Title
JPH07226731A (en) Coincidence detection output circuit for multi-frame data
JP3156273B2 (en) Pointer processing circuit
JP2715953B2 (en) Synchronous circuit
JP3110387B2 (en) Multi-frame synchronization detector
JP3412927B2 (en) Frame synchronization circuit
JPH0691523B2 (en) Frame synchronization method
JP2697421B2 (en) Frame synchronization circuit for digital transmission system
JPH08307405A (en) Frame synchronism detection device
KR940009292B1 (en) Pulse generator
JPS62213337A (en) Frame synchronizing protection system
JP2728109B2 (en) Data instruction signal generation circuit
JPH0715427A (en) Bit alignment circuit
KR0120533B1 (en) Multiplex analog component
JP2862926B2 (en) Frame synchronization protection circuit
JPH073703Y2 (en) Multi-frame synchronization circuit
JPS63233629A (en) Frame synchronizing system
GB2103053A (en) Improvements relating to transmission of data in blocks
JPH09307540A (en) Multi-frame synchronizing method
JPH0329437A (en) Frame synchronization circuit
JPH05227133A (en) Parity check circuit
JPS63151237A (en) Frame synchronization protecting circuit
JPH088546B2 (en) Frame synchronization detection method for digital transmission circuits
JPH04158641A (en) Frame syncronization circuit
JPH06350569A (en) Error check system
JPH0279631A (en) Frame synchronizing circuit

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010508