SU1008732A1 - Multiplication device - Google Patents

Multiplication device Download PDF

Info

Publication number
SU1008732A1
SU1008732A1 SU802939575A SU2939575A SU1008732A1 SU 1008732 A1 SU1008732 A1 SU 1008732A1 SU 802939575 A SU802939575 A SU 802939575A SU 2939575 A SU2939575 A SU 2939575A SU 1008732 A1 SU1008732 A1 SU 1008732A1
Authority
SU
USSR - Soviet Union
Prior art keywords
counter
shift
output
shift registers
inputs
Prior art date
Application number
SU802939575A
Other languages
Russian (ru)
Inventor
Владимир Леонидович Баранов
Original Assignee
Ордена Ленина Институт Кибернетики Ан Усср
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ордена Ленина Институт Кибернетики Ан Усср filed Critical Ордена Ленина Институт Кибернетики Ан Усср
Priority to SU802939575A priority Critical patent/SU1008732A1/en
Application granted granted Critical
Publication of SU1008732A1 publication Critical patent/SU1008732A1/en

Links

Landscapes

  • Manipulation Of Pulses (AREA)

Abstract

УСТРОЙСТВО ДЛЯ УМНОЖЕНИЯ , содержащее два регистра сдвига , элемент И, счетчик и блок синхронизации , причем выходы регистров сдвига соединены с входами элемента И, выход которого подключен к счетному входу счетчика, первый выход блойа синхронизации соединен с входами управлени  сдвигом первого и второго регистров сдвига, информационные входы регистров сдвига соединены с их выходами соответственно , второй вькод блока синхронизации подключен к входу управлени  i сдвигом счетчика, отличающеес  тем, что, с целью расширени  функциональных возможностей путем накоплени  суммы парных произведений, выход младшего разр да счетчика соединен с § . входом старшего разр да счетчика. (ОA DEVICE FOR MULTIPLICATION, containing two shift registers, the element And, the counter and the synchronization unit, the outputs of the shift registers are connected to the inputs of the element And whose output is connected to the counting input of the counter, the first output of the synchronization block is connected to the shift control inputs of the first and second shift registers, the information inputs of the shift registers are connected to their outputs, respectively, the second code of the synchronization unit is connected to the control input i by shifting the counter, characterized in that, in order to expand the functionality by accumulating the sum of paired products, the output of the low-order counter is connected to §. the input of the higher bit of the counter. (ABOUT

Description

//

0000

СА:)Ca :)

to технике и может быть использовано в цифровых вычислительных устройствах дл  умножени  двоичных чисел. Известно устройство дл  умножени , содержащее три регистра, сумматор, блок округлени , блок знака, блок упра лени , триггеры и логические элементы 1 . Недостатком этого устройства дл  умножени  1шл етс  сложность реализации . Известно также устройство дл  умно жени , содержащее регистр сдвига, два счетчика-регистра, генератор импульсо . триггеры и элементы И 2 . Недостатки известного устройства обусловлены низким быстродействием и сложностью реализации. Наиболее близким к предлагаемому по технической сущности  вл етс  устроto technology and can be used in digital computing devices to multiply binary numbers. A device for multiplying is known, which contains three registers, an adder, a rounding block, a sign block, a control block, triggers, and logic elements 1. The disadvantage of this multiplication device is the difficulty of implementation. It is also known a device for smart tuning, containing a shift register, two counter-registers, and a pulse generator. triggers and elements AND 2. The disadvantages of the known device due to the low speed and complexity of implementation. Closest to the proposed technical essence is the arrangement

