SU1654814A2 - Multiplier - Google Patents

Multiplier Download PDF

Info

Publication number
SU1654814A2
SU1654814A2 SU884617316A SU4617316A SU1654814A2 SU 1654814 A2 SU1654814 A2 SU 1654814A2 SU 884617316 A SU884617316 A SU 884617316A SU 4617316 A SU4617316 A SU 4617316A SU 1654814 A2 SU1654814 A2 SU 1654814A2
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
bit
registers
information
Prior art date
Application number
SU884617316A
Other languages
Russian (ru)
Inventor
Александр Антонович Шостак
Валентин Владимирович Яскевич
Original Assignee
Предприятие П/Я М-5339
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 Предприятие П/Я М-5339 filed Critical Предприятие П/Я М-5339
Priority to SU884617316A priority Critical patent/SU1654814A2/en
Application granted granted Critical
Publication of SU1654814A2 publication Critical patent/SU1654814A2/en

Links

Abstract

Изобретение относитс  к вычислительной технике, может быть использовано при разработке быстродействующих устройств умножени  чисел, удобных дл  изготовлени  в составе больших интегральных схем, и  вл етс  усовершенствованием устройства по а.с. У 888109. Цель изобретени  - повышение достоверности результата вычислений устройства. Цель достигаетс  с помощью регистров 6,7 промежуточного результата, сумматора 8, элемента 9 задержки, узла 10 сравнени , элемента И 11 и коммутатора 5. С их помощью контролируетс  работа умножител , включающего в себ  регистр 1 множимого, п блоков 2 вычислени  разр дных значений произведени  и групп буферных регистров 3,4„ 2 ил.The invention relates to computing, can be used in the development of high-speed devices multiplying numbers, convenient for manufacturing in the composition of large integrated circuits, and is an improvement of the device along. 888109. The purpose of the invention is to increase the reliability of the result of the device calculations. The goal is achieved using intermediate result registers 6.7, adder 8, delay element 9, comparison node 10, element 11 and switch 5. They are used to control the operation of the multiplier, which includes multiplica register 1, n blocks for calculating bit values product and groups of buffer registers 3,4 „2 ill.

Description

Изобретение относитс  к вычислительной технике, может быть использовано при разработке быстродействующих устройств умножени  чисел, удобных дл  изготовлени  в составе больших интегральных схем (БИС), и  вл етс  усовершенствованием устройства по авт.сво № 888109сThe invention relates to computing, can be used in the development of high-speed devices multiplying numbers, convenient for manufacturing as part of large integrated circuits (LSI), and is an improvement of the device according to aut. No. 888109

Цель изобретени  - повышение достоверности результата вычислений устройства .The purpose of the invention is to increase the reliability of the calculation result of the device.

На фиг.1 приведена функциональна  схема устройства; на фиг.2 - алгоритмы работы устройства при умножении с контролем двух сомножителей и при вычислении произведени  четырех сомножителей устройства.Figure 1 shows the functional diagram of the device; Fig. 2 shows the algorithms for the operation of the device when multiplying with the control of two factors and when calculating the product of the four factors of the device.

Устройство (фиг.1) содержит п-раз- р дный регистр 1 множимого, п блоков 2 вычислени  разр дных значений произведени , буферные регистры 3 и 4 первой и второй групп, коммутатор 5, регистры 6 и 7 промежуточного результа та , одноразр дный сумматор 8, элемент 9 задержки, узел 10 сравнени , элемент И 11, первый установочный вход 12 устройства, первый вход 13 признака записи устройства, второй установочный вход 14 и второй вход 15 записи устройства, вход 16 стробировани  устройства, вход 17 задани  режимаThe device (Fig. 1) contains n-bit register 1 of multiplicable, n blocks 2 for calculating discharge product values, buffer registers 3 and 4 of the first and second groups, switch 5, registers 6 and 7 of the intermediate result, one-bit adder 8, the delay element 9, the comparison node 10, the AND element 11, the first installation input 12 of the device, the first input 13 of the device record feature, the second installation input 14 and the second input 15 of the device recording, the device gating input 16, the mode setting input 17

работы устройства, входы 18 и 19 множител  и множимого устройства соответственно , вход 20 коррекции устройства , информационные выходы 21 и 22 устройства, выход 23 контрол  устройства , группу выходов 24 п-разр д- ног о регистра 1, выходы 25, 26 блоков 2 оoperation of the device, inputs 18 and 19 of the multiplier and multiplier of the device, respectively, input 20 of the device correction, information outputs 21 and 22 of the device, output 23 of the device control, group of outputs 24 n-bit d-legs of register 1, outputs 25, 26 of blocks 2 o

