RU2284567C1 - Logical calculation unit - Google Patents

Logical calculation unit Download PDF

Info

Publication number
RU2284567C1
RU2284567C1 RU2005112123/09A RU2005112123A RU2284567C1 RU 2284567 C1 RU2284567 C1 RU 2284567C1 RU 2005112123/09 A RU2005112123/09 A RU 2005112123/09A RU 2005112123 A RU2005112123 A RU 2005112123A RU 2284567 C1 RU2284567 C1 RU 2284567C1
Authority
RU
Russia
Prior art keywords
input
output
logical
inputs
logic
Prior art date
Application number
RU2005112123/09A
Other languages
Russian (ru)
Inventor
Дмитрий Васильевич Андреев (RU)
Дмитрий Васильевич Андреев
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 RU2005112123/09A priority Critical patent/RU2284567C1/en
Application granted granted Critical
Publication of RU2284567C1 publication Critical patent/RU2284567C1/en

Links

Images

Landscapes

  • Logic Circuits (AREA)

Abstract

FIELD: computation engineering.
SUBSTANCE: device has n-1 logical units, each having two AND-gates, OR-gate and two D-triggers. The first output of each logical unit is connected to its third input whereas the second input of each previous logical unit being connected to the fifth input of the following logical unit. Specific is that the fifth input of the first logical unit and the second (n-1)-th logical unit output are connected to information input and output of the logical calculation unit, respectively. The first and the second control inputs of the unit are formed by united first and united second inputs of the first-(n-1)-th logical units.
EFFECT: reduced hardware losses with functional prototype capabilities being retained.
2 dwg

Description

Изобретение относится к вычислительной технике и может быть использовано для построения средств автоматики, функциональных узлов систем управления и др.The invention relates to computer technology and can be used to build automation, functional units of control systems, etc.

Известны логические вычислители (см., например, рис.5.3 на стр.144 в книге Гутников B.C. Интегральная электроника в измерительных устройствах. Л.: Энергоатомиздат, 1988), которые реализуют простую симметричную булевую функцию τ21x2∨x1x3∨х2x3, зависящую от трех аргументов - входных двоичных сигналов х1, х2, х3∈{0,1}.Logic calculators are known (see, for example, Fig. 5.3 on p. 144 in the book by Gutnikov BC Integrated Electronics in Measuring Devices. L .: Energoatomizdat, 1988) that implement a simple symmetric Boolean function τ 2 = x 1 x 2 ∨x 1 x 3 ∨ x 2 x 3 , depending on three arguments - input binary signals x 1 , x 2 , x 3 ∈ {0,1}.

К причине, препятствующей достижению указанного ниже технического результата при использовании известных логических вычислителей, относятся ограниченные функциональные возможности, обусловленные тем, что не выполняется реализация любой из n простых симметричных булевых функций, зависящих от n аргументов - входных двоичных сигналов х1,..., хn∈{0,1}.The reason that impedes the achievement of the technical result indicated below when using well-known logical calculators is limited functionality due to the fact that the implementation of any of n simple symmetric Boolean functions does not work, depending on n arguments - input binary signals x 1 , ..., x n ∈ {0,1}.

Наиболее близким устройством того же назначения к заявленному изобретению по совокупности признаков является, принятый за прототип, логический вычислитель (фиг.1 в описании изобретения к патенту РФ 2227931, кл. G 06 F 7/00, 2004 г.), который содержит логические модули и реализует любую из n простых симметричных булевых функций τ1,..., τn, зависящих от n аргументов - входных двоичных сигналов х1,..., хn∈{0,1}.The closest device of the same purpose to the claimed invention in terms of features is the logic calculator adopted as a prototype (Fig. 1 in the description of the invention to RF patent 2227931, class G 06 F 7/00, 2004), which contains logic modules and implements any of n simple symmetric Boolean functions τ 1 , ..., τ n , depending on n arguments - input binary signals x 1 , ..., x n ∈ {0,1}.

К причине, препятствующей достижению указанного ниже технического результата при использовании прототипа, относится большие аппаратурные затраты.The reason that impedes the achievement of the following technical result when using the prototype is the high hardware costs.

