JPS627578B2 - - Google Patents
Info
- Publication number
- JPS627578B2 JPS627578B2 JP1274780A JP1274780A JPS627578B2 JP S627578 B2 JPS627578 B2 JP S627578B2 JP 1274780 A JP1274780 A JP 1274780A JP 1274780 A JP1274780 A JP 1274780A JP S627578 B2 JPS627578 B2 JP S627578B2
- Authority
- JP
- Japan
- Prior art keywords
- classification
- cell
- cells
- input
- numerical values
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/22—Arrangements for sorting or merging computer data on continuous record carriers, e.g. tape, drum, disc
- G06F7/24—Sorting, i.e. extracting data from one or more carriers, rearranging the data in numerical or other ordered sequence, and rerecording the sorted data on the original carrier or on a different carrier or set of carriers sorting methods in general
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2207/00—Indexing scheme relating to methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F2207/22—Indexing scheme relating to groups G06F7/22 - G06F7/36
- G06F2207/228—Sorting or merging network
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Image Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Description
【発明の詳細な説明】
本発明は複数個の数値を値の大きさの順に並べ
替えて出力する並列分類処理装置に関するもので
ある。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a parallel classification processing device that sorts and outputs a plurality of numerical values in order of value.
大量の情報を分類処理することは、デイジタル
コンピユータの最も得意とし、取分けフアイル操
作等には欠かせない重要な処理の一つである。な
かでも、複数個の数値を大きさの順(大きい順ま
たは小さい順)に並べ替える操作は、最も単純で
基本的な分類処理の一例であり、簡単な数値比較
を繰返すことによつて実施される。 Classifying and processing large amounts of information is one of the strengths of digital computers, and is one of the most important processes that is indispensable for handling files and the like. Among these, the operation of sorting multiple numbers in order of size (largest or smallest) is an example of the simplest and basic classification process, and is performed by repeating simple numerical comparisons. Ru.
ここで問題とされるのは、分類処理に費される
時間である。特に分類処理すべき情報が多量であ
る場合、上述の如き単純な繰返し操作が適用され
れば、データ量に比例した膨大な処理時間を要す
こととなる。このため種々に工夫された分類アル
ゴリズムを適用することによつて処理時間の短縮
が図られている。 The issue here is the time spent on classification processing. Particularly when there is a large amount of information to be classified and processed, if the above-described simple repetitive operation is applied, an enormous amount of processing time will be required in proportion to the amount of data. For this reason, efforts are being made to shorten the processing time by applying variously devised classification algorithms.
さらに斯かる問題を解決する方法の一例とし
て、富永、平山による「フアイルメモリーにおけ
るコンテントアドレスの一手法」電子通信学会電
子計算機研究会資料1972年1月21日資料番号
EC71−61(1972−01)(以下資料1とする)に並
列分類処理の方法が提案されている。この方法に
よれば、二つの二進数値をビツト毎に比較し大小
の順位を判定し出力する分類回路を基本のセルと
し、これらの分類セルを配列状に並べ、相互に規
則的な組合せにより結合して並列分類処理装置を
構成し、処理の高速化を達成している。この場合
には、装置を構成する個々の分類セルの構造が簡
単であることが利点とされるが、多量の情報を同
時に分類処理するためにはデータ量に応じた個数
の分類セルを設置する必要があり、装置が大型化
するとともに処理時間が増大することが最大の欠
点である。 Furthermore, as an example of a method to solve such a problem, Tominaga and Hirayama, "A Method of Content Addressing in File Memory," Institute of Electronics and Communication Engineers Electronic Computer Research Group Material, January 21, 1972, Material No.
A parallel classification processing method was proposed in EC71-61 (1972-01) (hereinafter referred to as Document 1). According to this method, the basic cell is a classification circuit that compares two binary values bit by bit, determines the order of magnitude, and outputs the data.These classification cells are arranged in an array, and are combined regularly with each other. They are combined to form a parallel classification processing device to achieve faster processing. In this case, the advantage is that the structure of each classification cell that makes up the device is simple, but in order to simultaneously classify and process a large amount of information, it is necessary to install a number of classification cells according to the amount of data. The biggest drawback is that the processing time increases as the equipment becomes larger.
一方、集積化技術の進歩によりLSI等のチツプ
上に複雑大規模な回路を収容することが可能とな
つた。この事実と、上記並列分類処理装置の構成
法とを合せて考えれば、基本セルの機能を適度に
増すことが、装置構成を簡単にする手段と成り得
るが処理時間の増大は避けることが出来ない。 On the other hand, advances in integration technology have made it possible to accommodate large-scale, complex circuits on chips such as LSIs. Considering this fact in conjunction with the configuration method of the parallel classification processing device described above, increasing the functions of the basic cells moderately can be a means of simplifying the device configuration, but an increase in processing time cannot be avoided. do not have.
本発明の目的は、上記事情に鑑み、より少ない
基本セルで構成され、回路量を軽減すると共に高
速な分類処理が可能な並列分類処理装置を提供す
ることにある。 In view of the above circumstances, an object of the present invention is to provide a parallel classification processing device that is configured with fewer basic cells, reduces the amount of circuitry, and is capable of high-speed classification processing.
本発明によれば、二つの数値を入力し、大きさ
の順に並べ替えて出力する第一の分類セルと、大
きさの順に並べられた二つの数値が二組から成る
四つの数値を入力し、大きさの順に並べ替えて出
力する第二の分類セルとをそれぞれ複数個備え、
前記第一の分類セルは第一列目に、また前記第二
の分類セルは第二列目以後の複数の列に配列状に
並べられ、かつ前記第二列目以後の分類セルのそ
れぞれへは、予め決められた規則に従つて、前列
の分類セルのうち相隣り合うものからそれぞれ二
つずつの出力信号が供給されるように、前記二種
類の分類セルが規則的に相互結合されて構成さ
れ、入力される複数個の数値が並列的に分類処理
を施され、大きさの順に並べ替えられて出力され
る並列分類処理装置が得られる。 According to the present invention, there is a first classification cell that inputs two numerical values, sorts them in order of magnitude, and outputs them, and inputs four numerical values consisting of two sets of two numerical values arranged in the order of magnitude. , and second classification cells that are sorted and output in order of size,
The first classification cells are arranged in a first column, the second classification cells are arranged in a plurality of columns after the second column, and each of the classification cells after the second column is arranged in an array. The two types of classification cells are regularly interconnected in accordance with a predetermined rule so that two output signals are supplied from each adjacent classification cell in the previous row. A parallel classification processing device is obtained in which a plurality of input numerical values are classified in parallel, rearranged in order of size, and output.
次に図面を参照して本発明を詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.
第1図は本発明の一実施例を示すブロツク図で
あり、一例として、12個の数値の並列分類処理を
行なう装置の構成を示すものである。11,12
……,16は第一の分類セルであり、それぞれ二
本ずつの入出力信号線を有する。21,22,…
…,215は第二の分類セルであり、それぞれ四本
ずつの入出力信号線を有する。1001,100
2,……,10012は本装置の外部入力信号線で
あり、12個の分類すべき数値が並列に供給され
る。2001,2002,……,20012は本装
置の外部出力信号線であり、前記12個の数値が大
きさの順の並べ替えられて並列に出力される。ま
た外部入力信号線1001,1002は分類セル
11の入力信号線、外部入力信号線1003,1
004は分類セル12の入力信号線、同様に外部
入力信号線10011,10012は分類セル16の
入力信号線でもある。1011,1012は分類
セル11の出力信号線、1013,1014は分
類セル12の出力信号線であり、これらは共に分
類セル21の入力信号線でもある。2011,2
012,2013,2014は分類セル21の出
力信号線であり、また出力信号線2011,20
12は分類セル26の一部の入力信号線、出力信
号線2013,2014は分類セル24の一部の
入力信号線でもある。2015,2016,20
21,2022等も各分類セルの出力信号線であ
り、次列の分類セルの入力信号線でもある。外部
出力信号線2001,2002,……,20012
は最終列にある分類セルの出力信号線でもあり、
例えば外部出力信号線2001,2002は分類
セル211の一部の出力信号線、外部出力信号線2
003,2004は分類セル214の一部出力信号
線等である。 FIG. 1 is a block diagram showing one embodiment of the present invention, and shows, as an example, the configuration of an apparatus that performs parallel classification processing of 12 numerical values. 1 1 , 1 2
..., 16 are first classification cells, each having two input/output signal lines. 2 1 , 2 2 ,…
..., 2 15 are second classification cells, each having four input/output signal lines. 100 1,100
2 , . 200 1 , 200 2 , . . . , 200 12 are external output signal lines of this device, and the above-mentioned 12 numerical values are rearranged in order of magnitude and output in parallel. Further, external input signal lines 100 1 and 100 2 are input signal lines of the classification cell 1 1 and external input signal lines 100 3 and 1
004 is an input signal line of the classification cell 12 , and similarly external input signal lines 10011 and 10012 are input signal lines of the classification cell 16 . 101 1 and 101 2 are output signal lines of the classification cell 1 1 , and 101 3 and 101 4 are output signal lines of the classification cell 1 2 , both of which are also input signal lines of the classification cell 2 1 . 201 1,2
01 2 , 201 3 , 201 4 are output signal lines of the classification cell 2 1 , and output signal lines 201 1 , 20
1 2 is a part of the input signal line of the classification cell 2 6 , and output signal lines 201 3 and 201 4 are also part of the input signal line of the classification cell 2 4 . 201 5 , 201 6 , 20
2 1 , 202 2, etc. are also output signal lines of each classification cell, and are also input signal lines of the next column of classification cells. External output signal lines 200 1 , 200 2 , ..., 200 12
is also the output signal line of the classification cell in the last column,
For example, the external output signal lines 200 1 and 200 2 are part of the output signal line of the classification cell 2 11 , and the external output signal line 2
00 3 and 200 4 are some output signal lines of the classification cell 2 14 .
第一の分類セル11,12……,16は入力さ
れる二つの数値を順序付けして出力するものであ
る。一例として分類セル11は入力信号線100
1,1002より入力される二つの数値を比較
し、その小さい方を出力信号線1011へ、その
大きい方を出力信号線1012へ出力する。 The first classification cells 1 1 , 1 2 . . . , 1 6 are for ordering and outputting two input numerical values. As an example, classified cell 1 1 is input signal line 100
1 and 1002 are compared, and the smaller one is outputted to the output signal line 1011 , and the larger one is outputted to the output signal line 1012 .
第二の分類セル21,22,……,215は順序
付けされた二つの数値を二組入力して、これら四
つの数値を順序付けして出力するものである。一
例として、分類セル21は、一方に分類セル11
にて順序付けられた二つの数値を入力信号線10
11,1012より、また他方に分類セル12に
て順序付けられた二つの数値を入力信号線101
3,1014よりそれぞれ入力し、これら四つの
数値を比較して値の小さいものから順に出力信号
線2011,2012,2013,2014に対
応させて出力する。さらに一例を示せば分類セル
24は、一方に分類セル21の出力する数値のう
ち大きいもの二つを入力信号線2013,201
4より、他方に分類セル22の出力する数値のう
ち小さいもの二つを入力信号線2015,201
6よりそれぞれ入力し、これら四つの数値の値の
小さいものから順に出力信号線2021,202
2,2023、2024に対応させて出力する。
他の分類セルにおいてもその出力する数値の順位
とそれらの出力信号線との対応付けは全く同じで
ある。 The second classification cells 2 1 , 2 2 , . . . , 2 15 input two sets of two ordered numerical values, and output these four numerical values in an ordered manner. As an example, classified cell 2 1 is classified on the one hand and classified cell 1 1 on the other hand.
Input two numerical values ordered by the signal line 10
1 1 and 101 2 , and input the two numerical values ordered in the classification cells 1 2 to the input signal line 101.
3 and 101 4 , and compare these four numerical values and output them in order from the smallest value to the output signal lines 201 1 , 201 2 , 201 3 , and 201 4 . To give a further example, the classification cell 24 has two input signal lines 201 3 and 201 that have the largest values output from the classification cell 21 on one side.
4 , the smaller two of the numerical values output from the classification cell 2 2 are input to the other input signal lines 201 5 , 201
6 , respectively, and output signal lines 202 1 , 202 in order from the smallest value of these four numerical values.
2 , 202 3 , and 202 4 .
In other classified cells, the order of the output numerical values and the correspondence with their output signal lines are exactly the same.
なお、上記説明で各信号線の本数は一本あるい
は複数本であり、これについては後述される。 Note that in the above description, the number of each signal line is one or more, and this will be described later.
以上で、各分類セルの配置および相互結線の規
則性が説明されたが、この規則に従つて任意の個
数の数値に対する本発明の並列分類処理装置は構
成することは容易に推察される。 The regularity of the arrangement and interconnection of each classification cell has been explained above, and it is easily inferred that the parallel classification processing device of the present invention for any number of numerical values can be configured in accordance with this rule.
次に各分類セルの詳細について説明する。 Next, details of each classification cell will be explained.
第2図は第一の分類セルの第一の実施例による
具体的構成を示す回路図である。11は比較回路
である。12,13は選択回路である。入力され
る二つの数値X1、X2はそれぞれ入力信号線10
01,1002を通じて比較回路11、選択回路
12,13へ供給される。110は比較回路11
の出力信号線であり、比較回路11で判定された
二つの数値X1とX2の大小関係を示す1ビツトの
信号を選択回路12,13へ供給する。選択回路
12は比較回路11の出力信号により制御され
て、二つの数値X1、X2に対しX1X2ならばX1
を、X1>X2ならばX2をいずれか一方を選択して
出力する。選択回路13は二つの数値X1、X2に
対し上記と逆の選択によりいずれか一方を出力す
る。即ち入力される二つの数値の小さい方が出力
信号線1011へ、大きい方が出力信号線101
2へ得られる。 FIG. 2 is a circuit diagram showing a specific configuration of the first classification cell according to the first embodiment. 11 is a comparison circuit. 12 and 13 are selection circuits. The two input numbers X 1 and X 2 are respectively input to the input signal line 10.
It is supplied to the comparison circuit 11 and selection circuits 12 and 13 through 0 1 and 100 2 . 110 is a comparison circuit 11
This output signal line supplies a 1-bit signal indicating the magnitude relationship between the two numerical values X 1 and X 2 determined by the comparison circuit 11 to the selection circuits 12 and 13 . The selection circuit 12 is controlled by the output signal of the comparison circuit 11, and if X 1 and X 2 are the two numerical values X 1 and X 2 , then
If X 1 > X 2 , select one of X 2 and output. The selection circuit 13 outputs one of the two numerical values X 1 and X 2 by selecting inversely to the above. That is, the smaller of the two input numbers is sent to the output signal line 1011 , and the larger one is sent to the output signal line 101.
Obtained to 2 .
なお、入出力信号線1001,1002,10
11,1012は入力される数値を表わすビツト
数と同一本数を含むものである。 In addition, input/output signal lines 100 1 , 100 2 , 10
1 1 , 101 2 include the same number of bits as the number of bits representing the input numerical value.
第3図は第一の分類セルの第二の実施例による
具体的構成を示す回路図である。この回路は資料
1に記載の判定回路に相当するものであるので、
説明は簡略にする。51,52はインバータであ
る。53,54,……,65はNAND回路であ
る。この回路は順序回路であり、NAND回路5
5,56および57,58によりフリツプフロツ
プを形成し内部状態を記憶する。NAND回路5
9,60,……,65は入力信号と内部状態によ
つて決まる出力信号を生成する。111はリセツ
ト信号線であり、内部状態を初期状態へ設定する
リセツト信号を供給する。入力される二つの数値
X1,X2はそれらの上位ビツトにより順に1ビツ
トずつそれぞれ入力信号線1001,1002を
通じて供給される。インバータ51とNAND回路
53およびインバータ52とNAND回路54とは
それぞれ二つの数値X1、X2をビツト毎に大小を
判定する。一旦X1、X2の大小関係が決まれば、
内部状態は初期状態よりその関係を示す別の状態
へ移り、以後リセツト信号が印加されるまでその
状態を維持する。斯かる回路動作によつて入力さ
れる二つの数値X1、X2の小さい方は出力信号線
1011へ、大きい方は出力信号線1012へそ
れぞれ上位ビツトから順に出力される。 FIG. 3 is a circuit diagram showing a specific configuration of the first classification cell according to the second embodiment. This circuit corresponds to the judgment circuit described in Document 1, so
Keep the explanations brief. 51 and 52 are inverters. 53, 54, . . . , 65 are NAND circuits. This circuit is a sequential circuit, and NAND circuit 5
5, 56 and 57, 58 form a flip-flop to store the internal state. NAND circuit 5
9, 60, . . . , 65 produce output signals determined by the input signal and internal state. A reset signal line 111 supplies a reset signal for setting the internal state to the initial state. Two numbers to be entered
The upper bits of X 1 and X 2 are sequentially supplied one bit at a time through input signal lines 100 1 and 100 2 , respectively. The inverter 51 and the NAND circuit 53 and the inverter 52 and the NAND circuit 54 respectively determine the magnitude of the two numerical values X 1 and X 2 bit by bit. Once the magnitude relationship of X 1 and X 2 is determined,
The internal state shifts from the initial state to another state showing that relationship, and thereafter maintains that state until a reset signal is applied. The smaller one of the two numerical values X 1 and X 2 inputted by this circuit operation is outputted to the output signal line 1011 , and the larger one is outputted to the output signal line 1012 in order from the most significant bits.
以上説明で明らかなように、入出力信号線10
01,1002,1011,1012はそれぞれ
一本の信号線である。 As is clear from the above explanation, the input/output signal line 10
0 1 , 100 2 , 101 1 , and 101 2 are each one signal line.
第4図は第二の分類セルの具体的構成を示す回
路図である。 FIG. 4 is a circuit diagram showing a specific configuration of the second classification cell.
21,22,23は第一の分類セルであり、上
記説明の第一あるいは第二の実施例による第一の
分類セルのいずれであつても良い。入力される四
つの数値A1、A2、B1、B2にはそれぞれA1A2お
よびB1B2なる関係にあり、それぞれ入力信号
線1011,1012,1013,1014へ供
給される。A1とB1は第一の分類セル21にて順
序付けられて小さい方が出力信号線2011へ、
大きい方が出力信号線211へ出力される。A2
とB2は第一の分類セル22にて順序付けられて
小さい方が出力信号線212へ、大きい方が出力
信号線2014へ出力される。このとき出力信号
線2011へは最も小さい数値が、出力信号線2
014へは最も大きな数値が出力されている。出
力信号線211,212上の残りの二つの数値は
さらに第一の分類セル23にて順序付けられ、そ
の小さい方が出力信号線2012へ、大きい方が
出力信号線2013へ出力される。斯くして四つ
の数値A1、A2、B1、B2の全ての順序付けが行な
われる。 Reference numerals 21, 22, and 23 are first classification cells, which may be any of the first classification cells according to the first or second embodiment described above. The four input numbers A 1 , A 2 , B 1 , and B 2 have a relationship of A 1 A 2 and B 1 B 2 , respectively, and are connected to the input signal lines 101 1 , 101 2 , 101 3 , and 101 4 , respectively. Supplied. A 1 and B 1 are ordered in the first classification cell 21, and the smaller one is sent to the output signal line 201 1 ,
The larger one is output to the output signal line 211. A 2
and B2 are ordered in the first classification cell 22, and the smaller one is outputted to the output signal line 212, and the larger one is outputted to the output signal line 2014 . At this time, the smallest value is connected to the output signal line 201 1 .
The largest value is output to 01-4 . The remaining two numbers on the output signal lines 211 and 212 are further ordered in the first classification cell 23, and the smaller one is outputted to the output signal line 2012 , and the larger one is outputted to the output signal line 2013 . All four numbers A 1 , A 2 , B 1 , B 2 are thus ordered.
以上で本発明による並列分類処理装置の具体的
な構成が説明された。またこの説明から明らかな
ように、本装置では全て第一の分類セルの組合せ
によつて構成されるものと做すこともできる。 The specific configuration of the parallel classification processing device according to the present invention has been described above. Furthermore, as is clear from this description, the present device can be considered to be entirely composed of a combination of first classification cells.
また、第1図を参照して、第一の分類セル1
1,12と第二の分類セル21とを合せて一つの
セルとすれば、四つの数値を入力してそれらの値
の大きさの順に並べ替える第三の分類セルと見做
すこともできる。 Also, with reference to FIG. 1, the first classification cell 1
If 1 , 1, 2 and the second classification cell 2 , 1 are combined into one cell, it can be regarded as a third classification cell in which four numerical values are input and the values are sorted in order of magnitude. You can also do it.
なお、第1図の全ての信号線は、第一の実施例
による第一の分類セルが使用されるときは複数本
の信号線により成り、第二の実施例による第一の
分類セルが使用されるときは一本の信号線であ
る。 Note that all the signal lines in FIG. 1 consist of a plurality of signal lines when the first classification cell according to the first embodiment is used, and when the first classification cell according to the second embodiment is used. When it is connected, it is a single signal line.
第一の実施例による第一の分類セルを使用すれ
ば、信号線が増えるが、分類処理が高速に実施で
きる。 If the first classification cell according to the first embodiment is used, the number of signal lines increases, but classification processing can be performed at high speed.
第二の実施例による第一の分類セルを使用すれ
ば、入力される数値のビツト数分だけ処理時間が
かかるが、信号線の数が少なく回路が簡単とな
る。 If the first classification cell according to the second embodiment is used, the processing time will be increased by the number of bits of the input numerical value, but the number of signal lines will be small and the circuit will be simpler.
ところでこの場合、順序式論理回路構成である
ために動作タイミングについては若干の注意が必
要となる。それは各信号の各分類セルを通過する
ときの遅延についての配慮であり、各分類セルで
はそれぞれの2乃至4つの入力信号がそろつたタ
イミングで入力されて動作できるようにしなけれ
ばならない。一例として分類セル26への4つの
入力信号をみれば、第2列目の分類セル21と第
3列目の分類セル24とからそれぞれ入力される
もので分類セル1段分の遅延時間の相違がある。
これには、信号線2011および2012上に前
記遅延時間に相当する遅延を挿入することによつ
て容易に動作タイミングの調整を図ることができ
る。あるいは各列毎に適当なタイミングに調整さ
れた同期信号を供給してもよく、いずれにしても
通常のデイジタル装置の設計技術にて容易に実施
されるものである。 By the way, in this case, since it is a sequential logic circuit configuration, some care must be taken regarding the operation timing. This is due to consideration of the delay when each signal passes through each classification cell, and each classification cell must be able to operate by receiving two to four input signals at the same timing. As an example, if we look at the four input signals to the classification cells 2-6 , the signals input from the classification cells 2-1 in the second column and the classification cells 2-4 in the third column have a delay of one classification cell stage. There is a time difference.
For this purpose, the operation timing can be easily adjusted by inserting a delay corresponding to the delay time on the signal lines 2011 and 2012 . Alternatively, a synchronization signal adjusted to an appropriate timing may be supplied to each column, and in any case, this can be easily implemented using ordinary digital device design techniques.
最後に本発明の原理を具体的に説明する。 Finally, the principle of the present invention will be specifically explained.
第5図は複数個の数値が並列的に分類される様
子を示すためのデータの流れ図である。 FIG. 5 is a data flow diagram showing how a plurality of numerical values are classified in parallel.
11,……,16等は第一の分類セルであり、
21,……,23,214,……,215等は第二の
分類セルであり、これら各分類セルの配置は第4
図に対応する。3は記憶装置であり、一例として
分類すべき数値が12個“10”、“4”、“12”、……
の順で記憶されている。各分類セル内に示された
数値は、前記12個の数値が各分類セルを伝達され
る順序と、各分類セルでの順序付けの様子を表わ
すものである。4は最後の列の分類セルの出力を
受ける記憶装置であり、前記12個の数値が
“1”、“2”、“3”……の順に並べ替えられて得
られたことを示している。 1 1 , ..., 1 6 etc. are the first classification cells,
2 1 , ..., 2 3 , 2 14 , ..., 2 15 etc. are the second classification cells, and the arrangement of each of these classification cells is the fourth classification cell.
Corresponds to the figure. 3 is a storage device, and as an example, there are 12 numbers to be classified as "10", "4", "12", etc.
are stored in this order. The numerical values shown in each classification cell represent the order in which the 12 numerical values are transmitted through each classification cell and how they are ordered in each classification cell. 4 is a storage device that receives the output of the classification cell in the last column, and indicates that the 12 numerical values were obtained by sorting them in the order of "1", "2", "3", etc. .
以上の説明により、本発明の原理の特徴は前記
資料1に記載の並列分類処理装置に較べ、各々の
分類セルが前列の分類セルの出力する順序付けの
情報を有効に活用することにある。 As explained above, the feature of the principle of the present invention is that, compared to the parallel classification processing device described in Document 1, each classification cell effectively utilizes the ordering information output from the classification cell in the previous row.
従つて本発明によれば、回路規模を軽減できか
つ集積化に好適ならしめる高速並列分類処理装置
が得られその効果は大なるものがある。 Therefore, according to the present invention, it is possible to obtain a high-speed parallel classification processing device that can reduce the circuit scale and is suitable for integration, and has great effects.
第1図は本発明による並列分類処理装置の構成
を示すブロツク図、第2図は第一の分類セルの第
一の実施例を示す回路図、第3図は第一の分類セ
ルの第二の実施例を示す回路図、第4図は第二の
分類セルの具体的構成を示す回路図、第5図はデ
ータ流れの一例を説明するための図である。図に
おいて、11,12,……,16…第一の分類セ
ル、21,22,……,215…第二の分類セル、
11…比較回路、12,13…選択回路、21,
22,23…第一の分類セル、51,52…イン
バータ、53,54…,65…NAND回路、3,
4…記憶装置である。
FIG. 1 is a block diagram showing the configuration of a parallel classification processing device according to the present invention, FIG. 2 is a circuit diagram showing a first embodiment of a first classification cell, and FIG. 3 is a circuit diagram showing a first embodiment of a first classification cell. FIG. 4 is a circuit diagram showing a specific configuration of the second classification cell, and FIG. 5 is a diagram for explaining an example of a data flow. In the figure, 1 1 , 1 2 , ..., 1 6 ... first classification cell, 2 1 , 2 2 , ..., 2 15 ... second classification cell,
11... Comparison circuit, 12, 13... Selection circuit, 21,
22, 23...First classification cell, 51, 52...Inverter, 53, 54..., 65...NAND circuit, 3,
4...Storage device.
Claims (1)
て出力する第一の分類セルと、前記第一の分類セ
ルを3個組合せて構成し大きさの順に並べられた
二つの数値が二組から成る四つの数値を入力して
大きさの順に並べ替えて出力する第二の分類セル
とをそれぞれ複数個備え、前記第一の分類セルは
第一列目に、前記第二の分類セルは第二列目以後
の複数の列に配列状に並べられ、かつ前記第二列
目以後の分類セルのそれぞれへは、予じめ決めら
れた規則に従つて、前列の分類セルのうち相隣合
うものからそれぞれ二つずつの出力信号が供給さ
れるように、前記二種類の分類セルが規則的に相
互結合されて構成され、入力される複数個の数値
が並列的に分類処理されて、大きさの順に並べ替
えられ出力されることを特徴とする並列分類処理
装置。1. A first classification cell in which two numbers are input, sorted in order of size and output, and two sets of two numbers arranged in order of size formed by combining three of the first classification cells. and a plurality of second classification cells for inputting four numerical values, sorting them in order of size, and outputting them, the first classification cell being in the first column, and the second classification cell being in the first column. The cells are arranged in an array in a plurality of columns after the second column, and each of the classification cells after the second column is accessed according to a predetermined rule. The two types of classification cells are regularly connected to each other so that two output signals are supplied from each matching cell, and a plurality of input numerical values are classified and processed in parallel, A parallel classification processing device characterized by sorting and outputting in order of size.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1274780A JPS56110149A (en) | 1980-02-05 | 1980-02-05 | Parallel classification processing device |
| US06/232,052 US4410960A (en) | 1980-02-05 | 1981-02-05 | Sorting circuit for three or more inputs |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1274780A JPS56110149A (en) | 1980-02-05 | 1980-02-05 | Parallel classification processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS56110149A JPS56110149A (en) | 1981-09-01 |
| JPS627578B2 true JPS627578B2 (en) | 1987-02-18 |
Family
ID=11814007
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1274780A Granted JPS56110149A (en) | 1980-02-05 | 1980-02-05 | Parallel classification processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS56110149A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6170U (en) * | 1984-06-05 | 1986-01-06 | 横河電機株式会社 | signal selection circuit |
-
1980
- 1980-02-05 JP JP1274780A patent/JPS56110149A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS56110149A (en) | 1981-09-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8190943B2 (en) | Systolic merge sorter | |
| EP0066061A2 (en) | Relational algebra engine | |
| US12154034B2 (en) | Pruning method based on crossbar architecture and system thereof | |
| JPH065513B2 (en) | Memory system | |
| CN115905233A (en) | Merge Tree Data Sorting System and Sorting Method | |
| US5122979A (en) | Method and a digital electronic device for the evaluation of an extremum of a set of binary encoded data words | |
| US20230176999A1 (en) | Devices for time division multiplexing of state machine engine signals | |
| WO1993025975A2 (en) | A programmable logic device | |
| Lipu et al. | Exploiting parallelism for faster implementation of Bubble sort algorithm using FPGA | |
| JP3703518B2 (en) | Associative memory system | |
| US3514760A (en) | Sorting array ii | |
| US3336580A (en) | Sorting system for multi-bit binary digital records | |
| US5903780A (en) | Data sorting device having multi-input comparator comparing data input from latch register and key value storage devices | |
| JPH0666050B2 (en) | Sort processing method | |
| US4336600A (en) | Binary word processing method using a high-speed sequential adder | |
| CN118642680B (en) | FPGA-based heap ordering system and method | |
| JPS627578B2 (en) | ||
| JP2002229772A (en) | Sort processing method and sort processing device | |
| US5274589A (en) | Method and apparatus for writing and reading data to/from a memory | |
| JPS627579B2 (en) | ||
| Lin et al. | Two-dimensional rank-order filter by using max-min sorting network | |
| US5838335A (en) | Graphic data processing method and device | |
| JPH0797310B2 (en) | Sort processing device | |
| JP2587447B2 (en) | Sorting device | |
| JPH07120264B2 (en) | Sort processing device |