Регистр 1 предназначен дл  хранени  n-разр дного значени  множимого , в который запись производитс  по тактовым сигналам при наличии разрешающего потенциала на их входах записи и может быть выполнен на синхронных двухтактных DV-триггерах. Ре (ЛRegister 1 is designed to store the n-bit multiplier value, in which recording is made using clock signals in the presence of a resolving potential at their recording inputs and can be performed on synchronous push-pull DV triggers. Re (L

05 О105 O1

-U-U

0000

1H

гистры 3 и 4 предназначены дл  хранени  «соответственно старшего и младшего разр дов разр дных произведений, формируемых блоками 2. Регистры 6 и 7 предназначены дл  хранени  п старших разр дов произведени  сомножите- лей в двухр дном коде и представл ют собой сдвиговые регистры, в которых под управлением потенциала на входах управлени  сдвигом осуществл етс  либо прием информации с информа - ционных входов, либо перезапись ее из старших в младшие разр ды. Регистры 6 и 7 могут быть реализованы на синхронных двухтактных DV-тригге- рах, запись в которые осуществл етс  при наличии разрешающего потенциала на их входах записи, лричем разр дность регистра 6 равна (n-1), a разр дность-регистра 7 равна п. На фиг.1 условно не показаны цепи синхронизации всех регистров устройства, однако используетс  обща  цепь синхронизации всех регистров устройства, образующа  общую цепь синхронизации устройства.Gistrs 3 and 4 are designed for storing "the high and low bits of the bit products generated by blocks 2, respectively. Registers 6 and 7 are for storing the higher bits of the factors in a two-bit code and are shift registers in which under the control of the potential at the inputs of the shift control, either information is received from the information inputs, or overwritten from the highest to the lowest bits. Registers 6 and 7 can be implemented on synchronous push-pull DV triggers, which are recorded in the presence of a resolving potential at their recording inputs, like register 6 is equal to (n-1), and register-7 is equal to n Figure 1 conventionally does not show the synchronization chains of all device registers, however, the common synchronization chain of all device registers is used, forming the general synchronization chain of the device.

Блоки 2 предназначены дл  вычислени  значений разр дных произвед е- ний по формулеBlocks 2 are designed to calculate the values of bits of products using the formula

F X«Y + A +F x "Y + A +

где Х9 Y - соответствующие разр дыwhere X9 Y - the corresponding bits

сомножителей;factors;

А, В - разр дные слагаемые, пос- тупающие на входы первого и вторых слагаемых блока 2.A, B - bit terms, appearing at the inputs of the first and second terms of block 2.

Блоки 2 могут быть реализованы ,Blocks 2 can be implemented,

самыми различными методами и средствами в зависимости от требований к быстродействию, регул рности структуры и т.д., в частности, возможно выполнение в виде ПЗУ (посто нного запоминающего устройства) или в виде комбинационных схем, синтез, которых может быть произведен любым из известных методов по таблице a variety of methods and means depending on the requirements for speed, regularity of the structure, etc., in particular, it can be performed in the form of a ROM (persistent storage device) or in the form of combinational circuits, the synthesis of which can be produced by any of the known methods according to the table

истинности функционировани  блока.the truth of the functioning of the block.

Одноразр дный сумматор 8 с запоминанием переноса предназначен дл  преобразовани  двухр дного кода произведени  сомножителей в однор дный код. Этим самым вычисл ютс  п старших разр дов произведени  из инфор- мации, хранимой в регистрах 6 и 7. Одноразр дный сумматор 8 может быть реализован на основе комбинационноThe one-bit transfer memory adder 8 is designed to convert a two-row multiplication product code into a one-way code. Thereby, the most important work bits are calculated from the information stored in registers 6 and 7. A one-bit adder 8 can be implemented on the basis of a combination of parameters.

Q 5 0 5 Q 5 0 5

00

5five

5 five

00

00

го сумматора и синхронного DV-тригге- ра дл  запоминани  переноса, имеющего входы установки в нулевое состо ние и записи. Запись в этот триггер производитс  при наличии разрешающего потенциала на V-входе. Синхро- вход триггера запоминани  переноса соединен с общей цепью синхронизации устройства.a totalizer and a synchronous DV trigger for storing a transfer having inputs of zeroing and recording. Entry to this trigger is made when there is a resolving potential at the V input. The sync input of the transfer memory trigger is connected to the common synchronization circuit of the device.

Элемент 9 задержки предназначен дл  формировани  необходимой задержки значений разр дов произведени , требуемой при вычислении произведени  нескольких сомножителей, а также при выполнении контрол  формируемого результата. Элемент 9 задержки может быть реализован на основе одноразр дного регистра, построенного на синхронных двухтактных DV-тригге- рах, запись в которые осуществл етс  при наличии разрешающего потен-, циала на их V-входах (входе записи элемента 9), а синхровходы (не показаны ) соединены с общей цепью синхронизации устройства.The delay element 9 is intended to form the necessary delay of the values of the product bits required when calculating the product of several factors, as well as when performing the check of the formed result. The delay element 9 can be implemented on the basis of a one-bit register built on synchronous push-pull DV triggers, which are recorded in the presence of a resolving potential on their V inputs (recording entry of element 9), and synchronous inputs (not shown) are connected to the shared synchronization circuit of the device.

Устройство работает следующим образом.The device works as follows.

Рассмотрим работу устройства дл  следующих случаев:Consider the operation of the device for the following cases:

умножение двух сомножителей с контролем (основной режим работы устройства);теmultiplication of two factors with control (the main operation mode of the device);

вычисление функции ,П А - произведение нескольких сомножителей с контролем.function calculation, П А - product of several factors with control.

Дл  по снени  работы устройства на фиг.2 представлены граф-схемы алгоритма функционировани  устройства дл  основного режима умножени  двух n-разр дных сомножителей с контролем (а) и при вычислении функfnTo clarify the operation of the device, FIG. 2 shows the flowcharts of the algorithm of operation of the device for the main multiplication mode of two n-bit factors with control (a) and when calculating the functions

ции .П А-с контролем (где А: - п-раз- р дньш1 сомножители) дл  случа  m 4(6)..P A-s control (where A: is the p-raster of d1 factors) for the case m 4 (6).

На фиг.2 прин ты следующие обозначени : Y12-Y17 - сигналы на входах 12-17 устройства соответственно .In Figure 2, the following symbols are accepted: Y12-Y17 are the signals at the inputs 12-17 of the device, respectively.

Предполагаетс , что при наличии сигналов Y15 и Y14 осуществл етс  запись с выходов 25 и- 26 блоков 2 в регистры 7 и 6 соответственно, а при отсутствии Y15 и наличии Y14 производитс  сдвиг информации в регистрах 6 и 7. Также предполагаетс , что при наличии потенциала на Y17,,B коммутаторе 5 осуществл етс  передача с выхода элемента 9 задержки, а приIt is assumed that with the presence of signals Y15 and Y14, recording from outputs 25 and 26 of block 2 to registers 7 and 6, respectively, and in the absence of Y15 and presence of Y14, information is shifted in registers 6 and 7. It is also assumed that in the presence of potential on Y17,, B, switch 5 is transmitted from the output of delay element 9, and

5151

его отсутствии - передача с входа 18 множител  устройстваits absence - transmission from the input 18 of the device multiplier

Устройство в основном режиме (фиг„2а) работает следующим образом.The device in the main mode (Fig „2a) works as follows.

В исходном состо ли (вершина 0, фиг.2а) регистры 3 и 4 обнулены, в регистре 1 хранитс  без знака п-раз- р дное значение множимого, коммута- тор 5 настроен на передачу инфсрма- ции с входа 18 множител  устройства.In the initial state (vertex 0, fig. 2a), registers 3 and 4 are reset to zero, register 1 holds the value of the multiplicand without the sign n, switch 5 is configured to transmit information from the input 18 of the device multiplier.

В каждом из (п-1) первых тактов работы устройства на его вход 18 поступает по одному разр ду значение множител , начина  с младшего раз р да. При этом в i-м блоке 2 производитс  умножение разр да множител , поступающего на его вход множител  с выхода коммутатора 5, на i-й разр д множимого, поступающего на его вход множимого с выхода 24-го разр да регистра 1 множимого, и прибавление к младшему разр ду получившегос  при этом двухразр дного произведени  через входы первого и второго слага- емых 1-го.блока 2 соответственно старшего разр да произведени  1-го бло ка 2, сформированного в предыдущем такте и хранимого в i-м регистре 3, и младшего разр да произведени  (i+1)- го блока 2, сформированного в предыдущем такте и хранимого в (i-H)-M регистре 4.5 Сформированные i-м блоком 2 старший и младший разр ды произведени  с его выходов 25 и 26 записываютс  сигналом Y13 в i-e регистр 3 и 4 соответственно.In each of (p-1) the first cycles of operation of the device, the input of the input 18 receives one multiplier value one by one, starting with the least significant number. At the same time, in the i-th block 2, the multiplier of the multiplier arrives at its input multiplier from the output of switch 5, multiplied by the multiplicator’s multiplicated input of the multiplicator 24 of the 24-th register and adds 1 to it. to the younger bit of the resulting two-bit product through the inputs of the first and second components of the 1st block 2, respectively, the highest bit of the product of the 1st block 2, formed in the previous clock cycle and stored in the i-th register 3, and the low-order bit of the product (i + 1) - th block 2, formed In the previous clock cycle stored in the (i-H) -M register 4.5, the highest and the lowest bits of the product generated by the i-th block 2 from its outputs 25 and 26 are written by the signal Y13 to the i-e register 3 and 4, respectively.

В n-м такте работы устройства в блоках 2 производитс  аналогичное умножение множимого на n-й разр дIn the n-th cycle of operation of the device in blocks 2, a similar multiplication of the multiplicand by the n-th bit is performed.

множител , однако по окончании этого такта одновременно с записью информации с выходов 25 и 26 блоков 2 (котора  представл ет собой значение старших п разр дов произведени  двух сомножителей з двухр дном коде) в регистры 3 и 4 производитс  их запись соответственно в регистры 7 и б по сигналам Y14 и Y15 а также осуществл етс  обнуление триггера запо минани  переноса одноразр дного сумматора 8 (вершина п, фиг.2). При этом в течение первых п тактов из устройства через его информационный выход 21 выводитс  по одному разр - ду в каждом такте п младших разр дов произведени „multiplier, however, at the end of this cycle, simultaneously with recording information from outputs 25 and 26 of blocks 2 (which is the value of the highest n bit of the product of the two factors of the two-way code) in registers 3 and 4, they are recorded in registers 7 and 6, respectively The signals Y14 and Y15, as well as the resetting trigger of transfer of the one-digit adder 8 (vertex n, Fig.2), are zeroed out. At the same time, during the first n cycles from the device, through its information output 21, one bit is output in each cycle and the low bits of the product.

В течение последующих п тактов на вход 18 множител  устройства под14-6Over the next p cycles to the input 18 of the multiplier device under 14-6

eiCH нулева  информаци , при этом в кзддом такте на первый вход узла 10 сравнени  поступает по одному разр ду,начина  с младших, старшие п разр дов произведени , формируемые одноразр дным сумматором 8 из информации , хранимой в регистрах 6 и 7, а на второй вход узла 10 сравнени  поступают одноименные разр ды произведени  с выхода регистра 4, формиру- блоками 2 из информации, хранимой в регистрах 3 и 4 Подава  сигнал Y16, разрешают прохождение информации об ошибке с выхода узла 10 сравнени  на выход 23 контрол  устройства .The eiCH is null information, while at the same time, at the first input of the comparison node 10, one bit arrives, starting with the younger ones, the highest n work bits, generated by a one-bit adder 8, from the information stored in registers 6 and 7, and the second input Comparison node 10 receives the same product bits from register 4 output, forming block 2 from information stored in registers 3 and 4. By giving a signal Y16, the error information from the comparison node 10 output passes to the device control output 23.

Вывод из устройства значени  старших п разр дов произведени  проиэво дитс  в течение последних п тактов через его первый информационный выход 21 либо через его второй информационный выход 22-по одному разр ду в каждом такте. Причем при выводе результата через второй выход 22 устройства по вл етс  возможность сразу после окончани  первых п тактов работы устройства начать вычисление произведени  новой пары сомножителей. В этом случае по окончании n-го такта подаетс  сигнал на установочный вход 12 устройства, по которому производитс  обнуление регистров 3 и 4, а также запись нового значени  множимого в регистр 1. Этим устройство подготавливаетс  к вычислению произведени  новой пары сомножителей, значение множител  которой подаетс  па вход 18 устройства по одному разр ду в каждом из последующих п тактов, в течение которых устройство работает аналогично первому умножению. Значение младших п разр дов нового произведени  выводитс  из устройства через его первый информационный выход 21 по одному разр ду в кахщом такте, одновременно с выводом через второй информационный выход 22 устройства старших разр дов предыдущего произведени  В этом случае контроль за функционированием устройства невозможен.The output from the device of the value of the highest n bits of the product production during the last n cycles through its first information output 21 or through its second information output 22 — one bit each time. Moreover, when outputting the result through the second output 22 of the device, it is possible immediately after the end of the first n cycles of operation of the device to begin calculating the product of a new pair of factors. In this case, at the end of the nth clock cycle, a signal is sent to the setup input 12 of the device, which is used to reset registers 3 and 4, as well as to record a new multiplicative value in register 1. This device prepares for calculating the product of a new pair of factors, the multiplier value of which is given PA Input device 18, one bit in each of the subsequent n cycles, during which the device operates similarly to the first multiplication. The value of the lowest n bits of the new product is output from the device through its first information output 21 one bit in each clock cycle, simultaneously with the output of the high bits of the previous product through the second information output 22. In this case, control over the operation of the device is impossible.

До сих пор предполагалось, что на вход 20 коррекции устройства во всех тактах его работы подаетс  нулева  информаци . В тех же случа х, ког ра требуетс  получить округленное произведение, необходимо в первом такте работы устройства на его вход 20 подать корректирующую информациюUntil now, it has been assumed that zero information is supplied to the input 20 of the device correction in all the cycles of its operation. In the same cases, when a rounded product is required to be obtained, it is necessary in the first step of the device operation to submit its correction information to its input 20.

(дл  округлени  2п-разр дного произведени  n-разр днык сомножителей, представленных в двоично-кодированной шестнадцатеричной системе счислени , необходимо в первом такте работы J подать на вход 20 двоичный код 1000). Дл  округлени  произведений-пар сомножителей при их последовательном вычислении необходимо подавать корректив рующую информацию на вход 20 устройства одновременно с подачей на вход 18 множител  устройства первого разр да каждого множител . Это позвол ет осуществить округление результа- та без дополнительных временных затрат . Кроме того, вход 20 устройства может быть использован дл  введени  результирующей коррекции до знакам множимого и множител  в случае умножен ни  чисел в дополнительном коде.(to round the 2n-bit product of n-bit factors multiplicatively represented in the binary-coded hexadecimal number system, it is necessary to submit the binary code 1000 to the input 20 in the first operation cycle J). In order to round up the multiplier pairs, when calculating them sequentially, it is necessary to submit corrective information to the input 20 of the device simultaneously with the input to the input 18 of the multiplier of the first bit of each multiplier. This allows rounding of the result without additional time costs. In addition, the device input 20 can be used to enter the resulting correction to the multiplicand and multiplier characters in the case of multiplying numbers in the additional code.

При вычислении функции .ПА- вWhen calculating the function .PA-

)i J) i J

