SU1203509A1 - Device for ordering n numbers - Google Patents
Device for ordering n numbers Download PDFInfo
- Publication number
- SU1203509A1 SU1203509A1 SU843771728A SU3771728A SU1203509A1 SU 1203509 A1 SU1203509 A1 SU 1203509A1 SU 843771728 A SU843771728 A SU 843771728A SU 3771728 A SU3771728 A SU 3771728A SU 1203509 A1 SU1203509 A1 SU 1203509A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- node
- code conversion
- elements
- Prior art date
Links
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Description
Изобретение-относитс к вычислительной технике и может быть использовано при реализации систем обработки данньсх и автоматизированных систем управлени .The invention relates to computing and can be used in the implementation of data processing systems and automated control systems.
Цель изобретени - упрощение устройства.The purpose of the invention is to simplify the device.
На чертеже приведена структурна схема устройства.The drawing shows a block diagram of the device.
Устройство содерл41т информационные входы 1, h входных регистров 2, ,И дешифраторов 3, элементы ИЛИ 4,и узлов 5 преобразовани кодов, выполненных на элементах И 6, НЕ 7, И 8s шифраторов 9, h выходных регистров 10 и выходы 11.The device contains information inputs 1, h of input registers 2, AND decoders 3, elements OR 4, and nodes 5 conversion codes executed on the elements And 6, NOT 7, And 8s of encoders 9, h of output registers 10 and outputs 11.
Устройство работает следующим образом.The device works as follows.
Пусть в регистры 2 прин т массив исходных чисел: i.1 ; ,Let an array of initial numbers be taken into registers 2: i.1; ,
В соответствии с табл.1 бздинич- ные сигналы по вл ютс на п том выходе дешифратора 3, на первом - дешифратора 3, на четвертом - дешифратора Зз и на тзтором - дешифратора 3ij .In accordance with Table 1, the binary signals appear at the fifth output of the decoder 3, at the first — the decoder 3, at the fourth — the decoder Z3, and at the tstor — decoder 3ij.
Из -анализа видно, что пор док размещени единичных сигналов, если объединить одноименные выходы дешифраторов, соответствует убыванию значений чисел и по существу номер выхода дешифратора отражает значение числа на его входе,,From the analysis it can be seen that the order of placement of single signals, if you combine the same outputs of the decoders, corresponds to a decrease in the values of the numbers and essentially the output number of the decoder reflects the value of the number at its input,
Посредством элементов ИЛИ 4 производитс объединение одноименных выходов дешифраторов, В соответствии с табл.1 позиционньй код на выходах элементов ИЛИ 4 имеет вид;, 11011, В соответствии с этим кодом в выходных регистрах 10 необходимо разместить числа в следующем пор дке убьшани значений; ,By means of the OR 4 elements, the same outputs of the decoders are combined. According to Table 1, the positional code at the outputs of the OR 4 elements looks like ;, 11011. In accordance with this code, the output registers 10 must be placed in the following order of values; ,
, ,,,
,5. Это обеспечиваетс Соответствующими шифраторами 9 на входы которых необходимо подать следующие позиционные коды: 10000 - на входы шифратора 9 i 01000 - на входы шифратора, 9 , 00010 - на входы шифратора 9 , 00001 - на входы,five. This is provided by the appropriate encoders 9 to the inputs of which the following positional codes must be submitted: 10,000 to the inputs of the encoder 9 and 01000 to the inputs of the encoder, 9, 00010 to the inputs of the encoder 9, 00001 to the inputs
шифратора 9i,.encoder 9i ,.
Преобразование исходного позиционного кода, полученного элементами ИЛИ 4, производитс соответствующими узлами преобразовани кодов 5.The transformation of the source positional code received by the OR 4 elements is performed by the corresponding code 5 conversion nodes.
В узле на его входы подаетс позиционный ко 11011, При этом еди12035092In the node at its inputs the positional code is sent to 11011, at the same time
ничный сигнал на его первом входе через элемент НЕ 7 закрывает все элементы И 8, поэтому на выходе узла 5 формируетс код 10000. 5 Формирование входного кода дл второго узла 5 должно выполн тьс с учетом работы предьщущего узла 5., , т,е, необходимо при анализе исключить выделенное значение числа. Эту 10 функцию выполн ют элементы И 6, на инверсные входы которых поступают выходные сигналы узла 5 а на пр мые - сигналы с выходов элементов ИЛИ 4, т.е.The negative signal at its first input through the element NOT 7 closes all elements AND 8, therefore the code 10,000 is generated at the output of node 5. 5 The formation of the input code for the second node 5 should be performed taking into account the work of the previous node 5. in the analysis to exclude the selected value of the number. This 10 function is performed by elements AND 6, the inverse inputs of which receive the output signals of node 5 and the direct signals from the outputs of the elements OR 4, i.e.
15 Вькоды узла 5 10000 Обратный код0111115 Host codes 5 10000 Reverse code 01111
Выходы элементов ИЛИ 411011 Выходы элемен- 20 тов И 6 01011Element Outputs OR 411011 Element Outputs 20 And 6 01011
В узле 5 -из входных сигналов элементов И 6 01011 за счет блокировки элементов И 8 нулевым сигналом с выхода элемента НЕ 7 формиру- 25 етс выходной код 01000, поступающий на шифратор 92. Работа узлов 5.J и 5f преобразовани кодов анало- , гична.In node 5, from the input signals of the AND 6 01011 elements, by blocking the AND 8 elements by a zero signal, the output code of the NOT 7 forms the output code 01000, which goes to the encoder 92. The operation of the 5.J and 5f nodes of the code conversion is analogous to .
Таким образом, дл получени 30 значени числа в любом из выходных регистров необходимо выполнить преобразование исходного кода с выходов ,л;аментов 1-ШИ 4 путем операции логического умножени с обратным ко- JJ дом выходных сигналов предыдущего узла преобразовани с последующим выделением приоритетной единицы и шифрацией выходных сигналов узла преобразовани .Thus, to obtain 30 numbers in any of the output registers, it is necessary to transform the source code from the outputs, l; amentes 1 – ShI 4 by a logical multiplication operation with the inverse JJ house of the output signals of the previous transformation node followed by the allocation of the priority unit and ciphering output signals of the transform node.
Построение узлов преобразовани кодов 5,-5ti выполнено с учетом минимизации оборудовани , что по с- н етс табл.2, когда массив исходных чисел размещаетс в четырех входных регистрах, причем значени чисел лежат в пределах 1-5 и в этом диапазоне могут принимать одинаковые значени .The construction of conversion units 5, -5ti is performed taking into account the equipment minimization, which is shown in Table 2, when the array of source numbers is located in four input registers, and the values of the numbers lie within 1-5 and in this range can take the same value.
Из табл.2 видно, что при формировании позиционного кода дл очередного узла .преобразовани , например дл узла 5 г. нет необходимости в формировании первой позиции кода, дл узла БЗ - первых двух и т.д. 55 так как единичные сигналы этих позиций уже использованы дл формировани значений упор доченных чисел . Такое положение справедливоFrom Table 2 it can be seen that when forming the positional code for the next conversion node, for example, for a 5G node, there is no need to form the first code position, for the BZ node the first two, etc. 55 since the single signals of these positions have already been used to form the values of the ordered numbers. This situation is true
4545
5050
Продолжение табл.2Continuation of table 2
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843771728A SU1203509A1 (en) | 1984-07-18 | 1984-07-18 | Device for ordering n numbers |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843771728A SU1203509A1 (en) | 1984-07-18 | 1984-07-18 | Device for ordering n numbers |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1203509A1 true SU1203509A1 (en) | 1986-01-07 |
Family
ID=21131114
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU843771728A SU1203509A1 (en) | 1984-07-18 | 1984-07-18 | Device for ordering n numbers |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1203509A1 (en) |
-
1984
- 1984-07-18 SU SU843771728A patent/SU1203509A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 903864, кл. G 06 F 7/04, 1980. Авторское свидетельство СССР № 1062687, кл. G 06 F 7/06, 1982. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US2685084A (en) | Digital decoder | |
SU1203509A1 (en) | Device for ordering n numbers | |
SU1444748A1 (en) | Device for comparing numbers | |
SU1536372A2 (en) | Device for ordering n numbers | |
US5491803A (en) | Response resolver for associative memories and parallel processors | |
RU2037873C1 (en) | Device for majority signal selection | |
SU1251068A1 (en) | Device for comparing codes | |
SU1107133A1 (en) | Device for computing coefficients of walsh-adamard transform | |
SU1325459A1 (en) | Number comparing device | |
SU1552172A1 (en) | Device for hunting numbers in given range | |
SU1277115A1 (en) | Binary code-to-pulse sequence converter | |
SU1198507A2 (en) | Device for comparing number of ones in binary codes | |
SU860058A1 (en) | Device for extremum number determination | |
SU822120A1 (en) | Device for reducing information redundancy | |
SU1633529A1 (en) | Device for majority sampling of asynchronous signals | |
SU842782A1 (en) | Device for reducing fibonacci p-codes minimum form | |
SU1640706A1 (en) | Data transmission device | |
SU1128250A1 (en) | Device for comparing numbers | |
SU1238056A1 (en) | Device for comparing n-bit binary numbers | |
SU1003070A1 (en) | Device for discriminating extremum numbers | |
SU725072A1 (en) | Device for determining maximum number from a series of numbers | |
SU646325A1 (en) | Information exchange arrangement | |
SU1037246A1 (en) | Number sorting device | |
SU1367166A1 (en) | Code converter | |
SU1278853A1 (en) | Majority device |