[go: up one dir, main page]

SU1494015A1 - Device for exhaustive search of combinations - Google Patents

Device for exhaustive search of combinations Download PDF

Info

Publication number
SU1494015A1
SU1494015A1 SU874331375A SU4331375A SU1494015A1 SU 1494015 A1 SU1494015 A1 SU 1494015A1 SU 874331375 A SU874331375 A SU 874331375A SU 4331375 A SU4331375 A SU 4331375A SU 1494015 A1 SU1494015 A1 SU 1494015A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
register
shift register
trigger
Prior art date
Application number
SU874331375A
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 SU874331375A priority Critical patent/SU1494015A1/en
Application granted granted Critical
Publication of SU1494015A1 publication Critical patent/SU1494015A1/en

Links

Landscapes

  • Multi Processors (AREA)

Abstract

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано дл  имитации режимов контрол  функционировани  многопроцессорных систем с распределенной пам тью, а также дл  решени  комбинаторных задач. Цель изобретени  - расширение функциональных возможностей устройства за счет отбора сочетаний с заданным признаком. Устройство содержит кольцевые регистры сдвига 1, регистр сдвига 4, счетчик 5, регистр признака 7, схему сравнени  6, триггер 10, элементы И 11, ИЛИ 3, ИЛИ-НЕ 8, задержки 9, формирователи 2 импульсов. Введение триггера, элементов ИЛИ, ИЛИ-НЕ, регистра признака и формирователей импульса позвол ет выработать сигнал, указывающий на соответствие формируемого сочетани  требуемому признаку. 1 ил.The invention relates to automation and computing and can be used to simulate the control modes of functioning multiprocessor systems with distributed memory, as well as to solve combinatorial problems. The purpose of the invention is to expand the functionality of the device by selecting combinations with a given attribute. The device contains the ring shift registers 1, the shift register 4, the counter 5, the register of the sign 7, the comparison circuit 6, the trigger 10, the elements AND 11, OR 3, OR-NOT 8, delay 9, the drivers 2 pulses. The introduction of the trigger, the elements OR, OR NOT, the register of the feature and the pulse formers allows the generation of a signal indicating that the generated combination corresponds to the desired feature. 1 il.

Description

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано дл  имитации режимов контрол  многопроцессорной системы (МПС) с разделенной пам тью, а также при решении комбинаторных задач .The invention relates to automation and computing and can be used to simulate the control modes of a multiprocessor system (MPS) with shared memory, as well as in solving combinatorial problems.

Цель изобретени  - расширение функциональных возможностей устрой- ства за счет отбора сочетаний с заданным признаком.The purpose of the invention is to expand the functionality of the device by selecting combinations with a given attribute.

На чертеже изображена функциональна  схема предлагаемого устройства.The drawing shows a functional diagram of the proposed device.

Устройство содержит п кольцевых регистров 1 сдвига, п формирователей 2 импульса по заднему фронту, п элементов ИЛИ 3, регистр 4 сдвига , счетчик 5, схему 6 сравнени , регистр 7 признака, элемент ШШ-НЕ 8 элемент 9 задержки, триггер 10, элемент И 11, вход 12 начальной установки устройства, вход 13 признака отбираемых сочетаний, тактовые входы 1А и 15, выход 16 конца перебора, информационные выходы 7,-17,и выход 18 достоверности выходной информации устройства.The device contains n annular shift registers 1, n pulse formers 2 on the trailing edge, n elements OR 3, shift register 4, counter 5, comparison circuit 6, feature register 7, HS-NE 8 element 8 delay element 9, trigger 10, AND element 11, the input 12 of the initial installation of the device, the input 13 of the feature of the selected combinations, the clock inputs 1A and 15, the output 16 of the end of enumeration, the information outputs 7, -17, and the output 18 of the reliability of the output information of the device.

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