устройстве дополнительно используетс  коммутатор 5 дл  подачи на входы мно- жител  блоков 2 разр дов промежуточного произведени , вычисл емого сумматором 8 из информации, полученной в предыдущем цикле и хранимой в регистрах б и 7. Общее врем  работы устройства можно условно разделить на три этапа: на первом этапе производитс  умножение двух первых сомножителей , на втором это произведение перемножаетс  с остальными сомножител ми , а иа третьем осуществл ет- с  вывод полученного результата с контролем. Первый этап включает п тактов, второй этап состоит из () циклов, каждый из которых включает (п+1) такт, а третий этап состоит из п тактов. Таким образом, общее врем The device additionally uses a switch 5 to feed the inputs of a multiplier of 2 bits of intermediate work calculated by adder 8 from the information obtained in the previous cycle and stored in registers b and 7. The total operation time of the device can be divided into three stages: in the first stage, the first two factors are multiplied; in the second, the product is multiplied with the other factors, and the third stage carries out the obtained result with the control. The first stage includes n cycles, the second stage consists of () cycles, each of which includes (n + 1) cycles, and the third stage consists of n cycles. Thus, the total time

вычислени  функции П составл етcalculation function P is

}(} (

(т-2) (п+1) + 2-п тактов.(t-2) (n + 1) + 2-n cycles.

Рассмотрим работу устройства, ис- пользу  дл  по снени  фиг.26. В исходном состо нии регистры 3 и 4 обнулены регистре 1 хранитс  без знака n-разр дное значение первого сомножител . Коммутатор 5 настроен на пере- дачу информации с входа 18 множител  устройства (отсутствует сигнал Y17).Consider the operation of the device, use for the explanation of FIG. In the initial state, registers 3 and 4 are zeroed out. Register 1 is stored without the sign of the n-bit value of the first factor. Switch 5 is configured to transmit information from input 18 of the device multiplier (signal Y17 is missing).

В каждом из п первых тактов работы устройства (первый этап) иа его вход 18 множител  поступает по одно- му разр ду второй сомножитель и осуществл ютс  те же операции, что и в основном режиме умножени  двух сомножителей , т.е. производитс  вычислениеIn each of the first n cycles of operation of the device (the first stage), and its input 18 of the multiplier is supplied by the same bit as the second factor, and the same operations are performed as in the main multiplication mode of the two factors, i.e. calculation is performed

произведени  двух первых сомножителей и запись его старших п разр дов в виде двухразр дного кода в регистры б и 7. Однако в наличии от основного режима, в n-м такте подаетс  сигнал Y12, под действием которого устанавливаютс  в нулевое состо ние регистры 3 и k и записываетс  очередной (третий) сомножитель в регистр 1.the products of the first two factors and the recording of its higher n bits in the form of a two-bit code into registers b and 7. However, in the n-th cycle, the signal Y12 is applied, under the action of which registers 3 and k are set to zero state and the next (third) factor is written to register 1.

На втором этапе работы устройства выполн ютс  (т-2) подобных циклов.At the second stage of the device operation, (t-2) similar cycles are performed.

Перед началом каждого из (т-2) циклов регистры 3 и 4 обнулены, в регистре 1 хранитс  без знака значение очередного сомножител , в регистрах б и 7 хранитс  в двухр дном коде значение п старших разр дов произведени  предыдущего цикла, триггер запоминани  переноса сумматора 8 обнулен.Before the start of each of the (t-2) cycles, registers 3 and 4 are zeroed, register 1 stores the value of the next multiplier without a sign, registers b and 7 store the value n of the higher digits of the previous cycle in registers b and 7, and transfer accumulation trigger 8 cleared.

Далее в каждом из (т-2) циклоа в устройстве параллельно реализуютс  две функции: вычисление по одному разр ду в каждом такте старших п разр дов произведени  предыдущего цикла с помощью одноразр дного сумматора 8 из информации, хранимой в регистрах б и 7, и вычисление нового произведени  с помощью блоков 2, использу  в качестве множимого значение очередного сомножител , хранимого в регистре t, а в качестве множител  - старшие п разр дов произведени  пре-, дыдущего цикла, поступающие с выхода 30 элемента 9 задержки через коммутатор 5 настроенный сигналом Y17) на входы множител  блоков 2„ Таким образом , начина  с второго такта каждого из (т-2) циклов., в блоках 2 производ тс  операции, аналогичные первым п тактам работы устройства, причем на входы множител  блоков 2 поступает по одному разр ду, начина  с младших значение произведени  предыдущего цикла, вычисл емое одноразр дным сумматором 8 из информации, хранимой в регистрах б и 7 (в первом такте каждого из (т-2) циклов младший разр д этого произведени  записываетс  в элемент 9 задержки), а на входы множимого блоков 2 поступает значение очередного сомножител  с выходов 24 регистра 1 множимого.Then, in each of the (t-2) cycles in the device, two functions are implemented in parallel: calculating one bit in each clock cycle of the highest n bits of the previous cycle using a one-bit adder 8 from the information stored in registers b and 7, and calculating The new product using blocks 2, using as multiplier the value of the next multiplier stored in register t, and as a multiplier - the highest n bits of the previous and previous cycle output from the output 30 of delay element 9 through switch 5 are configured signal Y17) to the inputs of the multiplier of blocks 2 "Thus, starting from the second cycle of each of (t-2) cycles., in blocks 2, operations similar to the first steps of the device are performed, and to the inputs of the multiplier of blocks 2 bit, starting from the lowest value of the product of the previous cycle, calculated by a one-bit adder 8 of the information stored in registers b and 7 (in the first cycle of each of (t-2) cycles, the least significant bit of this product is recorded in delay element 9), and the inputs of the multiplicand block 2 receive the value the next multiplier from the outputs of the 24 register 1 multiplicand.

