SU842787A1 - Device for scanning combinatorial samples - Google Patents

Device for scanning combinatorial samples Download PDF

Info

Publication number
SU842787A1
SU842787A1 SU772556228A SU2556228A SU842787A1 SU 842787 A1 SU842787 A1 SU 842787A1 SU 772556228 A SU772556228 A SU 772556228A SU 2556228 A SU2556228 A SU 2556228A SU 842787 A1 SU842787 A1 SU 842787A1
Authority
SU
USSR - Soviet Union
Prior art keywords
inputs
outputs
output
group
input
Prior art date
Application number
SU772556228A
Other languages
Russian (ru)
Inventor
Олег Владимирович Викторов
Михаил Георгиевич Лукашевич
Сергей Иванович Орел
Алексей Михайлович Романкевич
Original Assignee
Киевский Ордена Ленина Политехническийинститут Им. 50-Летия Великойоктябрьской Социалистической Революции
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 Киевский Ордена Ленина Политехническийинститут Им. 50-Летия Великойоктябрьской Социалистической Революции filed Critical Киевский Ордена Ленина Политехническийинститут Им. 50-Летия Великойоктябрьской Социалистической Революции
Priority to SU772556228A priority Critical patent/SU842787A1/en
Application granted granted Critical
Publication of SU842787A1 publication Critical patent/SU842787A1/en

Links

Description

.. , 1 , .. , one ,

Изобретение относитс  к автоматике и вычислительной технике и мо .жет быть использовано дл  решени  комбинаторных задач, а также дл  генерировани  кодовых последовательное- J тей в устройствах контрол .The invention relates to automation and computing and can be used to solve combinatorial problems, as well as to generate code sequences in control devices.

Известны комбинаторные устройства, осуществл ющие перечисление перестановок . Одно из известных устройств содержит кольцевые регистры, линии задержки, пороговые элементы, генератор импульсов и блок логики, в состав которого вход т сумматор, импликатор и ждущий мультивибратор. Такое комбинаторное устройство обеспечивает15 перечисление всех Р перестановок,но не осуществл ет генерирование перестановок с повторени ми и размещений 1 . --Combinatorial devices are known that enumerate permutations. One of the known devices contains ring registers, delay lines, threshold elements, a pulse generator, and a logic unit, which includes an adder, an implicator, and a waiting multivibrator. Such a combinatorial device provides 15 for the enumeration of all P permutations, but does not generate repetition permutations and arrangements 1. -

Наиболее близким к предлагаемому 20 изобретению  вл етс  комбинаторное устройство, содержащее п последовательно соединенных К-разр дных счетчиков и группу элементов И, выходы которых  вл ютс  выходами устройства, а хо- 25 дом устройства  вл етс  вход п-го счетчика. Такое комбинаторное устройство обеспечивает, последовательный пребор сочетаний С при всех значени х п, начина  с единицы. 2. 30The closest to the proposed invention 20 is a combinatorial device containing n serially connected K-bit counters and a group of elements AND whose outputs are the outputs of the device and 25 devices are the input of the n-th counter. Such a combinatorial device ensures the sequential selection of C combinations for all values of n, starting from one. 2. 30

Недостатком устройства  вл етс  невозможность генерировани  перестановок с повторени ми и размещений.The drawback of the device is the impossibility of generating permutations with repetitions and arrangements.

Цель изобретени  - расширение функциональных возможностей за счет реализации перестановок с повторени ми.The purpose of the invention is to expand the functionality by implementing permutations with repetitions.

Поставленна  цель достигаетс  тем, что в устройство введен блок разраиени  выдачи, причем выходы i-ro (i ) счетчика подключены ко входам i-й группы блока разрешений выдачи , при этом каждый илход счетчика подсоединен к первому входу соответствующего элемента И группы, второй вход которого соединен с выходом блока разрешени  выдачи.The goal is achieved by the fact that a dispensing block is inserted into the device, the i-ro (i) outputs of the counter are connected to the inputs of the i-th group of the issuing permission block, each counter of the counter being connected to the first input of the corresponding I group, the second input of which connected to the output of the output permitting unit.

Блок разрешени  выдачи содержит (к-1) группы элементов И, (е-1) пвходовых сумматора и элемент И, причем входы каждого i-ro элемента И j-Я (. к-1) группы соединены со входамиi-й группы блока разрешени  выдачи, а выходы элементов И J-и группы подключены ко входам j-rd сумматора, при этом выходы всех сумматоров подсоединены ко входам элемента И, выход которого,  вл етс  выходом блока разрешени  выдачи.The issuing permission block contains (k-1) groups of elements AND, (e-1) of the input adders and element AND, with the inputs of each i-ro element AND j-I (k. 1) of the group connected to the inputs of the i-th group of the resolution block the outputs, and the outputs of the elements AND of the J-group are connected to the inputs of the j-rd adder, while the outputs of all the adders are connected to the inputs of the element I, the output of which is the output of the output permitter unit.

