SU966690A1 - Device for discriminating extremum from nm-digital binary codes - Google Patents

Device for discriminating extremum from nm-digital binary codes Download PDF

Info

Publication number
SU966690A1
SU966690A1 SU813268688A SU3268688A SU966690A1 SU 966690 A1 SU966690 A1 SU 966690A1 SU 813268688 A SU813268688 A SU 813268688A SU 3268688 A SU3268688 A SU 3268688A SU 966690 A1 SU966690 A1 SU 966690A1
Authority
SU
USSR - Soviet Union
Prior art keywords
elements
inputs
outputs
exclusive
input
Prior art date
Application number
SU813268688A
Other languages
Russian (ru)
Inventor
Валерий Георгиевич Джимшиашвили
Original Assignee
Предприятие П/Я В-8025
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 Предприятие П/Я В-8025 filed Critical Предприятие П/Я В-8025
Priority to SU813268688A priority Critical patent/SU966690A1/en
Application granted granted Critical
Publication of SU966690A1 publication Critical patent/SU966690A1/en

Links

Description

Изобретение относитс  к автоматы-, ке и вычислительной технике и может быть использовано при реализации технических средств цифровой автоматики, а также дл  преобразовани  и кодировани  информации в факсимильной технике . .. .The invention relates to automata, computer and computing equipment and can be used in the implementation of digital automation technology, as well as for converting and encoding information in facsimile technology. ..

Известно устройст-во дл  сравнени  П чисел, содержащее п - узлов анализа , элементов И, ИЛИ, НЕ, триггеPfci tl.A device for comparing P numbers is known, containing n - analysis nodes, AND, OR, NOT, Pfci tl trigger elements.

Недостатком этого устройства  вл -етс  необходимость сдвига двоичных чисел в кольцевых регистрах, что исключает возможность параллельного использовани  информации регистров дл  арифметических и логических баерации над числами. Применение колЫ1евых сдвигающих регистров также.снимает Надежность устройств.и его врзможности .A disadvantage of this device is the necessity of shifting binary numbers in ring registers, which excludes the possibility of parallel use of register information for arithmetic and logic over numbers. The use of colorad shift registers also removes the reliability of devices. And its capabilities.

Наиболее близким к предлагаемому  вл етс  устройство дл  выделени  экстремального из двоичных чисел п , т-разр дных, содержащее матрицу  чеек , -кажда  из которых содержит элементы И, ИЛИ, элементы запрета, причем первый вход элемента И соединен с первым входом  чейки, а выход с первым входом элемента ИЛИ, выходThe closest to the present invention is a device for extracting extremal binary numbers n, t-bit, containing a matrix of cells, each of which contains AND, OR, prohibition elements, the first input of the AND element connected to the first input of the cell, and the output with the first input element OR, output

которого со.единей с первым выходотл  чейки и со вторым входом последующей  чейки данной строки, третьи входы  чеек соединены с шиной съема соответствующего разр да, котора  подключена к первым входам элементов И съема чисел, к вторым входам которых подключена Тктова  шина, сигнальный вход элемента запрета соеди10 нен с четвертым входом  чейки, а выход - со вторым выходом  чейки,второй вход элемента И соединен с третьим входом  чейки, а второй вход элемента ИЛИ - с управл ющим входом эле15 мента запрета и с вторыь входсм  чейки , устройство содержит элемент задержки и в каждой строке - элемент НЕ, элемент запрета, элемент ИЛИ и триггер , в каждом столбце - многовходовоЯ which is connected with the first output cell and the second input of the next cell of the given line, the third inputs of the cells are connected to the bus of the corresponding bit, which is connected to the first inputs of the elements And the numbers are picked up, the second input of which is connected to the prohibition element It is connected to the fourth input of the cell, and the output is connected to the second output of the cell, the second input of the AND element is connected to the third input of the cell, and the second input of the OR element is connected to the control input of the prohibition element and the second input of the cell contains a delay element and in each row - a NOT element, a prohibition element, an OR element and a trigger, in each column - a multiple input

