СПSP
с о ел ;о 1 Изобретение относитс к автома тике и вычислительной технике и предназначено дл реализации логически5{ функций трех переменных. Целью изобретени вл етс расширение функциональных возможносте логического модул за счет реализа ции всех логических функций трех переменных. На чертеже представлена функциональна схема модул . Модуль содержит информационные входы 1-3, управл ющие входы 4-9, элементы 10-12 сложени по модулю два, элемент И 13, элемент 14 сложени по модулю два и выход 15. Входы 1-3 подключены к элемента 10-12 сложени по модулю два соответственно , вторые входы элементов 10-12 сложени по модулю два подкл чены к входам 4-6 соответственно, вькоды элементов 10-12 подключены к входам элемента И 13, а выход элемента И 13 соединен с входом элемента 14 сложени по модулю два остальные входы элемента 14 сложен по модулю два подключены к входам 7-9, выход элемента 14 сложени по модулю два подключен к выходу Модуль данной структуры ойисава етс выражением и„Х,ЧМ2(.л M2(x;.U;),.U4.U5,UO, где f{ X,,х - логическа функци , реализуема модулем при конкретном набор управл ющих сигналов М2 - функци сложени п модулю два, и позвол ет при условии U;(i ТбЬ и; еСа,х,,х, Д, Д, реализовать произвольную логическу функцию от трех переменных. Дл логических функций от трех переменных существуют всего 22 раз личных типовьлх функции. Остальные 592 логические ФУНКЦИИ от трех переменных 9 N 2 - -22 .234, где п - количество переменных, равное трем, могут быть получены из типовых логических функций путем соответствующего изменени управл ющих сигналов. Значени управл ющих сигналов при реализации типовых логических функций представлены в табл. 1. Модуль функционирует следующим образом. Дл получени произвольной функции от трех переменных определ ютс управл ющие сигналы UJ (i Г7б), относ ВДиес к множеству и,- 6 ,1. Х, Хз, X, , Xj 5, которые подаютс на входы 4-9. Например, требуетс получить логическую функцию i, О (константа О). На основании выражени (1) определены управл ющие сигналы дл данной функции U1 X1; Ij2 Х2; . Управл ющие сигналы поданы на входы 4-9 модул соответственно, на входы 1-3 поданы переменные X1-ХЗ соответственно. На основании услови функционировани элемента сложени по модулю два на выходах элементов 10-12 сложени пр модулю два сигналы всегда равны нулю. Эти сигналы поступают на входы элемента И 13, на выходе которого сигнал всегда равен нулю. В результате на входах элемента 14 сложени по модулю два сигналы всегда равны нулю, и в соответствии с условием функционировани элемент сложени по модулю два на выходе 15 модул всегда сигнал нуль. Аналогично определ ют остальные логические функции от трех переменных. Таким образом, данный модуль позвол ет реализовать все логические функции от трех переменных, что расшир ет его функциональные возможности . При этом модуль отличаетс конструктивной однородностью и простотой , имеет высокое быстродействие,This invention relates to automation and computer technology and is intended to implement logically 5 {functions of three variables. The aim of the invention is to extend the functionality of the logical module by implementing all the logical functions of three variables. The drawing shows the functional diagram of the module. The module contains information inputs 1-3, control inputs 4-9, elements 10-12 modulo two, element 13, element 14 modulo two and output 15. Inputs 1-3 are connected to the element 10-12 adding module two, respectively, the second inputs of elements 10-12 of the modulo-two addition are connected to inputs 4-6, respectively, the codes of elements 10-12 are connected to the inputs of the And 13 element, and the output of the And 13 element are connected to the input of the addition element 14 modulo two others the inputs of element 14 are folded modulo two are connected to inputs 7-9, the output of element 14 is modulo Two of them are connected to the output. The module of this structure is assigned by the expression "X, FM2 (. l M2 (x; .U;),. U4.U5, UO, where f {X ,, x is a logical function implemented by the module for a specific the set of control signals M2 is the function of addition to module two, and allows, under the condition U; (i Tbb and; eCa, x ,, x, D, D), to realize an arbitrary logical function of three variables. For logical functions of three variables exist Only 22 different personal functions. The remaining 592 logical FUNCTIONS of the three variables 9 N 2 - -22 .234, where n is the number of variables equal to three, can be obtained from typical logical functions by a corresponding change in the control signals. The values of the control signals in the implementation of typical logical functions are presented in Table. 1. The module operates as follows. To obtain an arbitrary function of the three variables, the control signals UJ (i G7b) are defined, refer to the set and, - 6, 1. X, Xs, X,, Xj 5, which are fed to inputs 4-9. For example, it is required to obtain a logical function i, O (constant O). Based on the expression (1), the control signals for the given function U1 X1; Ij2 X2; . The control signals are fed to the inputs 4-9 of the module, respectively, to the inputs 1-3, the variables X1-ХЗ are fed, respectively. Based on the condition of the addition element modulo-two, at the outputs of the addition elements 10-12, the modulus two signals are always zero. These signals are fed to the inputs of the element And 13, the output of which the signal is always zero. As a result, at the inputs of the addition element 14 modulo two signals are always zero, and in accordance with the condition of functioning the addition element modulo two at the output 15 of the module is always a zero signal. The remaining logical functions of three variables are defined in a similar way. Thus, this module allows you to implement all the logical functions of the three variables, which expands its functionality. At the same time, the module is characterized by constructive homogeneity and simplicity, has high speed,