SU932484A1 - Number comparing device - Google Patents
Number comparing device Download PDFInfo
- Publication number
- SU932484A1 SU932484A1 SU802935139A SU2935139A SU932484A1 SU 932484 A1 SU932484 A1 SU 932484A1 SU 802935139 A SU802935139 A SU 802935139A SU 2935139 A SU2935139 A SU 2935139A SU 932484 A1 SU932484 A1 SU 932484A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- elements
- inputs
- output
- input
- outputs
- Prior art date
Links
Landscapes
- Hardware Redundancy (AREA)
Description
1one
Изобретение относитс к автоматике и вычислительной технике и может быть использовано при реализации технических средств дискретной автоматики и вычислительных машин.The invention relates to automation and computing technology and can be used in the implementation of discrete automation equipment and computers.
Известно устройство дл сравнени двоичных чисел, содержащее Н-разр д ный узел сравнени , включа1ои1ий регистры сравниваемых чисел, элементы И, ИЛИ-НЕ и соответствующие св зи между элементами l.A device for comparing binary numbers, containing an H-bit comparison node, is known, including registers of compared numbers, AND, OR-NOT elements and corresponding connections between elements l.
Недостатком устройства вл етс конструктивна сложность и ограниченные (нкциональные возможности, св занные с невозможностью алгебраического сравнени чисел.The drawback of the device is constructive complexity and limited (the functional possibilities associated with the impossibility of algebraic comparison of numbers.
Наиболее близким к предлагаемому техническим решением вл етс устройство , содержащее И-разр дную схему арифметического сравнени с входными шинами разр дов сравниваемых чисел и выходами Вольше и Меньше, и выходные элементы И tz.Closest to the proposed technical solution is a device containing an AND-bit circuit of arithmetic comparison with input buses of compared numbers and outputs Greater and Less, and output elements And tz.
Недостаток этого устройства состоит в ограниченных функцио альных возможност х, св занных с невозможностью алгебраического сравнени чисел .The disadvantage of this device lies in the limited functional possibilities associated with the impossibility of an algebraic comparison of numbers.
Цель изобретени - расширение функциональных возможностей за счет алгебраического сравнени чисел.The purpose of the invention is to expand the functionality by algebraic comparison of numbers.
Поставленна цель достигаетс тем, что в устройство дл сравнеto ни чисел, содержащее схему арифметического сравнени , два элемента И, причем выход Больше схемы арифметического сравнени соединен с первым входом первого элемента И, The goal is achieved by the fact that in a device for comparing numbers, containing an arithmetic comparison circuit, there are two AND elements, and the output of the More arithmetic comparison scheme is connected to the first input of the first And element,
15 выход Меньше схемы арифметического сравнени подключен к первому входу второго элемента И, введены элементы И, ИЛИ, ИЛИ-НЕ, причем входы пр мого и инверсного значений 15 output A smaller arithmetic comparison circuit is connected to the first input of the second element AND, the elements AND, OR, OR-NOT are introduced, and the inputs of the direct and inverse values
30 знакового разр да первого числа соединены с первыми входами третьего и четвертого элементов И соответственно , входы пр мого и инверсного значнНИИ знакового разр да второго числа подклочены к вторым входам четверто го и третьего элементов И соответственно , выходы четвертого и третьего элементов И соединены с первыми входами первого и второго элементов ИЛИ соответственно, выход первого элемента И подключен к второму входу первого элемента. ИЛИ, выход вторрго элемента И соединен с вторы входом второго элемента ИЛИ, входы пр мых значений знаковых разр дов сравниваемых чисел и шина режима сравнени устройства соединены с входами п того элемента И, выход которого подключен к первым входам шестого и седьмого элементов И и к первому входу элемента ИЛИ-НР, выход которого соединен с вторыми вхо/:|аии первого и второго элементов И, выходы третьего и четвертого эле «ентов И подключены к второму и третьему входам элемента ИЛИ-НЕ, выходы Больше и Меньше схемы арифметического сравнени соединены с вторыми входами шестого и седьмого элементов И соответственно, выходы шестого и седьмого элементов И подключены к третьим входам второго и первого элементов ИЛИ соответственно . Функциональна схема устройства представлена на чертеже. Устройство содержит входные шины Т-4 знаковых разр дов чисел, элемен ты И 5-11. элемент ИЛИ-НЕ 12, элеме ты tf ЛИ 13 и 14, вход Больше 15 сх мы сравнени , вход Меньше 16 схемы сравнени , выходы 17 и 18 устрой ства, вход 19 управлени , схема 20 арифметического сравнени . Устройство работает следующим об разом.. Устройство позвол ет сравнивать алгебраические числа, представленны как в обратном или дополнительном обратном кодах (режим I - нулевой управл ющий сигнал .на входе 19), в пр мом коде (режим II - единичный управл ющий сигнал на вхо де 19)1 Если числа равны,то на выходах Боль ше и Меньше формируютс нулевые сиг налы. Единичный сигнал формируетс на выходе Больше, если А Б , и на выходе Меньше, если А &0днако сигналы на выходах Больше и Меньш определ ют окончательный результат сравнени на выходах 17 и 18 только при одинаковых знаках сравниваемых чисел. При разных знаках сравниваемых чисел элементы И заблокированы нулевыми сигналами с выходов элементов И 11 и ИЛИ-НЕ 12, и результат Г сравнени определ етс только схемой сравнени знаковых разр дов, выходы элементов И которой соответственно через элементы ИЛИ 13 и 14 соединены с выходами 17 и 18 устройства. При сравнении положительных чисел элементы И S, 10 заблокированы нулевым сигналом с выхода элемента И 11, а элементы И разблокированы единичным сигналом с выхода элемента ИЛИ-НЕ 12, и единичный сигнал, сформированный на выходе Больше (Меньше ) схемы сравнени , передан через элементы И 7(9) и ИЛИ 13(14)на выход 17 или 18. При сравнении отрицательных чисел, представленных в обратном или дополнительном обратном ко,пах (режим I), заблокированы элементы И 8,10-нулевым сигналом с выхода элемента И. 11, а элементы И 7,9 разблокированы и, как и при сравнении положительных чисел, единичный сигнал, сформированный на выходе Больше 15 (Меньше 16) схемы сравнени передан через элементы И 7 (9) и ИЛИ 13(14) на шиыу 17 (18). При сравнении отрицательных чисел, представленных в пр мом коде(режим Г1, заблокированы элементы И 7, 9 нулевым сигналом с выхода элемента ИЛИИЕ 12, а элементы И 10,8 разблокированы единичным сигналом с выхода элемента И 11, и единичный сигнал. Сформированный на. выходе Больше (Меньше) схемы сравнени передан через элеметы И 10 (8) и ИЛИ 14 (13)на выход 18(17).Т При сравнении, всевозможных одинаковых чисел в обоих режимах на выходах Больше и Меньше схемы сравнени , а также элементов И 5,6 наход тс нулевые сигналы, которые определ ют нулевые сигналы на выходах 17 (18) устройства. Реализаци устройства дл анализа результатов сравнени , состо щего из смеси элементов И, двух элементов ИЛИ и одного элемента ИЛИ-НЕ с предлагаемой,системой конструктивных св зей обеспечивает расширение функциональных возможностей за счет30 sign bits of the first number are connected to the first inputs of the third and fourth elements AND, respectively, the inputs of the direct and inverse values of the sign bit of the second number are connected to the second inputs of the fourth and third elements AND, respectively, the outputs of the fourth and third elements And are connected to the first inputs the first and second elements OR, respectively, the output of the first element AND is connected to the second input of the first element. OR, the output of the second element AND is connected to the second by the input of the second element OR, the inputs of the direct values of the sign bits of the numbers being compared, and the device comparison mode bus are connected to the inputs of the fifth AND element whose output is connected to the first inputs of the sixth and seventh And elements and to the first the input of the OR-NR element, the output of which is connected to the second inputs /: | of the first and second AND elements, the outputs of the third and fourth AND elements are connected to the second and third inputs of the OR-NO element, the More and Less outputs of the arithmetic comparison circuit connected to the second inputs of the sixth and seventh elements And, respectively, the outputs of the sixth and seventh elements And connected to the third inputs of the second and first elements OR, respectively. Functional diagram of the device shown in the drawing. The device contains input buses T-4 of the sign bits of the numbers, the elements And 5-11. element OR-NOT 12, elements tf LI 13 and 14, input More than 15 cf we compare, input Less than 16 comparison circuits, outputs 17 and 18 of the device, control input 19, circuit 20 arithmetic comparison. The device works as follows. The device allows you to compare algebraic numbers, represented as in the reverse or additional return codes (mode I - zero control signal at input 19), in the forward code (mode II - single control signal at input 19) 1 If the numbers are equal, then zero and more signals are formed at the Bolshe and Less outputs. A single signal is formed at the output of More, if A B, and at the output of Less, if A & 0 however, the signals at the outputs More and Less determine the final result of the comparison at outputs 17 and 18 only with the same signs of the numbers being compared. With different signs of the numbers being compared, the AND elements are blocked by zero signals from the outputs of the AND 11 and OR-NO 12 elements, and the comparison result G is determined only by the comparison circuit of sign bits, the outputs of the AND elements of which, respectively, are connected through the OR elements 13 and 14 to the outputs 17 and 18 devices. When comparing positive numbers, elements AND S, 10 are blocked by a zero signal from an output of element 11, and elements AND are unblocked by a single signal from an output of element OR NOT 12, and a single signal formed at the output More (Less) comparison circuit is transmitted through elements AND 7 (9) and OR 13 (14) at output 17 or 18. When comparing negative numbers presented in the reverse or additional reverse ko, groin (mode I), elements AND 8,10-zero signal from the output of element I. , And elements And 7.9 unlocked and, as in the comparison, put Yelnia numbers, unit signal formed at the output of over 15 (less than 16) comparing circuit is transmitted through the AND 7 (9) OR 13 and (14) on shiyu 17 (18). When comparing the negative numbers represented in the forward code (the G1 mode, elements AND 7, 9 are blocked by a zero signal from the output of the element ILI 12, and elements And 10.8 are unblocked by a single signal from the output of the element 11, and a single signal. Formed on. Output More (Less) comparison circuits are transmitted through the elements AND 10 (8) and OR 14 (13) to output 18 (17). 5.6 are zero signals that define zero signals on you device 17 (18). Implementing a device for analyzing the results of the comparison, consisting of a mixture of AND elements, two OR elements and one OR-NOT element with the proposed, structural link system, provides enhanced functionality due to
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU802935139A SU932484A1 (en) | 1980-06-04 | 1980-06-04 | Number comparing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU802935139A SU932484A1 (en) | 1980-06-04 | 1980-06-04 | Number comparing device |
Publications (1)
Publication Number | Publication Date |
---|---|
SU932484A1 true SU932484A1 (en) | 1982-05-30 |
Family
ID=20899919
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU802935139A SU932484A1 (en) | 1980-06-04 | 1980-06-04 | Number comparing device |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU932484A1 (en) |
-
1980
- 1980-06-04 SU SU802935139A patent/SU932484A1/en active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU932484A1 (en) | Number comparing device | |
JPS5814691B2 (en) | binary addition circuit | |
SU690477A1 (en) | Digital device for modulo limiting | |
SU1667054A1 (en) | Modulo three adder-multiplier | |
SU842790A1 (en) | Number comparing device | |
SU364965A1 (en) | ONE-TACTIFIER SvJfcUUfUciltAifl | |
SU840886A1 (en) | Device for comparing two n-digit numbers | |
SU840890A1 (en) | Number comparing device | |
SU1444760A1 (en) | Device for squaring a sequential series of numbers | |
SU842798A1 (en) | Adding and subtracting device | |
SU435523A1 (en) | DEVICE DEVELOPMENT | |
SU1003076A1 (en) | Binary adder | |
SU543958A1 (en) | Simulator for digital differential analyzer | |
SU1499351A1 (en) | Device for checking operability of computer units | |
SU788107A1 (en) | Number adding device | |
SU840901A1 (en) | Integral computing device | |
SU877618A1 (en) | Shift register | |
SU1451690A1 (en) | Modulo-m adding and subtracting device | |
SU1043631A1 (en) | Comparison device | |
SU922731A1 (en) | Device for multiplying in residual class system | |
SU966690A1 (en) | Device for discriminating extremum from nm-digital binary codes | |
SU1273918A1 (en) | Adding-subtracting device | |
SU1401448A1 (en) | Apparatus for implementing boolean symmetrical functions | |
SU754413A1 (en) | Computing device in redundancy notation | |
SU1325468A1 (en) | Computing device |