JPH01123553A - Pattern detecting circuit - Google Patents

Pattern detecting circuit

Info

Publication number
JPH01123553A
JPH01123553A JP28230587A JP28230587A JPH01123553A JP H01123553 A JPH01123553 A JP H01123553A JP 28230587 A JP28230587 A JP 28230587A JP 28230587 A JP28230587 A JP 28230587A JP H01123553 A JPH01123553 A JP H01123553A
Authority
JP
Japan
Prior art keywords
circuit
pattern
pattern detection
detection signal
timing
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
JP28230587A
Other languages
Japanese (ja)
Other versions
JPH0695696B2 (en
Inventor
Masahiko Shoji
荘司 雅彦
Masahiro Ueno
雅裕 上野
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
Fujitsu Kansai Communication Systems Ltd
Original Assignee
Fujitsu Ltd
Fujitsu Kansai Communication Systems 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, Fujitsu Kansai Communication Systems Ltd filed Critical Fujitsu Ltd
Priority to JP28230587A priority Critical patent/JPH0695696B2/en
Publication of JPH01123553A publication Critical patent/JPH01123553A/en
Publication of JPH0695696B2 publication Critical patent/JPH0695696B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

PURPOSE:To simplify a circuit by responding to a special pattern identifying bit in a latch timing of a special pattern detected by a pattern detecting signal generating circuit and generating a timing signal to latch a detected pattern detecting signal to a pattern detecting signal accumulating circuit. CONSTITUTION:The detection of the special pattern of input serial data converted to parallel data by a serial parallel converting circuit 10 is executed by a pattern detecting signal generating circuit 12 and a timing signal is generated at the detecting time of a special pattern from a timing signal generating circuit 22. A detecting pattern signal is held at a pattern detecting signal accumulating circuit 14 by the timing signal and supplied for the use. Thus, it is not necessary to execute the counting of a clock for the generation of the timing signal and the circuit can be simplified.

Description

【発明の詳細な説明】 〔概 要〕 シリアルデータの特定パターンのパターン検出信号のた
峠のラッチタイミング信号をラッチタイミングにおける
特定パターン識別ビットから導くパターン検出回路に関
し、 回路の簡素化を目的とし、 シリアルデータをパラレルデータに変換する直並列変換
回路と、変換されたパラレルデータのパターン検出信号
を発生するパターン検出信号発生回路と、検出されたパ
ターン検出信号を蓄積するパターン検出信号蓄積回路と
、前記パターン検出信号発生回路で検出される特定パタ
ーンのラッチタイミングにおける特定パターン識別ビッ
トに応答して、前記検出されたパターン検出信号を前記
パターン検出信号蓄積回路にラッチさせるタイミング信
号を発生するタイミング信号発生回路とから構成した。
[Detailed Description of the Invention] [Summary] Regarding a pattern detection circuit that derives a latch timing signal of a pattern detection signal of a specific pattern of serial data from a specific pattern identification bit in the latch timing, the present invention aims to simplify the circuit. a serial-parallel conversion circuit that converts serial data into parallel data; a pattern detection signal generation circuit that generates a pattern detection signal of the converted parallel data; a pattern detection signal accumulation circuit that accumulates the detected pattern detection signal; a timing signal generation circuit that generates a timing signal that causes the pattern detection signal storage circuit to latch the detected pattern detection signal in response to a specific pattern identification bit at a latch timing of a specific pattern detected by the pattern detection signal generation circuit; It was composed of.

〔産業上の利用分野〕[Industrial application field]

本発明はシリアルデータの特定パターンのパターン検出
信号のためのラッチタイミング信号をラッチタイミング
における特定パターン識別ビットから導くパターン検出
回路に関する。
The present invention relates to a pattern detection circuit that derives a latch timing signal for a pattern detection signal of a specific pattern of serial data from a specific pattern identification bit at latch timing.

ディジタル構内交換機等のディジタル系トランクにおい
ては、そのトランクで受信する制御目的等のためのシリ
アルデータの特定パターンを検出し、これを交換機制御
部に与えるように構成されている。
A digital trunk such as a digital private branch exchange is configured to detect a specific pattern of serial data received on the trunk for control purposes, etc., and provide this to the exchange control unit.

〔従来の技術〕[Conventional technology]

従来における゛上述目的のためのパターン検出回路とし
て第4図に示すものがある。この図において、入力シリ
アルデータは直並列変換回路lOにおいてパラレルデー
タに変換される。そのパラレルデータはパターン検出発
生回路12へ与えられ、そこからパターン検出信号が出
力される。一方、入力シリアルデータはカウンタリセッ
トタイミング発生回路16へ入力され、そこにおいて人
力シリアルデータに含まれる特定パターンの先頭ビット
を検出する。この先頭ビット検出信号(カウンタプリセ
ットタイミング信号)によりパターンカウンタ18は零
にリセットされる。このパターンカウンタ18は入力シ
リアルデータのビット周期のクロックを与えられており
、前記パターン検出信号がパターン検出発生回路12か
ら出力される時刻にラッチタイミング信号を発生する。
A conventional pattern detection circuit for the above-mentioned purpose is shown in FIG. In this figure, input serial data is converted into parallel data in a serial/parallel conversion circuit IO. The parallel data is applied to a pattern detection generation circuit 12, from which a pattern detection signal is output. On the other hand, the input serial data is input to the counter reset timing generation circuit 16, where the first bit of a specific pattern included in the manual serial data is detected. The pattern counter 18 is reset to zero by this leading bit detection signal (counter preset timing signal). This pattern counter 18 is supplied with a clock of the bit period of the input serial data, and generates a latch timing signal at the time when the pattern detection signal is output from the pattern detection generation circuit 12.

このラッチタイミング信号はパターン検出信号蓄積回路
14へ与えられてそこにパターン検出信号を蓄積させる
。パターン検出信号蓄積回路14の内容は交換機のプロ
セッサ(MPU)に取り込まれてその制御に用いられる
This latch timing signal is applied to the pattern detection signal storage circuit 14 to accumulate the pattern detection signal therein. The contents of the pattern detection signal storage circuit 14 are taken into the processor (MPU) of the exchange and used for its control.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述のところから明らかなように、このパターン検出回
路においては、ラッチタイミング信号の発生にカウンタ
リセットタイミング発生回路16及びパターンカウンタ
18を用いている。つまり、パターンカウンタ18は特
定パターンの構成ビットのカウントを特徴とする特定パ
ターン長が長くなると、パターンカウンタ18のハード
ウェア、即ち回路が大きくなる。
As is clear from the above, this pattern detection circuit uses the counter reset timing generation circuit 16 and the pattern counter 18 to generate the latch timing signal. That is, the pattern counter 18 is characterized by counting constituent bits of a specific pattern.As the specific pattern length becomes longer, the hardware of the pattern counter 18, that is, the circuit becomes larger.

本発明は、斯かる問題点に鑑みて創作、されたもので、
回路を簡素化して特定パターンの検出ができるパターン
検出回路を提供することをその目的とする。
The present invention was created in view of such problems.
The object of the present invention is to provide a pattern detection circuit that can detect a specific pattern by simplifying the circuit.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理ブロック図を示す。本発明回路は
直並列変換回路1o、パターン検出信号発生回路12、
パターン検出信号蓄積回路14及びタイミング信号発生
回路22がら成り、そのタイミング信号発生回路22は
、パターン検出信号発生回路12で検出される特定パタ
ーン信号のラッチタイミングにおける特定パターン識別
ビットに応答してパターン検出信号発生回路12がらの
パターン検出信号をパターン検出信号蓄積回路14に保
持させるタイミング信号を発生するものである。
FIG. 1 shows a block diagram of the principle of the present invention. The circuit of the present invention includes a serial-to-parallel conversion circuit 1o, a pattern detection signal generation circuit 12,
It consists of a pattern detection signal storage circuit 14 and a timing signal generation circuit 22, and the timing signal generation circuit 22 detects a pattern in response to a specific pattern identification bit at the latch timing of a specific pattern signal detected by the pattern detection signal generation circuit 12. It generates a timing signal that causes the pattern detection signal storage circuit 14 to hold the pattern detection signal from the signal generation circuit 12.

〔作 用〕[For production]

直並列変換回路10でパラレルデータに変換された入力
シリアルデータの特定パターンの検出がパターン検出信
号発生回路12で為される一方、タイミング信号発生回
路22からは前記特定パターンの検出時刻にタイミング
信号が発生される。
The pattern detection signal generation circuit 12 detects a specific pattern of the input serial data converted into parallel data by the serial/parallel conversion circuit 10, while the timing signal generation circuit 22 generates a timing signal at the detection time of the specific pattern. generated.

このタイミング信号によって、検出パターン信号はパタ
ーン検出信号蓄積回路14に保持され、その利用に供さ
れる。
By this timing signal, the detection pattern signal is held in the pattern detection signal storage circuit 14 and made available for use.

タイミング信号の発生に、クロックのカウントを行なう
必要はないから、回路の簡素化となる。
Since there is no need to count clocks to generate a timing signal, the circuit can be simplified.

〔実施例〕〔Example〕

第2図は本発明の一実施例を示す。この実施例は100
00という特定パターンの検出のための回路を示す。こ
の図において、10+ は反転された入力ビツトシリア
ルデータT’STTを反転された受信クロック−WτK
によりシフトインさせるシフトレジスタであり、これは
第1図の直並列変換回路10に対応するものである。1
2..12□は夫々、4人力ナンドゲート、1人力ナン
ドゲートであり、これらは第1図のパターン検出信号発
生回路12に対応するものである。4人力ナンドゲート
12.はシフトレジスタ10.の出力QB。
FIG. 2 shows an embodiment of the invention. This example is 100
A circuit for detecting a specific pattern 00 is shown. In this figure, 10+ represents the inverted input bit serial data T'STT and the inverted receive clock -WτK
This is a shift register that is shifted in by the serial/parallel converter circuit 10 shown in FIG. 1
2. .. 12□ are a four-manpower NAND gate and a one-manpower NAND gate, respectively, and these correspond to the pattern detection signal generation circuit 12 of FIG. 4-person Nando Gate 12. is shift register 10. output QB.

QC,QD、QEに接続されている。221はラッチ回
路であり、該回路22.のD入力がシフトレジスタ10
.の出力QFに接続され、該シフトレジスタ101の入
力からラッチ回路22.までにおいて第1図のタイミン
グ信号発生回路22の構成例を示している。14+、1
4zはラッチ回路であり、これは第1図のパターン検出
信号蓄積回路14に対応するものである。ラッチ回路1
41のD入力は1入力ナンドゲート12□の出力に接続
され、そのクロック入力はラッチ回路221の出力向に
接続されている。ラッチ回路14□はラッチ回路14+
のリセット用のもので、そのD入力はシフトレジスタ1
0Iの出力QAに接続され、クロック入力はラッチ回路
22.の出力向に接続されている。又、出力ζはラッチ
回路14.のりセット人力Rに接続されている。
Connected to QC, QD, and QE. 221 is a latch circuit, and the circuit 22. D input of shift register 10
.. , and is connected to the output QF of the shift register 101 from the input of the latch circuit 22 . An example of the configuration of the timing signal generation circuit 22 shown in FIG. 1 has been shown up to this point. 14+, 1
4z is a latch circuit, which corresponds to the pattern detection signal storage circuit 14 in FIG. Latch circuit 1
The D input of 41 is connected to the output of a 1-input NAND gate 12□, and its clock input is connected to the output direction of the latch circuit 221. Latch circuit 14□ is latch circuit 14+
This is for resetting the shift register 1, and its D input is for shift register 1.
The clock input is connected to the output QA of the latch circuit 22.0I. connected to the output direction. Further, the output ζ is output from the latch circuit 14. It is connected to the glue set manual R.

このパターン検出回路は次のように動作する。This pattern detection circuit operates as follows.

説明の都合上、今、ラッチ回路14.かりセットされて
いる状態において、シフトレジスタ101へ入力されて
来るビットシリアルのデータR3ERは2回目の特定パ
ターン10000であるとする。
For convenience of explanation, latch circuit 14. It is assumed that the bit serial data R3ER input to the shift register 101 is the second specific pattern 10000 in the state where the shift register 101 is set.

そのデータR3ERの各ビットはクロックRCLK(第
3図の(2))によってシフトレジスタ101に順次に
入力される。このシフトレジスタ10隆は!を丁てrX
でシフトインするように構成されているので、特定パタ
ーン1ooooの先頭ビット“1゛は第3図の(3)乃
至(8)に示すようにその入力時刻T1から各クロック
毎にシフトレジスタ101の順次のビット位置(出力Q
A乃至QF)ヘシフトされる。その時刻TIに、先頭ビ
ットがシフトレジスタ10.へ入力され、その出力QA
に現れると、その時刻における入力シリアルデータの上
記条件から明らかなように、先行する特定パターンの先
頭ビットがレジスタ10.の出力QFに現れる。この出
力QFの信号レベルがクロックRCLKの立上りに応答
してラッチ回路22、にセットされる。従って、その出
力向の信号レベルは第3図の(9)に示すように時刻1
2前後のクロック期間の間高レベルとなる。又、ラッチ
回路22.の出力この立上りはシフトレジスタ101の
出力QAに現れた信号レベルをラッチ回路14□にセッ
トするので、その出力ζは高レベルとなる。
Each bit of the data R3ER is sequentially input to the shift register 101 by the clock RCLK ((2) in FIG. 3). This shift register is 10 years old! Divide rX
Therefore, the first bit "1" of the specific pattern 1oooo is shifted in the shift register 101 every clock from the input time T1 as shown in (3) to (8) in FIG. Sequential bit positions (output Q
A to QF). At that time TI, the first bit is in shift register 10. and its output QA
As is clear from the above conditions of the input serial data at that time, when the first bit of the preceding specific pattern appears in register 10. appears at the output QF of The signal level of this output QF is set in the latch circuit 22 in response to the rise of the clock RCLK. Therefore, the signal level in the output direction is at time 1 as shown in (9) in Figure 3.
It is at a high level for around 2 clock periods. Further, the latch circuit 22. This rising edge sets the signal level appearing at the output QA of the shift register 101 in the latch circuit 14□, so its output ζ becomes high level.

そして、クロック時刻が進んで、時刻T6になると、シ
フトレジスタ10.の出力QFから先頭ビットが出力さ
れ、その半クロツク後にラッチ回路22.のdに第3図
の(9)に示すような信号パルス(タイミング信号)が
現れる。
Then, when the clock time advances and reaches time T6, shift register 10. The first bit is output from the output QF of the latch circuit 22. after half a clock. A signal pulse (timing signal) as shown in (9) in FIG. 3 appears at point (d) in FIG.

この時刻には、シフトレジスタ10.の出力QE、QD
、QC,QBに特定パターンの検出用ビットの各々が現
れており、その特定パターンの検出が4人力ナンドゲー
ト12.で行なわれ、その1人力ナンドゲート122を
通った立上り遷移出力が上述の信号パルスを受けている
ラッチ回路141に第3図の(11)に示すようにパタ
ーン検出信号をセットさせる。
At this time, shift register 10. The output QE, QD of
, QC, and QB respectively appear, and the detection of the specific pattern is a four-man NAND gate 12. The rising transition output that passes through the NAND gate 122 causes the latch circuit 141 receiving the above-mentioned signal pulse to set a pattern detection signal as shown in (11) in FIG.

このようなパターンの検出が行なわれてラッチ回路14
.にセットされたパターン検出信号はその特定パターン
が連続して入力されないと、リセットされる。例えば、
第3図に示す特定パターンSPに続いて図示の如きシリ
アルデータビットストリームDPが入力されると、第3
図のタイミングチャートから明らかなように、データビ
ットストリームDPの第1番目のビット°“1°”がシ
フトレジスタ10.の出力QFに現れ(第3図の(9)
参照)、且つシフトレジスタ10.へ入力されるビット
ストリームDPの第6番目のビット“°0“がシフトレ
ジスタio+へシフトインされた(第3図の(3)参照
)時刻Tllから、半クロツク経過後にラッチ回路14
□の出力向が低レベルへ降下するが(第3図の00)参
照)、その立上り遷移によりラッチ回路141はリセッ
トされる。即ち、検出されセットされていたパターン検
出信号は低レベルに切り換えられる(第3図の(11)
参照)。
When such a pattern is detected, the latch circuit 14
.. The pattern detection signal set to is reset if that specific pattern is not continuously input. for example,
When a serial data bit stream DP as shown in the figure is input following the specific pattern SP shown in FIG.
As is clear from the timing chart in the figure, the first bit °“1°” of the data bit stream DP is in the shift register 10. appears in the output QF ((9) in Figure 3)
), and shift register 10. After half a clock has elapsed from time Tll when the sixth bit "°0" of the bit stream DP input to the shift register io+ is shifted into the shift register io+ (see (3) in FIG. 3), the latch circuit 14
Although the output direction of □ falls to a low level (see 00 in FIG. 3), the latch circuit 141 is reset by the rising transition. That is, the pattern detection signal that has been detected and set is switched to a low level ((11) in Figure 3).
reference).

