JPH09305476A - Data processor - Google Patents

Data processor

Info

Publication number
JPH09305476A
JPH09305476A JP14507496A JP14507496A JPH09305476A JP H09305476 A JPH09305476 A JP H09305476A JP 14507496 A JP14507496 A JP 14507496A JP 14507496 A JP14507496 A JP 14507496A JP H09305476 A JPH09305476 A JP H09305476A
Authority
JP
Japan
Prior art keywords
data
signal
address
search
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
Application number
JP14507496A
Other languages
Japanese (ja)
Inventor
Hisashi Tada
久 多田
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.)
Kokusai Electric Corp
Original Assignee
Kokusai 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 Kokusai Electric Corp filed Critical Kokusai Electric Corp
Priority to JP14507496A priority Critical patent/JPH09305476A/en
Publication of JPH09305476A publication Critical patent/JPH09305476A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce tasks that a CPU should perform for data retrieval and shorten a search time. SOLUTION: To search for data, an address signal outputted by an address generating circuit 12 is led to an SRAM 3 by a selector 11 and a data signal outputted by this SRAM 3 is led to a comparing circuit 16 by a distributing circuit 14. Then the comparing circuit 15 masks some bits of a search data signal outputted from a search data register 16 with mask data outputted by a mask register 17, compares the partially masked search data signal and the output data signal of the SRAM 3 with each other, and outputs a coincidence signal to the address generating circuit 12 when they match each other. Then the address generating circuit 12 once inputting the coincidence signal stores the corresponding address signal in a matching address storage register 13.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、データ処理装
置、詳しくは、RAMに格納されたデータの探索に連想
メモリと同等の探索機能を実現し、データ検索の高速化
を図ったデータ処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing device, and more particularly, to a data processing device which realizes a search function equivalent to an associative memory for searching data stored in a RAM and speeds up data search. .

【0002】[0002]

【従来の技術】コンピュータに代表されるデータ処理装
置は、図3に示すように、データを演算処理するCPU
(Central Processing Unit)1、命令コードを格納し
たROM2(Read Only Memory)およびデータを格納し
たSRAM(Static Random Access Memory)3を有
し、これらCPU1,ROM2,SRAM3をアドレス
信号の経路であるアドレスバス4とデータ信号の経路で
あるデータバス5で接続して構成される。
2. Description of the Related Art As shown in FIG. 3, a data processing device represented by a computer is a CPU for processing data.
(Central Processing Unit) 1, ROM 2 (Read Only Memory) storing instruction code, and SRAM (Static Random Access Memory) 3 storing data 4 and a data bus 5 which is a data signal path.

【0003】このようなデータ処理装置にあっては、デ
ータ処理に際して、CPU1がROM2の命令コードが
格納されているアドレス信号をアドレスバス4に出力
し、ROM2がアドレス信号に応答して命令コードをデ
ータバス5に出力する。そして、CPU1は、ROM2
から出力された命令コードを読み込み、この命令コード
に基づきタスクを実行して種々のデータ処理を行う。
In such a data processing device, during data processing, the CPU 1 outputs an address signal storing the instruction code of the ROM 2 to the address bus 4, and the ROM 2 outputs the instruction code in response to the address signal. Output to the data bus 5. Then, the CPU 1 uses the ROM 2
The instruction code output from the device is read, a task is executed based on this instruction code, and various data processing is performed.

【0004】また、データ探索を行う場合は、CPU1
は探索すべきデータが格納されているSRAM3のアド
レス信号をアドレスバス4に出力し、SRAM4がアド
レス信号に応じたデータをデータバス5に出力する。そ
して、CPU1はSRAM3が出力するデータを読み込
み、このデータを比較演算してデータの探索結果等を格
納する。
When performing data search, the CPU 1
Outputs the address signal of the SRAM 3 in which the data to be searched is stored to the address bus 4, and the SRAM 4 outputs the data corresponding to the address signal to the data bus 5. Then, the CPU 1 reads the data output from the SRAM 3, compares the data, and stores the data search result and the like.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上述し
たデータ処理装置にあっては、CPU1は1のタスク毎
に命令コードを読み込まなければならないため、データ
探索を行う場合は各タスク毎、すなわち、SRAM3の
データの読み込み、データの比較演算、比較演算結果の
格納等の動作の前にROM2から命令コードを読み取る
という動作を行うことが不可欠である。
However, in the above-described data processing device, the CPU 1 has to read the instruction code for each task, so that when searching for data, each task, that is, the SRAM 3 is performed. It is essential to perform the operation of reading the instruction code from the ROM 2 before the operation of reading the data, the comparison operation of the data, the storage of the comparison operation result, and the like.