На вход 12 начальной установки устройства подаетс  импульсный сигнал , который на всех кольцевых регистрах 1 устанавливает двоичный код 10,,,10, На вход 13 подаетс  и записываетс  в регистр 7 код признака m дл  отбора сочетаний. На вход 14 первой серии импульсов подаетс  первый импульс, который обну- л ет счетчик 5 и поступает на син- хровход кольцевого регистра 1, в результате чего код в кольцевом регистре 1, сдвигаетс  вправо на один разр д и становитс  равным 010о,оОо При этом переноса из последнего разр да кольцевого-регистра 1 не происходит , в результате чего не запуск етс  формирователь 2 импульса по заднему фронту, С выходов кольцевых регистров 1 двоичные коды поступают на информационные выходы 17 устройства и на элементы ИЛИ 3, на выходе которых формируетс  двоичный код ПО,, „О, который записываетс  в ре- гистр 4 сдвига по сигналу с выхода элемента 9 задержки„ С задержкой, равной максимальному времени перехоного процесса по сдвигу кодов в колцевых регистрах 1, первьш импульс со входа 14 yctpoйcтвa через элемент 9 задержки поступает на единичный вход триггера 10 и устанавливает его в единичное состо ние. Единичный сигна с выхода триггера 10 поступает на вход элемента И 1I и разрешает подачу со входа 15 устройства второй серии импульсов на синхровход регистра 4 сдвига. По приходу очередного импульсного сигнала содержимое регистра 4 сдвига сдвигаетс  на один разр  вправо и с последнего разр да поступает на счетный вход счетчика 5, который подсчитывает количество единиц И в регистре 4, Импульсы второй серии проход т через элемент И 11 до тех пор, пока все разр ды регистра 4 не станут равными нулю. При этом единичный сигнал с выхода элемента ИЛИ-НЕ 8, на вход которого поступает содержимое всех разр дов регистра 4, подаетс  на нулевой вход триггера 10 и переводит его в нулевое состо ние. Нулевой сигнал с выхода триггера 10 подаетс  на вход элемента И 11 и блокирует вьщачу импульсов второй серии на синхровход регистра 4 Единичный сиг нал с выход элемента ИЛИ-НЕ 8 поступает также на синхровход схемы 6 сравнени  и разрешает сравнение кодов, поступающих от счетчика 5 и регистра 7, В случае равенства кодов с выхода схемы 6 сравнени  выдаетс  единичный сигнал , поступающий на выход 18 достоверности выходной информации устройства . Единичный сигнал на выходе 18 означает, что на информационных выходах 17 устройства наход тс  двоичные коды, соответствующие заданному в регистре 7 коду.At the input 12 of the initial installation of the device, a pulse signal is applied, which in all ring registers 1 sets the binary code 10 ,,, 10. At input 13, the sign code m is sent and written to register 7 to select the combinations. The first pulse is fed to the input 14 of the first series of pulses, which zeroes the counter 5 and enters the synchronous input of the ring register 1, as a result of which the code in the ring register 1 is shifted to the right by one bit and becomes 010o, ooo. the transfer from the last bit of the ring-register 1 does not occur, as a result of which the shaper 2 does not start on the trailing edge. The software code “О”, which is recorded in register 4, is shifted by the signal from the output of delay element 9 “With a delay equal to the maximum transition process time by shifting codes in ring registers 1, the first impulse from input 14 is through the delay element 9 arrives at the single input of the trigger 10 and sets it to the single state. A single signal from the output of the trigger 10 is fed to the input element And 1I and allows the supply from the input 15 of the device of the second series of pulses to the synchronous input of the register 4 shift. Upon the arrival of the next pulse signal, the contents of the shift register 4 are shifted by one bit to the right and from the last digit goes to the counting input of the counter 5, which counts the number of units AND in register 4, the pulses of the second series pass through the element 11 until all register bits 4 will not be equal to zero. In this case, a single signal from the output of the element OR-NOT 8, the input of which receives the contents of all bits of register 4, is fed to the zero input of the trigger 10 and converts it to the zero state. The zero signal from the output of the trigger 10 is fed to the input of the element 11 and blocks the second pulse of the second series at the register 4 clock. 7, In case of equality of the codes from the output of the comparison circuit 6, a single signal is output to output 18 of the reliability of the output information of the device. A single signal at output 18 means that the information outputs of the device 17 contain binary codes corresponding to the code specified in register 7.