разрешени  выдачи содержит Сп, схем сравнени  и элемент ИЛИ-НЕ, причем входы Е-й (i 1, cj ) схем рравнени  первой и второй групп  вл ютс  входами соответств но S-й (, п) и t-й (t I,,) групп блока разрешени  выдачи, при этом S t и дл  любых двух схем сравнен пары S., t не равны между собой, а выходы всех схем сравнени  подключе ны ко входам элемента ИЛИ-НЕ, выход которого  вл етс  выходом блока раз решени  выдачи. На фиг. 1 изображена структурна  схема устройства дл  перебора комби наторных выборок; на фиг. 2 - функциональна  схема устройства дл  генерировани  перестановок с повторени ми из п ти элементов (п 2, п,- 1, п 2, п п 3 5) на фиг. 3 представлена функциональна  схема устройства дл  генерирова ни  размещений из п ти элементов по три (т 5, п 3); на фиг. 4 вариант 5-ти входового сум%1атора. Устройство дл  перебора комбинаторных вЬаборок (фиг. 1) содержит ,п последовательно соединенных счетчиков 1, группу 2 элементов И, блок разрешени  выдачи. Выходы элементов И группы 2  вл ютс  выходами устройства , а входом устройства  вл ет с  вход п-го счетчика 1. Выходы i-r ( i 1, n) счетчика 1 подключены ко входам i-й группы блока 3 разрешени выдачи, при этом каждый выход счетчика 1 подсоединен к первому входу соответствующего элемента И группы второй вход которого соединен с вы ходом блока 3 разрешени  выдачи. Устройство дл  генерировани  пер становок с повторени ми Р(2,1,2) (фиг. 2) содержит п ть счетчиков 4-8, группу 9 элементов И, блок 10 разрешени  выдачи, в состав которог вход т группа 11 элементов И 12-16, группа 17 элементов И 18-22,два 5входовых сумматора 23 и 24, элемент И 25. Коэффициенты пересчета всех счетчиков равны 3.Выход каждого последующего счетчика подключен ко входу предыдущего, а вход последнег счетчика соединен с шиной 26 тактовых импульсов. Каждый выход счетчика подсоединен к первому входу соот ветствующего элемента И группы 9, второй вход которого соединен с выходом блока 10 разрешени  выдачи. (ы счетчика 4 подключены ко вхо дам .элементов И 12 группы 11, И 18 rpyiifM 17. Выходы счетчика 5 подсое динены ко входам элементов И 13 группы 11, И 19 группы 17. Выходы счетчика 6 подключены ко входам эле ментов И 14 группы 11, и 20 группы 17. Выходы счетчика 7 подсоединены ко входам элементов И 15 группы 11, И 21 группы 17. Йлходы счетчика ,8 подключены ко входам элементов И 16 группы 11, И 22 группы 17. Один из возможных вариантов построени  5-входового сумматора показан на фиг. 4. Сумматор содержит два одноразр дных сумматора 27 и 28 на два входа, два одноразр дных сумматора 29 и 30 на три входа. аыходы элементов И 12-16 группы . 11 подключены ко входам 5-входового сумматора 23. Выходы элементов И 1822 группы 17 подсоединены ко входам 5-входового сумматора 24. Выходы сумматоров 23 и 24 подключены ко входам элемента И 25, выход которого  вл етс  выходом блока 10 разрешени , выдачи. Устройство дл  генерировани  размещений А 5 (фиг. 3) содержит три счетчика 31-33, группу 34 элементов И, блок 35 разрешени  выдачи, в состав которого вход т три cxeivEJ сравнени  36-38, элемент ИЛИ-НЕ 39. Один из возможных вариантов построени  схемы сравнени  представлен на фиг.З, Коэффициенты пересчета равенств кодов всех счетчиков равны 5. Выход каждого последующего счетчика подключен ко входу предыдущего, а вход последнего счетчика соединен с шиной тактовых импульсов 40. Каждый выход счетчика подсоединен к первому входу соответствующего элемента И группы 34, второй вход которого, соединен с выходом блока 35 разрешени  выдачи. Выходы счетчика 31 подключены к первой группе входов 36и 37 схем сравнени . Выходы счетчика 32 подключены ко второй группе входов 36.схемы сравнени  и подсоединены к первой группе входов 38 схемы сравнени . Выходы счетчика 33 подключены ко второй группе входов 37и 38 схем сравнени . Выходы 36-38 схем сравнени  подсоединены ко входам элемента ИЛИ-НЕ 39,- выход которого  вл етс  выходом блока 35 разрешени  выдачи. В режиме генерировани  перестановок с повторени ми устройство работает следующим образом (фиг. 2). На выход 5-входового сумматора поступает двоичный код числа входов, на которые поступили единичные сигналы. На вход 8 счетчика с шины 26 поступает первый тактовый импульс и устанавливает счетчики 4, 5, 6, 7, и 8 .соответственно в состо ни  ,1,2 и, 2. На выходы старших и младших разр дов счетчиков 4,5,6,7 и 8 поступают соответственно сигналы 00,00,01,10 и 10. Нулевые сигналы с выходов счетчиков 4 и 5 поступают на инверсные входы соответственно элементов И 12, И 13, единичные сигналы с выходов которых поступают на первый и второй входы сумматора 23. Единичный сигнал с выхода младшего разр да счетчика 6 закрывает элемент И 14. Единичные the output resolution contains Cn, the comparison circuits and the OR-NOT element, and the inputs of the E th (i 1, cj) of the first and second groups of comparison circuits are the inputs of the S th (, n) and t th (t I, ,) the output resolution block groups, while S t and for any two circuits are compared pair S., t are not equal to each other, and the outputs of all comparison circuits are connected to the inputs of the OR-NOT element whose output is the output of the output resolution block . FIG. 1 shows a block diagram of a device for iterating over combinatorial samples; in fig. 2 is a functional diagram of an apparatus for generating permutations with repetitions of five elements (n 2, n, −1, n 2, n n 3 5) in FIG. 3 shows a functional diagram of the device for generating allocations of five elements of three (m 5, p 3); in fig. 4 variant of 5 input sum% 1ator. A device for sorting out combinatorial loops (Fig. 1) contains, n series-connected counters 1, a group of 2 elements I, an issuing permission block. The outputs of the elements And group 2 are the outputs of the device, and the input of the device is from the input of the nth counter 1. The outputs ir (i 1, n) of the counter 1 are connected to the inputs of the i-th group of the issuing permission block 3, each output of the counter 1 is connected to the first input of the corresponding element AND of the group, the second input of which is connected to the output of the issuance resolution unit 3. A device for generating permits with repetitions P (2, 2, 2) (Fig. 2) contains five counters 4-8, group 9 of elements I, block 10 of issuing permission, composed of group 11 of elements 11 and 12 16, a group of 17 elements And 18-22, two 5-input adders 23 and 24, element And 25. The conversion factors for all counters are 3. The output of each subsequent counter is connected to the previous input, and the input of the last counter is connected to the clock bus 26. Each counter output is connected to the first input of the corresponding element AND of group 9, the second input of which is connected to the output of the dispensing resolution unit 10. (The meters 4 are connected to the inputs of the elements And 12 of group 11, And 18 rpyiifM 17. The outputs of the counter 5 are connected to the inputs of the elements And 13 of group 11, And 19 of the group 17. The outputs of the counter 6 are connected to the inputs of the elements And 14 of group 11 , and 20 groups 17. The outputs of the counter 7 are connected to the inputs of elements 15 of group 11, and 21 of group 17. The meters of the counter, 8 are connected to the inputs of elements 16 of group 11, and 22 of group 17. One of the possible options for building a 5-input adder shown in Fig. 4. The adder contains two one-digit adders 27 and 28 for two inputs, two one-digit adders 29 and 30 to three inputs. The outputs of the elements And 12-16 groups. 11 are connected to the inputs of the 5-input adder 23. The outputs of the elements And 1822 of group 17 are connected to the inputs of the 5-input adder 24. The outputs of the adders 23 and 24 are connected to the inputs of the element And 25 The output of which is the output of resolution unit 10, the issuance. The device for generating arrangements A 5 (FIG. 3) contains three counters 31-33, a group of 34 elements And, block 35 of issuing permission, which includes three comparisons 36- 38, element OR-NOT 39. One of the possible options for building a comparison scheme is en on fig.Z. The coefficients for recalculating the equality of the codes of all counters are 5. The output of each subsequent counter is connected to the input of the previous one, and the input of the last counter is connected to the clock pulse bus 40. Each output of the counter is connected to the first input of the corresponding element And group 34, the second input which is connected to the output of the issuance permit block 35. The outputs of the counter 31 are connected to the first group of inputs 36 and 37 of the comparison circuits. The outputs of the counter 32 are connected to the second group of inputs 36. comparison circuit and connected to the first group of inputs 38 of the comparison circuit. The outputs of the counter 33 are connected to the second group of inputs 37 and 38 of the comparison circuit. The outputs 36-38 of the comparison circuit are connected to the inputs of the element OR-HE 39, the output of which is the output of the issue permitting unit 35. In the mode of generating permutations with repetitions, the device operates as follows (Fig. 2). The output of the 5-input adder receives a binary code of the number of inputs to which single signals have arrived. The first clock pulse arrives at the input 8 of the counter from the bus 26 and sets the counters 4, 5, 6, 7, and 8 respectively to 1.2 and 2. At the outputs of the high and low bits of counters 4,5,6 , 7 and 8, respectively, signals 00,00,01,10 and 10 arrive. Zero signals from the outputs of counters 4 and 5 are fed to the inverse inputs of the And 12, And 13 elements, respectively, the single signals from the outputs of which go to the first and second inputs of the adder 23 The single signal from the low-bit output of counter 6 closes the element And 14. The single

сигналы с выходов старших разр дов счетчиков 7 и 8 закрыв.гиот соответйтвенно элементы И 15, И 16. Нулевые сигналы с выходов элементов И 14, И 15, И 16 поступают соответственно на третий, четвертый и п тый входы сумматора 23. С выходов сумматораthe signals from the outputs of the higher bits of the counters 7 and 8 of the closing signals respectively the elements 15 and 16. The zero signals from the outputs of the elements 14 and 15, and 16 are fed to the third, fourth and fifth inputs of the adder 23. From the outputs of the adder

23сигналы 0,1 и О поступают на входы элемента И 25.23 signals 0.1 and O are fed to the inputs of the element And 25.

Нулевые сигналы с выходов младших разр дов счетчиков 4, 5, 7 и 8 закрывают соответственно элементы И 18, и 19, И 21, И 22, нулевые сигналы с выходов которых пoctyпaютJнa первый/ второй, четвертый и п тый входы сумматора 24. Нулевой сигнал с выхода старшего разр да счетчика 6 открывает элемент И 20, через который единичный сигнал с выхода младаего разр да счетчика 6 проходит на третий вход сумматора 24, С выходов сумматора 24 сигналы 1, О и О поступают на входы элемента И 25,Zero signals from the low-order outputs of counters 4, 5, 7 and 8 are covered by elements 18 and 19, 21 and 22, respectively, and zero signals from the outputs of which output the first / second, fourth and fifth inputs of the adder 24. Zero signal from the output of the high bit of the counter 6 opens element I 20, through which a single signal from the output of the low bit of counter 6 passes to the third input of the adder 24, From the outputs of the adder 24, signals 1, O and O arrive at the inputs of the element I 25,

Единичный сигнал с выхода элемента И 25 открывает элементы И группы 9 и разрешает выдачу кодов состо ний счетчиков 4-8, Таким образом , на первом такте работы реализуетс  перва  перестановка с повто рени ми 00122, где номера позиций цифр в перестановке соответствуют номерам счетчиков, а цифры, сто щие на этих позици х, соответствуют дес тичной записи двоичных кодов состо ний счётчиков.A single signal from the output of the AND 25 element opens AND elements of group 9 and permits the issuance of state codes of counters 4-8. Thus, the first cycle of operation implements the first permutation with repeats 00122, where the position numbers of the digits in the permutation correspond to the counter numbers, and the digits at these positions correspond to the decimal notation of the binary codes of the states of the counters.

На.вход счетчика 8 с шины 26 поступает второй тактовый импульс и устанавливает счетчики 4-8 соответственно в состо ни  0,0,2,0 и О, На выходы счетчиков 4-8 поступают соответственно сигналы 00,00,10,00 и 00.The second clock pulse arrives at the input of the counter 8 from the bus 26 and sets the counters 4-8 respectively to the state 0,0,2,0 and О, the outputs of the counters 4-8 receive the signals 00,00,10,00 and 00 respectively .

Нулевое сигналы .с выходов младших разр дов счетчиков 4-8 закрывают соответственно элементы И 18-22, нулевые сигналы с выходов которых поступают на все входы сумматора24. Нулевые сигналы с выходов сумматораZero signals. The outputs of the lower bits of counters 4-8 are covered by elements AND 18-22, respectively, the zero signals from the outputs of which arrive at all inputs of the adder24. Zero signals from the outputs of the adder

24закрывают элемент И 25, нулевой сигнсш с выхода которого запрещает выдачу кодов состо ний счетчиков 4-8.24 closes the element And 25, the zero signal from the output of which prohibits the issuance of status codes of counters 4-8.

На вход 8 счетчика с шины 26 поступает третий тактовый импульс и устанавливает счетчики 4-8 соответственно в состо ни  0,0,2,0 и 1,The third clock pulse arrives at the input 8 of the counter from the bus 26 and sets the counters 4-8, respectively, to the state 0,0,2,0 and 1,

На выходы счетчиков 4-8 поступают соответственно сигналы 00,00,10,00 и 01,The outputs of the counters 4-8 receive signals 00,00,10,00 and 01, respectively,

Нулевые сигнашы с выходов 4,5 и счетчиков поступают на инверсные входы соответственно элементов И 12 И 13, И 15, единичные сигналы с выходов которых поступают на первый, второй и четвертый входы сумматора 23, Сигналы 1,1 и Ос выходов суЗМматора 23 закрывают элемент И 25, нулевой сигнал с выхода которого зап5«цает выдачу кодов состо ний счетчиков 4-8, Zero signals from outputs 4.5 and counters arrive at the inverse inputs of the And 12 And 13, And 15 elements, respectively, single signals from the outputs of which go to the first, second and fourth inputs of the adder 23, Signals 1.1 and Oct of the outputs of the SumMmator 23 close the element And 25, the zero signal from the output of which zap5 "ztats the issuance of state codes of counters 4-8,

На Егход счетчика 8 с шины 26 поступает седьмой тактовый импульс. На выходы счетчиков 4-8 поступают соответственно сигналы 00,00,10,01 и 10. Нулевые сигналы с выходов счетчиков 4 и 5 поступают на инверсные входы соответственно элементов И 12, И 13, единичные сигналы с выходов которых поступают на первый и второй входы сумматора 23.On the Drive of the counter 8 from the bus 26 enters the seventh clock pulse. The outputs of the counters 4-8 receive signals 00,00,10,01,01 and 10, respectively. Zero signals from the outputs of counters 4 and 5 are fed to the inverse inputs of the And 12, And 13 elements, respectively, the single signals from the outputs of which go to the first and second inputs adder 23.

С выходов сумматора 23 сигналы From the outputs of the adder 23 signals

0 0,1 и О поступают на входы элемента И 25,0 0,1 and About arrive at the inputs of the element And 25,

Нулевой сигнал с выхода старшего разр да счетчика 7 открывает элемент И 21, через который единичный сигнал с выхода младшего разр да счетчика 7 A zero signal from the output of the high bit of counter 7 opens element I 21, through which a single signal from the output of the low bit of counter 7

5 проходит на четвертый вход сумматора 24, С выходов сумматора 24 сигналы 1,0 и О поступают на входы элемента И 25.5 passes to the fourth input of the adder 24, From the outputs of the adder 24, the signals 1.0 and O are fed to the inputs of the element And 25.

Единичный сигнал с выхода элемен0 та И 25 открывает элементы И группы 9 и разреиает выдачу кодов состо ний счетчиков 4-8, Таким образом, на седьмом такте работы реализуетс  втора  перестановка с повторени ми 00212.A single signal from the output of the AND 25 element opens AND elements of group 9 and permits the issuance of state codes of counters 4-8. Thus, the second permutation with repeats 00212 is realized on the seventh cycle of operation.

5five

Работа устройства иллюстрируетс  табл. 1, в которой представлены состо ни  счетчиков 4-8, Те такты, в которых устройство генерирует перестановки с пocтopeни  и Р(2,1,2), про0 нумерованы.The operation of the device is illustrated in table. 1, in which the states of counters 4–8 are presented. Those cycles in which the device generates permutations from another and P (2, 1, 2) are numbered.

На последнем такте работы устройства , реализуетс  тридцата  перестанов- ка с повторени ми 22100,At the last operation cycle of the device, a thirtieth permutation with repetitions of 22100 is realized,

В режиме генерировани  размещений устройство работает следующим обра;5 зом (фиг, 3) ,In the mode of generating allocations, the device operates as follows (5, FIG. 3),

На выход схемы равенства поступает единичный сигнал в случае равенства кодов, поступающих на входы схемы равенства первой и второй групп.The output of the equality circuit receives a single signal in the case of equality of codes arriving at the inputs of the equality circuit of the first and second groups.

00

На вход счетчика 33 с щины 40 поступает пер1аый тактовый импульс и устанавливает счетчики 31-33 соответственно в состо ни  0,1 и 2. На вцходы старших, средних и младших разр дов The first clock pulse arrives at the input of the counter 33 of the region 40 and sets the counters 31-33 to the state of 0.1 and 2, respectively. At the high, middle and junior bits

5 счетчиков 31-33 поступают соответственно сигналы 000, 001 и 010,5 counters 31-33 receive signals 000, 001 and 010 respectively,

С выходов счетчиков 31 и 32 сигналы 000 и 001 поступают соответственно на первую и вторую группы входов схемы 36 сравнени , С выходов счет0 чиков 31 и 33 сигнала 000 и 010 поступают соответственно на первую и вторую группы входов схемы 37 срав , нени . С выходов счетчиков 32 и 33-сигналы 001 и 010 поступают соответст5 венно на первую и вторую группы вхо .дов схеглл сравнени  38, Нулевые-сигналы с выходов схем 36-38 сравнени  поступают на входы элемента ИЛИ-НЕ 39, единичный сигнал с.выхода которого From the outputs of the counters 31 and 32, signals 000 and 001 come to the first and second groups of inputs of the comparison circuit 36, respectively. From the outputs of the counters 31 and 33 of the signals 000 and 010, go to the first and second groups of inputs of the comparison circuit 37, respectively. From the outputs of the counters 32 and 33-signals 001 and 010, respectively, go to the first and second groups of inputs. Comparison circuits 38, Zero-signals from the outputs of the comparison circuits 36-38 go to the inputs of the OR-NOT 39 element, the single signal from the output whom

0 открывает элементы И группы 34- и разрешает выдачу кодов состо ний счетчиков 31-33,0 opens the AND elements of group 34- and allows the issuance of status codes of counters 31-33,

Таким образом, на первом такте работы реализуетс  первое размещение Thus, on the first tact of work the first placement is realized

5 012, где номера позиций цифр в р змещении соответствуют номерам счетч ков, а цифры/ сто щие на этих позиц  х, соответствуют дес тичной записи двоичный кодов состо ний счетчиков. На вход 33 счетчика с шины 40 по тупает второй тактовый импульс и ус танавливает счетчики 31-33 соответс венно в состо ние 0,1 и 2. На выход старших, средних и младших разр дов счетчиков 31-33 поступают соответст венно сигналы 0.00, 001 и 011, С выходов счетчиков 31 и 32 сигналы 000 и 001 поступают соответственно на первую и вторую группы вхо дов схемы равенства кодов 26. С выходов счетчиков 31 и 33 сигналы 000 и 011 поступают соответственно на пе вую и вторую группы входов схемы 13 сравнени ; С выходов счетчиков 32 и 33 сигналы 001 и 011 поступают соответственно на первую и вторую группы входов схемы 38 сравнени . Нулевые сигналы с выходов схем 36-38 сравнени  поступают -на входы элемента ИЛИ-НЕ 39, единичный сигнал с выхода которого открывает элементы И группы 34 и разрешает выдачу кодов состо ний счетчиков 31-33. Таким образом, на втором такт® работы реализуетс  второе размещение 013. На вход счетчика 33 с шины 40 поступает четвертый тактовый импульс и устанавливает счетчики 31-33 соответственно в состо ни  0,2 и 0. На выходы старших, средних и младших разр дов счетчиков 31-33 поступают соответственно сигналы 000, 010 и 000. С выходов счетчиков 31 и 32 сигналы 000 и 010 поступают соответственно на первую и вторую группы входов схемы 36 сравнени . G выходов счетчиков 31 и 33 сигналы 000 и 000 поступают соответственно на первую и вторую группы входов схелы 37 сравнени . С выходов счетчиков 32 и 33 сигналы 010 и 000 поступают соответственно на первую и вторую группы входов схемы 38 сравнени . С выходов схем 36-38 сравнени  сигналы 0,1 и О поступают на входы элемента ИЛИ-НЕ 39, нулевой сигнал с выхода которого закрывает элементы И группы 34 и запрещает выдачу кодов состо ний счетчиков 31-33. Работа устройства иллюстрируетс  табл. 2, в которой представлены состо ни  счетчиков 31-33. Те такты, в которых устройство генерирует размещени  А , пронумерованы. На последнем такте работы устройства реализуетс  шестидес тое размещение 432. Известное устройство обеспечивает последовательный перебор сочетаНИИ С при всех значени х п, начина  с единицы. По сравнению с ним предлагаемое устройство расшир етфункциональные возможности, за счет реализации всех Р (п , п,.,,. ,,« ,) перестановок с повторени ми кодов состо ний п + п 2. ..+ п у счетчиков с коэффициентами пересчета, равными к, всех А размещений кодов состо ний п счетчиков с коэффициентами перес«ета , равными т. В случае равенства коэффициента, пересчета к (или га) числу счетчиков )п, предлагаемое устройство реализует все nf перестановок кодов состо ний счетчиков. Предлагаемое изобретение может быть использовано при решении комбинаторных задач (перечисление полиномиальных коэффициентов,, вычисление перманентов),.а также задач вычислительной математики (раскрытие определителей матриц). Указанные задачи известное устройство решить не может. Предлагаетс  внедрение изобрёте-. ни  в производство на ПО ЭЛЕКТРОННАШ, а также в систему обработки данных , разрабатываемую кафедрой вычислительной техники совместно с СКВ ММС ИК АН УССР.5 012, where the position numbers of the digits in the arrangement correspond to the numbers of the counters, and the digits / figures on these positions correspond to the decimal notation of the binary codes of the counters. The second clock pulse arrives at the input 33 of the counter from the bus 40 and sets the counters 31-33 to the 0.1 and 2, respectively. The signals of 0.00, 001 arrive at the output of the higher, middle, and lower digits of the counters 31-33, respectively. and 011, From the outputs of the counters 31 and 32, signals 000 and 001, respectively, arrive at the first and second groups of inputs of the equality circuit of codes 26. From the outputs of the counters 31 and 33, signals 000 and 011 go to the first and second groups of inputs of the comparison circuit 13, respectively; From the outputs of counters 32 and 33, signals 001 and 011 are fed to the first and second groups of inputs of the comparison circuit 38, respectively. Zero signals from the outputs of the comparison circuits 36-38 arrive at the inputs of the OR-NOT 39 element, a single signal from the output of which opens the AND elements of the group 34 and allows the issuance of state codes of the counters 31-33. Thus, in the second cycle of operation, the second placement 013 is realized. The fourth clock pulse arrives at the input of the counter 33 from the bus 40 and sets the counters 31-33 respectively to the state of 0.2 and 0. The outputs of the higher, middle, and lower bits of the counters 31-33, signals 000, 010 and 000, respectively, arrive. From the outputs of the counters 31 and 32, signals 000 and 010, respectively, arrive at the first and second groups of inputs of the comparison circuit 36. The G outputs of the counters 31 and 33, the signals 000 and 000, arrive respectively at the first and second groups of inputs of the Schecel 37 comparison. From the outputs of the counters 32 and 33, the signals 010 and 000 go to the first and second groups of inputs of the comparison circuit 38, respectively. From the outputs of the comparison circuits 36-38, the signals 0.1 and O are fed to the inputs of the element OR-NOT 39, the zero signal from the output of which closes the AND elements of group 34 and prohibits the issuance of status codes of counters 31-33. The operation of the device is illustrated in table. 2, in which the states of the counters 31-33 are presented. The cycles in which the device generates placements A are numbered. At the last cycle of operation of the device, the sixty placement 432 is realized. The known device provides a sequential search for the combination C with all values of n, starting from one. In comparison with this, the proposed device expands its functional capabilities, due to the implementation of all P (n, n,.,., ,,,), permutations with repetitions of state codes n + n 2. .. + n at counters with conversion factors equal to k, of all A placements of state codes n counters with coefficients peresta, equal to m. In case of equality of the coefficient, recalculation to (or ha) the number of counters) n, the proposed device implements all nf permutations of state code counters. The invention can be used to solve combinatorial problems (enumeration of polynomial coefficients, calculation of permanents), as well as problems of computational mathematics (disclosure of determinants of matrices). These tasks are not known to solve the device. An implementation of the invention is proposed. neither in the production at ELECTRONNASH, as well as in the data processing system developed by the department of computer technology together with the SCR MMS IC of the Ukrainian Academy of Sciences.

