JPH06282413A - Comparing circuit - Google Patents

Comparing circuit

Info

Publication number
JPH06282413A
JPH06282413A JP9043593A JP9043593A JPH06282413A JP H06282413 A JPH06282413 A JP H06282413A JP 9043593 A JP9043593 A JP 9043593A JP 9043593 A JP9043593 A JP 9043593A JP H06282413 A JPH06282413 A JP H06282413A
Authority
JP
Japan
Prior art keywords
memory
address
comparison
data
comparison value
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
JP9043593A
Other languages
Japanese (ja)
Inventor
Hiroyuki Ueda
広之 上田
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP9043593A priority Critical patent/JPH06282413A/en
Publication of JPH06282413A publication Critical patent/JPH06282413A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To save an address space and register a reference comparison value by a simple procedure by connecting the data lines of a central processor to the address lines of a memory, connecting some of the address lines of the processor to the data lines of the memory, and storing a comparison result in an address that the reference comparison value in the memory indicates. CONSTITUTION:This circuit consists of the multiport memory 8 which has plural independerit address lines and data lines, the CPU 9 which have its data lines connected to the address lines 1 of the memory 8 and its address lines connected to the data lines 1 of the memory 8 and a decoding circuit, and a circuit 10 which outputs a memory select signal from an address that the CPU 9 outputs to the memory 8. Then the data lines of the CPU 9 are connected to the address lines 1 of the memory 8, and some of the address lines of the CPU 9 are connected to the data lines 1 of the memory 8; and the comparison result is stored in the address indicating the reference comparison value in the memory 8 and a signal to be compared is inputted to the address lines 2 of the memory 8, so that the signal to be compared can be compared with the reference comparison value.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、メモリによってビッ
トパターンの比較を行なう比較回路に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a comparison circuit for comparing bit patterns by a memory.

【0002】[0002]

【従来の技術】従来、比較回路は複数のコンパレータと
レジスタを使って構成されていたが、比較する比較値の
ビット数の増加に伴い、また比較値の数の増加に伴い、
回路規模が大きくなるという問題点があった。この問題
点に対処するために、以下に説明するメモリによる比較
回路が使用されていた。
2. Description of the Related Art Conventionally, a comparison circuit has been constructed by using a plurality of comparators and registers. However, as the number of comparison value bits to be compared increases and the number of comparison values increases,
There is a problem that the circuit scale becomes large. In order to deal with this problem, a memory-based comparator circuit described below has been used.

【0003】図4は従来の比較回路を示す構成図であ
り、図において、1は独立した複数のアドレス線とデー
タ線を持つマルチポートのメモリ、2はメモリ1に接続
されるCPU(中央処理装置)、3はCPU2の出力す
るアドレスよりメモリ選択信号をメモリ1に対して出力
するデコード回路である。また、図5は従来の他の比較
回路を示す構成図であり、図において、4は独立した複
数のアドレス線とデータ線を持つマルチポートのメモ
リ、5はメモリ4に接続されるCPU(中央処理装
置)、6はCPU5の出力するアドレスを入力すること
により、メモリ選択信号をメモリ4に対して出力すると
ともに、比較値ラッチ許可信号を後述する比較値ラッチ
回路に出力するデコード回路、7はCPU5の出力する
CPU出力比較値を入力する比較値ラッチ回路である。
FIG. 4 is a block diagram showing a conventional comparison circuit. In the figure, 1 is a multiport memory having a plurality of independent address lines and data lines, and 2 is a CPU (central processing unit) connected to the memory 1. (Device) 3 is a decode circuit for outputting a memory selection signal to the memory 1 from the address output by the CPU 2. FIG. 5 is a block diagram showing another conventional comparison circuit. In the figure, 4 is a multi-port memory having a plurality of independent address lines and data lines, and 5 is a CPU (central CPU) connected to the memory 4. A processing unit), 6 outputs a memory selection signal to the memory 4 by inputting an address output from the CPU 5, and a decoding circuit 7 which outputs a comparison value latch enable signal to a comparison value latch circuit described later. A comparison value latch circuit for inputting a CPU output comparison value output from the CPU 5.