なお、上記実施例において、特定パターン10Oooは
時刻上でその繰返しをみた場合、001:000011
000の如く区切るとき00001の特定パターンの繰
返しとしてみることもできる。従って、ビット“1゛は
、実施例の如く、先行する特定パターンの先頭ビットと
してみることもできるし、又最後尾ビットとしてみるこ
ともできる。又、ラッチ回路のリセットは、そこへのセ
ット後、所定時間後にリセットする形式にしてもよい。
In the above example, the specific pattern 10Ooo is 001:000011 when looking at its repetition in time.
It can also be seen as a repetition of a specific pattern of 00001 when separated like 000. Therefore, bit "1" can be seen as the first bit of the preceding specific pattern as in the embodiment, or it can be seen as the last bit.Also, the latch circuit can be reset after it is set there. , it may be reset after a predetermined time.

〔発明の効果〕〔Effect of the invention〕

以上述べたように本発明によれば、シリアルデータの特
定パターンの検出のための回路を簡素化してその検出を
行なうことができる。
As described above, according to the present invention, a circuit for detecting a specific pattern of serial data can be simplified and the detection can be performed.

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

第1図は本発明の原理ブロック図、 第2図は本発明の一実施例を示す図、 第3図は第2図実施例のタイミングチャート、第4図は
従来のパターン検出回路例を示す図である。 第1図及び第2図において、 10は直並列変換回路(シフトレジスタ10.)、12
はパターン検出信号発生回路(4人力ナンドゲート12
1.1人力ナンドゲート12り、14はパターン検出信
号蓄積回路(ラッチ回路14、)、 22はタイミング信号発生回路(ラッチ回路22、)で
ある。 特許出願人  富  士  通  株  式  会  
社同    富士通関西通信システム株式会社本層1月
の原工里7“ロック図 第1図 本不≦日月の一矢別ブイ列 第2図 /’%  −/’%  −、−、−^  ^ −6C−
へ1丈LnI−Or+−のの−一
Fig. 1 is a block diagram of the principle of the present invention, Fig. 2 is a diagram showing an embodiment of the present invention, Fig. 3 is a timing chart of the embodiment of Fig. 2, and Fig. 4 is an example of a conventional pattern detection circuit. It is a diagram. 1 and 2, 10 is a serial-to-parallel conversion circuit (shift register 10.), 12
is a pattern detection signal generation circuit (4-man powered NAND gate 12
1.1 Manual NAND gate 12, 14 is a pattern detection signal storage circuit (latch circuit 14), and 22 is a timing signal generation circuit (latch circuit 22). Patent applicant: Fujitsu Limited
Fujitsu Kansai Communication System Co., Ltd. Main layer January Hara Kori 7 "Rock diagram Figure 1 Book ≦ Date and month arrow-specific buoy row Figure 2 /'% -/'% -, -, -^ ^ ^ -6C-
To 1 length LnI-Or+-Nono-1

Claims (1)

【特許請求の範囲】 シリアルデータをパラレルデータに変換する直並列変換
回路(10)と、 変換されたパラレルデータのパターン検出信号を発生す
るパターン検出信号発生回路(12)と、検出されたパ
ターン検出信号を蓄積するパターン検出信号蓄積回路(
14)と、前記パターン検出信号発生回路(12)で検
出される特定パターンのラッチタイミングにおける特定
パターン識別ビットに応答して、前記検出されたパター
ン検出信号を前記パターン検出信号蓄積回路(14)に
ラッチさせるタイミング信号を発生するタイミング信号
発生回路(22)とから成るパターン検出回路。
[Claims] A serial-to-parallel conversion circuit (10) that converts serial data to parallel data, a pattern detection signal generation circuit (12) that generates a pattern detection signal of the converted parallel data, and a detected pattern detection circuit. Pattern detection signal accumulation circuit that accumulates signals (
14), and in response to the specific pattern identification bit at the latch timing of the specific pattern detected by the pattern detection signal generation circuit (12), the detected pattern detection signal is sent to the pattern detection signal storage circuit (14). A pattern detection circuit comprising a timing signal generation circuit (22) that generates a timing signal to be latched.
JP28230587A 1987-11-09 1987-11-09 Pattern detection circuit Expired - Lifetime JPH0695696B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28230587A JPH0695696B2 (en) 1987-11-09 1987-11-09 Pattern detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28230587A JPH0695696B2 (en) 1987-11-09 1987-11-09 Pattern detection circuit

Publications (2)

Publication Number Publication Date
JPH01123553A true JPH01123553A (en) 1989-05-16
JPH0695696B2 JPH0695696B2 (en) 1994-11-24

Family

ID=17650690

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28230587A Expired - Lifetime JPH0695696B2 (en) 1987-11-09 1987-11-09 Pattern detection circuit

Country Status (1)

Country Link
JP (1) JPH0695696B2 (en)

Also Published As

Publication number Publication date
JPH0695696B2 (en) 1994-11-24

Similar Documents

Publication Publication Date Title
JP2000099193A (en) Device and method for synchronization, and interface circuit
US4054747A (en) Data buffer
JPS5923647A (en) Method of converting serial data signal and converting circuit
JPH01123553A (en) Pattern detecting circuit
JPS63190457A (en) Serial data transmitter
JPS624960Y2 (en)
JP2506407B2 (en) Clock synchronous data transmission system
JPS5853257A (en) Digital data receiving circuit
JPS6224736A (en) Stuff synchronizing circuit
SU790218A1 (en) Device for synchronizing timing train signals
JP2811671B2 (en) Synchronous signal detection device
JP2590935B2 (en) Digital transmission data recovery circuit
JP2548709B2 (en) Multiple frame aligner
JP3513399B2 (en) Variable timing device using serial data
SU1529437A1 (en) Selector of pulses according to length
SU1520668A1 (en) Device for converting serial code to parallel code
JPS61243527A (en) Bit buffer circuit
SU1547078A1 (en) Device for detecting of errors in information transmission
JPS62284526A (en) Data string conversion circuit
SU999035A1 (en) Data input device
JP2559791Y2 (en) Clock generation circuit
SU807492A1 (en) Terniary reversible n-digit pulse counter
JP2551331B2 (en) Memory circuit
SU1138800A1 (en) Device for forming word from syllables
JP2946863B2 (en) Parity counting circuit