RU1809444C - Device for exhaustion of combinations - Google Patents

Device for exhaustion of combinations

Info

Publication number
RU1809444C
RU1809444C SU4887416A RU1809444C RU 1809444 C RU1809444 C RU 1809444C SU 4887416 A SU4887416 A SU 4887416A RU 1809444 C RU1809444 C RU 1809444C
Authority
RU
Russia
Prior art keywords
output
input
counter
comparison circuit
elements
Prior art date
Application number
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 SU4887416 priority Critical patent/RU1809444C/en
Application granted granted Critical
Publication of RU1809444C publication Critical patent/RU1809444C/en

Links

Landscapes

  • Pulse Circuits (AREA)

Abstract

Изобретение относитс  к вычислительной технике и автоматике. Цель изобретени  - увеличение быстродействи  - достигаетс  тем, что устройство содержит М элементов И, М счетчиков, М схем сравнени , М + 1 регистров , М 1 сумматоров, М-2 элементов ИЛИ, 2М-3 элементов задержки, генератор тактовых импульсов, что позвол ет реализовать переборы М чисел из N-злемвнтного массива в соответствии с математической функцией у CNM. 1 ил.The invention relates to computing and automation. The purpose of the invention is the increase in speed is achieved by the fact that the device contains M AND elements, M counters, M comparison circuits, M + 1 registers, M 1 adders, M-2 OR elements, 2M-3 delay elements, a clock generator, which allows It is possible to implement enumerations of M numbers from an N-element array in accordance with the mathematical function of CNM. 1 ill.

Description

Изобретение относитс  к цифровой вычислительной технике и может быть использовано дл  решени  комбинаторных задач.The invention relates to digital computing and can be used to solve combinatorial problems.

Цель изобретени  - увеличение быстродействи .The purpose of the invention is to increase speed.

На чертеже представлена структурна  схема предлагаемого устройства.The drawing shows a structural diagram of the proposed device.

Устройство содержит генератор тактовых импульсов (ГТИ) 1, М элементов И 21,..,2м, М + 1 регистров 31,...,3м-н, М схем сравнени  41,-...,4м. триггер 5, М счетчиков 6i,...,6w, 2м-з элемента задержки 7i,...,72M-3, М-2 элементов ИЛИ 81,...,8м-2, М-1 сумматоров 9ь...,9м-1. При этом выход ГТИ1 соединен с первым входом первого 2i элемента И, выход i-ro регистра 3i (i 1 ,М) соединен с первым входом 1-й А схемы сравнени , второй вход первого 2т элемента И соединен с выходом триггера 5, входы установки в единицу и ноль которого соединены соответственно с входом запуска устройства и выходом M-й схемы сравненид 4м. Первый вход J-ro элемента И 2j (j 2,M) соединен с выходом (j-1)-ro элемента И и счетным входом i-ro счетчика 6j, выход которого соединен с i-м выходом устройства и вторым входом i-й схемы сравнени  4i, выход k-й схемы сравнени  4k (к 1, М-1) соединен с вторым входом j-ro элемента И 2j, выход которого соединен с входом k-ro элеме нта задержки 7k. выход р-го из которых (р 1, М-2) соединен с первым входом р-го элемента ИЛИ 8р, выход которого соединен с синхровходом р-го счетчика 6р, установочный вход k-ro из которых соединен с выходом k-ro сумматора 9k, первый и второй входы которого соединены соответственно с выходом (М+1)-го регистра Зм+1 и входом j-й схемы сравнени  4j. Синх- ровход (М-1)-го счетчика 6м-1 соединен с выходом (М-1)-го элемента задержки 7м-1 и входом (2М-3)-го элемента задержки 72М-3, второй вход р-го элемента ИЛИ 8Р соединен с выходом S-ro элемента задержки 7§(Зл-М. 2М-3), вход t-ro из которых 7t (t М 2М-4) соединен с выходом 1-го элемента ИЛИ 8| (1 2, М-2).The device comprises a clock pulse generator (GTI) 1, M elements And 21, .., 2m, M + 1 registers 31, ..., 3m-n, M comparison circuits 41, -..., 4m. trigger 5, M counters 6i, ..., 6w, 2m-3 of the delay element 7i, ..., 72M-3, M-2 elements OR 81, ..., 8m-2, M-1 adders 9b .. ., 9m-1. In this case, the output of the GTI1 is connected to the first input of the first 2i element And, the output of the i-ro register 3i (i 1, M) is connected to the first input of the 1st A comparison circuit, the second input of the first 2t element And is connected to the output of the trigger 5, installation inputs to the unit and zero of which are connected respectively to the input of the start of the device and the output of the Mth circuit of comparison 4m. The first input J-ro of the element And 2j (j 2, M) is connected to the output (j-1) -ro of the element And and the counting input i-ro of the counter 6j, the output of which is connected to the i-th output of the device and the second input of the i-th comparison circuit 4i, the output of the kth comparison circuit 4k (k 1, M-1) is connected to the second input j-ro of the AND element 2j, the output of which is connected to the input of the k-ro delay element 7k. the output of the r-th of which (p 1, M-2) is connected to the first input of the r-th element OR 8p, the output of which is connected to the clock input of the r-th counter 6p, the installation input k-ro of which is connected to the output of the k-ro adder 9k, the first and second inputs of which are connected respectively to the output of the (M + 1) -th register 3m + 1 and the input of the jth comparison circuit 4j. The synchro-input of the (M-1) -th counter 6m-1 is connected to the output of the (M-1) -th delay element 7m-1 and the input of the (2M-3) -th delay element 72M-3, the second input of the r-th element OR 8Р is connected to the S-ro output of the delay element 7§ (Зл-М. 2М-3), the t-ro input of which 7t (t М 2М-4) is connected to the output of the 1st element OR 8 | (1 2, M-2).