【0004】次に動作について説明する。まず、図4に
示された従来の比較回路について説明する。ここでは説
明のために、比較の基準となる基準比較値を12h(h
は16進数を表わす)および56hとし、比較結果とし
て一致した場合には1、不一致の場合には0を得るもの
とする。また、メモリ1のアドレス線は8ビット、CP
U2のアドレス線は16ビット幅であるものとする。
Next, the operation will be described. First, the conventional comparison circuit shown in FIG. 4 will be described. Here, for the sake of explanation, the reference comparison value which is a reference for comparison is set to 12h (h
Represents a hexadecimal number) and 56h, and if the comparison results are in agreement, 1 is obtained, and if they are not in agreement, 0 is obtained. Also, the address line of the memory 1 is 8 bits, CP
The U2 address line is assumed to be 16 bits wide.

【0005】始めに、基準比較値(12h,56h)の
メモリ1への登録について説明する。メモリ1のアドレ
ス線1にはCPU2のアドレス線が、またメモリ1のデ
ータ線1にはCPU2のデータ線が接続される。CPU
2はメモリ1を選択するためにアドレス線の上位8ビッ
トに比較回路選択アドレス(例えば40h)をデコード
回路3に対して出力し、下位8ビットには基準比較値
(12h,56h)をメモリ1に対して出力する。ま
た、CPU2はデータ線に登録データ(一致を意味する
1)をメモリ1に対して出力し、書き込み制御信号をメ
モリ1に対して出力することにより、4012h番地お
よび4056h番地に登録データ(1)が書き込まれ
る。ここで、デコード回路3は入力された比較回路選択
アドレス(40h)をデコードしてメモリ選択信号をメ
モリ1に対して出力する。次にCPU2は上記2つの番
地を除く4000h番地から40ffh番地(メモリ1
内の全番地)に対して登録データ(不一致を示す0)を
書き込む。
First, the registration of the reference comparison values (12h, 56h) in the memory 1 will be described. The address line 1 of the memory 1 is connected to the address line of the CPU 2, and the data line 1 of the memory 1 is connected to the data line of the CPU 2. CPU
2 outputs a comparison circuit selection address (for example, 40h) to the decoding circuit 3 in the upper 8 bits of the address line to select the memory 1, and a reference comparison value (12h, 56h) in the lower 8 bits to the memory 1 Output to. Further, the CPU 2 outputs the registration data (1 which means coincidence) to the data line to the memory 1 and outputs the write control signal to the memory 1 to register data (1) at the addresses 4012h and 4056h. Is written. Here, the decoding circuit 3 decodes the input comparison circuit selection address (40h) and outputs a memory selection signal to the memory 1. Next, the CPU 2 selects addresses 4000h to 40ffh (memory 1 except the above two addresses).
The registration data (0 indicating non-coincidence) is written to all the addresses in.

【0006】次に、比較の対象となる被比較信号の比較
について説明する。メモリ1のアドレス線2に対して被
比較信号(例えば12h)が入力されるとデータ線2よ
り比較結果として一致を示す1が出力される。また被比
較信号が78hであったとすると、データ線2より比較
結果として不一致を示す0が出力される。ここで、メモ
リ1の読み出しに必要な各信号(読み出し信号など)は
適切に入力されているものとする。
Next, comparison of compared signals to be compared will be described. When the signal to be compared (for example, 12h) is input to the address line 2 of the memory 1, the data line 2 outputs 1 as a comparison result. If the compared signal is 78h, the data line 2 outputs 0 as a comparison result indicating a mismatch. Here, it is assumed that each signal (read signal or the like) necessary for reading the memory 1 is appropriately input.

【0007】なお、CPU2がアドレス線に出力する比
較回路選択アドレスと基準比較値のビット数の割りあて
は任意でよいが、比較回路選択アドレスには最低1ビッ
トは必要である。従って基準比較値の最大ビット幅はC
PU2のアドレス線のビット幅−1となる。
The CPU 2 outputs the comparison circuit selection address to the address line and the number of bits of the reference comparison value may be arbitrary, but at least one bit is required for the comparison circuit selection address. Therefore, the maximum bit width of the reference comparison value is C
The bit width of the address line of PU2 is -1.