Техническим результатом изобретения является уменьшение аппаратурных затрат при сохранении функциональных возможностей прототипа.The technical result of the invention is to reduce hardware costs while maintaining the functionality of the prototype.

Указанный технический результат при осуществлении изобретения достигается тем, что в логическом вычислителе, содержащем n-1 логических модулей, каждый из которых содержит два элемента И, элемент ИЛИ и два D-триггера, причем в каждом логическом модуле выход первого элемента И соединен с первым входом второго элемента И и вторым входом элемента ИЛИ, подключенного первым входом и выходом соответственно к второму входу второго элемента И и входу данных второго D-триггера, вход установки и тактовый вход которого соединены соответственно с входом установки и тактовым входом первого D-триггера и образуют соответственно первый и второй входы логического модуля, подключенного третьим, четвертым и пятым входами соответственно к первому, второму входам первого элемента И и второму входу второго элемента И, выход которого соединен с входом данных первого D-триггера, подключенного неинвертирующим выходом к первому выходу логического модуля, второй выход которого образован неинвертирующим выходом второго D-триггера, первый выход каждого логического модуля соединен с его третьим входом, а второй выход каждого предыдущего логического модуля подключен к пятому входу последующего логического модуля, особенность заключается в том, что пятый вход первого и второй выход (n-1)-го логических модулей соединены соответственно с информационным входом и выходом логического вычислителя, первый и второй управляющие входы которого образованы соответственно объединенными первыми и объединенными вторыми входами первого - (n-1)-го логических модулей.The specified technical result in the implementation of the invention is achieved by the fact that in a logical computer containing n-1 logical modules, each of which contains two AND elements, an OR element and two D-flip-flops, and in each logical module the output of the first AND element is connected to the first input the second AND element and the second input of the OR element connected by the first input and output, respectively, to the second input of the second And element and the data input of the second D-trigger, the installation input and the clock input of which are connected respectively to the input m of the installation and the clock input of the first D-trigger and form respectively the first and second inputs of the logic module connected by the third, fourth and fifth inputs, respectively, to the first, second inputs of the first element And the second input of the second element And, the output of which is connected to the data input of the first D -trigger connected by a non-inverting output to the first output of the logical module, the second output of which is formed by the non-inverting output of the second D-trigger, the first output of each logical module is connected to its third input m, and the second output of each previous logical module is connected to the fifth input of the subsequent logical module, the peculiarity is that the fifth input of the first and second output of the (n-1) -th logical modules are connected respectively to the information input and output of the logical computer, the first and the second control inputs of which are formed respectively by the combined first and combined second inputs of the first - (n-1) -th logical modules.

На фиг.1 и 2 представлены соответственно схема предлагаемого логического вычислителя и временные диаграммы, поясняющие принцип его работы.Figure 1 and 2 are respectively a diagram of the proposed logical computer and timing diagrams explaining the principle of its operation.

Логический вычислитель содержит n-1 логических модулей 11,..., 1n-1. Каждый логический модуль содержит два элемента И 21 и 22, элемент ИЛИ 3, два D-триггера 41 и 42, причем выход элемента 21 соединен с первым входом элемента 22 и вторым входом элемента 3, подключенного первым входом и выходом соответственно к второму входу элемента 22 и входу данных D-триггера 42, вход установки и тактовый вход которого соединены соответственно с входом установки и тактовым входом D-триггера 41 и образуют соответственно первый и второй входы логического модуля, подключенного третьим, четвертым и пятым входами соответственно к первому, второму входам элемента 21 и второму входу элемента 22, выход которого соединен с входом данных D-триггера 41, подключенного неинвертирующим выходом к первому выходу логического модуля, второй выход которого образован неинвертирующим выходом D-триггера 42. Первый выход каждого логического модуля соединен с его третьим входом, второй выход каждого предыдущего логического модуля подключен к пятому входу последующего логического модуля, а пятый вход модуля 11 и второй выход модуля 1n-1 соединены соответственно с информационным входом и выходом логического вычислителя, первый и второй управляющие входы которого подключены соответственно к объединенным первым и объединенным вторым входам модулей 11,..., 1n-1.The logical computer contains n-1 logical modules 1 1 , ..., 1 n-1 . Each logic module contains two elements AND 2 1 and 2 2 , element OR 3, two D-flip-flops 4 1 and 4 2 , and the output of element 2 1 is connected to the first input of element 2 2 and the second input of element 3 connected to the first input and output respectively, to the second input of element 2 2 and the data input of the D-flip-flop 4 2 , the setup input and the clock input of which are connected respectively to the setup input and the clock input of the D-flip-flop 4 1 and form the first and second inputs of the logic module connected by the third, fourth and fifth inputs respectively to the lane CB, a second input member 2 1 and the second input element 2 2, whose output is connected to the input of D-flip-flop data on April 1, the non-inverting output connected to the first output of the logic module, the second output of which is formed by the non-inverting output of D-flip-flop 4 February. The first output of each logic module is connected to its third input, the second output of each previous logic module is connected to the fifth input of the subsequent logic module, and the fifth input of module 1 1 and the second output of module 1 n-1 are connected respectively to the information input and output of the logic computer, the first and the second control inputs of which are connected respectively to the combined first and combined second inputs of the modules 1 1 , ..., 1 n-1 .