ство дл  умножени , содержащее два регистра сдвига, элемент И, счетчик и блок синхронизации, причем выходы регистров сдвига соединены с входами элемента И, выход которого подключен к счетному входу счетчика, первый выход блока синхронизации соединен с входами управлени  сдвигом первого и второго регистров сдвига, информаыионные входы регистров сдвига соединены с их выходами соответственно, второй выход блока синхронизации подключен к входу управлени  сдвигом счетчика З Однако указанное устройсгтво дл  ум ножени  характеризуетс  ограничешыми функциональными возможност ми, что не .позвол ет формировать сумму парных произведений. Цель изобретени  - расширение функциональньж возмржностей устройства путем накоплени  суммы парных произведений . Поставленна  цель достигаетс  тем, что в устройстве дл  умножени , содержащем два регистра сдвига, элемент И, счетчик и блок синхронизации, причем выходы регистров сдвига соединены с входами элемента И, выход которого подключен к сче-гаому входу счетчика, первый выход блока синхронизации соединен с входами управлени  сдвигом пер вого и второго регистров сдвига, информационные входы регистров сдвига соединены с их выходами соответственно, второй выход блока синхронизации подключен к входу управлени  сдвигом счет чшса, выход младшего разр да счетчикаA multiplication unit containing two shift registers, an element, a counter and a synchronization unit, the outputs of the shift registers are connected to the inputs of an element whose output is connected to the counting input of the counter, the first output of the synchronization unit is connected to the shift control inputs of the first and second shift registers, the information inputs of the shift registers are connected to their outputs, respectively, the second output of the synchronization unit is connected to the shift control input of the counter H. However, this device for the mind is characterized by This functionality does not allow to form the sum of the pairwise products. The purpose of the invention is to expand the functionality of the device by accumulating the sum of paired products. The goal is achieved by the fact that in a multiplying device containing two shift registers, an element, a counter and a synchronization unit, the outputs of the shift registers are connected to the inputs of an element And whose output is connected to the counting input of the counter, the first output of the synchronization unit is connected to the shift control inputs of the first and second shift registers; the information inputs of the shift registers are connected to their outputs, respectively; the second output of the synchronization unit is connected to the shift control input; azr yes counter

следующим образом.in the following way.