【0008】次に、図5に示された従来の他の比較回路
について説明する。図4の比較回路ではCPU2のアド
レス線から基準比較値を出力していたのとは異なり、こ
の比較回路ではメモリ4に登録する基準比較値をCPU
5のデータ線より出力し、比較値ラッチ回路7に格納し
た後、格納した基準比較値をメモリ4のアドレス線1に
入力する。この場合には、比較値のビット数にかかわら
ず、一定の大きさのアドレス空間で実現できる。
Next, another conventional comparison circuit shown in FIG. 5 will be described. Unlike the comparison circuit of FIG. 4 which outputs the reference comparison value from the address line of the CPU 2, this comparison circuit outputs the reference comparison value registered in the memory 4 to the CPU.
After being output from the data line 5 and stored in the comparison value latch circuit 7, the stored reference comparison value is input to the address line 1 of the memory 4. In this case, regardless of the number of bits of the comparison value, the address space can be realized with a fixed size.

【0009】なお、メモリを使用した比較回路の従来例
として、例えば特開昭59−121537号公報、特開
昭63−85930号公報がある。
Conventional examples of comparison circuits using a memory include, for example, Japanese Patent Laid-Open Nos. 59-121537 and 63-85930.

【0010】[0010]

【発明が解決しようとする課題】従来の比較回路は以上
のように構成されているので、メモリに基準比較値を登
録する際に基準比較値のビット数が増加するに伴い、中
央処理装置の広いアドレス空間が必要となるという問題
点があった。また、これを改良した比較回路では、中央
処理装置のアドレス空間は節約できるが、基準比較値を
登録する際に、ラッチ回路に1度格納する必要があり、
基準比較値の登録手順が複雑になるという問題点があっ
た。
Since the conventional comparison circuit is configured as described above, as the number of bits of the reference comparison value increases when registering the reference comparison value in the memory, the central processing unit of the central processing unit is increased. There is a problem that a wide address space is required. Further, in the comparison circuit improved from this, although the address space of the central processing unit can be saved, it is necessary to store the reference comparison value once in the latch circuit,
There is a problem that the procedure for registering the reference comparison value becomes complicated.

【0011】この発明は上記のような問題点を解消する
ためになされたもので、中央処理装置のアドレス空間を
節約するとともに、簡単な手順で基準比較値を登録でき
る比較回路を得ることを目的とする。
The present invention has been made to solve the above problems, and an object thereof is to obtain a comparison circuit which saves an address space of a central processing unit and can register a reference comparison value by a simple procedure. And

【0012】[0012]

【課題を解決するための手段】請求項1の発明に係る比
較回路は、まず中央処理装置のデータ線をメモリのアド
レス線に接続し、中央処理装置のアドレス線の一部をメ
モリのデータ線に接続することにより、メモリ内の基準
比較値が示すアドレスに比較結果を格納し、次に被比較
信号をメモリのアドレス線に入力することにより、比較
結果を得るものである。
According to another aspect of the present invention, there is provided a comparator circuit in which a data line of a central processing unit is first connected to an address line of a memory, and a part of the address line of the central processing unit is connected to a data line of the memory. By connecting to, the comparison result is stored in the address indicated by the reference comparison value in the memory, and then the compared signal is input to the address line of the memory to obtain the comparison result.

【0013】また、請求項2の発明に係る比較回路は、
まず中央処理装置のデータ線をメモリのアドレス線に接
続し、中央処理装置のデータ線の一部をメモリのデータ
線に接続することにより、メモリ内の基準比較値が示す
アドレスに比較結果を格納し、次に被比較信号をメモリ
のアドレス線に入力することにより、比較結果を得るも
のである。
The comparison circuit according to the invention of claim 2 is
First, the data line of the central processing unit is connected to the address line of the memory, and a part of the data line of the central processing unit is connected to the data line of the memory, so that the comparison result is stored at the address indicated by the reference comparison value in the memory. Then, the compared signal is input to the address line of the memory to obtain the comparison result.

【0014】[0014]

