SU1211718A1 - Device for sorting numbers - Google Patents
Device for sorting numbers Download PDFInfo
- Publication number
- SU1211718A1 SU1211718A1 SU843767701A SU3767701A SU1211718A1 SU 1211718 A1 SU1211718 A1 SU 1211718A1 SU 843767701 A SU843767701 A SU 843767701A SU 3767701 A SU3767701 A SU 3767701A SU 1211718 A1 SU1211718 A1 SU 1211718A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- inputs
- elements
- outputs
- output
- input
- Prior art date
Links
Landscapes
- Complex Calculations (AREA)
Description
Изобретение относитс к автоматике и вычислительной технике и моет найти применение в специализированных вьгаислительных машинах и: устройствах обработки данных.The invention relates to automation and computing and can be used in specialized output machines and: data processing devices.
Цель изобретени - повьшение быстродействи .The purpose of the invention is to increase the speed.
На чертеже приведена функциональна схема устройства.The drawing shows a functional diagram of the device.
Устройство содержит ч регистров 1, п дешифраторов 2, № элементов ИЛИ 3, (1-1) элементов запрета 45 шифратор 5, п схем 6 сравнени , h элементов И 7, регистр 8 результата , cyMMatop 9, элемент 10 задержки , элемент И-НЕ 11, группы выходных элементов И 12 и 13, входы 14 сортируе 5ых чисел устройства, . входы 15 задани начального адреса устройства, выход 16 конца сортировки , выходы 17 отсортированного числа, тактовый вход 18 и выход 19 адреса устройства.The device contains h registers 1, p decoders 2, the number of elements OR 3, (1-1) prohibition elements 45 encoder 5, n comparison circuits 6, h elements AND 7, result register 8, cyMMatop 9, delay element 10, and element I- NOT 11, groups of output elements And 12 and 13, inputs 14 sorting 5th numbers of the device,. inputs 15 specify the initial address of the device, output 16 of the end of sorting, outputs 17 of the sorted number, clock input 18 and output 19 of the device address.
Рассмотрим принтдипы построени и работу устройства.Consider the printable build and operation of the device.
Исходное состо ние устройства характеризуетс тем, что в .регистры 1 по входам 14 принимаетс массив исходных чисел, а в сумматор 9- код пам ти, начина с которого необходимо разместить отсортированный массив чисел,The initial state of the device is characterized by the fact that in registers 1, inputs 14 accept an array of initial numbers, and in adder 9 a memory code, beginning with which it is necessary to place a sorted array of numbers
Исходные числа преобразуютс дешифраторами 2, выходные сигналы с одноименных выходов которых объедин ютс соответствующими элементами шш 3,, :The initial numbers are converted by decoders 2, the output signals from the same outputs of which are combined by the corresponding elements of sh 3,:
Пусть массив чисел имеат следующий вид: о , 4, 02 5, 05 . .Let an array of numbers have the following form: o, 4, 02 5, 05. .
При этих исходньпх данных работа дешифраторов 2 и элементов ШШ 3 по сн етс таблицей 1.With these initial data, the operation of the decoders 2 and the elements of SH 3 is explained in Table 1.
Из таблицы видно, что номер вы ходов дешифраторов, а следовательно и номер элемента ИЛИ 3 однозначно - соответствуют значению числа, а выходные единичные сигналы элементов ШШ 3 размещены в пор дке возрастани значени чисел. Кроме того, при равных двоичных кодах в массивеThe table shows that the number of outputs of the decoders, and therefore the number of the element OR 3 uniquely, correspond to the value of the number, and the output single signals of the elements of ШШ 3 are arranged in order of increasing values of the numbers. In addition, with equal binary codes in the array
чисел (а, , 0 ) единичные сигналы формируютс .соответствующими элементами ИЛИ 34 и 3 Таким образом, упор доченныйnumbers (a,, 0) single signals are formed by the corresponding elements OR 34 and 3. Thus, the ordered
массив должен иметь вид: Ь,1, 3, 4, , причем эти числа необходш-jo разместить в выделеннойThe array should have the following form: b, 1, 3, 4, and these numbers should be placed in the selected
21171822117182
: области пам ти, код начального ад- .реса которого А„д прин т в сумматор 9.: memory areas, the code of the initial adres. of which is A д d is taken into the adder 9.
Позиционньй код выходных сигналов элементов ИЛИ 3 10111 подаетс на элементы запрета 4, включенные по приоритетной схеме. Так, еди- ничньй сигнал с выхода элементаThe positional code of the output signals of the elements OR 3 10111 is applied to the elements of prohibition 4, included in the priority scheme. So, a single signal from the output element
д ;ИЛИ 3,закрывает по инверсным входам все последующие элементы запрета . При этом на входе шифратора 5 формируетс позиционный код 10000. Шифратором 5 этот код преоб .е разуетс в двоичный 001, принимае мьй в регистр 8 результата. Кроме того, в схеме 6 сравнени происходит совпадение кодов, единичный- сигнал с выхода которой поступаетd; OR 3, closes on the inverse entrances all subsequent elements of the ban. In this case, a position code 10000 is formed at the input of the encoder 5. The encoder 5 converts this code to binary 001, which is received in result register 8. In addition, in the comparison circuit 6, the codes coincide, a single signal from the output of which enters
2Q на первый вход элемента И 7у. На выходе элемента И-НЕ 11 единичньй сигнал отсутствует, поэтому из ЭВМ по входу 18 поступает тактовый импульс . По этому импульсу адрес2Q at the first input element And 7y. At the output of the element AND NOT 11, the unit signal is absent, therefore, a clock pulse is received from the computer at input 18. By this impulse address
25 сумматора 9 через группу элементов И 13 поступает на выходы 19, а двоичный код первого числа из регистра 8 результата через группу элементов И 12 вьщаетс на выходы 17. Через некоторое врем , определ емое задержкой в элементе 10 задержки, в сумматоре 9. формируетс очередной адрес 25 adder 9 through the group of elements And 13 enters the outputs 19, and the binary code of the first number from the register 8 of the result through the group of elements And 12 goes to the outputs 17. After some time, determined by the delay in the delay element 10, in the adder 9. the next address
30thirty
4545
и устанавливаетс в О регистр 1у, чем исключаетс из анализа число Яд, 5 Врем задержки выбираетс исход из необходимого времени приема в ЭВМ адреса и значени чисел с вы- ; ходов 17 и 19.and set in O register 1y, which excludes from the analysis the number of poison, 5 Delay time is selected based on the required time of reception in the computer address and the value of numbers with you; moves 17 and 19.
После установки в О регистра IjHa выходах элементов ИЛИ 3 формируетс очередной позиционный код 00111, а на входе шифратора 5 - код 00100-. При этом в регистр 8 результата принимаетс двоичньй код 011, а в схеме 65 сравнени формируетс единичный сигнал. По очередному тактовому импульсу с входа 18 значени числа 011 и кодAfter setting in О the register IjHa outputs of the elements OR 3, the next position code 00111 is formed, and the code 00100- at the input of the encoder 5. In this case, a binary code 011 is received in the result register 8, and a single signal is generated in the comparison circuit 65. On the next clock pulse from the input 18, the values of the number 011 and the code
адреса А,, поступают в ЭВМ, а в устройстве регистр 1 устанавливаетс в О и в сумматоре 9 формируетс очередной адрес Р,,. При этом на выходах элементов ИЛИ 3 форми55 руетс ПОЗИЦИОННЬЙ код 00010, а на выходе шифратора 5 - двоичньй код 100. В схемах 6, и 6 сравнени происходит совпадение кодов. the addresses A ,, are fed into the computer, and in the device the register 1 is set to O and the next address P ,, is formed in the adder 9. At the same time, at the outputs of the elements OR 3, a POSITION code 00010 is running for 55, and a binary code 100 for the output of the encoder 5. In codes 6, and 6 for comparison, the codes coincide.
По очередному импульсу по входу 18 значение числа 100 код адреса АЗ поступают в ЭВМ, регистры 1 И Ц устанавливаютс в О, а в сумматоре 9 формируетс адрес очередного числа , По следующему тактовому импульсу происходит запись числа 101 по адресу А4 а в устройстве - установка в О регистровOn the next pulse at input 18, the value of the number 100 is the code of the address of the AZ, entered into the computer, registers 1 and D are set to O, and in the adder 9 the address of the next number is formed. By the next clock pulse, the number 101 is written to the address A4 and the device is set to About registers
и 1,. При этом все регистры 1and 1 ,. In this case, all registers 1
2 62 6
оказьтаютс в нулевом состо нии, и на выходе элемента И-НЕ 11 формируетс единичный сигнал, поступакнций в ЭВМ в качестве сигнала конца сортировки.turns out to be in the zero state, and a single signal is generated at the output of the NANDI element 11, which arrives at the computer as a signal of the end of sorting.
Таким образом, массив из шести чисел- отсортирован на четыре тактовых сигнала.Thus, an array of six numbers is sorted into four clock signals.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843767701A SU1211718A1 (en) | 1984-07-13 | 1984-07-13 | Device for sorting numbers |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843767701A SU1211718A1 (en) | 1984-07-13 | 1984-07-13 | Device for sorting numbers |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1211718A1 true SU1211718A1 (en) | 1986-02-15 |
Family
ID=21129485
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU843767701A SU1211718A1 (en) | 1984-07-13 | 1984-07-13 | Device for sorting numbers |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1211718A1 (en) |
-
1984
- 1984-07-13 SU SU843767701A patent/SU1211718A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 928342, кл. G 06 F 7/06, 1980. Авторское свидетельство СССР № 1092494, кл. Q 06 F 7/06, 1982. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1211718A1 (en) | Device for sorting numbers | |
US5410312A (en) | Digital/analog conversion device with two switched latches for simultaneous D/A conversion | |
SU1444749A1 (en) | Device for sorting numbers | |
SU1218381A1 (en) | Device for selecting order data sequence | |
SU1236560A1 (en) | Storage | |
SU1691833A1 (en) | Apparatus for sorting numbers | |
SU1242949A1 (en) | Priority device for servicing interrogations in arrival order | |
SU1092494A2 (en) | Device for sorting numbers | |
SU1030797A1 (en) | Device for sorting mn-digit numbers | |
SU943707A1 (en) | Device for sorting numbers | |
SU1254467A1 (en) | Device for sorting numbers | |
SU1583934A1 (en) | Device for sorting numbers | |
SU1053100A1 (en) | Device for determining average value of odd set of of number | |
SU792248A1 (en) | Number sorting apparatus | |
SU1325461A1 (en) | Device for sorting numbers | |
SU1179316A1 (en) | Device for selecting extreme number from n m-bit binary numbers | |
SU1444748A1 (en) | Device for comparing numbers | |
SU1730618A1 (en) | Number sorting device | |
SU1387004A2 (en) | N-sensors-to-computer interface | |
SU1444744A1 (en) | Programmable device for computing logical functions | |
SU1128249A2 (en) | Device for selecting extremum number | |
SU1215108A1 (en) | Device for determining the least number of n numbers | |
SU1305659A1 (en) | Device for sorting numbers | |
SU1300642A1 (en) | Code converter | |
SU830394A1 (en) | Device for processing digital data |