Работа предлагаемого логического вычислителя осуществляется следующим образом. На четвертые входы логических модулей 11,..., 1n-1 подаются соответственно двоичные сигналы х1,..., хn-1∈{0,1}; на информационный вход логического вычислителя последовательно подаются двоичный сигнал хn∈{0,1} и сигнал логического нуля (фиг.2); на первый, второй управляющие входы логического вычислителя подаются соответственно импульсные сигналы y1, y2∈{0,1} (фиг.2), причем период Т сигнала у2 должен удовлетворять условию T>t1+max(t2, t3) где t1, t2 и t3 есть длительности задержек, вносимых соответственно элементами 21, 22 и 3. Тогда сигналы на первом и втором выходах логического модуля 1i

Figure 00000002
будут определяться рекуррентными выражениямиThe work of the proposed logical computer is as follows. The binary inputs x 1 , ..., x n-1 ∈ {0,1} are respectively supplied to the fourth inputs of the logic modules 1 1 , ..., 1 n-1 ; the binary logic x n ∈ {0,1} and the logic zero signal are sequentially fed to the information input of the logical computer (figure 2); pulse signals y 1 , y 2 ∈ {0,1} (Fig. 2), respectively, are fed to the first and second control inputs of the logic computer, and the period T of the signal at 2 must satisfy the condition T> t 1 + max (t 2 , t 3 ) where t 1 , t 2 and t 3 are the durations of the delays introduced by elements 2 1 , 2 2 and 3, respectively. Then the signals at the first and second outputs of the logic module 1 i
Figure 00000002
will be determined by recurrence expressions

Figure 00000003
и
Figure 00000004
Figure 00000003
and
Figure 00000004

где

Figure 00000005
есть номер импульса сигнала y2 (фиг.2); Vi0=1; W10=...=W(n-2)0=1; W00=xn; W01=...=W0(2n-3)=0. В представленной таблице приведены значения выражений (1) при n=4.Where
Figure 00000005
there is the pulse number of the signal y 2 (figure 2); V i0 = 1; W 10 = ... = W (n-2) 0 = 1; W 00 = x n ; W 01 = ... = W 0 (2n-3) = 0. The table below shows the values of expressions (1) for n = 4.