【作用】請求項1の発明における比較回路は、まず中央
処理装置のデータ線をメモリのアドレス線に接続し、中
央処理装置のアドレス線の一部をメモリのデータ線に接
続することにより、メモリ内の基準比較値が示すアドレ
スに比較結果を格納し、次に被比較信号をメモリのアド
レス線に入力することにより、基準比較値と被比較信号
を比較できる。
According to the first aspect of the present invention, in the comparator circuit, the data line of the central processing unit is first connected to the address line of the memory, and a part of the address line of the central processing unit is connected to the data line of the memory. The reference comparison value and the compared signal can be compared by storing the comparison result in the address indicated by the reference comparison value and then inputting the compared signal to the address line of the memory.

【0015】また、請求項2の発明における比較回路
は、まず中央処理装置のデータ線をメモリのアドレス線
に接続し、中央処理装置のデータ線の一部をメモリのデ
ータ線に接続することにより、メモリ内の基準比較値が
示すアドレスに比較結果を格納し、次に被比較信号をメ
モリのアドレス線に入力することにより、基準比較値と
被比較信号を比較できる。
In the comparison circuit according to the second aspect of the present invention, first, the data line of the central processing unit is connected to the address line of the memory, and a part of the data line of the central processing unit is connected to the data line of the memory. By storing the comparison result in the address indicated by the reference comparison value in the memory and then inputting the compared signal to the address line of the memory, the reference comparison value and the compared signal can be compared.

【0016】[0016]

【実施例】【Example】

実施例1.以下、請求項1の発明の一実施例を図につい
て説明する。図1は請求項1の発明による比較回路の一
実施例を示す構成図、図2は請求項1の発明による比較
回路の一実施例の登録時の動作を示す図、図3は請求項
1の発明による比較回路の一実施例の比較時の動作を示
す図である。図において、従来のものと同一符号は同一
または相当部分を示すので説明を省略する。8は独立し
た複数のアドレス線とデータ線を持つマルチポートのメ
モリ、9はデータ線がメモリ8のアドレス線1に、また
アドレス線がメモリ8のデータ線1と後述するデコード
回路10に接続されるCPU(中央処理装置)、10は
CPU9の出力するアドレスよりメモリ選択信号をメモ
リ8に対して出力するデコード回路である。
Example 1. An embodiment of the invention of claim 1 will be described below with reference to the drawings. 1 is a block diagram showing an embodiment of a comparison circuit according to the invention of claim 1, FIG. 2 is a diagram showing an operation at the time of registration of an embodiment of the comparison circuit according to the invention of claim 1, and FIG. FIG. 6 is a diagram showing an operation at the time of comparison of an embodiment of the comparison circuit according to the invention of FIG. In the figure, the same reference numerals as those of the conventional one indicate the same or corresponding portions, and the explanation thereof will be omitted. 8 is a multi-port memory having a plurality of independent address lines and data lines, 9 is a data line connected to the address line 1 of the memory 8, and an address line is connected to the data line 1 of the memory 8 and a decoding circuit 10 described later. A CPU (Central Processing Unit) 10 is a decoding circuit for outputting a memory selection signal to the memory 8 from an address output by the CPU 9.

【0017】次に動作について説明する。ここでは説明
のために、比較の基準となる基準比較値をAAh(hは
16進数を表わす。2進では”10101010”)と
し、比較結果として一致した場合には1、不一致の場合
には0を得るものとする。また、メモリ8のアドレス線
は8ビット幅、CPU9のアドレス線およびデータ線は
8ビット幅であるものとする。
Next, the operation will be described. Here, for the sake of explanation, the reference comparison value serving as a reference for comparison is AAh (h represents a hexadecimal number, “10101010” in binary), 1 if the comparison result is a match, and 0 if there is no match. Shall be obtained. Further, it is assumed that the address line of the memory 8 has an 8-bit width and the address line and the data line of the CPU 9 have an 8-bit width.

【0018】始めに、基準比較値(AAh)のメモリ8
への登録について説明する。CPU9はメモリ8を選択
するためにアドレス線の8ビット中上位7ビットに比較
回路選択アドレス(例えば“0011000”)をデコ
ード回路10に対して出力し、下位1ビットには登録デ
ータ(一致を示す“1”)をメモリ8のデータ線1に対
して出力する。すなわち、CPU9のアドレス線には
“00110001”(31h)が出力される。
First, the reference comparison value (AAh) memory 8
The registration to is explained. In order to select the memory 8, the CPU 9 outputs a comparison circuit selection address (for example, "0011000") to the decoding circuit 10 in the upper 7 bits of the 8 bits of the address line, and the registration data (indicating a match) in the lower 1 bit. “1”) is output to the data line 1 of the memory 8. That is, "00110001" (31h) is output to the address line of the CPU 9.

