SU635485A1 - Binary number comparing arrangement - Google Patents

Binary number comparing arrangement

Info

Publication number
SU635485A1
SU635485A1 SU762412465A SU2412465A SU635485A1 SU 635485 A1 SU635485 A1 SU 635485A1 SU 762412465 A SU762412465 A SU 762412465A SU 2412465 A SU2412465 A SU 2412465A SU 635485 A1 SU635485 A1 SU 635485A1
Authority
SU
USSR - Soviet Union
Prior art keywords
output
input
elements
zero
logical
Prior art date
Application number
SU762412465A
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 SU762412465A priority Critical patent/SU635485A1/en
Application granted granted Critical
Publication of SU635485A1 publication Critical patent/SU635485A1/en

Links

Description

Изобретение относитс  к автоматике и вычислительной технике .и может быть использовано лрл реализации технических средств автоматики .и ЭВМ дл  сравнени  двух синхронно поступающих в пр мом лоследовательно ,м двоичном коде чисел, .в которых знак содержитс  .в л-м разр де и числа поступают младшилш разр дами вперед. Известно устройство дл  сравнени  двоичных чисел, содержащее трехстабильный трИггер на элементах И-НЕ, элемент нер .аанозначност.и ,и элементы 1. К недостаткам известното устройства относ тс  узкие функциональные возможности , так ка-к оно позвол ет сравнивать числа только на равенство. Наиболее близким техническим решением к .изобретению  вл етс  устройство дл  сравнени  двоичных чисел, содержащее трехстабильный триггер на элементах И-НЕ, элемент неравнозначности, эле менты И-НЕ, НЕ, И, ИЛИ, причем один из входов первого элемента И-НЕ соединены с одним из входов элемента неравнозначности и подключен к первой входной щине, одм1 из входов второго элемента И-НЕ соединен с другим входом элемента неравнозначности и подключен к второй входной шине, другие входы первого и второго элементов И-НЕ и вход элемента НЕ соединены с выходом элемента неравнозначности, выходы которых подключены к первому, второму и третьему информационным входам трехстабильного тр иггера, а входы установки триггера соединены с щиной сброса 2. Однако это устройство имеет узкие функциональные возможности вследствие того, что оно не позвол ет сравнивать числа с учетом знака. Цель изобретени  - расщлфение функциональных возможностей устройства дл  сравнени  двоичных чисел иуте.м реализации операции алгебра.ического Сравнени . Указанна  цель достигаетс  тем, что в устройстве первый и третий выходы трехстабильного триггера соединены с входа1ми элемента И, выходом .подключенного к входал третьего элемента И-НЕ и иервого элемента Р1ЛИ, выходы которых св заны ; перзьп и вторым входами четвертого элемента И-НЕ, третий вход четвертого элемента PI-НЕ подсоединен к третьему выходу трехстабильного триггера и к одному из входов второго элемента ИЛИ, другой вход которого соединен с выходом элемента неравнозначности . Другой вход первого элемента ИЛИ подключен к второй входной шине, другой вход третьего элемента И-НЕ - к пер.вой входной шине, а выходы четвертого зле.мента И-НЕ и второго элемента ИЛИ - к первой п второй выходным шина.м устройства дл  сравнени  двоичных чисел и к входНМ п того элемента И-НЕ, выход которого соединен С третьей выходной ш,иной устройства дл  .сравнени  двоич ,ных чисел.The invention relates to automation and computer technology. And can be used to implement technical means of automation. And a computer to compare two numbers synchronously received in a direct, m binary code, in which the sign is contained in the lth digit and the numbers arrive. Junior discharge ahead. A device for comparing binary numbers is known, which contains a three-stable TRIGGER on NAND elements, an element of une. Values, and elements 1. The disadvantages of the known device are narrow functionality, because it allows you to compare numbers only by equality. The closest technical solution to the invention is a device for comparing binary numbers containing a three-stable trigger on AND-NOT elements, an inequality element, AND-NOT, NOT, AND, OR elements, and one of the inputs of the first AND-NOT element is connected to one of the inputs of the inequality element and is connected to the first input bar, one of the inputs of the second element is NOT connected to the other input of the inequality element and connected to the second input bus, the other inputs of the first and second elements of the NAND and the input of the element are NOT connected to you The disparity element moves the outputs of which are connected to the first, second, and third information inputs of the three-stabilized trigger, and the trigger installation inputs are connected to reset button 2. However, this device has narrow functionality due to the fact that it does not allow comparison of the numbers with the sign. The purpose of the invention is to clarify the functionality of the device for comparing binary numbers and the implementation of the algebra Comparison operation. This goal is achieved by the fact that in the device the first and third outputs of the three-stable trigger are connected to the inputs of the AND element, the output connected to the input of the third AND-NOT element and the first PI1LI element whose outputs are connected; and the second inputs of the fourth NAND element, the third input of the fourth PI element is NOT connected to the third output of the three-stable trigger and to one of the inputs of the second OR element, the other input of which is connected to the output of the inequality element. The other input of the first element OR is connected to the second input bus, the other input of the third AND-NOT element to the first input bus, and the outputs of the fourth AND-NOT element and the second OR element to the first and second output buses of the device comparison of binary numbers and to the inputNM of the fifth IS-NOT element, the output of which is connected to the third output cable, another device for comparing binary numbers.

