SU1254466A1 - Device for comparing two n-bit binary numbers - Google Patents
Device for comparing two n-bit binary numbers Download PDFInfo
- Publication number
- SU1254466A1 SU1254466A1 SU853861915A SU3861915A SU1254466A1 SU 1254466 A1 SU1254466 A1 SU 1254466A1 SU 853861915 A SU853861915 A SU 853861915A SU 3861915 A SU3861915 A SU 3861915A SU 1254466 A1 SU1254466 A1 SU 1254466A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- output
- input
- elements
- inputs
- logical
- Prior art date
Links
Landscapes
- Logic Circuits (AREA)
Abstract
Изобретение относитс к автоматике и вычислительной технике и может быть использовано в узлах управлени и контрол . Цель изобретени - повышение быстродействи . Устройство содержит п входных элементов И-НЕ, входных элементов ИЛИ-НЕ, (п-1) промежуточных элементов ИЛИ, промежуточный элемент ИЛИ-НЕ, выходные элемен- ты И-НЕ, И и ИЛИ-НЕ. На выходе i-ro (,2,...,п) входного, элемента И-НЕ 1; сигнал логической единицы формируетс , если в данном разр де а,,., а на выходе i-ro входного элемента ИЛИ-НЕ 2;- если . Если в старшем из несовпавших разр дов , то логическа единица на всех входах выходного элемента И-НЕ 5, и на выходе Больше 11 устройства. Если а, , то на i-м входе выходного элемента И-НЕ - логический нуль на выходе этого элемента, и на выходе Меньше устройства - логическа единица. Если А В, то логическа единица на всех входах выходного элемента И и на выходе этого элемента и выходе Равно устройства. i (Л У1 4 9 юThe invention relates to automation and computing and can be used in control and monitoring units. The purpose of the invention is to increase speed. The device contains n input elements AND-NOT, input elements OR-NOT, (n-1) intermediate elements OR, intermediate element OR-NOT, output elements AND-NOT, AND AND OR NOT. At the output i-ro (, 2, ..., p) of the input, the element AND-NOT 1; a signal of a logical unit is generated if, in a given bit, a ,,., and at the output of an i-ro input element OR NOT 2; - if. If in the higher of the non-matching bits, then the logical unit on all inputs of the output element is NOT-5, and the output is greater than 11 devices. If a,, then at the i-th input of the output element, NAND is a logical zero at the output of this element, and at the output Smaller device is a logical one. If A B, then the logical unit at all inputs of the output element And and at the output of this element and the output Equals the device. i (L U1 4 9 th
Description
Изобретение относитс к автоматике и вычислительной технике и может быть использовано в узлах управле-. ни и контрол .The invention relates to automation and computing and can be used in control nodes. nor control.
Целью изобретени вл етс повышение быстродействи устройства.The aim of the invention is to improve the speed of the device.
На чертеже представлена схема устройства.The drawing shows a diagram of the device.
Устройство содержит п входных элементов И-НЕ 1, п входных элементов ИЛИ-НЕ 2,- 2„, п-1 промежуточный элемент ИЛИ 3,,- 3,,, промежуточный элемент ИЛИ-НЕ 4, выходные элементы И-НЕ 5, И 6, ИЛИ-НЕ 7, входы разр дов первого 8,- 8„ и второго 9, - 9п чисе л, выходы Меньше 10, Больше 11 и Равно 12. The device contains n input elements AND-NOT 1, p input elements OR-NOT 2, - 2 „, n-1 intermediate element OR 3 ,, - 3 ,,, intermediate element OR-NOT 4, output elements AND-NOT 5, And 6, OR-NOT 7, the inputs of the bits of the first 8, - 8 „and the second 9, - 9p number l, outputs Less than 10, More than 11 and Equal to 12.
Устройство работает следующим образом.The device works as follows.
На входы 8,- 8„ устройства поступают инверсные значени разр дов первого числа, на входы 9(- 9,- пр мые значени разр дов второго числа, причем первый разр д вл етс старшим. На выходах входных элементов И-НЕ 1j i-ro разр да (,2,.. п) сигнал логической единицы формируетс , если в данном разр де (а - первое число, b - второе), а на выходах входных элементов ИЛИ-НЕ 2, i-ro разр да - есди в данном разр де .The inputs 8, -8 "of the device receive the inverse values of the bits of the first number, the inputs 9 (-9, are the direct values of the bits of the second number, the first bit being the highest. At the outputs of the input elements AND-NOT 1j i- ro bit (, 2, .. n) a signal of a logical unit is formed if in this bit (a is the first number, b is the second), and at the outputs of the input elements OR NOT 2, i-ro bit, if This is a de.
Если а.,Ъ , то сигналы логической единицы будут на выходах элементов И-НЕ 1, и ИЛИ-НЕ 2,, и через все промежуточные элементы ИЛИ 3 - сигнал логической единицы поступит на все входы элемента И-НЕ 5, на выходе которого (и на выходе Меньше 10 устройства) будет логический нуль Логическа единица на выходе элемента 2, поступит на вход элемента ИЛИ-НЕ 4, и на ее выходе будет сигнал логического нул , что приведет к формированию сигнала логического нул на выходе элемента И 6 (и на выходе Равно 12 устройства). На выходе элемента ИЛИ-НЕ 7 (и на выходе Больше 11 устройства) будет логическа единица, указывающа , что А В,..If a., B, then the signals of the logical unit will be at the outputs of the elements AND-NOT 1, and OR-NOT 2 ,, and through all intermediate elements OR 3 - the signal of the logical unit will go to all inputs of the element AND-NOT 5, the output of which (and output Less than 10 devices) there will be a logical zero Logic unit at the output of element 2, will go to the input of the element OR NOT 4, and its output will be a logical zero signal, which will generate a signal of the logical zero at the output of the AND 6 element (and at the exit Equals 12 devices). At the output of the element OR NOT 7 (and at the output of More than 11 devices) there will be a logical unit indicating that AB, ..
-Если а,сЬ ,тона выходах элемен fa И-НЕ 1| будет логический нуль, который приведет к установке на выходе элемента И-НЕ 5 (и на выходе 10 устройства) сигнала логической единицы; и сигнала логического нул на выходе элемента И 6,. и на выходах -If a, cb, tones of the outputs of the elements fa AND-NOT 1 | there will be a logical zero, which will result in a signal of a logical unit being set at the output of the NAND element 5 (and at the output 10 of the device); and a logical zero signal at the output of the element And 6 ,. and at the exits
11 и 12 устройства, что означает, что .11 and 12 devices, which means that.
Если во всех старших разр дах, вплоть до (j-l)-ro включительноIf in all higher bits, up to (j-l) -ro inclusive
(,3,...п), зафиксировано равенство разр дов, то сигнал логической единицы с выходов элементов И-НЕ 1f- 1j., поступает (через элементы ИЛИ 3,- входы элементов И-НЕ 5(, 3, ... n), the equality of bits is fixed, then the signal of the logical unit from the outputs of the AND-NE 1f-1j. Elements is received (via the OR 3 elements, - the inputs of the AND-NOT 5 elements
и И 6, не вли на их состо ние,and AND 6, without affecting their condition,
которое будет определ тьс соотношением более младших, начина с j-ro разр да, аналогично вьштеприведенному .which will be determined by the ratio of the younger ones, starting with the j-ro bit, similarly to the above.
Если А В, то на выходах всех элементов ШШ-НЕ 2|- сигнал логического нул , что приведет к по влению сигнала логической единицы на выходе элемента ИЛИ-НЕ 4. Поскольку на выходах всех элементов И-НЕ 1,- Ij,- сигналы логической единицы, то сигнал логического нул будет на выходе элемента И-НЕ 5 ( и выходе Меньше 10 устройства),If A B, then at the outputs of all elements of WL-NOT 2 | - a signal of logical zero, which will result in the appearance of a signal of a logical unit at the output of the element OR-NOT 4. Since at the outputs of all elements AND-NOT 1, - Ij, are signals logical unit, the signal of logical zero will be at the output of the element AND-NOT 5 (and output Less than 10 devices),
а на выходе элемента И 6 и на выходе Равно 12 устройства - сигнал логической единицы, указывающий, что А В.and at the output of the element And 6 and at the output of Equal to 12 devices - a signal of a logical unit, indicating that A B.
30thirty
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU853861915A SU1254466A1 (en) | 1985-02-19 | 1985-02-19 | Device for comparing two n-bit binary numbers |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU853861915A SU1254466A1 (en) | 1985-02-19 | 1985-02-19 | Device for comparing two n-bit binary numbers |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1254466A1 true SU1254466A1 (en) | 1986-08-30 |
Family
ID=21165101
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU853861915A SU1254466A1 (en) | 1985-02-19 | 1985-02-19 | Device for comparing two n-bit binary numbers |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1254466A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2692050C2 (en) * | 2017-11-14 | 2019-06-19 | федеральное государственное бюджетное образовательное учреждение высшего образования "Ульяновский государственный технический университет" | Binary number comparison device |
-
1985
- 1985-02-19 SU SU853861915A patent/SU1254466A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 500562, кл. G 06 F 7/02, 1971. Авторское свидетельство СССР № 947854, кл. G 06 F 7/04, 1980. * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2692050C2 (en) * | 2017-11-14 | 2019-06-19 | федеральное государственное бюджетное образовательное учреждение высшего образования "Ульяновский государственный технический университет" | Binary number comparison device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1254466A1 (en) | Device for comparing two n-bit binary numbers | |
EP0547888A3 (en) | ||
EP0055570A3 (en) | Logic circuit | |
SU739522A1 (en) | Code converter | |
SU1283747A1 (en) | Device for comparing number of ones in binary codes | |
SU1280609A1 (en) | Device for comparing n-bit binary numbers | |
SU1238056A1 (en) | Device for comparing n-bit binary numbers | |
ES318469A1 (en) | Binary to multilevel conversion by combining redundant information signal with transition encoded information signal | |
SU985758A1 (en) | Radar signal processing device | |
SU1517017A1 (en) | Device for computing symmetric boolean functions | |
SU1501037A1 (en) | Device for comparing numbers | |
SU962920A1 (en) | Device for determining extremum number | |
JPS6478024A (en) | Majority decision device | |
SU1697076A1 (en) | Device for selecting maximum number | |
SU1180917A1 (en) | Permutation generator | |
SU1594683A1 (en) | Device for comparing two n-digit numbers | |
SU394922A1 (en) | N-STABLE ASYNCHRONOUS TRIGGER | |
SU1043630A1 (en) | Module for non-repeated function realization | |
JPS5629892A (en) | Clear control circuit | |
SU1417014A1 (en) | Device for comparing binary numbers | |
SU1488785A1 (en) | Device for comparing binary codes | |
SU1415430A1 (en) | Binary-signal digital filter | |
SU1509863A1 (en) | Device for computing logical function systems | |
SU1259245A1 (en) | Device for determining extremum number from nm-bit numbers | |
JPS648723A (en) | Logic device |