SU1179317A1 - Device for sorting numbers - Google Patents

Device for sorting numbers Download PDF

Info

Publication number
SU1179317A1
SU1179317A1 SU843711902A SU3711902A SU1179317A1 SU 1179317 A1 SU1179317 A1 SU 1179317A1 SU 843711902 A SU843711902 A SU 843711902A SU 3711902 A SU3711902 A SU 3711902A SU 1179317 A1 SU1179317 A1 SU 1179317A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
inputs
outputs
elements
Prior art date
Application number
SU843711902A
Other languages
Russian (ru)
Inventor
Александр Николаевич Мурашко
Original Assignee
Предприятие П/Я А-3327
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 Предприятие П/Я А-3327 filed Critical Предприятие П/Я А-3327
Priority to SU843711902A priority Critical patent/SU1179317A1/en
Application granted granted Critical
Publication of SU1179317A1 publication Critical patent/SU1179317A1/en

Links

Landscapes

  • Manipulation Of Pulses (AREA)
  • Pulse Circuits (AREA)

Abstract

УСТРОЙСТВО ДЛЯ СОРТИРОВКИ ЧИСЕЛ, содержащее входные счетчики, выходной счетчик, группу элементов ИЛИ, группу формирователей импульсов , группу выходных элементов И, группу запрещающих элементов И, элемент ИЛИ, входной элемент И, первый вход которого подключен к. входу тактовых импульсов устройства , а выход со.единен с суммирующим входом выходного счетчика и первыми входами запрещающих элементов И группы, выходы которых соединены с вычитающими входами соответствующих входных счетчиков, выходы которых поразр дно подключены к входам соответствующих элементов ИЛИ группы, выходы KOTopbtx соединены с входами соответствующих формирователей импульсов группы, вторыми входами соответствующих запрещающих элементов И группы и с соответствующими входами элемента ИЛИ., выходы выходного счетчика поразр дно соединены с информационными входами выходных элементов И группы, выходы которых  вл ютс  информационными выходами устройства, отличающеес  тем, что, с целью повышени  достоверности при сортировке равных чисел, в него введены первьш и второй триггеры, регистр, преобразователь числа единиц в двоичный код, счетчик равных чисел, первьй и второй элементы ШЖ-НЕ, первый и второй элементы И, формирователь импульса сброса, элемент задержки,причем выходы формирователей импульсов группы соединены с соответствующими разр дными входами регистра, выходы разр дов которого соединены с входами первого элемента ИЛИ-НЕ и с соответствующими входами преобразовател  числа единиц в двоичный код, выхос S ды которого соединены с соответствующими информационными входами счетчика равных чисел, выходы которого С соединены с входами второго элемента ИЛИ-НЕ, выход которого соединен через формирователь импульса сброса с синхронизирующим входом первого триггера и входами зстановок в нулевое состо ние регистра и второго триггера, информационный вход которого соединен с входом логической . единицы устройства, инверсный выход второго триггера соединен с первым входом первого элемента И, второй вход которого соединен с выходом первого элемента ИЛИ-НЕ и через элемент задержки - с вторым входом входного элемента И, третий вход которого сое-, динен с пр мым выходом, первого триггера , информационный вход которого соединен с выходом элемента ИЛИ, вход тактовых импульсов устройства подключен к третьему входу первого элемента И и первому входу второго элемента И, второй вход которого соединен с пр мым выходом второго триггера, аA DEVICE FOR SORTING NUMBERS containing input counters, output counter, group of elements OR, group of pulse formers, group of output elements AND, group of prohibiting elements AND, element OR, input element AND whose first input is connected to the input of clock pulses of the device, and output is connected to the summing input of the output counter and the first inputs of the prohibiting elements AND groups, the outputs of which are connected to the subtractive inputs of the corresponding input counters, the outputs of which are bitwise connected to the input m of the corresponding elements of the OR group, the outputs of the KOTopbtx are connected to the inputs of the corresponding pulse shapers of the group, the second inputs of the corresponding inhibitory elements AND of the group and the corresponding inputs of the OR element, the outputs of the output counter are bitwise connected to the information inputs of the output elements AND of the group whose outputs are informational Outputs of the device, characterized in that, in order to increase reliability when sorting equal numbers, the first and second triggers, the register, The co-owner of the number of units in the binary code, the counter of equal numbers, the first and second elements of the CID-NOT, the first and second elements AND, the reset pulse shaper, the delay element, and the outputs of the group of drivers of the group are connected to the corresponding bits of the register, the outputs of which bits are connected with the inputs of the first OR-NOT element and with the corresponding inputs of the converter of the number of units into binary code, the outputs of which are connected to the corresponding information inputs of the counter of equal numbers, the outputs of which are C are united with the inputs of the second element OR — NOT, the output of which is connected via the reset pulse shaper to the clock input of the first trigger and the inputs of resetting the register to the zero state and the second trigger, whose information input is connected to the logical input. units of the device, the inverse output of the second trigger is connected to the first input of the first element AND, the second input of which is connected to the output of the first element OR NOT and through the delay element to the second input of the input element AND, the third input of which is connected to the direct output, the first trigger, the information input of which is connected to the output of the OR element, the input clock of the device is connected to the third input of the first element AND and the first input of the second element AND, the second input of which is connected to the direct output of the second trigger and