V11=x1x4 V 11 = x 1 x 4 V21=x2 V 21 = x 2 V31=x3 V 31 = x 3 W11=x1∨x4 W 11 = x 1 ∨x 4 W21=1W 21 = 1 W31=1W 31 = 1 V12=0V 12 = 0 V22=x1x2∨x2x4 V 22 = x 1 x 2 ∨x 2 x 4 V32=x3 V 32 = x 3 W12=x1x4 W 12 = x 1 x 4 W22=x1∨x2∨x4 W 22 = x 1 ∨x 2 ∨x 4 W32=1W 32 = 1 V13=0V 13 = 0 V23=x1x2x4 V 23 = x 1 x 2 x 4 V33=x1x3∨x2x3∨x3x4 V 33 = x 1 x 3 ∨x 2 x 3 ∨x 3 x 4 W13=0W 13 = 0 W23=x1x2∨x1x4∨x2x4 W 23 = x 1 x 2 ∨x 1 x 4 ∨x 2 x 4 W33=x1∨x2∨x3∨x4 W 33 = x 1 ∨x 2 ∨x 3 ∨x 4 V14=0V 14 = 0 V24=0V 24 = 0 V34=x1x2x3∨x1x3x4∨x2x3x4 V 34 = x 1 x 2 x 3 ∨x 1 x 3 x 4 ∨x 2 x 3 x 4 W14=0W 14 = 0 W24=x1x2x4 W 24 = x 1 x 2 x 4 W34=x1x2∨x1x3∨x1x4∨x2x3∨x2x4∨x3x4 W 34 = x 1 x 2 ∨x 1 x 3 ∨x 1 x 4 ∨x 2 x 3 ∨x 2 x 4 ∨x 3 x 4 V15=0V 15 = 0 V25=0V 25 = 0 V35=x1x2x3x4 V 35 = x 1 x 2 x 3 x 4 W15=0W 15 = 0 W25=0W 25 = 0 W35=x1x2x3∨x1x2x4∨x1x3x4∨x2x3x4 W 35 = x 1 x 2 x 3 ∨x 1 x 2 x 4 ∨x 1 x 3 x 4 ∨x 2 x 3 x 4 V16=0V 16 = 0 V26=0V 26 = 0 V36=0V 36 = 0 W16=0W 16 = 0 W26=0W 26 = 0 W36=x1x2x3x4 W 36 = x 1 x 2 x 3 x 4

Таким образом, на выходе предлагаемого логического вычислителя имеемThus, at the output of the proposed logical computer, we have

Figure 00000006
Figure 00000006

где τ1,..., τn есть простые симметричные булевые функции (см. стр.126 в книге Поспелов Д.А. Логические методы анализа и синтеза схем. М.: Энергия, 1974). Согласно (2), настройка вычислителя (фиг.1) на реализацию функции τk (k∈{1,..., n}) осуществляется соответствующим количеством j=n+k-2 импульсов сигнала y2. При этом вычислитель (фиг.1) содержит 2(n-1) элементов И, n-1 элементов ИЛИ и 2(n-1) D-триггеров. Отметим, что в состав прототипа входят 2n элементов И, n элементов ИЛИ и 2n D-триггеров.where τ 1 , ..., τ n are simple symmetric Boolean functions (see page 126 in the book Pospelov D. A. Logical methods of analysis and synthesis of circuits. M .: Energy, 1974). According to (2), the computer is configured (Fig. 1) to implement the function τ k (k∈ {1, ..., n}) by the corresponding number j = n + k-2 pulses of the signal y 2 . At the same time, the calculator (Fig. 1) contains 2 (n-1) AND elements, n-1 OR elements and 2 (n-1) D-triggers. Note that the prototype includes 2n AND elements, n OR elements, and 2n D-triggers.

Вышеизложенные сведения позволяют сделать вывод, что предлагаемый логический вычислитель реализует любую из n простых симметричных булевых функций, зависящих от n аргументов - входных двоичных сигналов, и обладает меньшими по сравнению с прототипом аппаратурными затратами. Дополнительным достоинством предлагаемого логического вычислителя является более высокое быстродействие, так как он реализует функцию τk (k∈{1,..., n}) с помощью меньшего по сравнению с прототипом количества импульсов сигнала y2.The above information allows us to conclude that the proposed logic calculator implements any of n simple symmetric Boolean functions, depending on n arguments - input binary signals, and has less hardware costs compared to the prototype. An additional advantage of the proposed logical calculator is its higher speed, since it implements the function τ k (k∈ {1, ..., n}) using a smaller number of pulses of the signal y 2 compared to the prototype.

Claims (1)