Устройство дл  перебора сочетаний работает следующим образом. В регистр Зм+1 занесен код единицы. В регистры ,31, 32,....Зм. а также в счетчики 6i, 62,...,6м зане00A combination enumerator operates as follows. The unit code is entered in the register Зм + 1. To the registers, 31, 32, .... Zm. as well as meters 6i, 62, ..., 6m

о юabout y

ЬьB

сены коды чисел N, N-1.....N-M+1 соответственно . По сигналу ПУСК триггер 5, устанавлива сь в единичное состо ние, открывает элемент 2i И и на счетный вход счетчика 6i начинают поступать импульсы от ГТИ1. В тот момент, когда содержимое счетчика 6i сравн етс  с кодом, записанном в регистре 3j, на выходе схемы сравнени  4i по витс  сигнал логической единицы. Этот сигнал открывает схему 22 И и последующий импульс, проход  через нее, увеличивает на единицу содержимое счетчика 62, а спуст  некоторое врем , равное времени задержки этого импульса в элементе 7i задержки , оно переписываетс , увеличива сь на единицу в сумматоре 9i, в счетчик 6i. Процесс происходит до тех пор, пока содержимое счетчика 6т не сравн етс  с содержимым регистра 3i, а содержимое счетчика 62 не сравн етс  с содержимым регистра 32, т.е. с кодом, пропорциональным N-1. В этом случае элементы 22, 2з И открыты и последующий импульс, проход  через них, увеличивает содержимое счетчика 6з на единицу. Спуст  некоторое врем  задержки, в счетчике 6а записываетс  содержимое счетчика 6з, увеличенное на единицу, и еще спуст  такое же врем  задержки, в счетчик 6i заноситс  увеличенное на единицу обновленное содержимое счетчика 62.sen codes for numbers N, N-1 ..... N-M + 1, respectively. By the START signal, trigger 5, being set to a single state, opens element 2i And and pulses from GTI1 begin to arrive at the counting input of counter 6i. At that moment, when the contents of counter 6i are compared with the code recorded in register 3j, a logic unit signal will appear at the output of comparison circuit 4i. This signal opens the circuit 22 And and the subsequent pulse passing through it increases the contents of the counter 62 by one, and after some time equal to the delay time of this pulse in the delay element 7i, it is rewritten, increasing by one in the adder 9i, to the counter 6i . The process continues until the contents of counter 6t are compared with the contents of register 3i and the contents of counter 62 are not compared with the contents of register 32, i.e. with a code proportional to N-1. In this case, the elements 22, 2z And are open and the subsequent impulse, passing through them, increases the contents of the counter 6z by one. After a certain delay time, the contents of the counter 6z increased by one are recorded in the counter 6a, and still after the same delay time, the updated contents of the counter 62 increased by one are added to the counter 6i.

