SU1737442A1 - Arbitrary modulo computing device - Google Patents
Arbitrary modulo computing device Download PDFInfo
- Publication number
- SU1737442A1 SU1737442A1 SU904834034A SU4834034A SU1737442A1 SU 1737442 A1 SU1737442 A1 SU 1737442A1 SU 904834034 A SU904834034 A SU 904834034A SU 4834034 A SU4834034 A SU 4834034A SU 1737442 A1 SU1737442 A1 SU 1737442A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- register
- subtractor
- comparison circuit
- Prior art date
Links
Landscapes
- Complex Calculations (AREA)
Abstract
Изобретение относитс к вычислительной технике и может быть использовано в цифровых вычислительных устройствах, а также в устройствах дл формировани элементов конечных полей. Цель изобретени - расширение области применени за счет выполнени накапливающего суммировани . Вычислительное устройство по произвольному модулю содержит сумматор 5, регистр 6 пам ти, мультиплексор 7, вычи- татель 8, схему 9 сравнени , элементы ИЛИ 10-12, формирователь 13 импульсов и регистр 14 результата. 1 ил.The invention relates to computing and can be used in digital computing devices, as well as in devices for generating elements of finite fields. The purpose of the invention is to expand the scope of application by performing an accumulative summation. The computing device contains, by an arbitrary modulus, an adder 5, a memory register 6, a multiplexer 7, a subtractor 8, a comparison circuit 9, elements OR 10-12, a pulse shaper 13, and a result register 14. 1 il.
Description
СОWITH
сwith
7575
16sixteen
чh
СА) 4SA) 4
Јь Јь ЮYu yu yu
Изобретение относитс к вычислительной технике и может быть использовано в цифровых устройствах, а также в устройствах дл формировани элементов конечных полей.The invention relates to computing and can be used in digital devices, as well as in devices for generating elements of finite fields.
Известно устройство дл формировани остатка по произвольному модулю от числа , содержащее два регистра, п ть элементов ИЛИ вычитатель, две схемы сравнени , мультиплексор , элемент задержки, сумматор, группу .блоков элементов И и блок посто нной пам ти с соответствующими св з ми, выбранное в качестве прототипа.A device is known for generating a residual modulus of arbitrary modulus of a number containing two registers, five OR elements, two comparison circuits, a multiplexer, a delay element, an adder, a group of blocks of AND elements and a block of permanent memory with corresponding links, selected as a prototype.
Недостатком данного устройства вл етс узка область применени , заключаю- ща с в невозможности осуществлени накапливающего суммировани .The disadvantage of this device is the narrow scope, which implies the impossibility of performing accumulative summation.
Цель изобретени - расширение области применени за счет выполнени накапливающего суммировани .The purpose of the invention is to expand the scope of application by performing an accumulative summation.
На чертеже изображена схема вычислительного устройства по произвольному модулю .The drawing shows a diagram of the computing device for an arbitrary module.
Вычислительное устройство по произвольному модулю содержит вход числа 1 устройства, вход 2 обнулени устройства, вход 3 запуска устройства, вход 4 задани модул устройства, сумматор 5, регистр 6 пам ти, мультиплексор 7, вычитатель 8, схему 9 сравнени , первый 10, второй 11 и третий 12 элементы ИЛИ, формирователь 13 импульсов, регистр 14 результата, выход 15 результата устройства и выход 16 сигнала окончани устройства.The computing device for an arbitrary module contains the input of the device number 1, the device zero input 2, the device start input 3, the device module assignment input 4, the adder 5, the memory register 6, the multiplexer 7, the subtractor 8, the comparison circuit 9, the first 10, the second 11 and the third 12 OR elements, the pulse shaper 13, the result register 14, the output 15 of the device result and the output 16 of the device termination signal.
Вычислительное устройство по произ- вольному модулю работает следующим образом .The computing device of an arbitrary module works as follows.
Вычислительное устройство по произвольному модулю осуществл ет суммирование чисел поступающих последовательно на его вход 1 в параллельном двоичном коде . При этом поступление каждого числа сопровождаетс импульсом, подаваемым на вход 3 запуска устройства. Перед началом суммировани на вход 2 обнулени ус- тройства подаетс импульс, который, пройд через элемент 12 ИЛИ, поступает на вход обнулени регистра 6 пам ти, устанавлива последний в нулевое состо ние. После обнулени регистра 6 вычислительное устройство готово к работе. При этом на входы первого слагаемого сумматора 5 воздействуют коды первого числа, предназначенного дл с/ммировани . На вход 4 задани модул устройства в процессе работы вычислительного устройства посто нно действуют двоичные коды выбранного модул , по которому осуществл етс суммирование . При отсутствии единичного потенциала на управл ющем входеThe computing device, using an arbitrary modulus, performs the summation of the numbers arriving in series at its input 1 in the parallel binary code. At the same time, the arrival of each number is accompanied by a pulse applied to the input 3 of the device startup. Before the commencement of the summation, a pulse is applied to the input 2 of the zeroing of the device, which, having passed through the element 12 OR, is fed to the input of the zeroing of the memory register 6, setting the latter to the zero state. After resetting the register 6, the computing device is ready for operation. At the same time, the inputs of the first adder of the adder 5 are affected by the codes of the first number intended for s / mm. The input 4 of the device module assignment during the operation of the computing device is constantly affected by the binary codes of the selected module, which is summed up. In the absence of a single potential at the control input
мультиплексора 7 сего выходами скоммути- рованы его первые входы, в противном случае - вторые информационные входы. С поступлением на вход 3 запуска устройства единичного импульса происходит запись кода числа, воздействующего на первые входы сумматора 5, в регистр 6. Запись происхр- дит по фронту импульса, поступающего с выхода элемента 10 ИЛИ на вход записи регистра 6. По срезу импульса запуска формирователь 13 импульсов формирует импульс , который запускает схему 9 сравнени . Схема 9 сравнени осуществл ет сравнение кодов чисел с выхода регистра 6 и входов 4 вычислительного устройства. Если значение числа, воздействующего на первые входы схемы 9 сравнени , больше значени модул , поступающего на вторые входы схемы 9 сравнени , то по окончании сравнений импульс по вл етс на выходе больше схемы 9 сравнени , если значени указанных чисел равны, то импульс по вл етс на выходе Равно схемы 9 сравнени , в остальных случа х - на выходе Меньше схемы 9 сравнени .multiplexer 7 of this output connected its first inputs, otherwise - the second information inputs. When a single impulse device starts up at input 3, the number of the code acting on the first inputs of adder 5 is recorded in register 6. The recording takes place at the front of the pulse coming from the output of element 10 OR at the input of register 6 recording. The 13 pulses form a pulse that triggers the comparison circuit 9. The comparison circuit 9 compares the codes of the numbers from the register output 6 and the inputs 4 of the computing device. If the value of the number acting on the first inputs of the comparison circuit 9 is greater than the value of the module arriving at the second inputs of the comparison circuit 9, then at the end of the comparisons the pulse appears at the output greater than the comparison circuit 9, if the values of the indicated numbers are equal, then the pulse appears at the output It is equal to the comparison circuit 9, in other cases - at the output Less than the comparison circuit 9.
Допустим, что значение числа, хран щегос в регистре 6, оказалось меньше значени модул , поступающего на вход 4 вычислительного устройства. При этом импульс об окончании работы схемы сравнени 9 по вл етс на выходе Меньше схемы 9 сравнени . Далее этот импульс, проход через элемент 11 ИЛИ, поступает на вход записи регистра 14 и на выход 16 вычислительного устройства. Под действием этого импульса в регистр 14 переписываетс содержимое регистра 6. Импульс на выходе 16 сигнала окончани устройства разрешает чтение результата суммировани , записанного в регистре 14, а также поступление следующего числа на вход 1 числа вычислительного устройства. В результате поступлени кодов второго числа на первые входы сумматора 5 на его выходах образуетс код суммы этого числа с числом , записанным в регистре 6. Этот код через мультиплексор 7 попадает на информационные входы регистра 6. По фронту импульса запуска устройства этот код записываетс в регистр 6. Содержимое регистра б сравниваетс со значением выбранного модул Р. Допусп им, что значение содержимого регистра 6 больше значени модул Р. В этом случае схема 9 сравнени выдает импульс на свой выход Больше. Этот импульс запускает в работу вычитатель 8, который вычитает из значени содержимого регистра 6 значение модул Р. По окончании вычитани вычитатель 8 выдает импульс на свой выход, который, поступа Assume that the value of the number stored in register 6 turned out to be less than the value of the module arriving at input 4 of the computing device. In this case, the impulse to terminate the operation of the comparison circuit 9 appears at the output. Less than the comparison circuit 9. Further, this impulse, passage through the element 11 OR, is fed to the input of the register entry 14 and to the output 16 of the computing device. Under the action of this pulse, register 14 records the contents of register 6. The pulse at output 16 of the device termination signal permits reading the result of the summation recorded in register 14, as well as the arrival of the next number at the input 1 of the number of the computing device. As a result of the arrival of the second number codes, the first inputs of the adder 5 at its outputs form the sum code of this number with the number recorded in register 6. This code goes through the multiplexer 7 to the information inputs of register 6. On the front of the device start pulse, this code is written to register 6 The contents of register b are compared with the value of the selected module P. Suppose that the value of the contents of register 6 is greater than the value of module P. In this case, the comparison circuit 9 gives a pulse to its output More. This pulse triggers subtractor 8, which subtracts the value of module P from the value of the contents of register 6. Upon completion of subtraction, subtractor 8 outputs a pulse to its output, which
на управл ющий вход мультиплексора 7, коммутирует с его выходами его вторые входы , а также, проход через элемент ИЛИ 10 записывает содержимое вычитател 8 в регистр 6. Этот же импульс, проход через элемент 11 ИЛИ, переписывает содержимое регистра 6 в регистр 14 и поступает на выход 16 сигнала окончани устройства. При работе схемы 9 сравнени может возникнуть ситуаци , когда содержимое регистра 6 равно значению модул Р, действующего на вход 4 вычислительного устройства. В этом случае схема 9 сравнени выдает импульс на свой выход Равно. Следовательно, содержимое регистра 6 тождественно равно нулю по заданному модулю Р. Этот импульс, проход через элемент ИЛИ 11, записывает в регистр 14 содержимое регистра б (в данном случае нуль), и поступает на выход 16 сигнала окончани устройства, свидетельству о том, что очередной цикл суммировани закончен. При поступлении кодов следующего числа на вход 1 числа и импульса запуска на вход 3, работа вычислительного устройства происходит аналогично описанному. При этом по окончании каждого цикла суммировани на выходах 15 результата вычислительного устройства по вл етс код суммы, поступивших на его вход 1 чисел, а на выходе 16 образуетс импульс, свидетельствующий о том, что очередной цикл суммировани закончен и устройство готово прин ть следующее число дл суммировани . Полный цикл накапливающего суммировани начинаетс от момента подачи импульса на вход 2 вычислительного устройства, при этом каждый раз по окончании суммировани на выходах 16 сигнала окончани устройства по вл етс сумма всех чисел, коды которых последовательно подаютс .на вход 1 устройства (сопровождающихс импульсом запуска , подаваемым на вход 3 устройства) по выбранному модулю Р дл данного полного цикла, код которого подаетс на входы 4 устройства. Приход следующего импульса на вход 2 устройства означает начало следующего полного цикла накапливающего суммировани , при этом может быть выбран любой другой модуль Р путем изменени его кодов на входе 4 или же оставлен предыдущий.to the control input of the multiplexer 7, commutes with its outputs its second inputs, and also, the passage through the element OR 10 writes the contents of the subtractor 8 into the register 6. This same pulse, the passage through the element 11 OR, rewrites the contents of the register 6 into the register 14 and enters to the output 16 of the device termination signal. When the comparison circuit 9 is in operation, a situation may arise when the contents of register 6 are equal to the value of module P acting on input 4 of the computing device. In this case, the comparison circuit 9 gives a pulse to its output, Equals. Consequently, the contents of register 6 are identically equal to zero in a given module P. This pulse, passing through the element OR 11, writes the contents of register b (in this case, zero) to register 14 and arrives at the output 16 of the device termination signal, indicating that the next cycle of summation is complete. When the next number of codes arrives at the input of 1 number and the start pulse at input 3, the operation of the computing device occurs as described. In this case, at the end of each cycle of summation, the sum code received 1 numbers at its input appears at the outputs 15 of the result of the computing device, and the output 16 generates a pulse indicating that the next summation cycle is completed and the device is ready to accept the next number for summation. The full cycle of accumulating summing begins from the moment the pulse is applied to the input 2 of the computing device, and each time after the completion of the summing up, the output of the device termination signal 16 appears the sum of all numbers whose codes are sequentially fed to the device 1 input (accompanied by a trigger pulse to input 3 of the device) according to the selected module P for the given full cycle, the code of which is fed to the inputs 4 of the device. The arrival of the next pulse at the input 2 of the device means the beginning of the next full cycle of accumulating summation, in this case any other module P can be chosen by changing its codes at input 4 or the previous one is left.
Технико-экономическа эффективность предлагаемого вычислительного устройства заключаетс в расширении его области применени за счет возможности выполнени накапливающего суммировани по заданному модулю Р.The technical and economic efficiency of the proposed computing device consists in expanding its field of application due to the possibility of performing accumulative summation over a given module P.
Формул а изобретени Invention Formula
Вычислительное устройство по произвольному модулю, содержащее регистр пам ти , мультиплексор, вычитатель, схему сравнени , с первого по третий элементыComputing device of arbitrary modulus containing memory register, multiplexer, subtractor, comparison circuit, first to third elements
ИЛИ и регистр результата, причем вход задани модул устройства соединен с входом вычитаемого вычитател и с первым информационным входом схемы сравнени , выход Меньше которой соединен с первым входом второго элемента ИЛИ, выход которого соединен с входом разрешени записи регистра результата, выход которого вл етс выходом результата устройства, вход запуска которого соединен с первым входомOR and the result register, the input of the device module's job is connected to the input of the subtracable subtractor and the first information input of the comparison circuit, the Output Less than which is connected to the first input of the second OR element, the output of which is connected to the resolution enable input of the result register, whose output is the output of the result devices whose startup input is connected to the first input
первого элемента ИЛИ, выход которого соединен с входом разрешени записи регистра пам ти, вход обнулени которого соединен с выходом третьего элемента ИЛИ, первый вход которого соединен с выходом Равно схемы сравнени , выход разности вычитател соединен с первым информационным входом мультиплексора, выход которого соединен с информационным входом регистра пам ти, отличающ е е с тем, что, с целью расширени области применени за счет выполнени накапливающего суммировани , оно содержит сумматор и формирователь импульсов, причем вход числа устройства соединен сthe first OR element, the output of which is connected to the write register recording resolution input, the zeroing input of which is connected to the output of the third OR element, the first input of which is connected to the output Equal to the comparison circuit, the difference output of the subtractor is connected to the first information input of the multiplexer, the output of which is connected to the information the memory register input, which is different from the fact that, in order to expand the scope of application by performing accumulative summation, it contains an adder and a pulse shaper, and in number od devices connected to
входом первого слагаемого сумматора, выход которого соединен с вторым информа- ционным входом мультиплексора, управл ющий вход которого соединен с вторыми входами первого и второго элементаthe input of the first adder term, the output of which is connected to the second information input of the multiplexer, the control input of which is connected to the second inputs of the first and second element
ИЛИ и выходом окончани вычитател , вход запуска которого соединен с выходом Больше схемы сравнени , вход разрешени которой соединен с выходом формировател импульсов, вход которого соединенOR and the output of the subtractor, the start input of which is connected to the output of the More comparison circuit, the resolution input of which is connected to the output of the pulse former, the input of which is connected
с входом запуска устройства, вход обнулени которого соединен с вторым входом третьего элемента ИЛИ, выход регистра пам ти соединен с информационным входом регистра результата, входом уменьшаемогоwith the start-up input of the device, the zeroing input of which is connected to the second input of the third element OR, the output of the memory register is connected to the information input of the result register, the input decremented
вычитател , входом второго слагаемого сумматора и вторым информационным входом схемы, сравнени , выход Равно которой соединен с третьим входом второго элемента ИЛИ, оыход которого вл етс выходомthe subtractor, the input of the second term of the adder and the second information input of the circuit, the comparison, the Output Equal of which is connected to the third input of the second OR element, the output of which is the output
сигнала окончани устройства.signal termination device.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU904834034A SU1737442A1 (en) | 1990-03-20 | 1990-03-20 | Arbitrary modulo computing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU904834034A SU1737442A1 (en) | 1990-03-20 | 1990-03-20 | Arbitrary modulo computing device |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1737442A1 true SU1737442A1 (en) | 1992-05-30 |
Family
ID=21518027
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU904834034A SU1737442A1 (en) | 1990-03-20 | 1990-03-20 | Arbitrary modulo computing device |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1737442A1 (en) |
-
1990
- 1990-03-20 SU SU904834034A patent/SU1737442A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 1396281, кл. Н 03 М 7/18, 1986. Авторское свидетельство СССР № 1251074, кл. G 06 F 7/72, 1984. Авторское свидетельство СССР Мг 1633495, кл. Н 03 М 7/18, 1989. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1737442A1 (en) | Arbitrary modulo computing device | |
SU1751748A1 (en) | Complex number multiplying device | |
RU1820393C (en) | Device for forming sequence of discrete-frequency signals | |
SU1552380A1 (en) | Code converter | |
SU1605254A1 (en) | Device for performing fast walsh-adamar transform | |
SU1635175A1 (en) | Device for computing algebraic equations | |
SU521608A1 (en) | Sensor codes for storage unit control | |
SU1446627A1 (en) | Device for digital filtration | |
SU1647591A1 (en) | Matrix inversion device | |
SU1018114A1 (en) | Parallel adder | |
SU1396281A1 (en) | Device for forming random-modulo remainder of a number | |
SU1328830A1 (en) | Device for shaping symptoms of images being recognized | |
RU2024924C1 (en) | Device for forming arbitrary modulo residue | |
RU1837401C (en) | Device for forming arbitrary modulo residue | |
SU1575174A1 (en) | Device for multiplying two n-digit numbers | |
SU1396148A1 (en) | Device for counting combinations | |
RU2030104C1 (en) | Generator of pseudorandom sequences | |
SU535583A1 (en) | Device for processing telemetric information | |
SU1539831A1 (en) | Device for digital magnetic recording | |
SU1075260A1 (en) | Device for making summation of m n-bit numbers arriving in sequential order | |
RU2025770C1 (en) | Walsh function generator | |
RU2029434C1 (en) | Device for formation of remainder by arbitrary modulus of number | |
SU1185326A1 (en) | Device for sorting numbers | |
RU2007036C1 (en) | Device which produces members of multiplicative groups of galois fields gf(p) | |
SU1545213A1 (en) | Device for solving booolean functions |