SU1193658A1 - Device for comparing binary numbers - Google Patents

Device for comparing binary numbers Download PDF

Info

Publication number
SU1193658A1
SU1193658A1 SU843738222A SU3738222A SU1193658A1 SU 1193658 A1 SU1193658 A1 SU 1193658A1 SU 843738222 A SU843738222 A SU 843738222A SU 3738222 A SU3738222 A SU 3738222A SU 1193658 A1 SU1193658 A1 SU 1193658A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
trigger
comparison
inputs
Prior art date
Application number
SU843738222A
Other languages
Russian (ru)
Inventor
Валерий Дмитриевич Перегудов
Павел Васильевич Дорошин
Original Assignee
Войсковая Часть 25840
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 Войсковая Часть 25840 filed Critical Войсковая Часть 25840
Priority to SU843738222A priority Critical patent/SU1193658A1/en
Application granted granted Critical
Publication of SU1193658A1 publication Critical patent/SU1193658A1/en

Links

Abstract

УСТРОЙСТВО ДЛЯ СРАВНЕНИЯ ДВОИЧНЫХ ЧИСЕЛ, содержащее ц.-разр дный счетчик, установочные входы которого соединеныс входами первого сравниваемого числа устройства, триггеры, два элемента И и элемент 1ШИ, причем вход второго сравниваемого числа устройства соединен с первьм входом элемента ИЛИ, второй вход которого подключен к входу разрешени  сравнени  устройства , выход элемента ИЛИ соединен со счетиьм входом П-разр дного счетчика, нулевые входы первого и второго триггеров соединены с входом начальной установки устройства , выход первого элемента И  вл етс  выходом равенства устройства, пр мой выход первого триггера соединен с первым входом первого элемента И,отличающеес  тем, что, с целью упрощени  устройства , первый вход второго элемента И соединен с входом разрешени  сравнени  устройства, а второй - с инверсным вьпсодом второго триггера, который  вл етс  выходом превышени  первого числа устройства, выход второго элемента И подключен к входу установки в единичное состо ние первого триггера, инверсный (Л выход которого  вл етс  выходом превьш1ени  второго числа устройства , причем выход переполнени  h-разр дного счетчика соединен с входом установки в единичное состо ние второго триггера, пр мой выход которого соединен с вторым входом, первого элемента И. со 00 о ел схA DEVICE FOR COMPARING BINARY NUMBERS containing a c. -Bit counter, the setup inputs of which are connected by the inputs of the first compared device number, triggers, two AND elements and the 1Sh element, the second input of the compared number of the device being connected to the first input of the OR element, the second input of which is connected to the device enable resolution input, the output of the OR element is connected to the count input of the N-bit counter, the zero inputs of the first and second triggers are connected to the input of the device initial setup, the output of The first element And is the output of equality of the device, the direct output of the first trigger is connected to the first input of the first element And, characterized in that, in order to simplify the device, the first input of the second element And is connected to the input of the device comparison resolution, and the second to the inverse output the second trigger, which is the output of the excess of the first number of the device, the output of the second element, AND is connected to the installation input to the first state of the first trigger, inverse (L output of which is the output of the second Isla device, wherein the overflow outlet h-discharge counter is connected to a single input setting state of the second flip-flop, a direct output of which is connected to the second input, the first member 00 with the VI of eating cx

Description

« Изобретение относитс  к автоматике и вычислительной технике и может быть использовано при реализации технических средств дискретной автоматики и вычислительHbfii машин. Цель изобретени  - упрощение ус ройства. Иа чертеже представлена блоксхема устройства. Устройство содержит п-разр дный счетчик 1, вход 2 первого срав ниваемого числа вхбд 3 второго сравниваемого числа, вход 4 разрешени  сравнени  устройства, вход 5 начальной установки устройства, элемент I-LTfli 6, элемент И 7, триггеры 8 и 9,- элемент И 10, выходы 1.1-13 устройства. Устройство работает следуюа им образом. Перед началом сравнени  по вход 5 начальной установки, поступает сигнал сброса и устанавливает . триггеры 8 и 9 в нулевое состо ние . Первое сравниваемое число подаетс  по входу 2 таким образом, чтобы в п-разр дном счетчике 1 ycтaнoв iлocь его инверсное значени После этого по входу 3 через элемен1 ШШ 6 на информационный вход младшего разр да счетчика 1 поступает второе число в виде число-импульсной последовательности. Когда второе число пр.редано, по входу. 4 .разрешени  сравнени  поступает сиг нал,, и на одном из выходов 11-13 формируетс  результат сравнени  в вцче единичного сигнала. На выходах 11-13 результат сравнени  со ран етс  до поступлени  сигнала на вход 5 начальной установки устройства . Пусть , тогда в счетчике число А устанавливаетс  в виде инверсного кода 010. После приема на счетный вход младшего разр да число-1-шпульсной последовательности и 101 нмщ-льса в счетчике 1 происход суммирование 010+101 111. При пос8 тунлении по входу 4 разрешени  сравнени  сигнала через открытый элемент И 7 триггер 8 устанавливаетс  в единичное состо ние, и is счетчик 1 добавл етс  еще единица, а на выходе старшего разр да формируетс  сигнал переполнени , который.устанавливает триггер 9 в единичное состо ние . На выходной шине 11 () с помощью элемента И 10 формируетс , единичньй сигнал при нулевых сигналах на двух других выходных шинах 12 и 13. В отличие от известного устройства длительность сигнала сравнени  на работу устройства не вли ет. . Пусть , дл  определенности и . В счетчике 1 устанавливаетс  код 010, а после приема на счетньш вход 110 устанавливаетс  в единичное состо ние триггер 9 и с инверсного выхода нулевой сигнал закрывает элемент И 7 и после прихода сигнала сравнени  триггер 8 остаетс  в. нулевом состо нии, тем самым определ   единичный сигнал на выходе 13 (А Б) и нулевые - на выходах 11 и 12. В отличие от известного устройства сигнал сравнени  может поступать сразу после приема на счетный вход счетчика младшего разр да число-импульсной последовательности импульсов. Пусть А Б, дл  определенности и . После приема числа в счетчике 1 устанавливаетс  инверсное значение 010, а после приема на счетный вход 100 импульсовполучаетс  сумма 010+100 110. После поступлени  по входу 4 разрешени  сравнени  сигнала полученна  сумма увеличиваетс  на единицу: 110+001 111. Так как сигнал переполнени  в этом случае не по вл етс , то триггер 9 остаетс  в нулевом состо нии.. При поступлении сигнала сравнени  через открытый элемент И 7 триггер 8 устанавливаетс  в единичное состо  The invention relates to automation and computing and can be used in the implementation of the hardware of discrete automation and calculator Hbfii machines. The purpose of the invention is to simplify the apparatus. Figure 1 shows the block diagram of the device. The device contains a n-bit counter 1, input 2 of the first compared number vhbd 3 of the second compared number, input 4 of the comparison of the device comparison, input 5 of the initial installation of the device, element I-LTfli 6, element 7 and triggers 8 and 9, element And 10, outputs 1.1-13 devices. The device works in the following way. Before starting the comparison on the initial installation input 5, a reset signal arrives and sets. triggers 8 and 9 to zero state. The first compared number is fed to input 2 in such a way that the n-bit counter 1 sets its inverse value. After that, the input 3 through the element 1 ШШ 6 to the information input of the lower bit of counter 1 enters the second number as a number-pulse sequence. When the second number is edited, at the entrance. 4. The comparison resolution receives a signal, and at one of the outputs 11–13 a comparison result is formed in the whole of a single signal. At outputs 11-13, the comparison result with wounds before the signal arrives at input 5 of the initial setup of the device. Let, then, in the counter, the number A is set as an inverse code 010. After receiving the lower-digit number-1-spooled sequence and the 101 nmschl-hs to the counting input in the counter 1, the summation 010 + 101 111 occurs. Comparison of the signal through the open element And 7 trigger 8 is set to one, and is counter 1 is added one more, and at the output of the higher bit, an overflow signal is generated, which sets trigger 9 to one. On the output bus 11 () with the aid of the AND 10 element, a single signal is formed with zero signals on the two other output buses 12 and 13. In contrast to the known device, the duration of the comparison signal does not affect the operation of the device. . Let, for definiteness and. In counter 1, a code 010 is set, and after receiving the counting input 110, the trigger 9 is set to one and the zero signal from the inverse output closes the AND 7 element and after the arrival of the comparison signal the trigger 8 remains in. a zero state, thereby determining a single signal at output 13 (A B) and zero at outputs 11 and 12. In contrast to the known device, the comparison signal can be received immediately after receiving the low-order counter of the number of pulsed pulse sequences at the counting input. Let A B, for definiteness and. After receiving the number in the counter 1, the inverse value 010 is set, and after receiving the pulses at the counting input 100, the amount 010 + 100 110 is received. the case does not appear, then the trigger 9 remains in the zero state. When the comparison signal arrives through the open element And 7, the trigger 8 is set to one state

Claims (1)

УСТРОЙСТВО ДЛЯ СРАВНЕНИЯ ДВОИЧНЫХ ЧИСЕЛ, содержащее h-разрядный счетчик, установочные входы которого соединены*с входами первого сравниваемого числа устройства, триггеры, два элемента И и элемент ИЛИ, причем вход второго сравниваёмого числа устройства соединен' с первым входом элемента ИЛИ, •второй вход которого подключен к входу разрешения сравнения устройства, выход элемента ИЛИ соедиг нен со счетным входом η-разрядного счетчика, нулевые входы пер- вого и второго триггеров соединены с входом начальной установки устройства, выход первого элемента И является выходом равенства устройства, прямой выход первого триггера соединён с первым входом первого элемента И, отличающееся тем, что, с целью упрощения устройства, первый вход второго элемента И соединен с входом разрешения сравнения устройства, а второй - с инверсным выходом второго триггера, который является выходом превышения первого числа устройства^ выход второго элемента И подключен к входу установки в единичное сос- с тояние первого триггера, инверсный выход которого является выходом превышения второго числа устройства, причем выход переполнения h-разрядного счетчика соединен с входом установки в единичное состояние второго триггера, прямой выход которого соединен с вторым входом, первого элемента И.DEVICE FOR COMPARISON OF BINARY NUMBERS, containing an h-bit counter, the installation inputs of which are connected * to the inputs of the first compared number of the device, triggers, two AND elements, and the OR element, the input of the second compared number of the device connected 'to the first input of the OR element, • the second input which is connected to the input authorization unit comparison, an output of OR Cpd g nen counting input with η-bit counter zero inputs per- first- and second-flops are connected to the input of the initial installation of the device, outputs of the first of the first AND element is the equality output of the device, the direct output of the first trigger is connected to the first input of the first And element, characterized in that, in order to simplify the device, the first input of the second And element is connected to the enable input of the device comparison, and the second to the inverse output of the second trigger which is the output of exceeding the first number of the device ^ the output of the second element And is connected to the unit input to the unit state of the first trigger, the inverse output of which is the output of exceeding the second number of devices oystva, the h-bit counter overflow output connected to the input of the installation in one state of the second flip-flop, a direct output connected to the second input, the first member I.
SU843738222A 1984-05-08 1984-05-08 Device for comparing binary numbers SU1193658A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU843738222A SU1193658A1 (en) 1984-05-08 1984-05-08 Device for comparing binary numbers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU843738222A SU1193658A1 (en) 1984-05-08 1984-05-08 Device for comparing binary numbers

Publications (1)

Publication Number Publication Date
SU1193658A1 true SU1193658A1 (en) 1985-11-23

Family

ID=21118020

Family Applications (1)

Application Number Title Priority Date Filing Date
SU843738222A SU1193658A1 (en) 1984-05-08 1984-05-08 Device for comparing binary numbers

Country Status (1)

Country Link
SU (1) SU1193658A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
. Авторское свидетельтсво СССР № 1068931, кл. G 06 F 7/04, 1981. Авторское свидетельство СССР № 822178, кл. G 06 F 7/04, 198.1. *

Similar Documents

Publication Publication Date Title
SU1193658A1 (en) Device for comparing binary numbers
SU378925A1 (en) DEVICE FOR REDUCTION OF EXCESSNESS OF DISCRETE SIGNALS
SU1078613A1 (en) Device for translating codes
SU1280610A1 (en) Device for comparing numbers
SU1167730A1 (en) Pulse counter-multiplier
SU997255A1 (en) Controllable frequency divider
SU411628A1 (en)
SU1275762A1 (en) Pulse repetition frequency divider
SU553749A1 (en) Scaling device
SU1552171A1 (en) Device for comparison of numbers in residual classes system
SU1051727A1 (en) Device for checking counter serviceability
SU830378A1 (en) Device for determining number position on nimerical axis
RU2054195C1 (en) Multiple-level static analyzer of duration of voltage dips and spikes
SU365704A1 (en)
SU1307587A1 (en) Frequency divider with variable countdown
SU798814A1 (en) Device for comparing numbers
SU1226662A1 (en) Frequency divider with discrete controlling of pulse duration
SU1174919A1 (en) Device for comparing numbers
SU1640822A1 (en) Frequency-to-code converter
SU822178A1 (en) Binary number comparator
SU1008751A1 (en) Device for determination of arithmetic mean value
SU397907A1 (en) DEVICE FOR CONSTRUCTION IN SQUARE NUMBERS PRESENTED IN UNITARY CODE
SU957436A1 (en) Counting device
SU1084982A1 (en) Versions of code-to-pulse repetition frequency converter
SU1672411A1 (en) Time periods meter