JPS61201516A - Pattern detection circuit - Google Patents

Pattern detection circuit

Info

Publication number
JPS61201516A
JPS61201516A JP60042948A JP4294885A JPS61201516A JP S61201516 A JPS61201516 A JP S61201516A JP 60042948 A JP60042948 A JP 60042948A JP 4294885 A JP4294885 A JP 4294885A JP S61201516 A JPS61201516 A JP S61201516A
Authority
JP
Japan
Prior art keywords
signal
input signal
pattern
input
clock
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.)
Pending
Application number
JP60042948A
Other languages
Japanese (ja)
Inventor
Tsutomu Sato
務 佐藤
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP60042948A priority Critical patent/JPS61201516A/en
Publication of JPS61201516A publication Critical patent/JPS61201516A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PURPOSE:To obtain a small sized pattern detecting circuit with very simple control by inputting an input signal, its clock information and number of coincidence or dissidence of patterns so far as memory address signals for pattern detection of a digital signal. CONSTITUTION:Let a compared pattern be '1101(2)', when an input signal 1 is '0000(2)', '1 or 3' is outputted as a count data 5. A count data 6 is latched at the trailing of a clock signal 2 the same as the clock data 6 and becomes an address signal 11. When the 1st input signal 1 is inputted, a signal representing 'number of coincidence or dissidence between the 1st input signal 1 and the 1st comparison pattern + number of coincidence or dissidence between the 0-th input signal 1 and the 0-th comparison pattern' is outputted as the count data 5. When the input signals 1 up to the i-th order are inputted similar ly, a signal representing 'number of coincidence or dissidence between the i-th input input signal 1 and the i-th comparison pattern +......+ 0-th number of coincidence or dissidence between the 0-th input signal 1 and the 0-th compari son pattern' is outputted.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は、ディジタルな入力信号と任意の比較パターン
との一致又は不一致数を相関検出するパターン検出回路
に関する。
DETAILED DESCRIPTION OF THE INVENTION <Field of Industrial Application> The present invention relates to a pattern detection circuit that detects a correlation between a digital input signal and an arbitrary comparison pattern to determine the number of matches or mismatches.

〈従来の技術〉 従来、この種のパターン検出回路は、入力信号と比較パ
ターンとの比較を行う比較回路と、比較回路から出力さ
れる一致又は不一致数を次々とカウントしていく計数回
路を基本として構成されていた。
<Prior art> Conventionally, this type of pattern detection circuit has basically consisted of a comparison circuit that compares an input signal with a comparison pattern, and a counting circuit that sequentially counts the number of matches or mismatches output from the comparison circuit. It was configured as.

〈解決す、べき問題点〉 しかしながら、比較回路は、lクロック目の入力信号と
1クロツク目の比較パターンの比較、2クロツク目の入
力信号と2クロツク目の比較パターンの比較を行うため
、入力信号に同期して比較パターンを動かすための制御
回路が必要であシ、また計数回路としてカウンターを用
いると比較回路から出力される一致又は不一致数だけ力
、ランターを進めるための制御回路が必要となるなど、
回路規模が大きくなるという問題点があった。
<Problem to be solved> However, the comparator circuit compares the input signal of the lth clock with the comparison pattern of the first clock, and compares the input signal of the second clock with the comparison pattern of the second clock. A control circuit is required to move the comparison pattern in synchronization with the signal, and if a counter is used as a counting circuit, a control circuit is required to advance the lanter by the number of matches or mismatches output from the comparison circuit. Naru etc.
There was a problem that the circuit scale became large.

本発明は、上記問題点を解決するものであり、制御が簡
単で、小規模に構成しうるパターン検出回路を提供する
本のである。
The present invention solves the above problems and provides a pattern detection circuit that is easy to control and can be configured on a small scale.