В (п+1)м такте каждого из (т-2) циклрв значение старших п разр дов получившегос  нового произведени  в двухр дном коде записываемс  с выходов 25 и 26 блоков 2 в регистры 7In (n + 1) m cycle of each of (t-2) cyclvs, the value of the higher n bits of the new product in the two-row code is written from the outputs 25 and 26 of blocks 2 to registers 7

и 6 соответственно, а также производитс  (кроме (п+1)-го такта последнего (т-2)-го цикла) обнуление регистров 3 и 4 и загрузка значени  очередного сомножител  в регистр 1. В (п+1)-м такте (т-2)-го цикла производитс  запись старших п разр дов произведени  п А- в двухр дном кодеand 6, respectively, and also (except for (n + 1) -th cycle of the last (t-2) -th cycle), the registers 3 and 4 are reset and the value of the next factor is loaded into register 1. In (n + 1) -th cycle (t-2) -th cycle, recording of the higher n digits of the production of n A is made in a two-dvr code

i«r Ji "r J

с выходов 25 и 26 блоков 2 в регистры 7 и 6, а также в соответствующие регистры 3 и 4. На третьем этапе выполн ютс  еще п тактов, в течение которых из устройства осуществл етс  вывод старших п разр дов результата с контролем, подобно последним тактам в основном режиме умножени  двух сомножителейоfrom outputs 25 and 26 of block 2 to registers 7 and 6, and also to corresponding registers 3 and 4. In the third stage, n more cycles are performed, during which the higher n bits of the result are output from the device with control, like the last cycles basically multiply two multiplier mode