【0019】また、CPU9はデータ線に基準比較値
(すなわち、この値と一致する値がメモリ8に入力され
たとき、一致と判断する値。ここでは“1010101
0”(AAh))をメモリ8のアドレス線1に対して出
力し、書き込み制御信号をアクティブにしてメモリ8に
対して出力することにより、メモリ8のAAh番地に登
録データ(1)が書き込まれる。ここで、デコード回路
10は入力された比較回路選択アドレス(31h)の上
位7ビットをデコードしてメモリ選択信号をアクティブ
にしてメモリ8に対して出力している。
Further, the CPU 9 judges that there is a match when the reference comparison value (that is, a value matching this value is input to the memory 8 on the data line. Here, "1010101".
The registration data (1) is written in the address AAh of the memory 8 by outputting 0 ″ (AAh)) to the address line 1 of the memory 8 and activating the write control signal to output to the memory 8. Here, the decode circuit 10 decodes the upper 7 bits of the input comparison circuit selection address (31h), activates the memory selection signal, and outputs it to the memory 8.

【0020】次にCPU9は上記AAh番地を除く00
h番地からffh番地(メモリ8内の全番地)に対して
登録データ(不一致を示す0)を書き込むために、アド
レス線に30h(上位7ビットが“0011000”、
下位1ビットには登録データの“0”),データ線に上
記AAh番地を除く00hからffhまでのデータを出
力する。
Next, the CPU 9 removes the above address AAh 00
In order to write the registration data (0 indicating non-coincidence) from the address h to the address ffh (all addresses in the memory 8), 30h (the upper 7 bits are “0011000”,
Registered data "0") is output to the lower 1 bit, and data from 00h to ffh excluding the address AAh is output to the data line.

【0021】次に、比較の対象となる被比較信号の比較
について説明する。これは、従来の比較回路と同様であ
り、メモリ8のアドレス線2に対して被比較信号(例え
ばAAh)が入力されるとデータ線2より比較結果とし
て一致を示す1が出力される。また被比較信号が78h
であったとすると、データ線2より比較結果として不一
致を示す0が出力される。ここで、メモリ8の読み出し
に必要な各信号(読み出し信号など)は適切に入力され
ているものとする。以上のように、必要なアドレスは3
0hと31hの2つで十分である。また、基準比較値の
最大ビット幅はCPU9のデータ線のビット幅となる。
Next, comparison of compared signals to be compared will be described. This is similar to the conventional comparison circuit, and when a signal to be compared (for example, AAh) is input to the address line 2 of the memory 8, the data line 2 outputs 1 as a comparison result. Also, the compared signal is 78h
Then, 0 is output from the data line 2 as a comparison result indicating a mismatch. Here, it is assumed that each signal (read signal or the like) necessary for reading the memory 8 is appropriately input. As mentioned above, the required address is 3
Two of 0h and 31h is sufficient. The maximum bit width of the reference comparison value is the bit width of the data line of the CPU 9.

【0022】実施例2.以下、請求項2の発明の一実施
例を説明する。実施例1では登録データをCPU9のア
ドレス線から出力したが、CPU9のデータ線の1ビッ
トを使用することにより、同様の比較回路が得られる。
この場合、必要なアドレスはメモリ8を選択するための
1アドレス(例えば30h)で十分である。また、基準
比較値の最大ビット幅はCPU9のデータ線のビット幅
−1となる。
Example 2. An embodiment of the invention of claim 2 will be described below. Although the registration data is output from the address line of the CPU 9 in the first embodiment, the same comparison circuit can be obtained by using 1 bit of the data line of the CPU 9.
In this case, one address (for example, 30h) for selecting the memory 8 is sufficient as the necessary address. Also, the maximum bit width of the reference comparison value is the bit width of the data line of the CPU 9 minus 1.

