JPH04314230A - Bit correlation deciding circuit - Google Patents

Bit correlation deciding circuit

Info

Publication number
JPH04314230A
JPH04314230A JP3106604A JP10660491A JPH04314230A JP H04314230 A JPH04314230 A JP H04314230A JP 3106604 A JP3106604 A JP 3106604A JP 10660491 A JP10660491 A JP 10660491A JP H04314230 A JPH04314230 A JP H04314230A
Authority
JP
Japan
Prior art keywords
signal
correlation
output
flip
relay
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP3106604A
Other languages
Japanese (ja)
Other versions
JP2529902B2 (en
Inventor
Hitoshi Shinoda
信田 仁
Kenzo Urabe
健三 占部
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.)
Kokusai Denki Electric Inc
Original Assignee
Kokusai 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 Kokusai Electric Co Ltd filed Critical Kokusai Electric Co Ltd
Priority to JP3106604A priority Critical patent/JP2529902B2/en
Publication of JPH04314230A publication Critical patent/JPH04314230A/en
Application granted granted Critical
Publication of JP2529902B2 publication Critical patent/JP2529902B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】例えばフレームを単位とするデー
タ通信における受信装置において、受信データのフレー
ム同期位置を判定する際に受信データとフレーム同期符
号を二つのデータ系列として相関をとるためにビット相
関判定回路が用いられる。本発明は、このような二つの
データ系列間の相関関係を判定するビット相関判定回路
に関するものである。
[Industrial Application Field] For example, in a receiving device for frame-based data communication, bit correlation is used to correlate the received data and frame synchronization code as two data sequences when determining the frame synchronization position of the received data. A decision circuit is used. The present invention relates to a bit correlation determination circuit that determines the correlation between such two data sequences.

【0002】0002

【従来の技術】一般的に、二つのデータ系列間の相関関
係を判定するビット相関判定回路としての従来回路では
、各ビットに対応した1ビットの相関出力をカウンタで
計数する構成がある。図5は従来の相関判定回路の一例
を示すブロック図である。図において、51はNビット
の排他的論理和(EX−OR)ゲートであり、一方のデ
ータ系列としてのNビットの入力データと他方のデータ
系列としての参照データとを入力し、この二つのデータ
系列の各ビットに対応して一致または不一致を表すN個
のそれぞれ1ビットの相関信号E1 ,E2 ,……,
EN を出力するNビット相関器である。52は並直列
変換シフトレジスタであり、EX−ORゲート51のN
個の1ビットの相関出力E1 ,E2 ,……,EN 
を一旦格納し、入力速度のN倍のクロックでシリアルに
変換して出力する。53は並直列変換シフトレジスタ5
2の出力即ち一致と不一致のビット数を入力しその数の
どちらか一方を計数するカウンタである。54は比較器
であり、カウンタ53によって計数された計数値を予め
定めた許容値と比較して相関判定を行い判定結果を出力
する。
2. Description of the Related Art Generally, a conventional circuit used as a bit correlation determination circuit for determining the correlation between two data series has a configuration in which a counter counts the correlation output of 1 bit corresponding to each bit. FIG. 5 is a block diagram showing an example of a conventional correlation determination circuit. In the figure, 51 is an N-bit exclusive OR (EX-OR) gate, which inputs N-bit input data as one data series and reference data as the other data series, and inputs these two data series. N 1-bit correlation signals E1, E2, ..., each representing coincidence or mismatch corresponding to each bit of the sequence;
It is an N-bit correlator that outputs EN. 52 is a parallel/serial conversion shift register, and N of the EX-OR gate 51
1-bit correlation outputs E1, E2, ..., EN
is stored once, converted to serial data using a clock that is N times the input speed, and output. 53 is a parallel/serial conversion shift register 5
This is a counter that inputs the output of No. 2, that is, the number of matching and non-matching bits, and counts one of the numbers. A comparator 54 compares the count value counted by the counter 53 with a predetermined tolerance value, performs a correlation determination, and outputs the determination result.

【0003】0003