Description

выход  вл етс  выходом разрешени  вы- вход разрешени  записи которого поддачи и подключен к управл ющим входам ключен к выходу первого элемента И и выходных элементов И группы и вычита- синхронизирующему входу второго тригющим входам счетчика равных чисел, гера.the output is the output of the resolution the output of the resolution of the recording of which is supplied and connected to the control inputs is connected to the output of the first element AND and the output elements AND of the group and subtracting the synchronization input of the second to the trigger inputs of the counter of equal numbers, gera.

11793171179317

Изобретение относитс  к вычислительной технике и может быть использовано в устройствах обработки сигналов , в системах св зи и др.The invention relates to computing and can be used in signal processing devices, communication systems, etc.

Цель изобретени  - повышение достоверности при сортировке равных чисел .The purpose of the invention is to increase the reliability when sorting equal numbers.

На фиг.1 приведена функциональна  схема предлагаемого устройства; на фиг.2 - временна  диаграмма работы элементов устройства.Figure 1 shows the functional diagram of the device; figure 2 - timing diagram of the operation of the elements of the device.

Таблица состо ни  выходов преобразовател  числа единиц в двоичный код в зависимости от состо ни  его входов (на примере п ти входов) приведена в табл.1.A table of the state of the outputs of the converter of the number of units into a binary code depending on the state of its inputs (for example, five inputs) is given in Table 1.

Устройство содержит входные счетчики 1,...,1jj,, выходной счетчик 2, группу элементов ИЛИ 3j, , 3j, элемент ИЛИ 4, триггер 5, группу запрещающих элементов И 6, ..., 6, входной элемент И 7, группу выходных элементов И 8 , ..., 8, группу формирователей 9j, ..., 9m импульсов, регистр 10, элемент ШШ-НЕ 11, элемент 12 задержки, элемент И 13, триггер 14, преобразователь 15 числа единиц в двоичный код, счетчик 16 равных чисел, элемент ИЛИ-НЕ 17, элемент И 18, формирователь 19 импульса сброса тактовьй вход 20 устройства, информационные выходы 21 устройства, выход 22 разрешени  вьщачи.The device contains input counters 1, ..., 1jj, output counter 2, a group of elements OR 3j,, 3j, an element OR 4, a trigger 5, a group of prohibiting elements AND 6, ..., 6, an input element And 7, a group output elements And 8, ..., 8, a group of drivers 9j, ..., 9m pulses, register 10, element W-NOT 11, element 12 delay, element And 13, trigger 14, the Converter 15 number of units in binary code, a counter of 16 equal numbers, an OR-NOT 17 element, an AND 18 element, a reset pulse shaper 19 clock input 20 of the device, information outputs 21 of the device, output 22 of resolution.