Перестановки с повторени миPermutations with repetitions

i:f::i:i:r::f::: :j:i:L:i:: ::::ii: f :: i: i: r :: f :::: j: i: L: i :: :::: i

ТаблицаTable

Claims (3)

Продолжение табл. 1 Формула изобретени  1.Устройство дл  перебора комбинаторных выборок, содержащее п последовательно соединенных к-разр д ных счетчиков и группу элементов И, выхо ды которых  вл ютс  выходами устройст ва, а входом устройства  вл етс  вход п-го счетчика, о тличающеес   тем, что, с целью расширени  функциональных возможностей за счет реализации, всех перестановок с повторени ми и всех размещений, устройство содержит блок разрешени  выдачи,причем выходы i-ro(,...п) счетчика подключены к входам i-й группы блока разрешени  выдачи, при этом каждый выход счетчика подсоединен к первому входу соответствующего Элемента И групгйл, второй вход которого соединен с выходом блока разрешени  выдачи. Continued table. 1 Claim 1. A device for iterating over combinatorial samples, containing n series-connected k-bit counters and a group of elements AND, whose outputs are the device's outputs, and the device's input is the input of the n-th counter, differently that, in order to extend the functionality due to the implementation of all permutations with repetitions and all layouts, the device contains an issuing permission block, with the i-ro (, ... n) outputs of the counter being connected to the inputs of the i-th group of the issuing permission block, with each the output of the counter is connected to the first input of the corresponding Element And groupgill, the second input of which is connected to the output of the output permitting unit. 2.Устройство по п. 1, о т л и ч а ю щ ее с   тем, что блок разре шени  выдачи содержит (к-1) группы элементов И, (к-1) п-входовых сумматора и элемент И, причем входы каждого i-ro элемента И j-й (, к-1) группы соединены с входами i-й группы блока разрешени  выдачи, а выходы2. The device according to claim 1, that is, so that the issuing permission block contains (k-1) groups of elements I, (k-1) n-input adders and element I, and the inputs each i-ro element AND j-th (, k-1) of the group are connected to the inputs of the i-th group of the issuance resolution block, and the outputs Продолжение табл, 2 элементов И j-й группы подключены к входам j-ro сумматора, при этом выходы всех сумматоров подсоединены ко входам элемента И, выход которого  вл етс  выходом блока разрешени  выдачи, A continuation of the table, 2 elements of the j-th group are connected to the inputs of the j-ro adder, while the outputs of all adders are connected to the inputs of the element I, the output of which is the output of the output resolution block, 3. Устройство поп,1, отличающеес  тем, что блок разрешени  илдачи содержит С схем сравнени  и элемент ИЛИ-НЕ, причем входы 8-й(, С схема сравнени  перво и второй групп  вл ютс  входами соответственно (S l,.njl И t-й (t 1, n) групп блока разрешени  выдачи, при этом S t и дл  любых двух схем сравнени  пары S, t не равны между собой, а выходы всех схем сравнени  подключены к входам элемента ИЛИ-НЕ, выход которого  вл етс  выходом блока разрешени  выдачи . Источники информации, при112тые во внимание при экспертизе 1.Авторское свидетельство СССР № 446057, кл. G Об F 15/20, 1974. 2.Авторское свидетельство CCCI №374606, кл. G 06 F 15/20, 1973 (прототип). A /3. The device is pop, 1, characterized in that the resolution block is C of the comparison circuits and the element OR NOT, and the inputs of the 8th (C, the comparison circuit of the first and second groups are the inputs respectively (Sl, .njl and t th (t 1, n) groups of the output resolution block, with S t and for any two comparison circuits of the pair S, t are not equal to each other, and the outputs of all comparison circuits are connected to the inputs of the OR-NOT element whose output is the output issuance permitting unit. Sources of information attached to consideration during the examination 1. USSR author's certificate No. 446057, class G About F 1 5/20, 1974. 2. Certificate of CCCI No. 374606, class G 06 F 15/20, 1973 (prototype). A / /. V/. V / // / i i 5five uu /f/ f I/I / 2J2J .J.J -- - 2f2f iJLiJL L.L. LIL I 2LIL I 2
SU772556228A 1977-12-16 1977-12-16 Device for scanning combinatorial samples SU842787A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU772556228A SU842787A1 (en) 1977-12-16 1977-12-16 Device for scanning combinatorial samples

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU772556228A SU842787A1 (en) 1977-12-16 1977-12-16 Device for scanning combinatorial samples

Publications (1)

Publication Number Publication Date
SU842787A1 true SU842787A1 (en) 1981-06-30

Family

ID=20738550

Family Applications (1)

Application Number Title Priority Date Filing Date
SU772556228A SU842787A1 (en) 1977-12-16 1977-12-16 Device for scanning combinatorial samples

Country Status (1)

Country Link
SU (1) SU842787A1 (en)

Similar Documents

Publication Publication Date Title
SU842787A1 (en) Device for scanning combinatorial samples
US3716843A (en) Modular signal processor
SU995093A1 (en) Device for permutation exhaustive search
SU938280A1 (en) Device for number comparison
SU720718A1 (en) Voltage to time interval converter
SU1606973A1 (en) Device for sorting numbers
SU1367166A1 (en) Code converter
SU771660A1 (en) Binary-to-bunary-decimal code converter
SU1339900A1 (en) Device for checking uniformly weighted code
SU1691833A1 (en) Apparatus for sorting numbers
SU1444760A1 (en) Device for squaring a sequential series of numbers
SU641443A1 (en) Mn-digit number comparator
SU1383336A1 (en) Device for ordering array of numbers
SU830377A1 (en) Device for determining maximum number code
SU864340A1 (en) Information shifting device
SU798810A1 (en) Device for comparing code weights
RU1795455C (en) Device for counting non-zero bits in binary number
SU679977A1 (en) Digit comparator
SU454548A1 (en) Node for sorting information
SU1005302A1 (en) Device for converting voltage into code residual class system
SU450162A1 (en) Tunable phase-pulse multi-stable element
SU857982A1 (en) Square rooting device
SU1091145A1 (en) Walsh function generator
SU1517021A1 (en) Computing device
SU826340A1 (en) Device for sorting mn-digit numbers