SU1411768A1 - Device for solving logical equations - Google Patents

Device for solving logical equations Download PDF

Info

Publication number
SU1411768A1
SU1411768A1 SU864157144A SU4157144A SU1411768A1 SU 1411768 A1 SU1411768 A1 SU 1411768A1 SU 864157144 A SU864157144 A SU 864157144A SU 4157144 A SU4157144 A SU 4157144A SU 1411768 A1 SU1411768 A1 SU 1411768A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
counter
group
solution
Prior art date
Application number
SU864157144A
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 SU864157144A priority Critical patent/SU1411768A1/en
Application granted granted Critical
Publication of SU1411768A1 publication Critical patent/SU1411768A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

Изобретение относитс  к вычислительной технике, а именно к устройствам дл  решени  логических уравнений . Цель изобретени  - повышение точности устройства за счет получени  решени  минимальной мощности. Устройство содержит счетчик 3, п групп элементов по m элементов И в каждой , где п - число переменных уравнени ; m - разр дность коэффициентов уравнений, операционный блок 5, блок 6 сравнени , триггер 7, элементы НЕ 8 и 9, элемент И 13 и блок 14 пам ти. В основе работы устройства лежит формирование лексикографически упор доченных значений параметров и оценки решени  на каждом шаге. 3 ил., 1 табл.The invention relates to computing, namely, devices for solving logical equations. The purpose of the invention is to improve the accuracy of the device by obtaining a minimum power solution. The device contains a counter 3, n groups of elements with m elements AND in each, where n is the number of variable equations; m is the magnitude of the coefficients of the equations, the operation unit 5, the comparison unit 6, the trigger 7, the HE elements 8 and 9, the AND element 13 and the memory block 14. The basis of the operation of the device is the formation of lexicographically ordered parameter values and the estimation of the solution at each step. 3 ill., 1 tab.

Description

////

иand

1l

(L

СП) 00SP) 00

Изобретение относитс  к вычисли тельной технике, а именно к специали- эированньм устройствам дл  решени  логических уравнений,The invention relates to a computational technique, namely, to specialized devices for solving logical equations,

Цель изобретени  - повышение точности за счет получени  решени  минимальной мощности.The purpose of the invention is to improve accuracy by obtaining a minimum power solution.

На фиГо представлена схема устройства j на - схема операцион- него блокад на фиг.З - схема блока сравнени ,FIG. 2 shows the diagram of the device j. FIG. 3 is the diagram of the comparison block,

Устройство содержит входы - 1 коэффициентов -уравнени  устройстваj вход If, правой части уравнени  уст- ройства, выходы 2 результата устройства j счетчик 3, группы 4 с первой по П--Ю элементов И, операционный блок 55 блок 6 сравнени , триггер 7; первый 8 и второй 9 элементы НЕ, вы- ходы 10 признака отсутстви  решени  .уравнени  ус тройств а выход 1 признака наличи  решени  уравнени  устройства; тактовый вход 12 устройства; элемент И 13, блок 14 пам ти. Опера- ционный блок 5 содержит сумматоры 15 по модулю 2, выходы 16 операционного блока.. Блок сравнени  содержит элементы РАВНОЗНАЛНОСТЬ 17,™ элемент И 18.The device contains inputs - 1 coefficients — device equipments j input If, the right side of the device equation, outputs 2 result of device j counter 3, groups 4 with the first I – O elements I, operational unit 55, comparison unit 6, trigger 7; the first 8 and second 9 elements are NOT, the outputs 10 of the sign of the absence of a solution. Equation of devices and the output of 1 sign of the presence of a solution of the equation of the device; clock input device 12; element 13, memory block 14. Operational unit 5 contains adders 15 modulo 2, outputs 16 of the operational unit. Comparison unit contains elements Equality 17, And element 18.

Устройств.о .работает следующим образом .The device works as follows.

Устройство предназначено дл  решени  логических уравнений видаThe device is designed to solve logical equations of the form

