JPS5930139A - Bit pattern comparing device - Google Patents
Bit pattern comparing deviceInfo
- Publication number
- JPS5930139A JPS5930139A JP13894682A JP13894682A JPS5930139A JP S5930139 A JPS5930139 A JP S5930139A JP 13894682 A JP13894682 A JP 13894682A JP 13894682 A JP13894682 A JP 13894682A JP S5930139 A JPS5930139 A JP S5930139A
- Authority
- JP
- Japan
- Prior art keywords
- address
- signal
- signal line
- bit pattern
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/02—Comparing digital values
Abstract
Description
【発明の詳細な説明】
発明の属する分野
この発明は入出力制御におけるチャネルインタフェース
制御のアドレス信号のビットパターンを比較するビット
パターン比較装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a bit pattern comparison device for comparing bit patterns of address signals for channel interface control in input/output control.
従来技術の構成
従来この種の装置としてオ1図に示すものがあった。図
において(1)はアドレス信号線、(2−リ。Structure of the Prior Art Conventionally, there has been a device of this type as shown in Fig. 1. In the figure, (1) is an address signal line, and (2-re) is an address signal line.
<2−2)e・・−・・(2−n)はそれぞれアドレス
レジスタ、(3−1) 、 (3−2) 、−−−−・
(3−n )はそれぞれ比較器、(4;はオア回路、(
5;は一致出力信号線、(6)はデータ信号線、(7−
1)、(7−2)、・・・(7−n)はそれぞれセット
信号線、()l−1)、(8−2)、・・・(8−++
)はそれぞれアドレスレジスタ(’2−1)、(2−2
)、 =・(2−n)の内′IO+を出力する出力信号
線、(9−1)、(9−2)、・・・(9−n)はそれ
ぞれ比ll@l’d’ii (3−1)、(3−2)、
・・(3n)の比較結果出力信号線である。<2-2) e...-(2-n) are address registers, (3-1), (3-2), ------
(3-n) are comparators, (4; is an OR circuit, (
5; is a coincidence output signal line, (6) is a data signal line, (7-
1), (7-2), ... (7-n) are set signal lines, ()l-1), (8-2), ... (8-++
) are address registers ('2-1) and (2-2
), =・(2-n), the output signal line that outputs 'IO+, (9-1), (9-2), ... (9-n) is the ratio ll@l'd'ii, respectively. (3-1), (3-2),
...(3n) comparison result output signal line.
以下の説明の便宜のためアドレス信号は8ビツトから構
成され、従って信号線t1.l 、 +61 、 +8
1は8本の信号線によりビット並列の形の伝送を行うも
のとする。For convenience of explanation below, the address signal is composed of 8 bits, and therefore the signal lines t1. l, +61, +8
1 performs bit parallel transmission using eight signal lines.
従来技術の動作
第1図に示す装置は信号線+11上のアドレス信号のビ
ットパターンがあらかじめ定めたn種類のビットパター
ンと一致するか否かを検出するために用いられ、上記n
m類のビットパターンはアドレスレジスタ(21)、(
22L・・・(2−n)にあらかじめ格納されている。Operation of the Prior Art The device shown in FIG.
The bit pattern of class m is the address register (21), (
22L...(2-n) is stored in advance.
この格納のためには信号線(61上にアドレスレジスタ
(2−1)に格納すべきビットパターンのアドレス信号
を出力して信号線(7−1)にセット信号を送出し、次
に信号線(6)上にアドレスレジスタ(2−2)に格納
すべきビットパターンのアドレス信号を出力して信号+
i (7−2)にセット信号を送出し、このような動作
を繰返し最後はアドレスレジスタ(2−n)にn番目の
ビットパターンのアドレス信号を格納すればよい。To store this, output the address signal of the bit pattern to be stored in the address register (2-1) on the signal line (61), send a set signal to the signal line (7-1), and then (6) Output the address signal of the bit pattern to be stored in the address register (2-2) on the
It is sufficient to send a set signal to i (7-2), repeat this operation, and finally store the address signal of the nth bit pattern in the address register (2-n).
各アドレスレジスタ(2−1)+(2−2)、−(2−
1) ヘのセットが終った後でチャネルからアドレス
信号が信号# (I+に送出されると各比較器(3−1
)、(3−2)。Each address register (2-1) + (2-2), -(2-
1) When the address signal is sent from the channel to the signal # (I+) after the setting to each comparator (3-1
), (3-2).
・・・(3−n)で比較が行われ一致したものがあれば
尚該比較器の比較結果出力信号線(9−i)の信号論理
が「1」となり、一致出力信号線(5)上の一致出力信
号も論理「1」となる。...If there is a match after the comparison is made in (3-n), the signal logic of the comparison result output signal line (9-i) of the comparator becomes "1", and the match output signal line (5) The above coincidence output signal also becomes logic "1".
従来技術の欠点
従来の装置は上記のように構成されているのでn個のア
ドレスレジスタ、n個の比較器、n入力のオア回路を8
髪とじnの値が大きくなるとハードウェア量が増大する
という欠点があった。Disadvantages of the prior art Since the conventional device is configured as described above, it has n address registers, n comparators, and n input OR circuits.
There is a drawback that as the value of hair binding n increases, the amount of hardware increases.
本発明の目的
この発明は一ヒ記のような従来のものの欠点を除去する
ためになされたもので、RAM(ランダムアクセスメモ
リ)を用い比較結果に相当するデータをあらかじめRA
MK書込んでおいてチャネルからのアドレス信号により
RAMから読出すことによってハードウェア量が少くて
よい比較装置を提供することを目的としている。Purpose of the Invention The present invention was made to eliminate the drawbacks of the conventional ones as described in (1) above.
It is an object of the present invention to provide a comparator that requires less hardware by writing MK and reading it from a RAM using an address signal from a channel.
本発明の構成
以下図面についてこの発明の詳細な説明する第2図はこ
の発明の一実施例を示すブロック図であって、第1図と
同一符号は同一部分を示しn=7の場合を示している。Structure of the Present Invention The following is a detailed explanation of the present invention with reference to the drawings. Figure 2 is a block diagram showing an embodiment of the present invention, in which the same reference numerals as in Figure 1 indicate the same parts, and the case where n=7 is shown. ing.
(10)はRAM、(Illは1込みデータ信号線、θ
つはセレクタ、(1,31は切換信号線、04はRA
M ++01への書込み指令信号線、α→はRAM+1
111へのアドレス信号線で信号線[11又は(61の
内容が出力される。(10) is RAM, (Ill is 1 data signal line, θ
One is the selector, (1, 31 are switching signal lines, 04 is RA
Write command signal line to M++01, α→ is RAM+1
The contents of the signal line [11 or (61) are output on the address signal line to 111.
第1図における数値例と同じく信号線(1)上のアドレ
スは8ビツトの構成とし、RAMll0Iは8ビツトの
アドレス構成とする。3′3図はR−AMjlUlの内
容の一例を示し、8ビツトのアドレスのビットパターン
を2桁の16進数として読取った数値をHEXの欄に示
しである。HE Xの欄について01 、03゜05
、 (17、09、OB、 ODの7種類(n=7)の
ビットパターンのいずれかと信号線fil 1のアドレ
ス信号のビットパターンとが一致するか否かを検出する
例を示している。RAMtlOiのデータも8ビツト構
成で、ビット番号をそれぞれO〜7で示し、データの7
番ピットを特定ビットとしこれを一致出力信号とする。As in the numerical example in FIG. 1, the address on the signal line (1) has an 8-bit configuration, and RAMll0I has an 8-bit address configuration. Figure 3'3 shows an example of the contents of R-AMjlUl, and the value obtained by reading the bit pattern of the 8-bit address as a 2-digit hexadecimal number is shown in the HEX column. About the HEX column 01, 03゜05
, (This shows an example of detecting whether any of the seven types (n=7) of bit patterns of 17, 09, OB, and OD match the bit pattern of the address signal of the signal line fil 1.RAMtlOi The data also has an 8-bit configuration, and the bit numbers are indicated by 0 to 7.
The number pit is a specific bit and this is used as a coincidence output signal.
この特定ビット以外のビットすなわち0〜6番ピットの
ビットパターンにより、一致したビット・パターンは7
種のうちいずれであるかを示す。すなわち0番ビットが
rlJのときはHEX(01)が一致したこと、1番ビ
ットがrlJのときはHEX(03)が一致したことを
示す。Due to the bit pattern of bits other than this specific bit, that is, pits 0 to 6, the matched bit pattern is 7
Indicates which species it is. That is, when the 0th bit is rlJ, it means that HEX (01) matches, and when the 1st bit is rlJ, it means that HEX (03) matches.
本発明の動作
第3図のデータ欄に示すデータの書込みを最初に実行す
る。すなわちセレクタαaは信号m(6)上のデータ信
号を信号線αυ上のアドレス信号として出力するが、こ
の信号はHEX(00)からHEX(FFンまですなわ
ち0から28−1まで順次変化する。この変化と対応し
て書込みデータ信号線(Ill上の信号を第3図データ
欄に示すように変化する。書込み指令信号線0→に指令
信号を送出するごとにその時点の信号線(11)上のデ
ータ信号が信号線a9上のアドレス信号で示されるアド
レス位負へ1込まれRAM曲)の内容は第3図に示すと
おりになる。子連の7種類のピットパターン以外のビッ
トパターンを有するアドレス位置のデータは8個の「0
」ピットから構成されるので、RAM11■の初期化に
おいてデータの全ビットを10」にしておき信号線(6
1上のアドレス信号はfl K Xの01 、03 、
05 、07 。Operation of the present invention First, data shown in the data column of FIG. 3 is written. That is, the selector αa outputs the data signal on the signal m(6) as an address signal on the signal line αυ, and this signal changes sequentially from HEX(00) to HEX(FFn), that is, from 0 to 28-1. Corresponding to this change, the signal on the write data signal line (Ill) changes as shown in the data column in Figure 3. Every time a command signal is sent to the write command signal line 0→, the signal line (11) at that time The above data signal is put into the negative address position indicated by the address signal on the signal line a9, and the content of the RAM song becomes as shown in Figure 3. The data at the address location is 8 “0”
” pits, so when initializing the RAM 11■, set all bits of data to 10” and connect the signal line (6
The address signals on 1 are 01, 03,
05, 07.
09 、 OB、 ODの7種類だけに変化しこれに対
応するデータだけを書込めばよい。また、RA M +
101に1込むべき内容が変化しない場合はRA M
110)の代りにROM (読出し専用メモリ)を用い
てROMに最初に一度だけ1込めばよい。There are only seven types of changes: 09, OB, and OD, and only the corresponding data needs to be written. Also, RAM+
If the content that should be put in 101 does not change, RAM
110), a ROM (read-only memory) may be used and 1 may be written to the ROM only once at the beginning.
RA M l1f)lの書込みが終るとセレクタαつの
切換を。When writing to RAM l1f)l is completed, switch the selector α.
行って信号線fil 、J、:の信号を信号線αυ上の
アドレス信号として出力すれば、信号線tll上のアド
レス信号のビットパターンが第3図に示すRA M f
lofのアドレス欄のHEXOl、03,05,07,
09.OB。If the signals on the signal lines fil, J, : are output as address signals on the signal line αυ, the bit pattern of the address signal on the signal line tll becomes RAM f as shown in FIG.
HEXOl in the address field of lof, 03, 05, 07,
09. OB.
ODのいずれかに一致したときだけ読出されたデータ語
の7番ビットが「1」となって一致出力信号線(5)上
に出力されると共に、0番〜6番ビットのいずれかが「
l」となって比較結果出力信号線(9−1)、(9−2
)、・・・(9−7)のいずれかに出力される。The 7th bit of the read data word becomes "1" and is output on the match output signal line (5) only when it matches any of the ODs, and any of the 0th to 6th bits becomes "1".
l' and the comparison result output signal lines (9-1), (9-2
), ... (9-7).
発明の他の実施例
以上、この発明をアドレス信号のビットパターンの一致
を検出する例について説明したが、アドレス信号に限ら
ず任意のディジタル信号のビットパターンの一致を検出
することができる。またビットパターンの一致全検出す
る対象となるアドレス信号が8ビツト構成の場合につい
て説明したが、mを任意の正の整数としてmピット構成
のディジタル信号のビットパターンの一致を検出するこ
とができ、この場合はRAMのアドレスはmビット構成
とする。Other Embodiments of the Invention Although the present invention has been described above with reference to an example of detecting coincidence of bit patterns of address signals, it is possible to detect coincidence of bit patterns of any digital signal, not just address signals. Furthermore, although we have described the case where the address signal to be detected for all matches of bit patterns has an 8-bit configuration, it is also possible to detect matches of bit patterns of digital signals with m-pit configuration by setting m to any positive integer. In this case, the RAM address has an m-bit configuration.
更に第3図に示す例ではデータ欄の0〜6番ビット中の
各1ビツトヲ直接各比較結果出力線に出力したが、複数
個のピラトラ用いて比較結果出力信号を表すコードを構
成しデコーダによってこのコードをデコードして各比較
結果出力線に出力するようにすれば、比較すべきビット
パターンの種で1(第1図におけるnに相当する数値)
を更に増ノ用することができる。Furthermore, in the example shown in Fig. 3, each one of bits 0 to 6 of the data column is directly output to each comparison result output line, but a code representing the comparison result output signal is constructed using a plurality of Piratra, and the code is output by a decoder. If this code is decoded and output to each comparison result output line, the type of bit pattern to be compared will be 1 (the number corresponding to n in Figure 1).
can be further increased.
本発明の効果
以上のようにこの発明によれば、比較データをRA M
のアドレスで構成し、一致出力、比較結果出力をRA
Mの上記アドレスに対するデータで構成したのでハード
ウェア量ヲ減縮し信頼性全向上したビットパターン比較
装置を得ることができる。Effects of the present invention As described above, according to the present invention, comparative data can be stored in RAM.
The match output and comparison result output are configured with the address of RA.
Since it is configured with data for the above address of M, it is possible to obtain a bit pattern comparison device with a reduced amount of hardware and improved reliability.
第1図は従来の装置を示すブロック図、第2図はこの発
明の一実施例を示すブロック図、第3図は第2図のRA
Mの内容の一例を示す図である。
+11・・・アドレス信号線、(5:・・・一致出力信
号線、(6)・・−データ信号線、10)・・・RAM
、flト・・書込みデータ(8号線、Qカ・・・セレク
タ、(9)・・・アドレス信号線、(9−1)、(9−
2)・・・(9−7)・・・それぞれ比較結果出力信号
線。
なお、図中同一符号は同−又は相当部分を示す。
第1図
6
第2図FIG. 1 is a block diagram showing a conventional device, FIG. 2 is a block diagram showing an embodiment of the present invention, and FIG. 3 is a block diagram showing the RA of FIG.
It is a figure which shows an example of the content of M. +11...address signal line, (5:...match output signal line, (6)...-data signal line, 10)...RAM
,flt...Write data (line 8, Q selector, (9)...address signal line, (9-1), (9-
2)...(9-7)...Comparison result output signal lines. Note that the same reference numerals in the figures indicate the same or equivalent parts. Figure 1 6 Figure 2
Claims (1)
語のビットパターンがあらかじめ定めた複数種類のビッ
トパターンのいずれかと一致するか否かを検出するビッ
トパターン比較装置において、0乃至2m−1の間の連
続したアドレスを有し指定したアドレス位置のデータの
1込み及び読出しが可能なメモリ装置と、このメモリ装
置のうち上記あらかじめ定めた複数種類のビットパター
ンのいずれのビットパターンとも一致しないビットパタ
ーンを有するアドレス位動のデータにはすべ゛てのビッ
トに論理「C1」を書込む手段と、上記メモリ装置のう
ち上記あらかじめ定めた複数種類のビットパターンのい
ずれかと一致するビットパターンを有するアドレス位置
のデータ中の特定ヒツトには一致出力信号として論理「
l」を書込み上記特定ビット以外のビットには当該ビッ
トパターンが上記あらかじめ定めた複数種類のビットパ
ターンのうちのいずれであるかを識別できる符号を書込
む手段と、比較の対象とするmビットの語をアドレスと
して上記メモリ装置を読出す手段とを備えたことを特徴
とするビットパターン比較装置。In a bit pattern comparison device that detects whether the bit pattern of a word consisting of m bits (one word consists of m bits) (m is any positive integer) matches any of a plurality of predetermined bit patterns, A memory device that has continuous addresses between 1 and 2m-1 and is capable of reading and writing data at a specified address position, and any one of the plurality of predetermined bit patterns in this memory device. means for writing logic "C1" into all bits of data at an address position having a bit pattern that does not match with any of the bit patterns; A specific hit in the data at an address position with a pattern is given a logic “match” output signal.
m bits to be compared; and means for reading out the memory device using a word as an address.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP13894682A JPS5930139A (en) | 1982-08-10 | 1982-08-10 | Bit pattern comparing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP13894682A JPS5930139A (en) | 1982-08-10 | 1982-08-10 | Bit pattern comparing device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS5930139A true JPS5930139A (en) | 1984-02-17 |
Family
ID=15233844
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP13894682A Pending JPS5930139A (en) | 1982-08-10 | 1982-08-10 | Bit pattern comparing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS5930139A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6145347A (en) * | 1984-08-10 | 1986-03-05 | Nec Corp | Microcomputer |
JPS6146547A (en) * | 1984-08-13 | 1986-03-06 | Hitachi Micro Comput Eng Ltd | Data processor |
JPS6155765A (en) * | 1984-08-27 | 1986-03-20 | Nec Corp | I/o address decoder circuit |
JPS6158035A (en) * | 1984-08-29 | 1986-03-25 | Fujitsu Ltd | Pattern detector |
JPS61193252A (en) * | 1985-02-21 | 1986-08-27 | Fujitsu Ltd | Variable address conversion system |
JPS6240526A (en) * | 1985-08-19 | 1987-02-21 | Toshiba Corp | Digital comparator |
JPS62137635A (en) * | 1985-12-10 | 1987-06-20 | Syst Wan Kk | Bit pattern detecting device |
JPS62143155A (en) * | 1985-12-17 | 1987-06-26 | Matsushita Graphic Commun Syst Inc | Programmable chip select signal generation circuit |
JPS63198875A (en) * | 1987-02-12 | 1988-08-17 | Ando Electric Co Ltd | Specific data detecting circuit |
JP2011117967A (en) * | 2009-12-04 | 2011-06-16 | Tektronix Inc | Test measuring apparatus and method |
-
1982
- 1982-08-10 JP JP13894682A patent/JPS5930139A/en active Pending
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0326864B2 (en) * | 1984-08-10 | 1991-04-12 | Nippon Electric Co | |
JPS6145347A (en) * | 1984-08-10 | 1986-03-05 | Nec Corp | Microcomputer |
JPS6146547A (en) * | 1984-08-13 | 1986-03-06 | Hitachi Micro Comput Eng Ltd | Data processor |
JPH0460259B2 (en) * | 1984-08-13 | 1992-09-25 | Hitachi Maikon Shisutemu Kk | |
JPS6155765A (en) * | 1984-08-27 | 1986-03-20 | Nec Corp | I/o address decoder circuit |
JPS6158035A (en) * | 1984-08-29 | 1986-03-25 | Fujitsu Ltd | Pattern detector |
JPS61193252A (en) * | 1985-02-21 | 1986-08-27 | Fujitsu Ltd | Variable address conversion system |
JPH0562383B2 (en) * | 1985-02-21 | 1993-09-08 | Fujitsu Ltd | |
JPS6240526A (en) * | 1985-08-19 | 1987-02-21 | Toshiba Corp | Digital comparator |
JPS62137635A (en) * | 1985-12-10 | 1987-06-20 | Syst Wan Kk | Bit pattern detecting device |
JPS62143155A (en) * | 1985-12-17 | 1987-06-26 | Matsushita Graphic Commun Syst Inc | Programmable chip select signal generation circuit |
JPS63198875A (en) * | 1987-02-12 | 1988-08-17 | Ando Electric Co Ltd | Specific data detecting circuit |
JP2011117967A (en) * | 2009-12-04 | 2011-06-16 | Tektronix Inc | Test measuring apparatus and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4873666A (en) | Message FIFO buffer controller | |
EP0312238A2 (en) | FIFO buffer controller | |
JPH02220293A (en) | Double-port reading/ writing memory | |
JPS5930139A (en) | Bit pattern comparing device | |
US3699528A (en) | Address manipulation circuitry for a digital computer | |
CA1149965A (en) | Buffer memory control system of the swap system | |
JPS63222380A (en) | Disk device | |
US4586162A (en) | Bit pattern check circuit | |
JPS6129024B2 (en) | ||
US4584619A (en) | Programmable servo pattern generator | |
JPS586670A (en) | Picture signal correction system | |
JP3224946B2 (en) | Semiconductor integrated circuit | |
JPS622317A (en) | Multilevel comparison and coincidence detecting circuit | |
JPH01159729A (en) | Symbol string collation memory and its cascade connection system | |
JP2578752Y2 (en) | IC tester | |
JPH0145651B2 (en) | ||
JPS6081660A (en) | Data transfer system | |
JPH0329199A (en) | Semiconductor memory | |
JPH02302855A (en) | Memory control system | |
JPH04289587A (en) | Multiport ram | |
JPS59176851A (en) | Data storing system | |
JPH0778722B2 (en) | Register file method | |
JPH0136137B2 (en) | ||
GB2023895A (en) | Error detection circuit | |
JPS6128150B2 (en) |