【0023】実施例3.以下、請求項1または請求項2
の発明の他の実施例を説明する。実施例1または実施例
2では登録データを一致を示す1と不一致を示す0の2
値としたが、このビット数を増やすことで、例えば2ビ
ットの場合には、不一致、グループ1に一致、グループ
2に一致およびグループ3に一致の4通りの比較が可能
になる。
Example 3. Hereinafter, claim 1 or claim 2
Another embodiment of the invention will be described. In the first or the second embodiment, the registered data is 1 indicating a match and 2 of 0 indicating a mismatch.
Although the value is used, by increasing the number of bits, for example, in the case of 2 bits, it is possible to perform four kinds of comparisons such as mismatch, match in group 1, match in group 2 and match in group 3.

【0024】実施例4.以下、請求項1および請求項2
の発明のまた他の実施例を説明する。実施例1〜3では
独立した複数のアドレス線とデータ線をもつマルチポー
トのメモリを使ったが、基準比較値の登録時と比較時で
アドレス線とデータ線をCPU側と被比較信号側に切り
替える信号切り替え回路を設けることにより、アドレス
線とデータ線をそれぞれ1ポートのみ持つメモリを使う
ことができる。
Example 4. Hereinafter, claim 1 and claim 2
Another embodiment of the invention will be described. In Examples 1 to 3, a multiport memory having a plurality of independent address lines and data lines was used, but the address line and the data line are provided to the CPU side and the compared signal side at the time of registration and comparison of the reference comparison value. By providing a signal switching circuit for switching, a memory having only one port for each address line and data line can be used.

【0025】[0025]

【発明の効果】以上のように、請求項1の発明によれば
比較回路を、まず中央処理装置のデータ線をメモリのア
ドレス線に接続し、中央処理装置のアドレス線の一部を
メモリのデータ線に接続することにより、メモリ内の基
準比較値が示すアドレスに比較結果を格納し、次に被比
較信号をメモリのアドレス線に入力することにより、基
準比較値と被比較信号を比較するように構成したので、
中央処理装置のアドレス空間を節約できるとともに、簡
単な手順で基準比較値を登録できる比較回路が得られる
という効果がある。
As described above, according to the first aspect of the present invention, in the comparison circuit, the data line of the central processing unit is first connected to the address line of the memory, and a part of the address line of the central processing unit is connected to the memory. By connecting to the data line, the comparison result is stored in the address indicated by the reference comparison value in the memory, and then the compared signal is input to the address line of the memory to compare the reference comparison value and the compared signal. Since it was configured as
The address space of the central processing unit can be saved, and a comparison circuit capable of registering the reference comparison value can be obtained by a simple procedure.

【0026】また、請求項2の発明によれば比較回路
を、まず中央処理装置のデータ線をメモリのアドレス線
に接続し、中央処理装置のデータ線の一部をメモリのデ
ータ線に接続することにより、メモリ内の基準比較値が
示すアドレスに比較結果を格納し、次に被比較信号をメ
モリのアドレス線に入力することにより、基準比較値と
被比較信号を比較するように構成したので、簡単な手順
で基準比較値を登録できる比較回路が得られるという効
果がある。また、必要なアドレスはただ1つであるの
で、中央処理装置のアドレス空間をより節約できるとい
う効果がある。
According to the second aspect of the invention, in the comparison circuit, the data line of the central processing unit is first connected to the address line of the memory, and a part of the data line of the central processing unit is connected to the data line of the memory. As a result, the comparison result is stored at the address indicated by the reference comparison value in the memory, and then the reference comparison value and the comparison signal are compared by inputting the comparison signal to the address line of the memory. There is an effect that a comparison circuit capable of registering a reference comparison value can be obtained by a simple procedure. Further, since only one address is required, the address space of the central processing unit can be saved more effectively.

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

【図1】請求項1の発明による比較回路の一実施例を示
す構成図である。
FIG. 1 is a configuration diagram showing an embodiment of a comparison circuit according to the invention of claim 1;

【図2】請求項1の発明による比較回路の一実施例の登
録時の動作を示す図である。
FIG. 2 is a diagram showing an operation at the time of registration of an embodiment of the comparison circuit according to the invention of claim 1;