Логический вычислитель для реализации любой из n простых симметричных булевых функций, зависящих от n аргументов - входных двоичных сигналов, содержащий n-1 логических модулей, каждый из которых содержит два элемента И, элемент ИЛИ и два D-триггера, причем в каждом логическом модуле выход первого элемента И соединен с первым входом второго элемента И и вторым входом элемента ИЛИ, подключенного первым входом и выходом соответственно к второму входу второго элемента И и входу данных второго D-триггера, вход установки и тактовый вход которого соединены соответственно с входом установки и тактовым входом первого D-триггера и образуют соответственно первый и второй входы логического модуля, подключенного третьим, четвертым и пятым входами соответственно к первому, второму входам первого элемента И и второму входу второго элемента И, выход которого соединен с входом данных первого D-триггера, подключенного неинвертирующим выходом к первому выходу логического модуля, второй выход которого образован неинвертирующим выходом второго D-триггера, первый выход каждого логического модуля соединен с его третьим входом, а второй выход каждого предыдущего логического модуля подключен к пятому входу последующего логического модуля, отличающийся тем, что пятый вход первого и второй выход (n-1)-го логических модулей соединены соответственно с информационным входом и выходом логического вычислителя, первый и второй управляющие входы которого образованы соответственно объединенными первыми и объединенными вторыми входами первого - (n-1)-го логических модулей.A logic computer for implementing any of n simple symmetric Boolean functions depending on n arguments - input binary signals, containing n-1 logical modules, each of which contains two AND elements, an OR element, and two D-flip-flops, with an output in each logical module of the first AND element is connected to the first input of the second AND element and the second input of the OR element connected by the first input and output to the second input of the second AND element and the data input of the second D-trigger, the installation input and clock input of which are connected respectively with the setup input and the clock input of the first D-trigger and form the first and second inputs of the logic module, connected by the third, fourth and fifth inputs, respectively, to the first, second inputs of the first element And and the second input of the second element And, the output of which is connected to the input data of the first D-trigger connected by a non-inverting output to the first output of the logic module, the second output of which is formed by the non-inverting output of the second D-trigger, the first output of each logical mode It is connected to its third input, and the second output of each previous logic module is connected to the fifth input of the subsequent logical module, characterized in that the fifth input of the first and second output of the (n-1) -th logical modules are connected respectively to the information input and the output of the logic computer , the first and second control inputs of which are formed respectively by the combined first and combined second inputs of the first - (n-1) -th logical modules.
RU2005112123/09A 2005-04-22 2005-04-22 Logical calculation unit RU2284567C1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
RU2005112123/09A RU2284567C1 (en) 2005-04-22 2005-04-22 Logical calculation unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
RU2005112123/09A RU2284567C1 (en) 2005-04-22 2005-04-22 Logical calculation unit

Publications (1)

Publication Number Publication Date
RU2284567C1 true RU2284567C1 (en) 2006-09-27

Family

ID=37436604

Family Applications (1)

Application Number Title Priority Date Filing Date
RU2005112123/09A RU2284567C1 (en) 2005-04-22 2005-04-22 Logical calculation unit

Country Status (1)

Country Link
RU (1) RU2284567C1 (en)

Similar Documents

Publication Publication Date Title
RU2281545C1 (en) Logical transformer
RU2286594C1 (en) Logic module
CN107544616B (en) Method and apparatus for phase aligned 2X frequency clock generation
RU2443009C1 (en) Logic converter
RU2472209C1 (en) Logic module
RU2284567C1 (en) Logical calculation unit
RU2248034C1 (en) Logical converter
RU2393528C2 (en) Logical module
RU2300131C1 (en) Binary number comparator
RU2282234C1 (en) Logical computing device
RU2300138C1 (en) Logical calculator
RU2300137C1 (en) Majority module
RU2621376C1 (en) Logic module
RU2294558C1 (en) Logical computing device
RU2227931C1 (en) Logical computer
RU2504826C1 (en) Logic computer
RU2641446C2 (en) Logic calculator
RU2276399C1 (en) Logical calculator
RU2284655C1 (en) Parallel counter of singular signals
RU2676888C1 (en) Logical module
RU2445679C1 (en) Logical calculator
RU2262734C1 (en) Logical calculator
RU2787334C1 (en) Binary number comparator
RU2398265C2 (en) Logic module
RU2626347C1 (en) Majoritary module for fault-tolerant systems

Legal Events

Date Code Title Description
MM4A The patent is invalid due to non-payment of fees

Effective date: 20070423