SU1730625A1 - Device for multiplying of s-digits in radix-residue number system - Google Patents

Device for multiplying of s-digits in radix-residue number system Download PDF

Info

Publication number
SU1730625A1
SU1730625A1 SU894700100A SU4700100A SU1730625A1 SU 1730625 A1 SU1730625 A1 SU 1730625A1 SU 894700100 A SU894700100 A SU 894700100A SU 4700100 A SU4700100 A SU 4700100A SU 1730625 A1 SU1730625 A1 SU 1730625A1
Authority
SU
USSR - Soviet Union
Prior art keywords
inputs
blocks
elements
outputs
output
Prior art date
Application number
SU894700100A
Other languages
Russian (ru)
Inventor
Владимир Гаврилович Евстигнеев
Александр Николаевич Кошарновский
Сергей Ефимович Ревзин
Original Assignee
Предприятие П/Я А-3726
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 Предприятие П/Я А-3726 filed Critical Предприятие П/Я А-3726
Priority to SU894700100A priority Critical patent/SU1730625A1/en
Application granted granted Critical
Publication of SU1730625A1 publication Critical patent/SU1730625A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано при построении высокопроизводительных устройств , работающих в позиционно-остаточ- ной системе счислени . Цель изобретени  - сокращение аппаратурных затрат. В устройство , содержащее два коммутатора 14, 15, два блока 1,2 хранени  констант, два блока 5, 6 умножени , первый элемент 7 задержки , шесть блоков 8-13 элементов И и два сумматора 3, 4, введены второй элемент 26 задержки, два регистра 24 и 25 и два мультиплексора 22 и 23, что позволило вывести из состава устройства два блока умножени , объем которых во много раз превышает объем введенных блоков. 3 ил.The invention relates to computing and can be used in the construction of high-performance devices operating in the position-residual number system. The purpose of the invention is to reduce hardware costs. A device containing two switches 14, 15, two blocks of constant storage 1.2, two blocks 5, 6 multiplications, a first delay element 7, six blocks 8-13 and elements And two adders 3, 4, a second delay element 26 is inserted, two registers 24 and 25 and two multiplexers 22 and 23, which made it possible to remove two multiplication units from the structure of the device, the volume of which is many times the volume of the entered blocks. 3 il.

Description