Назначение элементов устройства следующее. Счетчики Ij , ..«, 1 служат дл  временного запоминани  исходных сортируемых чисел. Элементы ИЛИ 3(, ..., 3 служат дл  фиксировани  нулевого состо ни  соответствующего счетчика 1 ,.. ., , причем-при нулевом содержимом счетчика 1, ..,,1 на выходе соответствующего элемента ИЛИ -3 , . .., 3 - нулевой потенциал . Выходной счетчик 2 служит дл  формировани  кода на выходах 21 устройства при сортировке чисел. Элемент ШШ 4 и триггер 5 служат дл The purpose of the elements of the device is as follows. The counters Ij, .. “, 1 serve to temporarily memorize the original sorted numbers. The OR 3 elements (, ..., 3 are used to record the zero state of the corresponding counter 1, ...,, and with the zero content of the counter 1, .. ,, 1 at the output of the corresponding element OR -3, ..., 3 - zero potential. Output counter 2 is used to form a code on the device outputs 21 when sorting numbers. Element ШШ 4 and trigger 5 are used for

фиксировани  нулевого состо ни  всех счетчиков 1,, ..., IP, в конце сортировки и выработки запрещающего потенциала по второму входу элемента И 7 дл  дальнейшей блокировки тактовых импульсов. Формирователи 9,, ..., и регистр 10 служат дл  фиксировани  количества счетчиков 1,, ..., Iff,, установленных в нулевое состо ние в последнем цикле. Преобразователь 15 служит дл  преобразовани  числа установленных разр дов регистра 10 в единичное состо ние в двоичньй код (табл.1). Счетчик 16 равных чисел служит дл  подсчета выдаваемых устройством синхроимпульсов . Элемент ШШ-НЕ 17 служит дл  фиксировани  нулевого состо ни  счетчика 16. Элемент И 13 и элемент ИЛИ-НЕ 11 служат дл  выработки сигнала перезаписи информации с выходов преобразовател  15 в счетчик 16 равных чисел и установки триггера 14 в единичное состо ние. По первому и второму входам элемента И 13 осуществл етс  инверси  поступающих сиг.налов. По синхровходу триггера 14 осуществл етс  инверси  входного сигнала. Элемент И 18 служит дл  выработки синхросигнала на втором выходе устройства и вычитающих импульсов дл  счетчика 16 равных чисел. Элемент задержки 12 служит дл  обеспечени  устойчивой перезаписи информации в регистр.10 путем задержки сигнала запрета по третьему входу входного элемента И 7 после срабатьшани  первого элемента ИЛИ-НЕ 11 (по вление нулевого потенциала), причем величина задержки (ggAf элемента 12 выбираетс , например, из соотношени  ЗэаАг - 2 7 длительность тактового импульса Формирователь 19 служит дл  формировани  сигнала установки в нулевое состо ние второго триггера 14, регистра 10 и синхросигнала дл  первого триггера 5, причем сигнал на выходе формировател  19 задержан относительно переднего фронта единичног сигнала с выхода элемента ИЛИ-НЕ 17 на врем  «заЛ2 которое определ етс , например, исход  из устойчивой работы устройства из соотношени  л л/ TLI л 2 aAg ЪВременные интервалы между тактовыми импульсами составл ют при этом, например , /эадг Исполнение элементов устройства может быть, например, следующее. Счетчики, триггеры, регистр, эле менты И, ИЛИ, ИЛИ-НЕ, группы элемен {тов И  вл ютс  типовыми, например, дл  цифровых интегральных схем TTL серий 133, К155, 130, К131, 530, К531, К555. Лреобразователь 15 реали зуетс , например, на базе типовых ло гических элементов с учетом таблицы состо ний. Формирователи 9,,,.., 9 19 могут быть реализованы, например на базе типовых формирователей К155АГЗ с учетом логики функционировани  и временных параметров, приведенных в материалах за вки. Устройство работает следующим образом . Во входные счетчики 1;,, ..., 1fr) занос тс  сортируемые числа. Регистры 10 и счетчик 16 обнулены, триггер 14 установлен в нулевое состо ние , при этом на инверсном выходе последнего - потенциал логической единицы. Триггер 5 устанавливаетс  в единичное состо ние, при этом с его выхода на второй вход элемента И 7 поступает единичный потенциал (цепи начальной установки элементов устройства на фиг.1 не показаны ). В исходном состо нии на выходах элементов ШШ-НЕ 11 и 17 - единичные потенциалы, поскольку регистр 10 и счетчик 16 обнулены, а на выходах элементов ИЛИ 3 ..., единичные потенциалы, поскольку содер1 не равжимое счетчиков 1 но О, и следовательно, на первые входы группы запрещающих элементов И 6„ .,..., 6( и на второй и третий входы элемента И 7 поступают разрешающи единичные потенциалы. На вход 20 .устройства подаютс  тактовые импульсы (фиг.2а), которые через элемент И 7 поступают на суммирующий вход выходного счетчика 2 и через группу элементов И 6.,...,6 на вычитанлцие входы счетчиков 1 ,..., 1 . При этом содержимое счетчиков . 1,...,1 уменьшаетс , а выходного счетчика 2 - увеличиваетс . При поступлении на вход 20 устройства количества тактовых импульсов, соответствующего минимальному числу (или нескольким числам) из сортируемых чисел в счетчиках 1.,...,1, содержимое соответствующего счетчика 1 (или нескольких счетчиков 1, i) в котором (в которых) было записано минимальное число, становитс  равным . На выходе соответствующих элементов ИЛИ 3 по вл етс  нулевой потенциал (фиг.25), закрывающий соответствующие элементы И 6 группы, блокиру  дальнейшее поступление вычитающих импульсов на входы тех счетчиков 1|, в которых содержимое стало равным О. На выходах форьшрователей 9 , подключенных к тем элементам ИЛИ 3 , на которых выставилс  нулевой потенциал, по вл ютс  импульсы записи 1 в регистр 10 (фиг.2г), причем количество записанных 1 по всем разр дам регистра 10 соответствует числу счетчиков 1, установленных в нулевое состо ние. Срабатывает элемент ШШ-НЕ 11, на выходе которого выставитс  нулевой потенциал . Далее через срабатывает .элемент 12 задержки и на третьем, входе элемента И 7 выставл етс  запрещающий нулевой потенциал, по которому поступление тактовых импульсов на элемента И 7 блокируетс  (фиг.. По концу тактового импульса срабатьшает элемент И 13, на выходе которого по вл етс  импульс перезаписи двоичного кода числа, например 3, установленных в нулевое состо ние счетчиков 1,, в счетчик 16 равных чисел по его синхровходу (фиг.2е). По концу сигнала перезаписи (поскольку по синхровходу триггера 14 осуществл етс  инверси  сигнала) триггер 14 устанавливаетс  в единичное состо ние, так что с его инверсного выхода на третий вход элемента И 13 поступает запрет, а с его пр мого выхода на второй вход элемента И 18 - разрешение (фиг.2). На выходе элемента ИЛИ-НЕ 17 устанавливаетс  нулевой потенциал. Тактовый импульс с первого входа элемента И 18 поступает на его выходfixing the zero state of all the counters 1 ,, ..., IP, at the end of the sorting and generating the inhibitory potential at the second input of the And 7 element to further block the clock pulses. The formers 9 ,, ..., and register 10 are used to record the number of counters 1 ,, ..., Iff ,, set to the zero state in the last cycle. Converter 15 serves to convert the number of set bits of register 10 to a single state into a binary code (Table 1). A counter of 16 equal numbers serves to count the clock pulses produced by the device. Element ШШ-НЕ 17 serves to record the zero state of counter 16. Element And 13 and element OR-HE 11 serve to generate a signal for rewriting information from the outputs of converter 15 into counter 16 of equal numbers and setting trigger 14 to one. The first and second inputs of the And 13 element are inverted to the incoming signals. On the synchronous input of the trigger 14, the input signal is inverted. Element And 18 serves to generate a clock signal at the second output of the device and subtractive pulses for a counter of 16 equal numbers. The delay element 12 serves to ensure stable rewriting of information in the register 10 by delaying the prohibition signal on the third input of the input element AND 7 after the operation of the first element OR-NOT 11 (occurrence of zero potential), and the delay (ggAf element 12 is selected, for example, from the ratio ZeaAg - 2 7 the duration of the clock pulse Shaper 19 serves to form a signal that the second trigger 14 is set to zero, the register 10 and the clock signal for the first trigger 5, and the output signal is Either 19 is delayed relative to the leading edge of a single signal from the output of the element OR-NOT 17 for a time "Z2" which is determined, for example, based on the stable operation of the device from the ratio l l / TLI l 2 aAg b The time intervals between clock pulses are, for example, , / EDG The device elements can be, for example, the following: Counters, triggers, register, AND, OR, OR NOT elements, AND groups of elements are typical, for example, for digital TTL series 133 integrated circuits, K155, 130, K131, 530, K531, K555. Transformer 15 is implemented, for example, on the basis of typical logical elements, taking into account the state table. The shapers 9 ,,, .., 9 19 can be implemented, for example, on the basis of typical K155AGZ shapers, taking into account the functioning logic and temporal parameters given in the application materials. The device works as follows. The input counters 1; ,, ..., 1fr) bring sorts of numbers to be sorted. The registers 10 and the counter 16 are set to zero, the trigger 14 is set to the zero state, while the inverse output of the latter is the potential of a logical unit. The trigger 5 is set to a single state, while from its output to the second input element And 7 enters a single potential (initial setup circuit elements of the device in figure 1 are not shown). In the initial state, the outputs of the elements SHSh-HE 11 and 17 are unit potentials, since the register 10 and the counter 16 are zeroed, and at the outputs of the elements OR 3 ..., the unit potentials, since the contents are not equal to the counters 1 but O, and therefore, To the first inputs of the group of prohibiting elements I 6 "., ..., 6 (and the second and third inputs of the element I 7 are given resolving unit potentials. The input pulses 20 are supplied with clock pulses (Fig. 2a), which, through the element I 7 arrive at the summing input of the output counter 2 and through the group of elements And 6., ..., 6 to Calculation of the inputs of counters 1, ..., 1. At the same time, the contents of the counters 1, ..., 1 decrease and the output counter 2 increases. When the number of clock pulses corresponding to the minimum number (or several numbers) arrives at device input 20 of the sorted numbers in the counters 1., ..., 1, the contents of the corresponding counter 1 (or several counters 1, i) in which (in which) the minimum number was written, becomes equal. At the output of the corresponding elements OR 3, a zero potential appears (Fig. 25), covering the corresponding elements of AND 6 of the group, blocking the further arrival of the subtractive pulses at the inputs of those counters 1 | in which the content became equal to O. At the outputs of the formers 9 connected to Those elements OR 3, on which a zero potential was set, will have write pulses 1 in register 10 (FIG. 2d), and the number of recorded 1 for all bits of register 10 corresponds to the number of counters 1 set to zero. The element SHS-NOT 11 is triggered, the output of which exposes a zero potential. Next, the delay element 12 is triggered and on the third, the input element And 7 sets a prohibiting zero potential, according to which the arrival of clock pulses on the element And 7 is blocked (Fig. At the end of the clock pulse the element And 13 triggers, at the output of which pulse of rewriting the binary code of a number, for example, 3, set to the zero state of counters 1, to the counter 16 equal numbers according to its synchronous input (Fig. 2e). At the end of the rewriting signal (since the synchronous input of the trigger 14 inverts the signal) trigger 14 is set to one, so that from its inverse output to the third input of the element And 13 prohibits, and from its direct output to the second input of the element 18 And the resolution (figure 2) .On the output of the element OR NOT 17 is set to zero potential.The clock pulse from the first input element And 18 is fed to its output

(фиг.2р и далее - на вычитающий вход счетчика 16, на вторые входы группы элемен- ов И В, , 8 и на второй выход 22 устройства. При этом с выхода счетчика 2 на выход 21 устройства поступает код минимального числа (чисел). По следующему тактов.ому импульсу также поступает с выхода элемента И 18 строб-импульс о вьщаче на выход 21 устройства такого же содержимого счетчика 2 (фиг.2«). Поскольку в счетчике 16 было записано число 3, то с поступлением с выхода элемента И 18 третьего вычитающего импульса счетчик 16 устанавливаетс  в нулевое состо ние,срабатывает второй элемент Ш1И-НЕ 17 и на его выходе выставл етс  единичный потенциал Сфиг.2и). Таким образом, на выход 21 устройства поступает код минимальных чисел столько раз, сколько бьшо записано в счетчики 1,, ..., равных чисел.(fig.2 and later - to the subtracting input of the counter 16, to the second inputs of the element group I B, 8, and to the second output 22 of the device. In this case, from the output of the counter 2, the output 21 of the device receives the code of the minimum number (numbers). The next clock pulse also comes from the output of the element AND 18 strobe-pulse sent to the output 21 of the device of the same content of counter 2 (FIG. 2 "). Since the number 16 was recorded in counter 16, 18 of the third subtractive pulse, the counter 16 is set to the zero state, the second is triggered. the swarm element WI-NOT 17 and at its output exposes a single potential Fig. 2i). Thus, the output of 21 devices receives the code of minimum numbers as many times as were recorded in counters 1 ,, ..., of equal numbers.

По переднему фронту () сигнала с выхода элемента ИЛИ-НЕ 17 запускаетс  формирователь 19 через выходе которого по вл етс  импульс (фиг. 2 о, по которому триггер 14 сбрасываетс  в нУлевое состо ние и триггер 5 устанавливаетс  в то же состо ние, что и на выходе второго элемента ИЛИ 4, сигнал с которого поступает на информационный D-вход триггера 5. Поскольку не все счетчики 1, ..., 1 обнулились в первом цикле работы устройства , то на некоторых входах элемена ИЛИ 4 - единичные потенциалы и на выходе последнего - также единич-. ный.потенциал. Триггер 5 поэтому неOn the leading edge () of the signal from the output of the OR-NOT 17 element, the shaper 19 is triggered through the output of which a pulse appears (Fig. 2, on which the trigger 14 is reset to the ZERO state and the trigger 5 is set to the same state as at the output of the second element OR 4, the signal from which arrives at the information D input of the trigger 5. Since not all the counters 1, ..., 1 are reset in the first cycle of the device, then at some inputs of the element OR 4 there are unit potentials and output the latter is also a single potential. Trigger 5 on it shall not be

измен ет по синхроимпульсу с выхода формировател  19 своего состо ни  (единичного).changes according to the sync pulse from the output of the former 19 of its state (single).

По следующему тактовому импульсу начинаетс  следующий цикл определени  чисел, следующих по рангу за минимальными в пор дке возрастани . Цикл повтор етс  аналогично предыдущему: определ етс  количество установленных счетчиков 1According to the next clock pulse, the next cycle of determining the numbers following the rank after the minimum in order of increasing begins. The cycle repeats as before: the number of installed counters 1 is determined

твtv

левое состо ние в последнем цикле, а затем на выход 21 поступает код этих чисел с выхода счетчика 2 столько же раз. Причем коды сопровождаютс  синхроимпульсами с выхода 22 устройства . Циклы сортировки повтор ютс  до тех пор, пока все записанные числа в счетчиках 1 , ..., 1 f, не будут отсортированы , т.е. все счетчики 1 j, . .. 1 fr) обнул ютс . В конце последнегоthe left state in the last cycle, and then the output 21 receives the code of these numbers from the output of counter 2 as many times. Moreover, the codes are accompanied by clock pulses from the output 22 of the device. The sorting cycles are repeated until all the recorded numbers in the counters 1, ..., 1 f are sorted, i.e. all counters 1 j,. .. 1 fr) is zeroed. At the end of the last

цикла элемент ИЛИ 4 выставл ет на своем выходе нулевой потенциал, а по переднему- фронту сигнала с выхода формировател  19 триггер 5 устанавливаетс  в нулевое состо ние и блокируетcycle element OR 4 exposes a zero potential at its output, and on the leading edge of the signal from the output of former 19, the trigger 5 is set to the zero state and blocks

дальнейшее поступление тактовых импульсов через элемент И 7. Сортировка чисел окончена.further receipt of clock pulses through the element And 7. The sorting of numbers is over.

Дл  проведени  сортировки чисел устройством, начина  с максимального числа, достаточно записать числа во входные счетчики 1;,, т обратном коде и результат получать с нулевых выходов выходного счетчика 2.To sort the numbers with the device, starting with the maximum number, it is sufficient to write the numbers into the input counters 1 ;, t the reverse code and get the result from the zero outputs of the output counter 2.

Продолжение таблицыTable continuation

2121

фиг. / ппппппппFIG. / ppppppp

fpi/s.2 tfpi / s.2 t

Claims (1)

УСТРОЙСТВО ДЛЯ СОРТИРОВКИ ЧИСЕЛ, содержащее входные счетчики, выходной счетчик, группу элементов ИЛИ, группу формирователей импульсов, группу выходных элементов И, группу запрещающих элементов И, элемент ИЛИ, входной элемент И, первый вход которого подключен к. входу тактовых импульсов устройства, а выход соединен с суммирующим входом выходного счетчика и первыми входами запрещающих элементов И группы, выходы которых соединены с вычитающими входами соответствующих входных счетчиков, выходы которых поразрядно подключены к входам соответствующих элементов ИЛИ группы, выходы которых соединены с входами соответствующих формирователей импульсов группы, вторыми входами соответствующих запрещающих элементов И группы и с соответствующими входами элемента ИЛИ., выходы выходного счетчика поразрядно соединены с информационными входами выходных элементов И группы, выходы которых являются информационными выходами устройства, отличающееся тем, что, с целью повышения' достоверности при сортировке равных чисел, в него введены первый и второй триггеры, регистр, преобразователь числа единиц в двоичный код, счетчик равных чисел, первый и второй элементы ИЛИ-HE, первый и второй элементы И, формирователь импульса сброса, элемент задержки,причем выходы формирователей импульсов группы соединены с соответствующими разрядными входами регистра, выходы разрядов которого соединены с входами первого элемента ИЛИ-HE и с соответствующими входами преобразователя числа единиц в двоичный код, выходы которого соединены с соответствующими информационными входами счетчика равных чисел, выходы которого соединены с входами второго элемента ИЛИ-HE, выход которого соединен через формирователь импульса сброса с синхронизирующим входом первого триггера и входами установок в нулевое состояние регистра и второго триггера, информационный вход которого соединен с входом логической . единицы устройства, инверсный выход второго триггера соединен с первым входом первого элемента И, второй вход которого соединен с выходом первого элемента ИЛИ-HE и через элемент задержки - с вторым входом входного элемента И, третий вход которого сое-, динен с прямым выходом, первого триггера, информационный вход которого соединен с выходом элемента ИЛИ, вход тактовых импульсов устройства подключен к третьему входу первого элемента И и первому входу второго элемента И, второй вход которого соединен с прямым выходом второго триггера, а A NUMBER SORTING DEVICE containing input counters, an output counter, a group of OR elements, a group of pulse shapers, a group of output elements AND, a group of inhibitory elements AND, an OR element, an input element And, the first input of which is connected to the clock input of the device, and the output connected to the summing input of the output counter and the first inputs of the inhibitory elements AND groups, the outputs of which are connected to the subtracting inputs of the corresponding input counters, the outputs of which are bitwise connected to the inputs respectively of existing OR elements of the group, the outputs of which are connected to the inputs of the corresponding pulse shapers of the group, the second inputs of the corresponding inhibiting elements of the AND group, and with the corresponding inputs of the OR element., the outputs of the output counter are bitwise connected to the information inputs of the output elements and groups, the outputs of which are the information outputs of the device, characterized in that, in order to increase the reliability when sorting equal numbers, the first and second triggers, register, and converter isla units in binary code, equal number counter, first and second elements OR-HE, first and second elements AND, reset pulse shaper, delay element, the outputs of the pulse shapers of the group connected to the corresponding bit inputs of the register, the outputs of the bits of which are connected to the inputs of the first element OR-HE and with the corresponding inputs of the converter of the number of units in binary code, the outputs of which are connected to the corresponding information inputs of the counter of equal numbers, the outputs of which are connected to the inputs of the second the OR-HE element, the output of which is connected through a reset pulse shaper with the synchronizing input of the first trigger and the inputs of the settings to the zero state of the register and the second trigger, the information input of which is connected to the logical input. units of the device, the inverse output of the second trigger is connected to the first input of the first AND element, the second input of which is connected to the output of the first OR-HE element and through the delay element to the second input of the And input element, the third input of which is connected to the direct output of the first a trigger, the information input of which is connected to the output of the OR element, the input of clock pulses of the device is connected to the third input of the first element And and the first input of the second element And, the second input of which is connected to the direct output of the second trigger, and SU „„ 1179317 выход является выходом разрешения выдачи и подключен к управляющим входам выходных элементов И группы и вычитающим входам счетчика равных чисел, вход разрешения записи которого подключен к выходу первого элемента И и синхронизирующему входу второго триггера.SU „„ 1179317 the output is the output of the output permission and is connected to the control inputs of the output elements of the AND group and subtracting inputs of the counter of equal numbers, the input of the recording permission of which is connected to the output of the first AND element and the synchronizing input of the second trigger.
SU843711902A 1984-03-16 1984-03-16 Device for sorting numbers SU1179317A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU843711902A SU1179317A1 (en) 1984-03-16 1984-03-16 Device for sorting numbers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU843711902A SU1179317A1 (en) 1984-03-16 1984-03-16 Device for sorting numbers

Publications (1)

Publication Number Publication Date
SU1179317A1 true SU1179317A1 (en) 1985-09-15

Family

ID=21107807

Family Applications (1)

Application Number Title Priority Date Filing Date
SU843711902A SU1179317A1 (en) 1984-03-16 1984-03-16 Device for sorting numbers

Country Status (1)

Country Link
SU (1) SU1179317A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 637810, кл. G 06 F 7/08, 1976. Авторское свидетельство СССР № 993251, кл. G 06 F 7/08, 1981. *

Similar Documents

Publication Publication Date Title
SU1179317A1 (en) Device for sorting numbers
SU1174919A1 (en) Device for comparing numbers
SU1675885A1 (en) Multichannel device for connecting subscribers to common main line
SU1108438A1 (en) Device for detecting extremum number
SU799120A1 (en) Pulse shaping and delaying device
SU447711A1 (en) Device for decoding a pulse code
SU1003359A1 (en) One-cycle circular counter of unitary code
SU1363209A1 (en) Priority device
SU1591192A1 (en) Code checking device
SU1571588A1 (en) Device for servicing inquiries
SU1200302A1 (en) Device for determining position of number on number axis
SU1280602A1 (en) Information input device
SU1278834A1 (en) Device for sorting information
SU385307A1 (en) DESYFYRATOR
SU1288698A1 (en) Dynamic priority device
SU1151945A1 (en) Information input device
SU1148116A1 (en) Polyinput counting device
SU1168955A1 (en) Device for gathering data on operational system
SU1058042A1 (en) Pulse signal discriminator
SU1062683A1 (en) Information input device
SU1424045A1 (en) Series code receiver
SU1647567A1 (en) Device for data entry checking
SU444190A1 (en) Apparatus for calculating ordered selection functions
SU411628A1 (en)
SU1758653A1 (en) Device for separating effective solutions