SU1432501A1 - Device for comparing numbers - Google Patents

Device for comparing numbers Download PDF

Info

Publication number
SU1432501A1
SU1432501A1 SU864170982A SU4170982A SU1432501A1 SU 1432501 A1 SU1432501 A1 SU 1432501A1 SU 864170982 A SU864170982 A SU 864170982A SU 4170982 A SU4170982 A SU 4170982A SU 1432501 A1 SU1432501 A1 SU 1432501A1
Authority
SU
USSR - Soviet Union
Prior art keywords
output
group
input
optical
optical switch
Prior art date
Application number
SU864170982A
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 SU864170982A priority Critical patent/SU1432501A1/en
Application granted granted Critical
Publication of SU1432501A1 publication Critical patent/SU1432501A1/en

Links

Landscapes

  • Optical Communication System (AREA)

Abstract

Изобретение относитс  к вычислительной технике и предназначено дл  использовани  в системах преобразовани  и обработки информации. Целью изобретени   вл етс  повьшение быстродействи  и упрощение устройства. Устройство сбдержит два п-разр дных регистра 1 и 2, источник света 3, две группы оптических переключателей 4 и 5, элементы ИЛИ 6 и 7. Числа с регистров 1 и 2 поразр дно сравниваютс  на оптических переключател х. Результаты поразр дного сравнени  поступают на входы элементов ИЛИ, выполненных в виде фоконов, и далее на выход § устройства. I ил. (ЛThe invention relates to computing and is intended for use in information conversion and processing systems. The aim of the invention is to improve the speed and simplify the device. The device will hold two n-bit registers 1 and 2, light source 3, two groups of optical switches 4 and 5, elements OR 6 and 7. The numbers from registers 1 and 2 are bit-wise compared on optical switches. The bitwise comparison results go to the inputs of the OR elements, made in the form of focons, and then to the output § of the device. I il. (L

Description

1one

14 14

Изобретение относитс  к вычисли- т|ельной технике и автоматике и пред- н азначено дл  использовани  в системах преобразовани  и обработки инфор- Нации.  The invention relates to computing and automation and is intended for use in information conversion and processing systems.

Цель изобретени  - повышение быстродействи  и упрощение устройства.The purpose of the invention is to increase the speed and simplify the device.

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

; Устройство содержит п-разр дные регистры 1 и 2, источник 3 света, первую 4 и вторую 5 группы оптических переключателей, первый 6 и второй 7; The device contains p-bit registers 1 and 2, light source 3, the first 4 and second 5 groups of optical switches, the first 6 and second 7

01 а.01 a.

и Ь; соответствует пара оптическихand b; matched pair of optical

t It I

переключателей 4. и 5 . Процесс сравнени  происходит следунщим образом. Свет от источника 3 поступает на вход 11 оптического переключател  4,,. ЕслиSwitches 4. and 5. The comparison process takes place as follows. The light from the source 3 is fed to the input 11 of the optical switch 4 ,,. If a

Ь, (а, О, Ь, B, (a, o, b,

1one

или а, 1or a, 1

Ь 0), оптический переключатель Д соедин ет вход 11 с выходом 8, т.е. свет поступает на вход 11 переключател  5. Если а О, переключатель 5 соедин ет вход 11 с выходом 12 и свет поступает на элемент ИЛИ 6, вызыва  на выходе 15 устройства по вление0), an optical switch D connects input 11 to output 8, i.e. the light enters the input 11 of the switch 5. If aO, the switch 5 connects the input 11 to the output 12 and the light enters the element OR 6, causing the output 15 of the device

оптического переключател , управл ю- п|ие электроды 9 и tO оптического пе- р{еключател , вход 11 и выход 12 равенства оптического переключател , 20 Еход 13 логического нул  устройства, 1ЫХОДЫ равенства 14, Меньше 15 и Больше 16 устройства.optical switch, control electrodes 9 and tO of the optical switch {switch, input 11 and output 12 of the equality of the optical switch, 20 Output 13 logical zero of the device, 1 OUTPUT of equality 14, Less than 15 and More than 16 devices.

I Устройство работает следу1ощим об- .25I The device works with the following .25

I Оптический переключатель при нуле- Iой разности потенциалов между элек- тродами 9 и 10 пропускает свет с вхо- ;.а 11 на выход 12, а при разности по-входовые элементы ИЛИ, вьтолненные 15 света, что говорит о том, что А : В, виде фоконов, выход 8 неравенства поскольку старшие разр ды чисел аI Optical switch with a zero I potential difference between the electrodes 9 and 10 transmits light from the input;. 11 to output 12, and with a difference to the input elements OR, 15 light, which means that B, form of focons, output of 8 inequalities, since the highest bits of the numbers a

и Ь не совпадают, причем а 0. Если а, 1, переключатель 5, соедин ет вход 11 с выходом 8 и свет поступает на элемент ИЛИ 7, вызыва  по вление оптического сигнала на выходе 16 устройства , что говорит о том, что А В,and b do not coincide, and a 0. If a, 1, switch 5, connects input 11 to output 8 and light enters the element OR 7, causing the appearance of an optical signal at output 16 of the device, which means that A B ,

поскольку старшие разр ды а since older bits

и b неand b not

равны, причем а, 1. А если а, b , т.е. старшие разр ды чисел А и В равны , свет от источника 3 через замкнутый на выход 12 оптический переключатель 4, поступает на вход 11 переключател  42- На паре переключателейare equal, and a, 1. And if a, b, i.e. the higher bits of the numbers A and B are equal, the light from source 3 through the optical switch 4 closed at the output 12, is fed to the input 11 of the switch 42- On a pair of switches

соответствующей единично- the corresponding unit

тенциалов,Tents,

1 уровню напр жени  между электрода ь|ги 9 и 10, пропускает свет с входа 1 выход 8.A voltage level 1 between the electrodes | gi 9 and 10 transmits light from the input 1 to the output 8.

. Цепи питани , а также цепи ввода сравниваемых; чисел и сброса регист Гюв в нуль в.е показаны. Положени  контактов всех оптических переключателей показаны дл  случа , когда между их электродами 9 и 10 нулева  разность потенциалов, что имеет место в исходном состо нии, когда регистры 1 1 2 установл;ены в нуль. В этом случа ( tBeT от источника 3 через переключа- teли , замкнутые на выход 12, .поступает на выход 14 устройства, на личие света на котором говорит о равенстве кодов, записанных в регистра. Power circuits, as well as input circuits compared; The numbers and the reset are registered. The contact positions of all the optical switches are shown for the case when between their electrodes 9 and 10 there is zero potential difference, which takes place in the initial state when the registers 1 1 2 are set to zero. In this case (tBeT from source 3 through the switches closed at output 12, it enters output 14 of the device, the presence of light on which indicates the equality of the codes recorded in the register

1 и 2. При этом на выходах 15 и 16 устройства оптический сигнал отсутствует . Пусть в регистр 1 записан двоичны1 and 2. At the same time, the optical signal is absent at the outputs 15 and 16 of the device. Let register 1 be written binary

.1.one

., а„, а в рекод числа А: а,, а., a „, and in the recoding of the number A: a, and

гистр 2 - двоичный код числа В: Ь.,,gistr 2 - the binary code of the number B: b. ,, ,,

bj , ..., bp, где а, и b, старшие разр ды кодов, а а и Ь - младшие. Одноименным разр дам регистров 1 и 2 соответствует пара оптических переключателей. Например, разр дамbj, ..., bp, where a and b are the highest bits of the codes, and a and b are the younger ones. Similarly, the registers 1 and 2 correspond to a pair of optical switches. For example, I will give

поскольку старшие разр ды а since older bits

и b неand b not

4 и4 and

равны, причем а, 1. А если а, b , т.е. старшие разр ды чисел А и В равны , свет от источника 3 через замкнутый на выход 12 оптический переключатель 4, поступает на вход 11 переключател  42- На паре переключателейare equal, and a, 1. And if a, b, i.e. the higher bits of the numbers A and B are equal, the light from source 3 through the optical switch 4 closed at the output 12, is fed to the input 11 of the switch 42- On a pair of switches

5 анализируетс  следующий за5 is analyzed following

5five

д е d e

0 0

5five

старшим разр д первого и второго регистров . Если разр ды а и b не совпадают , по значению а (О или 1) вы- даетс  результат сравнени  (В « А или В А), а если эти разр ды совпадают , свет поступает,на вход 11 переключател  4 , и далее процесс ни  повтор етс .most significant bit of the first and second registers. If bits a and b do not coincide, the value of a (O or 1) gives the result of the comparison (B A or B A), and if these bits coincide, the light enters, at input 11 of switch 4, and then the process nor is it repeated.

Если одноименные разр ды совпадают , на вькоде 14 устройства по вл етс  оптический сигнал, который говорит о том, что А в.If the bits of the same name are the same, an optical signal appears on device code 14, which indicates that A c.

Claims (1)

Формула изобретени  Invention Formula Устройство дл  сравнени  чисел, содержащее два п-разр дных регистра и источник света, отличающеес  тем, что, с целью повьшени  быстродействи  и упрощени  устройства , в него введегш перва  и втора  группы из и оптических переключателей , первый и второй п-входовые элементы ИЛИ, вьтолненные в виде фоконов , причем первые управл ющие электроды оптических переключателей первой и второй групп подключены к выходам соответствующих разр дов первого регистра, вторые управл ющие электроды оптических переключателей пер- вой группы подключены к выходам соответствующих разр дов второго регистра , вторые управл ющие электроды оптических переключателей второй группы соединены с входом логического нул  устройства, выход источника света оптически св зан с входом первого оптического переключател  первой группы, выход равенства i-ro, где i 1, .., п-1, оптического переключател  первой группы соединен с входом (i+1)-ro оптического переключател  первой группы , выход равенства п-го оптического переключател  первой группы  вл етс A device for comparing numbers, containing two n-bit registers and a light source, characterized in that, in order to speed up and simplify the device, the first and second groups of optical switches, the first and second n-input elements, OR, focons, the first control electrodes of the optical switches of the first and second groups are connected to the outputs of the corresponding bits of the first register, the second control electrodes of the optical switches of the first group are connected to the outputs of the corresponding bits of the second register, the second control electrodes of the optical switches of the second group are connected to the logical zero input of the device, the light source output is optically connected to the input of the first optical switch of the first group, the equality output i-ro, where i 1, .., p-1, the optical switch of the first group is connected to the input (i + 1) -ro of the optical switch of the first group, the equality output of the n-th optical switch of the first group is выходом равенства устройства, выход неравенства j-ro, где j 1, ..., п, оптического переключател  первой группы соединен с входом j-ro оптического переключател  второй группы, выходы равенства оптических переключателей второй группы соединены с соответствующими входами первого п-вхо- дового элемента ИЛИ, выход которого  вл етс  выходом Меньше устройства, выходы неравенства оптических пере- ключателей второй группы соединены, с соответствующими входами второго п- входового элемента ИЛИ, выход которого  вл етс  выходом Больше устройства.the equality output of the device, the output of the inequality j-ro, where j 1, ..., p, the optical switch of the first group is connected to the input of the j-ro optical switch of the second group, the equality outputs of the optical switches of the second group are connected to the corresponding inputs of the first n-input The OR output element, whose output is the output of the Smaller device, the inequality outputs of the optical switches of the second group, are connected to the corresponding inputs of the second n-input element OR, the output of which is the output of the More device.
SU864170982A 1986-12-26 1986-12-26 Device for comparing numbers SU1432501A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU864170982A SU1432501A1 (en) 1986-12-26 1986-12-26 Device for comparing numbers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU864170982A SU1432501A1 (en) 1986-12-26 1986-12-26 Device for comparing numbers

Publications (1)

Publication Number Publication Date
SU1432501A1 true SU1432501A1 (en) 1988-10-23

Family

ID=21276535

Family Applications (1)

Application Number Title Priority Date Filing Date
SU864170982A SU1432501A1 (en) 1986-12-26 1986-12-26 Device for comparing numbers

Country Status (1)

Country Link
SU (1) SU1432501A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 521566, кл. G 06 F 7/04, 1974. Авторское свидетельство СССР № 736092, кл. G 06 F 7/04, 1980. *

Similar Documents

Publication Publication Date Title
JPH0125450B2 (en)
SU1432501A1 (en) Device for comparing numbers
SU1128251A1 (en) Device for comparing binary numbers
SU864275A1 (en) Information input device
SU1575168A1 (en) Device for isolation of median of three numbers
SU514291A1 (en) Extremely bit-binary extraction device
SU911510A1 (en) Device for determining maximum number
SU771665A1 (en) Number comparing device
SU1179327A1 (en) Device for raising to power
SU1168947A1 (en) Device for providing change-over to stand-by facilities
SU1411777A1 (en) Device for performing fast fourier transform
SU1444760A1 (en) Device for squaring a sequential series of numbers
SU1509903A1 (en) Arbitrary modulo folding device
SU726527A1 (en) Number comparing arrangement
SU1273919A1 (en) Device for adding in binary and binary-coded decimal number system
SU723558A1 (en) Information input arrangement
EP0431570A2 (en) Logical circuit
SU1030797A1 (en) Device for sorting mn-digit numbers
SU1594683A1 (en) Device for comparing two n-digit numbers
SU1583934A1 (en) Device for sorting numbers
SU1168926A1 (en) Device for comparing binary numbers
SU435552A1 (en) DEVICE FOR REDUCTION OF EXTENSION INFORMATION
SU1097997A1 (en) Device for comparing numbers
SU1667055A1 (en) Device for modulo m multiplication
SU1499354A1 (en) Device for addressing memory units