Вывод 2-п разр дного значени  произведени  А осуществл етс  вThe output of the 2-n bit value of product A is carried out in

J J

устройстве следующим образом: младшие п разр дов вывод тс  через первый информационный выход 21 устройства по одному разр ду в каждом такте (т-2)-го цикла, начина  с второго, такта, а старшие п разр дов - либо через первый 21, либо через второй информационные выходы устройства по одному разр ду в каждом из п последних тактов работы устройства (на третьем этапе работы устройства). При этом одновременно с выводом п старших разр дов результата можно осуществл ть контроль работоспособности узлов и блоков устройства путем сравнени  в узле 10 значений каждого из п старших разр дов результата , формируемых параллельно одно разр дным сумматорам 8 и блоками 2 независимо друг от друга. Выдача сигнала ошибки на выход 23 контрол  устройства разрешаетс  подачей управл ющего сигнала Y16. Вход 20 коррекции устройства может и в этом режиме работы быть использован дл  округлени  результата и введени  необходимой коррекции по знакам при умножении чисел в дополнительномdevice as follows: the low-order n bits are output through the first information output 21 of the device, one bit in each cycle (t-2) -th cycle, starting with the second, cycle, and the major n bits either through the first 21 or through the second information outputs of the device, one bit in each of the n last cycles of operation of the device (in the third stage of operation of the device). At the same time, simultaneously with the output of the higher-order bits of the result, it is possible to monitor the operability of the nodes and units of the device by comparing in the node 10 values of each of the higher-order bits of the result, formed in parallel by one-bit adders 8 and blocks 2 independently of each other. The output of the error signal at the device control output 23 is enabled by applying the control signal Y16. The device correction input 20 can also be used in this mode of operation to round the result and enter the necessary correction by the signs when multiplying numbers in the additional