【0006】したがって、1アドレスデータを読み出し
て探索結果を格納するまでには、図4に示すように、R
OMリードサイクル、SRAMリードサイクル、ROM
リードサイクル、データ比較サイクル、ROMリードサ
イクルおよびデータ格納サイクルの少なくとも6つのサ
イクルを行う時間が(比較時間)が必要であり、CPU
1の動作が冗長化し、また、データ探索に要する処理時
間が長大化するという問題があった。この発明は、上記
問題に鑑みてなされたもので、データ探索に際してのC
PUの冗長的な動作を廃することができ、また、データ
探索の高速化を可能とするデータ処理装置を提供するこ
とを目的とする。
Therefore, before reading one address data and storing the search result, as shown in FIG.
OM read cycle, SRAM read cycle, ROM
A time (comparison time) for performing at least 6 cycles of a read cycle, a data comparison cycle, a ROM read cycle and a data storage cycle is required, and the CPU
There is a problem that the operation of No. 1 becomes redundant and the processing time required for data search becomes long. The present invention has been made in view of the above problems, and is a C
It is an object of the present invention to provide a data processing device capable of eliminating the redundant operation of the PU and speeding up the data search.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するた
め、この発明は、CPUをROMとRAMにデータバス
およびアドレスバスで接続したデータ処理装置におい
て、探索制御信号に応答してアドレス信号を出力するア
ドレス発生回路と、前記探索制御信号に応じて前記アド
レス発生回路が出力するアドレス信号または前記アドレ
スバスのアドレス信号を選択的に前記RAMに出力する
セレクタと、探索データ信号を格納する探索データレジ
スタと、該探索データレジスタの出力する探索データ信
号と前記RAMの出力信号が一致するか否かを比較し、
一致する場合に一致信号を出力する比較回路と、前記探
索制御信号に応じて前記RAMの出力するデータ信号を
前記比較回路または前記データバスに選択的に出力する
分配回路と、前記比較回路が一致信号を出力する時に前
記アドレス発生回路の出力アドレス信号を格納する一致
アドレス格納レジスタとを設けた。
To achieve the above object, the present invention provides an address signal in response to a search control signal in a data processing device in which a CPU is connected to a ROM and a RAM via a data bus and an address bus. Address generating circuit, a selector for selectively outputting the address signal output by the address generating circuit or the address signal of the address bus to the RAM according to the search control signal, and a search data register for storing the search data signal. And whether or not the search data signal output from the search data register and the output signal from the RAM match,
The comparison circuit that outputs a match signal when they match, the distribution circuit that selectively outputs the data signal output from the RAM to the comparison circuit or the data bus in response to the search control signal, and the comparison circuit match A match address storage register is provided for storing the output address signal of the address generation circuit when the signal is output.

【0008】CPU、ROM、RAM、データバスおよ
びアドレスバスは周知のものを用いることができるが、
CPUは探索制御信号と探索データ信号を出力するよう
に構成する。アドレス発生回路は、デコーダ等から構成
され、探索制御信号に応答して(探索制御信号がイネイ
ブルの場合)アドレス信号を所定周期で順次出力し、ま
た、比較回路が一致信号を出力すると該当するアドレス
信号を一致アドレス格納レジスタに出力する。そして、
このアドレス発生回路は、アドレス信号の発生期間中、
すなわち、探索状態を識別するための探索状態信号をC
PU等に出力するように構成される。
Known CPUs, ROMs, RAMs, data buses and address buses can be used.
The CPU is configured to output the search control signal and the search data signal. The address generation circuit is composed of a decoder, etc., and sequentially outputs address signals in a predetermined cycle in response to the search control signal (when the search control signal is enabled), and when the comparison circuit outputs a match signal, the corresponding address is output. The signal is output to the match address storage register. And
This address generation circuit, during the generation period of the address signal,
That is, the search state signal for identifying the search state is C
It is configured to output to a PU or the like.

