JPH04160431A - Numeral decision device - Google Patents

Numeral decision device

Info

Publication number
JPH04160431A
JPH04160431A JP28637390A JP28637390A JPH04160431A JP H04160431 A JPH04160431 A JP H04160431A JP 28637390 A JP28637390 A JP 28637390A JP 28637390 A JP28637390 A JP 28637390A JP H04160431 A JPH04160431 A JP H04160431A
Authority
JP
Japan
Prior art keywords
value
comparison
control circuit
judgment
determination
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
JP28637390A
Other languages
Japanese (ja)
Inventor
Yasuhiro Fujii
康宏 藤井
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 JP28637390A priority Critical patent/JPH04160431A/en
Publication of JPH04160431A publication Critical patent/JPH04160431A/en
Pending legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)

Abstract

PURPOSE:To eliminate the need to reset a range value from outside the device, to shorten the processing time and to improve the throughput by providing a decision control circuit, etc., and deciding a numeral by combining comparison results of numeral elements. CONSTITUTION:A range value A memory 12a and a B memory 12b are stored with range values A and B to be compared with the value to be decided and a comparator 14 makes a one-bit comparison between the value to be decided and the value A or B. A comparison condition memory 17 is stored with conditions for deciding 'coincidence' according to the comparison result and a comparison control circuit 18 compares the comparison result between the value to be decided and the value A or B according to the contents of a memory 17. A decision condition memory 21 makes a decision by combining results of comparisons with plural numeral elements and is stored with the conditions for deciding 'coincidence' finally and a decision control circuit 22 decides the results of comparisons with the numeric elements according to the contents of the memory 21 and the decision result is outputted through a decision result output line 23. Consequently, the processing time is shortened and the throughput is increased.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、数値の大小、同一の判定を組合せて複数の
数値諸元に一致するかどうかについて連続して判定する
ことのできる数値判定装置に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention provides a numerical determination device that can continuously determine the size of a numerical value and whether or not it matches a plurality of numerical specifications by combining the same determination. It is related to.

〔従来の技術〕[Conventional technology]

第2図は従来のこの種の数値判定装置を示す。 FIG. 2 shows a conventional numerical determination device of this type.

第2図において、30は被判定値と範囲値A。In FIG. 2, 30 indicates the determined value and the range value A.

Bとを所定ビット単位(本装置では1ビット単位)で比
較する比較ステージであり、該比較ステージ30におい
て、11は本装置に被判定値を入力する被判定値入力線
、12aは被判定値と比較すべき1つの範囲値Aを記憶
しておく第1の範囲値メモリ、12bは同じくもう1つ
の範囲値Bを記憶しておく第2の範囲値メモリ、14は
被判定値と範囲値Aもしくは範囲値Bとの1ビツト比較
を行う比較器、15.16は各々比較結果を伝達する決
定信号線および論理大信号線であり、決定信号線15は
被判定値が範囲値AもしくはBと異なる(1)か否(0
)かを示す信号線、論理大信号線16は被判定値が範囲
値AもしくはBより大きい(1)か否(0)かを示す信
号線である。
This is a comparison stage that compares B in units of predetermined bits (in units of 1 bit in this device). 12b is a second range value memory that also stores another range value B, and 14 is the value to be determined and the range value. A comparator that performs a 1-bit comparison with A or range value B; 15 and 16 are a decision signal line and a logic large signal line that transmit the comparison results, respectively; Is it different from (1) or not (0
), and the logic large signal line 16 is a signal line that indicates whether the value to be determined is larger than the range value A or B (1) or not (0).

13は各比較ステージからのこれら2つの信号の伝達を
制御する信号伝達制御回路、17は被判定値と範囲値A
および範囲値Bとの比較結果にもとづいて、「一致」と
判定する条件を記憶しておく比較条件メモリ、18は被
判定値と範囲値Aおよび範囲値Bとの比較結果を、比較
条件メモリ17の内容に従い比較する比較制御回路、1
9は比較結果を装置の外へ出力する比較結果出力線、2
0は信号伝達制御回路13に装置内共通のタイミングを
供給するクロック発生回路である。
13 is a signal transmission control circuit that controls the transmission of these two signals from each comparison stage; 17 is a determined value and a range value A;
18 is a comparison condition memory that stores the conditions for determining a "match" based on the comparison results between the target value and the range values A and B. Comparison control circuit that compares according to the contents of 17, 1
9 is a comparison result output line that outputs the comparison result to the outside of the device; 2
0 is a clock generation circuit that supplies the signal transmission control circuit 13 with timing common to the device.