く問題点の解決手段〉 上記問題点を解決するための、本発明に係るパターン検
出回路の構成は、ディジタルな入力信号と任意の比較パ
ターンとの一致又は不一致数を相関検出するパターン検
出回路において、入力信号とそのクロック情報及び比較
パターンとの一致又は不一致数であるメモリの出力をメ
モリのアドレス信号として入力することによシ、入力信
号と比較パターンとの比較及び比較結果の一致又は、不
一致数のカウントをメモリを用いて実行するものであり
、0,1.2・・・1番目までのクロックの入力信号の
起こシ得る全てのパターンと比較パターンとの一致又は
不一致数を記憶したメモリを有し、何番目のクロックの
入力信号が入力されるのかそのクロック情報と入力信号
、及びそれまでのクロックの入力信号と比較パターンと
の一致又は不一致数であるメモリの出力をメモリのアド
レス信号として入力する機能を有し、入力信号と比較パ
ターンとの比較及び比較結果の一致又は不一致数のカウ
ントをメモリで用いその制御を入力信号に同期したクロ
ック信号のみで行う機能を有しているものである。
Means for Solving the Problems> In order to solve the above problems, the configuration of the pattern detection circuit according to the present invention is a pattern detection circuit that detects the number of matches or mismatches between a digital input signal and an arbitrary comparison pattern by correlation. By inputting the output of the memory, which is the number of matches or mismatches between the input signal and its clock information and the comparison pattern, as the address signal of the memory, the input signal and the comparison pattern can be compared and the match or mismatch of the comparison results can be determined. The memory is used to count numbers, and stores the number of matches or mismatches between all possible patterns of clock input signals up to 0, 1, 2...1 and the comparison pattern. The clock information and the input signal, which clock input signal is inputted, and the memory output which is the number of matches or mismatches between the previous clock input signal and the comparison pattern are used as the memory address signal. It has the function of comparing the input signal with the comparison pattern and counting the number of matches or mismatches of the comparison results in memory, and the control is performed only by a clock signal synchronized with the input signal. It is.

〈実施例〉 次に、本発明の実施例を図面に基づいて説明する。<Example> Next, embodiments of the present invention will be described based on the drawings.

第1図は、本発明に係るパターン検出回路の一実施例を
示す回路図である。
FIG. 1 is a circuit diagram showing an embodiment of a pattern detection circuit according to the present invention.

第2図は、同実施例における各信号波形を示すタイミン
グチャート図である。
FIG. 2 is a timing chart showing each signal waveform in the same embodiment.

第1図中、7.8はランチ回路であシ、9はメモリであ
る。入力信号1、計数データ5及びクロックデータ6は
任意ピットのバ2レル信号である。入力信号1はランチ
回路7を介してアドレス信号10となり、メモリ9へ入
力される。
In FIG. 1, 7.8 is a launch circuit, and 9 is a memory. Input signal 1, count data 5, and clock data 6 are arbitrary pit barrel two-barrel signals. Input signal 1 becomes address signal 10 via launch circuit 7 and is input to memory 9.

メモリ9の出力データは、判定データ4、計数データ5
及びクロックデータ6から構成されており、計数データ
5とクロックデータ6はラッチ回路8を介してアドレス
信号ti 、 12となり、メモリ9に入力される。こ
のようにメモリ9のアドレス(番地)はアドレス信号1
0 、11 、12の3つの値によって構成される。メ
モリ9には、次に示すクロックデータ6、計数データ5
、判定データ4が記憶されている。
The output data of the memory 9 includes judgment data 4 and counting data 5.
Count data 5 and clock data 6 are passed through a latch circuit 8 to become an address signal ti, 12, which is input to a memory 9. In this way, the address of memory 9 is the address signal 1.
It is composed of three values: 0, 11, and 12. The memory 9 contains the following clock data 6 and count data 5.
, determination data 4 are stored.