【発明が解決しようとする課題】しかしながら上記従来
の回路では、二つのデータ系列が新しく入力される毎に
NビットのEX−ORゲート出力のパラレルセット,シ
リアルシフトを行っているので、入力のデータ系列の変
化速度のN倍の周波数を有するクロックでシリアルシフ
ト及びカウント動作を完了させねばならず、高い周波数
のクロックで動作させる必要があるため回路規模が大き
くなるとともに、消費電力の増大を招く。特に、入力の
データ系列の変化速度が大きくなると処理速度が追従で
きなくなるという欠点がある。本発明の目的は、上記回
路規模や消費電力の問題点を解決することにより、高速
動作への対応と低消費電力化を同時に図ることのできる
ビット相関判定回路を提供することにある。
[Problems to be Solved by the Invention] However, in the conventional circuit described above, the N-bit EX-OR gate output is set in parallel and serially shifted every time two data series are newly input. The serial shift and counting operations must be completed with a clock having a frequency N times the rate of change of the series, and the need to operate with a high frequency clock increases the circuit scale and increases power consumption. In particular, there is a drawback that when the rate of change of the input data series becomes large, the processing speed cannot keep up with it. An object of the present invention is to provide a bit correlation determination circuit that can simultaneously support high-speed operation and reduce power consumption by solving the above problems of circuit scale and power consumption.

【0004】0004

