SU1229757A1 - Multiplying device - Google Patents
Multiplying device Download PDFInfo
- Publication number
- SU1229757A1 SU1229757A1 SU823511015A SU3511015A SU1229757A1 SU 1229757 A1 SU1229757 A1 SU 1229757A1 SU 823511015 A SU823511015 A SU 823511015A SU 3511015 A SU3511015 A SU 3511015A SU 1229757 A1 SU1229757 A1 SU 1229757A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- block
- summation
- inputs
- outputs
- tetrad
- Prior art date
Links
Landscapes
- Complex Calculations (AREA)
Abstract
Изобретение относитс к вычислительной технике и может быть использовано при разработке быстродействующих устройств дл умножени двоичных и дес тичных чисел. Целью изобретени вл етс расширение области применени устройства за счет возможности умножени на нем и дес тичных чисел. Устройство содержит регистры множимого, множител и результата , блок кратных, блок частичных произведений, блок двоичного суммировани , блок суммировани тетрадных переносов, блок коррекции, блок дес тичного суммировани и коммутатор . Цель достигнута за счет введени в устройство блока кратных, блока суммировани тетрадных переносов , блока коррекций, блока дес тичного суммировани и коммутатора.При этом выход регистра множимого соединен с входом блока кратных, выход которого соединен с вторым входом блока частичных произведений. Выходы тетрадных переносов блока двоичного суммировани соединены соответ- ственно с входами блока суммировани тетрадных переносов, выходы которого соединены соответственно с первой группой входов.блока коррекций, втора группа входов которого соединена соответственно с выходами тетрадных сумм блока двоичного суммировани , кроме последнего, который соединен соответственно с входом блока дес тичного суммировани , другие входы которого соединены соответственно с выходами блока коррекций. Выходы тетрадных сумм блоков двоичного и дес тичного суммировани соединены соответственно с первой и второй группами входов коммутатора, выход которого соединен с входом регистра результата . 2 нл. сл § ьэ ;о - ел мThe invention relates to computing and can be used in the development of high-speed devices for multiplying binary and decimal numbers. The aim of the invention is to expand the field of application of the device due to the possibility of multiplying on it and decimal numbers. The device contains multiplier, multiplier and result registers, a block of multiples, a block of partial products, a block of binary summation, a block of tetrad transfer summation, a correction block, a block of decimal summation and a switch. The goal was achieved by introducing into the device a block multiples, a summation block of tetrad transfers, a correction block, a block of ten summing and a switch. At the same time, the output of the register of multiplicand is connected to the input of the block of multiples, the output of which is connected to the second input of the block of partial products. The outputs of the tetrad transfers of the binary summation block are connected respectively to the inputs of the summation block of tetrad transfers, the outputs of which are connected respectively to the first group of inputs of the correction block, the second group of inputs of which are connected respectively to the outputs of the tetrad totals of the binary summation block, except the last one, which is connected respectively to the input of the block is a summation, the other inputs of which are connected respectively to the outputs of the correction block. The outputs of the tetrad sums of the binary and decimal summation blocks are connected respectively with the first and second groups of inputs of the switch, the output of which is connected to the input of the result register. 2 nl. sl § e; o - ate m
Description
Изобретение относитс к вычислительной технике и может быть использовано при разработке быстродействующих устройств дл умножени дес тичных чисел.The invention relates to computing and can be used in the development of high-speed devices for multiplying decimal numbers.
Цель изобретени - сокращение количества оборудовани .The purpose of the invention is to reduce the amount of equipment.
На фиг,1 представлена функциональна схема устройства дл умножени j на фиг.2 - выполнение узла суммировани тетрадных переносов.Fig. 1 shows a functional diagram of the apparatus for multiplying j in Fig. 2 — the execution of the tetrad transfer summation node.
Устройство содержит регистры 1 - 3 множимого, множител и произвед е- ни соответственно, блок 4 формиро вани кратных множимого, блок 5 формировани частичных произведений, блок 6 двоичного суммировани , блок 7 суммировани тетрадных переносов, блок 8 коррекции, блок 9 дес тичного суммировани . Блок 7 содержит узлы 10 суммировани тетрадных переносов . Блок 8 содержит узлы 11 умножени на шесть, узлы 12 дес тичногоThe device contains registers 1–3 multiplicand, multiplier and product, respectively, block 4 of forming multiples of multiplicand, block 5 of forming partial products, block 6 of binary summing, block 7 of adding tetrad shifts, block 8 of correction, block 9 of decimal summing. Block 7 contains the nodes 10 summation tetrad transfers. Block 8 contains nodes 11 multiplied by six, nodes 12 decimal
суммировани , преобразователи 13 дво- 25 суммирование переносов, возникакщихsummations, converters 13 two- 25 summation of transfers arising
из одной тетрады блока 6. Например,from one tetrad of block 6. For example,
ичного кода в дес тичный. Блок 6 имеет выходы 14 тетрадных переносов и выходы 15 тетрад.of a life code in decimal. Block 6 has exits of 14 tetrad transfers and exits of 15 tetrads.
Регистры 1 и 2,мнозкимого и множител предназначены дл хранени го- разр дных дес тичных сомножителей, в регистр 3 произведени записываетс 2т разр дное дес тичное произведение .The registers 1 and 2, the bridge and the multiplier, are intended for storing the decimal multiplicative factors, in the product register 3 is written 2m bit decimal product.
В блоке 4 формируетс двухкратное 2 X, четьфехкратное 4 X и восьмикратное 8 Х множимые.In block 4, a double 2 X, four multiple 4 X, and eight eight X multiplicable forms are formed.
В блоке 5 форнируют с частичные произведени множимого X на все цифрам множител У, причем число частичных произведений равно . Это св зано с тем, что формирутотс четыре частичных произведени множимого на каждую дес тичную цифру вг-разр дного множител .In block 5, forniut with partial products of multiplicable X over all digits of the factor Y, and the number of partial products is equal. This is due to the fact that there are four partial products of the multiplicand for each decimal digit of the g-bit multiplier.
Блок 6 предназначен дл паратглель- ного по возможиости суммировани п частичных произведений, сформированных в блоке 5 и поступающих соответствующим образом на входы блока 6 с учетом занимаемых ими весовых позиций . На выходы 14 блока 6 коступают тетрадные переиосы, которые формируютс из тетрад в блоке при сз ммнро- вании частичных произведений : которые в нем же используютс дл получени правильного результата. Например , на выход 14 подаютс все те переносы, которле образуютс из пергUnit 6 is intended for the paraglular, by the possibility of summing, n partial products, formed in unit 5 and arriving accordingly at the inputs of unit 6, taking into account the weight positions they occupy. The outlets 14 of block 6 are equipped with tetrad perioses, which are formed from the tetrads in the block during the transmission of partial works: which are used in it to obtain the correct result. For example, at output 14, all those transfers that are formed from perg
30thirty
3535
4444
узел 10 производит суммирование тех тетрадных переносов, котор ле образук тс во второй тетраде блока 6 и об зательно передаютс в его третью тетраду дл дальнейшего суммировани (эти тетрадные переносы поступают на входы узла lOj блока 7 с хода 14, блока 6). Все узлы 10 блока 7 могут быть построены с использованием ПЗУ по соответствующим таблицам истинности. Узлы 10 соединены между собой цепью дес тичных переносов.node 10 summarizes the tetrad transfers that are formed in the second tetrad of block 6 and are transmitted to its third tetrad for further summation (these tetrad transfers arrive at the inputs of the node lOj of block 7 from 14, block 6). All nodes 10 of block 7 can be built using ROM according to the corresponding truth tables. Nodes 10 are interconnected by a chain of decimal transfers.
В узле 10 (фиг.2) дл определенности рассматриваетс суммирование двадг1ати дев ти одноразр дных тетрад ных переносов, поступающих в него и он содержит сумматор 16 двадцати дев ти одноразр дных двоичных чисел, четырехразр дный комбинационный двоичный; сумматор 17 с ускоренньйч переносом , п ть элементов И 18 и четыре элемента ИЛИ 19. С помощью элементов И и элемента ИЛИ 19.,, формируетс перенос .С,, , равный единице , когда сумма тетрадных переносов на вьгходе сумматора 16 больше дев ти , но меньше двадцати. При этом, когда, возникает этот перенос из сум- 55 мы, полученной на выходе сумматора 16, вычитаетс число дес ть (это вычитание в узле 10 выполн етс на сумматоре 17 путем добавлени +6),In node 10 (Fig. 2), for definiteness, the summation of twenty nine-nine one-digit tetrad transfers entering it is considered, and it contains an adder of 16 twenty-nine one-digit binary numbers, a four-bit Raman binary; an adder 17 with accelerated transfer, five elements AND 18 and four elements OR 19. With the help of AND elements and the element OR 19., a transfer is formed. With ,, equal to one, when the sum of the tetrad transfers on the run of the adder 16 is more than nine, but less than twenty. At the same time, when this transfer arises from the sum of 55 received at the output of the adder 16, the number ten is subtracted (this subtraction at node 10 is performed on the adder 17 by adding +6),
4545
5050
вой наименее значимой тетрады блока 6 при суммировании в нем частичных произведений и которые далее об зательно пост1 пают во вторую тетраду блока 6 дл эрмировани правильного результата (переносы же, которые возникают в первой тетраде блока бив ней же и используютс , на выход 14, не должны поступать). Тетрадные переносы блокс1 6 могут быть как одноразр дными , так и многоразр дными двоичными числами. На выходы 15 блока 6 поступает потетрадно 2п-разр дна двоична сумма в однор дном.коде. 5 Например, четыре наиболее младших двоичных разр да этой суммы образуют ее тетраду и подаютс на выход 15, блока 6, а.четыре самых старших двоичных разр да образуют последнюю тетраду суммы и поступают на выход 15j блока 6.The least significant tetrad of block 6 when summing up partial works in it and which further necessarily go to the second tetrad of block 6 to get the correct result (the transfers that occur in the first tetrad of the block are the same and are used, on output 14, should not do). Notebook transfers of blocs1 6 can be either one-bit or multi-bit binary numbers. At outputs 15 of block 6, the 2p-bit bottom is received in binary form in one-digit-code. 5 For example, the four youngest binary bits of this amount form its tetrad and are fed to output 15, block 6, and the four most senior binary bits make up the last tetrad amount and arrive at output 15j of block 6.
Блок 7 содержит (2ni-1) узлов 10 сумми:ровани тетрадных переносов. Каждый узел 10 блока 7 осуществл етBlock 7 contains (2ni-1) nodes of 10 sums: tetrad transfer. Each node 10 of block 7 performs
00
узел 10 производит суммирование тех тетрадных переносов, котор ле об разук тс во второй тетраде блока 6 и об зательно передаютс в его третью тетраду дл дальнейшего суммировани (эти тетрадные переносы поступают на входы узла lOj блока 7 с хода 14, блока 6). Все узлы 10 блока 7 могут быть построены с использованием ПЗУ по соответствующим таблицам истинности. Узлы 10 соединены между собой цепью дес тичных переносов.node 10 produces a summation of those tetrad transfers, which is found in the second tetrad of block 6 and is transmitted to its third tetrad for further summation (these tetrad transfers arrive at the inputs of the node lOj of block 7 from 14, block 6). All nodes 10 of block 7 can be built using ROM according to the corresponding truth tables. Nodes 10 are interconnected by a chain of decimal transfers.
В узле 10 (фиг.2) дл определенности рассматриваетс суммирование двадг1ати дев ти одноразр дных тетрадных переносов, поступающих в него и он содержит сумматор 16 двадцати дев ти одноразр дных двоичных чисел, четырехразр дный комбинационный двоичный; сумматор 17 с ускоренньйч переносом , п ть элементов И 18 и четыре элемента ИЛИ 19. С помощью элементов И и элемента ИЛИ 19.,, формируетс перенос .С,, , равный единице , когда сумма тетрадных переносов на вьгходе сумматора 16 больше дев ти , но меньше двадцати. При этом, когда, возникает этот перенос из сум- мы, полученной на выходе сумматора 16, вычитаетс число дес ть (это вычитание в узле 10 выполн етс на сумматоре 17 путем добавлени +6),In node 10 (Fig. 2), for definiteness, the summation of twenty nine-nine one-digit tetrad transfers entering it is considered and it contains an adder of 16 twenty-nine one-digit binary numbers, a four-bit Raman binary; an adder 17 with accelerated transfer, five elements AND 18 and four elements OR 19. With the help of AND elements and the element OR 19., a transfer is formed. With ,, equal to one, when the sum of the tetrad transfers on the run of the adder 16 is more than nine, but less than twenty. In this case, when this transfer arises from the sum received at the output of the adder 16, the number ten is subtracted (this subtraction in node 10 is performed on the adder 17 by adding +6),
С помощью элементов И 18ц и И 185 и элемента ИЛИ 19 образуетс из узла 10 перенос С,, равный двойке, когда сумма тетрадных переносов на выходе сумматора 16 больше дев тнадцати . Когда возникает этот перенос на сумматоре 17 производитс коррекци суммы, однако уже путем вычитани из нее числа двадцать. При таком построении узла 10 при суммировании двадцати дев ти тетрадных переносов на его выходе не может образоватьс значение суммы, больше чем одиннадцать. Каждый разр д блока 8, образованный совокупностью i-го узла 1 1 , i-го узла 12 и i-го преобразовател 13 ( i 12m-1),With the help of the elements And 18c and And 185 and the element OR 19, the transfer C, equal to two, is formed from the node 10, when the sum of the tetrad transfers at the output of the adder 16 is more than nine thirteen. When this transfer occurs on the adder 17, the sum is corrected, but already by subtracting from it the number twenty. With such a construction of node 10, summing up twenty-nine tetrad transfers, its output cannot produce a sum value greater than eleven. Each bit of block 8 formed by a combination of the i-th node 1 1, the i-th node 12, and the i-th converter 13 (i 12m-1),
может быть выполнен в виде ПЗУ. Эти узлы могут быть реализованы и по другому , например в виде некоторых ком бинационных схем, синтезированных по соответствующим таблицам истинности . По значению суммы тетрадных переносов , котора равна числу возникших из соответствующей тетрады блока 6 определ етс число цифр 6, которые необходимо прибавить в соответствующую дес тичную позицию результата дл его коррекции. Это объ сн етcan be made in the form of a ROM. These nodes can also be implemented differently, for example, in the form of some combination schemes synthesized according to the corresponding truth tables. The value of the sum of tetrad transfers, which is equal to the number of block 6 arising from the corresponding tetrad, determines the number of digits 6, which must be added to the corresponding decimal position of the result in order to correct it. This explains
ных произведений в блоке 6 вс кий раз когда возникает одноразр дный перенос из некоторой тетрады блока 6 необходимо корректировать эту тетраду путем добавлени в нее +6. Эта -коррекци выполн етс в блоке 8.In block 6, whenever a one-bit transfer occurs from some tetrad of block 6, it is necessary to correct this tetrad by adding +6 to it. This -correction is performed in block 8.
Таким образом, в каждом разр де блока 8 формируетс коррекци дл соответствующей дес тичной позиции результата. Она определ етс следую- щим образом:Thus, in each bit of block 8, a correction is formed for the corresponding decimal position of the result. It is defined as follows:
к., 6- с; ,k., 6- s; ,
гдеWhere
С.значение суммы тетрадных переносов i-го узла 10 бло ка 7, вьфаженное в дес тичном обозначении.C. The value of the sum of the tetrad transfers of the i-th node 10, block 7, expressed in decimal notation.
Например- на выходе 1 -го узла 10 блока 7 сформирована двоична сумма С 10101, тогда 21 и 126. For example, at the output of the 1st node 10 of block 7 a binary sum of C 10101 is formed, then 21 and 126.
Кроме того, в казкдом разр де блока 8 осуществл етс преобразование из двоичной системы счислени в дес тичную тетрадной суммы, представленной в двоичном коде и поступающей соот- ветственно на его вход с выхода 15 блока 6, а также дес тичное подсуммиро- вание значени этвй суммы к значениюIn addition, in the case of the discharge of block 8, a conversion from a binary number system to a tetra sum total represented in binary code and arriving respectively at its input from output 15 of block 6, as well as a decimal summation of to value
соответствующей коррекции (предполагаетс , что все действи над дес тичными числами производ тс в коде 8421). Например,, на первый вход J-гоthe corresponding correction (it is assumed that all actions on decimal numbers are made in code 8421). For example, at the first input of the Jth
разр да блока 8 поступает с выхода i-ro узла 10 блока 7 двоичный код суммы тетрадных переносов С 11001, а на второй его вход с t-ro выхода 15 блока 6 подаетс двоичный код тет-the bit of block 8 comes from the output of the i-ro node 10 of block 7, the binary code of the tetrad transfer C 11001, and its second input from the t-ro output 15 of block 6 is fed to the binary code of the tetra
радной суммы S 1111. Тогда в i-м разр де блока 8 производ тс следующие действи : формируетс дл i-и дес тичной позиции коррекци результатаequal sum S 1111. Then in the i-th bit of block 8 the following actions are performed: the result is formed for the i- and tenth position
6 С,; 150; 6 C; 150;
осуществл етс преобразование i-и тетрадной суммы S из двоичной системы счислени в дес тичную: S 1111- S| 15; выполн етс дес тичное сложение 5 - и тетрадной суммы S4 и i -и коррекции KJ , в результате чего образуетс результат дл 1-Л дес тичной позицииconverts the i and tetrad sums S from the binary number system to the decimal: S 1111-S | 15; a decimal addition of the 5 - and a tetrad sum of S4 and i - and the correction KJ is performed, resulting in a result for the 1-L decimal position
10ten
s; + к;„s; + to; „
165.165.
Ниже приведен фрагмент таблицы истинности разр да блока 8, где через X и , обЬзначена информаци , поступающа соответственно на первый и второй входы разр да блока 8, а через ,, обозначен: результат , который формируетс на его выходе (возрастание индексов при буквенных обозначени х прин то в направлении старших разр дов).Below is a fragment of the truth table of block 8, where X and, denotes information that goes to the first and second inputs of block 8, respectively, and denotes the result that is formed at its output (increasing indices with letter symbols taken in the direction of older bits).
Продолжение таблицыTable continuation
По таблице истинности может быть легко разработан на ПЗУ любой разр д блока 8. Следует отметить, что с целью обеспечени более высокого быстродействи блока 9 информацию на выходах разр дов блока 8 можно надлежащим образом формировать в коде с избытком шесть.According to the truth table, any bit of block 8 can be easily developed on the ROM. It should be noted that in order to ensure a higher speed of block 9, the information at the outputs of the bits of block 8 can be properly formed in the code with an excess of six.
Блок 9 предназначен дл быстрого суммировани дес тичных результатов, полученных на выходах разр дов блока 8,Block 9 is designed to quickly add decimal results obtained at the outputs of the bits of block 8,
Устройство работает следугацим образом .The device works in the same way.
Одновременно или последовательно во времени в регистры 1 и 2 загружаютс т-разр дные дес тичные сомножители X и У без знаков. После того в блоке 4 формируютс четыре дес тичных кратных множимого X (1 X, 2 X, Ах, 8 X), которые затем поступают на входы блока 5, где и образуетс п частичных произведений (четыре частичных произведени при умножении на один разр д т-разр дного множител ) . В блоке 6 выполн етс быстрое сложение этих частичных произведений с учетом занимаемых ими весовых позиций и по возможности, параллельно , в блоке 7 формируютс суммы тетрадных переносов, по которым в блоке 8 корректируетс 2ш-4)азр дна сумма, образовавша с на выходах 15 блока 6Simultaneously or successively in time, t-bit decimal factors X and Y without signs are loaded into registers 1 and 2. After that, in block 4, four decimal multiples of the multiplicand X (1 X, 2 X, Ax, 8 X) are formed, which are then fed to the inputs of block 5, where n partial products are formed (four partial products with multiplication by one bit -drag multiplier). In block 6, these partial products are quickly added together taking into account the weight positions they occupy and, if possible, in parallel, in block 7, the sums of tetrad transfers are formed, according to which in block 8, the 2sh-4) bottom total is corrected. 6
В блоке 9 производитс быстрое сложение результатов, сформированных на выходах блока 8, а получивша с на его выходах 21п-раэр дна сумма запи-- сываетс в регистр 3.In block 9, a quick addition of the results formed at the outputs of block 8 is performed, and the sum obtained from the outputs of its 21p-bottom is written to register 3.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU823511015A SU1229757A1 (en) | 1982-11-12 | 1982-11-12 | Multiplying device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU823511015A SU1229757A1 (en) | 1982-11-12 | 1982-11-12 | Multiplying device |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1229757A1 true SU1229757A1 (en) | 1986-05-07 |
Family
ID=21035524
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU823511015A SU1229757A1 (en) | 1982-11-12 | 1982-11-12 | Multiplying device |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1229757A1 (en) |
-
1982
- 1982-11-12 SU SU823511015A patent/SU1229757A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 1035600, кл. G 06 F 7/52, 1981. Авторское свидетельство СССР №.1157542, кл. с; 06 F 7/52,13.09.82. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1229757A1 (en) | Multiplying device | |
JPS5981737A (en) | Multiplier | |
GB1582958A (en) | Digital system for binary multiplication of a number by a sum of two numbers | |
RU2148270C1 (en) | Device for multiplication | |
RU2030783C1 (en) | Device for determination of number of units in binary eight-digit code | |
SU1541599A1 (en) | Matrix computing device | |
SU1545215A1 (en) | Computing device | |
SU1097995A1 (en) | Transformer from binary code to binary-coded decimal code | |
SU577528A1 (en) | Adder-accumulator | |
SU1003074A1 (en) | Device for parallel algebraic adding in sign-digit number system | |
SU1229758A1 (en) | Multiplying device | |
SU898423A1 (en) | Binary number dividing device | |
RU1797112C (en) | Device for multiplication of numbers | |
SU763896A1 (en) | Device for adding n numbers in redundant system | |
SU1124284A1 (en) | Matrix computing device | |
SU1478212A1 (en) | Divider | |
SU763894A1 (en) | Arithmetical device | |
RU1807481C (en) | Device for multiplication | |
SU888109A1 (en) | Multiplier | |
SU1541596A1 (en) | Division device | |
SU1262481A1 (en) | Multiplying device | |
SU1038937A1 (en) | Multiplication device | |
SU696450A1 (en) | Device for adding in redundancy notation | |
SU1442988A1 (en) | Combination adder | |
SU824203A1 (en) | Device for adding n-digit decimal numbers |