коде.code.

Claims (1)

Формула изобретени Invention Formula Устройство дл  умножени  по авт.Device for multiplying by aut. св. № 888109,о тличающеес St. No. 888109, differing 00 00 тем, что, с целью повышени  достоверности результата вычислений устройства , в него введены два регистра промежуточного результата, коммутатор, одноразр дный сумматор, элемент задержки , узел сравнени  и элемент И, причем выход младшего разр да каждого из п блоков вычислени  разр дных значений произведени  группы, кроме первого, соединен с соответствующим разр дом информационного входа первого регистра промежуточного результата , выход старшего разр да - сBy the fact that, in order to increase the reliability of the calculation result of the device, two intermediate result registers, a switch, a one-bit adder, a delay element, a comparison node and an AND element are entered into it, and the low-level output of each of the n blocks for calculating the group values , except for the first one, is connected to the corresponding bit of the information input of the first register of the intermediate result, the output of the high bit is ,. соответствующим разр дом информационного входа второго регистра промежуточного результата, информационные выходы первого и второго регистров промежуточного результата соединены соответственно с входами первого и второго операндов одноразр дного сумматора, выход результата которого соединен с информационным входом элемента задержки, выход которого сое5 динен с первыми информационными входами узла сравнени  и коммутатора, выход узла сравнени  соединен с первым входом элемента И, выход которого  вл етс  выходом контрол  устройства , выход первого буферного регистра второй группы соединен с вторым информационным входом узла сравнени , второй информационный вход коммутатора подключен к входу множител  устройства , управл ющий вход коммутатора подключен к входу задани  режима работы устройства,выход коммутатора соединен с вторыми входами блоков вычислени  разр дных значений произведени , the corresponding bit of the information input of the second register of the intermediate result, the information outputs of the first and second registers of the intermediate result are connected respectively to the inputs of the first and second operands of a one-bit adder, the output of which is connected to the information input of the delay element whose output is connected to the first information inputs of the comparison node and the switch, the output of the comparison node is connected to the first input of the AND element, the output of which is the control output of the device the output of the first buffer register of the second group is connected to the second information input of the comparison node, the second information input of the switch is connected to the input of the device multiplier, the control input of the switch is connected to the input of the device operation mode, the output of the switch is connected to the second inputs of the units for calculating bit values группы, выход элемента задержки  вл етс  соответственно вторым информационным выходом устройства, установочные входы и входы записи первого и втбро- го регистров промежуточного результата подключены соответственно к второму group, the output of the delay element is, respectively, the second information output of the device, the setup inputs and the write inputs of the first and second registers of the intermediate result are connected respectively to the second 00 5five 5five 00 установочному входу и второму входу записи устройства, установочный вход и вход записи счетчика - соответственно к второму установочному входу и второму входу записи устройства, второй вход элемента И - к входу стро. бировани ,устройства.the installation input and the second input of the device record, the installation input and the write input of the counter, respectively, to the second installation input and the second input of the device record, the second input of the I element - to the input of the sc. quoting, devices.
SU884617316A 1988-12-06 1988-12-06 Multiplier SU1654814A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU884617316A SU1654814A2 (en) 1988-12-06 1988-12-06 Multiplier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU884617316A SU1654814A2 (en) 1988-12-06 1988-12-06 Multiplier

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
SU888109 Addition

