SU1254469A1 - Multiplying device - Google Patents

Multiplying device Download PDF

Info

Publication number
SU1254469A1
SU1254469A1 SU843826641A SU3826641A SU1254469A1 SU 1254469 A1 SU1254469 A1 SU 1254469A1 SU 843826641 A SU843826641 A SU 843826641A SU 3826641 A SU3826641 A SU 3826641A SU 1254469 A1 SU1254469 A1 SU 1254469A1
Authority
SU
USSR - Soviet Union
Prior art keywords
register
input
output
multiplier
adder
Prior art date
Application number
SU843826641A
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 SU843826641A priority Critical patent/SU1254469A1/en
Application granted granted Critical
Publication of SU1254469A1 publication Critical patent/SU1254469A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

Изобретение относитс  к области вычислительной техники и может быть использовано дл  умножени  многоразр дных чисел в р-кодах Фибоначчи. Цель изобретени  - повьшение быстродействи  устрЬйства.Поставленна  цель достигаетс  тем, чтомножимое умножаетс  одновременно на два разр да множител ,дл  чегов устрействовводитс  блок удвоени , коммутатор, второй сумматор и регистр. Устройство  вл етс  неотъемлемой частью цифрового, вычислительного и измерительного оборудовани , использующего коды с иррациональными основани ми. 2 нл., 3 табл.The invention relates to the field of computing and can be used to multiply multi-digit numbers in Fibonacci p-codes. The purpose of the invention is to increase the speed of the device. The goal is achieved by multiplying the multiplier simultaneously by two multipliers, the duplicating unit, the switch, the second adder and the register are provided for the chegs. The device is an integral part of digital, computing and measuring equipment using codes with irrational bases. 2 nl. 3 tab.

Description

112544112544

Изобретение относитс  к вычислительной технике и может быть использовано дл  умножени  многоразр дных чисел в р-кодах Фибоначчи.The invention relates to computing and can be used to multiply multi-digit numbers in Fibonacci p-codes.

Цель изобретени  - повышение быс- 5 тродействи  устройства. -Если множитель Д представить в видеThe purpose of the invention is to increase the speed of the device. -If the multiplier D is represented as

А a cfpCn) + a,.cfp(n - 1)And a cfpCn) + a, .cfp (n - 1)

+ a,q-p(0),+ a, q-p (0),

то произведение множител  жимое & будет равноthen multiplication multiplier & will be equal

А на мноА чAnd on mn

В В- (n) + В- а.,Срр(п-1)+ ... + В . a ifpCO),B B- (n) + B- a., Cfp (n-1) + ... + B. a ifpCO),

где tfpCi) - обощенное число Фибоначчи , которое определ етс  следующим образом:where tfpCi) is a generalized Fibonacci number, which is defined as follows:

0при i 00 when i 0

1при 1 0 1 at 1 0