Процесс продолжаетс  до тех пор, пока содержимое счетчика 6м не станет равным N-M+1, что соответствует нахождению на выходных шинах 1,...,М последней кодовой комбинации из См возможных. В этом случае сигнал высокого уровн  с выхода схемы сравнени  4м опрокидывает триггер 5 и тем самым отключает генератор 1 импульсов от остальной части схемы.The process continues until the contents of the 6m counter is equal to N-M + 1, which corresponds to finding the last code combination of C possible on the output buses 1, ..., M. In this case, the high level signal from the output of the comparison circuit 4m overturns the trigger 5 and thereby disconnects the pulse generator 1 from the rest of the circuit.

Быстродействие за вл емого устройства определ етс  (М-2)-м  тактами задержек на элементах 71,...,7м-1, т.е. частота счета равна тгти/М, где fr™ - частота генератора тактовых импульсов, М - количество перебираемых чисел в N - элементном массиве. Быстродействие прототипа определ етс  частотой следовани  импульсов с выхода делител  20, котора  равна tY™/N. При решении широкого круга практических задач имеет место условие М « N, таким образом при равных частотах ГТИ быстродействиеThe speed of the claimed device is determined by the (M-2) -th delay cycles on the elements 71, ..., 7m-1, i.e. the counting frequency is equal to mr / M, where fr ™ is the frequency of the clock generator, M is the number of numbers to be sorted in the N - element array. The speed of the prototype is determined by the pulse rate from the output of the divider 20, which is equal to tY ™ / N. When solving a wide range of practical problems, the condition M N N holds, thus, at equal GTI frequencies, the speed

за вл емого устройства в N/M раз выше, чем у прототипа.The claimed device is N / M times higher than that of the prototype.

Claims (1)

