SU1365074A1 - Device for comparing numbers - Google Patents
Device for comparing numbers Download PDFInfo
- Publication number
- SU1365074A1 SU1365074A1 SU864085574A SU4085574A SU1365074A1 SU 1365074 A1 SU1365074 A1 SU 1365074A1 SU 864085574 A SU864085574 A SU 864085574A SU 4085574 A SU4085574 A SU 4085574A SU 1365074 A1 SU1365074 A1 SU 1365074A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- numbers
- comparing
- installation
- Prior art date
Links
Landscapes
- Hardware Redundancy (AREA)
Abstract
Изобретение относитс к дискретной автоматике и вычислительной технике и может быть использовано при реализации технических средств дискретной автоматики и электронно-вычислительных машин дл сравнени чисел . Цель изобретени - расширение функциональных возможностей устройства за счет возможности сравнени чисел, представленных двоичным кодом. Устройство содержит генератор 8 синхроимпульсов , два триггера 1, 2, элемент ИЛИ 5, два элемента И 3 и 4 и два элемента НЕ 6 и 7. Предлагаемое устройство позвол ет сравнивать числа , представленные фазоимпульсным и двоичными кодами, поступающими старшими разр дами вперед, причем если все разр ды сравниваемых чисел равны , сигнал будет только на одном вы- ходе устройства. При неравенстве разр дов результат сравнени определ етс соотношением старших разр дов сравниваемых чисел. 1 ил. с «б слThe invention relates to discrete automation and computing and can be used in the implementation of the hardware of discrete automation and electronic computers for comparing numbers. The purpose of the invention is to expand the functionality of the device due to the possibility of comparing the numbers represented by the binary code. The device contains a generator of 8 sync pulses, two triggers 1, 2, element OR 5, two elements AND 3 and 4, and two elements NOT 6 and 7. The proposed device allows you to compare the numbers represented by the phase-pulse and binary codes received by the leading bits if all bits of the compared numbers are equal, the signal will be only at one output of the device. If the bits are unequal, the result of the comparison is determined by the ratio of the higher bits of the numbers being compared. 1 il. with “b sl
Description
ооoo
О)ABOUT)
СПSP
1one
Изобретение относитс к дискретной автоматике и вычислительной технике и может быть использовано при реализации технических средств дискретной автоматики и ЭВМ дл сравнени чисел.The invention relates to discrete automation and computer technology and can be used in the implementation of discrete automation and computer hardware for comparing numbers.
Цель изобретени - расширение функциональных возможностей устройства за счет возможности сравнени чисел, представленных двоичным кодом .The purpose of the invention is to expand the functionality of the device due to the possibility of comparing the numbers represented by the binary code.
На чертеже представлена схема устройства дл сравнени чисел.The drawing shows a diagram of a device for comparing numbers.
Устройство содержит триггеры 1 и 2, элементы И 3 и , элементы ИЛИ 5 и НЕ 6 и 7, генератор 8 синхроимпульсов , имеющий выход 9, входы 10 и 11 устройства, вход 12 начальной установки устройства, выходы 13-15 устройства.The device contains triggers 1 and 2, elements AND 3 and, elements OR 5 and NOT 6 and 7, generator 8 clock pulses, having output 9, inputs 10 and 11 of the device, input 12 of the initial installation of the device, outputs 13-15 of the device.
Устройство работает следующим образом .The device works as follows.
Перед началом работы на вход 12 устройства подаетс сигнал, который устанавливает триггеры 1 и 2 в нулевое состо ние, при этом по вл етс сигнал на выходе 14. Сигналы на выходе 9 генератора 8 синхроимпульсов по вл ютс в каждом такте. Числа подаютс старшими разр дами вперед.Before starting work, a signal is supplied to the input 12 of the device, which sets the triggers 1 and 2 to the zero state, and a signal appears at the output 14. The signals at the output 9 of the generator 8 of the clock pulses appear in each clock cycle. The numbers are given by the higher bits ahead.
Пусть на входы устройства подаютс числа, представленные фазоимпульс ными кодами.Let the numbers represented by the phase-pulse codes be applied to the device inputs.
Если при передаче какого-либо разр да сигнал на входе 11 по вл етс раньше, чем сигнал на входе 10, то открываетс элемент И 4 и элемент ИЛИ 5, триггер 2 переходит в единичное состо ние, сигналы по вл ютс на выходах 14 и 15 устройства. В дальнейшем состо ние триггеров 1 и 2 не може быть изменено, так как элементы И 3 и 4 закрыты ввиду отсутстви сигнала на нулевом выходе триггера 2 Если же сигнал на входе 10 по вл етс раньше, чем сигнал на входе 11, то открываетс элемент И 3, триггерIf, at the transmission of any bit, the signal at input 11 appears earlier than the signal at input 10, the AND 4 element and the OR 5 element opens, the trigger 2 goes into one state, the signals appear at the outputs 14 and 15 devices. Further, the state of the flip-flops 1 and 2 cannot be changed, since And 3 and 4 are closed due to the absence of a signal at the zero output of flip-flop 2 If the signal at input 10 appears before the signal at input 11, then And 3, trigger
1переходит в единичное состо ние, открываетс элемент ИЛИ 5 и триггер1 goes to the unit state, opens the element OR 5 and the trigger
2переходит в единичное состо ние. Сигналы по вл ютс на выходах 13 и2 transitions to a single state. Signals appear at outputs 13 and
15 устройства. В дальнейшем состо ни триггеров 1 и 2 не может быть изменено , так как элементы И 3 и 4 закрыты ввиду отсутстви сигнала на нулевом выходе триггера 2.15 devices. In the future, the states of the flip-flops 1 and 2 cannot be changed, since the And 3 and 4 elements are closed due to the absence of a signal at the zero output of the flip-flop 2.
Если сигналы на входах 10 и 11 по вл ютс однс вроменно, элементыIf the signals at inputs 10 and 11 appear alone, the elements
650742650742
И 3 и 4 закрыты, триггеры 1 и 2 остаютс в нулевом состо нии, сигнал имеетс только на выходе 14 устрой- J ства. Таким образом, если все разр ды сравниваемых чисел равны, сигнал имеетс только на выходе 14 устройства . В зависимости от того, какой вес приписан тому или такту пере Q дачи разр да, число, импульс которого пришел в старшем разр де раньше, может быть меньшим или большим. Соответствующим образом ..юлжны трактоватьс и сигналы на выходах устрой15 ства.Both 3 and 4 are closed, triggers 1 and 2 remain in the zero state, the signal is only at the output 14 of the device J. Thus, if all bits of the numbers being compared are equal, the signal is only at the output 14 of the device. Depending on how much weight is attributed to this or the cycle of transferring the discharge, the number, the impulse of which came in the higher order earlier, may be smaller or larger. The signals at the outputs of the device should also be treated accordingly.
Пусть на входы подаютс числа, представленные двоичным кодом (единица в разр де числа кодируетс импульсом , ноль - отсутствием импуль0 са). Работа устройства при этом происходит аналогично, как и при сравнении чисел, представленных фазоим- пульсным кодом. Если число на входе 10 больше числа на входе 11 (при пе25 редаче очередного разр да импульс на входе 10 есть, а на выходе 11 импульса нет), по вл ютс сигналы на выходах 13 I 15, если число на входе 10 меньше числа на входе 11, сигналы по вл 30 ютс на выходах 14 и 15 устройства.Suppose that the inputs are supplied with numbers represented by a binary code (one in the digit of the number is encoded by a pulse, zero - by the absence of a pulse). Operation of the device in this case occurs in the same way as when comparing the numbers represented by the phase-pulse code. If the number at input 10 is greater than the number at input 11 (when transmitting the next bit, there is a pulse at input 10, and there is no pulse at output 11), signals appear at outputs 13 I 15 if the number at input 10 is less than the number at input 11, signals appear at the outputs 14 and 15 of the device.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864085574A SU1365074A1 (en) | 1986-07-07 | 1986-07-07 | Device for comparing numbers |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864085574A SU1365074A1 (en) | 1986-07-07 | 1986-07-07 | Device for comparing numbers |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1365074A1 true SU1365074A1 (en) | 1988-01-07 |
Family
ID=21244439
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU864085574A SU1365074A1 (en) | 1986-07-07 | 1986-07-07 | Device for comparing numbers |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1365074A1 (en) |
-
1986
- 1986-07-07 SU SU864085574A patent/SU1365074A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 484517, кл. G 06 F 7/04, 1973. Авторское свидетельство СССР № 1022149, кл. С 06 F 7/04, 1982. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1365074A1 (en) | Device for comparing numbers | |
SU1126948A1 (en) | Device for comparing numbers | |
RU2037958C1 (en) | Frequency divider | |
SU913367A1 (en) | Device for comparing binary numbers | |
SU489104A1 (en) | Device for comparing binary numbers | |
SU1264165A1 (en) | Adder-accumulator | |
SU1037234A1 (en) | Data input device | |
SU1274135A1 (en) | Pulse shaper | |
SU1022149A2 (en) | Device for comparing numbers | |
SU881731A1 (en) | Binary coded decimal code coder | |
SU1183954A1 (en) | Device for comparing binary numbers | |
SU1670768A1 (en) | Phase discriminator | |
SU1474853A1 (en) | Parallel-to-serial code converter | |
SU450162A1 (en) | Tunable phase-pulse multi-stable element | |
SU1233172A1 (en) | Number-to-probability converter | |
KR970002073B1 (en) | Vld device using pipe line structure | |
SU1176454A1 (en) | Coding device | |
SU1651374A1 (en) | Synchronous frequency divider | |
SU1476470A1 (en) | Modulo 3 convolution circuit | |
SU1347162A1 (en) | Pulse sequence generator | |
SU1277387A2 (en) | Pulse repetition frequency divider | |
SU1415430A1 (en) | Binary-signal digital filter | |
SU1211876A1 (en) | Controlled frequency divider | |
SU485446A1 (en) | Probability device for adding two numbers | |
SU636601A1 (en) | Information input arrangement |