Cfр (i-1) +(fp (i-p-1) при i О Частичное произведение В- Срр (i) с учетом соотношени  (1) определ етс  такCfр (i-1) + (fp (i-p-1) with i О Partial product B-Cfp (i) with regard to relation (1) is defined as

В срр (i) В- Cf р (i-1)+B Cfp(i - Р - О..In avg (i) B-Cf p (i-1) + B Cfp (i - P - O ..

срр(1) Wed (1)

а,е 0,l(1)a, e 0, l (1)

Отсюда вытекает следующий алгоритм умножени  целых чисел в р-кодах Фибоначчи.This implies the following algorithm for multiplying integers in Fibonacci p-codes.

1 Образуют два столбца чисел, в левом из которых помещаетс  последовательность обобщенных чисел Фибоначчи с начальным условием, равным 1, в ней выдел ют р-числа Фибоначчи, coc тавл ющие минимальный р-код Фибоначчи множител  Д. Во втором столбце помещаетс  последовательность обобщенных чисел Фибоначчи с начальным условием, равным множимому В. Результат умножени  А & i образуют путем сложени  всех чисел второго столбца соответствующих выделенным р-числам Фибоначчи первого столбца. При этом контролируют, чтобы любое выделенное дл  сложени  число второго столбца отсто ло от предыдущего и следующего за ним выделенных дл  сложени  чисел не менее, чем на р последовательно расположенных чисел второго столбца. Дл  р-чисел справедливо следующее1 Form two columns of numbers, in the left of which is placed a sequence of generalized Fibonacci numbers with an initial condition equal to 1, it contains p-Fibonacci numbers that enclose the minimal Fibonacci p-code multiplier D. In the second column is placed a sequence of generalized Fibonacci numbers with an initial condition equal to multiple B. The result of multiplying A & i is formed by adding all the numbers in the second column to the corresponding Fibonacci p-numbers in the first column. At the same time, it is controlled that any allocated for addition the number of the second column is separated from the previous one and the following for selected for adding numbers not less than p of consecutive numbers of the second column. For the p-numbers, the following

соотношение:ratio:

рR

CfpCi + р -f 1) 2cf (i) + L Cfp(i - - j),J (2)CfpCi + p-f 1) 2cf (i) + L Cfp (i - - j), J (2)

При p 1 формула (2) принимаетWhen p 1 formula (2) takes

видview

5 five

00

2020

15 15

2525

30thirty

5five

4040

55 55

4545

5050

692692

Cf,(i + .2) - 2cp,(i) 4 cp (i - 1) .Cf, (i + .2) - 2cp, (i) 4 cp (i - 1).

(3)(3)

Исход  из выражени  (3), и так как в минимальной форме представление чисел в двух соседних разр дах не могут быть две единицы, можно добитьс  быстродействи  устройства дл  умножени  целых чисел в 1-кодах Фибоначчи за счет одновременного рассмотрени  двух соседних разр дов множител , из которых только один разр д может содержать единицу.Based on expression (3), and since the minimum representation of numbers in two adjacent bits cannot be two units, it is possible to achieve the speed of the device for multiplying integer numbers in 1 Fibonacci codes by simultaneously considering two adjacent multiples of the numbers which only one bit can contain one.

На фиг.1 показана функциональна  схема устройства дл  умножени  целых чисел; на фиг.2 - то же, блока микропрограммного управлени .Fig. 1 shows a functional diagram of an apparatus for multiplying integers; 2 is the same as the firmware control block.

Устройство (фиг.1) содержит генератор 1 последовательности обобщенных чисел Фибоначчи, блок 2 удвоени , сумматор 3, регистр 4, сумматор 5, регистр 6 частичных произведений, коммутатор 7, регистр 8 множител , блок 9 микропрограммного управлени .The device (Fig. 1) contains a generator 1 of a sequence of generalized Fibonacci numbers, a doubling unit 2, an adder 3, a register 4, an adder 5, a partial work register 6, a switch 7, a multiplier register 8, a firmware control unit 9.

Блок 9 микропрограммного управле-; ни  (фиг.2) содержит элемент ИЛИ 10, блок 11 пам ти, регистр 12, дешифратор 13, i-й разр д блока удвоени  реализует следующую логическую функцию:Unit 9 firmware control; neither (FIG. 2) contains the element OR 10, memory block 11, register 12, decoder 13, the i-th bit of the doubling unit, implements the following logic function:

,,A;,+A;.,A;,;A;,,-fA,.,A;,A.4- Ч,,-л/А,.,А5,А;„1.,,, A;, + A;., A;,; A; ,, - fA,., A;, A.4-H ,, - l / A,., A5, A; „1.,

где А; - значение i-ro разр да числар В; - удвоенное значение i-ro разр да числа.where a; - value of the i-ro digit of the number B; - double the i-ro digit of the number.

Устройство дл  умножени  работает следующим образом.The multiplier operates as follows.

Рассмотрим работу устройства дл  умножени  целых чисел на примере умножени  в 1-кодах Фибоначчи числа 60: на число 37.Consider the operation of the device for multiplying integers using the example of multiplying the number 60 in 1 Fibonacci codes: by the number 37.

В исходном состо нии в регистреIn the initial state in the register

8записан код числа 37 в минимальной форме представлени . Код числа 60 задает начальное условие (нулевое число) последовательности обобщенных чисел Фибоначчи, котора  совместно формируетс  генератором 1 и блоком 2 удвоени  вместе с Вторым сумматором 3, -в регистре 8 частичных произведений записан код нул .8 the code of the number 37 is recorded in the minimal form of representation. The code of the number 60 sets the initial condition (zero number) of the sequence of generalized Fibonacci numbers, which is jointly formed by the generator 1 and the doubling unit 2 together with the Second adder 3, in the register 8 of the partial products the zero code is written.

По сигналу, поступающему из блокаAccording to the signal coming from the unit

9микропрограммного управлени , генератор 1 и блок 2 удвоени  вместе с вторым сумматором 3 начинают формировать последовательность обобщенных чисел Фибоначчи. После .того, как сформированы два очередных числа.9 microprogramming, generator 1 and doubling unit 2 together with the second adder 3 begin to form a sequence of generalized Fibonacci numbers. After that, as two consecutive numbers are formed.

33

блоком 9 микропрограммного управлени  анализируютс  оосто ни  двух младпшх разр дов регистра 8 множител . Если в этой группе разр дов в младшем разр де записана единица, то первый сумматор 5 производит сложение кода, поступающего с выхода генератора 1 через коммутатор 7 и кода, поступающего с выхода регистр 6 частичных произведений. Если же в этой группе разр дов в старшем разр де записана единица, то первый суматор производит сложение кода, поступающего с выхода регистра 4 через коммутатор 7 и кода, поступающего с выхода регистра 6 частичных произведений . Затем происходит сдвиг кода на два разр да в сторону младших рар дов в регистре 8 множител  и формрование очередной пары обобщенных чисел Фибоначчи генератором 1 и блоком 2 удвоени  совместно с вторым сумматором 3. The firmware control unit 9 analyzes the positions of the two low-order bits of register 8 of the multiplier. If a unit is recorded in this group of bits in the lower order, the first adder 5 adds the code from the output of the generator 1 through the switch 7 and the code from the output of the register 6 partial products. If in this group of bits in the high order the unit is written, then the first adder adds the code from the register 4 output through the switch 7 and the code from the register 6 partial products. Then, the code is shifted by two bits in the direction of the lower ranks in register 8 multipliers and the formation of the next pair of generalized Fibonacci numbers by the generator 1 and doubling unit 2 together with the second adder 3.

Если в группе младших разр дов регистра 8 записаны два нул , то блок 9 микропрограммного управлени  вьфабатывает управл ющие сигналы, по которым происходит только лишь сдвиг кода на два разр да в регистр 8 и формирование очередной пары чис сел в генераторе 1 и в блоке 2 удвоени  совместно с вторым сумматором Процесс умножени  оканчиваетс  посл тоге, как будут вьщвинуты из регистра 8 все разр ды кода множител . При этом результат умножени  будет находитьс  в регистре 6, откуда он поступает на выход устройства умножни - .If in the group of the lower bits of register 8 two zeros are recorded, block 9 of the microprogram control accumulates control signals, by which only a code shift by two bits in register 8 occurs and the next pair of numbers in the generator 1 and in block 2 are duplicated in conjunction with the second adder. The multiplication process ends next, as all bits of the multiplier code will be removed from register 8. In this case, the result of the multiplication will be in register 6, from where it enters the output of the device, multiply -.

Состо ни  генератора 1, блока 2 удвоени , регистра 4, коммутатора 7 регистра 8 множител  и регистра 6 частичных произведений, соответствущие каждому такту работы, приведены в табл.1.The states of the generator 1, block 2, doubling, register 4, switch 7, register 8, multiplier and register 6 partial products, corresponding to each work cycle, are shown in Table 1.

Блок 9 микропрограммного управлени  работает в соответствии с табл. Firmware control unit 9 operates in accordance with Table.

Необходимые дл  функционировани  устройства управл ющие сигналы приведены в табл.3.The control signals necessary for the operation of the device are listed in Table 3.

Claims (1)

Формула изобретениInvention Formula Устройство дл  умножени , содержащее регистр множител , регистр чатичных произведений, первый суммато генератор последовательности обобщеных чисел Фибоначчи и блок микропрораммного управлени , выход регистраA device for multiplying, containing the multiplier register, register products, the first totalizer of the sequence of generalized Fibonacci numbers and the microprogrammed control unit, the register output частичньк произведений соединен с выходом устройства и первым входом первого сумматора, выход которого подключен к информационному входу регистра частичных произведений, вход регистра множител  соединен с входом множител  устройства, вход множимого которого соединен с первым информационным входом генератора последовательности обобщенных чисел Фибоначчи, выходы регистра множител  соединены с входом начальной установки блока микропрограммного управлени , о т 15 20 partial products connected to the output of the device and the first input of the first adder, the output of which is connected to the information input of the register of partial products, the register of the multiplier is connected to the input of the multiplier of the device, the input of the multiplicand of which is connected to the first information input of the generalized Fibonacci number generator, outputs of the register of the multiplier are connected to the input of the initial installation of the firmware control block, 15 20 Q 5Q 5 2525 30thirty 5five 0 0 5 five лью повышени  быстродействи , в него дополнительно введены блок удвоени , коммутатор, второй сумматор, регистр, вход установки в О регистра множител  соединен с входами установки в О регистра частичных произведений и регистра и подключен к первому выходу блока микропрограммного управлени ,второй выход которого соединен с входом записи в регистр множител , вход множимого устройства соединен с первым информационным входом блока удвоени , управл ющий вход которого подключен к управл ющему входу генератора последовательности обобщенных чисел Фибоначчи и соединен с третьим выходом блока микропрограммного управлени , четвертый выход которого соединен с входом записи регистра, выход которого подключен к вторым информационным входам генератора последователь- ности обобщенных нисел Фибоначчи, блока удвоени  и к первому информа- ционному входу коммутатора, выход блока удвоени  соединен с первым входом второго сумматора, в 5орой вход которого соединен с выходом генератора последовательности обобщенных чисел Фибоначчи и вторым информационным входом коммутатора, первый и второй управл ющие входы которого соединены соответственно с п -тым и щестым выходами блока микропрограммного управлени , седьмой выход которого соединен с входом записи регистра частичных произведений, выход второго сумма;тора соединен с информационным входом регистра, выход коммутатора подключен к второму входу первого сумматора, вход управлени  сдвигом регистра множител  сое- динен с восьмым выходом блока микро-т программного управлени .In addition, a doubling unit, a switch, a second adder, a register, an installation input in the register of the multiplier are connected to the installation inputs in the register of partial products and a register and connected to the first output of the firmware control unit, the second output of which is connected to the input write to the multiplier register, the input of the multiplicand device is connected to the first information input of the doubling unit, the control input of which is connected to the control input of the sequence generator Fibonacci numbers and is connected to the third output of the microprogram control unit, the fourth output of which is connected to the register entry input, the output of which is connected to the second information inputs of the Fibonacci generalized number generator and the first information input of the switch, the doubling unit output connected to the first input of the second adder, the fifth input of which is connected to the output of the generator of the sequence of generalized Fibonacci numbers and the second information input of the switch, p The first and second control inputs of which are connected respectively to the fifth and sixth outputs of the firmware control block, the seventh output of which is connected to the input of the register of partial products, the output of the second sum; the torus is connected to the information input of the register, the output of the switch is connected to the second input of the first adder , the shift control input of the multiplier register is connected to the eighth output of the micro-t software control unit. Таблица 1Table 1 Таблица 2table 2 0010010 00111001000 О О 00 ItrilTO 00000010010 00111001000 О О 00 ItrilTO 0000 001,0 011 00111001001 0000 1 1 1 1 1 I I 2 2 2 20010100001110010100000 001.0 011 00111001001 0000 1 1 1 1 1 I I 2 2 2 20010100001110010100000 0010101 00111001011 00000010101 00111001011 0000 00101,1000111001100000000101,10001110011000000 0010111 00111 о .0 1 1 о 1 0-0 о о0010111 00111 о .0 1 1 о 1 0-0 о о 00110000100100111000000011000010010011100000 001100101001 О о 1 1 1 1 0000001100101001 About 1 1 1 1 0000 011 011 011011 011 011 0.4 1 011 011 100 100 100 100 100 100 100 100 1010.4 1 011 011 100 100 100 100 100 100 100 100 101 1о 11o 1 101 101 101101 101 101 о 1 оabout 1 about 01 101 1 1о оAbout 1 о 1 1 1 о1 about 1 1 1 about 111111 000000 о о 1 о 1 оabout about 1 about 1 about 01 101 1 1 00 1 о 1 1 1 о1 00 1 about 1 1 1 about 11 111 1 000000 о о 1 о 1 о о 1 1about about 1 about 1 about about 1 1 10 о10 o 0100 0100 0100 010 о 0100 0100 1000 0101 0111 0101 1000 0101 01 1 1 о 1 01 0110 0110 0110 0110 01100100 0100 0100 010 o 0100 0100 1000 0101 0111 0101 1000 0101 01 1 1 o 1 01 0110 0110 0110 0110 0110 1010 1010 1010 1010 1010 1010 1010 1010 1011 1011 1011 1011 1011 1011 1011 1011 1100 1 1 о о 11001010 1010 1010 1010 1010 1010 1010 1010 1011 1011 1011 1011 1011 1011 1011 1011 1100 1 1 about 1100 0000 0000 0000 о 000 0000 0000 0000 0000 0000 0000 00 00 0000 0000 0000 0000 0000 0000 0000 00000000 0000 0000 000 0000 0000 0000 0000 0000 00 00 0000 0000 0000 0000 0000 0000 0000 0000 1011010110 110001100001011010110 11000110000 1011100110 1100100 00001011100110 1100100 0000 1011110110 11001010000 1 100 0010001100110 0000 1 100011000 1 1001 1 10000 11. 00101000 1101000 0000 11001110001101001 00001011110110 11001010000 1 100 0010001100110 0000 1 100011000 1 1001 1 10000 11. 00101000 1101000 0000 11001110001101001 0000 110100loop 1101010 0000110100loop 1101010 0000 1101011000 110101100001101011000 11010110000 Обозначени Notation Наимено ваниеName YT Обнуление Рг, РгМн, РгЧП Y2 Запись множител  в РгМнYT Zero Rg, PrgMn, PrgPP Y2 Record multiplier in PrgMn Y3 Управление -работой ГПОЧФ и БУдв.Y3 Management - work GPoFF and BUDv. Y4 Запись результата сложени  в РгY4 Write result of addition in Pr Y5 Коммутаци  Км Y6 Коммутаци  КмY5 Switching Km Y6 Switching Km Y7 Запись результата сложени  в РгЧПY7 Write result of addition to PRD Y8 Сдвиг на два ра р да содержимого РгМнY8 Shift by two ratios of the contents of the RedMon Таблица 3Table 3 ПримечаниеNote При Y5 1 коммутируетс  выход ГПОЧФWhen Y5 1, the output of the HROCF is switched. При Y6 1 коммутируетс  выход РгWhen Y6 1, the output of Pg is switched Фиг. гFIG. g
SU843826641A 1984-12-18 1984-12-18 Multiplying device SU1254469A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU843826641A SU1254469A1 (en) 1984-12-18 1984-12-18 Multiplying device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU843826641A SU1254469A1 (en) 1984-12-18 1984-12-18 Multiplying device

Publications (1)

Publication Number Publication Date
SU1254469A1 true SU1254469A1 (en) 1986-08-30

Family

ID=21152077

Family Applications (1)

Application Number Title Priority Date Filing Date
SU843826641A SU1254469A1 (en) 1984-12-18 1984-12-18 Multiplying device

Country Status (1)

Country Link
SU (1) SU1254469A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1137459, кл. G 06 F 7/49, 1980. Авторское свидетельство СССР № 662941, кл. G 06 F 7/52, 1976. *

Similar Documents

Publication Publication Date Title
SU662941A1 (en) Integer multiplying device
SU1254469A1 (en) Multiplying device
US3890496A (en) Variable 8421 BCD multiplier
SU1444751A1 (en) Multiplication device
SU451079A1 (en) Sequential multiplication device
SU1667055A1 (en) Device for modulo m multiplication
SU1734212A1 (en) Device for computing of modulo @@@+1 reminder
SU1043639A1 (en) One-bit binary subtractor
SU1278885A1 (en) Pseudostochastic spectrum analyzer
SU1275432A1 (en) Multiplying device
SU593211A1 (en) Digital computer
RU1791818C (en) Device for control of modulo three residual code
SU1104511A1 (en) Device for extracting square root
SU1388850A1 (en) Device for modulo p addition and subtraction of numbers
SU1756881A1 (en) Modulo arithmetic unit
SU1661791A1 (en) Boolean differential equations solving device
SU1716511A1 (en) Device for modulo multiplication of numbers
SU1689940A1 (en) Device for driving system of discrete orthogonal functions
SU1501020A1 (en) Walsh function generator
SU1709302A1 (en) Device for performing operations on finite field members
SU491946A1 (en) Root degree extractor
SU981991A2 (en) Modulus multiplication device
SU1451690A1 (en) Modulo-m adding and subtracting device
SU1401448A1 (en) Apparatus for implementing boolean symmetrical functions
SU1649526A1 (en) Decimal-to-binary converter