SU748411A1 - Device for multiplying binary numbers - Google Patents
Device for multiplying binary numbers Download PDFInfo
- Publication number
- SU748411A1 SU748411A1 SU782618667A SU2618667A SU748411A1 SU 748411 A1 SU748411 A1 SU 748411A1 SU 782618667 A SU782618667 A SU 782618667A SU 2618667 A SU2618667 A SU 2618667A SU 748411 A1 SU748411 A1 SU 748411A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- registers
- multiplier
- register
- bit
- multiplication
- Prior art date
Links
Landscapes
- Complex Calculations (AREA)
Description
Изобретение относится к области вычислительной техники и может быть использовано в арифметических устройствах специализированных цифровых вычислительных машин.The invention relates to the field of computer technology and can be used in arithmetic devices of specialized digital computers.
Известны устройства содержащие ре- 5 гистры множимого и множителя, схему формирования частичных произведений, блок суммирования частичных произведений. Умножение в таких устройствах начинается с младших разрядов множителя W ’ И ·Known devices containing PE 5 Giustra multiplicand and multiplier circuit forming partial products summation block of partial products. Multiplication in devices starting with LSB multipliers A W 'and ·
Недостатком известных устройств является недостаточное быстродействие в связи с затратами времени на приведение двухрядного кода произведения.A disadvantage of the known devices is the lack of performance due to the time spent on casting a two-row product code.
Наиболее близким к изобретению является устройство для умножения двоичных чисел [3] , содержащее сдвигающие регистры множимого и множителя, регист- Μ ры поразрядных сумм и поразрядных переносов, блок формирования частичных произведений, блок поразрядного суммирования. Кроме этого в устройстве выход старшего разряда регистра множителя соединен с управляющим входом блока формирования частичных произведений, информационный вход которого соединен с выходом регистра множимого, а выход с одним из входов блока поразрядного суммирования, 'два других входа которого соединены с выходами регистров поразрядных сумм и поразрядных переносов , а выходы — со входами этих регистров.The closest to the invention is a device for multiplication of binary numbers [3], comprising shift registers of the multiplicand and multiplier, regist- Μ ry bitwise bitwise sums and carries, block the formation of partial products, bitwise summing block. In addition, in the device, the output of the highest bit of the register of the multiplier is connected to the control input of the block for forming partial products, the information input of which is connected to the output of the register of multiplicative ones, and the output with one of the inputs of the block of bitwise summation, the other two inputs of which are connected to the outputs of the register of bitwise and bitwise hyphenation, and outputs - with the inputs of these registers.
Умножение в данном устройстве осуществляется, начиная со старших разрядов множителя.Multiplication in this device is carried out, starting with the highest digits of the multiplier.
Это устройство имеет некоторое преимущество перед вышеупомянутыми устройствами, так как метод умножения со старших разрядов облегчает совмещение устройства умножения с устройством деления и позволяет одновременно с умножением выполнять суммирование.This device has some advantage over the aforementioned devices, since the method of multiplication from the higher digits facilitates the combination of the multiplication device with the division device and allows summation to be performed simultaneously with the multiplication.
Недостатком устройства является недостаточное быстродействие' в связи с затратами времени на приведение двухрядного кода произведения.The disadvantage of this device is the lack of performance due to the time spent on casting a two-row product code.
//
Целью изобретения является повышение быстродействия устройства при выполнении многократных умножений.The aim of the invention is to increase the performance of the device when performing multiple multiplications.
Для достижения этой цели в устройство введены дополнительный регистр множителя и преобразователь кодов, причем Выходы старших разрядов регистра множителя и дополнительного регистра множителя соединены со входами преобразователя кодов, выход преобразователя кодов соединен с управляющим входом блока формирования частичных произведений, входы регистра множителя и дополнительного регистре множителя соединены с выходами регистров Поразрядных сумм и поразрядных переносов соответственно.To achieve this goal, an additional register of the multiplier and a code converter are introduced into the device, the outputs of the upper bits of the register of the multiplier and the additional register of the multiplier are connected to the inputs of the code converter, the output of the code converter is connected to the control input of the partial product formation unit, the inputs of the multiplier register and the additional register of the multiplier are connected with outputs of the Bit-by-bit and bit-by-bit transfer registers, respectively.
Схема устройства приведена на чертеже. Устройство содержит сдвигающий вправо регистр множимого 1, блок форми. рования частичных произведений 2, блок 'поразрядного суммирования 3, регистры I поразрядных сумм и поразрядных, переносов 4 и 5, сдвигающие влево регистр множителя 6 и дополнительный регистр множителя 7, преобразователь кодов 8.The device diagram is shown in the drawing. The device contains a shift to the right of the register of the multiplicable 1, block form. partial products 2, block 'bitwise summation 3, registers I bitwise and bitwise, carry 4 and 5, shifting the register of the factor 6 to the left and the additional register of the factor 7, code converter 8.
Работа устройства начинается с исходного состояния. В исходном состоянии в регистре 1 записано множимое, в регистрах 6 и 7 - два компонента (двух- г рядный код) множителя В регистрах множителя имеется по одному дополнительному старшему разряду. В исходном состоянии в этих разрядах записан ноль.The operation of the device starts from the initial state. In the initial state in the multiplicand register 1 is written in registers 6 and 7 - the two components (two d inline code) registers in the multiplier factor has one additional digit up. In the initial state, zero is recorded in these discharges.
В зависимости от комбинации двоичных цифр и старшей паре разрядов регистров 6 и 7, на выходе преобразователя 8 формируются сигналы , С2 , С* , управляющие формированием частичных произведений, равных нулю, прямому коду множимого или его инверсному коду соответственно.Depending on the combination of binary digits and the highest pair of bits of the registers 6 and 7, signals C2, C * are generated at the output of converter 8, which control the formation of partial products equal to zero, the direct code of the multiplicative, or its inverse code, respectively.
Функционирование преобразователя описывается таблицей, в которой приведена зависимость выходных сигналов , от комбинации входных сигналов os^, аг, и в^ , в 2 , соответствующих старшим парам разрядов регистров 6 и 7.The operation of the converter is described by the table, which shows the dependence of the output signals on the combination of the input signals os ^, and r , and in ^, in 2, corresponding to the highest pairs of bits of the registers 6 and 7.
. 4. 4
Продолжение таблицыTable continuation
Блок поразрядного суммирования 3, состоящий из группы независимых одноразрядных сумматоров, число которых равно числу разрядов произведения, осуществляет поразрядное сложение частичного произведения с содержимым регистров 4 и 5.The bitwise summing unit 3, consisting of a group of independent single-bit adders, the number of which is equal to the number of digits of the product, performs bitwise addition of the partial product with the contents of registers 4 and 5.
Результат сложения записывается в эти регистры. Одновременно осуществляется сдвиг вправо содержимого регистpa 1 и сдвиг влево содержимого регистров би 7 на один разряд.The result of the addition is written to these registers. At the same time, the contents of register 1 are shifted to the right and the contents of bi 7 registers are shifted to the left by one bit.
Описанная процедура повторяется и раз, где и - число разрадов множителя. В результате, в регистрах 4 и 5 получено в двухрядном коде произведение числа, записанного в регистр 1, на сумму чисел, записанных в исходном состоянии в регистрах 0 и 7. При многократном умножений произведение Из регистров 4 и 5 передается в регистры 6 и 7 соответственно. В следующем цикле умножения оно играет роль множителя,The described procedure is repeated once, where and is the number of bits of the multiplier. As a result, in registers 4 and 5, the product of the number written in register 1 is obtained in two-row code by the sum of the numbers written in the initial state in registers 0 and 7. With multiple multiplications, the product from registers 4 and 5 is transferred to registers 6 and 7, respectively . In the next cycle of multiplication, it plays the role of a multiplier,
В устройстве могут выполняться различные комбинации операций сложения и умножения чисел.The device can perform various combinations of operations of addition and multiplication of numbers.
Например, если в исходном состоянии ' записать в регистры 1,4,5,6,7 числа А, В,С,Д,Е соответственно, то за один цикл умножения будет выполнена операция Ах(Д+Е) +В+С. .For example, if in the initial state 'write the numbers A, B, C, D, E into the registers 1,4,5,6,7, respectively, then in one multiplication cycle the operation Ax (D + E) + B + C will be performed. .
Данное устройство позволяет существенно сократить время выполнения < многократных умножений по сравнению с прототипом.This device can significantly reduce the execution time of <multiple multiplications in comparison with the prototype.
746411746411
В зависимости от кратности умножения и разрядности сомножителей этот выигрыш составит от 10% до 20% при небольших дополнительных затратах оборудования.Depending on the multiplication factor and the bit depth of the factors, this gain will be from 10% to 20% with little additional equipment costs.
Кроме того, расширяются функциональ- 5 ные возможности устройства по сравнению с аналогами. Предлагаемое устройство позволяет одновременно выполнять различные комбинации операций сложения и умножения чисел. 10In addition, expanding the functional capabilities of the device 5 nye compared to peers. The proposed device allows you to simultaneously perform various combinations of operations of addition and multiplication of numbers. 10
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU782618667A SU748411A1 (en) | 1978-05-22 | 1978-05-22 | Device for multiplying binary numbers |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU782618667A SU748411A1 (en) | 1978-05-22 | 1978-05-22 | Device for multiplying binary numbers |
Publications (1)
Publication Number | Publication Date |
---|---|
SU748411A1 true SU748411A1 (en) | 1980-07-15 |
Family
ID=20765886
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU782618667A SU748411A1 (en) | 1978-05-22 | 1978-05-22 | Device for multiplying binary numbers |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU748411A1 (en) |
-
1978
- 1978-05-22 SU SU782618667A patent/SU748411A1/en active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6901422B1 (en) | Matrix multiplication in a vector processing system | |
JPS60229140A (en) | Double precision multiplier | |
US4374427A (en) | Divisor transform type high-speed electronic division system | |
JPS6470827A (en) | Apparatus and method for performing shift operation within multipler array circuit | |
SU748411A1 (en) | Device for multiplying binary numbers | |
JP3660075B2 (en) | Dividing device | |
JPS6226723B2 (en) | ||
EP1504335A2 (en) | Fast multiplication circuits | |
KR950006581B1 (en) | Binary tree multiplier constructed of carry save adders having an area effect | |
KR100297110B1 (en) | Modular multiplier | |
KR960009713A (en) | Booth recording circuit in multiplier | |
SU748412A1 (en) | Device for multiplying binary numbers | |
SU857975A1 (en) | Squaring and multiplying device | |
SU1179321A1 (en) | Pipeline device for iterative dividing | |
SU781813A1 (en) | Dividing device | |
JPS58119045A (en) | High-speed fixed number arithmetic circuit | |
SU748409A1 (en) | Device for multiplying binary-decimal numbers | |
JP3099255B2 (en) | Remainder multiplier | |
SU1022156A2 (en) | Device for multiplying numbers | |
SU1173410A1 (en) | Apparatus for multiplication in the excessive serial code | |
JPH0784762A (en) | Multiplication circuit | |
SU840920A1 (en) | Computing unit of digital network model for solving differential equations | |
KR100386979B1 (en) | Method of paralleling bit serial multiplier for Galois field and a bit serial-parallel multipiler using thereof | |
SU1206773A1 (en) | Multiplying device | |
SU822181A1 (en) | Device for multiplying numbers in complementary codes |