По приходу следующего импульса с входа 14 происходи: сдвиг кода Б кольцевом регистре 1 на один разр д вправо и цикл повтор етс . При сдвиге вправо в i-м кольцевом регистре двоичного кода О.,,01 по сбросу единичного сигнала с последнего разр да кольцевого регистра запускаетс  i-й формирователь 2 импульса по заднему фронту, который подает импульсный сигнал на синхровход (i-bl)-ro (,l,n-l) кольцевого ре гистра 1 и сдвигает содержимое прс- леднего при этом код в i-м кольцевом регистре 1 становитс  равным 10...О. Полный перебор всех п комбинаций заканчиваетс  выдачей единичного сигнала с выхода п-го формировател  2 импульса по заднему фронту, который поступает на выход 16 устройства . При этом на выходе всех кольцевых регистров I устанавливаетс  код 10...0. Таким образом, предлагаемое устройство выдел ет из всех п комбинаций такие, в которых число одноименных единичных разр дов равно заданному числу т. При устройство выдел ет все п1 перестановок из п комбинаций.Upon arrival of the next pulse from input 14, the code B shifts the ring register 1 by one bit to the right and the cycle repeats. When shifting to the right in the i-th ring register of the binary code O. ,, 01, by resetting a single signal from the last bit of the ring register, the i-th shaper of 2 pulses is triggered on the falling edge, which supplies a pulse signal to the synchronous input (i-bl) -ro (, l, nl) of the ring register 1 and shifts the contents of the last in this case the code in the i-th ring register 1 becomes equal to 10 ... O. A complete enumeration of all n combinations ends with the output of a single signal from the output of the n-th shaper 2 pulses on the falling edge, which arrives at the output 16 of the device. In this case, at the output of all ring registers I, a code 10 ... 0 is set. Thus, the proposed device selects from all n combinations such that the number of like bits is equal to a given number m. When the device selects all n 1 permutations from the n combinations.

Claims (1)