次に動作について説明する。Next, the operation will be explained.

第2図において、被判定値入力線11は本装置により判
定を行う2進数値化したデータを入力する信号線で、図
中の2本のうち左側のものが数値の重みが大きいものと
する。即ち、被判定値入力線11がn本ある場合、1番
左側の線は2″−1の重みを有し、1番右側は2°(=
1)の重みを有するものとする。範囲値Aメモリ12a
、範囲値Bメモリ12bは被判定値と比較する2進数値
を記憶しておくメモリで、被判定値入力線11と同じ重
み付けを有する。なお、これらの2つのメモリは本装置
の動作開始前に判定の条件となる範囲値を設定しておく
In FIG. 2, the judged value input line 11 is a signal line that inputs binary digitized data to be judged by this device, and of the two lines in the figure, the one on the left has a larger numerical weight. . That is, when there are n determined value input lines 11, the leftmost line has a weight of 2''-1, and the rightmost line has a weight of 2° (=
1). Range value A memory 12a
, the range value B memory 12b is a memory that stores a binary value to be compared with the determined value, and has the same weighting as the determined value input line 11. Note that range values that serve as conditions for determination are set in these two memories before the start of operation of this device.

これらの2つの範囲値Aおよび範囲値Bは下記の関係と
なるように設定しておく。
These two range values A and B are set to have the following relationship.