アドレスがi番地のクロックデータ=i番地のアドレス
信号12の値+11 アドレスがi番地の計数データ=i番地のアドレス信号
10の値とj番目の比較パターンとの一致又は不一致数
+i番地のアドレス信号11の値、(ただしj=i番地
のアドレス信号臣の値)アドレスがi番地の判定データ
=i番地の計数データが設定したしきい値より大きけれ
ば論理「H」(又は「L」)入力信号1、クロック信号
2及びフレーム信号3のタイミングを第2図に示す。ラ
ッチ回路8は、フレーム信号3によってリセットされ、
アドレス信号ii 、 12はrOJとなシ初期化され
る。最初(0番目)# ると、クロックデータ6は[0(=アドレス信号12の
値)+1=IJが出力され、クロック信号2の立下シで
ラッチされて次(1番目)の入力信号lが入力されると
きのメモリ9のアドレス信号臣となる。1番目の入力信
号lが入力されると、クロックデータ6は「1+1=2
Jが出力され、クロック信号2の立下υでアドレス信号
12は「2」となる。このようにアドレス信号12は、
入力信号lが何番目のクロックの信号なのかを示すクロ
ック情報を示している。計数データ5は0番目の入力信
号1が入力されると、メモリ9に゛記憶されている「0
番目の入力信号1(=アドレス信号10の値)と0番目
の比較パターンとの一致又は不一致数+0」が出力され
る。具体例として、比較パターンを「1101 (21
jとすれば、入力信号1がr 0000 (21Jのと
き、計数データ5は「1又は3」が出力される。計数デ
ータ6はクロックデータ6と同様に、りaツク信号2の
立下シで2ツチされ、アドレス信号11となる。1番目
の入力信号lが入力されると、計数データ5は「1番目
の入力信号lと1番目の比較パターンとの一致又は不一
致数十〇番目の入力信号1と0番目の比較パターンとの
一致又は不一致数」が出力される。同様に1番目までの
入力信号1が入力されると、「1番目の入力信号lと1
番目の比較パターンとの一致又は不一致数十・・・十〇
番目の入力信号lと0番目の比較パターンとの一致又は
不一致数」が出力される。
Clock data at address i = value of address signal 12 at address i + 11 count data at address i = number of matches or mismatches between the value of address signal 10 at address i and the j-th comparison pattern + address signal at address i 11 value, (where j = value of the address signal of address i) If the address is larger than the judgment data of address i = the count data of address i is the set threshold, input logic "H" (or "L") The timings of signal 1, clock signal 2 and frame signal 3 are shown in FIG. The latch circuit 8 is reset by the frame signal 3,
Address signal ii, 12 is initialized to rOJ. First (0th) This becomes the address signal of the memory 9 when input. When the first input signal l is input, the clock data 6 becomes "1+1=2
J is output, and the address signal 12 becomes "2" at the falling edge υ of the clock signal 2. In this way, the address signal 12 is
It shows clock information indicating which clock signal the input signal l corresponds to. When the 0th input signal 1 is input, the count data 5 becomes "0" stored in the memory 9.
The number of matches or mismatches between the 1st input signal 1 (=the value of the address signal 10) and the 0th comparison pattern+0 is output. As a specific example, the comparison pattern is “1101 (21
j, then when the input signal 1 is r 0000 (21J), the count data 5 is output as "1 or 3".The count data 6, like the clock data 6, corresponds to the falling edge of the clock signal 2. is doubled and becomes the address signal 11. When the first input signal l is input, the count data 5 is "the match or mismatch between the first input signal l and the first comparison pattern". "The number of matches or mismatches between input signal 1 and the 0th comparison pattern" is output.Similarly, when input signals 1 to 1 are input, "the number of matches or mismatches between input signal 1 and 0th comparison pattern" is output.
The number of matches or mismatches with the 10th comparison pattern . . . the number of matches or mismatches between the 10th input signal l and the 0th comparison pattern is output.

このように、クロックに同期した入力信号lが入力され
ると、入力信号と同じ長さの比較パターンとの一致又は
不一致数、一致又は不一致数としきい値との大小関係を
表わすアドレス信号11と判定信号L3が得られる。
In this way, when an input signal l synchronized with a clock is input, an address signal 11 is generated which indicates the number of matches or mismatches with the comparison pattern of the same length as the input signal, and the magnitude relationship between the number of matches or mismatches and the threshold value. A determination signal L3 is obtained.

〈発明の効果〉 以上説明したように、本発明に係るパターン検出回路に
よれば、ディジタル信号のパターン検出のために入力信
号とそのクロック情報及びそれまでのパターンの一致又
は不一致数をメモリのアドレス信号とし入力することに
よシ、入力信号と比較パターンとの比較及び比較結果の
一致又は不一致数のカウントをメモリを用いて行うこと
ができ、その制御が非常に簡単で小規模なパターン検出
回路が得られるという効果を奏する。
<Effects of the Invention> As explained above, according to the pattern detection circuit according to the present invention, in order to detect a pattern of a digital signal, the input signal, its clock information, and the number of coincidences or mismatches of patterns up to that point are stored in memory addresses. By inputting it as a signal, it is possible to compare the input signal with a comparison pattern and count the number of matches or mismatches in the comparison results using memory, which is very easy to control and is a small-scale pattern detection circuit. This has the effect that the following can be obtained.

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

第1図は、本発明に係るパターン検出回路の一実施例を
示す回路図である。 第2図は、同実施例における各信号の波形を示すタイム
チャート図である。 1・−・入力信号    2・・・クロック情報3・・
・フレーム信号  4・・・判定データ5・・・計数デ
ータ   6・−・クロックデータ7・8・・・ラッチ
回路 9・・・メモリ10・11・臣・・・アドレス信
号 13・・・判定信号
FIG. 1 is a circuit diagram showing an embodiment of a pattern detection circuit according to the present invention. FIG. 2 is a time chart showing the waveforms of each signal in the same embodiment. 1... Input signal 2... Clock information 3...
・Frame signal 4... Judgment data 5... Counting data 6... Clock data 7, 8... Latch circuit 9... Memory 10, 11, Minister... Address signal 13... Judgment signal

Claims (1)

【特許請求の範囲】[Claims] ディジタルな入力信号と任意の比較パターンとの一致又
は不一致数を相関検出するパターン検出回路において、
前記入力信号とそのクロック情報及び前記比較パターン
との一致又は不一致数であるメモリの出力をメモリのア
ドレス信号として入力することにより、前記入力信号と
前記比較パターンとの比較及び比較結果の一致又は不一
致数のカウントを前記メモリを用いて実行することを特
徴とするパターン検出回路。
In a pattern detection circuit that correlates and detects the number of matches or mismatches between a digital input signal and an arbitrary comparison pattern,
By inputting the output of the memory, which is the number of matches or mismatches between the input signal, its clock information, and the comparison pattern, as a memory address signal, the input signal and the comparison pattern are compared, and the comparison results match or mismatch. A pattern detection circuit characterized in that a pattern detection circuit counts numbers using the memory.
JP60042948A 1985-03-05 1985-03-05 Pattern detection circuit Pending JPS61201516A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60042948A JPS61201516A (en) 1985-03-05 1985-03-05 Pattern detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60042948A JPS61201516A (en) 1985-03-05 1985-03-05 Pattern detection circuit

Publications (1)

Publication Number Publication Date
JPS61201516A true JPS61201516A (en) 1986-09-06

Family

ID=12650237

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60042948A Pending JPS61201516A (en) 1985-03-05 1985-03-05 Pattern detection circuit

Country Status (1)

Country Link
JP (1) JPS61201516A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07385U (en) * 1993-06-04 1995-01-06 新壇 蔡 Building emergency evacuation equipment
JP2003273918A (en) * 2002-03-12 2003-09-26 Nippon Telegr & Teleph Corp <Ntt> Method for filtering packet
JP2004015592A (en) * 2002-06-10 2004-01-15 Internatl Business Mach Corp <Ibm> Mac address pointer structure and method for rearranging mac address

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07385U (en) * 1993-06-04 1995-01-06 新壇 蔡 Building emergency evacuation equipment
JP2003273918A (en) * 2002-03-12 2003-09-26 Nippon Telegr & Teleph Corp <Ntt> Method for filtering packet
JP2004015592A (en) * 2002-06-10 2004-01-15 Internatl Business Mach Corp <Ibm> Mac address pointer structure and method for rearranging mac address

Similar Documents

Publication Publication Date Title
FR2716277B1 (en) Oversampling logic analyzer.
JPS61201516A (en) Pattern detection circuit
JPS6037961U (en) Digital binary group calling circuit device
JPS54145599A (en) Banknote authenticity judging system
JP3773028B2 (en) Serial pattern trigger circuit
JP2620072B2 (en) Logic circuit test equipment
JPH0514458B2 (en)
JPS6332303B2 (en)
SU1629969A1 (en) Pulse shaper
SU1591020A1 (en) Device for monitoring pulse sequences
JPS54162421A (en) Information detection method
JPS56111352A (en) Word-synchronous detection system
SU1608657A1 (en) Code to probability converter
JPS61168175A (en) Disk controller
SU790234A1 (en) Square-shape pulse reproducing device
SU1651217A1 (en) Device for recording monopulse signal instantaneous valves
CA2110603A1 (en) Horizontal line counter insensitive to large phase shifts of video
SU1367016A1 (en) Signature analyser
SU633064A1 (en) Apparatus for reproducing phase-modulated signal from magnetic record carrier
JPS5775046A (en) Phose absorbing circuit
SU1483448A1 (en) Extremum locator
SU1291989A1 (en) Interface for linking digital computer with magnetic tape recorder
JPH07105183A (en) Correlation detector
SU1552378A1 (en) Bipolar code-to-single polar code converter
SU853635A1 (en) Device for forming synchronization pulses in data reading