SU1439572A2 - Number comparator - Google Patents

Number comparator Download PDF

Info

Publication number
SU1439572A2
SU1439572A2 SU864050593A SU4050593A SU1439572A2 SU 1439572 A2 SU1439572 A2 SU 1439572A2 SU 864050593 A SU864050593 A SU 864050593A SU 4050593 A SU4050593 A SU 4050593A SU 1439572 A2 SU1439572 A2 SU 1439572A2
Authority
SU
USSR - Soviet Union
Prior art keywords
elements
input
group
output
inputs
Prior art date
Application number
SU864050593A
Other languages
Russian (ru)
Inventor
Юрий Иванович Ялинич
Валерий Юрьевич Ларченко
Владимир Иванович Хлестков
Михаил Федорович Холодный
Original Assignee
Харьковский авиационный институт им.Н.Е.Жуковского
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 Харьковский авиационный институт им.Н.Е.Жуковского filed Critical Харьковский авиационный институт им.Н.Е.Жуковского
Priority to SU864050593A priority Critical patent/SU1439572A2/en
Application granted granted Critical
Publication of SU1439572A2 publication Critical patent/SU1439572A2/en

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

Изобретение относитс  к автоматике и вычислительной технике. Цель изобретени  - расширение области применени  за счет обеспечени  анализа чисел с учетом знаков. Устройство содержит к дешифраторов ( k колк- чество анализируемых чи сел) 1 1«, группу из элементов ИЛИ 2,-2„, блок анализа 3, шифратор 4, группы элементов И 5 и 6,- 6,, группуThis invention relates to automation and computing. The purpose of the invention is to expand the field of application by providing a numerical analysis of the characters. The device contains the decoders (k number of analyzed numbers) 1 1 ", a group of elements OR 2, -2„, an analysis unit 3, an encoder 4, a group of elements 5 and 6, - 6, a group

Description