【図3】請求項1の発明による比較回路の一実施例の比
較時の動作を示す図である。
FIG. 3 is a diagram showing an operation at the time of comparison of an embodiment of the comparison circuit according to the invention of claim 1;

【図4】従来の比較回路を示す構成図である。FIG. 4 is a configuration diagram showing a conventional comparison circuit.

【図5】従来の他の比較回路を示す構成図である。FIG. 5 is a configuration diagram showing another conventional comparison circuit.

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

8 メモリ 9 CPU(中央処理装置) 8 memory 9 CPU (central processing unit)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 データの登録時には、データ線から比較
の基準となる基準比較値を出力するとともに、アドレス
線から登録データを出力する中央処理装置と、データの
登録時には、上記基準比較値が示すアドレスに上記登録
データが書き込まれ、データの比較時には、上記基準比
較値と比較される被比較信号が示すアドレスより上記登
録データが比較結果として読み出されるメモリとを備え
た比較回路。
1. A central processing unit which outputs a reference comparison value serving as a reference for comparison from a data line at the time of data registration and outputs registered data from an address line, and the reference comparison value at the time of data registration. A comparison circuit comprising a memory in which the registration data is written in an address, and when the data is compared, the registration data is read out as a comparison result from the address indicated by the compared signal to be compared with the reference comparison value.
【請求項2】 データの登録時には、データ線から比較
の基準となる基準比較値および登録データを出力する中
央処理装置と、データの登録時には、上記基準比較値が
示すアドレスに上記登録データが書き込まれ、データの
比較時には、上記基準比較値と比較される被比較信号が
示すアドレスより上記登録データが比較結果として読み
出されるメモリとを備えた比較回路。
2. A central processing unit that outputs a reference comparison value and registration data as a reference for comparison from a data line when registering data, and the registration data is written to an address indicated by the reference comparison value when registering data. And a memory for reading the registered data as a comparison result from the address indicated by the compared signal to be compared with the reference comparison value during data comparison.
JP9043593A 1993-03-26 1993-03-26 Comparing circuit Pending JPH06282413A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9043593A JPH06282413A (en) 1993-03-26 1993-03-26 Comparing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9043593A JPH06282413A (en) 1993-03-26 1993-03-26 Comparing circuit

Publications (1)

Publication Number Publication Date
JPH06282413A true JPH06282413A (en) 1994-10-07

Family

ID=13998535

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9043593A Pending JPH06282413A (en) 1993-03-26 1993-03-26 Comparing circuit

Country Status (1)

Country Link
JP (1) JPH06282413A (en)

Similar Documents

Publication Publication Date Title
JPS605497A (en) Memory width expanding device of associative memory
JPH0770240B2 (en) Semiconductor integrated circuit
JPH01223697A (en) Contents addressing storage device
US5657291A (en) Multiport register file memory cell configuration for read operation
JPS6215896B2 (en)
JPS62214599A (en) Semiconductor memory device
US7107392B2 (en) Content addressable memory (CAM) device employing a recirculating shift register for data storage
JPH06282413A (en) Comparing circuit
US6535992B1 (en) DRAM auto-swapping device
US6460091B1 (en) Address decoding circuit and method for identifying individual addresses and selecting a desired one of a plurality of peripheral macros
US7389368B1 (en) Inter-DSP signaling in a multiple DSP environment
JPH0540836A (en) Single chip microcomputer
JP3224946B2 (en) Semiconductor integrated circuit
US6711664B1 (en) Method and system for decoding a row address to assert multiple adjacent rows in a memory structure
JP2702277B2 (en) Microcomputer with built-in PROM
JPS622317A (en) Multilevel comparison and coincidence detecting circuit
JPH06251589A (en) Associative memory input/output control circuit
JPH05334189A (en) Data storage device
JPH0520866A (en) Memory
JPH04283845A (en) Cache memory identity processing circuit
JPS61131035A (en) Data comparator circuit
JPS62229452A (en) Peripheral module access system
JPH01159729A (en) Symbol string collation memory and its cascade connection system
JPH09305476A (en) Data processor
JPS62259158A (en) Interruption request circuit