Х. приH. at

:-к,:-to,

1 Т1 T

mmmm

где А. - i-e-га-разр дное двоичноеwhere A. is the i-e-ga bit binary

слово;word;

п - количество двоичных слов и, соответственно,, количество . переменных; х е 0,1n - the number of binary words and, accordingly, the number. variables; x e 0.1

В - двоичное слово5 соответствующее правой- части уравнени  .B is a binary word 5 corresponding to the right side of the equation.

Решение уравнени  заключаетс  в определении множества х fх,,..«jX минимальной мощности, удовлетвор ющего этому условию,The solution of the equation is to determine the set x fx ,, .. "jX of minimum power satisfying this condition,

В зависимости от двоичного кода, поступающего с выхода - счетчика 3, с выхода блока 14 пам ти вьщаютс  сигналы 1 в соответствующих позици х , при этом номера позиций фор- мируе.мые дл  ка ждого состо ни  счетчика 3,  вл ютс  лек с 1-жо графически упор доченными. В таблице приведен пример формировани  сочетани  .Depending on the binary code coming from the output of counter 3, signals 1 are output from the memory block 14 in the respective positions, and the position numbers that are formed for each state of counter 3 are graphically ordered. The table shows an example of the formation of a combination.

000 001 010 100000 001 010 100

01 10101 101

поby

П1P1

5 20 25 305 20 25 30

5five

5five

00

из таблицы ви,цно, что вначале фор-. мируютс  сочетани  по одному элемен- тув затем по два, по три и т.д.from the table v, it is valuable that at the beginning of the form. combinations of one element, then two, three, etc.

На входы 1 1 j подаютс  соответственно двоичные слова А, ,,., наThe inputs 1 1 j are supplied with the binary words A, ,,., Respectively

вход 1 подаетс  двоичное слово В, (j-й разр д всех двоичных слов, име- ющий вес 2 , подаетс  на j-й вход, . ,,„, j,m) . В исходном состо нии триг- е гер 7 находитс  в состо нии 1, двоичный счетчик 3 в состо нии Оо,„0. На .выходе блока 14 пам ти двоичный код Ооо.ОК На (п+1)-м выходе двоичного счетчика - сигнал О, на выходе элемента НЕ 9 поэтому после подачи тактовых импульсов через элемент И 13-импульсы поступают йа счетный вход двоичного счетчика 3$ мен   его состо ние. Значение i-ro выходного разр да блока 14 пам ти соответствует значению х . Если х 1, то открываетс  i-  группа элементов И 4, и на .вход операционного блока 5 поступает двоичное слово , если х 0, то Операционный блок 5 вычисл ет выражениеInput 1 is supplied with the binary word B, (the jth bit of all binary words having weight 2 is fed to the jth input,. ,, „, j, m). In the initial state, the triggered ger 7 is in state 1, the binary counter 3 in the state Oo, ' 0. At the output of the memory block 14, the binary code is Ooo.OK. At the (n + 1) output of the binary counter, the signal is O, at the output of the HE element 9, therefore, after applying clock pulses through the element And the 13-pulses, the counter input of the binary counter 3 arrives its condition. The i-ro value of the output bit of memory block 14 corresponds to the value of x. If x 1, then the i- group of elements 4 opens, and a binary word enters the input of the operation unit 5; if x 0, the operation unit 5 calculates the expression

С WITH

х,А.Ha.

путем поразр дного сложени  ,по модулю 2 соответствующих разр дов, поступающих на его входы двоичных чисел.by one-by-one addition, modulo 2 corresponding bits, arriving at its inputs of binary numbers.

Блок 6 сравнени  производит поразр дное сравнение чисел С и В. ПриComparison unit 6 performs a bitwise comparison of numbers C and B. When