Регистр 1 сдвига содержит 2п разр щов . Счетчик 3 имеет 2 ц разр дов. Младшие ц разр дов регистра 1 сдвига содержит нулевые коды, а в t1 старших разр дах регистра 1 сдвига расположен двоичный код первого сомножител  так, что младший разр д сомножител  распосчетчика . На чертеже изображена структурна  схема устройства дл  умножени . Устройство дл  умножени  содержит два регистра 1 и 2 сдвига, счетчик 3, элемент И 4 и блок 5 синхронизации. Выходы регистров 1 и 2 сдвига соединены с входами элемента И 4, выход которого подключен к счетному входу счетчика 3. Первый выход блока 5 синхронизации соединен с входами управлени  сдвигом регистров 1 и 2 .сдвига. Информационные входы регистров 1 и 2 сдвига Соединены с их выходами соотв-- ственно. Второй выход блока 5 синхронизации подключен к входу управлени  сдвигом счетчика 3. Выход младшего разр да счетчика 3 соединен с входом старшего разр да счетчика 3. Устройство дл  умножени  работает ложен в 2 П -м разр де регистра 1 сдвига , а старший fn -и разр д сомножител  расположен в (2П-т)-м разр де регистра 1 сдвига, причем m определ ет диапазон представлени  сомножителей OiX. 2, m n . В младшие И разр дов регистра 2 сдвига записываетс  двоичный код второго сомножител , что в первом разр де регистра 2 сдвига содержитс  младший разр д второго сомножител , m -и разр д которого расположен в m -м разр де регистра 2 сдвига. Исходное состо ние счетчика нулевое. Блок 5 синхронизации вырабатывает на первом выходе последовательность тактовых импульсов частоты i , которые} поступа  на входы управлени  сдвигом регистров 1 и 2 сдвига, сдвигают двоичные коды с выхода регистров 1 и 2 на входы элемента И 4. Блок 5 синхронизации вырабатывает также на втором выходе последовательность импульсов частоты i / 2 П - t , период следовани  которых определ ет длительность одного дйкла вычислений, равного 2 П -1 тактов. Поскольку регистр 2 сдвига содержит на один разр д меньше, чем регистр 1, то в каждом цикле вычислений осуществл етс  временной сдвиг разр дов двоичного кода сомножител  регистра 2 относительно разр дов двоичного кода регистра 1. В первом цикле вычислений на выходе элемента И 4 вьщел етс  сигнал младшего разр да произведени , который .записываетс  в младший разр д счетчика 3. Пос ле окончани  первого цикла вычислений сигнал второго выхода блока 5 синхронизации поступает на вход управлени  сдвигом счетчика 3- и сдвигает код младшего разр да счетчика 3 в его Старший разр д Во втором и всех последующих циклах вычислений устройство дл  умножени  работает аналогичным образом. При этом во втором цикле вычислений на входах элемента И 4 происходит совпадение кодов первого и второго разр дов сомножител  регистра 1 сдвига с вторьпи и первым разр дами сомножител  регистра 2 соответственно, в третьем цикле вы числени  совпадают первьШ, второй и третий разр ды сомножител  регистра 1 сдвига с третьим, вторым и первым разр дами сомножител  регистра 2 соответст венно н так далее. На выходе элемента И 4 в каждом i -м цикле вычислений формируетс  последовательность единичных сигналов произведени , вес которых соответствует разр ду произведени , совi падающему в данном i -м цикле вычислени  с младшим разр дом счетчика 3. Счетчик 3 накапливает последовательност единичных сигналов, действующих на выиклРегистры 1 и 2Shift register 1 contains 2p bits. Counter 3 has 2 c bits. The lower c bits of shift register 1 contain zero codes, and at t1 the highest bits of shift register 1, the binary code of the first factor is located so that the lower bit of the counters factor. The drawing shows a block diagram of a multiplier. The multiplying device contains two shift registers 1 and 2, a counter 3, an AND 4 element and a synchronization unit 5. The outputs of the shift registers 1 and 2 are connected to the inputs of the element 4, the output of which is connected to the counting input of the counter 3. The first output of the synchronization unit 5 is connected to the shift control inputs of the registers 1 and 2. The information inputs of shift registers 1 and 2 are connected to their outputs, respectively. The second output of synchronization unit 5 is connected to the input of the shift control of counter 3. The output of the lower digit of counter 3 is connected to the input of the higher bit of counter 3. The multiplying device works false at 2 Pth digit of shift register 1, and the most significant fn is and of The factor is located in the (2P-m) th digit of the shift register 1, and m determines the range of representation of the factors OiX. 2, m n. In the lower and lower bits of shift register 2, the binary code of the second factor is written, which in the first digit of the shift register 2 contains the lower bit of the second factor, the m and bit of which is located in the m th digit of the shift register 2. The initial state of the counter is zero. The synchronization unit 5 generates at the first output a sequence of clock pulses of frequency i, which} arriving at the shift control inputs of shift registers 1 and 2, shifts the binary codes from the output of registers 1 and 2 to the inputs of element 4. The synchronization unit 5 also generates the second output pulses of frequency i / 2 n - t, the period of which determines the duration of one cyclical computation, equal to 2 n -1 cycles. Since shift register 2 contains one bit less than register 1, each cycle of computations temporarily shifts the binary code of the factor of register 2 to the binary code of register 1. In the first cycle of computation, the output of the And 4 element is the signal of the lower bit of the product, which is recorded in the lower bit of counter 3. After the end of the first computation cycle, the signal of the second output of the synchronization unit 5 is input to the counter shift control input 3- and shifts the code of the lower bit Yes counter 3 in its most significant bit In the second and all subsequent calculation cycles, the multiplier works in a similar way. At the same time, in the second cycle of calculations, at the inputs of the AND 4 element, the codes of the first and second bits of the shift register 1 shift coincide with the second and the first bits of register factor 2, respectively, in the third cycle, the first and second bits of the register 1 match the shift with the third, second and first bits of the register factor 2, respectively, and so on. At the output of the element AND 4, in each i-th calculation cycle, a sequence of single product signals is generated, the weight of which corresponds to the product discharge, coinciding with this lower-order calculation cycle with the lower bit of counter 3. Counter 3 accumulates a sequence of single signals acting on Registers 1 and 2