【課題を解決するための手段】本発明のビット相関判定
回路は、二つのNビット(Nは自然数)のデータ系列の
相関関係を判定しその判定結果を得るために、前記二つ
のデータ系列が入力される毎に対応する各ビットの一致
“L”または不一致“H”を示すN個の相関信号が並列
に出力されるNビット相関器と、該Nビット相関器から
の前記N個の相関信号がそれぞれ入力され前段からの中
継入力信号との関係を判定して次段へ中継出力信号を出
力する縦続接続されたN個の相関判定ユニットとを備え
、前記相関判定ユニットのそれぞれは、セット信号また
は前記データ系列が入力される毎に与えられるリセット
信号によって状態出力“L”(セット)または“H”(
リセット)を出力するフリップフロップ回路と、前段か
らの前記中継入力信号と前記相関信号と前記フリップフ
ロップ回路の状態出力とが組み合わされ所定の検査パル
ス信号に同期して次段の相関判定ユニットに与える前記
中継出力信号の出力と前記フリップフロップ回路に与え
る前記セット信号の出力を制御する組合せ回路とからな
り、初段の前記組合せ回路の中継入力信号は常に“L”
に設定され、前記リセット信号によって前記N個のフリ
ップフロップ回路がすべてリセット状態“H”に初期設
定され、前段の相関判定ユニットからの中継入力信号が
“H”の場合には、常に前記相関信号の極性及び前記フ
リップフロップ回路からの状態出力の極性の如何にかか
わらず次段への中継出力信号として“H”を出力すると
ともに前記フリップフロップ回路へのセット信号を停止
し、前段の相関判定ユニットからの中継入力信号が“L
”の場合には、リセット時には前記相関信号が“H”あ
るいは“L”のときは次段への中継出力信号としてそれ
ぞれ“H”あるいは“L”を出力し、リセット後に前記
検査パルス信号が前記組合せ回路に与えられる毎に、前
記相関信号が“H”のときは、前記フリップフロップ回
路の状態出力がリセット状態“H”であれば前記検査パ
ルスに同期したセット信号を前記フリップフロップ回路
に与えて該フリップフロップ回路をセット状態“L”に
することにより中継出力信号に“L”を出力し、前記フ
リップフロップ回路の状態出力がセット状態“L”であ
れば次段への中継出力信号として“L”を出力し、前記
相関信号が“L”のときは前記フリップフロップ回路か
らの状態出力の極性の如何ににかかわらず次段への中継
出力信号として“L”を出力するように制御され、最終
段の相関判定ユニットからの中継出力信号が前記求める
相関判定結果となるように構成したことを特徴とするも
のである。
[Means for Solving the Problems] The bit correlation determination circuit of the present invention determines the correlation between two N-bit (N is a natural number) data series and obtains the determination result. an N-bit correlator that outputs in parallel N correlation signals indicating coincidence "L" or mismatch "H" of each corresponding bit each time it is input; and the N correlation signals from the N-bit correlator. and N cascade-connected correlation determination units each receiving a signal, determining the relationship with the relay input signal from the previous stage, and outputting the relay output signal to the next stage, each of the correlation determination units comprising a set of The status output is set to “L” (set) or “H” (
The relay input signal from the previous stage, the correlation signal, and the state output of the flip-flop circuit are combined and provided to a correlation determination unit in the next stage in synchronization with a predetermined test pulse signal. It consists of a combinational circuit that controls the output of the relay output signal and the output of the set signal applied to the flip-flop circuit, and the relay input signal of the combinational circuit in the first stage is always "L".
, all of the N flip-flop circuits are initially set to the reset state "H" by the reset signal, and when the relay input signal from the correlation determination unit in the previous stage is "H", the correlation signal is always Regardless of the polarity of the state output from the flip-flop circuit and the polarity of the status output from the flip-flop circuit, "H" is output as a relay output signal to the next stage, and the set signal to the flip-flop circuit is stopped, and the correlation determination unit of the previous stage The relay input signal from
”, when the correlation signal is “H” or “L” at reset, “H” or “L” is output as a relay output signal to the next stage, and after reset, the test pulse signal is When the correlation signal is "H" and the state output of the flip-flop circuit is in a reset state "H", a set signal synchronized with the test pulse is given to the flip-flop circuit each time the correlation signal is "H". By setting the flip-flop circuit in the set state "L", a relay output signal of "L" is output, and if the state output of the flip-flop circuit is in the set state "L", it is output as a relay output signal to the next stage. "L" is output, and when the correlation signal is "L", control is performed to output "L" as a relay output signal to the next stage, regardless of the polarity of the status output from the flip-flop circuit. The present invention is characterized in that the relay output signal from the correlation determination unit at the final stage is configured to provide the desired correlation determination result.

【0005】[0005]

【実施例】本発明のビット相関判定回路は、二つのNビ
ット(Nは自然数)のデータ系列の相関関係を判定して
その判定結果を出力するものである。図1は本発明の実
施例を示すブロック図である。図において、4はNビッ
ト相関器であり、例えばNビットEXーORゲートであ
る。このNビット相関器4に二つのNビット(Nは自然
数)のデータ系列たとえば入力データと参照データが入
力され、入力データの更新タイミング毎にN個の1ビッ
ト相関信号E1,E2,・・・EN が並列に出力され
る。このN個の1ビット相関信号E1,E2,・・・E
N は、二つのNビットのデータ系列の各ビットの一致
“L”(ロウレベル)または不一致“H”(ハイレベル
)を示す信号である。3は相関判定ユニットであり、N
個の1ビット相関信号E1,E2,・・・EN がそれ
ぞれ入力されるN個の相関判定ユニット3が縦続接続さ
れている。そしてそれぞれの相関判定ユニット3の中継
信号出力は次段の相関判定ユニット3の中継信号入力と
なっている。図2は図1に示した本発明の要部をなす相
関判定ユニット3の一構成例を示すブロック図であり、
フリップフロップ回路1と組合せ回路2とから構成され
る。フリップフロップ回路1は外部からのリセット信号
または組合せ回路2からのセット信号によってリセット
またセットされその結果得られる状態を出力する。外部
からのリセット信号は、入力のデータ系列の更新タイミ
ング毎にすべての相関判定ユニット3のフリップフロッ
プ回路をリセット状態に初期化するために用いられる。 組合せ回路2は、1ビットの相関信号とフリップフロッ
プ回路1の状態出力と前段からの1ビット中継入力信号
とが入力されて組み合わされ、外部から供給される所定
の検査パルス(クロック)に従ってフリップフロップ回
路1へのセット信号の出力と次段の相関判定ユニット3
への中継出力信号の出力を制御する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The bit correlation determination circuit of the present invention determines the correlation between two N-bit (N is a natural number) data series and outputs the determination result. FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, 4 is an N-bit correlator, for example, an N-bit EX-OR gate. Two N-bit (N is a natural number) data series, such as input data and reference data, are input to this N-bit correlator 4, and N 1-bit correlation signals E1, E2, . . . are generated at each input data update timing. EN is output in parallel. These N 1-bit correlation signals E1, E2,...E
N is a signal indicating whether each bit of the two N-bit data series matches "L" (low level) or mismatches "H" (high level). 3 is a correlation determination unit, N
N correlation determining units 3 each receiving 1-bit correlation signals E1, E2, . . . EN are connected in cascade. The relay signal output of each correlation determination unit 3 serves as the relay signal input of the correlation determination unit 3 at the next stage. FIG. 2 is a block diagram showing an example of the configuration of the correlation determination unit 3, which is a main part of the present invention shown in FIG.
It is composed of a flip-flop circuit 1 and a combinational circuit 2. The flip-flop circuit 1 is reset or set by an external reset signal or a set signal from the combinational circuit 2, and outputs the resulting state. The external reset signal is used to initialize the flip-flop circuits of all correlation determination units 3 to a reset state at each update timing of the input data series. The combinational circuit 2 receives and combines the 1-bit correlation signal, the state output of the flip-flop circuit 1, and the 1-bit relay input signal from the previous stage, and operates the flip-flop according to a predetermined test pulse (clock) supplied from the outside. Output of set signal to circuit 1 and correlation determination unit 3 in the next stage
Controls the output of relay output signals to.

【0006】[0006]

【作用】図1及び図2の実施例に基づく本発明の作用を
次に説明する。まず、相関判定ユニット3は入力のデー
タ系列の更新タイミング毎にリセット信号によって初期
化(リセット)され、リセット後に入力される検査パル
ス信号に従って中継出力信号を出力する。なお、フリッ
プフロップ回路1の2値の状態出力は、リセット状態を
“H”で、セット状態を“L”で、それぞれ表現するも
のとする。また、中継入力信号,中継出力信号もそれぞ
れ“L”または“H”で表現する。また、初段の相関判
定ユニット3の中継入力信号は常に“L”に設定されて
いる。
[Operation] The operation of the present invention based on the embodiment shown in FIGS. 1 and 2 will now be described. First, the correlation determination unit 3 is initialized (reset) by a reset signal at every update timing of the input data series, and outputs a relay output signal according to the test pulse signal inputted after the reset. It is assumed that the binary state output of the flip-flop circuit 1 represents a reset state as "H" and a set state as "L". Further, a relay input signal and a relay output signal are also expressed as "L" or "H", respectively. Further, the relay input signal of the first-stage correlation determining unit 3 is always set to "L".

【0007】はじめに、2段目以降の任意の相関判定ユ
ニット3への中継入力信号が“H”の場合、即ち前段の
中継出力信号が“H”の場合について述べる。この場合
、相関判定ユニット3に入力される自段の相関信号及び
フリップフロップ回路1の状態出力の極性(“L”また
は“H”)に関わらず中継出力信号に“H”を出力する
とともに、相関判定ユニット3内では組合せ回路2によ
る検査パルス信号に同期したセット信号のフリップフロ
ップ回路1への出力を停止してフリップフロップ回路1
をリセット状態“H”に保つ。
First, the case where the relay input signal to any correlation determination unit 3 from the second stage onward is "H", that is, the case where the relay output signal from the previous stage is "H" will be described. In this case, regardless of the polarity ("L" or "H") of the current stage's correlation signal input to the correlation determination unit 3 and the state output of the flip-flop circuit 1, "H" is output as the relay output signal, and In the correlation determination unit 3, output of the set signal synchronized with the test pulse signal by the combinational circuit 2 to the flip-flop circuit 1 is stopped, and the output of the set signal to the flip-flop circuit 1 is stopped.
is maintained in the reset state “H”.

【0008】次に、相関判定ユニット3への中継入力信
号、即ち前段の中継出力信号が“L”の場合について説
明する。自段の相関信号入力が“H”のときには、フリ
ップフロップ回路1の状態出力に従って次の二つの動作
のいずれか一方が実行される。即ち、(動作■)フリッ
プフロップ回路1の状態出力が“H”即ちリセット状態
であれば、中継出力信号に“H”を出力し、検査パルス
信号に同期したセット信号がフリップフロップ回路1に
入力されて該フリップフロップ回路1がセット状態“L
”になるので中継出力信号には“L”が出力される。(
動作■)フリップフロップ回路1の状態出力が“L”即
ちセット状態であれば、中継出力信号に“L”を出力す
る。一方、自段の相関信号入力が“L”のときには、組
合せ回路2に入力されるフリップフロップ回路1の状態
出力の極性にかかわらず中継出力信号に“L”を出力す
る。
Next, the case where the relay input signal to the correlation determination unit 3, ie, the relay output signal of the previous stage, is "L" will be explained. When the correlation signal input to the current stage is "H", one of the following two operations is performed according to the status output of the flip-flop circuit 1. That is, (Operation ■) If the state output of the flip-flop circuit 1 is "H", that is, in the reset state, "H" is output as the relay output signal, and a set signal synchronized with the test pulse signal is input to the flip-flop circuit 1. and the flip-flop circuit 1 is in the set state “L”.
”, so “L” is output as the relay output signal. (
Operation (2) If the status output of the flip-flop circuit 1 is "L", that is, in the set state, "L" is output as the relay output signal. On the other hand, when the correlation signal input to the current stage is "L", "L" is output as the relay output signal regardless of the polarity of the state output of the flip-flop circuit 1 input to the combinational circuit 2.

【0009】図4は図2に示した相関判定ユニット3の
さらに詳しい実施例を示す回路例図である。図中、41
〜43はNANDゲートであり、44,45はインバー
タ、46はDタイプ・フリップフロップである。図にお
いて、第1のNANDゲート41の一方の入力にはDタ
イプ・フリップフロップ46から帰還された信号が入力
され、他方の入力に相関信号が入力される。この第1の
NANDゲート41の出力は第2のNANDゲート42
の一方の入力及び第1のインバータ44に出力される。 第2のNANDゲート42は第1のNANDゲート41
からの信号を一方の入力とし、他方の入力には中継入力
信号を第2のインバータ45で反転した反転出力が入力
されて中継出力信号を出力する。第3のNANDゲート
43には第1のインバータ44の出力、第2のインバー
タ45の出力及びクロック(検査パルス信号)が入力さ
れ、Dタイプ・フリップフロップ46へのクロック出力
を制御する。このような構成によって、図2に示したフ
リップフロップ1と組合せ回路2からなる相関判定ユニ
ット3の動作が実施されることは明らかである。
FIG. 4 is a circuit diagram showing a more detailed embodiment of the correlation determination unit 3 shown in FIG. 2. In FIG. In the figure, 41
43 is a NAND gate, 44 and 45 are inverters, and 46 is a D type flip-flop. In the figure, a signal fed back from a D-type flip-flop 46 is input to one input of a first NAND gate 41, and a correlation signal is input to the other input. The output of this first NAND gate 41 is connected to the second NAND gate 42.
and is output to one input of the first inverter 44 . The second NAND gate 42 is the first NAND gate 41
The signal from the inverter 45 is input to one side, and the inverted output obtained by inverting the relay input signal by the second inverter 45 is input to the other input, and a relay output signal is output. The output of the first inverter 44, the output of the second inverter 45, and a clock (test pulse signal) are input to the third NAND gate 43, and controls the clock output to the D-type flip-flop 46. It is clear that the operation of the correlation determining unit 3 made up of the flip-flop 1 and the combinational circuit 2 shown in FIG. 2 is carried out by such a configuration.

【0010】上記一連の動作は、リセット時及びその後
に入力される検査パルス信号の入力毎に行われる。すな
わち、まず最終段のユニットの中継出力信号は、二系列
データの各ビットが全て一致(“L”)している場合は
明らかに“L”を出力する。次に、不一致ビットがあっ
た場合には当該の不一致ビットに対応する相関信号が“
H”となるため、図1の構成において、Nビット相関器
4から不一致を示す相関信号“H”が入力される相関判
定ユニットのうち最左端のユニットから右側の全ての中
継出力信号が“H”となる。
The above series of operations is performed at the time of reset and every time a test pulse signal is input thereafter. That is, first, the relay output signal of the final stage unit clearly outputs "L" when all the bits of the two series data match ("L"). Next, if there is a mismatched bit, the correlation signal corresponding to the mismatched bit is “
Therefore, in the configuration of FIG. 1, all the relay output signals on the right side from the leftmost unit to which the correlation signal "H" indicating a mismatch is input from the N-bit correlator 4 are "H". ” becomes.

【0011】以下、理解を助けるため、N=6(6ビッ
ト相関)の場合の相関判定動作例について図3を用いて
説明する。図3は本発明による各相関判定ユニット31
〜36の出力信号の変化を示す説明図である。図におい
て、31〜36は6段縦続接続された相関判定ユニット
であり、初期状態(リセット)及びリセット後の検査パ
ルス信号の1回目入力,2回目入力の各時点における中
継出力信号の状態を当該の相関判定ユニットの下部にそ
れぞれ示している。この例では、ユニット32と35に
は不一致を示す“H”の相関信号が入力されており、他
のユニットには一致を示す“L”の相関信号が入力され
ている場合を示す。まず初期状態(リセット)では、初
段のユニット31の中継出力信号は常に“L”であるか
ら、相関器4から相関信号“H”が入力されるユニット
のうち最左端のユニット32以降右側は最終段のユニッ
ト36に至るまでその中継出力信号は“H”になる。次
にリセット後の1回目の検査パルス信号が全ての相関判
定ユニット31〜36に入力されると、ユニット32で
は、前段からの中継入力信号が“L”であり、かつ、自
段の入力相関信号が“H”であるとともに、フリップフ
ロップ回路1の状態出力が“H”なのでフリップフロッ
プ回路1へセット信号を与えてフリップフロップ回路1
をセット状態(“L”)にする。この結果、前段からの
中継入力信号が“L”,自段の入力相関信号が“H”,
フリップフロップ回路1からの状態出力が“L”となる
ので、中継出力信号は“L”に反転する。しかし、ユニ
ット35では、前段からの中継入力信号が“H”である
ため中継出力信号は反転しないので最終段のユニット3
6の出力は“H”のままである。次に2回目の検査パル
ス信号が全ての相関判定ユニット31〜36に入力され
ると、ユニット35の中継出力信号は1回目入力のとき
のユニット32の場合と同様に出力が“L”に反転する
ため最終段のユニット36からは“L”が出力される。 このように、リセット後の検査パルス信号が入力される
毎に相関信号入力が“H”の状態の相関判定ユニットの
うち、中継出力信号が“H”から“L”に反転するユニ
ットが最終段側にシフトしていき、結局、不一致ビット
数(この場合は2)と同数の検査パルス信号(2回目)
が入力したときに初めて最終段が“L”を出力する状態
に至る。従って、相関判定における許容誤りビット数を
mとすると、m回目の検査パルス信号の入力により最終
段のユニットから二系列データ間の相関判定結果を示す
中継出力信号が得られる。以上から、本発明による構成
では、相関判定における許容誤りビット数をmとすると
、相関判定に要する検査パルス信号の速度(クロック周
波数)はおよそ従来のm/N倍でよく、一般に相関信号
長Nビットに対し許容誤りビット数mは小さく設定され
ることから、本発明の構成のほうが従来に比べ低い周波
数の動作クロックで動作を行うことが明らかである。
In order to facilitate understanding, an example of correlation determination operation in the case of N=6 (6-bit correlation) will be described below with reference to FIG. FIG. 3 shows each correlation determination unit 31 according to the present invention.
It is an explanatory diagram showing a change of the output signal of -36. In the figure, reference numerals 31 to 36 are correlation determination units connected in cascade in six stages, which determine the state of the relay output signal at each time point of the initial state (reset) and the first input and second input of the test pulse signal after reset. are shown at the bottom of the correlation determination unit. In this example, a correlation signal of "H" indicating a mismatch is input to units 32 and 35, and a correlation signal of "L" indicating a match is input to the other units. First, in the initial state (reset), the relay output signal of the first stage unit 31 is always "L", so among the units to which the correlation signal "H" is input from the correlator 4, the leftmost unit 32 and the right side are the final The relay output signal becomes "H" until it reaches the stage unit 36. Next, when the first test pulse signal after reset is input to all the correlation determination units 31 to 36, the unit 32 determines that the relay input signal from the previous stage is "L" and that the input correlation of the current stage is "L". Since the signal is "H" and the state output of the flip-flop circuit 1 is "H", a set signal is given to the flip-flop circuit 1 and the flip-flop circuit 1 is
is set (“L”). As a result, the relay input signal from the previous stage is "L", the input correlation signal of the current stage is "H",
Since the state output from the flip-flop circuit 1 becomes "L", the relay output signal is inverted to "L". However, in unit 35, since the relay input signal from the previous stage is "H", the relay output signal is not inverted.
The output of No. 6 remains at "H". Next, when the second test pulse signal is input to all the correlation determination units 31 to 36, the output of the relay output signal of the unit 35 is inverted to "L" as in the case of the unit 32 at the time of the first input. Therefore, "L" is output from the final stage unit 36. In this way, among the correlation determination units whose correlation signal input is in the "H" state every time the test pulse signal after reset is input, the unit whose relay output signal is inverted from "H" to "L" is the final stage. In the end, the number of test pulse signals (second time) is the same as the number of mismatched bits (in this case, 2).
The final stage reaches a state where it outputs "L" for the first time when it is input. Therefore, if the allowable number of error bits in correlation determination is m, then by inputting the m-th test pulse signal, a relay output signal indicating the result of correlation determination between two series of data is obtained from the final stage unit. From the above, in the configuration according to the present invention, if the allowable number of error bits in correlation determination is m, the speed (clock frequency) of the test pulse signal required for correlation determination may be approximately m/N times that of the conventional method, and generally the correlation signal length is N. Since the number m of allowable error bits is set to be small with respect to bits, it is clear that the configuration of the present invention operates with a lower frequency operating clock than the conventional configuration.

【0012】0012

【発明の効果】以上詳細に説明したように、本発明を実
施することにより、二つのNビットのデータ系列間の相
関関係を従来例に比較して低い周波数の動作クロックで
判定することができるため、高速動作に追従することが
でき、かつ、低消費電力化を図ることができる。また、
従来の構成に必要であった並直列シフトレジスタやカウ
ンタが不要となり、回路規模を小さくできるので、実用
上大きな効果がある。
[Effects of the Invention] As explained in detail above, by implementing the present invention, it is possible to determine the correlation between two N-bit data series using an operating clock with a lower frequency than in the conventional example. Therefore, high-speed operation can be followed, and power consumption can be reduced. Also,
This eliminates the need for parallel-serial shift registers and counters that were required in the conventional configuration, and the circuit scale can be reduced, which has a great practical effect.

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

【図1】本発明の実施例を示すブロック図FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】本発
明の主要部の詳細を示すブロック図
[Fig. 2] Block diagram showing details of main parts of the present invention

【図3】本発明によ
る各相関判定ユニットの出力信号の変化を示す説明図
FIG. 3 is an explanatory diagram showing changes in the output signal of each correlation determination unit according to the present invention.

【図4】本発明の主要部の実施回路例図[Fig. 4] An example circuit diagram of the main part of the present invention

【図5】従来の
相関判定回路の一構成例図
[Fig. 5] Diagram of a configuration example of a conventional correlation determination circuit

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

1  フリップフロップ回路 2  組合せ回路 3,31〜36  相関判定ユニット 4  Nビット相関器 41〜43  NANDゲート 44,45  インバータ 46  Dタイプ・フリップフロップ 51  Nビット相関器 52  並直列変換シフトレジスタ 53  カウンタ 54  比較器 1 Flip-flop circuit 2 Combinational circuit 3, 31-36 Correlation determination unit 4 N-bit correlator 41-43 NAND gate 44, 45 Inverter 46 D type flip-flop 51 N-bit correlator 52 Parallel-serial conversion shift register 53 Counter 54 Comparator

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  二つのNビット(Nは自然数)のデー
タ系列の相関関係を判定しその判定結果を得るために、
前記二つのデータ系列が入力される毎に対応する各ビッ
トの一致“L”または不一致“H”を示すN個の相関信
号が並列に出力されるNビット相関器と、該Nビット相
関器からの前記N個の相関信号がそれぞれ入力され前段
からの中継入力信号との関係を判定して次段へ中継出力
信号を出力する縦続接続されたN個の相関判定ユニット
とを備え、前記相関判定ユニットのそれぞれは、セット
信号または前記データ系列が入力される毎に与えられる
リセット信号によって状態出力“L”(セット)または
“H”(リセット)を出力するフリップフロップ回路と
、前段からの前記中継入力信号と前記相関信号と前記フ
リップフロップ回路の状態出力とが組み合わされ所定の
検査パルス信号に同期して次段の相関判定ユニットに与
える前記中継出力信号の出力と前記フリップフロップ回
路に与える前記セット信号の出力を制御する組合せ回路
とからなり、初段の前記組合せ回路の中継入力信号は常
に“L”に設定され、前記リセット信号によって前記N
個のフリップフロップ回路がすべてリセット状態“H”
に初期設定され、前段の相関判定ユニットからの中継入
力信号が“H”の場合には、常に前記相関信号の極性及
び前記フリップフロップ回路からの状態出力の極性の如
何にかかわらず次段への中継出力信号として“H”を出
力するとともに前記フリップフロップ回路へのセット信
号を停止し、前段の相関判定ユニットからの中継入力信
号が“L”の場合には、リセット時には前記相関信号が
“H”あるいは“L”のときは次段への中継出力信号と
してそれぞれ“H”あるいは“L”を出力し、リセット
後に前記検査パルス信号が前記組合せ回路に与えられる
毎に、前記相関信号が“H”のときは、前記フリップフ
ロップ回路の状態出力がリセット状態“H”であれば前
記検査パルスに同期したセット信号を前記フリップフロ
ップ回路に与えて該フリップフロップ回路をセット状態
“L”にすることにより中継出力信号に“L”を出力し
、前記フリップフロップ回路の状態出力がセット状態“
L”であれば次段への中継出力信号として“L”を出力
し、前記相関信号が“L”のときは前記フリップフロッ
プ回路からの状態出力の極性の如何ににかかわらず次段
への中継出力信号として“L”を出力するように制御さ
れ、最終段の相関判定ユニットからの中継出力信号が前
記求める相関判定結果となるように構成したビット相関
判定回路。
[Claim 1] In order to determine the correlation between two N-bit (N is a natural number) data series and obtain the determination result,
an N-bit correlator that outputs N correlation signals in parallel each time the two data sequences are input, indicating a match "L" or a mismatch "H" of each corresponding bit; and the N-bit correlator. and N cascade-connected correlation determination units each receiving the N correlation signals, determining the relationship with the relay input signal from the previous stage, and outputting the relay output signal to the next stage; Each of the units includes a flip-flop circuit that outputs a status output "L" (set) or "H" (reset) in response to a reset signal given each time a set signal or the data series is input, and a flip-flop circuit that outputs a status output "L" (set) or "H" (reset), and The input signal, the correlation signal, and the state output of the flip-flop circuit are combined, and the output of the relay output signal is provided to the next stage correlation determination unit in synchronization with a predetermined test pulse signal, and the set is provided to the flip-flop circuit. The relay input signal of the combinational circuit in the first stage is always set to "L", and the reset signal causes the N
All flip-flop circuits are in reset state “H”
When the relay input signal from the correlation determination unit in the previous stage is "H", the relay input signal from the correlation determination unit in the previous stage is always set to "H", regardless of the polarity of the correlation signal and the polarity of the status output from the flip-flop circuit. It outputs "H" as a relay output signal and stops the set signal to the flip-flop circuit, and when the relay input signal from the correlation determination unit in the previous stage is "L", the correlation signal becomes "H" at the time of reset. ” or “L”, outputs “H” or “L” as a relay output signal to the next stage, and every time the test pulse signal is given to the combinational circuit after reset, the correlation signal becomes “H”. ”, if the state output of the flip-flop circuit is in the reset state “H”, a set signal synchronized with the test pulse is given to the flip-flop circuit to bring the flip-flop circuit into the set state “L”. outputs "L" as the relay output signal, and the state output of the flip-flop circuit becomes set state "
If the correlation signal is "L", it outputs "L" as a relay output signal to the next stage, and when the correlation signal is "L", it is output to the next stage regardless of the polarity of the status output from the flip-flop circuit. A bit correlation determination circuit configured to be controlled to output "L" as a relay output signal and configured such that the relay output signal from the correlation determination unit at the final stage becomes the desired correlation determination result.
JP3106604A 1991-04-12 1991-04-12 Bit correlation judgment circuit Expired - Lifetime JP2529902B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3106604A JP2529902B2 (en) 1991-04-12 1991-04-12 Bit correlation judgment circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3106604A JP2529902B2 (en) 1991-04-12 1991-04-12 Bit correlation judgment circuit

Publications (2)

Publication Number Publication Date
JPH04314230A true JPH04314230A (en) 1992-11-05
JP2529902B2 JP2529902B2 (en) 1996-09-04

Family

ID=14437733

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3106604A Expired - Lifetime JP2529902B2 (en) 1991-04-12 1991-04-12 Bit correlation judgment circuit

Country Status (1)

Country Link
JP (1) JP2529902B2 (en)

Also Published As

Publication number Publication date
JP2529902B2 (en) 1996-09-04

Similar Documents

Publication Publication Date Title
US3992635A (en) N scale counter
CA1310711C (en) Two-stage synchronizer
JPH06311127A (en) Digital data arbiter
JPH04314230A (en) Bit correlation deciding circuit
US4741005A (en) Counter circuit having flip-flops for synchronizing carry signals between stages
US6091794A (en) Fast synchronous counter
JPH11509658A (en) Extended chip select reset device and method
JP3338294B2 (en) Counter circuit
JPH04117816A (en) Variable frequency divider
JPH0394543A (en) Communication controller
JP2589884B2 (en) Bit search circuit
SU1162044A1 (en) Number-to-pulse rate converter
SU790218A1 (en) Device for synchronizing timing train signals
JPH039661B2 (en)
JPH0683066B2 (en) Counter circuit
SU1741271A2 (en) Code converter
JPS62213337A (en) Frame synchronizing protection system
SU1615769A1 (en) Device for receiving data
JPH06112812A (en) Binary counter
JPH0316054B2 (en)
KR19980029171U (en) Counter circuit
JPH0628151A (en) Parallel latch circuit for serial data
JPH05175829A (en) Data input / output method and device
JPH05122198A (en) Error rate alarm circuit with hysteresis
JPH04127712A (en) Specified pattern counting circuit