на выходе блока 6 сравнени  формируетс  сигнал 1, сбрасывающий триггер 7 в нулевое состо ние. При этом закрываетс  элемент И 13, и импульсы не пиоход т на счетный вход двоичного счетчика 3 и не мен ют его состо ни . At the output of the comparator unit 6, a signal 1 is generated, resetting the trigger 7 to the zero state. In this case, the element And 13 is closed, and the pulses do not go through the counting input of the binary counter 3 and do not change its state.

В процессе решени  могут быть два случа .In the process of solving there may be two cases.

Решение уравнени  существует. При этом на выходе 11 по вл етс  признак наличи  решени , и значение разр дов на выходах 2 результата соответствует значени м х,There is a solution to the equation. In this case, at output 11, a sign of the presence of a solution appears, and the value of the bits at outputs 2 of the result corresponds to the values of x,

Решени  нет. В этом случае после перебора всех 2 вариантов двоичный счетчик 3 на (n- -I)-M выходе формирует сигнал 1, при этом на выходе 10 по вл етс  признак отсутстви  решени , через элемент НЕ 9 на вход элемента И 13 поступает сигнал О, закрывающий поступление импульсов на счетный вход счетчика 3.There is no solution. In this case, after going through all 2 options, the binary counter 3 at the (n- -I) -M output generates a signal 1, and at the output 10 there appears a sign of no solution, through the element 9, the signal O arrives at the input of element 13 closing the flow of pulses to the counting input of the counter 3.

Claims (1)

Формула изобретени Invention Formula Устройство дл  решени  логических уравнений, содержащее счетчик, элемент И, первый и второй элементы НЕ, триггер, операционный блок, блок сравнени , п групп по m элементов И, кажда , где п - число переменных уравнени , m - разр дность коэффициентов уравнени , причем j-й вход (З 1,,..т) i-ro (,.... ,п) коэффициента уравнени  устройства подклюA device for solving logical equations comprising a counter, an AND element, the first and second elements NOT, a trigger, an operational block, a comparison block, n groups of m elements AND, each, where n is the number of variable equations, m is the magnitude of the coefficients of the equation j-th input (C 1 ,, .. t) i-ro (, ...., p) of the equation coefficient of the device connection 5five чен к первому входу j-ro элемента И i-й группы, выход которого подключен к j-му информационному входу i-й группы операционного блока, j-й выход которого подключен к j-му входу первой группы блока сравнени , j-й вход второй группы блока сравнени  подключен к j-му входу значени .правой части уравнени  устройства, тактовый вход устройства подключен к первому входу элемента И, выход которого подключен к счетному входу счетчика , первый информационный выход которого подключен к выходу признака отсутстви  решени  устройства и к входу первого элемента НЕ, выход которого подключен к второму входу элемента И, выход блока сравнени  подключен к счетному входу триггера, выход которого подключен к выходу признака наличи  решени  устройства и к входу второго элемента НЕ, выход которого подключен к третьему входу элемента И, отличающеес  тем, что, с целью повышени  точности за счет получени  решени  минимальной мощности, оно содержит блок пам ти , причем с второго по (п+1)-й ин- Q формационные выходы счетчика подключены соответственно к адресным входам с первого по п-й блока пам ти, вход чтени  которого подключен к тактовому входу устройства, i-й выход блока пам ти подключен к i-му вьпсоду результата решени  устройства и к вторым входам m элементов i-й группы.To the first input of the j-ro element AND the i-th group, the output of which is connected to the j-th information input of the i-th group of the operation unit, the j-th output of which is connected to the j-th input of the first group of the comparison block, j-th input the second group of the comparator unit is connected to the jth input of the value of the right side of the device equation, the device clock input is connected to the first input of the element I, the output of which is connected to the counting input of the counter, the first information output of which is connected to the output of the sign of the absence of a device solution and to the input of the first element This is NOT, the output of which is connected to the second input of the AND element, the output of the comparison unit is connected to the counting input of the trigger, the output of which is connected to the output of the indication of the presence of a device solution and to the input of the second element NOT whose output is connected to the third input of the AND element, characterized in that In order to increase accuracy by obtaining a minimum power solution, it contains a memory block, with the second to (n + 1) -th information Q outputs of the counter being connected respectively to the address inputs from the first to the 5th memory block, entry chte which is connected to the clock input of the device, the i-th output of the memory block is connected to the i-th output of the device's decision result and to the second inputs m of the i-th group. 00 5five 3535 НH 1t 16sixteen fPil2.2fPil2.2
SU864157144A 1986-12-05 1986-12-05 Device for solving logical equations SU1411768A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU864157144A SU1411768A1 (en) 1986-12-05 1986-12-05 Device for solving logical equations

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU864157144A SU1411768A1 (en) 1986-12-05 1986-12-05 Device for solving logical equations