1011110111

ОНОIT

2011120111

ОНОIT

3О1113111

ОНОIT

4О111 ОНО4111 IT

5О111 ОНО5111 IT

60111 ОНО60111 IT

7011170111

ОНОIT

80111 ОНО80111 IT

9011190111

ОНО LOотIT LOOT

01 ID01 ID

Сдвиг в счетчике 3 Shift in counter 3

чет в счетчике 3 ОООООООО even in the counter 3 OOOOOOOO

ОООООООО 1ООООООО OOOOOOOO 1OOOOOOOO LLC

ОООО0001 О10ОО001OOOO0001 О10ОО001

1000001О1000001О

1О1ОООО11OO1OOOO1

О1О00011O1O00011

OlOlOOOi 1О1ООО1ОOlOloooi 1O1OOO1O

1010100010,101,000

О1О1ООО1O1O1OOO1

0101010001010100

loioioooloioiooo

О01О1010 O01O1010

010101ОО .О00101О1 ОО101О10 010101OO .О00101О1 ОО101О10

ооооюИ ООО10110 ходе элемента И 4, формиру  в конце цикла вычислений i -и разр д произведени , который по сигналу второго вьЕСода блока 5 синхронизашш сдвигаетс  из младшего разр да счетчика 3 в его старший разр д. После 2П циклов вычислений в счетчике 3 формируютс  2h разр дов двоичного кода произведени  двух чисел. В процессе дальнейших вычислений устройство дл  умножени  формирует в сметчике 3 сумму парных произведений 1, . 51 X : X п где К - количество цикле. }- умножени . После первого цикла умножени  состо ние счетчика 3 будет определ тьс  двоичным кодом произведени  двух чисел 2 . . 51 Хч; -Хп; которому во втором цикле Г J умножени  прибавл етс  вновь произведение двух чисел .Е. Xjj и т.д. Разр дность per истров 1 и 2 сдвига и счетчика 3, определенна  через параметр ||1 должна выбиратьс  из диапазона представлени  сомножителей 0 X 2 и диапазона представлени  результата так, чтобы вьшолн лось условие п ПГИ- р где .; Пример. Формирование суммы двух произведений Z. . где 30111 , аХ ОНО.At the end of the computation cycle, the i and the bit of the product, which is shifted from the low bit of counter 3 to its high bit, by the signal of the second output of the block 5, is formed at the end of the computation cycle. Dov binary code product of two numbers. In the course of further calculations, the multiplier generates in the estimator 3 the sum of the pair products 1,. 51 X: X p where K is the number of cycles. } - multiply. After the first multiplication cycle, the state of the counter 3 will be determined by the binary code of the product of two numbers 2. . 51 H; -Hp; which in the second cycle of G J multiplication is added again the product of two numbers .E. Xjj etc The per bits 1 and 2 of the shift and the counter 3, determined through the parameter || 1, must be selected from the representation range of the factors 0 X 2 and the presentation range of the result, so that the condition is met: where; Example. Formation of the sum of two products Z.. where 30111, aX IT.

Счет в счетчике Bill counter

Технико-экономические преимущества предлагаемого устройства по сравнению с известным заключаютс  в расширенииTechnical and economic advantages of the proposed device in comparison with the known one are in expansion

Сдвиг в счетчике 1000011О ООО01101 10001000 The shift in the counter 1000011O OOO01101 10001000

01000100 01000101 10100О1О 10100010 01010001 01010001 10101000 О1О101ОО 1010100001000100 01000101 10100О1О 10100010 01010001 01010001 10101000 О1О101ОО 10101000

