RU2789723C1 - Device for selecting the smaller of two binary numbers - Google Patents
Device for selecting the smaller of two binary numbers Download PDFInfo
- Publication number
- RU2789723C1 RU2789723C1 RU2022107163A RU2022107163A RU2789723C1 RU 2789723 C1 RU2789723 C1 RU 2789723C1 RU 2022107163 A RU2022107163 A RU 2022107163A RU 2022107163 A RU2022107163 A RU 2022107163A RU 2789723 C1 RU2789723 C1 RU 2789723C1
- Authority
- RU
- Russia
- Prior art keywords
- elements
- input
- output
- binary numbers
- group
- Prior art date
Links
Images
Abstract
Description
Изобретение относится к вычислительной технике и может быть использовано для построения средств автоматики, функциональных узлов систем управления и др.The invention relates to computer technology and can be used to build automation equipment, functional units of control systems, etc.
Известны устройства селекции меньшего из двух двоичных чисел (см., например, патент РФ 2300133, кл. G06F 7/02, 2007 г.), выполняющие операцию , где и есть двухразрядные двоичные числа, задаваемые двоичными сигналами.Devices for selecting the smaller of two binary numbers are known (see, for example, RF patent 2300133, class G06F 7/02, 2007), performing the operation , Where And there are two-digit binary numbers given by binary signals.
К причине, препятствующей достижению указанного ниже технического результата при использовании известных устройств селекции меньшего из двух двоичных чисел, относятся ограниченные функциональные возможности, обусловленные тем, что не допускается обработка n-разрядных двоичных чисел.The reason preventing the achievement of the technical result indicated below when using known devices for selecting the smaller of two binary numbers includes limited functionality due to the fact that processing of n -bit binary numbers is not allowed.
Наиболее близким устройством того же назначения к заявленному изобретению по совокупности признаков является принятое за прототип устройство селекции меньшего из двух двоичных чисел (патент РФ 2300130, кл. G06F 7/02, 2007 г.), которое содержит элементов И и выполняет операцию , где , есть n-разрядные двоичные числа, задаваемые двоичными сигналами.The closest device for the same purpose to the claimed invention in terms of the totality of features is the device for selecting the smaller of two binary numbers (RF patent 2300130, class G06F 7/02, 2007), which contains elements AND and performs the operation , Where , are n -bit binary numbers given by binary signals.
К причине, препятствующей достижению указанного ниже технического результата при использовании прототипа, относится схемная сложность, обусловленная тем, что цена по Квайну схемы прототипа равна .The reason preventing the achievement of the technical result indicated below when using the prototype is the circuit complexity, due to the fact that the Quine price of the prototype circuit is equal to .
Техническим результатом изобретения является упрощение схемы устройства за счет уменьшения ее цены по Квайну при сохранении функциональных возможностей прототипа.The technical result of the invention is to simplify the scheme of the device by reducing its Quine price while maintaining the functionality of the prototype.
Указанный технический результат при осуществлении изобретения достигается тем, что в устройстве селекции меньшего из двух двоичных чисел, содержащем элементов И, которые распределены в n групп так, что первая и n-я группы содержат по одному элементу И, а m-я () группа содержит три элемента И, первый, второй входы первого элемента И первой группы и выход первого элемента И j-й () группы соединены соответственно с первым, ()-ым входами и j-ым выходом устройства селекции меньшего из двух двоичных чисел, особенность заключается в том, что в первую, m-ю, n-ю и k-ю () группы дополнительно введены соответственно два элемента И, четыре элемента ИЛИ, два элемента ИЛИ и элемент НЕ, в k-й группе i-й () вход первого элемента И, подключенного выходом к входу элемента НЕ, и второй вход ()-го элемента И соединены соответственно с первым входом ()-го элемента И и выходом элемента НЕ, в m-й группе выход i-го элемента ИЛИ, подключенного первым входом к второму входу ()-го элемента ИЛИ, и первый вход ()-го элемента ИЛИ соединены соответственно с первым входом и выходом ()-го элемента И, в n-й группе выход i-го элемента ИЛИ соединен с i-ым входом первого элемента И, выход ()-го элемента И первой группы и выход ()-го элемента ИЛИ m-й группы соединены соответственно с первым входом i-го элемента ИЛИ второй группы и первым входом i-го элемента ИЛИ ()-й группы, а вторые входы первого, второго элементов ИЛИ r-й () группы соединены соответственно с r-ым, ()-ым входами устройства селекции меньшего из двух двоичных чисел.The specified technical result in the implementation of the invention is achieved by the fact that in the device for selecting the smaller of two binary numbers, containing elements of AND, which are distributed in n groups so that the first and n -th groups contain one element of AND, and m - th ( ) the group contains three elements AND, the first, second inputs of the first element AND of the first group and the output of the first element AND j -th ( ) groups are connected respectively with the first one, ( )-th inputs and the j -th output of the device for selecting the smaller of the two binary numbers, the peculiarity is that in the first, m -th, n -th and k -th ( ) of the group, two AND elements, four OR elements, two OR elements and a NOT element are additionally introduced, respectively, in the k -th group of the i -th ( ) the input of the first element AND, connected by the output to the input of the NOT element, and the second input ( )th element AND are connected respectively to the first input ( )-th element AND and the output of the NOT element, in the m -th group the output of the i -th element OR, connected by the first input to the second input ( )th OR element, and the first input ( )th element OR connected respectively to the first input and output ( )-th element AND, in the n -th group, the output of the i -th element OR is connected to the i -th input of the first element AND, the output ( )th element AND the first group and output ( )-th element OR of the m -th group are connected respectively to the first input of the i -th element OR of the second group and the first input of the i -th element OR ( )-th group, and the second inputs of the first, second elements OR r -th ( ) groups are connected respectively with the r -th, ( )-th inputs of the device for selecting the smaller of the two binary numbers.
На чертеже представлена схема предлагаемого устройства селекции меньшего из двух двоичных чисел.The drawing shows a diagram of the proposed device selection of the smaller of the two binary numbers.
Устройство селекции меньшего из двух двоичных чисел содержит элементов И 111,…,13( n –1), 11 n , элементов ИЛИ 212,…,24( n –1), 21 n , 22 n и элементов НЕ 31,…,3 n –1, причем все элементы распределены в n групп так, что первая и m-я () группы содержат соответственно элементы 111, 121, 131, 31 и 11 m , 12 m , 13 m , 21 m ,…,24 m , 3 m , а n-я группа содержит элементы 11 n , 21 n , 22 n , i-й () вход элемента 11 k (), подключенного выходом к входу элемента 3 k , и второй вход элемента 1( i +1) k соединены соответственно с первым входом элемента 1( i +1) k и выходом элемента 3 k , выход элемента 2 im , подключенного первым входом к второму входу элемента 2( i +2) m , и первый вход элемента 2( i +2) m соединены соответственно с первым входом и выходом элемента 1( i +1) m , выход элемента 2 in соединен с i-ым входом элемента 11 n , выходы элементов 1( i +1)1 и 2( i +2) m соединены соответственно с первыми входами элементов 2 i 2 и 2 i ( m +1), а первые входы элементов 121, 131, вторые входы элементов 21 r (), 22 r и выход элемента 11 j () соединены соответственно с первым, ()-ым, r-ым, ()-ым входами и j-ым выходом устройства селекции меньшего из двух двоичных чисел.The selection device of a smaller of two binary numbers contains elements and 1 11 , ..., 1 3 ( n –1) , 1 1 n , elements or 2 12 , ..., 2 4 ( n –1) , 2 1 n , 2 2 n and
Работа предлагаемого устройства селекции меньшего из двух двоичных чисел осуществляется следующим образом. На его первый,…,n-й и ()-й,…,()-й входы подаются соответственно произвольные двоичные сигналы и , которые задают подлежащие обработке n-разрядные двоичные числа , (, и , определяют значения старших и младших разрядов соответственно). Тогда сигнал на j-ом () выходе предлагаемого устройства будет определяться выражениемThe operation of the proposed device selection of the smaller of the two binary numbers is as follows. On its first,…, n -th and ( )th,…,( )-and inputs are supplied accordingly arbitrary binary signals And which set the N -discharge binary numbers to be processed , ( , And , Determine the values of senior and junior discharges, respectively). Then the signal on the j -th ( ) the output of the proposed device will be determined by the expression
где Where
В представленной ниже таблице приведены значения реализуемых выражениями (2), (3) функций для всех возможных наборов значений их аргументов. Жирным в таблице выделены значения функций и их аргументов при .The table below shows the values of functions implemented by expressions (2), (3) for all possible sets of values of their arguments. Bold in the table are the values of functions and their arguments when .
Анализ данных, приведенных в таблице, позволяет заключить, что:Analysis of the data given in the table allows us to conclude that:
1) если или (), то соответственно или и ( и );1) if or ( ), then respectively or And ( And );
2) если и , то ;2) if And , That ;
3) если и ( и ), то и ( и );3) if And ( And ), That And ( And );
4) если и ( и ), то и ( и ).4) if And ( And ), That And ( And ).
Таким образом, на первом и r-ом () выходах предлагаемого устройства согласно (1) соответственно получимThus, on the first and rth ( ) outputs of the proposed device according to (1), respectively, we obtain
иAnd
где и - фрагменты n-разрядных двоичных чисел и . Следовательно, с учетом (4), (5) имеем , где - n-разрядное двоичное число, задаваемое двоичными сигналами ( и определяют значения старшего и младшего разрядов соответственно).Where And - fragments of n -bit binary numbers And . Therefore, taking into account (4), (5) we have , Where - n -bit binary number given by binary signals ( And determine the values of the most significant and least significant digits, respectively).
Вышеизложенные сведения позволяют сделать вывод, что предлагаемое устройство селекции меньшего из двух двоичных чисел выполняет операцию , где , есть n-разрядные двоичные числа, задаваемые двоичными сигналами, при этом его схема проще чем у прототипа, поскольку ее цена по Квайну равна .The above information allows us to conclude that the proposed device for selecting the smaller of two binary numbers performs the operation , Where , there are n -bit binary numbers specified by binary signals, while its scheme is simpler than that of the prototype, since its Quine price is equal to .
Claims (1)
Publications (1)
Publication Number | Publication Date |
---|---|
RU2789723C1 true RU2789723C1 (en) | 2023-02-07 |
Family
ID=
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5515306A (en) * | 1995-02-14 | 1996-05-07 | Ibm | Processing system and method for minimum/maximum number determination |
US20010013048A1 (en) * | 2000-01-06 | 2001-08-09 | Imbert De Tremiolles Ghislain | Method and circuits for performing the quick search of the minimum/maximum value among a set of numbers |
RU2606311C2 (en) * | 2015-05-12 | 2017-01-10 | Федеральное государственное бюджетное образовательное учреждение высшего профессионального образования "Ульяновский государственный технический университет" | Selector of binary numbers |
RU2703352C1 (en) * | 2018-08-30 | 2019-10-16 | федеральное государственное бюджетное образовательное учреждение высшего образования "Ульяновский государственный технический университет" | Device for selecting binary numbers |
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5515306A (en) * | 1995-02-14 | 1996-05-07 | Ibm | Processing system and method for minimum/maximum number determination |
US20010013048A1 (en) * | 2000-01-06 | 2001-08-09 | Imbert De Tremiolles Ghislain | Method and circuits for performing the quick search of the minimum/maximum value among a set of numbers |
RU2606311C2 (en) * | 2015-05-12 | 2017-01-10 | Федеральное государственное бюджетное образовательное учреждение высшего профессионального образования "Ульяновский государственный технический университет" | Selector of binary numbers |
RU2703352C1 (en) * | 2018-08-30 | 2019-10-16 | федеральное государственное бюджетное образовательное учреждение высшего образования "Ульяновский государственный технический университет" | Device for selecting binary numbers |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5270963A (en) | Method and apparatus for performing neighborhood operations on a processing plane | |
RU2701461C1 (en) | Majority module | |
US3444360A (en) | Digital multiplier followed by a digital-to-analog converter | |
RU2789723C1 (en) | Device for selecting the smaller of two binary numbers | |
US5189629A (en) | Method of logic gate reduction in a logic gate array | |
RU2703675C1 (en) | Logic converter | |
RU2791460C1 (en) | Device for selection of the bigger of binary numbers | |
Kung | Memory requirements for balanced computer architectures | |
RU2300137C1 (en) | Majority module | |
RU2710872C1 (en) | Parallel single signal counter | |
RU2791464C1 (en) | Device for selecting the smallest of binary numbers | |
RU2363034C1 (en) | Device for selecting greater of two binary numbers | |
RU2762548C1 (en) | Adder-multiplier modulo three | |
RU2791455C1 (en) | Binary number comparator | |
RU2703352C1 (en) | Device for selecting binary numbers | |
RU2329530C1 (en) | Binary code comparator device | |
RU2760252C1 (en) | Parallel unit counter | |
RU2789722C1 (en) | Binary subtractor | |
RU2676891C1 (en) | Device for selecting greater of binary numbers | |
RU2787333C1 (en) | Binary number comparator | |
Akers | Threshold logic and two-person, zero-sum games | |
RU2606311C2 (en) | Selector of binary numbers | |
RU2809211C1 (en) | Binary number comparator | |
RU2703676C1 (en) | Modulo three adder | |
RU2762621C1 (en) | Binary number comparison device |