SU1173408A1 - Device for determining maximum out of binary numbers - Google Patents

Device for determining maximum out of binary numbers Download PDF

Info

Publication number
SU1173408A1
SU1173408A1 SU833697916A SU3697916A SU1173408A1 SU 1173408 A1 SU1173408 A1 SU 1173408A1 SU 833697916 A SU833697916 A SU 833697916A SU 3697916 A SU3697916 A SU 3697916A SU 1173408 A1 SU1173408 A1 SU 1173408A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
elements
group
analysis
Prior art date
Application number
SU833697916A
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 SU833697916A priority Critical patent/SU1173408A1/en
Application granted granted Critical
Publication of SU1173408A1 publication Critical patent/SU1173408A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

УСТРОЙСТВО ДЛЯ ОПРЕДЕЛЕНИЯ .МАКСИМАЛЬНОГО ИЗ гт ДВОИЧНЫХ ЧИСЕЛ , содержащее гг групп элементов И по п-1 элементов И в каждой группе, где п- число разр дов сравниваемых чисел, -tn групп элементов пам ти по п элементов пам ти в каждой группе, п многовходовых элементов ИЛИ анализа разр дов, m элементов ИЛИ обнулени , управл ющие элементы И, регистр результата, причем пр мой выход каждого i-ro элемента пам ти группы, где i 1,2,...,r,k 1,2,...., m соединен с k-м входом i-ro элемента ШШ анализа разр да , выход которого подключен к первому входу .i-ro управл ющего элемента И, выход которого соединен со входом установки в единичное состо ние i-ro разр да регистра результата , выход j-ro управл ющего элемента И, где j 1,2,...,ri-1 подключен к первым входам i-x элементов И всех групп, второй вход j-ro , элемента И 1с-й группы подключен к инверсному выходу j-ro элемента пам ти k-й группы, выход (n-l)-ro элемента И группы соединен с первым входом k-ro элемента ИЛИ обнулени , выход которого подключен к входу установки в нулевое состо ние h-ro элемента пам ти k-й группы , отличающеес  тем, что, с целью повышени  быстродействи , в устройство введены п-1 элементов И обнулени , п-2 элементов И анализа разр дов, многовходо- вый элемент И и генератор импульсов , вход запуска которого подключен к входу запуска устройства, а выход соединен с вторыми входами всех управл ющих элементов И, управл ющим входом многовходового элемента И и инверсными входами всех i элементов И обнулени , пр мой вход j-ro элемента И обнулени  подключен, (Л к выходу j-ro разр да регистра резул тата , а выход соединен с первыми входами установки в нулевое состо ние J-X элементов пам ти всех групп, вторые входы установки в нулевое состо ние элементов пам - , ти со второго по (п-1)-й груп 1 пы объединены и подключены к входу со установки в нулевое состо ние п-го 4: элемента пам ти k-й группы, выход р-го элемента И группы, где р 1,2,...,п-2, соединен с (р-«-1)-м оо входом k-ro элемента ИЛИ обнулени , выходы многовходовых элементов ШШ анализа разр дов подключены к инверсным входам многовходового элемента И, выход которого  вл етс  выходом окончани  поиска устройства, выход первого многовходового элемента ШШ анализа разр дов подключен к инверсному входу второго управл ющего элемента И, первый инверсный вход р-го элемента И анализа разр дов подключен к выходу (р+1)-го мноA DEVICE FOR DETERMINING .MAXIMAL FROM rm BINARY NUMBERS, containing yy groups of elements AND by n-1 elements AND in each group, where n is the number of digits of the numbers being compared, -tn groups of memory elements by n memory elements in each group, n multiple input elements OR analysis of bits, m elements OR zeroing, control elements AND, result register, and the direct output of each i-th memory element of the group, where i 1,2, ..., r, k 1,2, ...., m is connected to the k-th input of the i-ro of the lightest bit analysis element, the output of which is connected to the first input of the .i-ro control About And, whose output is connected to the installation input to the i-ro unit of the result register, the output j-ro of the I control element, where j 1,2, ..., ri-1 is connected to the first inputs of the ix elements And all the groups, the second input of the j-ro, the AND element of the 1st group is connected to the inverse output of the j-ro memory element of the k-th group, the output (nl) -ro of the AND element of the group is connected to the first input of the k-ro element OR zeroing The output of which is connected to the setup input to the zero state of the h-ro memory element of the k-th group, characterized in that, in order to improve speed , n-1 elements And reset, n-2 elements and analysis of bits, a multi-input element And and a pulse generator, the start input of which is connected to the start input of the device, and the output connected to the second inputs of all control elements And the control input of the multi-input element AND and the inverse inputs of all i elements of the zeroing, the direct input of the j-ro element and the zeroing are connected (L to the output of the j-ro bit of the output register, and the output is connected to the first inputs of the installation to zero state JX memory elements of all groups , the second inputs of setting the zero state of the memory elements, from the second to the (n-1) -th group, are combined and connected to the input from the zero-setting state of the n-th 4: memory element of the k-th group, the output of the p-th element of the AND group, where p 1,2, ..., p-2, is connected to (p - "- 1) -th oo input of the k-ro element OR zeroing, the outputs of the multi-input elements of the bits of the bit analysis are connected to the inverse inputs of the multi-input element AND, the output of which is the output of the end of the device search, the output of the first multi-input element of the bits of the analysis of bits is connected to the inv The transverse input of the second control element I, the first inverse input of the pth element AND of the analysis of bits is connected to the output of (p + 1) -th

Description

гопходового элемента ИЛИ анализа разр дов, второй инверсный вход первого элемента И анализа разр дов подключен к выходу первого многовходового элемента ИЛИ анализа разр дов , выход р-го элемента И анализа разр дов соединен с третьим входом (р+2)-го управл ющего элемента И и вторым входом (р+1)-го элемента И анализа разр дов.of the go-through element OR analysis of bits, the second inverse input of the first element AND analysis of bits is connected to the output of the first multi-input element OR analysis of bits, the output of the p-th element AND the analysis of bits is connected to the third input of the (p + 2) -th control element And the second input (p + 1) -th element And analysis of bits.

1one

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано в различных устройствах обработки цифровой информации , устройствах распознавани  образцов , устройствах обработки спектров сложных сигналов.The invention relates to automation and computer technology and can be used in various digital information processing devices, sample recognition devices, devices processing spectra of complex signals.

Целью изобретени   вл етс  повышение быстродействи  устройства.The aim of the invention is to improve the speed of the device.

На чертеже представлена блок-схема предлагаемого устройства.The drawing shows a block diagram of the proposed device.

Устройство содержит гп групп элементов И , , 1 , 1 ,....The device contains gp groups of elements And,, 1, 1, ....

1.i:;,1,......C,m; групп 1.i:;, 1, ...... C, m; groups

элементов пам ти 2,2....2,2, memory elements 2.2 .... 2.2,

2 9 9 TTQ .«,,, эле2 9 9 TTQ. “,,, ele

ментов ИЛИ 3%3,.....,3 обнулени , п- многовходовых элементов ИЛИ анализа разр дов 4.Ag4, управл ющие элементы И 5 ,5 ... .5,, (п-2) элементов И анализа разр дов 6cops OR 3% 3, ....., 3 zeroings, p-multiple input elements OR analysis of bits 4.Ag4, control elements AND 5, 5 ... .5 ,, (n-2) elements AND analysis of discharge Dov 6

, ВХОД 7 запуска устройп-2, INPUT 7 start up device 2

ства, генератор 8 импульсов, многовходовый элемент И 9, регистр 10 результата, (ri-1) элементов И обнулени  11, 11,11п-1(1) sbiходы 12, 122....12 элементов И 11j  вл ютс  вторыми установками в нулевое.состо ние j-ой группы элементов 2j пам ти, 13 - выход окончани  поиска устройства.The pulse generator 8 pulses, the multiple-input element AND 9, the result register 10, the (ri-1) elements, and the zeroings 11, 11, 11n-1 (1), the inputs 12, 122 ... 12, and elements 11j are the second settings in the zero state of the jth group of memory elements 2j, 13 is the output of the device search end.

Назначение элементов устройства следующее. Элементы 2 пам ти, гдеThe purpose of the elements of the device is as follows. Memory elements 2 where

1;. 1,2,....,т, т 1,2,,n,tnколичество анализируемых двоичных чисел, п- количество двоичных разр дов в числе, служат дл  временного хранени  двоичных чисел. ) -а  груп , па элементов И 1 j Л элемент ИЛИ 3 служат дл  выработки сигнала обнулани  1.-ой группы элементов 2 пам ти. Если при стробировании сигналом с выхода элемента И 5 первого элемента И 1 в соответствующем группе разр ды двоичного числа,, хранимого в соответствующей  чейке пам ти , имеют нулевое значение, то все элементы пам ти, хран щих число, обнул ютс . Элементы ИЛИ 4 формируютone;. 1,2, ...., t, t 1,2, ..., n, tn the number of analyzed binary numbers, n - the number of binary bits in a number, are used for temporary storage of binary numbers. ) -a group, pa elements AND 1 j L element OR 3 are used to generate a zero reset signal for the 1st group of memory elements 2. If, when gating a signal from the output of the element 5 of the first element 1 and 1, in the corresponding group, the bits of the binary number stored in the corresponding memory cell are zero, then all the memory elements storing the number are zeroed out. The elements of OR 4 form

, ессигналы разрешени , напримерresolution resolutions, for example

ли хот  бы Б ОДНОМ из чисел анализируемого разр да в элементах 2 пам ти присутствует 1.Whether at least B ONE of the numbers of the analyzed bit is present in the elements 2 of the memory 1.

Элементы И 5 , где i 1,2,...,п и элементы И 6р, где р 1,2,..., (п-2) служат дл  последовательного анализа разр дов всех чисел и соответствующего стробировани  тех разр дов , которые содержат хот  бы в одном из чисел 1 в соответствующем разр де.Elements And 5, where i 1,2, ..., p and elements And 6p, where p 1,2, ..., (p-2) serve for the sequential analysis of the bits of all numbers and the corresponding gating of those bits, which contain at least one of the numbers 1 in the corresponding category.

Элемент И 9 служит дл  выработки сигнала окончани  операции поиска максимального числа на выходе 13 устройства, причем сигнал на выходеElement AND 9 serves to generate a signal for the end of the search operation for the maximum number at the output 13 of the device, and the output signal

элемента И 9 по вл етс  лишь при обнуленных состо ни х всех элементов 2 пам ти, т.е..когда отсутствуют сигналы разрешени  с выходов элементов И1Ш 4- .And 9 appears only under zeroed conditions of all 2 memory elements, i.e., when there are no permission signals from the outputs of I1Sh 4- elements.

Элементы И 11; где j 1,2,Elements And 11; where j 1,2,

(п-1) служат дл  выработки сигнала обнулени  соответствующего разр да -ой группы элементов 2 пам ти по(p-1) are used to generate a zero signal for the corresponding bit of the second group of memory elements 2

.окончанию такта перезаписи 1 состо ни  в регистр 10 результата.. to the end of the cycle of rewriting 1 state in the register 10 of the result.

Регистр 10 результата служат дл  формировани  двоичного п-разр дного кода максимального из m двоичных чисел.Result register 10 serves to form the binary n-bit code of the maximum of m binary numbers.

Генератор 8 импульсов служит дл  выработки тактов синхронизации, обепечивающих последовательное формирование стробирующих импульсов при анализе разр дов чисел, начина  со старших разр дов. Запуск генератора 8 происходит по сигналу, поступающему на вход 7 запуска устройства .The pulse generator 8 serves to generate synchronization cycles, ensuring the sequential formation of gating pulses in the analysis of number bits, starting with the higher bits. The start of the generator 8 occurs on a signal received at the input 7 of the launch device.

33

Устройство работает следующим образом.The device works as follows.

Перед началом работы в элеменIfBefore you start working in elements

ты 2 V пам ти занос тс  m двоичных чисел, причем в первую группу элементов 2 пам ти занос т все старшие разр ды m двоичных чисел,далее в последующие группы занос тс  все разр ды чисел в пор дке убывани  старшинства разр дов, а в группе злементов 2 пам ти занос тс  все младшие разр ды m двоичных чисел . Регистр 10 результата обнул етс .You 2 V memories bring mc binary numbers, and in the first group of 2 memory elements all the leading bits of m binary numbers are entered, then all subsequent numbers of numbers in the order of decreasing precedence of bits are added to the next groups, and The elements of 2 memories are scored by all the lower-order bits of m binary numbers. The result register 10 is reset.

В устройство по входу 7 поступае сигнал начала операции, по которому осуществл етс  запуск генератора 8 импульсов. Генератор 8 импульсов вырабатывает серию импульсов стробировани  дп  элементов И 5, элемента И 9, элементов И 1Ь , причем сигналом разрешени  дл  элементов И 5. и элемента И 9  вл етс  сам тактовый импульс, а дл  злементов И 11- - отсутствие тактового импульса на их первых входах.Into the device, at input 7, a start signal of the operation is received, which starts the generator of 8 pulses. The pulse generator 8 generates a series of gating pulses dp of the elements And 5, element 9, elements 1 b, and the resolution signal for elements 5 and element 9 and 9 is the clock itself, and for elements 11 the absence of a clock pulse on them first entrances.

В случае 1, если хот  бы в одном из элементов 2 пам ти 1-ой группы, где 1 1,2,, т, в старшем разр де записана 1, то сигнал через элемент ИЛИ 4 поступает на второй вход элемента И 5 , разреша  прохождение строб-импульса с генератора 8 импульсов. При этом сигнал поступает в регистр 10 результата и записывает в него 1 в этом разр де , а также этот сигнал поступает на вторые входы элементов И 1 данного разр да. Если в I.-OM числе, 1 1,2,.m этот разр д установлен в О состо ние, то с инверсного выхода элемента 2 пам ти снимаетс  разрешающий потенциал, открывающий элементы И 1 и через элемент ШЖ 3 поступает сигнал установки в нулевое состо ние по первым входам элементов 2 пам ти, в которых и хранитс  tc-oe число. Данное число исключаетс  из процесса поиска максимального из m двоичных чисел . По окончанию первого импульса, генератора 8 импульсов на первом вхде элемента И 11 по витс  сигнал разрешени , а поскольку по первому такту в старшем разр де регистра 10 уже записана 1, то срабатывает элемент И 11 и на его выходе 12 по вл етс  сигнал установки в нуле734084In case 1, if at least in one of elements 2 of the memory of the 1st group, where 1 1,2 ,, t, 1 is recorded in the highest order, then the signal through the element OR 4 goes to the second input of the element And 5, allowing passage of the strobe pulse from the generator 8 pulses. In this case, the signal enters the result register 10 and writes 1 to it in this bit, and also this signal goes to the second inputs of the And 1 elements of this bit. If in the I.-OM number, 1 1.2, .m, this bit is set to the O state, then the inverting potential, opening AND 1 elements, is removed from the inverse output of the memory element 2, and the signal of the zero setting the state of the first inputs of the memory elements 2, in which the tc-oe number is stored. This number is excluded from the process of finding the maximum of m binary numbers. At the end of the first pulse, the generator of 8 pulses at the first input of the element 11 has a resolution signal, and since the first clock in the high register register 10 has already been recorded 1, the element 11 11 is triggered and at its output 12 a setting signal appears null734084

вое состо ние всех старших разр дов элементов 2 пам ти, т.е. проанализированные разр ды элементов 2 . пам ти обнул ютс . 5 В случае 2, когда исследуемыеThe current state of all the higher bits of memory elements 2, i.e. analyzed bits of elements 2. memory is zeroed. 5 In case 2, when studied

числа имеют нулевые значени  в старшем разр де (), то с выхода элемента ИЛИ 4 на второй вход элемента И 5 поступает сигнал Запрет 10 а на третий вход элемента И 5 этот сигнал уже разрешающий (по входу он инвертируетс ). При этом, если хот  бы в одном из чисел в следующем разр де () имеетс  1, то срабатывает элемент ИЛИ 2 разреша  тем самым прохождение первого стробимпульса с генератора 8 через второй элемент И Sj. Срабатывает элемент И 5 и сигнал с его выхода 0 . поступает в регистр 10 результата и записывает 1 в этом разр де, а также на вторые входы элементов И 1 где 1 1,2,....т. Если в числе данный разр д равен нулю, то Since the numbers have zero values in the higher order (), then the output of the OR 4 element to the second input of the AND 5 element receives the Ban 10 signal and the third input of the AND 5 element already allows this signal (it is inverted at the input). At the same time, if at least one of the numbers in the next bit () is 1, then the OR 2 element is triggered, thereby allowing the first strobe from the generator 8 to pass through the second element AND Sj. The element And 5 and the signal from its output 0 trigger. enters the result register 10 and writes 1 to this bit, as well as to the second inputs of the elements AND 1 where 1 1,2, .... t. If the number of this bit is zero, then

5 с инверсного выхода элемента 2 ПАМЯТИ данного разр да снимаетс  разрешающий потенциал, открывающий . . элемент И 1 и через элемент ИЛИ 3 поступает сигнал установки в нулевое5, the inverting potential, which opens, is removed from the inverse output of the MEMORY element 2 of this bit. . the element AND 1 and through the element OR 3 the signal is set to zero

0 состо ние по первым входам элемен- . тов 22 пам ти, в которых и хранитс  k-oe число. Таким образом, уже первым строб-импульсом производитс  перезапись единичного значени  после-0 state by first inputs of elements. There are 22 memories in which the k-oe number is stored. Thus, already the first strobe pulse is used to rewrite a single value after

дующего разр да в регистр 10 результата при наличии во всех самых старших разр дах () чисел нулевых значений . Обнул ютс  те элементы пам ти тех чисел, которые не имели вof the next bit in the register 10 results in the presence in all of the most senior bits () numbers of zero values. Those elements of the memory of those numbers that did not have

Q данном стробируемом разр де значений как и в предьщущем случае. По окончании строб-импульса происходит обнуление элементов пам ти простробированного разр да всех чисел.Q of this gated bit value as in the previous case. At the end of the strobe pulse, the memory elements of the prostrated bit of all numbers are reset.

В случае 3, когда и в старшем и .в последующих разр дах (, ) во всех исследуемых числах только нулевые значени , то с выхода элеJJ ментов ШШ 4 и 4 поступает запрет на вторые входы соответствующих элементов И 5 и 5 . Эти самые сигналы с выходов элементов ИЛИ 4 и 42, например нулевого потенциала,In case 3, when both in the highest and. In the subsequent bits (,) there are only zero values in all studied numbers, then from the output of elements SHSh 4 and 4, the second inputs of the corresponding elements And 5 and 5 are prohibited. These same signals from the outputs of the elements OR 4 and 42, such as zero potential,

J уже вызывают срабатывание элемента ШШ 6 за счет инверсии сигналов, поступающих на его входы. Разрешающий потенциал с выхода элемента ИЛИ 6 разрешает срабатывание по третьему входу элемента И 5 и по второму входу элемента И 6. Далее, если хот  бы в одном из чисел еледующий разр д () имеет значение 1, то срабатывает элемент ИЛИ 4 и на второй вход .элемента И 5- постпает сигнал разрешени . Первым строб-импульсом происходит перезапись 1 в соответствуюпщй разр д регистра 10 результата, а также обнул ютс  все элементы пам ти тех чисел, которые имели в этом () разр де нулевое значение как ив предьщупшх случа х. По окончанию строб-импульса с выхода 12j элемента И 11з сигнал обнул ет, все элементы 2 пам ти (). Аналогично производитс  анализ и стробирование последующих разр дов.J already cause the triggering of the element ШШ 6 due to the inversion of the signals arriving at its inputs. The resolving potential from the output of the element OR 6 allows the triggering on the third input of the element AND 5 and on the second input of the element AND 6. Further, if at least one of the numbers has the next digit () set to 1, then the element OR 4 and the second input of the element AND 5- the resolution signal. The first strobe pulse is overwritten by 1 in the corresponding register register 10 of the result, and all the memory elements of the numbers that had () bit zero value are reset in the same way as in the preceding cases. At the end of the strobe pulse from the output 12j of the element 11z, the signal is zeroed, all the elements are 2 memories (). Similarly, analysis and gating of subsequent bits is performed.

Далее производитс  анализ и стробирование последу1рщих j-разр дов w чисел, запись 1 в соответствующие разр ды регистра 10 результата, есл хот  бы у одного анализируемого j -разр да исследуемых 1. чисел была 1. Если в -ом числе данный j-ты разр д имеет нулевое значение, то с инверсного выхода элемента 2 пам ти данного разр да поступает разрешение последовательно в соответствующем такте через элемент И 5j, первьй элемент И 1 элемент ИЛИ 3 дл  установки в нулевое состо ние по первым входам элементов 2j пам ти, в которьрс хранилось число. По окончанию стробимпульса происходит обнуление элементов пам ти 2 простробированного j-разр да всех m чисел.Next, the analysis and gating of the next j-bits w numbers, recording 1 in the corresponding bits of the result register 10, if at least one analyzed j-bit of the investigated 1. numbers was 1. If in the -th number the j-th bit d is zero, then the inverse output of the memory element 2 of this bit enters the resolution sequentially in the appropriate cycle through the AND 5j element, the first element AND 1 OR element 3 to be set to the zero state on the first inputs of the memory elements 2j, in which stored number. At the end of the strobe pulse, the memory elements 2 of the tested j-bit of all m numbers are reset to zero.

Таким образом, осуществл етс  анализ значащих (ненулевых) разр дов чисел и перенос такта стробировани  на первый значащий разр д,тем самым сокращаетс  врем  формировани  результата в регистре 10. Кроме того, в каждом такте еще выбывают из анализа все числа, имеющие в стробируем1згх разр дах нулевые значени , и обнул ютс  все проанализированные значащие разр ды. Причем в каждом такте импульсов с генератора 8. импульсов производитс  опрос... состо ний всех разр дов всех чисел на О. Если в хбде опроса элемента И 9 по его стробирующему входу поступит импульс в момент, когда выбыли из анализа все числа, а максимальное число имеет в оставшихс  разр дах нулевое значение, то на выходе элемента И 9 формируетс  сигнал об окончании операции. Это позвол ет досрочно определить максимальное число, при этом число N тактовых импульсов меньше количества п разр дов исследуемых чисел.В результате поиска по сигналу с выхода 13 устройства в регистре 10 сформированный двоичный код максимального из tn двоичных чисел может быть записан во внешнее устройство.Thus, the analysis of the significant (non-zero) number bits and the transfer of the gating cycle to the first significant bit is performed, thereby reducing the time required for generating the result in the register 10. In addition, in each cycle all numbers that have gated in the gaps are reduced from the analysis dah zero, and all analyzed significant bits are zeroed. Moreover, in each cycle of pulses from the pulse generator 8. a survey is performed ... of the states of all the bits of all the numbers on O. If in the polling element I 9, a pulse will arrive at its gate at the moment when all the numbers have left the analysis, and the maximum Since the number has a zero value in the remaining bits, then a signal about the end of the operation is generated at the output of the AND 9 element. This allows you to prematurely determine the maximum number, while the number N of clock pulses is less than the number n bits of the numbers being examined. As a result of searching for the signal from the output 13 of the device in register 10, the generated binary code of the maximum tn binary numbers can be written to the external device.

Введение адаптивной к составу информации синхронизации, при опросе разр дов чисел с учетом анализа значащих (имеющих единичное значение ) разр дов чисел, обнуление соответствующих элементов пам ти проанализированных разр дов всех чисел анализ нулевых состо ний элементов пам ти позвол ет повысить реальное быстродействие устройства, уменьшить врем  поиска экстремального числа из m двоичных чисел.Introducing the composition-adaptive synchronization information, when polling the number bits, taking into account the analysis of the significant (single value) number bits, zeroing the corresponding memory elements of the analyzed bits of all numbers, analyzing the zero states of the memory elements allows increasing the real speed of the device, reducing time to search for an extremal number from m binary numbers.

Claims (1)

УСТРОЙСТВО ДЛЯ ОПРЕДЕЛЕНИЯ МАКСИМАЛЬНОГО ИЗ m ДВОИЧНЫХ ЧИСЕЛ', содержащее tn групп элементов И по п-1 элементов И в каждой группе, где η - число разрядов сравниваемых чисел, tn групп элементов памяти по η элементов памяти в каждой группе, η многовходовых элементов ИЛИ анализа разрядов, m элементов ИЛИ обнуления, управляющие элементы И, регистр результата, причем прямой выход каждого i-ro элемента памяти к~й группы, где < = 1,2,...,n,k= = 1,2,...., tn соединен с к-м входом i-ro элемента ИЛИ анализа разряда, выход которого подключен к первому входу .i-ro управляющего элемента И, выход которого соединен со входом установки в единичное состояние i-ro разряда регистра результата, выход j-ro управляющего элемента И, где j = 1,2,...,п-1 подключен к первым входам i-x элементов И всех групп, второй вход j-ro .. элемента И k-й группы подключен к инверсному выходу j-ro элемента памяти k-й группы, выход (п-1)-го элемента И k-й группы соединен с первым входом к-го элемента ИЛИ обнуления, выход которого подключен к входу установки в нулевое состояние η-го элемента памяти k-й группы, отличающееся тем, что, с целью повышения быстродействия, в устройство введены η-1 элементов И обнуления, η-2 элементов И анализа разрядов, многовходовый элемент И и генератор импульсов, вход запуска которого подключен к входу запуска устройства, а выход соединен с вторыми входами всех управляющих элементов И, управляющим входом многовходового элемента И и инверсными входами всех элементов И обнуления, прямой вход <д j-ro элемента И обнуления подключен, к выходу j-ro разряда регистра результата, а выход соединен с первыми входами установки в нулевое состояние j-x элементов памяти всех групп, вторые входы установки в нулевое состояние элементов памя— ‘ ти со второго по (п-1)-й k-й группы объединены и подключены к входу установки в нулевое состояние п-го элемента памяти k-й группы, выход р-го элемента И к~й группы, где р = = 1,2,...,п-2, соединен с (р+1)-м входом к-го элемента ИЛИ обнуления, выходы многовходовых элементов ИЛИ анализа разрядов подключены к инверсным входам многовхо^ового элемента И, выход которого является выходом окончания поиска устройства, выход первого многовходового элемента ИЛИ анализа разрядов подключен к инверсному входу второго управляющего элемента И, первый инверсный вход р-го элемента И анализа разрядов подключен к выходу (р+1)-го мноSU ,.„1173408 говходового элемента ИЛИ анализа разрядов, второй инверсный вход первого элемента И анализа разрядов подключен к выходу первого многовходового элемента ИЛИ анализа разрядов, выход р-го элемента И анализа разрядов соединен с третьим входом (р+2)-го управляющего элемента И и вторым входом (р+1)-го элемента И анализа разрядов.A DEVICE FOR DETERMINING THE MAXIMUM OF m BINARY NUMBERS ', containing tn groups of elements AND of n-1 elements AND in each group, where η is the number of bits of the compared numbers, tn are groups of memory elements by η memory elements in each group, η are multi-input elements OR analysis bits, m elements OR zeroing, control elements AND, the register of the result, and the direct output of each i-ro memory element to the ~ th group, where <= 1,2, ..., n, k = 1,2, .. .., tn is connected to the k-th input of the i-ro element OR analysis of the discharge, the output of which is connected to the first input .i-ro of the control e element And, the output of which is connected to the unit in the i-ro state of the discharge register of the result register, the output j-ro of the control element And, where j = 1,2, ..., p-1 is connected to the first inputs of the ix elements AND of all groups , the second input of the j-ro .. element of the kth group is connected to the inverse output of the j-ro memory element of the kth group, the output of the (n-1) th element of the kth group is connected to the first input of the kth element OR zeroing, the output of which is connected to the zero input of the ηth memory element of the kth group, characterized in that, in order to improve performance, η-1 elements And zeroing, η-2 elements And discharge analysis, a multi-input element And and a pulse generator, the start input of which is connected to the start input of the device, and the output is connected to the second inputs of all control elements And, the control input of the multi-input element And and inverse inputs of all elements And zeroing, direct input <q j-ro of the element And zeroing is connected, to the output j-ro of the discharge register of the result, and the output is connected to the first inputs of setting to zero state jx memory elements of all groups, the second inputs settings in the zero state of memory elements from the second to the (n-1) th k-th group are combined and connected to the input of the installation in the zero state of the p-th memory element of the k-th group, the output of the r-th element And to ~ group, where p = 1,2, ..., n-2, is connected to the (p + 1) -th input of the k-th element OR zeroing, the outputs of the multi-input elements OR of the discharge analysis are connected to the inverse inputs of the multi-input element And, the output of which is the output of the end of the device search, the output of the first multi-input element OR discharge analysis is connected to the inverse input of the second AND control element, the first inverse input of the r-th element AND of bit analysis is connected to the output of the (p + 1) th multiSU. „1173408 of the input element OR of bit analysis, the second inverse input of the first element AND of bit analysis is connected to the output of the first multi-input element OR the analysis of discharges, the output of the rth element AND of the analysis of discharges is connected to the third input of the (p + 2) th control element And and the second input of the (p + 1) th element of And analysis of discharges.
SU833697916A 1983-12-02 1983-12-02 Device for determining maximum out of binary numbers SU1173408A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU833697916A SU1173408A1 (en) 1983-12-02 1983-12-02 Device for determining maximum out of binary numbers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU833697916A SU1173408A1 (en) 1983-12-02 1983-12-02 Device for determining maximum out of binary numbers

Publications (1)

Publication Number Publication Date
SU1173408A1 true SU1173408A1 (en) 1985-08-15

Family

ID=21102502

Family Applications (1)

Application Number Title Priority Date Filing Date
SU833697916A SU1173408A1 (en) 1983-12-02 1983-12-02 Device for determining maximum out of binary numbers

Country Status (1)

Country Link
SU (1) SU1173408A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 514291, кл. G 06 F 7/02, 1973. Авторское свидетельство СССР № 875376, кл. G 06 F 7/04, 1980. *

Similar Documents

Publication Publication Date Title
SU1173408A1 (en) Device for determining maximum out of binary numbers
SU1575192A1 (en) Device for assigning space in external memory
SU1509909A1 (en) Device for distributing on-line memory
SU526888A1 (en) Device for sorting binary numbers
SU1290296A1 (en) Device for sorting numbers
SU1683005A1 (en) Device to separate five-number sequence median
SU1520509A1 (en) Device for sorting numbers
SU1092494A2 (en) Device for sorting numbers
SU1164694A1 (en) Device for determining local extrema
SU1654810A1 (en) Device for data sets identification
SU576609A1 (en) Associative memory
SU1494001A1 (en) Device for sorting numeric array
SU978197A1 (en) Associative on-line memory device
SU1300459A1 (en) Device for sorting numbers
SU1608657A1 (en) Code to probability converter
SU1451693A1 (en) Priority device
SU674102A1 (en) Associative storage
SU1501094A1 (en) Device for solving optimization problems of standardization
SU1451715A1 (en) Device for analyzing graphs
SU1273936A2 (en) Multichannel information input device
SU1363213A1 (en) Multiinput signature analyser
SU1381483A1 (en) Device for extracting a maximum number
SU1270765A1 (en) Statistical analyzer
SU1487191A1 (en) Multichannel code-voltage converter
SU1238165A1 (en) Device for checking blocks of read-only memory