функциональных возможностей путем накоплени  суммы парных произвед&ний .functionality by accumulating the sum of paired products &

Claims (1)

: УСТРОЙСТВО ДЛЯ УМНОЖЕНИЯ , содержащее два регистра сдвига, элемент И, счетчик и блок синхронизации, причем выходы регистров сдвига соединены с входами элемента И, выход которого подключен к счетному входу счетчика, первый выход блока синхронизации соединен с входами управления сдвигом первого и второго регистров сдвига, информационные входы регистров сдвига -соединены с их выходами соответственно, второй выход блока синхронизации подключен к входу управления • сдвигом счетчика, отличающееся тем, что, с целью расширения функциональных возможностей путем накопления суммы парных произведений, выход младшего разряда счетчика соединен с .входом старшего разряда счетчика.A device for multiplication, comprising two shift registers, an AND element, a counter and a synchronization unit, the outputs of the shift registers being connected to the inputs of an And element, the output of which is connected to the counter input of the counter, the first output of the synchronization unit is connected to the inputs of the shift control of the first and second shift registers , the information inputs of the shift registers are connected with their outputs, respectively, the second output of the synchronization unit is connected to the control input • counter shift, characterized in that, in order to expand the functional possibilities by accumulating the sum of paired products, the output of the lowest level of the counter is connected to the input of the highest level of the counter.
SU802939575A 1980-06-09 1980-06-09 Multiplication device SU1008732A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU802939575A SU1008732A1 (en) 1980-06-09 1980-06-09 Multiplication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU802939575A SU1008732A1 (en) 1980-06-09 1980-06-09 Multiplication device

Publications (1)

Publication Number Publication Date
SU1008732A1 true SU1008732A1 (en) 1983-03-30

Family

ID=20901661

Family Applications (1)

Application Number Title Priority Date Filing Date
SU802939575A SU1008732A1 (en) 1980-06-09 1980-06-09 Multiplication device

Country Status (1)

Country Link
SU (1) SU1008732A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
1. Авторское свидетельствр СССР № 22556О, кл. Q 06 Р 7/52, 1967. 2.Авторское свидетельство СССР № 3142О5, кл. G 06 F 7/52, 1969. 3.Авторское свидетельство СССР № 299845, кл. Q 06 F 7/52. 19/0. . (прототип). ; *

Similar Documents

Publication Publication Date Title
SU1008732A1 (en) Multiplication device
SU911533A1 (en) Device for shaping test signals
SU1157541A1 (en) Sequential multiplying device
SU771619A1 (en) Device for tolerance testing
RU1829031C (en) Accumulating adder
SU930689A1 (en) Functional counter
SU1443002A1 (en) Device for swift walsh-adamar transform
SU1249510A1 (en) Device for determining absolute value and argument of vector
SU928353A1 (en) Digital frequency multiplier
SU1142845A1 (en) Device for implementing two-dimensional fast fourier transform
SU1239708A1 (en) Device for calculating ordinal statistics of sequence of binary numbers
SU690493A1 (en) Time-to-probability converter
SU1765839A1 (en) Binary number multiplier
SU1264168A1 (en) Pseudorandom sequence generator
SU1262477A1 (en) Device for calculating inverse value
SU385283A1 (en) ANALOG-DIGITAL CORRELATOR
SU544960A1 (en) Square root extractor
SU734669A1 (en) Converter of proper binary fraction into binary-decimal fraction and integer binary-decimal numbers into binary numbers
SU1075260A1 (en) Device for making summation of m n-bit numbers arriving in sequential order
SU495658A1 (en) Walsh function generator
SU647693A1 (en) Time-to-probability converter
SU760096A1 (en) Device for multiplying series n-digit binary codes
SU1111154A1 (en) Multiplying device
SU922765A1 (en) Device for determining probability distribution laws
SU437061A1 (en) Markov Chain Generator