【0009】セレクタは、ゲート回路等から構成され、
探索制御信号がディセイブルであればデータバスのアド
レス信号をRAMに、探索制御信号がイネイブルであれ
ばアドレス発生回路が出力するアドレス信号をRAMに
出力する。探索データレジスタは探索データを格納し、
また、一致アドレス格納レジスタは比較回路の一致信号
出力時にアドレス発生回路から入力するアドレス信号、
すなわち、データの比較結果が一致したアドレスデータ
を格納する。
The selector is composed of a gate circuit and the like,
If the search control signal is disabled, the address signal of the data bus is output to the RAM, and if the search control signal is enabled, the address signal output from the address generation circuit is output to the RAM. The search data register stores search data,
The match address storage register is an address signal input from the address generation circuit when the match signal of the comparison circuit is output.
That is, the address data whose data comparison result matches is stored.

【0010】比較回路は、排他的論理和回路(Exclusiv
e OR)等から構成され、RAMがアドレス信号に応答し
て出力するデータ信号と探索データレジスタが出力する
探索データ信号とを比較して一致する場合に一致信号
を、一致しない場合に不一致信号を比較結果信号として
出力する。これら一致信号および不一致信号(比較結果
信号)としては数ビットのフラグ等が採用される。望ま
しい態様としては、この比較回路にはマスクデータ信号
を格納したマスクレジスタを接続し、比較回路に入力す
る探索データ信号の一部あるいはRAMの出力データ信
号の一部をマスクし、比較回路の比較作動を高速化す
る。
The comparison circuit is an exclusive OR circuit (Exclusiv
Comparing the data signal output from the RAM in response to the address signal with the search data signal output from the search data register, a match signal is output if they match, and a mismatch signal is output if they do not match. Output as a comparison result signal. As the match signal and the mismatch signal (comparison result signal), a flag of several bits is used. In a preferred mode, a mask register storing a mask data signal is connected to the comparison circuit, and a part of the search data signal input to the comparison circuit or a part of the output data signal of the RAM is masked to compare the comparison circuit. Speed up the operation.

【0011】この発明にかかるデータ処理装置は、探索
制御信号の出力によりアドレス発生回路がアドレス信号
を順次出力し、このアドレス信号がセレクタを経てRA
Mに入力し、RAMがアドレス信号に対応したデータ信
号を出力し、このデータ信号が分配回路を経て比較回路
に入力する。そして、比較回路が探索データレジスタか
ら出力される探索データ信号とRAMのデータ信号とを
比較して一致する場合に一致信号を出力し、一致信号の
出力によりアドレス発生回路が該当するアドレス信号を
一致アドレス格納レジスタに出力して一致アドレス格納
レジスタに格納する。したがって、CPUの動作回数を
少なくでき、データの探索を高速化することができる。
In the data processing device according to the present invention, the address generation circuit sequentially outputs the address signals in response to the output of the search control signal, and the address signals pass through the selector to RA.
Input to M, the RAM outputs a data signal corresponding to the address signal, and this data signal is input to the comparison circuit via the distribution circuit. Then, the comparison circuit compares the search data signal output from the search data register with the data signal of the RAM and outputs a match signal when they match, and the address generation circuit matches the corresponding address signal by the output of the match signal. It is output to the address storage register and stored in the match address storage register. Therefore, the number of CPU operations can be reduced, and data search can be speeded up.

【0012】[0012]

【発明の実施の形態】以下、この発明の実施の形態を図
面を参照して説明する。図1および図2はこの発明の一
の実施の形態にかかるデータ処理装置を示し、図1がブ
ロック図、図2がデータ探索時のタイミングチャートで
ある。なお、前述した図3と同一の部分には同一の番号
を付して図示と一部の説明を割愛する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. 1 and 2 show a data processing device according to an embodiment of the present invention, FIG. 1 is a block diagram, and FIG. 2 is a timing chart at the time of data search. The same parts as those in FIG. 3 described above are designated by the same reference numerals, and illustration and part of the description are omitted.

【0013】図1において、11はアドレスバス4とS
RAM3との間に介装されたセレクタ、12はアドレス
発生回路、13は一致アドレス格納レジスタ、14はS
RAM3とデータバス5との間に介装された分配回路、
15は比較回路、16は探索データレジスタ、17はマ
スクレジスタである。
In FIG. 1, 11 is an address bus 4 and S.
A selector interposed between the RAM 3 and 12; an address generation circuit 12; a match address storage register 13;
A distribution circuit interposed between the RAM 3 and the data bus 5,
Reference numeral 15 is a comparison circuit, 16 is a search data register, and 17 is a mask register.

【0014】セレクタ11には、アドレス発生回路12
がアドレスバス4と並列的に接続し、また、図外のCP
U1に接続してCPU1から探索制御信号が入力する。
このセレクタ11は、探索制御信号がディセイブルの場
合はアドレスバス4をSRAM3のデコーダ等に接続
(アドレス信号を出力)し、探索制御信号がイネイブル
の場合にアドレス発生回路12をSRAM3のデコーダ
に接続する。
The selector 11 includes an address generation circuit 12
Connected in parallel with the address bus 4, and the CP not shown
A search control signal is input from the CPU 1 by connecting to U1.
The selector 11 connects the address bus 4 to the decoder of the SRAM 3 (outputs an address signal) when the search control signal is disabled, and connects the address generation circuit 12 to the decoder of the SRAM 3 when the search control signal is enabled. .

【0015】アドレス発生回路12は、CPU1、一致
アドレス格納レジスタ13および比較回路15と接続
し、CPU1から探索制御信号が、比較回路15から比
較結果信号が入力し、また、CPU1に作動状態を示す
探索状態信号を出力する。このアドレス発生回路12
は、探索制御信号がイネイブルの場合にアドレス信号を
セレクタ11に所定周期で順次出力し、これらアドレス
信号についての比較結果信号が比較回路15から入力す
る。そして、このアドレス発生回路12は、比較結果信
号が一致したことを示す一致信号であれば対応するアド
レス信号を一致アドレス格納レジスタ13に出力し、ま
た、探索状態信号によりアドレス信号の出力中か否かを
報知する。
The address generation circuit 12 is connected to the CPU 1, the match address storage register 13 and the comparison circuit 15, receives the search control signal from the CPU 1 and the comparison result signal from the comparison circuit 15, and indicates the operating state to the CPU 1. Outputs the search state signal. This address generation circuit 12
When the search control signal is enabled, the address signal is sequentially output to the selector 11 at a predetermined cycle, and the comparison result signal for these address signals is input from the comparison circuit 15. Then, the address generation circuit 12 outputs a corresponding address signal to the match address storage register 13 if it is a match signal indicating that the comparison result signals match, and whether or not the address signal is being output by the search state signal. I will inform you.

【0016】一致アドレス格納レジスタ13は、アドレ
ス発生回路12が出力するアドレス信号を格納する。こ
の一致アドレス格納レジスタ13に格納されたアドレス
信号はCPU1により読み出され、CPU1は一致アド
レス格納レジスタ13から読み出したアドレス信号を基
にSRAM3の格納データを読み出す。
The match address storage register 13 stores the address signal output from the address generation circuit 12. The address signal stored in the match address storage register 13 is read by the CPU 1, and the CPU 1 reads the data stored in the SRAM 3 based on the address signal read from the match address storage register 13.

【0017】分配回路14は、入力側にSRAM3が、
出力側にデータバス5と比較回路15が接続し、また、
CPU1と接続して探索制御信号が入力する。この分配
回路14は、探索制御信号がディセイブルの場合はSR
AM3の出力データ信号をデータバス5に出力し、探索
制御信号がイネイブルの場合はSRAM3の出力データ
信号を比較回路15に出力する。
The distribution circuit 14 has the SRAM 3 on the input side,
The data bus 5 and the comparison circuit 15 are connected to the output side, and
A search control signal is input by connecting to the CPU 1. This distribution circuit 14 uses SR when the search control signal is disabled.
The output data signal of AM3 is output to the data bus 5, and when the search control signal is enabled, the output data signal of SRAM3 is output to the comparison circuit 15.

【0018】比較回路15は、分配回路14と並列的に
探索データレジスタ16が接続して探索データ信号が入
力し、また、マスクレジスタ17が接続してマスクデー
タ信号が入力する。この比較回路15は、探索データレ
ジスタ16から入力する探索データ信号の一部のビット
をマスクレジスタ17から入力するマスクデータ信号に
よりマスクし、この一部マスクされた検索データ信号と
分配回路14を経て入力するSRAM3の出力データ信
号とを比較する。そして、比較回路15は、一部マスク
された検索データ信号と出力データ信号が一致した場合
に一致信号をアドレス発生回路12に出力する。
In the comparison circuit 15, the search data register 16 is connected in parallel with the distribution circuit 14 to input the search data signal, and the mask register 17 is connected to input the mask data signal. The comparison circuit 15 masks a part of the bits of the search data signal input from the search data register 16 with the mask data signal input from the mask register 17, and passes through the partially masked search data signal and the distribution circuit 14. The input output data signal of the SRAM 3 is compared. Then, the comparison circuit 15 outputs a match signal to the address generation circuit 12 when the partially masked search data signal and the output data signal match.

【0019】探索データレジスタ16は、CPU1と接
続され、CPU1が出力する探索データ信号を格納す
る。マスクレジスタ17は、CPU1と接続され、CP
U1が出力するマスクデータ信号を格納する。なお、マ
スクレジスタ17には一定のマスクデータ(信号)を固
定的に格納することも可能である。
The search data register 16 is connected to the CPU 1 and stores a search data signal output by the CPU 1. The mask register 17 is connected to the CPU 1 and
The mask data signal output by U1 is stored. The mask register 17 can also store fixed mask data (signal) in a fixed manner.

【0020】この実施の形態にあっては、通常のデータ
書込や読出を行う場合、CPU1がディセイブルの探索
制御信号を出力し、セレクタ11がアドレスバス4のア
ドレス信号をSRAM3に、分配回路14がSRAM3
の出力データ信号をデータバス5に出力する。このた
め、CPU1がアドレス信号をアドレスバス4に出力す
ると、このアドレス信号がSRAM3に入力してSRA
M3が該当するアドレスの格納データをデータバス5に
出力する。したがって、SRAM3からのデータ読出や
データの書込が一般のデータ処理装置と同様に行え、通
常のデータ処理を行える。
In this embodiment, when performing normal data writing and reading, the CPU 1 outputs a disable search control signal, and the selector 11 outputs the address signal of the address bus 4 to the SRAM 3 and the distribution circuit 14. Is SRAM3
The output data signal of is output to the data bus 5. Therefore, when the CPU 1 outputs an address signal to the address bus 4, this address signal is input to the SRAM 3 and the SRA
M3 outputs the stored data at the corresponding address to the data bus 5. Therefore, the data reading from the SRAM 3 and the data writing can be performed in the same manner as a general data processing device, and normal data processing can be performed.

【0021】一方、データ探索を行う場合は、CPU1
がイネイブルの探索制御信号を出力する。このため、ア
ドレス発生回路12がアドレス信号を所定の周期で順次
出力し、セレクタ11がアドレス発生回路12の出力す
るアドレス信号をSRAM3に出力し、また、このアド
レス信号に基づきSRAM3が出力するデータ信号を分
配回路14が比較回路15に出力する。
On the other hand, when performing data search, the CPU 1
Outputs an enable search control signal. Therefore, the address generation circuit 12 sequentially outputs the address signal at a predetermined cycle, the selector 11 outputs the address signal output from the address generation circuit 12 to the SRAM 3, and the data signal output from the SRAM 3 based on the address signal. Is output to the comparison circuit 15 by the distribution circuit 14.

【0022】そして、比較回路14は、探索データレジ
スタ16から入力する探索データ信号の一部のビットを
マスクレジスタ17から入力するマスクデータ信号によ
りマスクし、この一部マスクされた探索データ信号と分
配回路14が出力するデータ信号とを照合し、一致する
場合に一致信号をアドレス発生回路12に出力する。そ
して、アドレス発生回路12は、比較回路14から一致
信号が入力すると、該当するアドレス信号、すなわち、
比較結果が一致したデータのアドレスを一致アドレス格
納レジスタ13に出力して格納する。
Then, the comparison circuit 14 masks a part of the bits of the search data signal input from the search data register 16 with the mask data signal input from the mask register 17, and distributes the masked search data signal and the partially masked search data signal. The data signal output from the circuit 14 is collated, and if they match, a match signal is output to the address generation circuit 12. When the match signal is input from the comparison circuit 14, the address generation circuit 12 receives the corresponding address signal, that is,
The address of the data whose comparison result matches is output to the match address storage register 13 and stored.

【0023】また、アドレス発生回路12は、SRAM
3の全アドレスに対応するアドレス信号の出力が完了、
すなわち、探索が終了すると、探索終了信号をCPU1
に出力する。このため、CPU1は、探索制御信号をデ
ィセイブルとするとともに、一致アドレス格納レジスタ
13からアドレス信号を読み出し、この読み出したアド
レス信号によりSRAM3から一致するデータ信号を読
み出す。
The address generation circuit 12 is an SRAM.
Output of address signals corresponding to all addresses of 3 is completed,
That is, when the search ends, the search end signal is sent to the CPU 1
Output to Therefore, the CPU 1 disables the search control signal, reads the address signal from the match address storage register 13, and reads the matching data signal from the SRAM 3 by the read address signal.

【0024】上述のように、この実施の形態にかかるデ
ータ処理装置は、CPU1がイネイブルの探索制御信号
を出力するのみでデータ探索を行え、データ探索に際し
てCPU1が他のタスクを実行する必要がない。このた
め、図2に示すように、データ探索に際しては、CPU
1が1回のROMリードサイクルを実行した後は、CP
U1がタスクを実行することなくSRAM3の各アドレ
スデータの読出から比較までが順次行われる。すなわ
ち、1アドレスデータの比較時間に付いての対比からも
明らかなように、1アドレスデータの比較処理はCPU
1に依存しないSRAMリードサイクル、データ比較サ
イクルおよびデータ格納サイクルからなり、1アドレス
データの比較時間が前述した従来例(図4参照)と比較
して格段に短くなる。
As described above, in the data processing apparatus according to this embodiment, the CPU 1 can perform the data search only by outputting the enable search control signal, and the CPU 1 does not need to execute other tasks in the data search. . Therefore, as shown in FIG. 2, when searching for data, the CPU
After 1 performs one ROM read cycle, CP
U1 does not execute the task, and sequentially reads each address data of SRAM 3 to comparison. That is, as is clear from the comparison of the comparison time of 1 address data, the comparison processing of 1 address data is performed by the CPU.
It consists of an SRAM read cycle that does not depend on 1, a data comparison cycle, and a data storage cycle, and the comparison time for one address data is significantly shorter than that of the conventional example (see FIG. 4) described above.

【0025】[0025]

【発明の効果】以上説明したように、この発明にかかる
データ処理装置によれば、探索制御信号に基づきアドレ
ス発生回路が出力するアドレス信号をRAMに入力し、
このアドレス信号によりRAMが出力するデータ信号を
分配回路により比較回路に導いて検索データ信号と比較
し、一致する場合に一致信号をアドレス発生回路に出力
して該当するアドレスデータを一致アドレス格納レジス
タに格納するため、データ探索に際してCPUがなすべ
きタスクを少なくでき、また、データ探索時間を短縮で
きるという効果が得られる。
As described above, according to the data processor of the present invention, the address signal output from the address generation circuit based on the search control signal is input to the RAM,
The address signal causes the data signal output from the RAM to be guided to the comparison circuit by the distribution circuit to be compared with the search data signal. If they match, a match signal is output to the address generation circuit and the corresponding address data is stored in the match address storage register. Since the data is stored, it is possible to reduce the tasks to be performed by the CPU when searching for data, and it is possible to shorten the data searching time.

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

【図1】この発明の一の実施の形態にかかるデータ処理
装置の要部のブロック図である。
FIG. 1 is a block diagram of a main part of a data processing device according to an embodiment of the present invention.

【図2】同データ処理装置の作動を示すタイミングチャ
ートである。
FIG. 2 is a timing chart showing the operation of the data processing device.

【図3】従来のデータ処理装置のブロック図である。FIG. 3 is a block diagram of a conventional data processing device.

【図4】同従来のデータ処理装置の作動を示すタイミン
グチャートである。
FIG. 4 is a timing chart showing an operation of the conventional data processing apparatus.

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

1 CPU 2 ROM 3 RAM 4 アドレスバス 5 データバス 11 セレクタ 12 アドレス発生回路 13 一致アドレス格納レジスタ 14 分配回路 15 比較回路 16 探索データレジスタ 17 マスクレジスタ 1 CPU 2 ROM 3 RAM 4 Address Bus 5 Data Bus 11 Selector 12 Address Generation Circuit 13 Match Address Storage Register 14 Distribution Circuit 15 Comparison Circuit 16 Search Data Register 17 Mask Register

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 CPUをROMとRAMにデータバスお
よびアドレスバスで接続したデータ処理装置において、 探索制御信号に応答してアドレス信号を出力するアドレ
ス発生回路と、前記探索制御信号に応じて前記アドレス
発生回路が出力するアドレス信号または前記アドレスバ
スのアドレス信号を選択的に前記RAMに出力するセレ
クタと、探索データ信号を格納する探索データレジスタ
と、該探索データレジスタの出力する探索データ信号と
前記RAMの出力信号が一致するか否かを比較し、一致
する場合に一致信号を出力する比較回路と、前記探索制
御信号に応じて前記RAMの出力するデータ信号を前記
比較回路または前記データバスに選択的に出力する分配
回路と、前記比較回路が一致信号を出力する時に前記ア
ドレス発生回路の出力アドレス信号を格納する一致アド
レス格納レジスタと、を備えることを特徴とするデータ
処置装置。
1. A data processing device in which a CPU is connected to a ROM and a RAM by a data bus and an address bus, an address generating circuit for outputting an address signal in response to a search control signal, and the address according to the search control signal. A selector that selectively outputs an address signal output from a generation circuit or an address signal of the address bus to the RAM, a search data register that stores a search data signal, a search data signal output from the search data register, and the RAM. Of the output signals of the RAM are compared with each other, and if they match, a comparison circuit that outputs a coincidence signal and a data signal output from the RAM according to the search control signal are selected to the comparison circuit or the data bus. Of the address generating circuit when the comparing circuit outputs a coincidence signal. Data treatment device, characterized in that it comprises a matching address storage register for storing a force address signal.
JP14507496A 1996-05-15 1996-05-15 Data processor Pending JPH09305476A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14507496A JPH09305476A (en) 1996-05-15 1996-05-15 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14507496A JPH09305476A (en) 1996-05-15 1996-05-15 Data processor

Publications (1)

Publication Number Publication Date
JPH09305476A true JPH09305476A (en) 1997-11-28

Family

ID=15376786

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14507496A Pending JPH09305476A (en) 1996-05-15 1996-05-15 Data processor

Country Status (1)

Country Link
JP (1) JPH09305476A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007504531A (en) * 2003-08-28 2007-03-01 マイクロン・テクノロジー・インコーポレーテッド Memory module and method with on-board data retrieval capability and processor-based system using such a memory module

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007504531A (en) * 2003-08-28 2007-03-01 マイクロン・テクノロジー・インコーポレーテッド Memory module and method with on-board data retrieval capability and processor-based system using such a memory module

Similar Documents

Publication Publication Date Title
KR880000299B1 (en) Cash apparatus
US4811215A (en) Instruction execution accelerator for a pipelined digital machine with virtual memory
US5341500A (en) Data processor with combined static and dynamic masking of operand for breakpoint operation
US4375678A (en) Redundant memory arrangement providing simultaneous access
JPS5817582A (en) Data storage and address specifying system for mutiplex word memory
JPH08221324A (en) Access to cache memory
JPH09305476A (en) Data processor
JPH0552539B2 (en)
US5717891A (en) Digital signal processor with caching of instructions that produce a memory conflict
JPS6059621B2 (en) Buffer invalidation control method
JPH1185613A (en) Cache memory
JP2817267B2 (en) Break address detector
JPS59111538A (en) Microprogram controller
KR960018958A (en) Main Memory Access Device Using Data Buffer When Performing Atomic Instruction in Multiprocessor System
JP2581484B2 (en) Data processing system
JPH05143366A (en) Interruption control circuit
JPH09185883A (en) Memory access controller
JPS63180171A (en) Information processor
JPH0756638B2 (en) Memory address space expansion device
JPH07105171A (en) Data processor
JPH08317221A (en) Data processor
JPS63123137A (en) Address coincidence signal generating system
JPH04506125A (en) calculator with cache
JPH09237222A (en) Semiconductor storage device
JPH0363726A (en) Hierlarchy type branch history table