Publications (1)

Publication Number Publication Date
SU1654814A2 true SU1654814A2 (en) 1991-06-07

Family

ID=21413862

Family Applications (1)

Application Number Title Priority Date Filing Date
SU884617316A SU1654814A2 (en) 1988-12-06 1988-12-06 Multiplier

Country Status (1)

Country Link
SU (1) SU1654814A2 (en)

Non-Patent Citations (1)

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

Similar Documents

Publication Publication Date Title
GB2330226A (en) Digital signal processor for performing fixed-point and/or integer arithmetic
JPS592054B2 (en) Method and apparatus for fast binary multiplication
SU1654814A2 (en) Multiplier
RU2021633C1 (en) Multiplying device
SU1536374A1 (en) Device for multiplying numbers
SU1626252A1 (en) Multiplier
SU744563A1 (en) Multiplying device
SU734669A1 (en) Converter of proper binary fraction into binary-decimal fraction and integer binary-decimal numbers into binary numbers
SU940167A1 (en) Device for solving linear simultaneous equations
SU1262480A1 (en) Dividing device
SU1575173A1 (en) Device for multiplying numbers
SU1714593A1 (en) Multiplier unit
SU741260A1 (en) Converter of proper binary-decimal fraction into binary fraction and integer binary numbers into binary-decimal numbers
RU1807481C (en) Device for multiplication
SU1185328A1 (en) Multiplying device
SU1529216A1 (en) Multiplication device
SU1022156A2 (en) Device for multiplying numbers
SU1635176A1 (en) Multiplier
SU357561A1 (en) DEVICE FOR MULTIPLICATION
RU2248094C2 (en) Device for transforming numbers from decimal to binary notation scale
SU1718215A1 (en) Device to perform vector-scalar operations over real numbers
SU1413625A1 (en) Series-parallel number-multiplying device
US4141077A (en) Method for dividing two numbers and device for effecting same
SU1119006A1 (en) Device for dividing numbers
SU558276A1 (en) A device for simultaneously performing addition operations on a set of numbers