(L

СWITH

vj соvj with

о о ю елoh oh you ate

Изобретение относитс  к вычислительной технике и может быть использовано дл  построени  быстродействующих арифметических устройств, работающих в позицион- но-остаточной системе счислени .The invention relates to computing and can be used to build high-speed arithmetic devices operating in a positional-residual system.

Цель изобретени  - сокращение аппаратурных затрат.The purpose of the invention is to reduce hardware costs.

На фиг, 1 представлена функциональна  схема устройства; на фиг. 2 - временна  диаграмма токовых сигналов; на фиг. 3функциональна  схема мультиплексоров.Fig, 1 shows a functional diagram of the device; in fig. 2 - time diagram of current signals; in fig. 3functional multiplexer circuit.

Устройство содержит два блока 1 и 2 хранени  констант, два сумматора 3 и 4, два блока 5 и 6 умножени , первый элемент 7 задержки, шесть блоков 8-13 элементов И, два коммутатора 14 и 15, входы первого 16 и второго 17 операндов устройства, первый 18 и второй 19 тактовые входы устройства, выходы старшего 20 и младшего 21 разр дов произведени  устройства, два мульти- плексора 22 и 23, два регистра 24 и 25, второй элемент 26 задержки и третий 27 тактовый вход устройства.The device contains two blocks 1 and 2 of storage of constants, two adders 3 and 4, two blocks 5 and 6 multiplication, the first delay element 7, six blocks 8-13 of the elements I, two switches 14 and 15, the inputs of the first 16 and second 17 operands of the device , the first 18 and second 19 clock inputs of the device, the outputs of the older 20 and younger 21 bits of the device, two multiplexers 22 and 23, two registers 24 and 25, the second delay element 26 and the third 27 clock input of the device.

В основу работы устройства дл  умножени  3-х цифр в позиционно-остаточной системе счислени  положено следующее.The basis for the operation of the device for multiplying 3 digits in the position-residual number system is the following.

Запишем произведение двух 3-х цифр в видеWe write the product of two 3-digit in the form

a-b (ai V1T+ a0)(bi VlT+bo) a-b (ai V1T + a0) (bi VlT + bo)

aibr S + a0bi + aib0  aibr S + a0bi + aib0

+ a0bo flS1 + foS0,+ a0bo flS1 + foS0,

Запишем второе и третье слагаемое в видеWe write the second and third term in the form

aobiS . aiboSaobiS. aiboS

+ c0 + diS1 + do, + c0 + diS1 + do,

где fi aibi + ci + di; to a0b0 + Co + dowhere fi aibi + ci + di; to a0b0 + Co + do

a0 rest (a/ VS); ai ent(a/ ); b0 rest(b/VTj: bi ent(); c0 rest (a0bi/ ); ci ent(a0bi/ VS); d0 rest(aib0/ ); di ent(aib0/ VSl, где rest (X/Y) - остаток от делени  X на Y;a0 rest (a / vs); ai ent (a /); b0 rest (b / VTj: bi ent (); c0 rest (a0bi /); ci ent (a0bi / VS); d0 rest (aib0 /); di ent (aib0 / VSl, where rest (X / Y) is the remainder dividing X by Y;

5five

0 0

5 0 50

5 five

00

5five

00

5five

00

5five

ent (X/Y) - целое частное от делени  X на Y.ent (X / Y) is the integer quotient of dividing X by Y.

Известно, что цифры в 3-й позиционно- остаточной системе счислени  представл ютс  по модул м системы (СОК) в видеIt is known that the numbers in the 3rd position-residual number system are represented modulo-system (JU) in the form

а ( «1 , aiак ) ;a ("1, aiak);

Ь (,),B (,)

где«| rest(a/Pj);where "| rest (a / pj);

(b/Pj);(b / pj);

j 1, К;j 1, K;

Pj - модули СОК, удовлетвор ющие ускPj - modules SOK, satisfying the acceleration

ловию П Pj - 23 (простые числа), j 1the clause P Pj - 23 (prime numbers), j 1

Дл  согласовани  с устройствами, работающими в двоичной системе счислени ,в позиционно-остаточных устройствах обычно выбирают S 2m. Удобнее всего прин ть m 8 и соответственно 3 28 256, а среди модулей СОК иметь один, равный VS . в частном случае пусть Pi V256 16. Это позвол ет при аппаратной реализации блоков 1 и 2 хранени  констант получить экономичные решени .For consistency with devices operating in the binary number system, S 2m is usually chosen in position-residual devices. It is most convenient to accept m 8 and accordingly 3 28 256, and among the modules JUICE to have one, equal to VS. In the particular case, let Pi V256 16. This allows for the hardware implementation of blocks 1 and 2 of the storage of constants to obtain economical solutions.

Устройство дл  умножени  3-х цифр в позиционно-остаточной системе счислени  работает следующим образом.The device for multiplying 3 digits in the position-residual numbering system works as follows.

По первому тактовому сигналу, поступающему на устройство по входу 18, А On the first clock signal coming to the device at input 18, A

( «1 , «2«к ) И В ( , /fc/ к ) , ("1," 2 "k) and B (, / fc / k),

представленные кодом СОК по модул м Pi,represented by code SOK modulo m Pi,

2 Рк, по входам 16 и 17 поступают на.2 Рк, on entrances 16 and 17 arrive on.

коммутаторы 14 и 15, с выходов которых передаютс  на входы соответствующих блоков 1 и 2 хранени  констант. Эти блоки конструктивно представл ют собой блоки посто нной пам ти на 21-разр дных словswitches 14 and 15, from the outputs of which are transmitted to the inputs of the corresponding blocks 1 and 2 of storing constants. These blocks are constructively constituting blocks of 21 bit words.

кto

каждый, где I j j двоична  разр дJ 1each where I j j is binary bit j 1

ность вычета а или Д-. В этих блоках в соответствии с выражением (3) формируютс  величины ai, ао и bi, bo соответственно. Величина а с первого выхода блока 1 хранени  констант через первый информационный вход первого мультиплексора 22 поступает на его выход, с которого поступает на первый вход первого блока 5 умножени , на второй вход которого с первого выхода второго блока 2 хранени  констант поступает величина bi. Одновременно с второго выхода первого блока 1 хранени  констант величина ао поступает на первый информационный вход второго мультиплексора 23, открытый первый вход второго блока 6 умножени , на второй вход которого с второго выхода блока 2 хранени  констант поступает величина Ь0. С выхода первого блока 5 умножени  величина а0Ь0 поступает на первый вход второго блока 9 элементов И, пройд  который, поступает в первый сумматор 3. С выхода второго блока 6 умножени  величина а0Ьо поступает на первый вход п того блока 12 элементов И, пройд  который , поступает во второй сумматор 4. Через некоторое врем  на устройство поступает третий тактовый сигнал по входу 27 (см. фиг. 2). По этому сигналу закрываютс  первые информационные входьь мультиплексоров 22 и 23 и открываютс  их вторые информационные входы. На их выходах по вл ютс  соответственно величины ао и ач, поступающие на первые входы соответственно блоков 5 и 6 умножени , на вторые входы которых поступают величины Ь0 и bi. На выходах блоков 5 и 6 умножени  формируютс  величины a0bi и aibo, которые по третьему тактовому сигналу, задержанному на элементе 26 задержки, занос тс  соответственно на первый 24 и второй 25 регистры . После этого снимаютс  первый по входу 16 и третий по входу 27 тактовые сигналы . На этом заканчиваетс  первый такт работы устройства.the deductibility of a or D- In these blocks, in accordance with expression (3), the values ai, ao and bi, bo are formed, respectively. The value a from the first output of the storage unit 1 through the first information input of the first multiplexer 22 is fed to its output, from which it goes to the first input of the first multiplication unit 5, to the second input of which from the first output of the second constant storage unit 2 enters bi. Simultaneously, the second output of the first storage unit 1 of the constants ao is fed to the first information input of the second multiplexer 23, the first open input of the second multiplication unit 6, the second input of which from the second output of the storage unit 2 of the constants receives the value of 0. From the output of the first multiplication unit 5, the quantity a0b0 goes to the first input of the second block 9 elements I, which passes into the first adder 3. From the output of the second multiplication unit 6, the value a0bo goes to the first input of the fifth block 12 elements And, passed that in the second adder 4. After some time, the device receives the third clock signal at input 27 (see Fig. 2). On this signal, the first information inputs of the multiplexers 22 and 23 are closed and their second information inputs are opened. At their outputs, the values of ao and ah appear, respectively, arriving at the first inputs of blocks 5 and 6, respectively, of the multiplication, the second inputs of which receive the values of b and b. At the outputs of blocks 5 and 6 of the multiplication, the values of a0bi and aibo are formed, which, by the third clock signal delayed on delay element 26, are entered into the first 24 and second 25 registers, respectively. After that, the first at input 16 and the third at input 27 of the clock signals are removed. This ends the first cycle of the device.

Второй такт работы устройства начинаетс  сн тием с первого 18 и третьего 27 тактовых входов сигналов и подачей на второй тактовый вход 19 устройства сигнала (фиг. 2), По этому сигналу величины a0bi и aibo через коммутаторы 14 и 15 проход т на входы блоков 1 и 2 хранени  констант, на первых и вторых выходах которых формируютс  величины cico и dido. К этому времени задержанный первым элементом 7 задержки второй тактовый сигнал открывает по вторым входам блока 8, 10, 11 и 13 элементов И, на первые входы которых с выходов первого 1 и второго 2 блоков хранени  констант поступают величины ci, di, Cp, do соответственно и, пройд  их, поступают в соответствующие сумматоры 3 и 4. В результате , в этих сумматорах формируютс  старший и младший 3-е разр ды произведени  3-х цифр в позиционно-остаточной системе счислени .The second cycle of operation of the device begins with the removal of the first 18 and third 27 clock inputs of the signals and applying the signal to the second clock input 19 of the device (Fig. 2). By this signal, the values a0bi and aibo through the switches 14 and 15 pass to the inputs of blocks 1 and 2 storage constants, on the first and second outputs of which cico and dido values are formed. By this time, the second clock signal delayed by the first delay element 7 opens the second inputs of the block 8, 10, 11 and 13 elements AND, the first inputs of which from the outputs of the first 1 and second 2 constant storage blocks receive the values ci, di, Cp, do and, having passed them, go to the corresponding adders 3 and 4. As a result, in these adders, the highest and the youngest 3rd bits of the product of 3 digits in the position-residual number system are formed.

Claims (1)

Формула изобретени  Устройство дл  умножени  S-x цифр в позиционно-остаточной системе счислени , содержащее два блока хранени  констант, два коммутатора, два блока умножени , первый элемент задержки, шесть блоков элементов И и два сумматора, выходы которых соединены соответственно с выходами старшего и младшего разр дов произведени  устройства, входы первого и второго операндов которого соединены соответственно с информационными входами первойThe invention The device for multiplying Sx digits in the position-residual number system, containing two blocks of storing constants, two switches, two blocks of multiplication, the first delay element, six blocks of elements And two adders whose outputs are connected respectively to the outputs of the high and low bits the device, the inputs of the first and second operands of which are connected respectively to the information inputs of the first группы первого и второго коммутаторов, первые управл ющие входы которых соединены с первым тактовым входом устройства и первыми входами элементов И первого иgroups of the first and second switches, the first control inputs of which are connected to the first clock input of the device and the first inputs of the AND elements of the first and второго блоков, вторые входы которых соединены соответственно с выходами первого и второго блоков умножени , выходы первого и второго коммутаторов соединены соответственно с входами первого и второгоThe second blocks, the second inputs of which are connected respectively to the outputs of the first and second multiplication blocks, the outputs of the first and second switches are connected respectively to the inputs of the first and second 0 блоков хранени  констант, первый выход первого блока хранени  констант соединен с первыми входами элементов И третьего блока, вторые входы которых соединены с первыми входами элементов И четвертого,0 storage units of constants, the first output of the first storage unit of the constants is connected to the first inputs of the elements of the third block, the second inputs of which are connected to the first inputs of the elements of the fourth, 5 п того и шестого блоков и выходом первого элемента задержки, вход которого соединен с вторыми управл ющими входами первого и второго коммутаторов, второй выход первого блока хранени  констант соединен5 fifth and sixth blocks and the output of the first delay element, the input of which is connected to the second control inputs of the first and second switches, the second output of the first storage unit of constants is connected 0 с вторыми входами элементов И п того блока , первый выход второго блока хранени  констант соединен с входом первого сомножител  первого блока умножени  и вторыми входами элементов И четвертого блока, вто5 рой выход второго блока хранени  констант соединен с входом первого сомножител  второго блока умножени  и вторыми входами элементов И шестого блока, выходы элементов И третьего, первого и четвертого0 with the second inputs of elements I p of the unit, the first output of the second storage unit of constants connected to the input of the first multiplier of the first multiplication unit and the second inputs of elements of the fourth block, the second output of the second storage unit of the constants connected to the input of the first multiplier of the second multiplication unit and second inputs elements And the sixth block, the outputs of the elements And the third, first and fourth 0 блоков соединены соответственно с входами первого, второго и третьего слагаемых первого сумматора, выходы элементов И п того , второго и шестого блоков соединены соответственно с входами первого, второго0 blocks are connected respectively to the inputs of the first, second and third components of the first adder, the outputs of the elements And the fifth, second and sixth blocks are connected respectively to the inputs of the first, second 5 и третьего слагаемых второго сумматора, отличающеес  тем, что, с целью сокращени  аппаратурных затрат, в него введены два мультиплексора, два регистра и второй элемент задержки, выход которого5 and the third component of the second adder, characterized in that, in order to reduce hardware costs, two multiplexers, two registers and a second delay element are introduced into it, the output of which 0 соединен с управл ющими входами первого и второго регистров, выходы которых соединены с информационными входами второй группы первого и второго коммутаторов соответственно , а информационные входы 5 соответственно с выходами первого и второго блоков умножени , входы вторых сомножителей соединены соответственно с выходами первого и второго мультиплексоров , первые управл ющие входы которых0 is connected to the control inputs of the first and second registers, the outputs of which are connected to the information inputs of the second group of the first and second switches, respectively, and the information inputs 5, respectively, to the outputs of the first and second multiplications blocks, the inputs of the second factors, respectively, the first control inputs of which 0 соединены с первым тактовым входом устройства , третий тактовый вход которого со- единен с входом второго элемента задержки и вторыми управл ющими входами первого и второго мультиплексоров, инфор5 мационные входы первой группы которых соединены с первым выходом первого блока хранени  констант, второй выход которого соединен с информационными входами второй группы первого и второго мультиплексоров .0 is connected to the first clock input of the device, the third clock input of which is connected to the input of the second delay element and the second control inputs of the first and second multiplexers, the information inputs of the first group of which are connected to the first output of the first storage unit of constants, the second output of which is connected to information inputs of the second group of the first and second multiplexers. /8/eight 2727 1Q1Q 1 L1 L ФигFig 2727 :) do:) do (Cr)C09(Cr) C09 18 d,(d0)18 d, (d0) О ОС; (C0)About OS; (C0) г r r r rr r r r r ii II Шп}Shp} do№)do№) Фиг,3FIG 3 a161 ,aQ-60 Qo-Bj. a1 -B0 CrCo.dja161, aQ-60 Qo-Bj. a1 -B0 CrCo.dj
SU894700100A 1989-06-02 1989-06-02 Device for multiplying of s-digits in radix-residue number system SU1730625A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU894700100A SU1730625A1 (en) 1989-06-02 1989-06-02 Device for multiplying of s-digits in radix-residue number system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU894700100A SU1730625A1 (en) 1989-06-02 1989-06-02 Device for multiplying of s-digits in radix-residue number system

Publications (1)

Publication Number Publication Date
SU1730625A1 true SU1730625A1 (en) 1992-04-30

Family

ID=21451735

Family Applications (1)

Application Number Title Priority Date Filing Date
SU894700100A SU1730625A1 (en) 1989-06-02 1989-06-02 Device for multiplying of s-digits in radix-residue number system

Country Status (1)

Country Link
SU (1) SU1730625A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1236472,кл. G 06 F 7/72, 1984. Авторское свидетельство СССР Ne 1633401, кл. G 06 F 7/72, 1989. *

Similar Documents

Publication Publication Date Title
US3521042A (en) Simplified digital filter
US4450533A (en) Distributed arithmetic digital processing circuit
Zohar New hardware realizations of nonrecursive digital filters
US5038315A (en) Multiplier circuit
US4638449A (en) Multiplier architecture
SU1730625A1 (en) Device for multiplying of s-digits in radix-residue number system
US3626167A (en) Scaling and number base converting method and apparatus
SU1072042A1 (en) Device for extracting cube root
SU1275432A1 (en) Multiplying device
SU1633401A1 (en) Device for multiplying octal numbers in positional- residual notation
RU2097828C1 (en) Programmable digital filter
EP0129039B1 (en) Improved multiplier architecture
SU1043639A1 (en) One-bit binary subtractor
SU1262519A1 (en) Device for logical processing of information
SU1120321A1 (en) Device for extracting 7-th root of number
RU2057364C1 (en) Programming digital filter
SU798825A1 (en) Arithmetic device
KR970005175A (en) Multiplication / Division Sharing Handler Structure Based on Pipeline Structure
SU1517026A1 (en) Dividing device
SU1252773A1 (en) Device for multiplying in redundant number system with carry storage
SU942247A1 (en) Digital non-recursive filter
SU1619256A1 (en) Division device
SU1051532A1 (en) Device for ranging numbers
SU1387016A1 (en) Digital filter
SU1191917A1 (en) Device for calculating values of functions of two arguments