JP2854151B2 - Data search control method - Google Patents
Data search control methodInfo
- Publication number
- JP2854151B2 JP2854151B2 JP3039356A JP3935691A JP2854151B2 JP 2854151 B2 JP2854151 B2 JP 2854151B2 JP 3039356 A JP3039356 A JP 3039356A JP 3935691 A JP3935691 A JP 3935691A JP 2854151 B2 JP2854151 B2 JP 2854151B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- search
- specific value
- address
- data search
- 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.)
- Expired - Lifetime
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、データ探索装置と情報
処理装置からなる情報処理システムにおいて、特定アド
レスを対象としたデータの探索を高速に行うデータ探索
制御方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data search control system for searching data at a specific address at high speed in an information processing system including a data search device and an information processing device.
【0002】[0002]
【従来の技術】従来、この種のデータ探索装置と情報処
理装置からなる情報処理システムを図を用いて説明する
と、図3は、従来の接続方法によって相互に接続された
データ探索装置と情報処理装置からなる情報処理システ
ムの構成図である。情報処理装置31とデータ探索装置
32とは、アドレスバス33,データバス34により接
続され、データ探索装置32には、アドレス信号と動作
指示信号(設定動作信号35、束縛動作信号36、束縛
解除動作信号37、探索動作信号38)が入力され、図
示しないデータ格納領域に対してデータ信号の入出力動
作を行う。すなわち、情報処理装置31からのアドレス
信号によって指定されたデータ探索装置32内のデータ
格納領域に対して、動作指示信号にしたがってデータ束
縛、データ束縛解除、データ設定、およびデータ探索の
4種類の動作が行われる。2. Description of the Related Art A conventional information processing system including a data search apparatus and an information processing apparatus will be described with reference to the drawings. FIG. 3 shows a data search apparatus and an information processing apparatus which are interconnected by a conventional connection method. FIG. 1 is a configuration diagram of an information processing system including devices. The information processing device 31 and the data search device 32 are connected by an address bus 33 and a data bus 34. The data search device 32 has an address signal and an operation instruction signal (a setting operation signal 35, a binding operation signal 36, a binding release operation). The signal 37 and the search operation signal 38) are input, and a data signal input / output operation is performed on a data storage area (not shown). That is, four types of operations, data binding, data binding release, data setting, and data search, are performed on the data storage area in the data search device 32 specified by the address signal from the information processing device 31 in accordance with the operation instruction signal. Is performed.
【0003】ここで、データ束縛動作とは、データ探索
装置32内の古い値のデータを退避すると共に、情報処
理装置31からの新しい値のデータを設定する動作をい
う。データ束縛解除動作とは、データ探索装置32内の
古い値のデータを回復する動作をいう。また、データ設
定動作とデータ探索動作は、それぞれデータ探索装置3
2内への書き込み動作、データ探索装置32からの読み
だし動作に相当する。Here, the data binding operation is an operation of saving old value data in the data search device 32 and setting new value data from the information processing device 31. The data binding release operation refers to an operation of recovering old value data in the data search device 32. The data setting operation and the data search operation are performed by the data search device 3 respectively.
2 and a read operation from the data search device 32.
【0004】例えば、あるアドレスの古い値のデータを
「1」としたとき、値「2」でデータ束縛すると、値
「1」が保存されると共に値「2」が書き込まれ、この
状態でデータ探索動作すると、値「2」が読みだされ
る。値「3」をデータ設定した後にデータ探索すると、
値「3」が読みだされる。そして、データ束縛解除動作
を行うと、古い値「1」が回復し、データ探索動作によ
って値「1」が読みだされる。For example, if the data of an old value at a certain address is "1" and the data is bound with the value "2", the value "1" is saved and the value "2" is written, and in this state, the data "2" is written. When the search operation is performed, the value “2” is read. If you search for data after setting the value "3",
The value "3" is read. Then, when the data binding release operation is performed, the old value “1” is recovered, and the value “1” is read out by the data search operation.
【0005】[0005]
【発明が解決しようとする課題】従来の装置は以上のよ
うに構成されているので、情報処理装置のデータ探索に
要する時間は、データ探索装置自身の動作時間に依存す
ることになる。例えば、リスト処理言語LISPにおい
て、複数プロセスの実行を行う場合、すなわち同一アド
レスでプロセス毎に独立して制御するような場合、デー
タ探索装置の動作速度が低下してしまう。このため、情
報処理装置における全体の処理の中でデータ探索の頻度
が高いと、情報処理装置の動作速度が著しく低下すると
いう問題があった。Since the conventional apparatus is configured as described above, the time required for the data search of the information processing apparatus depends on the operation time of the data search apparatus itself. For example, in the case of executing a plurality of processes in the list processing language LISP, that is, in the case where independent control is performed for each process at the same address, the operation speed of the data search device decreases. For this reason, if the frequency of data search is high in the entire processing in the information processing device, there is a problem that the operation speed of the information processing device is significantly reduced.
【0006】本発明の目的は、データ探索に要する時間
を短縮すると共に情報処理装置の動作効率を向上したデ
ータ探索制御方式を提供することにある。An object of the present invention is to provide a data search control method that shortens the time required for data search and improves the operation efficiency of an information processing apparatus.
【0007】[0007]
【課題を解決するための手段】前記目的を達成するため
に、本発明では、アドレス信号、データ信号および設
定、束縛、束縛解除、探索の4種類の動作指示信号を発
行する情報処理装置と、該情報処理装置からのアドレス
信号によって指示されたデータ格納領域に対して、該情
報処理装置からの動作指示信号に従ってデータ設定、デ
ータ束縛、データ束縛解除、データ探索の動作を行うデ
ータ探索装置とからなる情報処理システムにおいて、情
報処理装置とデータ探索装置との間にデータ探索装置の
制御機構を設け、該制御機構は、アドレス信号が特定の
範囲にあることを検出する手段(アドレス検出回路)
と、特定値を保持する手段(特定値発生回路)と、前記
データ探索装置の書込み読出しデータと前記特定値との
一致を判定する手段(データ一致判定回路)と、データ
格納領域の特定範囲アドレスに特定値のデータが格納さ
れているか否かを示す特定値フラグ(特定値フラグレジ
スタ)と、データ設定またはデータ束縛の動作モードに
おいて、書込みアドレスが前記特定の範囲であり、且
つ、書込みデータが前記特定値と一致したときに前記特
定値フラグをセットする手段と、データ束縛解除の動作
モードにおいて、アドレスが前記特定の範囲であるとき
に前記特定値フラグをリセットする手段と、データ探索
の動作モードにおいて、読出しアドレスが前記特定の範
囲であり、且つ、前記特定値フラグがセットされている
場合、前記データ探索装置の探索動作を抑止し、前記保
持してある特定値を探索結果として前記情報処理装置に
転送する手段と、データ探索の動作モードにおいて、前
記特定値フラグがリセットされており、前記データ探索
装置の探索動作による読出しデータが前記特定値と一致
し、且つ、読出しアドレスが前記特定の範囲のときに前
記特定値フラグをセットする手段とから構成されること
を特徴としている。In order to achieve the above object, the present invention provides an address signal, a data signal and a data signal.
Generates four types of operation instruction signals: fixed, bound, unbound, and search
Information processing device to execute and an address from the information processing device
The information is stored in the data storage area designated by the signal.
Data setting and data in accordance with the operation instruction signal from the
Data that performs data binding, data binding release, and data search operations.
In an information processing system consisting of
Between the data processing device and the data search device.
A control mechanism is provided, wherein the control mechanism determines whether the address signal is a specific one.
Means for detecting the presence of a range (address detection circuit)
Means for holding a specific value (specific value generating circuit);
Between the write / read data of the data search device and the specific value.
Means for determining a match (data match determination circuit);
The specific value data is stored in the specific range address of the storage area.
A specific value flag (specified value flag register
Star) and data setting or data binding operation mode
The write address is in the specific range, and
When the write data matches the specific value, the
Means for setting fixed value flag and data binding release operation
In the mode, when the address is within the specific range
Means for resetting the specific value flag, and data search
In the operation mode described above, the read address is
And the specific value flag is set.
In this case, the search operation of the data search device is suppressed and the
The specific value held in the information processing device as a search result
In the transfer means and the data search operation mode,
The specific value flag is reset and the data search
Read data by device search operation matches the specified value
And when the read address is within the specific range,
Means for setting the specific value flag .
【0008】[0008]
【作用】設定動作または束縛動作時においては、情報処
理装置によって指定されたアドレスがアドレスバス上に
送出され、該指定されたアドレスがアドレス検出回路に
入力され、該指定されたアドレス信号が予め設定した範
囲にあるか否かが判定され、設定された範囲にあると、
デコーダを駆動する。デコーダは、入力されたアドレス
信号をデコードし、該当するデータ探索制御部が存在す
ればそれを選択する。選択信号によってデータ一致判定
回路が駆動され、情報処理装置からの書き込みデータと
特定値発生回路のデータとが比較判定され、一致してい
れば特定値フラグレジスタに一致を示す“1”がセット
され、一致していなければフラグレジスタは“0”状態
をとる。同時に、データバス上の書き込みデータがデー
タ探索装置内のアドレス指定された所定領域に書き込ま
れる。In the setting operation or the binding operation, the address specified by the information processing device is sent out on the address bus, the specified address is input to the address detection circuit, and the specified address signal is set in advance. It is determined whether or not it is within the set range, and if it is within the set range,
Drive the decoder. The decoder decodes the input address signal and selects a corresponding data search control unit if one exists. The data match determination circuit is driven by the selection signal, and the write data from the information processing device and the data of the specific value generation circuit are compared and determined. If they match, "1" indicating the match is set in the specific value flag register. If they do not match, the flag register is in "0" state
Take . At the same time, the write data on the data bus is written to a predetermined area addressed in the data search device.
【0009】該アドレス信号が予め設定した範囲にない
場合は、データ探索制御部が選択されないのでデータ一
致判定回路での一致判定は行われず、データバス上の書
き込みデータがデータ探索装置内の指定された領域に書
き込まれる。If the address signal is not within the preset range, the data search control section is not selected, so that no match determination is made in the data match determination circuit, and the write data on the data bus is designated in the data search device. Is written to the area.
【0010】束縛解除動作においては、データ束縛解除
信号により、データ探索装置内のアドレス指定された古
い値のデータが回復され、指定されたアドレスがアドレ
ス検出回路に入力され、該指定されたアドレス信号が予
め設定した範囲にあるか否かが判定され、設定した範囲
にあると、デコーダを駆動する。デコーダは、入力され
たアドレス信号をデコードし、該当するデータ探索制御
部が存在すればそれを選択し、選択信号を発生し、これ
によってクリア信号発生器が駆動され、クリア信号発生
器からのクリア信号によって特定値フラグレジスタがク
リアされる。In the binding release operation, the data release signal restores the data of the old address specified in the data search device, inputs the specified address to the address detection circuit, and outputs the specified address signal. Is determined to be within a preset range, and if it is within the preset range, the decoder is driven. The decoder decodes the input address signal, selects the corresponding data search control unit if it exists, and generates a selection signal, thereby driving the clear signal generator and clearing from the clear signal generator. The signal clears the specific value flag register.
【0011】探索動作においては、指定されたアドレス
がアドレス検出回路で予め設定した範囲にあるか否かが
判定され、設定した範囲にあると、デコーダを駆動状態
にして入力されたアドレス信号をデコードし、該当する
データ探索制御部が存在すればそれを選択する。これに
より、選択された特定値フラグレジスタの内容が検査さ
れ、特定値フラグレジスタに“1”がセットされていれ
ば、探索結果が特定値と必ず一致するので、特定値発生
回路の特定値がデータ探索の結果として読みだされ、デ
ータバス上に出力される。このとき、探索指示信号が出
力されず、データ探索装置の探索動作が抑止される。In the search operation, it is determined whether or not the designated address is in a range set in advance by an address detection circuit. If the address is in the set range, the decoder is driven to decode the input address signal. Then, if a corresponding data search control unit exists, it is selected. As a result, the contents of the selected specific value flag register are checked, and if "1" is set in the specific value flag register, the search result always matches the specific value. The data is read out as a result of the data search and output on the data bus. At this time, no search instruction signal is output, and the search operation of the data search device is suppressed.
【0012】選択された特定値フラグレジスタを検査し
た結果、“1”がセットされていなければ、情報処理装
置からの探索動作信号がデータ探索装置に入力され、デ
ータ探索が実行される。データ探索の結果は、データバ
スに出力されると共に、データ探索制御部に入力され、
データ一致判定回路はデータ探索装置からの読みだしデ
ータ(データ探索結果)と特定値発生回路のデータとを
比較判定し、一致していれば、特定値フラグレジスタが
“1”にセットされる。 As a result of checking the selected specific value flag register, if "1" is not set, a search operation signal from the information processing device is input to the data search device, and the data search is executed. The result of the data search is output to the data bus and input to the data search control unit,
Data match determining circuit reads out data (data search result) from the data search device and comparing determines the data of the specific value generating circuit, if the match, the specific value flag register
Set to "1".
【0013】[0013]
【実施例】以下、本発明の一実施例を図面を用いて具体
的に説明する。本発明は、データ探索を実際に行う場
合、ある特定アドレスでの探索の結果がある特定の値の
データに一致する割合が非常に高いという、データ蓄積
の特性を利用したものである。すなわち、データ探索を
行った結果が、ある特定のデータに必ず一致するか否か
という情報(つまり、探索結果を反映したもの)を保持
するように構成し、情報処理装置からデータ探索の指示
があると、先ずある特定のデータに必ず一致するか否か
を判定し、一致が判明したときは、データ探索結果は予
め保持されている値と同値であるので、データ探索装置
の動作を抑制し、一致しないときにデータ探索装置に対
してデータ探索動作が行われるようにしたものである。DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be specifically described below with reference to the drawings. The present invention utilizes the characteristic of data accumulation that, when data search is actually performed, the rate at which a search result at a specific address matches data of a specific value is extremely high. In other words, a configuration is adopted in which information indicating whether the result of data search always matches certain specific data (that is, information reflecting the search result) is held, and a data search instruction is issued from the information processing apparatus. If there is, it is first determined whether or not the data always matches a specific data. When the match is found, the data search result is the same as the value held in advance, so that the operation of the data search device is suppressed. , The data search operation is performed on the data search device when they do not match.
【0014】図1は、本発明の一実施例であるデータ探
索制御方式の構成を示す図であり、情報処理装置101
とデータ探索装置102との間に、複数のデータ探索制
御部103(1031から1033)が設けられてい
る。情報処理装置101とデータ探索装置102とは、
該装置間で相互にデータ(書き込みデータ、読みだしデ
ータ)のやりとりをするためのデータバス104と、情
報処理装置101からデータ探索装置102に対してア
ドレスを指定するためのアドレスバス105で接続さ
れ、情報処理装置101からデータ探索装置102に対
して、設定動作信号106、束縛動作信号107、束縛
解除動作信号108、探索動作信号109が入力され、
データ探索装置102内のデータ格納領域に対して、デ
ータ信号の入出力動作を行う。そして、このデータ探索
制御部103は、情報処理装置101からデータ探索装
置102に発行される全ての動作を監視している。FIG. 1 is a diagram showing a configuration of a data search control system according to an embodiment of the present invention.
A plurality of data search control units 103 (1031 to 1033) are provided between the data search device 102 and the data search device 102. The information processing device 101 and the data search device 102
A data bus 104 for exchanging data (write data, read data) between the devices, and an address bus 105 for designating an address from the information processing device 101 to the data search device 102. The setting operation signal 106, the binding operation signal 107, the binding release operation signal 108, and the search operation signal 109 are input from the information processing apparatus 101 to the data search apparatus 102,
A data signal input / output operation is performed on a data storage area in the data search device 102. The data search control unit 103 monitors all operations issued from the information processing device 101 to the data search device 102.
【0015】アドレス検出回路110は、アドレス信号
を入力し、該アドレス信号が予め設定した範囲にあるか
否かを判定する回路で、設定した範囲にあると、ライン
112にイネーブル信号を発生し、デコーダ111をイ
ネーブル状態にする。該アドレス信号が予め設定した範
囲にないと、インバータ113、オアゲート114、1
19を介してゲート120を開状態に制御する。デコー
ダ111は、アドレス信号が設定された範囲にあると、
入力されたアドレス信号をデコードし、データ探索制御
部103に選択信号115を与え、該当するデータ探索
制御部103が存在すればそれを選択する。An address detection circuit 110 receives an address signal and determines whether or not the address signal is within a preset range. If the address signal is within the preset range, it generates an enable signal on a line 112, The decoder 111 is enabled. If the address signal is not within the preset range, the inverter 113, the OR gate 114,
The gate 120 is controlled to be open via 19. When the address signal is within the set range, the decoder 111
The input address signal is decoded, and a selection signal 115 is given to the data search control unit 103. If the corresponding data search control unit 103 exists, it is selected.
【0016】データ探索制御部103からの探索指示信
号116は、オアゲート117、114を介して、ゲー
ト118に加えられることにより、該ゲート118が開
き、情報処理装置101からの探索動作信号109がデ
ータ探索装置102に入力される。また、探索指示信号
116は、設定動作信号106、束縛動作信号107と
ともにオアゲート119を介してゲート120に印加さ
れて、該ゲート120が開状態となり、データ探索制御
部103はデータバス104に対してデータの入出力が
可能となる。The search instruction signal 116 from the data search control unit 103 is applied to the gate 118 via the OR gates 117 and 114, so that the gate 118 is opened, and the search operation signal 109 from the information processing apparatus 101 is transmitted to the data gate 101. It is input to the search device 102. Further, the search instruction signal 116 is applied to the gate 120 via the OR gate 119 together with the setting operation signal 106 and the binding operation signal 107, and the gate 120 is opened. Data can be input and output.
【0017】図2は、データ探索制御部103の具体的
な構成を示す図である。特定値発生回路201は、特定
の値のデータを発生する回路で、言い替えると特定アド
レスでのデータ探索の結果、その値が最も高い割合で一
致する値を、特定の値として発生する回路で、例えばデ
ィップスイッチ、ジャンパ線等によってその値が設定さ
れる。データ一致判定回路202は、選択信号115に
よってイネーブル状態となり、データバス104のデー
タと特定値発生回路201のデータとが一致しているか
否かを判定し、一致していればゲート205を介して、
1ビットの特定値フラグレジスタ203に一致を示す
“1”がセットされる。即ち、1ビットの特定値フラグ
レジスタ203に“1”がセットされていれば、特定の
範囲のアドレスのデータが特定の値であることを示すこ
とになる。FIG. 2 is a diagram showing a specific configuration of the data search control unit 103. The specific value generation circuit 201 is a circuit that generates data of a specific value, in other words, a circuit that generates, as a specific value, a value whose value matches at the highest rate as a result of a data search at a specific address. For example, the value is set by a dip switch, a jumper line, or the like. The data match determination circuit 202 is enabled by the selection signal 115 and determines whether or not the data on the data bus 104 matches the data on the specific value generation circuit 201. ,
“1” indicating coincidence is set in the 1-bit specific value flag register 203. That is, 1 in particular value flag register 203 of the bit "1" if it is set, the specific
This indicates that the data of the address in the range is a specific value.
【0018】クリア信号発生器204は、選択信号11
5によってイネーブル状態となり、特定値フラグレジス
タ203をクリアする信号を発生し、束縛解除動作信号
108がゲート206に印加され、該ゲート206がオ
ープンのときに特定値フラグレジスタ203がクリアさ
れる。アンドゲート208は、選択信号115と特定値
フラグレジスタ203の内容と情報処理装置101から
の探索動作信号109との論理積をとり、アンド論理が
成立した場合にゲート207を開き、特定値発生回路2
01に設定されている特定値をデータバス104に出力
する。アンド論理が成立しない場合は、インバータ21
0を介して探索指示信号116を生成する。また、オア
ゲート209を介した探索指示信号116、設定動作信
号106、束縛動作信号107の何れかの信号によって
ゲート205が開かれ、データ一致判定回路202にお
ける判定結果が、特定値フラグレジスタ203に書き込
まれる。The clear signal generator 204 outputs the selection signal 11
When the gate 206 is open, the specific value flag register 203 is cleared. When the gate 206 is open, the specific value flag register 203 is cleared. The AND gate 208 takes the logical product of the selection signal 115, the contents of the specific value flag register 203, and the search operation signal 109 from the information processing apparatus 101, and opens the gate 207 when the AND logic is established, so that the specific value generating circuit 2
The specific value set to “01” is output to the data bus 104. If the AND logic does not hold, the inverter 21
0 to generate a search instruction signal 116. Further, the gate 205 is opened by one of the search instruction signal 116, the setting operation signal 106, and the binding operation signal 107 via the OR gate 209, and the result of the determination by the data match determination circuit 202 is written to the specific value flag register 203. It is.
【0019】以下、本発明の動作を(1)設定動作また
は束縛動作、(2)束縛解除動作、(3)探索動作に分
けて詳細に説明する。 (1)設定動作または束縛動作;設定動作は、前述した
ようにデータ探索装置102の指定されたアドレスにデ
ータを書き込む動作であり、データ束縛動作は、データ
探索装置102内の指定されたアドレスの古い値のデー
タを退避すると共に、情報処理装置101からの新しい
値のデータを書き込む動作であり、書き込み動作の点で
両者は同じであるので、2つの動作をまとめて説明す
る。Hereinafter, the operation of the present invention will be described in detail by dividing into (1) setting operation or binding operation, (2) binding release operation, and (3) search operation. (1) Setting operation or binding operation; The setting operation is an operation of writing data to a specified address of the data search device 102 as described above, and the data binding operation is a process of writing a specified address in the data search device 102. This is an operation of saving old value data and writing new value data from the information processing apparatus 101. Since both operations are the same in terms of write operation, the two operations will be described together.
【0020】設定動作または束縛動作時に、情報処理装
置101によって指定されたアドレスがアドレスバス1
05上に送出され、該指定されたアドレスがアドレス検
出回路110に入力される。アドレス検出回路110
は、該指定されたアドレス信号が予め設定した範囲にあ
るか否かを判定し、設定した範囲にあると、ライン11
2にイネーブル信号を発生し、デコーダ111をイネー
ブル状態にする。デコーダ111は、入力されたアドレ
ス信号をデコードし、該当するデータ探索制御部103
が存在すればそれを選択する。図2の選択されたデータ
探索制御部103において、オアゲート209を介した
設定動作信号106または束縛動作信号107によって
ゲート205が開き、また探索動作信号109がないの
で、アンドゲート208は閉じ、従ってゲート207は
閉じている。At the time of the setting operation or the binding operation, the address specified by the information processing device 101
05, and the specified address is input to the address detection circuit 110. Address detection circuit 110
Determines whether the designated address signal is within a preset range, and if it is within the preset range, line 11
2 to generate an enable signal to enable the decoder 111. The decoder 111 decodes the input address signal, and
If exists, select it. In the selected data search control unit 103 of FIG. 2, the gate 205 is opened by the setting operation signal 106 or the binding operation signal 107 via the OR gate 209, and since there is no search operation signal 109, the AND gate 208 is closed. 207 is closed.
【0021】選択信号115によってデータ一致判定回
路202がイネーブル状態となるので、情報処理装置1
01からの書き込みデータと特定値発生回路201のデ
ータとが比較判定され、一致していればゲート205を
介して、特定値フラグレジスタ203に一致を示す
“1”がセットされ、一致していなければフラグレジス
タは“0”状態をとる。それと同時に、オアゲート11
9を介した設定動作信号106または束縛動作信号10
7によってゲート120が開いているので、データバス
104上の書き込みデータが該ゲート120を介して、
データ探索装置102内のアドレス指定された所定領域
に書き込まれる。Since the data match determination circuit 202 is enabled by the selection signal 115, the information processing apparatus 1
The write data from 01 and the data of the specific value generation circuit 201 are compared and determined. If they match, “1” indicating the match is set in the specific value flag register 203 via the gate 205, and if they do not match. In this case, the flag register assumes the "0" state. At the same time, OR gate 11
Setting operation signal 106 or binding operation signal 10 via
7, the gate 120 is opened, so that the write data on the data bus 104
The data is written to a specified area in the data search device 102 that is addressed.
【0022】一方、該アドレス信号が予め設定した範囲
にない場合は、データ探索制御部103が選択されない
のでデータ一致判定回路202での一致判定は行われ
ず、データバス104上の書き込みデータがゲート12
0を介して、データ探索装置102内の指定された領域
に書き込まれる。On the other hand, if the address signal is not within the preset range, the data search control section 103 is not selected, so the data match determination circuit 202 does not perform a match determination, and the write data on the data bus 104 is
0 is written to a designated area in the data search device 102.
【0023】(2)束縛解除動作;前述したようにデー
タ束縛解除信号108により、データ探索装置102内
のアドレス指定された古い値のデータが回復される。ま
た、指定されたアドレスがアドレス検出回路110に入
力され、アドレス検出回路110は、該指定されたアド
レス信号が予め設定した範囲にあるか否かを判定し、設
定した範囲にあると、デコーダ111をイネーブル状態
にする。デコーダ111は、入力されたアドレス信号を
デコードし、該当するデータ探索制御部103が存在す
ればそれを選択し、選択信号115を発生する。該選択
信号115によってクリア信号発生器204がイネーブ
ル状態となり、選択されたデータ探索制御部103のゲ
ート206がデータ束縛解除信号108により開かれる
ので(ゲート205、207は閉じている)、クリア信
号発生器204からのクリア信号によって特定値フラグ
レジスタ203がクリアされる。すなわち、回復した古
い値のデータがどのようなデータであるのか不明であ
り、もちろん特定値と一致するか否かも不明であるの
で、フラグレジスタ203をクリアしておく。(2) Binding release operation: As described above, the data with the old value specified in the data search device 102 is recovered by the data binding release signal 108. Further, the designated address is input to the address detection circuit 110, and the address detection circuit 110 determines whether or not the designated address signal is within a preset range. Is enabled. The decoder 111 decodes the input address signal, selects the corresponding data search control unit 103 if it exists, and generates a selection signal 115. The clear signal generator 204 is enabled by the selection signal 115, and the gate 206 of the selected data search control unit 103 is opened by the data binding release signal 108 (the gates 205 and 207 are closed). The specific value flag register 203 is cleared by the clear signal from the device 204. That is, it is unknown what data the recovered old value data is, and it is of course also unknown whether or not it matches the specific value. Therefore, the flag register 203 is cleared.
【0024】以上の(1)設定動作または束縛動作、お
よび(2)束縛解除動作から明らかなように、特定値フ
ラグレジスタ203に“1”がセットされている状態
で、データ探索を行うと、その探索結果が特定値と必ず
一致することが保証される。As apparent from the above (1) setting operation or binding operation and (2) binding release operation, when data search is performed in a state where "1" is set in the specific value flag register 203, It is guaranteed that the search result always matches the specific value.
【0025】(3)探索動作;情報処理装置101がデ
ータ探索装置102に対してデータ探索動作を指示する
と、指定されたアドレスがアドレス検出回路110で予
め設定した範囲にあるか否かが判定され、設定した範囲
にあると、デコーダ111をイネーブル状態にする。デ
コーダ111は、入力されたアドレス信号をデコード
し、該当するデータ探索制御部103が存在すればそれ
を選択する。これにより、選択信号115が出力され、
また探索動作が指示されているので、選択された特定値
フラグレジスタ203の内容がアンドゲート208によ
って検査される。(3) Search operation: When the information processing apparatus 101 instructs the data search apparatus 102 to perform a data search operation, it is determined whether or not the designated address is within a range set by the address detection circuit 110 in advance. , The decoder 111 is enabled. The decoder 111 decodes the input address signal and selects the corresponding data search control unit 103 if it exists. Thereby, the selection signal 115 is output,
Since the search operation is instructed, the contents of the selected specific value flag register 203 are checked by the AND gate 208.
【0026】すなわち、特定値フラグレジスタ203に
“1”がセットされていれば、探索結果が特定値と必ず
一致することが保証されているので、アンドゲート20
8の出力によってゲート207を開き(このときゲート
205は閉)、特定値発生回路201の特定値がデータ
探索の結果として読みだされ、データバス上104に出
力される。このとき、アンドゲート208の出力がイン
バータ210により反転出力されるので、探索指示信号
116が出力されず、従ってゲート118はオープンせ
ず、データ探索動作信号109が供給されないので、デ
ータ探索装置102の探索動作が抑止される。That is, if "1" is set in the specific value flag register 203, it is guaranteed that the search result always matches the specific value.
The gate 207 is opened by the output of 8 (the gate 205 is closed at this time), the specific value of the specific value generation circuit 201 is read out as a result of the data search, and output to the data bus 104. At this time, since the output of the AND gate 208 is inverted and output by the inverter 210, the search instruction signal 116 is not output, and therefore the gate 118 is not opened and the data search operation signal 109 is not supplied. The search operation is suppressed.
【0027】他方、選択された特定値フラグレジスタ2
03を検査した結果、“1”がセットされていなければ
(探索結果が特定値に一致しない可能性が非常に高
い)、特定値フラグレジスタ203が“0”なので、ア
ンドゲート208は閉じ、従ってインバータ210、オ
アゲート209を介した探索信号116によってゲート
205が開き、ゲート207が閉じる。更に生成された
探索指示信号116は、オアゲート117、114を介
して、ゲート118に加えられ、またゲート119を介
してゲート120に加えられることにより、該ゲート1
18、120が開き、情報処理装置101からの探索動
作信号109がデータ探索装置102に入力され、デー
タ探索が実行される。On the other hand, the selected specific value flag register 2
03, if "1" is not set (it is very likely that the search result does not match the specific value), the specific value flag register 203 is "0", and the AND gate 208 is closed. The gate 205 is opened and the gate 207 is closed by the search signal 116 via the inverter 210 and the OR gate 209. Further, the generated search instruction signal 116 is applied to the gate 118 via the OR gates 117 and 114, and to the gate 120 via the gate 119, whereby the gate 1
18 and 120 are opened, the search operation signal 109 from the information processing apparatus 101 is input to the data search apparatus 102, and the data search is executed.
【0028】データ探索の結果は、ゲート120を介し
てデータバス104に出力されると共に、先に選択され
たデータ探索制御部103に入力され、データ一致判定
回路202はデータ探索装置102からの読みだしデー
タ(データ探索結果)と特定値発生回路201のデータ
とを比較判定し、一致していれば、ゲート205を介し
て、特定値フラグレジスタ203が“1”にセットされ
る。The result of the data search is output to the data bus 104 via the gate 120 and also to the data search control unit 103 selected previously, and the data match judgment circuit 202 reads the data from the data search device 102. The data (data search result) is compared with the data of the specific value generation circuit 201, and if they match , the specific value flag register 203 is set to “1” via the gate 205.
You .
【0029】以上の説明から明らかなように、データ探
索装置に対する、予め設定した範囲内のアドレスについ
てのデータ探索が指示された場合に、探索結果がアドレ
ス毎に設定された特定の値と一致することが保証されて
いるときには、データ探索装置は起動されず、従って実
際のデータ探索動作が抑制され、データ探索制御部10
3に保持されている特定値が探索結果として情報処理装
置101に返されることになり、探索動作が高速化され
る。As is clear from the above description, when the data search device is instructed to search for data within an address within a preset range, the search result matches the specific value set for each address. Is not activated, the actual data search operation is suppressed, and the data search control unit 10
3 is returned to the information processing apparatus 101 as a search result, thereby speeding up the search operation.
【0030】[0030]
【発明の効果】以上、説明したように、本発明によれ
ば、低速のデータ探索装置を構成要素として備えた情報
処理装置において、特定のアドレス範囲から探索される
データを保持するデータ探索制御部を設けているので、
特定のアドレス範囲を対象としたデータ探索時に、デー
タ探索制御部に探索結果が保持されていればデータ探索
装置を動作させることなく、探索結果が得られることに
なり、データ探索の動作速度が格段に向上する。特に、
特定アドレスを対象としたデータ探索の頻度が高い場合
に、情報処理装置における処理を高速化することができ
る。As described above, according to the present invention, in an information processing apparatus having a low-speed data search device as a component, a data search control unit for holding data searched from a specific address range. Has been established,
At the time of data search for a specific address range, if the search result is held in the data search control unit, the search result can be obtained without operating the data search device, and the operation speed of data search is remarkably increased. To improve. In particular,
When the frequency of data search for a specific address is high, the processing in the information processing device can be speeded up.
【図1】本発明の一実施例であるデータ探索制御方式の
構成を示す図である。FIG. 1 is a diagram showing a configuration of a data search control method according to an embodiment of the present invention.
【図2】本発明のデータ探索制御部の具体的な構成を示
す図である。FIG. 2 is a diagram showing a specific configuration of a data search control unit of the present invention.
【図3】従来の接続方法によって相互に接続されたデー
タ探索装置と情報処理装置からなる情報処理システムの
構成図である。FIG. 3 is a configuration diagram of an information processing system including a data search device and an information processing device mutually connected by a conventional connection method.
101 情報処理装置 102 データ探索装置 103 データ探索制御部 104 データバス 105 アドレスバス 106 設定動作信号 107 束縛動作信号 108 束縛解除動作信号 109 探索動作信号 110 アドレス検出回路 111 デコーダ 115 選択信号 116 探索指示信号 201 特定値発生回路 202 データ一致判定回路 203 特定値フラグレジスタ 204 クリア信号発生器 Reference Signs List 101 information processing device 102 data search device 103 data search control unit 104 data bus 105 address bus 106 setting operation signal 107 binding operation signal 108 binding release operation signal 109 search operation signal 110 address detection circuit 111 decoder 115 selection signal 116 search instruction signal 201 Specific value generation circuit 202 Data match determination circuit 203 Specific value flag register 204 Clear signal generator
Claims (1)
束縛、束縛解除、探索の4種類の動作指示信号を発行す
る情報処理装置と、前記情報処理装置からのアドレス信
号によって指示されたデータ格納領域に対して、前記情
報処理装置からの動作指示信号に従ってデータ設定、デ
ータ束縛、データ束縛解除、データ探索の動作を行うデ
ータ探索装置とからなる情報処理システムにおけるデー
タ探索制御方式であって、 前記情報処理装置と前記データ探索装置との間に、 アドレス信号が特定の範囲にあることを検出する手段
と、 特定値を保持する手段と、 前記データ探索装置の書込み読出しデータと前記特定値
との一致を判定する手段と、 データ格納領域の特定範囲アドレスに特定値のデータが
格納されているか否かを示す特定値フラグと、 データ設定またはデータ束縛の動作モードにおいて、書
込みアドレスが前記特定の範囲であり、且つ、書込みデ
ータが前記特定値と一致したときに前記特定値フラグを
セットする手段と、 データ束縛解除の動作モードにおいて、アドレスが前記
特定の範囲であるときに前記特定値フラグをリセットす
る手段と、 データ探索の動作モードにおいて、読出しアドレスが前
記特定の範囲であり、且つ、前記特定値フラグがセット
されている場合、前記データ探索装置の探索動作を抑止
し、前記保持してある特定値を探索結果として前記情報
処理装置に転送する手段と、 データ探索の動作モードにおいて、前記特定値フラグが
リセットされており、前記データ探索装置の探索動作に
よる読出しデータが前記特定値と一致し、且つ、読出し
アドレスが前記特定の範囲のときに前記特定値フラグを
セットする手段と、 からなる制御手段を設けたことを特徴とするデータ探索
制御方式。An address signal, a data signal and a setting;
An information processing device that issues four types of operation instruction signals of binding, release of binding, and search; and a data storage area designated by an address signal from the information processing device, in accordance with the operation instruction signal from the information processing device. A data search control method in an information processing system including a data search device that performs data setting, data binding, data binding release, and data search operations, wherein an address signal is provided between the information processing device and the data search device. Means for detecting that the value is within a specific range; means for holding a specific value; means for determining whether the read / write data of the data search device matches the specific value; A specific value flag indicating whether or not data of a specific value is stored, and an operation mode of data setting or data binding, Means for setting the specific value flag when the write address is in the specific range, and when the write data matches the specific value, and when the address is in the specific range in the data binding release operation mode. Means for resetting the specific value flag, and in a data search operation mode, when a read address is in the specific range and the specific value flag is set, a search operation of the data search device is suppressed. Means for transferring the held specific value to the information processing device as a search result; and in the data search operation mode, the specific value flag is reset, and the read data obtained by the search operation of the data search device is read. Sets the specific value flag when the specified value matches the specific value and the read address is in the specific range. Data search control method characterized by comprising means, the control means comprising a.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3039356A JP2854151B2 (en) | 1991-02-08 | 1991-02-08 | Data search control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3039356A JP2854151B2 (en) | 1991-02-08 | 1991-02-08 | Data search control method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH04257065A JPH04257065A (en) | 1992-09-11 |
JP2854151B2 true JP2854151B2 (en) | 1999-02-03 |
Family
ID=12550794
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3039356A Expired - Lifetime JP2854151B2 (en) | 1991-02-08 | 1991-02-08 | Data search control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2854151B2 (en) |
-
1991
- 1991-02-08 JP JP3039356A patent/JP2854151B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPH04257065A (en) | 1992-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5987578A (en) | Pipelining to improve the interface of memory devices | |
JP2854151B2 (en) | Data search control method | |
US5163157A (en) | Pipeline computer with bypass route for returning data to request source | |
US6597623B2 (en) | Low power architecture for register files | |
JPH0312896A (en) | semiconductor storage device | |
JPS61237145A (en) | Controlling system for store buffer | |
JP3212720B2 (en) | Information processing device | |
JPS5810243A (en) | Data processor | |
JPS6233603B2 (en) | ||
WO1995022110A1 (en) | Write-read data operation for microprocessor | |
JPS6244352B2 (en) | ||
JP2727947B2 (en) | Address trace method | |
KR100249217B1 (en) | Memory controller | |
JPH0635844A (en) | Direct memory access device | |
JPH0355642A (en) | Memory control system | |
JPH01229326A (en) | Information processor | |
JPH064467A (en) | Bus cycle control system | |
JPS6047617B2 (en) | information processing equipment | |
JPS61170830A (en) | Register reference method | |
JPS6325732A (en) | Microprogram controller | |
JPS6375852A (en) | Memory access system | |
JPH08328857A (en) | Microprocessor | |
JPH11176165A (en) | Sequential-access semiconductor memory device | |
JPH01102659A (en) | Ram write/read arbitrating system | |
JPH05210586A (en) | Cache memory control circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071120 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081120 Year of fee payment: 10 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091120 Year of fee payment: 11 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101120 Year of fee payment: 12 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101120 Year of fee payment: 12 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111120 Year of fee payment: 13 |
|
EXPY | Cancellation because of completion of term | ||
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111120 Year of fee payment: 13 |