Publications (1)

Publication Number Publication Date
SU1411768A1 true SU1411768A1 (en) 1988-07-23

Family

ID=21271281

Family Applications (1)

Application Number Title Priority Date Filing Date
SU864157144A SU1411768A1 (en) 1986-12-05 1986-12-05 Device for solving logical equations

Country Status (1)

Country Link
SU (1) SU1411768A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2654137C1 (en) * 2017-03-10 2018-05-16 ФЕДЕРАЛЬНОЕ ГОСУДАРСТВЕННОЕ КАЗЕННОЕ ВОЕННОЕ ОБРАЗОВАТЕЛЬНОЕ УЧРЕЖДЕНИЕ ВЫСШЕГО ОБРАЗОВАНИЯ "Военная академия Ракетных войск стратегического назначения имени Петра Великого" МИНИСТЕРСТВА ОБОРОНЫ РОССИЙСКОЙ ФЕДЕРАЦИИ Solving systems of logical equations

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 746531, кл. G 06 F 15/20, 1977. Авторское CBHfleTenbctBo СССР 1262519, Кл. G 06 F 15/20, 1985. *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2654137C1 (en) * 2017-03-10 2018-05-16 ФЕДЕРАЛЬНОЕ ГОСУДАРСТВЕННОЕ КАЗЕННОЕ ВОЕННОЕ ОБРАЗОВАТЕЛЬНОЕ УЧРЕЖДЕНИЕ ВЫСШЕГО ОБРАЗОВАНИЯ "Военная академия Ракетных войск стратегического назначения имени Петра Великого" МИНИСТЕРСТВА ОБОРОНЫ РОССИЙСКОЙ ФЕДЕРАЦИИ Solving systems of logical equations

Similar Documents

Publication Publication Date Title
US3598979A (en) Digit sequence correlator
SU1411768A1 (en) Device for solving logical equations
SU1624439A1 (en) Device for averaging m numbers
SU1128263A1 (en) Device for calculating boolean derivatives
SU408306A1 (en) Read device
SU1195428A1 (en) Device for generating pulse trains
SU1697076A1 (en) Device for selecting maximum number
SU1262519A1 (en) Device for logical processing of information
SU1552171A1 (en) Device for comparison of numbers in residual classes system
SU1599852A2 (en) Code-comparing circuit
SU1683004A1 (en) Device to analyze fuzzy data
Borysenko et al. High-speed counter based on the minimum form of the Fibonacci code
SU1728966A2 (en) Multithreshold gate
SU1541784A1 (en) Device for revealing and correction of errors in interval-modular code
SU947869A1 (en) Device for determining maximum pathes in grapths
SU888136A1 (en) Device for testing wiring circuits
SU1275762A1 (en) Pulse repetition frequency divider
SU1617432A1 (en) Device for sorting numbers
RU1802409C (en) Reversible counter
SU1425608A1 (en) Device for extracting reversal signals
SU1151956A1 (en) Squaring device
SU783786A1 (en) Coder
SU1547071A1 (en) Code converter
SU1193671A1 (en) Device for calculating value of hyperbolic tangent
SU363990A1 (en) TIME-PULSE FUNCTIONAL CONVERTER