ФунКциолальна  схема устройства дл  сравнени  дво,ич,ных члсел предста.влена на чертеже.The functional scheme of the device for comparing the two, ich, members is shown in the drawing.

Устройство содержит элемент ./ неравйозначности , Входные ши,ны 2 и 5, элемент НЕ 4, элементы И-НЕ 5, 6, элементы И-НЕ 7, 8, 9 трехста-бильного .ггера, ши1ну 10 сброса, элемент И 11, элемент ИЛИ 12, элементы И-НЕ /5, 14, 15, элемент ИЛИ 16, выходные ши.ны 17, il8 и 19.The device contains the element ./ nonequivalence, Input wires, us 2 and 5, the element NOT 4, the elements AND-NOT 5, 6, the elements AND-NOT 7, 8, 9 of the three-sided .gger, width 10 reset, the element 11, the element OR 12, the elements AND-NOT / 5, 14, 15, the element OR 16, the output shi.ny 17, il8 and 19.

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

В ИСХОДНОМ состо аид .на ши«у 10 сброса подаетс   улевой логический уровень, а результате чего  а выходе элемента И-НЕ 9 устанаВлдваетс  нулевой логический уровень , а ,на выходах элементов И-НЕ 7 и 8 - еди,н,ичаые логические уров.ни. На выходной шине 75 имеетс  нулевой логический уровень, а .на выходных шинах 17 и 19 - еД|И,н;ич.ные логические уровни. На входные шины 2 и 5 устройства подаютс  пр мые посл-едователкные двоичные .коды сравниваемых чисел, «ачина  с Младшего .разр да. Нри совпадении сравниваемых кодов на выходе элемента 1 ,нер.а1ВНОз.нач«ости по вл етс  нулевой .логический уровень, а на выходах элементов И-НЕ 5, 6 ,и НЕ 4 - еди,ничпые логические уровни, в результате чего логические уровщи (На выходах элементов И-НЕ 7, 8, 9 и ,на выходных ш.инах 17, 18, 19 не измен ютс .In the INITIAL state, on the bus “at 10 reset, a logic level of zero is applied, and as a result, the output of the AND-NO element 9 is set to the zero logical level, and, at the outputs of the AND-NE elements 7 and 8, one, n, and logical levels . On the output bus 75 there is a zero logic level, and on the output buses 17 and 19 there is an ED | I, n; ich logical logic levels. For the input buses 2 and 5 of the device, direct last-user-binary binary codes of the compared numbers are supplied, “Achina with Minor. Discharge. The matching of the compared codes at the output of element 1, unea-1BNOn.acon "spine, appears zero. Logical level, and at the outputs of AND-NOT elements 5, 6, and NOT 4 - one, nothing logical levels, resulting in logical levels (At the outputs of the AND-HE elements 7, 8, 9, and, at the output lines 17, 18, 19, they are not changed.

Лусть иа входную шину 2 .подаетс  .нулевой сигнал, а .на входную шину 3 - единичный . В этом случае .на выходе элемента «еравно .знач-ности образуетс  единичный лопический уровень, кото.рый открывает элементы И-НЕ 5 и 6. Нулевые логические уровни с выходов элементов НЕ 4 .и И-НЕ 6 Образуют единичные логические уровни ла выходах элементов И-НЕ 5, 9 ,и нулевой логический уровень на выходе элемента И-НЕ 7. Далее устройство дл  .сравнени.  двоичных чисел функцианир ет аналопичным образо м.иза (га-1) такт, где п - разр дность ера в.ниваемых кодав, осуществл ет срав.нение чисел ло их абсолютным величинам . НрИ|Л| /,, где А В представл ют собой подаваемые соответственло на входные шины 2 :и 5 коды сравниваемых чисел, на выходе элемента И-НЕ 7 имеетс  нулевой логический уровень, а ла выходах элементогВ И-НЕ S и Р - единичные логические уровни. При А В «а выходе элемента И-НЕ 9 устала1вливаетс  нулевой логический уровень, а на выходах элементов 7и 5 - единичные логические уровни; ири А В  а выходе элемента И-НЕ 8-нулевой логический уровень, а на выходах элементов И-НЕ .7 и 9-единичные логические уров.ни. На гг-1м такте на вхо.дные шины 2 и 5 .подаютс  знаковые разр ды кодов сравнизаемых чисел.The bus input bus 2 is supplied. The signal is zero, and the input bus 3 is single. In this case, at the output of the "equal-value" element, a single loopic level is formed, which opens the AND-NOT elements 5 and 6. The zero logical levels from the outputs of the HE 4 elements and the AND-NOT 6 form the single logical levels of the outputs elements AND-NOT 5, 9, and zero logic level at the output of the element AND-NOT 7. Next, a device for comparing. Binary numbers function similarly to an analogous pattern (1–1) tact, where n is the size of the range of the codes being edited, compares the numbers to their absolute values. NRI | L | / ,, where A B is the supplied input bus 2: and 5 codes of the numbers being compared, the output of the NAND 7 element has a zero logic level, and on the outputs of the element B the IS-NES S and P are unit logic levels. When A B “a” of the output of the AND-NE element 9, the zero logic level is terminated, and at the outputs of the elements 7 and 5 single logic levels are applied; iri A B and the output of the NAND element is an 8-zero logical level, and at the outputs of the NAND elements .7 and 9-unit logical levels. On the yy-1m cycle, the input tires 2 and 5 are signed digits of the codes of the numbers being compared.

Дл  примера допусти.м, что , В и Л  вл етс  пр. мым .кодом отри.цатель-ного Ч|Псла, а Б - прЯ1МЫМ .кодом 1полож.птельн 0го числа, т. е. ла «-iM такте ла входную шилу 2 поступает единич.ный логический урО:В.ень, а на .входную |Щ1Ину 3 - (нулевой логический уро.вень. В этом случае на выходе элемента ИЛИ .12 имеетс  единичный логический уровень , л а выходе элемента V. JI - нулевой .логический уровень, а 1на выходе элемента .И-НЕ 13 - единичный ло.гический уровень. Из-за наличи  единичного .логического Зфовн  на выходе элемента 9 на выходе элемента 14 и соответственно, на выходной шине /7 образуетс  нулевой ло .гический уровень, а на выходе элемента ИЛИ 16 и на выходной шиле 18 - един.ичлый логический рО:вень. Единичный логический уровень .по вл етс  и .на выходе элемента И-НЕ 15 и сответственно ла .выходной шине 19. Наличие нулевого логического ур.о.вн  на выходной щиле 17 указывает на то, что . .При А В и .нулевой логический уровень имеетс  соответственно .либо ла выходной щлле 18, либо на выходной щине 19.For example, suppose that, B and L is the direct code of the negative Psl, and B is the direct code of the forward position of the 0th number, i.e., the "-iM clock input Awl 2 receives a single logical urO: V. Den, and an input | S111u 3 - (zero logical level. In this case, the output of the OR element .12 has a single logical level, and the output of the element V. JI - Zero. Logical level, and 1 at the output of the element. AND-NO 13 - a single logical level. Due to the presence of a single. logical Zfovn at the output of element 9 at the output of element 14 and, accordingly, on the output bus / 7 a zero logical level is formed, and at the output of the OR 16 element and on the output awl 18 - a single logical pO: value. The single logical level is also at the output of the AND-15 element and accordingly la. output bus 19. The presence of a zero logical level on the output slot 17 indicates that. A and B and a zero logic level is correspondingly either on the output slot 18 or on the output bus 19.

И.спользование .изобретени  позвол ет расширить функциональные возможности устройства путем реализации алгебраического сравнени .I. Use of the invention allows to expand the functionality of the device by implementing an algebraic comparison.

Claims (2)

1.Марр.н Е. И. Простые логические схемы дл  сраанеки  двоичных чисел. Электрокика , т. 45, № 7, .М., «Мир, 1972, с. 61, р.ис. 1.1. Marr. E. EI. Simple logic circuits for sraaneki binary numbers. Elektrokika, t. 45, No. 7, .M., “Mir, 1972, p. 61, R.I. one. 2.Авторское свидетельство СССР № 485445, кл. G 06 F 7/04 1974.2. USSR author's certificate number 485445, cl. G 06 F 7/04 1974.
SU762412465A 1976-10-20 1976-10-20 Binary number comparing arrangement SU635485A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU762412465A SU635485A1 (en) 1976-10-20 1976-10-20 Binary number comparing arrangement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU762412465A SU635485A1 (en) 1976-10-20 1976-10-20 Binary number comparing arrangement

Publications (1)

Publication Number Publication Date
SU635485A1 true SU635485A1 (en) 1978-11-30

Family

ID=20680020

Family Applications (1)

Application Number Title Priority Date Filing Date
SU762412465A SU635485A1 (en) 1976-10-20 1976-10-20 Binary number comparing arrangement

Country Status (1)

Country Link
SU (1) SU635485A1 (en)

Similar Documents

Publication Publication Date Title
SU635485A1 (en) Binary number comparing arrangement
SU997028A1 (en) Extremum code determining device
SU869055A1 (en) Frequency divider
SU1115238A1 (en) Adjustable pulse repetition frequency divider
SU485445A1 (en) Device for comparing binary numbers
SU1040608A1 (en) Pulse frequency divider
SU587628A1 (en) Pulse repetition frequency divider
SU960768A1 (en) Device for number comparison
SU790246A2 (en) Pulse duration selector
SU711568A1 (en) Arrangement for comparing binary numbers
SU932484A1 (en) Number comparing device
SU1115240A1 (en) Reversible scaling device
SU809582A1 (en) Jonson's counter
SU756406A1 (en) Device for comparing binary codes
SU1608800A1 (en) Positional code encoder
SU890393A1 (en) Modulo three adder
SU930626A1 (en) Pulse delay device
SU765800A1 (en) Device for signalling inequality of parallel pulse codes
SU790348A1 (en) Decimal counter
SU1201855A1 (en) Device for comparing binary numbers
SU1596319A1 (en) Device for comparing numbers accounting for tolerance
SU851786A1 (en) Multistable flip-flop
SU564714A1 (en) Device for forming time intervals
SU758122A1 (en) Information input arrangement
SU877618A1 (en) Shift register