JPS60114052A - Device for comparative decision of data - Google Patents
Device for comparative decision of dataInfo
- Publication number
- JPS60114052A JPS60114052A JP58221850A JP22185083A JPS60114052A JP S60114052 A JPS60114052 A JP S60114052A JP 58221850 A JP58221850 A JP 58221850A JP 22185083 A JP22185083 A JP 22185083A JP S60114052 A JPS60114052 A JP S60114052A
- Authority
- JP
- Japan
- Prior art keywords
- data
- memory
- coincident
- counter
- output
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L13/00—Details of the apparatus or circuits covered by groups H04L15/00 or H04L17/00
- H04L13/18—Details of the apparatus or circuits covered by groups H04L15/00 or H04L17/00 of receivers
Abstract
Description
【発明の詳細な説明】
(a) 発明の技術分野
データ通信などでは、送信側から同期信号を送り、受信
側ではこれを検出して同期をとっている。DETAILED DESCRIPTION OF THE INVENTION (a) Technical Field of the Invention In data communications, etc., a synchronization signal is sent from the transmitting side, and the receiving side detects this to establish synchronization.
この場合、次のようにして受信側で同期をとることがあ
る。すなわち、受信側で同朋信5と同じ信号をノλ型デ
ータとしてもっており、この基準データと入力データを
比較する。そして、両方が一致したとき、そのときの入
力データを同期信号とこの発明は、このような場合に使
用するデータの比較判定装置についてのものである。In this case, synchronization may be achieved on the receiving side as follows. That is, the receiving side has the same signal as that of Dohoshin 5 as λ-type data, and compares this reference data with the input data. When both match, the input data at that time is used as a synchronization signal.The present invention relates to a data comparison/judgment device used in such a case.
(b) 従来技術と問題点
従来装置には、特開昭57−1000/17号などがア
ルカ、コの従来装置では1つのメモリに基準データと比
較データを記憶し、データを比較している。このため、
基準データが限定され、ビ・シト一致による比較や、数
種キャラクタのOR一致による比較ができないという問
題がある。(b) Conventional technology and problems Conventional devices include Japanese Patent Laid-Open No. 1000/17/1983, etc. In the conventional device of Arka and Co., reference data and comparison data are stored in one memory and the data are compared. . For this reason,
There is a problem in that reference data is limited, and comparison based on bi-situ matching or comparison based on OR matching of several types of characters cannot be performed.
(c) 発明の目的
この発明は、第1のメモリに比較データを記憶しておき
、この記憶したデータを第2のメモリのアドレス信号と
して使用し、第2のメモリにあらかじめ記憶している一
致データを出力するように倦
したデータの比較判定装置を提供することにより、一致
データを任意に設定することができ、またビットレベル
の一致や数種データの一致を判定できるようにすること
を目的とする。(c) Purpose of the Invention This invention stores comparison data in a first memory, uses this stored data as an address signal for a second memory, and compares data stored in advance in the second memory. It is an object of the present invention to provide a comparison/judgment device for data that has been used to output data, so that matching data can be arbitrarily set, and it is also possible to judge bit-level matching and matching of several types of data. shall be.
(d) 発明の実施例
# ぜ 7 の 春 In 1.y−) ス ψ 剌旨
/It+ 小 戊 Gわ p刀 太 幣 11〜1に
示す。(d) Example of the invention #Ze 7 Spring In 1. y-) Su ψ 剌士 /It+ 小戊 Gwap sword 太平 Shown in 11-1.
第1図の1はカウンタ、2は第1のメモリ、3はバッフ
ァ、4は制御回路、5は第2のカウンタ、6は第2のメ
モリ、7はフリフプフ「1ツブである。In FIG. 1, 1 is a counter, 2 is a first memory, 3 is a buffer, 4 is a control circuit, 5 is a second counter, 6 is a second memory, and 7 is a flip-flop.
カウンタ1は、制御回路4からのカウンタ用クロック4
5で動作し、第1のメモリ2のアドレス信号としてカラ
フタ出力47を出力する。The counter 1 receives a counter clock 4 from the control circuit 4.
5 and outputs a calafta output 47 as an address signal for the first memory 2.
第1のメモリ2は、比較データを記fαするメモリで、
カウンタ1からのカウンタ山男47と制御回路4からの
メモリ用ライトパルス信号44および出力イネーブル信
号46で制御され、比較データ32を入出力する。The first memory 2 is a memory for recording comparison data fα,
It is controlled by a counter mount 47 from the counter 1, a memory write pulse signal 44 from the control circuit 4, and an output enable signal 46, and inputs and outputs comparison data 32.
バッフ73は、第1のメモリ2へ比較データ32を入力
するためのバッファで、制御回路4からのメモリ用ライ
トパルス信号44で第1のメモリ2に書き込みをしてい
るときに有効となる。The buffer 73 is a buffer for inputting the comparison data 32 to the first memory 2, and becomes valid when writing to the first memory 2 is performed using the memory write pulse signal 44 from the control circuit 4.
制御回路4は、カウンタ1、第1のメモリ2およびバ・
ノフ73を制御する。The control circuit 4 includes a counter 1, a first memory 2 and a bar.
Nof 73 is controlled.
カウンタ5は、カウンタ用クロック48で動作し、その
出力を第2のメモリ6のアドレス線に接続する。そして
、比較判定のワード順位を示すワードデータ51を出力
する。The counter 5 operates with a counter clock 48 and connects its output to the address line of the second memory 6. Then, word data 51 indicating the word order for comparison and determination is output.
カウンタ用クロック48は、出力イネーブル信号46と
クロック信号41とをゲート回路を通したものである。The counter clock 48 is obtained by passing the output enable signal 46 and the clock signal 41 through a gate circuit.
カウンターとカウンタ5には、メモリまたはフリップフ
ロップを使用してもよい。A memory or a flip-flop may be used for the counter and counter 5.
第2のメモリ6は、一致と不一致を記憶しているメモリ
で、第1のメモリ2からの比較データ32とカウンタ5
からのワードデータ51とをアートレス信号として使用
し、一致データ61を出力する。The second memory 6 is a memory that stores matches and non-matches, and stores the comparison data 32 from the first memory 2 and the counter 5.
The word data 51 from .
フリップフロップ7は、ライトパルス信号42でセット
され、一致データ61.をカウンク用クロツク48で判
定し、1回でも不一致「0」になると、次にセットされ
るまでリセット吠態を続ける。The flip-flop 7 is set by the write pulse signal 42 and the match data 61 . is determined by the count clock 48, and if the discrepancy becomes "0" even once, the reset barking state continues until it is set next time.
一致データ61は、この実施例ではrlJで一致、「0
」で不一致としている。In this embodiment, the matching data 61 is rlJ matching, “0
” is considered inconsistent.
次に、第1図のタイムチャートの一例を第2図に示す。Next, an example of the time chart of FIG. 1 is shown in FIG. 2.
第2図(7)は制御回路4へ人力するり「2ツク信号4
1の波形で、クロック信号41は第1図会体の速度とク
イミ/グを制御する。Figure 2 (7) shows the ``2-turn signal 4'' that is manually input to the control circuit 4.
1 waveform, clock signal 41 controls the speed and control of the vehicle in FIG.
第2図(イ)は制御回路4と7リツプフロツブ7へ人力
するライトパルス信号42の波形で、ライトパルス信号
42は第1のメモリ2に比較データ32を古き込む場合
や制御回路4を起動する場合に必要な信号である。FIG. 2(a) shows the waveform of the write pulse signal 42 that is manually input to the control circuits 4 and 7 lip-flop 7. The write pulse signal 42 is used when loading the comparison data 32 into the first memory 2 or when starting the control circuit 4. This is a necessary signal in this case.
第2図(9)は制御回路4からバッファ3に入力するバ
ラフッイネーブル信号43の波形で、ライトパルス信号
42が制御回路4に入ると、第2図(つ)のバッフ1イ
ネーブル信号43が有効となる。FIG. 2 (9) shows the waveform of the buffer enable signal 43 input from the control circuit 4 to the buffer 3. When the write pulse signal 42 enters the control circuit 4, the buffer 1 enable signal 43 in FIG. It becomes effective.
これにより、データバス信号31はバッファ3を通過し
て比較データ82となり、メモリ用ライトパルス44に
よってjslのメモリ2に記tαされる。As a result, the data bus signal 31 passes through the buffer 3 and becomes comparison data 82, which is written tα in the memory 2 of jsl by the memory write pulse 44.
第2図(2)は制御回路4からカウンタ1に入力するカ
ウンタ川クロック450波形で、ノJウンタ用クロック
45は比較データ32の出力杖態を制御第2図(1)は
制御回路4から第1のメモリ2セご入力する出力イネー
ブル信号46の波形で、山カイネーブル信号46が論理
「1」のときは比較データ32を第1のメモリ2から出
力していることを示す。FIG. 2 (2) shows the waveform of the counter clock 450 input from the control circuit 4 to the counter 1, and the J counter clock 45 controls the output state of the comparison data 32. The waveform of the output enable signal 46 input to the first memory 2 indicates that the comparison data 32 is being output from the first memory 2 when the output enable signal 46 is logic "1".
カウンターはカラ/り用クロック45の立下りで動作し
、最も古い比較データを記憶している1′ドレスから順
に、カウントアツプまたはカウントダウンをする。この
結果、fElのメモリ2からは古い順に比較データ32
を出力する。The counter operates at the fall of the color/color clock 45, and counts up or down in order from the 1' address that stores the oldest comparison data. As a result, from memory 2 of fEl, comparison data 32 is stored in the oldest order.
Output.
第2図(力)は制御回路4からカウンタ5とフリ・ツブ
フロップ7に入力するカウンタ用クロック48の波形で
、カウンタ用クロック48はカウンタ5の動作を制御す
るとともに、フリップフロップ7う
に入力する一致・不一致を連続して判定する。FIG. 2 (power) shows the waveform of the counter clock 48 that is input from the control circuit 4 to the counter 5 and flip-flop 7.・Continuously determine inconsistencies.
第2図(キ)はカウンタ5から第2のメモリ6のアドレ
ス線に入力されるワードデータ51であり、第2図(シ
)は第1のメモリ2から第2のメそり6のアドレス線に
人力される比較データ32である。FIG. 2(g) shows the word data 51 input from the counter 5 to the address line of the second memory 6, and FIG. 2(b) shows the address line from the first memory 2 to the second memory 6. This is comparison data 32 that is manually input.
笛’21ffi(ケ)は第2のメモリ6からフリップ7
0ソブ7に入力する一致データ61で、一致データ61
は第2のメモリ6にあらかじめ記憶されており、1ワー
ド目から順に出力する。Flute '21ffi (ke) flips from second memory 6 to 7
Matching data 61 input to 0 sub 7, matching data 61
are stored in advance in the second memory 6, and are output in order from the first word.
第2図(1)はフリップ70ツブ7から出力される判定
データ71である。FIG. 2(1) shows the determination data 71 output from the flip 70 knob 7.
フリップフロップ7は第2図(イ)のライトパルス42
によってセットされ、第2のメモリ6からの一致デーク
61を連続的に判定し、第2図(コ)の判定データ71
を出力する。The flip-flop 7 receives the light pulse 42 in FIG. 2 (a).
The matching data 61 from the second memory 6 is determined continuously, and the determination data 71 in FIG.
Output.
判定結果は、第2図(オ)の出力イネーブル信号46の
立下り点から@2図(イ)のライトパルス信号42の次
の立下り点までの間が有効となる。The determination result is valid from the falling point of the output enable signal 46 in FIG. 2(E) to the next falling point of the write pulse signal 42 in FIG. 2(A).
なお、第2のメモリ6の出力データとフリップフロップ
7を増すことにより、比較するデータの数を増やすこと
ができる。Note that by increasing the output data of the second memory 6 and the number of flip-flops 7, the number of data to be compared can be increased.
第2図(])の点線は、判定が不一致でrOJの場合を
示す。The dotted line in FIG. 2 ( ]) indicates the case where the determination is rOJ due to mismatch.
次に、第2のメモリ6に記憶する比較データ32と一致
データ61の一例を第3図に示す。Next, an example of the comparison data 32 and matching data 61 stored in the second memory 6 is shown in FIG.
第3図にはアドレスがAo〜A6まであるが、AQ=A
3を比較データ32用とし、A4とA5を7−ドデータ
51用にしている。In Figure 3, there are addresses from Ao to A6, but AQ=A
3 is used for comparison data 32, and A4 and A5 are used for 7-code data 51.
また、■0を一致データ61用に割り当てている。Additionally, ■0 is assigned to the matching data 61.
例えば、ワードデータ51の1ワード、2ワード、3ワ
ード、4ワード目の比較データ32がアドレスAo ”
rOJ 、A+ ” rOJ 、A2=「0」および
A3=1のとき、一致データ61が「1」になるように
第2のメモリ6に記憶させておく。そうすると、基準の
一致キャラクタは「8」、「8」、「8」、r8Jの4
ワードが連続したとき、判定データ71が「1」となり
、これ以外では「0」になる。For example, the comparison data 32 for the 1st, 2nd, 3rd, and 4th words of the word data 51 is at the address Ao"
When rOJ , A+ ” rOJ , A2=“0” and A3=1, the matching data 61 is stored in the second memory 6 so as to be “1”. Then, the standard matching characters are ``8'', ``8'', ``8'', and r8J.
When the words are consecutive, the determination data 71 becomes "1", and otherwise becomes "0".
(e) 発明の効果
令
この発明によれば、ワードデータ51のワード数nと一
致データ61の数mを任意に設定することができるので
、nワード連続の一致や不一致をビットレベルまで拡大
し、m種類の連続の一致や不一致を検出することができ
る。(e) Effects of the Invention According to this invention, the number n of words in the word data 51 and the number m of matching data 61 can be arbitrarily set, so matching or mismatching of n consecutive words can be expanded to the bit level. , m types of consecutive matches and mismatches can be detected.
第1図1はこの発明による実施例の構成図、第2図は第
1図のタイムチャートの一例を示す図、
第3図は第2のメモリ6−に記憶する比較データ32と
一致データ61の一例を示す図。
1・・・・・・カウンタ、2・・・・・・第1のメモリ
、3・・・・・・バプツ7.4・・・・・・制御回路、
5・・・・・・カウンタ、6・・・・・・第2のメモリ
、7・・・・・・フリップフロップ、31・・・・・デ
ータバス信号、32・・・・・・比較データ、41・・
・・・・り1ツク信号、42.−・・・・、ライトノ(
ルス信号、43・・・・・・バラフッイネーブル信号、
44・・・・・・メモリ用ライトパルス信号、45・・
・・・・カラ/り用クロック、46・・・・・・出力イ
ネーブル信号、47・・・・・カウンタ出力、48・・
・・・・カウンタ用クロック、51・・・・・ワードデ
ータ、61・・・・・・一致データ、71・・・・・判
定データ。
代理人 弁理士 小 俣 欽 司1 is a block diagram of an embodiment according to the present invention, FIG. 2 is a diagram showing an example of the time chart of FIG. 1, and FIG. 3 is a diagram showing comparison data 32 and matching data 61 stored in the second memory 6-. The figure which shows an example. 1... Counter, 2... First memory, 3... Bupts 7.4... Control circuit,
5...Counter, 6...Second memory, 7...Flip-flop, 31...Data bus signal, 32...Comparison data , 41...
... Ri1tsuk signal, 42. −・・・・Lightno(
signal, 43...Balance enable signal,
44... Memory write pulse signal, 45...
...Color/return clock, 46...Output enable signal, 47...Counter output, 48...
... Counter clock, 51 ... Word data, 61 ... Match data, 71 ... Judgment data. Agent Patent Attorney Kinji Komata
Claims (1)
タと不一致データを記憶するとともに、第1のメモリに
記tfi した比較データをアドレス信号として入力す
る第2のメモリと、 一致データと不一致データの連続性を判定するフリップ
70ツブとを備えることを特徴とするデータの比較判定
装置。[Claims] 1. A first memory that stores comparison data; a second memory that stores matching data and non-matching data and inputs the comparison data recorded in the first memory as an address signal; A data comparison/determination device comprising: a flip 70 tube for determining continuity between matching data and non-matching data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58221850A JPS60114052A (en) | 1983-11-25 | 1983-11-25 | Device for comparative decision of data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58221850A JPS60114052A (en) | 1983-11-25 | 1983-11-25 | Device for comparative decision of data |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS60114052A true JPS60114052A (en) | 1985-06-20 |
Family
ID=16773160
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP58221850A Pending JPS60114052A (en) | 1983-11-25 | 1983-11-25 | Device for comparative decision of data |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS60114052A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62298248A (en) * | 1986-06-13 | 1987-12-25 | インタ−ナショナル・ビジネス・マシ−ンズ・コ−ポレ−ション | Bit pattern detecting circuit |
JPS63204846A (en) * | 1987-02-19 | 1988-08-24 | Fujitsu Ltd | Transmission control system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57152749A (en) * | 1981-03-18 | 1982-09-21 | Fujitsu Ltd | Synchronous detecting circuit |
JPS58168347A (en) * | 1982-03-29 | 1983-10-04 | Mitsubishi Electric Corp | Detecting circuit of synchronizing code |
-
1983
- 1983-11-25 JP JP58221850A patent/JPS60114052A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57152749A (en) * | 1981-03-18 | 1982-09-21 | Fujitsu Ltd | Synchronous detecting circuit |
JPS58168347A (en) * | 1982-03-29 | 1983-10-04 | Mitsubishi Electric Corp | Detecting circuit of synchronizing code |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62298248A (en) * | 1986-06-13 | 1987-12-25 | インタ−ナショナル・ビジネス・マシ−ンズ・コ−ポレ−ション | Bit pattern detecting circuit |
JPH0521460B2 (en) * | 1986-06-13 | 1993-03-24 | Intaanashonaru Bijinesu Mashiinzu Corp | |
JPS63204846A (en) * | 1987-02-19 | 1988-08-24 | Fujitsu Ltd | Transmission control system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0713926A (en) | Buffer control circuit and its operating method | |
JP3080341B2 (en) | Data match detection circuit | |
US4814761A (en) | Method and apparatus for communication control in loop communication network | |
JPS60114052A (en) | Device for comparative decision of data | |
US7539258B2 (en) | Audio data sync format detecting circuit | |
JPS63164554A (en) | Automatic recognizing system for data speed | |
JP2975814B2 (en) | Command input and test item setting circuit | |
JPS61198814A (en) | Trigger detection circuit | |
KR970002704B1 (en) | Cam of network bridge | |
JP2000115291A (en) | Sequential trigger discrimination circuit | |
JP3137489B2 (en) | Write access contention adjustment circuit | |
JPH0117880Y2 (en) | ||
JPH08180016A (en) | Communication interface circuit | |
JPH1049474A (en) | Slot address circuit | |
JPS62153841A (en) | Information output device of interchangeable lens | |
JPH0213882A (en) | Subscription timer circuit | |
US20080294812A1 (en) | Data Transmission Method and Data Transmission System | |
JPH0265433A (en) | Terminal control circuit | |
JPH0653998A (en) | Digital data reception system | |
JPH02296438A (en) | Serial data sink | |
JP2002344435A (en) | Bit pattern synchronization circuit | |
JPH06284163A (en) | Data select circuit | |
JPH05183585A (en) | Extension circuit | |
JPH02194798A (en) | Pulse count circuit | |
JPH10240664A (en) | Register access control method |