SU1494015A1 - Device for exhaustive search of combinations - Google Patents
Device for exhaustive search of combinations Download PDFInfo
- 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
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)
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) |
-
1987
- 1987-11-23 SU SU874331375A patent/SU1494015A1/en active
Non-Patent Citations (1)
| 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 |