Формула изобретени  Устройство дл  перебора со четаний содержащее п кольцевых п-разр дных регистров сдвига (п - число сочетаний ), п-раэр диый регистр сдвига, счетчик, схему сравнени , элемент И, причем установочные входы всех кольцевых регистров сдвига соединены с установочным входом устройства, о т- личающеес  тем,что, с целью расширени  функциональных возможностей устройства за счет отбора со - четаний с заданным признаком, он содержит регистр признака, триггер, элемент задержки, п элементов ИЛК, элемент ИЛИ-НЕ и п формирователей импульса , причем вход элемента задержки  вл етс  первым тактовым входом устройства и соединен с установочным входом счетчика и с синхронизирующим входом первого кольцевого регистра сдвига, последовательный выход i-ro (,n) кольцевого регистра сдвигаClaim device A brute force device comprising n circular n-bit shift registers (n is the number of combinations), a n-th double shift register, a counter, a comparison circuit, an AND element, the setting inputs of all the ring shift registers being connected to the setting input of the device , which is characterized by the fact that, in order to expand the functionality of the device by selecting matches with a given attribute, it contains a register of the characteristic, a trigger, a delay element, n ILK elements, an OR-NOT element, and n impulse drivers ca, wherein the delay element input is a clock input of the first device and is connected to the counter input of the installation and to the synchronization input of the first circular shift register serial output i-ro (, n) of the ring shift register 00 5five 5five 00 5five подключен по входу i-ro формировател  импульса, выход j-го j«I ,п-1 ) формировател  импульса подключен к синхронизирующему входу (j + l )-го кольцевого регистра сдвига, i-e разр дные выходы всех кольцевых регистров сдвига подключены к входам i-ro элемента ИЛИ, выход i-ro элемента ИЛИ подключен к i-му разр дному входу регистра сдвига , последовательный выход регистра сдвига подключен к счетному входу счетчика, разр дные выходы регистра сдвига соединены с входами элемента ИЛИ-НЕ, выход элемента ИЛИ-НЕ подключен к синхронизирующему входу схемы сравнени  и к нулевому входу триггера , выход элемента задержки подключен к управл ющему входу записи регистра сдвига и к единичному входу триггера, выход триггера подключен к первому входу элемента И, второй вход которого  вл етс  вторым тактовым входом утройства, выход элемента И подключен к синхронизирующему входу регистра сдвига, вход регистра признака  вл етс  входом признака устройства, выход регистра признака и выход счетчика подключены соответственно к первому и второму информационным входам схемы сравнени , выход схемы сравнени   вл етс  выходом достоверности результата устройства, разр дные выходы всех кольцевых регистров сдвига  вл ютс  информационными выходами устройства, выход п-го формировател  импульса  вл етс  выходом окончани  работы устройства.connected to the input of the i-ro pulse generator, the output of the j-th j "I, p-1) pulse generator connected to the clock input of the (j + l) -th ring shift register, i.e. the bit outputs of all ring shift registers are connected to inputs i -ro element OR, the output of the i-ro element OR is connected to the i-th bit input of the shift register, the serial output of the shift register is connected to the counting input of the counter, the bit outputs of the shift register are connected to the inputs of the element OR NOT, the output of the element OR NOT connected to sync input circuit compared and to the zero input of the trigger, the output of the delay element is connected to the control input of the shift register and to the single input of the trigger, the output of the trigger is connected to the first input of the And element, the second input of which is the second clock input of the device, the output of the And element is connected to the clock input the shift register, the input of the register of the sign is the input of the sign of the device, the output of the register of the sign and the output of the counter are connected respectively to the first and second information inputs of the comparison circuit, the output of the comparison circuit Is the output of the reliability of the result of the device, the bit outputs of all ring shift registers are the information outputs of the device, the output of the nth pulse generator is the output of the end of operation of the device.
SU874331375A 1987-11-23 1987-11-23 Device for exhaustive search of combinations SU1494015A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU874331375A SU1494015A1 (en) 1987-11-23 1987-11-23 Device for exhaustive search of combinations

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU874331375A SU1494015A1 (en) 1987-11-23 1987-11-23 Device for exhaustive search of combinations

Publications (1)

Publication Number Publication Date
SU1494015A1 true SU1494015A1 (en) 1989-07-15

Family

ID=21337545

Family Applications (1)

Application Number Title Priority Date Filing Date
SU874331375A SU1494015A1 (en) 1987-11-23 1987-11-23 Device for exhaustive search of combinations

Country Status (1)

Country Link
SU (1) SU1494015A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1262520, кл. G 06 F 15/20, 1984. Авторское свидетельство СССР №.826339, кл. G 06 F 7/06, 1979. *

Similar Documents

Publication Publication Date Title
US3051929A (en) Digital data converter
SU1494015A1 (en) Device for exhaustive search of combinations
SU1656567A1 (en) Pattern recognition device
SU1396139A1 (en) Adder
SU1300470A1 (en) Microprogram control device
SU1691839A2 (en) Generator of pseudorandom numbers
SU1450112A1 (en) Code converter
SU1037258A1 (en) Device for determination of number of ones in binary code
SU1374413A1 (en) Multichannel programmable pulser
SU970355A1 (en) Serial to parallel code converter
SU1644385A1 (en) Device for generating quaternary-coded sequences
SU1270900A1 (en) Device for converting serial code to parallel code
SU1689948A1 (en) Generator of random numbers
SU1174919A1 (en) Device for comparing numbers
SU1658190A1 (en) Device for control of monotonically varying code
SU1206784A1 (en) Device for generating and storing modulo 3 residues
SU1441384A1 (en) Device for sorting numbers
SU1468251A1 (en) Converter of time intervals to digital code
SU1387182A1 (en) Programmed multichannel timer
SU1012239A1 (en) Number ordering device
SU1432742A1 (en) Generator of random pulse train
SU463234A1 (en) Device for dividing cycle time into fractional number of intervals
SU1636996A1 (en) Random field generator
SU1689962A1 (en) Device for interfacing interfaces of different digits
SU1529230A1 (en) Device for capturing information from multidigit discrete sensors