範囲値B≦範囲値A 比較条件メモリ17は被判定値と範囲値Aおよび範囲値
Bとの比較結果にもとづいて[一致」と判定する条件を
、装置の動作開始前に記憶しておくためのもので、下表
に示す2ビツトのデータを保持している。
Range value B≦range value A The comparison condition memory 17 is used to store, before the apparatus starts operating, the conditions for determining a match based on the comparison results between the determined value and range values A and B. It holds the 2-bit data shown in the table below.

表1(その1) 表1(その2) なお、クロック発生回路20は装置内の同期をとるため
のクロック信号を発生するもので、このクロック信号は
信号伝達制御回路13に供給される。
Table 1 (Part 1) Table 1 (Part 2) Note that the clock generation circuit 20 generates a clock signal for synchronizing the device, and this clock signal is supplied to the signal transmission control circuit 13.

まず、本装置に入力した被判定値は被判定値入力線11
により比較器14に入力される。この時入力する被判定
値は事前にクロック発生回路2゜からのクロック信号に
同期してデータビットの左側から順に1サイクルずつ遅
らせておく。即ち、被判定値の左側のビットに比べて1
サイクル遅らせて入力し、以下右側へ順に1サイクルず
つ遅らせる。データのビット長かnの時、1番右側のビ
ットは1番左側のビットに比べて(n−1)サイクル遅
らせて入力する。
First, the to-be-determined value input to this device is input to the to-be-determined value input line 11.
is inputted to the comparator 14 by. The value to be determined to be input at this time is delayed one cycle at a time in advance from the left side of the data bits in synchronization with the clock signal from the clock generation circuit 2°. That is, 1 compared to the bit on the left side of the value to be determined.
Input with a cycle delay, and then delay one cycle at a time to the right. When the data bit length is n, the rightmost bit is inputted with a delay of (n-1) cycles compared to the leftmost bit.

被判定値は被判定値入力線11により2つの比較器14
に入力され、各々範囲値Aメモリ12aおよび範囲値B
メモリ12bの各位と比較される。
The value to be determined is input to two comparators 14 by the value input line 11 to be determined.
are input into the range value A memory 12a and range value B, respectively.
It is compared with each location in the memory 12b.

その比較結果は各々2本の信号線、決定信号線15およ
び論理大信号線16として、信号伝達制御回路13に入
力される。
The comparison results are input to the signal transmission control circuit 13 as two signal lines, a decision signal line 15 and a logic high signal line 16, respectively.

比較器14はその比較器に入力する決定信号線15の内
容およびその判定結果に基づいて、その出力である決定
信号線15および論理大信号線16の内容を変化させる
。比較器14は入力した決定信号線15が1(高)即ち
「決定済」の場合、被判定値と範囲値Aもしくは範囲値
Bとの比較結果にかかわらず、入力した各々の信号線の
内容をそのまま出力用の決定信号線15および論理大信
号線16に出力する。また比較器14は入力した決定信
号線15がO(低)即ち[未決定Jの場合、被判定値と
範囲値Aもしくは範囲値Bとの比較結果に従い、出力用
の決定信号線15および論理値信号線16の内容を下表
に示す通りに変化させる。
The comparator 14 changes the contents of the decision signal line 15 and the large logic signal line 16, which are its outputs, based on the content of the decision signal line 15 input to the comparator and the determination result thereof. When the input determination signal line 15 is 1 (high), that is, "determined", the comparator 14 inputs the contents of each input signal line regardless of the comparison result between the determined value and range value A or range value B. is output as is to the decision signal line 15 and the logic large signal line 16 for output. In addition, if the input decision signal line 15 is O (low), that is, [undecided J, the comparator 14 outputs the decision signal line 15 for output and the logic The contents of the value signal line 16 are changed as shown in the table below.

表2 (註) 表2中、範囲値とは範囲値Aもしくは範囲値B
を意味する。
Table 2 (Note) In Table 2, range value is range value A or range value B.
means.

信号伝達制御回路13はクロック発生回路2゜からのク
ロック信号に同期して各々2本の信号線の信号を次段の
比較器14へ伝達する。
The signal transmission control circuit 13 transmits the signals on each of the two signal lines to the next-stage comparator 14 in synchronization with the clock signal from the clock generation circuit 2°.

この時、この次段の比較器14には1サイクル遅れて被
判定値のデータビットが入力される。
At this time, the data bit of the value to be determined is inputted to the next stage comparator 14 with a delay of one cycle.

該比較器14は同様に被判定値と範囲値A、範囲値Bと
の比較結果を各々2本の信号線、決定信号線15.論理
大信号線16を出力する。
The comparator 14 similarly transmits the comparison results between the determined value and the range values A and B through two signal lines, a decision signal line 15. A logic large signal line 16 is output.

以後、同様に順次右側のビットを比較して行く。Thereafter, bits on the right side are sequentially compared in the same way.

また、この時1つの左側のビットの比較器14は、次の
被判定値を入力し、比較を開始する。
Also, at this time, the comparator 14 of one left bit receives the next determined value and starts comparison.

このようにして2本の信号線は全ての比較器14を通過
したところで被判定値と範囲値Aもしくは範囲値Bとの
比較結果を有することになる。
In this way, after the two signal lines have passed through all the comparators 14, they have a comparison result between the determined value and range value A or range value B.

この状態を表3に示す。This state is shown in Table 3.

(以下、余白) 表3 (註I) 範囲値とは範囲値Aもしくは範囲値Bのこと
を指す。
(Hereinafter, blank spaces) Table 3 (Note I) Range value refers to range value A or range value B.

(註2) 決定信号=o、論理大信号=1のケースは回
路構成上存在しない。
(Note 2) The case where the decision signal = o and the logical large signal = 1 does not exist due to the circuit configuration.

比較制御回路I8は、比較条件メモ川7の内容と、2組
の信号線、決定信号線15および論理大信号線16の状
態に従って判定結果出力線19の内容を制御する。
The comparison control circuit I8 controls the contents of the judgment result output line 19 according to the contents of the comparison condition memo river 7 and the states of the two sets of signal lines, the decision signal line 15 and the logic large signal line 16.

この状態を表4に示す。This state is shown in Table 4.

表4(そのl) 表4(その2) 表4(その3) 表4(その4) 比較結果出力線19は本装置の比較結果を外部へ伝達す
るためのものである。なお、上述のように本装置では決
定信号=0.論理大信号=1のケ−スは存在しないか、
仮にこのような組合せの信号が入力された場合でも装置
が誤動作しないように決定信号=0.論理大信号−1に
対しても判定結果出力を設定している。
Table 4 (Part 1) Table 4 (Part 2) Table 4 (Part 3) Table 4 (Part 4) The comparison result output line 19 is for transmitting the comparison result of this device to the outside. Note that, as described above, in this device, the determination signal = 0. Is there no case where the logical large signal = 1?
In order to prevent the device from malfunctioning even if such a combination of signals is input, the determination signal is set to 0. The judgment result output is also set for the logical large signal -1.

本装置は以上のように構成されているので、被判定値の
ビット長に相当するサイクル数だけ遅れて結果が出力さ
れる。しかしそれ以後は各サイクル毎に次の被判定値の
判定結果を出力する。
Since the present device is configured as described above, the result is output with a delay of the number of cycles corresponding to the bit length of the value to be determined. However, after that, the determination result of the next determined value is output for each cycle.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来の数値判定装置は、以上のように構成されているの
で、複数の数値諸元の比較を組合せて判定する必要があ
る場合、すなわち数値諸元X(例えば身長)が範囲内で
かつ、数値諸元Y(例えば体重)が範囲内のものを判定
する場合には、これらの判定を外部装置により順次実施
する必要かあり、各サイクル毎に判定結果が出力できる
ように構成されているにもかかわらず、最終的な判定時
間が長(かかるという問題点があった。
Conventional numerical determination devices are configured as described above, so when it is necessary to combine and make a determination by comparing multiple numerical specifications, that is, when the numerical specification X (for example, height) is within the range and the numerical When determining whether the specification Y (for example, body weight) is within the range, it is necessary to perform these determinations sequentially using an external device, and even if the system is configured so that the determination results can be output for each cycle. However, there was a problem in that the final judgment took a long time.

この発明は上記のような問題点を解消するためになされ
たもので、複数の数値諸元の比較を同時に行い、それら
の比較結果を組み合わせた判定を・各サイクル毎に行え
るスルーブツトレートの高い数値判定装置を得ることを
目的とする。
This invention was made to solve the above-mentioned problems, and it has a high throughput rate that can simultaneously compare multiple numerical specifications and make judgments by combining the comparison results for each cycle. The purpose is to obtain a numerical determination device.

〔課題を解決するための手段〕[Means to solve the problem]

この発明に係る数値判定装置は、数値判定装置本体を複
数設け、かつ複数の数値諸元の比較を同一のクロック発
生回路に同期させて行い、複数の数値諸元との比較結果
を組み合わせて判定を行う判定制御回路と、この判定条
件を記憶しておく判定条件メモリと、判定結果を本装置
外に出力する判定結果出力線とを各比較ステージに新た
に設けたものである。
A numerical determination device according to the present invention includes a plurality of numerical determination device bodies, compares a plurality of numerical specifications in synchronization with the same clock generation circuit, and makes a determination by combining the comparison results with the plurality of numerical specifications. Each comparison stage is newly provided with a determination control circuit for performing the determination, a determination condition memory for storing the determination conditions, and a determination result output line for outputting the determination results to the outside of the apparatus.

〔作用〕[Effect]

この発明においては、判定制御回路は、各数値諸元との
比較結果を組み合わせた判定、すなわち、論理和、論理
積等の判定を行うので、複数の数値の比較を組合せた判
定を高スルーブツトレートで行なうことができる。 ゛ 〔実施例〕 以下、この発明の実施例を図について説明する。
In this invention, the determination control circuit performs a determination combining the comparison results with each numerical specification, that is, a logical sum, a logical product, etc., so that a high-throughput determination can be performed by combining the comparisons of multiple numerical values. It can be done in trays. [Example] Hereinafter, an example of the present invention will be described with reference to the drawings.

第1図はこの発明の一実施例による数値判定装置を示し
、図において、11は本実施例装置に被判定値を入力す
る被判定値入力線、12aは被判定値と比較する範囲値
へを記憶しておく範囲値Aメモリ、12bは同じく範囲
値Bメモリ、14は被判定値と範囲値Aもしくは範囲値
Bとの1ビツト比較を行う比較器、15.16は各々比
較結果を伝達する決定信号線および論理大信号線である
FIG. 1 shows a numerical determination device according to an embodiment of the present invention. In the figure, 11 is a determined value input line for inputting a determined value into the device of this embodiment, and 12a is a line for inputting a determined value to a range value to be compared with the determined value. 12b is a range value B memory, 14 is a comparator that performs a 1-bit comparison between the value to be determined and range value A or range value B, and 15 and 16 are each transmitting the comparison results. A decision signal line and a logic large signal line.

13はこれら2つの信号の伝達を制御する信号伝達制御
回路、17は被判定値と範囲値Aおよび範囲値Bとの比
較結果にもとづいて「一致jと判定する条件を記憶して
おく比較条件メモリ、18は被判定値と範囲値Aおよび
範囲値Bとの比較結果を、比較条件メモIJ 17の内
容に従い比較する比較制御回路、19は比較結果を伝達
する比較結果信号線、20は信号伝達制御回路13に共
通のタイミングを供給するクロック発生回路である。
13 is a signal transmission control circuit that controls the transmission of these two signals; 17 is a comparison condition that stores a condition for determining "match j" based on the comparison result between the determined value and range value A and range value B; 18 is a comparison control circuit that compares the comparison results between the determined value and range value A and range value B according to the contents of the comparison condition memo IJ 17; 19 is a comparison result signal line that transmits the comparison results; 20 is a signal This is a clock generation circuit that supplies common timing to the transmission control circuit 13.

また、21は複数の数値諸元との比較結果を組合わせて
判定を行い最終的に「一致Jと判定する条件を記憶して
おく判定条件メモリ、22は複数の数値諸元との比較結
果を、判定条件メモリ21の内容に従い判定を行う判定
制御回路、23は判定結果を装置の外部に出力する判定
結果出力線である。
In addition, 21 is a judgment condition memory that stores the conditions for determining a match J by combining the comparison results with multiple numerical specifications, and 22 is a judgment condition memory that stores the conditions for determining a match J. 22 is the comparison result with multiple numerical specifications. A determination control circuit makes a determination according to the contents of the determination condition memory 21, and 23 is a determination result output line that outputs the determination result to the outside of the apparatus.

次に動作について説明する。Next, the operation will be explained.

第1図において、被判定値入力線11は従来技術の場合
と同様、この装置により判定を行う2進数値化したデー
タを入力する信号線で、第1図において左側の方が数値
の重みが大きいものとする。
In FIG. 1, the judged value input line 11 is a signal line for inputting binary digitized data to be judged by this device, as in the case of the prior art, and in FIG. Let's make it big.

即ち、被判定値入力線11がn本ある場合、1番左側の
線は2s−1の重みを有し、1番右側は2’(=1)の
重みを有するものとする。範囲値Aメモリ12a、範囲
値Bメモリ12bは従来技術の場合と同様、被判定値と
比較する2進数値を記憶しておくメモリで、被判定値入
力線11と同じ重み付けを有する。なお、これら2つの
メモリ、即ち範囲値Aメモリ12aおよび範囲値Bメモ
リ12bは本装置の動作開始前に判定の条件となる範囲
値を設定しておく。これら2つの範囲値Aおよび範囲値
Bは下記のような関係になるように設定しておく。
That is, when there are n determined value input lines 11, the leftmost line has a weight of 2s-1, and the rightmost line has a weight of 2' (=1). The range value A memory 12a and the range value B memory 12b are memories for storing binary values to be compared with the determined value, and have the same weighting as the determined value input line 11, as in the case of the prior art. Note that in these two memories, that is, the range value A memory 12a and the range value B memory 12b, range values serving as conditions for determination are set before the start of operation of the apparatus. These two range values A and B are set to have the following relationship.

範囲値B≦範囲値A 比較条件メモリ17は従来技術の場合と同様に被判定値
と範囲値A、範囲値Bとの比較結果にもとづいて「一致
」と判定する条件とするかを記憶しておくメモリで、本
装置の動作開始前に設定しておくものとする。クロック
発生回路20は装置内の同期をとるためのクロック信号
を発生するもので、このクロック信号は信号伝達制御回
路13に供給される。
Range value B≦range value A Similar to the conventional technology, the comparison condition memory 17 stores the conditions for determining "match" based on the comparison results between the value to be determined and range values A and B. The settings shall be made in the memory stored before the start of operation of this device. The clock generation circuit 20 generates a clock signal for synchronizing the apparatus, and this clock signal is supplied to the signal transmission control circuit 13.

まず、本装置により判定を行う被判定値は、被判定値入
力線11により比較器14に入力される。
First, a determined value to be determined by this device is input to the comparator 14 through the determined value input line 11.

この時、入力する被判定値は、事前にクロック発生回路
20からのクロック信号に同期して第1図においてデー
タビットの左側から順に1サイクルずつ遅らせておく。
At this time, the input target value is delayed one cycle at a time in advance from the left side of the data bits in FIG. 1 in synchronization with the clock signal from the clock generation circuit 20.

即ち、被判定値の左側から2番目のビットの被判定値の
入力タイミングは、1番左側のビットに比べて1サイク
ル遅らせて入力し、以降右側へ順に1サイクルずつ遅ら
せる。従って、データのビット長がnの時、1番右側の
ビットは1番左側のビットに比べて(n−1)サイクル
遅らせて入力する。
That is, the input timing of the second bit from the left side of the value to be determined is delayed by one cycle compared to the bit on the leftmost side, and thereafter is delayed by one cycle to the right side. Therefore, when the bit length of data is n, the rightmost bit is inputted with a delay of (n-1) cycles compared to the leftmost bit.

本装置に入力した被判定値のビットデータは2つの比較
器14に入力され、各々範囲値Aメモリ12aおよび範
囲値Bメモリ12bに記憶された範囲値Aおよび範囲値
Bと比較される。比較結果は各々2つの信号線、即ち決
定信号線15および論理大信号線16として信号伝達制
御回路13に伝達する。信号伝達制御回路13は従来技
術の場合と同様にクロック発生回路20からのクロック
信号に同期して2つの信号線、決定信号線15および論
理大信号線16の1対の信号を次の比較器に伝達するタ
イミングを制御する。
The bit data of the value to be determined inputted to the present device is inputted to two comparators 14, and compared with range value A and range value B stored in range value A memory 12a and range value B memory 12b, respectively. The comparison results are transmitted to the signal transmission control circuit 13 through two signal lines, ie, a decision signal line 15 and a logic high signal line 16. As in the case of the prior art, the signal transmission control circuit 13 synchronizes with the clock signal from the clock generation circuit 20 and transfers a pair of signals from two signal lines, a decision signal line 15 and a logic large signal line 16, to the next comparator. control the timing of transmission.

この時、次段の比較器14には1サイクル遅れて被判定
値の次のビットデータが入力される。次段の判定器14
も前段の比較器14と同様に、被判定値と範囲値Aおよ
び範囲値Bとの比較を行い、比較結果を各々1対の信号
線、決定信号線15および論理大信号線16により出力
する。
At this time, the next bit data of the value to be determined is input to the next stage comparator 14 with a delay of one cycle. Next stage determiner 14
Similarly to the comparator 14 in the previous stage, it compares the value to be determined with the range value A and the range value B, and outputs the comparison results through a pair of signal lines, a decision signal line 15, and a large logic signal line 16, respectively. .

また、この時前段の比較器14は、次段の被判定値を入
力し、比較を行う。
Also, at this time, the comparator 14 at the previous stage inputs the determined value at the next stage and performs comparison.

以後、同様に順次右側のビットに1対の信号、決定信号
線15および論理大信号線16を伝達しながら被判定値
と範囲値Aもしくは範囲値Bとの全ビットの比較を完了
する。
Thereafter, the comparison of all bits between the value to be determined and range value A or range value B is completed while sequentially transmitting the pair of signals, the decision signal line 15 and the logic large signal line 16 to the right bits in the same way.

比較制御回路18は従来技術の場合と同様に、比較条件
メモリ17の内容と、決定信号線15および論理大信号
線16の2組の信号線の状態に従って比較結果信号線1
9の内容を制御する。    □以上の比較動作を複数
の数値諸元について、クロック発生回路20に同期して
、同時に行う。
As in the case of the prior art, the comparison control circuit 18 controls the comparison result signal line 1 according to the contents of the comparison condition memory 17 and the states of two sets of signal lines, the decision signal line 15 and the logic large signal line 16.
Controls the contents of 9. □The above comparison operation is performed simultaneously for a plurality of numerical specifications in synchronization with the clock generation circuit 20.

第1図では、左右に各1諸元づつ対称型に示した。In FIG. 1, one dimension each is shown symmetrically on the left and right.

判定条件メモリ21は、複数の数値諸元の比較結果を組
み合わせて判定を行う条件を記憶しておくメモリで、本
装置の動作開始前にあらかじめ設定しておくものである
The judgment condition memory 21 is a memory that stores conditions for making a judgment by combining the comparison results of a plurality of numerical specifications, and is set in advance before the start of operation of the apparatus.

設定の内容を表5に示す。Table 5 shows the settings.

表5 判定制御回路22は、複数の数値諸元の比較結果を判定
条件メモリ21の内容に従い、判定結果出力線23の内
容を制御するもので、状態は表6による。
Table 5 The judgment control circuit 22 controls the contents of the judgment result output line 23 based on the comparison results of a plurality of numerical specifications according to the contents of the judgment condition memory 21, and the status is as shown in Table 6.

判定結果出力線23は本装置の判定結果を外部へ伝達す
る。
The determination result output line 23 transmits the determination result of this device to the outside.

表6(そのl) 表6(その2) このように、本実施例では複数の数値判定装置本体を設
け、その各々の比較結果を組合せた判定を各サイクル毎
に行なうように構成したので、最初のうちは被判定値の
ビット長に相当するサイクル数だけ遅れて判定結果が出
力されるが、それ以後は、各サイクル毎に次の被判定値
の判定結果を出力する。
Table 6 (Part 1) Table 6 (Part 2) In this way, in this embodiment, a plurality of numerical determination device main bodies are provided, and a determination is made by combining the comparison results of each of them in each cycle. At first, the determination result is output with a delay of the number of cycles corresponding to the bit length of the determined value, but thereafter, the determined result of the next determined value is output every cycle.

また、上記実施例では第1図に示した比較器14のよう
に1ビツト比較器を設けて装置を構成したが、これは2
ビツト、3ビツト、4ビツト等の複数ビットの比較器を
用いても装置を構成でき、上記と同様の効果を奏する。
Furthermore, in the above embodiment, the device was constructed by providing a 1-bit comparator like the comparator 14 shown in FIG.
The device can also be constructed using a comparator with multiple bits, such as 3-bit, 3-bit, 4-bit, etc., and the same effect as described above can be obtained.

また、上記実施例では、第1図に示したように、2種類
の数値諸元を比較し、判定するように装置を構成したが
、3種類、4種類等複数の数値諸元を比較判定するよう
に構成してもよい。
In addition, in the above embodiment, as shown in FIG. 1, the apparatus was configured to compare and judge two types of numerical specifications. It may be configured to do so.

〔発明の効果〕〔Effect of the invention〕

以上のように、この発明によれば、複数の数値諸元の比
較結果を組み合わせて数値の判定を行えるように装置を
構成したので、装置の外部から範囲値を再設定したり、
同様の数値判定装置を繰り返し使用する等の必要がない
ので、処理時間の短い、スルーブツトレートの高い数値
判定装置を提供できる効果がある。
As described above, according to the present invention, the device is configured so that a numerical value can be determined by combining the comparison results of a plurality of numerical specifications, so that the range value can be reset from outside the device,
Since there is no need to repeatedly use the same numerical determination device, it is possible to provide a numerical determination device with short processing time and high throughput rate.

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

第1図は本発明の一実施例による数値判定装置の構成図
、第2図は従来技術による数値判定装置を示す図である
。 図において、11は被判定値入力線、12aは範囲値A
メモリ(第1の範囲値メモリ)、12bは範囲値Bメモ
リ(第2の範囲値メモリ)、13は信号伝達制御回路、
14は比較器、15は決定信号線、16は論理大信号線
、17は比較条件メモリ、18は比較制御回路、19は
比較結果信号線、20はクロック発生回路、21は判定
条件メモリ、22は判定制御回路、23は判定結果出力
線を示す。 なお図中同一符号は同−又は相当部分を示す。
FIG. 1 is a block diagram of a numerical determination device according to an embodiment of the present invention, and FIG. 2 is a diagram showing a numerical determination device according to the prior art. In the figure, 11 is a determined value input line, 12a is a range value A
12b is a range value B memory (second range value memory); 13 is a signal transmission control circuit;
14 is a comparator, 15 is a decision signal line, 16 is a logic large signal line, 17 is a comparison condition memory, 18 is a comparison control circuit, 19 is a comparison result signal line, 20 is a clock generation circuit, 21 is a judgment condition memory, 22 2 shows a judgment control circuit, and 23 shows a judgment result output line. Note that the same reference numerals in the figures indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] (1)2進数値化したデータの比較判定を行う装置であ
って、 被判定値を入力するための判定値入力線と、被判定値が
その範囲に属するか否かの比較対象となる2つの範囲値
を記憶した第1、第2の範囲値メモリと、 被判定値と2つの範囲値との大小比較判定を単数または
複数ビットについて行う比較器と、比較器の比較結果を
順次伝えるための信号線と、これらの信号の伝達タイミ
ングを制御する信号伝達制御回路とをそれぞれ備え、 前段の信号伝達制御回路の出力が次段の比較器に順次入
力されるように直列に接続された複数の比較ステージと
、 各比較ステージの信号伝達制御回路の同期をとるための
クロック発生回路と、 最終段の比較ステージの出力を入力とし被判定値と上記
第1、第2の範囲値との関係を判定する比較制御回路と
、 該判定に用いる、上記被判定値と上記2つの範囲値とが
所定の関係にあるか否かの比較条件を記憶する比較条件
メモリと、 上記比較結果を伝達する比較結果出力線とを備えた複数
組の数値判定装置本体と、 上記複数の数値判定装置本体からの複数の諸元の比較結
果を組み合わせて判定を行う判定制御回路と、 判定制御回路が各数値の比較結果をどのように組み合わ
せて判定するかの条件を記憶する判定条件メモリと、 上記判定制御回路の判定結果を装置の外部に出力するた
めの判定結果出力線とを備えたことを特徴とする数値判
定装置。
(1) A device that performs comparative judgment on data converted into binary values, which includes a judgment value input line for inputting the judged value and a comparison target 2 to determine whether the judged value belongs to the range. first and second range value memories that store two range values; a comparator that compares and determines the magnitude of the target value and the two range values for single or multiple bits; signal lines and a signal transmission control circuit that controls the transmission timing of these signals. a comparison stage, a clock generation circuit for synchronizing the signal transmission control circuit of each comparison stage, and a relationship between the determined value and the first and second range values using the output of the final comparison stage as input. a comparison control circuit for determining, a comparison condition memory used for the determination and storing a comparison condition for determining whether or not the determined value and the two range values are in a predetermined relationship, and transmitting the comparison result. a plurality of sets of numerical determination device bodies each having a comparison result output line; a determination control circuit that makes a determination by combining the comparison results of a plurality of specifications from the plurality of numerical determination device bodies; The device is characterized by comprising a judgment condition memory that stores conditions for how to combine the comparison results to make a judgment, and a judgment result output line for outputting the judgment result of the judgment control circuit to the outside of the device. Numerical judgment device.
JP28637390A 1990-10-23 1990-10-23 Numeral decision device Pending JPH04160431A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28637390A JPH04160431A (en) 1990-10-23 1990-10-23 Numeral decision device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28637390A JPH04160431A (en) 1990-10-23 1990-10-23 Numeral decision device

Publications (1)

Publication Number Publication Date
JPH04160431A true JPH04160431A (en) 1992-06-03

Family

ID=17703556

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28637390A Pending JPH04160431A (en) 1990-10-23 1990-10-23 Numeral decision device

Country Status (1)

Country Link
JP (1) JPH04160431A (en)

Similar Documents

Publication Publication Date Title
EP0208870A1 (en) Vector data processor
CA2070035C (en) Arrangement and method of ascertaining data word number of maximum or minimum in a plurality of data words
US5901321A (en) Apparatus and method for interrupt processing in a code division multiple access switching apparatus
US4446452A (en) Magnitude comparator circuit and method
US20050132112A1 (en) I/O energy reduction using previous bus state and I/O inversion bit for bus inversion
US5511189A (en) Data sorting apparatus capable of detecting completion of data sorting early and sorting method therefor
JPH0713898A (en) Semiconductor integrated circuit device
US6556488B2 (en) Delay locked loop for use in semiconductor memory device
JPH04273563A (en) Single-competitive-module arbitration mechanism of common bus
US4651301A (en) Circuit arrangement for performing rapid sortation or selection according to rank
US5414721A (en) Serial data receiving device
JPH04160431A (en) Numeral decision device
US4065639A (en) Synchronous transmission control system
KR20040021485A (en) Memory control apparatus and method of controlling memory access capable of selecting page mode in order to reduce memory access time
JPH0795263B2 (en) Numerical judgment device
JPH06149662A (en) Continuous read expanding system for burst transfer of rom and rom built-in type microcomputer using the system
JPH01102635A (en) Numerical value deciding device
US6487550B1 (en) Method and apparatus for finding a first element
JPH05344113A (en) Frame synchronizing circuit
GB2180125A (en) Priority resolution system and video display apparatus
JPH09128241A (en) Method and apparatus for arrangement with reference to belonging function value of language input value of fuzzy logic processor
US5821850A (en) Method and apparatus for comparing magnitude of data from a plurality of data sources
EP0207462A2 (en) Comparator circuit
US6438571B1 (en) Adder circuit
US7237106B1 (en) System for loading configuration data into a configuration word register by independently loading a plurality of configuration blocks through a plurality of configuration inputs