(L

сwith

1C

в «.at ".

V ЯГ V YAG

Й1ГH1G

Я0Щ 1бцYaSCH 1bts

ф 1f 1

||7.|| 7.

I I

Щ U

«г« tf...I"G" tf ... I

/7л/ 7l

элементов ИЛИ-НЕ 7, -7j, элементы И-НЕ 8,9, ИЛИ-НЕ 10,11, ИЛИ 12, 13, элемент И 14, вход 15 выбора режима, информационные входы 16 , выходы 17(j- Числа поступают в пр  мом коде со знаком на входы 16 - 16 . В зависимости от заданного типа экстремума и наличи  среди анализируемых чисел положительных или отрицательных (что вы вл етс  элемен1elements OR-NOT 7, -7j, elements AND-NOT 8.9, OR-NOT 10.11, OR 12, 13, element AND 14, mode selection input 15, information inputs 16, outputs 17 (j- Numbers arrive in direct code with a sign to the inputs 16 - 16. Depending on the specified type of extremum and the presence among the analyzed numbers, positive or negative (which is revealed

Изобретение относитс  к автоматике и вычислительной технике и  вл етс  усовершенствованием устройства по авт.св. № 1293726.The invention relates to automation and computer technology and is an improvement to the device auth.St. No. 1293726.

Цель изобретени  - расширение области примёиеии  за счет обеспечс - ни  .анализа чисел с учетом знакГов.The purpose of the invention is to expand the scope of application by providing a number analysis of numbers, taking into account the sign of the words.

На чертеже приведена схема устройства .The drawing shows a diagram of the device.

Устройство содержит группу из k дешифраторов (kl- количество анализируемых чисел) 14-1ц, группу из элементов ИЛИ 2,-2, блок 3 анализа , шифратор 4, группы элементов И 5,-5 и 64-6к, группу элементов ИЛИ-НЕ , элементы И-НЕ 8,9, ШШ-НЕ, 10,11, ШШ 12,13 и И 14, вход 15 выбора режима, информационные входы 16в - 16, , где п - копи- чество разр дов анализируемого числа , причем 16 - знаковый вход, остальные - входы мантиссы j-ro числа (J 1,2...,k), выходы 17,-17 выр;е- ленного числа. The device contains a group of k decoders (kl is the number of analyzed numbers) 14-1ts, a group of elements OR 2, -2, an analysis unit 3, an encoder 4, groups of elements AND 5, -5 and 64-6k, a group of elements OR NOT , elements AND-NOT 8.9, SH-NOT, 10.11, ShSh 12.13 and And 14, mode selection input 15, informational inputs 16c - 16, where n is a copy of the digits of the analyzed number, and 16 - sign input, the rest are the inputs of the mantissa of the j-ro number (J 1,2 ..., k), outputs 17, –17 digits; a divided number.

Устройство работает сл едуюпрам образом. The device works in the following way.

Сравниваемые числа (в пр мом коде со знаком; нуль означ ает положи- тельный знак) поступают на входы The numbers to be compared (in the direct code with a sign; zero means a positive sign) go to the inputs

I k I6g -16у, . На вход 15 поступает единичньй сигнал, если необходимо выг делить максимальное число, и нулевой сигнал, если надо вьщелить минималь- ное число.I k I6g -16у,. Input 15 receives a single signal if it is necessary to divide the maximum number, and a zero signal if it is necessary to select the minimum number.

Если при ввделении максимального числа среди чисел имеетс  хот  бы одно, знаковый разр д которого - нулевой (т.е. положительное число), то на выходе элемента И-НЕ 8 - единица.If at the allocation of the maximum number among the numbers there is at least one, the sign bit of which is zero (i.e., a positive number), then at the output of the AND-HE element 8 is one.

14395721439572

тами И-НЕ 8 и ШШ-НЕ 10) разрушаетс преобразование из двоичного хода в унитарный тех чисел, которые могут оказатьс  искомыми, блоком анализа осуществл етс  поиск либо самого большого, либо самого меньшего по абсолютной величине числа, которое .затем преобразовываетс  шифратором .4 в двоичный код и поступает на ви- ходы 17. 1 ил.T-8 and N-10 (10) destroys the conversion from binary to unitary of those numbers that may be required, the analysis block searches for either the largest or the smallest in absolute value number, which is then converted by the encoder. in binary code and arrives on phases 17. 1 Il.

что приводит к установлению нулевого сигнала на выходе 1 устройства (знаковом выходе, т.е. максимальное число - положительное). Единичный сигнал будет также на выходах элементов И 14, ИЛИ 13 и тех элементов И 6, которые соответствуют отрицательным числам А. Эти единичные сигналы поступ т на соответствующие элементы ИЛИ-НЕ , и нулевые сигналы с этих элементов закроют соответ- ствукицие дешифраторы 1 . Оставшиес  числа А5 будут преобразованы дешифраторами 12 в унитарные коды, из которых блоком 3 анализа, на управл ющий вход которого поступает единичный сигнал с выхода элемента ШШ 13, будет выделено крайнее левое (т.е. максимальное). Это значение будет преобразовано шифратором 4 из унитарного в двоичный код и мантисса максимального числа поступит на выходы 17 -17 устройства.which leads to the establishment of a zero signal at the output 1 of the device (a sign output, that is, the maximum number is positive). A single signal will also be at the outputs of the elements AND 14, OR 13 and those elements AND 6 that correspond to negative numbers A. These single signals are sent to the corresponding elements OR NOT, and zero signals from these elements will close the corresponding decoders 1. The remaining A5 numbers will be converted by decoders 12 into unitary codes, of which the analysis block 3, to the control input of which receives a single signal from the output of SHIII-13, will be allocated the leftmost (i.e. maximum). This value will be converted by the encoder 4 from unitary to binary code and the maximum number of mantissa will go to the outputs 17-17 of the device.

Если при выделении максимального числа все числа окажутс  отрицательными , то нулевое значение будет сформировано на выходе элементов И-НЕ 8, И 14, Ш1И 13 и всех элементов И 6. Поэтому единичное значение будет на выходах всех элементов ИЛИ-НЕ 7, и блоком 7 анализа будет выбрано крайнее правое число из. всех чисел (т.е. отрицательное число с наименьшей абсолютной величиной мантиссы). На выходе 17д при этом единица. При вьде- лении минимального числа устройство работает аналогично, при этом используютс  сигналы на выходах элементов ШШ-НЕ 10, 11 и И 5оIf during the selection of the maximum number all numbers turn out to be negative, then a zero value will be formed at the output of the AND-NE 8, AND 14, S1I 13 and all AND 6 elements. Therefore, the unit value will be at the outputs of all the OR-NOT 7 elements, and in block 7 analysis will select the rightmost number from. all numbers (i.e. a negative number with the smallest absolute value of the mantissa). At the exit of the 17d unit. When minimizing the number, the device operates in the same way, using the signals at the outputs of elements SH-HE 10, 11 and I 5 °.

Claims (1)

Формула изобретен-и ЯClaim Устройство дл  сравнени  чисел по авт.ев, № 1293726, о т л и ч а- ю щ е е с   тем, что, с целью расширени  области применени  за счет обеспечени  анализа чисел с учетом знаков, в него введены перва  и втора  группы по k элементов И кажда , где k - количество анализируемых чисел , группа из k элементов ИЛИ-НЕ, два элемента И-НЕ, два элемента ИПИ-НЕ, два элемента ИЛИ и элемент И, причем вход знакового разр да j-ro числа устройства, где ,2, k, соединен с инверсным входом j-ro элемента И первой группы, первым входом j-ro элемента И второй группы и с j-мы входами первых элементов И-НЕ и ШШ-НЕ, вход выбора режима устройства соединен с первыми входами элемента И, вд-орого элемента ИЛИ-НЕ и первого элемента ИЛИ, выход которогоThe device for comparing the numbers according to the authors, no. 1293726, is valid so that, in order to expand the field of application by providing an analysis of numbers with signs, the first and second groups of k elements AND each, where k is the number of analyzed numbers, a group of k OR elements OR, NOT two elements, NEF two elements, NIP NIE, two OR elements and the AND element, and the input is the sign bit j of the device number, where, 2, k, is connected with the inverse input of the j-ro element of the AND group of the first group, the first input of the j-ro element of the AND group of the second group and with the j-we inputs of the first el elements AND-NOT and SHSh-NOT, the input of the device mode selection is connected to the first inputs of the AND element, the secondary OR-NOT element and the first OR element, the output of which соединен с первьм входом второго элемента И-НЕ, выход которого  вл етс  выходом знакового разр да выделенного числа устройства, выход первого элемента И-НЕ соединен с вторыми входами второго элемента И-НЕ и элемента И, выход которого соединен с вторыми входами элементов И второй группы и первым входом второго эле-ч мента ИЛИ, выход которого соединен с управл кшр м входом блока анализа, выход первого элемента ИЛИ-НЕ соеди- jieH с вторыми входами первого элемента ИЛИ и второго элемента ИЛИ-НЕ, вход которого соединен с пр млми входами элементов И первой группы и вторым входом второго элемента ИЛИ, выходы J-X элементов И первой и второй групп соединены соответственно с первым и вторым входами j-ro элемента ИЛИ-НЕ группы, выход которого соединен со стробирующим входом j-ro дешифратора оconnected to the first input of the second NAND element, the output of which is the output of the sign bit of the allocated device number, the output of the first AND – NE element connected to the second inputs of the second NAND element and the AND element whose output is connected to the second inputs of the AND elements the group and the first input of the second element OR, the output of which is connected to the control input of the analysis unit, the output of the first element OR — NOT to connect jieH to the second inputs of the first element OR and the second element — OR — NOT whose input is connected to the terminal input element s of the first group and the second input of the second element OR, the outputs J-X of the elements of the first and second groups are connected respectively to the first and second inputs of the j-ro element OR-NOT group, the output of which is connected to the gate input j-ro of the decoder
SU864050593A 1986-04-08 1986-04-08 Number comparator SU1439572A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU864050593A SU1439572A2 (en) 1986-04-08 1986-04-08 Number comparator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU864050593A SU1439572A2 (en) 1986-04-08 1986-04-08 Number comparator

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
SU1293726 Addition

Publications (1)

Publication Number Publication Date
SU1439572A2 true SU1439572A2 (en) 1988-11-23

Family

ID=21231444

Family Applications (1)

Application Number Title Priority Date Filing Date
SU864050593A SU1439572A2 (en) 1986-04-08 1986-04-08 Number comparator

Country Status (1)

Country Link
SU (1) SU1439572A2 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР 1293726, кл. G 06 F 7/02, 1985. *

Similar Documents

Publication Publication Date Title
WO2006011861A3 (en) Ambiguity resolution for predictive text entry
SU1439572A2 (en) Number comparator
EP0380092A2 (en) Priority order judging device
KR920009091A (en) A / D Converter
SU1536372A2 (en) Device for ordering n numbers
SU995086A1 (en) Device for number comparison
SU1242949A1 (en) Priority device for servicing interrogations in arrival order
SU1198507A2 (en) Device for comparing number of ones in binary codes
SU1485241A1 (en) Multichannel priority service unit
SU1525918A1 (en) Device for extracting whole and fractional parts of number with non-integer base
SU721815A1 (en) Information input arrangement
SU1383353A1 (en) Variable priority device
SU1164744A1 (en) Method and device for logarithmic conversion of voltage to binary code
SU864275A1 (en) Information input device
SU957202A1 (en) Device for binary number comparison
SU1193665A1 (en) Device for summing binary numbers
SU1667055A1 (en) Device for modulo m multiplication
SU970370A1 (en) Program interruption device
SU1532923A1 (en) Device for addition and subtraction of numbers by modulo
SU1672449A1 (en) Priority device
SU1451690A1 (en) Modulo-m adding and subtracting device
SU997028A1 (en) Extremum code determining device
SU1580347A1 (en) Device for comparison of numbers
SU1262503A1 (en) Device for rounding numbers
SU723558A1 (en) Information input arrangement