Таким образом достигнута цель изобретени  - увеличение быстродействи  устройства , что способствует более эффективному функционированию сложных цифровых комплексов, а также выгодно отличает за вл емое устройство от прототипа. Формула изобретени Thus, the object of the invention is achieved - increasing the speed of the device, which contributes to the more efficient functioning of complex digital systems, and also favorably distinguishes the claimed device from the prototype. The claims Устройство дл  перебора сочетаний, содержащее генератор тактовых импульсов, М элементов И (М - количество перебираемых чисел в N-элементном массиве), М+1 регистров , М схем сравнени , три счетчика, триA device for sorting combinations containing a clock generator, M elements And (M is the number of numbers to be searched in an N-element array), M + 1 registers, M comparison circuits, three counters, three элемента задержки и М-2 элементов ИЛИ, причем выход i-ro регистра (i 1,М) соединен с первым входом i-й схемы сравнени , отличающеес  тем, что, с целью увеличени  быстродействи , оно содержитdelay element and M-2 OR elements, wherein the output of the i-ro register (i 1, M) is connected to the first input of the i-th comparison circuit, characterized in that, in order to increase speed, it contains М-1 сумматоров, с четвертого по M-й счетчики , 2М-6 элементов задержки и триггер, причем выход генератора тактовых импульсов соединен с первым входом первого элемента И, второй вход которого соединен сM-1 adders, from the fourth to the Mth counters, 2M-6 delay elements and a trigger, the output of the clock being connected to the first input of the first element And, the second input of which is connected to выходом триггера, входы установки в 1 и О которого соединены соответственно с входом запуска устройства и выходом М-й схемы сравнени , первый вход J-rp элемента И 0 2,М) соединен с выходом (j - 1)-гоtrigger output, the installation inputs 1 and 0 of which are connected respectively to the start input of the device and the output of the Mth comparison circuit, the first input J-rp of the element And 0 2, M) is connected to the output of the (j - 1) элемента И и счетным входом 1-го счетчика, выход которого соединен с i-м выходом устройства и вторым входом i-й схемы сравнени , выход К-й схемы сравнени  (К 1, М - 1) соединен с вторым входом 1-го элемента И,element And and the counting input of the 1st counter, the output of which is connected to the i-th output of the device and the second input of the i-th comparison circuit, the output of the K-th comparison circuit (K 1, M - 1) is connected to the second input of the 1st element AND, выход которого соединен с входом К-го элемента задержки, выход р-го из которых (р 1, М-2) соединен с первым входом р-го элемента ИЛИ, выход которого соединен с синхровходом р-го счетчика, установочныйthe output of which is connected to the input of the Kth delay element, the output of the rth of which (p 1, M-2) is connected to the first input of the rth OR element, the output of which is connected to the clock input of the rth counter, installation вход К-го из которых соединен с выходом К-го сумматора, первый и второй входы которого соединены, соответственно, с выходом (М+1)-го регистра и выходом j-й схемы сравнени , синхровход(М-1)-го счетчика соединен с выходом (М-1)-го элемента задержки и входом M-го элементов задержки, второй вход р-го элемента ИЛИ соединение выходом S-ro элемента задержки (S , 2М-3), вход t-ro из которых (t М,. 2М-2)the input of the K of which is connected to the output of the K-th adder, the first and second inputs of which are connected, respectively, with the output of the (M + 1) -th register and the output of the j-th comparison circuit, the clock input of the (M-1) -th counter connected to the output of the (M-1) th delay element and the input of the Mth delay element, the second input of the rth element OR the output S-ro of the delay element (S, 2M-3), the input t-ro of which (t M, 2M-2) соедиден с выходом 1-го элемента ИЛИ (I 2, М-2).connected to the output of the 1st element OR (I 2, M-2).
SU4887416 1990-10-23 1990-10-23 Device for exhaustion of combinations RU1809444C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU4887416 RU1809444C (en) 1990-10-23 1990-10-23 Device for exhaustion of combinations

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU4887416 RU1809444C (en) 1990-10-23 1990-10-23 Device for exhaustion of combinations

Publications (1)

Publication Number Publication Date
RU1809444C true RU1809444C (en) 1993-04-15

Family

ID=21548014

Family Applications (1)

Application Number Title Priority Date Filing Date
SU4887416 RU1809444C (en) 1990-10-23 1990-10-23 Device for exhaustion of combinations

Country Status (1)

Country Link
RU (1) RU1809444C (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1520535,кл. G 06 F 15/20, 1988. Авторское свидетельство СССР N 1401474, кл. G 06 F 15/20, 1986. Авторское свидетельство СССР N; 1363232, кл.С 06 F 15/20, 1986. *

Similar Documents

Publication Publication Date Title
US4228421A (en) Pattern identification system
RU1809444C (en) Device for exhaustion of combinations
US4546445A (en) Systolic computational array
SU1319028A1 (en) Digital pulse repetition frequency multiplier
SU932261A1 (en) Device for determination of article theoretic weight
SU1688261A1 (en) Device for histogram plotting
SU1262519A1 (en) Device for logical processing of information
SU1387016A1 (en) Digital filter
SU1658169A1 (en) Device for determining arithmetic average magnitude
SU976450A1 (en) Device for adaptive data processing
SU1621033A1 (en) Device for with check for multiplying numbers
SU1615721A1 (en) Device for distributing tasks among processors
SU1736002A2 (en) Digital filter
SU1444747A1 (en) Device for extracting extremum from n numbers
SU1352482A1 (en) Frequency multiplier
SU1615702A1 (en) Device for numbering permutations
SU1264200A1 (en) Digital correlator
SU1758836A1 (en) Digital filter
SU1599987A1 (en) Device for separating pulses
SU1043666A2 (en) Access code frequency ranging device
SU1453174A1 (en) Meter of coordinate of energy centre of zone with non-uniform illumination
SU1265794A1 (en) Cascade device for fast fourier transform
SU951280A1 (en) Digital generator
SU1476488A1 (en) Fast real fourier transform computer
SU1231497A1 (en) Device for determining position of number on number axis