20 элемент ИЛИ, выход которого соединен с шиной съема соответствующего разр да 2 3.20 element OR, the output of which is connected to the removal bar of the corresponding bit 2 3.

Недостатком данного устройства  вл етс  его сложность.The disadvantage of this device is its complexity.

2525

Целью.изобретени   вл етс  упрощение устройства путем сокращени  числа св зей и числа используемых элементов .The purpose of the invention is to simplify the device by reducing the number of connections and the number of elements used.

Поставленна  цель достигаетс  тем, The goal is achieved by

Claims (2)

30 что устройство дл  выделени  экстре:мального из n m-раэ.р дных двоичных чисел, содерзхащеё .п т-разр дных регистров и групп элементов И, т-входовы элементы ИЛИ, триггеры, причем выход регистров поразр дно соединены с пер вб№ш входами элементов И соответству квдей группы, выходы которых соединены со входами соответствующего m-Bxd дового элемента ИЛИ,входы установки триггеров в единицу соединены со входом сброса устройства, содержит элемент ИСКЛЮЧДЮП1ЕЕ ИЛИ, п-входовой элемент ИЛИ, причем вторые входы одноименных элементов И всех групп соединены с соответствующими шинами управлени  поразр дным сравнением устройства, третьи входы элементов И каждой группы соединены с выходами соответствующих триггеров и с выходами кода номера регистра, содержащего экстремальное число устрой ства, выходы п-входовых элементов ИЛИ соединены с первыми входами соот ветствуюг-дах элементов ИСКЛЮЧАЮЩЕЕ ИЛИ и с соответствующими входами п-входо вого элемента ИЛИ, выход которого .соединен со вторыми входами элементов ИСКЛЮЧАЮЩЕЕ ИЛИ и  вл етс  выходом кода экстремального числаустройства , выходы элементов ИСКЛЮЧАЮЩЕЕ ИЛИ соединены с нулевыми входами соответствующих триггеров На чертеже представлена схема предлагаемого устройства. Оно содержит n m-разр дных регист ров 1, в которых записаны пр мые т-разр дные коды (дл  случа  выделени  максимального числа) сравниваемых двоичных чисел, а а. . . а,т) .) Первый разр д этих чисел  вл етс  старшим. Устройство содержит группу трехвходовых элементов И 2, тп-входовых элементов ИЛИ 3, элементы ИСКЛЮЧАЮЩЕЕ ИЛИ 4, триггеры 5, п-входовой элемент ИЛИ б, шины.7 управлени  поразр дным сравнением устройства. УСТРОЙСТВО работает следующим обраэом . При ОТСУТСТВИИ управл ющих ситналов на шинах 7, а следовательно на одном иЭ входов элементов И 2, имеет с  уровень напр жени , соответствующий логическому 6. Поэтому на выходах элементов И 2, ИЛИ 3 и ИЛИ 6 также имеетс  О. Соответственно на выходах элементов. ИСКЛЮЧАЮЩЕЕ ИЛИ 4 уровень логического О. При этом триггер 5 не мен ет своего состо ни  (переключение триггеров 5 происходит при по влении на его установочном входе напр жени , соответствующего логической 1). Перед началом сравнени  установоч ным импульсом с управл ющей шины триггеры 5 устанавливаютс  в положе . ние 1, открыва  все элементы.И 2 по третьему входу. ; При последовательном по вле.нии на ижнах 7 управл ющих сигналов, уровень напр жени  которых соответствует логической 1, происходит, начина  со старшего разр да, последовательный поразр дный анализ исследуемых чисел. В случае неравенстйа чисел в анализируемых разр дах происходит установка:в О триггеров 5 тех регистров, у которых в этом разр де имеетс  О.; Пусть значени  старших разр дов всех чисел равны В этом случае при по влении на первой шине 7 уп- . равл ющего сигнала на выходах элементов И 2 старших разр дов, на выходах элементов ИЛИ 3 и ИЛИ б. по вл етс  1 . Так как на оба входа элементов ИСКЛЮЧАЮЩЕЕ ИЛИ подаютс  уровни, соответствующие уровню 1, на выходах элементов ИСКЛЮЧАЮЩЕЕ ИЛИ; 4 - уровень, соответствующий О,: триггеры 5 не измен ют своего состо ни . В случае, если значени  старших разр дов всех чисел равны О, состо ние триггеровтакже; не измен етс , так как при по влении на первой шине 7 управл ющего сигнала, на выходах элеме.нтов И 2, ИЛИ 3, ИЛИ 6 уросоответственно на обоих входах элементов ИСКЛЮЧАЮЩЕЕ ИЛИ 4 уровни О, а на их выходах уровни О, которые не измен ют состо ни  триггеров 5. , Если в старшем разр де чисел етс  неравенство, то при поступлении управл ющего сигнала на первую шину . 7 происходит совпадение 1 на входах элементов И 2, подключенным к пр мым выходам тех регистров, в cTaipшем разр де которых записана 1. Поэтому на выходе этих элементов . И 2, на выходе соответствующих элементов ИЛИ 3 и на выходе элемента ИЛИ б по вл етс  1, котора  подаетс  на вторые входы элементов ИСКЛЮЧАЮЩЕЕ ИЛИ 4 всех регистров. При этом . на выходе любого элемента ИСКЛЮЧАЮЩЕЕ ИЛИ 4 возникает сигнал 1 сброса соответствующего триггера 5 в том случае, если на первый вход элемента ИСКЛЮЧАЮЩЕЕ ИЛИ с соответствующего ему элемента ИЛИ 3 поступает О. (Переключение триггеров 5 происходит при по влении на его установочном входе напр жени , соответствующего логической 1). По приведенному алгоритму производитс  анализ всех остальных разр дов по мере по влени  управл ющих сигналов на последуюишх шинах 7. В результате этого не установленными остаютс  только те триггеры 5, которые соответствуют регистрам с максимальным числом, а на вьисодеэлемента ИЛИ 6 по вл етс  пр мой последовательный код этого числа. Если требуетс  вьщелить минимальное число из исследуемых чисел, то в регистры записывают инверсное зна чение кодов исследуемых чисел. Тогда код числа, выделенного , из совокупнос ти инверсных значений кодов исследуемых чисел, представл ет собой инвер ное значение кода.минимального из ис следуемых чисйл. При использовании данного технического решени  уменьшаетс  ко; ичест во используемых элементов и сокращаетс  число св зей между ними. ; Формула изобретени  Устройство дн  выделени  экстремсшьного из п т-разр дных двоичных чисел, содержащее п т-разр дных регистров и групп элементов И, т-вхоДовые элементы ИЛИ, триггеры, причем выходы регистров поразр дно соединены с первыми входами элементов И соответствующей группы, выходы которых соединены со входами соответствующего т-входового элемента ИЛИ, входы установки триггеров в единицу со входом сброса устройства, о т л и ч а ю ц е е с   тем, что/ с целью сокращени  затрат оборудовани , устройство содержит элементы ИСКЛЮЧАгаЦЕЕ ИЛИ, п-входрвой элемент ИЛИ/ причем вторые входы одноименных элементов И всех групп соединены-с соответствующими ишнами управлени  . поразр дным сравнением устройства, третьи входи элементов И каждой группы соединены с выходами соответствукхцих триггеров и с выходами кода ног мера регистра, содержащего экстремальное число устройства, выходы т-входовых элементов ИЛИ доединены с первыми входами соответствующих элементов ЙСКЛЮЧАЩЕЕ ИЛИ и с соответствующими входат п-входового элемента ИЛИ, выход которого соединен со вторыми входами элементов ИСКЛЮЧАЮЩЕЕ ИЛИ и  вл етс  выходом кода экстремального числа устройства, выходы элементов ИСКЛЮЧАЮЩЕЕ или .соединены с нулевыми входами соответствующих триггеров. Источники информации/ прин тые во внимание при экспертизе. 1.Авторское свидетельство СССР 620976, кл.С Об F 7/02, 1977. 30 that a device for extracting the extremum of n m-ra.d binary numbers, contains t-bit registers and groups of elements AND, t-input elements OR, triggers, and the output of registers is bitwise connected to the first one The inputs of the elements AND corresponding to the group, the outputs of which are connected to the inputs of the corresponding m-Bxd output element OR, the installation inputs of the flip-flops in the unit are connected to the reset input of the device, contains the element EXCLUSIVE OR, the second inputs of the same elements AND all groups with Dineny with the corresponding control buses in comparison with the device, the third inputs of the elements AND of each group are connected to the outputs of the corresponding triggers and the outputs of the code of the register number containing the extreme number of the device, the outputs of the n-input elements OR are connected to the first inputs of the corresponding elements of the EXCLUSIVE OR and with the corresponding inputs of the p-input element OR, the output of which is connected to the second inputs of the elements EXCLUSIVE OR, and is the output of the code of the extremal number of the device, you the moves of the elements EXCLUSIVE OR are connected to the zero inputs of the corresponding triggers. The drawing shows the scheme of the proposed device. It contains n m-bit registers 1 in which the direct t-bit codes are written (for the case of extracting the maximum number) of the compared binary numbers, a. . . a, t).) The first bit of these numbers is the highest. The device contains a group of three-input elements AND 2, TP-input elements OR 3, elements EXCLUSIVE OR 4, triggers 5, p-input element OR b, bus 7 control by bitwise comparison of the device. DEVICE works as follows. In the absence of control sitals on tires 7, and therefore on one of the inputs of the elements And 2, has a voltage level corresponding to logical 6. Therefore, the outputs of the elements And 2, OR 3 and OR 6 also have O. Accordingly, at the outputs of the elements. EXCLUSIVE OR 4 level of logic O. At the same time, trigger 5 does not change its state (switching of triggers 5 occurs when a voltage corresponding to logical 1 appears at its installation input). Before starting the comparison with the installation pulse from the control bus, the triggers 5 are set in position. 1, open all the elements. And 2 at the third entrance. ; In case of sequential control signals on Izhnakh 7, the voltage level of which corresponds to logical 1, a serial bitwise analysis of the investigated numbers occurs, starting with the highest bit. In the case of unequal numbers in the analyzed bits, the installation takes place: in the O triggers there are 5 registers that have O in this category; Let the values of the most significant digits of all numbers be equal. In this case, when the appearance on the first bus is 7, the set-up. equalizing signal at the outputs of the elements And 2 higher bits, at the outputs of the elements OR 3 and OR b. appears 1. Since both inputs of the EXCLUSIVE OR elements are provided with the levels corresponding to level 1, the outputs of the EXCLUSIVE OR elements; 4 - level, corresponding to O: triggers 5 do not change their state. In case the values of the most significant bits of all numbers are equal to O, the state of the trigger also; does not change, since when a control signal appears on the first bus 7, at the outputs of the elements AND 2, OR 3, or 6 it is appropriately at both inputs of the EXCLUSIVE OR 4 levels O, and at their outputs O, which are not the states of the flip-flops change. 5. If the inequality is higher in the higher-order number, then when the control signal arrives on the first bus. 7, coincidence 1 occurs at the inputs of the And 2 elements, connected to the direct outputs of those registers in which cTabits 1 is written. Therefore, at the output of these elements. And 2, at the output of the corresponding elements OR 3 and at the output of the element OR b, 1 appears, which is fed to the second inputs of the EXCLUSIVE OR 4 elements of all the registers. Wherein . At the output of any element EXCLUSIVE OR 4, a signal 1 is produced, which resets the corresponding trigger 5, if the first input of the EXCLUSIVE OR element from the corresponding element OR 3 is O. (Switching of the triggers 5 occurs when voltage appears on its installation input corresponding to logical 1). According to the above algorithm, all other bits are analyzed as the control signals appear on the subsequent buses 7. As a result, only those triggers 5 that correspond to the registers with the maximum number are left unset, and the sequential element appears on the output element OR 6 code of this number. If it is required to select the minimum number of the investigated numbers, then the registers record the inverse value of the codes of the investigated numbers. Then the code of the number allocated from the set of inverse values of the codes of the studied numbers is the inverse value of the code of the minimum studied number. When using this technical solution decreases to; The quality of the elements used is reduced and the number of connections between them is reduced. ; The invention The device of the day of the selection of extremum from n t-bit binary numbers, containing n t-bit registers and groups of elements And, t-entry elements OR, triggers, the outputs of registers are bitwise connected to the first inputs of the elements And the corresponding group, outputs which are connected to the inputs of the corresponding t-input element OR, the installation inputs of the flip-flops into the unit with the device reset input, which means that, in order to reduce equipment costs, the device contains the elements EXCLUSIVE E OR, p-entry element OR / and the second inputs of the elements of the same name AND of all groups are connected to the corresponding control points. By comparison of the device, the third inputs of the AND elements of each group are connected to the outputs of the corresponding triggers and the outputs of the leg code; a measure of the register containing the extreme number of the device; the outputs of the t-input elements OR are connected to the first inputs of the corresponding elements EXCLUSIVE OR and the corresponding inputs of the n-input the OR element whose output is connected to the second inputs of the EXCLUSIVE OR elements and is the output of the device’s extreme number code, the outputs of the EXCLUSIVE elements or. are connected to zero The inputs of the respective triggers. Sources of information / taken into account in the examination. 1. The author's certificate of the USSR 620976, kl.S About F 7/02, 1977. 2.Авторское свидетельство СССР №526888. кл. G 06 F 7/06, 1978 (прототип ) .2. USSR author's certificate №526888. cl. G 06 F 7/06, 1978 (prototype). с51c51 с51c51 кодноКод ме оар&zucm/ja  codecode code & zucm / ja
SU813268688A 1981-01-27 1981-01-27 Device for discriminating extremum from nm-digital binary codes SU966690A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU813268688A SU966690A1 (en) 1981-01-27 1981-01-27 Device for discriminating extremum from nm-digital binary codes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU813268688A SU966690A1 (en) 1981-01-27 1981-01-27 Device for discriminating extremum from nm-digital binary codes

Publications (1)

Publication Number Publication Date
SU966690A1 true SU966690A1 (en) 1982-10-15

Family

ID=20950801

Family Applications (1)

Application Number Title Priority Date Filing Date
SU813268688A SU966690A1 (en) 1981-01-27 1981-01-27 Device for discriminating extremum from nm-digital binary codes

Country Status (1)

Country Link
SU (1) SU966690A1 (en)

Similar Documents

Publication Publication Date Title
US4498174A (en) Parallel cyclic redundancy checking circuit
US3530284A (en) Shift counter having false mode suppression
US5721809A (en) Maximum value selector
SU966690A1 (en) Device for discriminating extremum from nm-digital binary codes
KR0139019B1 (en) Bit sequencing parallel comparator
US3221154A (en) Computer circuits
SU1128251A1 (en) Device for comparing binary numbers
SU809167A1 (en) Device for comparing binary numbers
SU514291A1 (en) Extremely bit-binary extraction device
SU1056180A1 (en) Device for comparing parallel codes of numbers
SU564632A1 (en) Binary digits comparing device
SU610107A1 (en) Binary number sorting arrangement
SU983566A1 (en) Frequency digital measuring device
SU486315A1 (en) Device for comparing successive codes of numbers
SU811245A1 (en) Syllogistic machine
SU744570A1 (en) Device for multiplying by three
SU441559A1 (en) Device for comparing binary numbers
RU2222822C2 (en) Device for programmed control over electric motor drives, electron keys and signaling
SU980162A1 (en) Logic cell for associative storage
SU1005189A1 (en) Device for reading-out information from associative storage
SU1645970A1 (en) Device for coloring graphs
SU840888A1 (en) Device for comparing n binary numbers
SU868765A1 (en) Information processing device
JPH08139613A (en) Code coincidence detecting system
SU987616A1 (en) Device for serial discriminating unities from n-digit binary code