SU1137463A1 - Multiplication device - Google Patents

Multiplication device Download PDF

Info

Publication number
SU1137463A1
SU1137463A1 SU823518860A SU3518860A SU1137463A1 SU 1137463 A1 SU1137463 A1 SU 1137463A1 SU 823518860 A SU823518860 A SU 823518860A SU 3518860 A SU3518860 A SU 3518860A SU 1137463 A1 SU1137463 A1 SU 1137463A1
Authority
SU
USSR - Soviet Union
Prior art keywords
output
register
matrix
input
bit
Prior art date
Application number
SU823518860A
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 SU823518860A priority Critical patent/SU1137463A1/en
Application granted granted Critical
Publication of SU1137463A1 publication Critical patent/SU1137463A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

УСТРОЙСТВО ДЛЯ УМНОЖЕНИЯ, содержащее регистры множимого и множител , матрицу элементов И, группу элементов ИЛИ, накапливающий суьматор и блок выделени  младшего разр да , причем выхода разр дов регистра множимого соединены с первыми входами элементов И соответствукадих столбцов матрицы, выход j-ro эле . мента И i-й строки матрицы- (t 1,.,,, ,...,ri; n- разр дность сомножителей ), кроме первого элемента И первой строки матрицы и п-го элемента И п-й строки матрицы, подключен ко входу (t + j -2)-го элемента ИЛИ групгал, о тличающ е е с   тем, что, с целью повышени  быстродействи , в устройство введены два буферных регистра и блок управлени , содержащий счетчик, два элемента И и элемент ИЛИ, блок выделени  младшего разр да содержит п ,зпементов И, а накашшвакщ й сумматор выполнен как сумматор с запоми- .нанием переносов, при этом входы k-ro элемента И блока выделени  млад;шего разр да ( 1.,..., к-1) соединены с пр мым выходом f1 +n-ro разр да регистра множител  и инверсными выходами всех предыдущих разр дов регистра множител , входы п-го элемента И блока выделени  младшего разр да соединены с инверсными выходами всех разр дов регистра множител , пр мой выход первого разр да которого подключен к информационному входу первого разр да первого буферного регистра, выход k-ro элемента И блока выделени  младшего разр да подключен к информационному входу (k+l)-ro разр да первого буферного регистра, выход ка адого разр да которого соединен со вторыми входами элементов И соответствующей § строки матрицы, выход первого элемента И первой строки матрицы соединен с информационным входом первого разр да второго буферного регистра, выход р-го элемента ИЛИ группы (В,..., 2n-3j соединен с информационным входом (К+1)-го разр да второго буферного регистра, инфорСО мационный входA DEVICE FOR MULTIPLICATION, containing multiplier and multiplier registers, AND matrix of elements, OR group of elements, accumulating sumator and low-order allocation unit, with the output of multiplicative register bits connected to the first inputs of corresponding AND columns of the matrix, output j-ro ele. And the i-th row of the matrix- (t 1,. ,,,, ..., ri; n is the size of the factors), except for the first element And the first row of the matrix and the n-th element And the n-th row of the matrix, is connected to the input of the (t + j -2) -th element OR group, distinguishing it so that, in order to increase speed, two buffer registers and a control unit containing a counter, two AND elements and an OR element, a block are entered into the device the selection of the low-order bit contains n, the substitutions of I, and the wrap-up adder is designed as an adder with memory remembrances, with the inputs of the k-ro element AND block you The junior; your bit (1., ..., k-1) is connected to the direct output f1 + n-ro register multiplier and inverse outputs of all previous bits of the multiplier register, the inputs of the nth element And the allocation unit the low-order bit is connected to the inverse outputs of all bits of the register of the multiplier, the direct output of the first bit of which is connected to the information input of the first bit of the first buffer register, the output of the k-ro element AND the allocation block of the low-order bit is connected to the information input (k + l ) -ro bit of the first buffer register, exit For each digit of which is connected to the second inputs of the AND elements of the corresponding matrix row, the output of the first element AND the first row of the matrix is connected to the information input of the first bit of the second buffer register, the output of the p-th OR element of the group (B, ..., 2n -3j is connected to the information input (K + 1) of the second buffer register, information Iso input

Description

сумматора и регистра множител , входы обнулени  разр дов которого соединены с информационными входами соответствующих разр дов первого бу.ферного регистра, выход первогоэлемента И блока управлени  подключен ко входу счетчика блока управлени , пр мой выход первого и инверсный выход второго разр дов которого соединеныthe adder and the multiplier register, the zero reset inputs of which are connected to the information inputs of the corresponding bits of the first buffer register, the output of the first element AND of the control unit is connected to the counter input of the control unit, the direct output of the first and the inverse output of the second bit of which are connected

со входами элемента 1-ШИ, пр мой выход второго разр да и выход переполнени  второго разр да счетчика блока управлени  подключены соответственно ко входу управлени  сквозным переносом накапливающего сумматора и выходу индикации окончани  . операции умножени  устройства .with the inputs of the element 1-SHI, the direct output of the second discharge and the output of the overflow of the second discharge of the counter of the control unit are connected respectively to the control input of the end-to-end transfer of the accumulating adder and the output of the end indication. multiply device operations.

Изобретение относитс  к вычислительной технике и может быть использовано при разработке быстродействующих устройств умножени  асинхронного типа.5The invention relates to computing and can be used in the development of high-speed multiply devices of asynchronous type.

Известно устройство дл  умножени , содержащее регистры множимого и множител , накапливающий сумматор, матрицу элементов И, две группы элементов ИЛИ,, две группы элементов И и О группу элементов задержки СЗ.A device for multiplying is known, containing registers of multiplicable and multiplier, accumulating adder, matrix of elements AND, two groups of elements OR, two groups of elements AND and O group of elements of delay S3.

Недо.статком известного устройства  вл етс  низкое быстродействие.The disadvantage of the known device is the low speed.

Наиболее близким по технической сущности к изобретению  вл етс  уст- 15 ройство дл  умножени , содержащее регистры множимого и множител , матрицу элементов И, группу элементов ИЛИ, группу элементов И, накапливающий сумматор и блок выделени  мпад- 20 шего разр да, причем выходы регистра множимого соединены с первыми входами элементов И соответствующих столбцов матрицы, выход j-ro элемента И -й строки матрицы 25 i l,...,h; j l,...,n; n - разр дность сомножителейU кроме первого элемента И первой строки матрицы и п-го элемента И ,п-й строки матрицы подключены к входу (i+j-2)-rd 30 элемента ИЛИ группы, выходы элементов ИЛИ группы подключены соответственно к входам разр дов с 2-го по (2л - 2)-и накапливающего сумматора , входы Г-го и ( 1)-го разр дов которого подключены соответственно к выходам первого элемента И первой строки матрицы и р-го элемента И п-й строки матрицы, входы блока вьщелени  младшего разр да соеди о нены с инверсными выходами соответствующих разр дов регистра множител ,.The closest in technical essence to the invention is a device for multiplying, containing registers of multiplicable and multiplier, matrix of elements AND, group of elements OR, group of elements AND, accumulating adder and block of allocation of 20-digit bits, and outputs of register of multiplicable connected to the first inputs of the elements And the corresponding columns of the matrix, the output of the j-ro element And -th row of the matrix 25 il, ..., h; j l, ..., n; n is the width of the factors U except the first element AND the first row of the matrix and the n-th element AND, the n-th row of the matrix are connected to the input of the (i + j-2) -rd 30 elements OR groups, the outputs of the elements OR groups are connected respectively to the inputs of the discharge Dows from the 2nd to (2n - 2) -and accumulating adder, the inputs of the G-th and (1) -th bits of which are connected respectively to the outputs of the first element And the first row of the matrix and the p-th element And the n-th row of the matrix , the inputs of the block of the allocation of the junior bit are connected to the inverse outputs of the corresponding bits of the register Itel,.

а выходы соединены с первыми входами соответствующих элементов И группь1 , вторые входы которых соединены с пр мыми выходами соответствуюцщх разр дов регистра, множител , а третьи входы объединены и соединены с входами синхронизации регистра множител  и накапливающего сумматора и с входом синхронизации устройства , выходы элементов И группы соединены с вторыми входами элементов И соответствующей строки матрицы и с входами обнулени  соответствующих разр дов регистра множител  2.and the outputs are connected to the first inputs of the corresponding elements AND group 1, the second inputs of which are connected to the direct outputs of the corresponding register bits, multiplier, and the third inputs are combined and connected to the synchronization inputs of the multiplier and accumulating adder register and the synchronization input of the device, the outputs of elements AND group connected to the second inputs of the elements And of the corresponding row of the matrix and with the inputs of zeroing the corresponding bits of the register multiplier 2.

Недостатком известного устройства  вл етс  относительно низкое бысродействие , вызванное большой длительностью его такта работы (длительность такта определ етс  временем Прохождени  информации через группу элементов И, матрицу элементов И, группу элементов ИЛИ и временем суммировани  в накапливающем сумматоре со сквозным переносом).A disadvantage of the known device is the relatively low speed of operation caused by the large duration of its operation cycle (the duration of a cycle is determined by the time of passing information through the group of elements AND, the matrix of elements AND, the group of elements OR, and the time of summation in the accumulator with end-to-end transfer).

Цель изобретени  - повьшение быстродействи  устройства за счет сокращени  длительности такта работы .The purpose of the invention is to increase the speed of the device by shortening the cycle time.

Поставленна  цель достигаетс  тем, что в устройство дл  умножени  содержащее регистры множимого и множител , матрицу элементов И, группу элементов ИЛИ, накапливающий сумматор и блок выделени  младшего разр да , причем выходы разр дов регистра множимого соединены с первыми входами элементов И соответствующих столбцов матрицы, выход j-го элемента И i-й строки матрицы (i l,,..,n;j 1,..., ; n- разр дность сомножителей), кроме первого элемента И первой строки матрицы и и-го элемента И строки матрицы , подключен к входу -2)-го элемента ИЛИ группы, введены два бу ферных регистра и блок управлени , содержащий счетчик, два элемента И и элемент ИЛИ, блок выделени  младшего разр да содержит « элементов И, а накапливающий сумматор выполнен как сз мматор с запоминанием переносов, при этом входы эле мента И блока выд.елени  младшего разр да (k 1,..., п-1) соединены с пр мым выходом (1 + 1)-го разр да регистра множител  и инверсными выходами всех предьщущих разр дов регистра множител , входы и-го элемента И блока выделени  младшего разр да соединены с инверсными выхо дами всех разр дов регистра множител , пр мой выход первого разр да которого подключен к информацион ному входу первого разр да первого буферного регистра, выход It-го эле мента И блока выделени  младшего разр да подключен к информационному входу (1с + 1)-го разр да первого буферного регистра, выход каждого разр да которого соединен, с вторыми входами элементов И соответствующей строки матрицы, выход первого элемента И первой строки матрицы соединен с информационным входом пе вого разр да второго буферного регистра , выход -го элемента ИЛИ ,группы (Р t,..., 2ft-3 ) соединен с ;информационным.входом (8+})-го разр да второго буферного регистра, информационный вход (2п -1)-го разр  да которого подключен к выходу п-г элемента И i-и строки матрицы, выхо разр дов второго буферного регистра подключены к входам соответствующих разр дов накапливающего сумматора. выход п-го элемента И блока выделе ни  младшего разр да подключен к первому входу первого элемента И блока управлени , второй вход которого соединен со входом синхронизации устройства и первым входом второго элемента И блока управлени  второй вход Которого соеданен с выходом элемента ИЛИ блока управлени  а выход - со входом синхронизации буферных регистров, накапливающего сумматора и регистра множител , вход обнулени  разр дов .которого соединены с информационными входа соответствующих разр дов первого буферного регистра, выход первого элемента И блока управлени  подключен к входу счетчика блока управлени , пр мой выход первого и инверсный выход второго разр дов которого.соединены с входами элемента ИЛИ, пр мой выход второго разр да и выход переполнени  второго разр да счетчика блока управлени  подключены соответственно к входу управлени  сквозным переносом накапливающего сумматора и выходу индикации окончани  операции умножени  устройства . На фиг. 1 приведена структурна  схема устройства дл  случа , когда на фиг. 2 - функциональна  схема блока выделени  млада1его разр да; на фиг. 3 - функциональна  схема блока управлени ; на . фиг. 4 - временна  диаграмма работы устройства. Устройство содержит (фиг.1) регистры 1,2 соответственно множимого и множител , первый буферный регистр 3, второй буферный регистр 4, накапливанмций сумматор реализованный в виде комбинационного сумматора 5 и регистра 6 результата с соответствуннцими св з ми, матрицу 7 элементов И 8, группу 9 элементов ИЛИ JO, блок 11 выделени  мпадшего разр да, блок 12 управлени , вход 13 синхронизации устройства и выход 14 индикации окончани  операции умножени  устройства. Выхода разр дов регистра 1 множимого соединены с первыми входами элементов И 8 соответствующих столбцов матрицы 7, а выходы разр дов первого буферного регистра 3 соединены с вторыми входами элементов И 8 соответствующих строк матрицы 7, выход j-го элемента И О 1-й строки матрицы 7 строки матри1у 1 ( i 1,..., 4; j 1,..., 4), кроме первого элемента И 8 первой строки матрицы 7 и четвертого элемента И 8 четвертой строки матрицы 7, подключен к входу (f-t-j -2)-го элемента ИЛИ 10 группы 9, выход первого элемента И 8 первой строки матрищ  7 соединен с информационным входом первого разр да второго буерного регистра 4, выход -го элемента ИЛИ 10 группы 9 (,...,5) соединен с информационным входом (+ )-го разр да второго буферного регистра 4, информационный вход седьмого разр да которого подключей к выходу четвертого элемента И 8 четвертой строки, матрицы 7, выходы разр дов второго буферного регистра 4 подключены к входам соот ветствующих разр дов накапливающего сумматора, пр мые и инверсные выходы разр дов регистра 2 множител  соединены с входами блока 11 выделени  младшего разр да, выходы кото рого подключены к информационньш входам соответствующих разр дов пер вого буферного регистра 3 и к входа обнул 1ш  соответствующих разр дов регистра 2 множител , выход окончани  выделени  блока 11 выделени  младшего разр да соединен с первым входом блока. 12 управлени , второй вход которого соединен с входом 13 синхронизации устройства, первый выход блока 12 .управлени  подключен к входам синхронизации буферных регистров 3 и 4, накапливающего сум матора и регистра 2 множител , второй выход блока 12 управлени  подключен к входу управлени  сквозным переносом накапливающего сумматора , а третий выход блока 12 управлени  подключен к выходу 14 индикации окончани  операции умножени  устройства. Все регистры устройства могут быть построены на двухтактных синхронных JV-триггерах, причем в каждом разр де регистра 6 результата накапливающего сумматора используетс  два таких триггера (один триггер предназначен дл  хранени  разр дных сумм сумматора 5, а другой дл  запом тнани  его же разр дных переносов ). Сумматор 5 выполнен комбинационным типа с запо шнанием разр дных переносов и с возможность их сквозной передачи на последнем щаге умножени  путем подачи соответствующего сигнала на его управл  щий вход. Блок 11 выделени  младшего разр да предназначен дл  последовательного выделени  единиц г-разр дног двоичного кода множител , начина  с его младших разр дов, хранимого в регистре 2 множител . Он содер-жит (фиг.2) П злементов И 15 н фу ционирует в.соответствии со следую щими логическими выражени ми П1 , П2.,,-, i52V4 1 где П , П., П, П. - признаки выделени  соответственно первого, второго , третьего и четвертого значащих разр дов регистра 2 множител ; П признак окончани  выделени  значащих разр дов регистра 2 множител ; ,у. - двоичные цифры множите-- . л  у , причем возрастание индексов при буквенных обозначени х прин то iB направлении старших разр дов. Этот вариант построени  блока 11 выделени  младшего разр да обладает иск лючительно высоким быстродействием, особенно при малых значени х разр дности обрабатываемой в устройстве информации. При больших же значени х t из-за ограниченных возможностей логических элементов целесообразно в блоке 11 использовать принцип разбиени  его на группы с последовательной либо параллельной передачей между группами признаков П окончани  выделени  значащих разр дов в группах. Это позвол ет даже при .п 56 и существующей элементной базе обеспечить врем  выделени  значащего разр да, не превышающее величину Зг; где f- задерж- ка сигнала на одном логическом элементе . Блок 12 управлени  содержит (фиг.3)первый элемент И 16, второй элемент И 17, элемент ИЛИ 18 и двухразр дный двоичный счетчик 19 (разр дность счетчика может быть и другой), причем первый вход . блока 12 управлени  соединен с первым входом первого злемента И 16, второй вход которого соединен с вторым входом блока 12 управлени  и с первым входом второго элемента И 17, второй вход которого соединен с sbiходом элемента ИЛИ 18, а выход  вл етс  первым выходом блока 12 управлени , выход первого элемента И 16 подключен к входу счетчика 19, пр мой выход первого и инверсный выход второго разр дов которого соединены с входами элемента ИЛИ 18, пр мой выход второго разр да н выход переполнени  второго разр да счетчика 12  вл ютс  соответственно вторым и третьим выходами блока 12 управлени . Устройство работает следующим образом. 7 Пусть требуетс  умножить п- раз р дное множимое X на п- разр дный множитель 1010. В исходно состо нии в регистре 1 множимого хранитс  двоичньш код числа X без знака, в регистре 2 множител  - дво ичный код числа У без знака, буферные регистры 3,4, регистр 6 результата накапливающего сумматора и сче чик 19 блока 12 управлени  обнулены . В первом такте работы устройства на выходе блока 1I выделени  младшего разр да формируетс  признак выделени  второго значащего ра р да регистра 2 множител . Первый такт заканчиваетс  с приходом на вход 13 синхронизации устройства первого синхроимпульса, по которому на выходе второго элемента И 17 блока 12 управлени  формируетс  упр л ннций сигнал с разрешени  которого по признаку устанавливаетс  в ноль второй разр д регистра 2 множител  и записываетс  единица во второй разр д первого буферного регистра 3. Во втором такте работы устройства на выходе блока 1 1. выделени младшего разр да формируетс  признак выделени  четвертого значащего разр да регистра 2 множител , и одновременно с этим под дейст вием потенциала логической единицы, записанной во втором разр де первого буферного.регистра 3, осуществл  етс  передача соответствующим.обра зом сдвинутого множимого с выходов элементов И 8 второй строки матрицы 7 через элементы ИЛИ 10 группы 9 на информационные входы второго буферного регистра 4, Второй такт заканчиваетс  с приходом на вход .13 синхронизации второго синхроимпульcaj по которому на выходе второго элемента И 17 блока 12 управлени  формируетс  управл ющий сигнал, с р решени  которого осуществл етс  за- пись информации во второй буферный регистр 4 с его информационных входов , а также по признаку устанавливаетс  в нуль четвертый разр д регистра 2 множител  и записываетс  единица в четвертый разр д первого буферного регистра 3 (вто рой разр д буферного регистра 3 обн л етс , так как его триггеры работают как В - триггеры). 3 В третьем такте работы устройства на выходе окончани  выделени  блока I1 выделени  младшего разр да формируетс  признак П - 1, означающий , что закончено выделение значащих разр дов регистра 2 множител  , и одновременно с этим под действием потенциала логической единицы, записанной в четвертом разр де первого буферного регистра 3, осуществл етс  передача соответствую1чим образом сдвинутого множимого с выходов элементов И 8 четвертой строки матрицы 7 непосредственно и через элементы ИЛИ 10 группы 9 на информационные входы второго буферного регистра 4, и, кроме этого, в сумматоре 5 в режиме запоминани  переносов выполн етс  суммирование содержимого второго буферного регистра 4 и регистра 6 результата { с0держимое регистра 6 результата в этом такте еще равно нулю ), после чего результат сумматора 5 в двухр дном коде поступает на информационные входы регистра 6 результата. Третий такт заканчиваетс  с приходом на вход 13 синхронизации третьего синхроимпульса , по которому на выходе первого элемента И 16 блока I2 управлени  формируетс  сигнал, устанавливающий счетчик 19 блока 12 управлени  в единицу, а на выходе второго элемента И )7 блока 12 управлени  формируетс  управл ющий сигнал, с разрешени  которого производитс  запись информации во второй буфернБ1й регистр 4 и в регистр 6 результата с их информационных входов. В четвертом такте работы устройства в сумматоре 5 производитс  суммирование в режиме запоминани  переносов содержимого второго буферного регистра 4 и регистра 6 результата , после чего получившийс  на его выходах результат в двухр дном коде поступает на информационные входы регистра 6 результата. Такт заканчиваетс  с приходом на вход 13 синхронизации четвертого синхроим- пульса, по которому на выходе второго элемента И 17 блока 12 управлени  образуетс  управл киций сигнал. с разрешени  которого осуществл етс  запись информации в регистр 6 результата с его информационных входов , а на выходе первого элемента И 16 блока 12 управлени  формируетс  сигнал, устанавливан ций счетчик через вход счета в состо ние, равное двум. По этому состо нию счет ика на втором выходе блока 12 упра лени  формируетс  управл ющий сигнал , который настраивает в дальнейшем сумматор 5 на работу в режиме сквозного переноса. В п том такте работы устройства в сумматоре 5 выполн етс  суммиро вание одержимого регистра 6 резуль тата в режиме со сквозным переносом . П тый такт заканчиваетс  с при ходом на вход 13 синхронизации п того синхроимпульса, по которому только на выходе первого элемента И 16 блока 12 управлени  формируетс  сигнал, устанавливающий счетчик 19 через его вход счета в состо ние , равное трем. В этом такте на выходе второго элемента И 17 блока 12 управлени  управл ющий сигнал не образуетс  и потому запись информации во все регистры устройства не производитс . .В шестом такте продолжаетс  процесс суммировани  со сквозным переносом содержимого регистра 6 резуль тата, который был начат еще в начале п того такта. Здесь предполагаетс  , что к концу шестого такта на выходах сумматора 5 формируетс  окончательный результат в однор дном коде, которьй поступает соответствующим образом на информационные входы регистра 6 результата. Шестой такт заканчиваетс  с приходом на вход 13 синхронизации шестого синхроимпульса, по которому на выходе второго элемента И 17 блока 12 управлени  формируетс  управл ющий сигнал, с разрешени  которого производитс  запись окончательного результата в регистр 6 результата с его информационных входов, а на выходе первого элемента И 16 блока 12 управлени  образуетс  сигнал , который, поступа  через вход счета счетчика 19 сбрасывает его в нуль и вызывает на выходе переполнени  счетчика 19 единичш 1Й сигнал означающий, что закончено умножение в устройстве рассматриваемых чисел. На фиг. 4 приведена упрощенн 1  временна  диаграмма работы устройства при перемножении в нем рассмотренных выше чисел. На ней.через СИ обозначены синхроимпульсы, поступающие на вход 13 синхронизации устройства; сигналы УС1, УС2 и УСЗ соответствуют управл ющим сигналам соответственно на первом, втором и третьем выходах блока 12 управлени ; признак окончани  выделени , форми уемый в блоке 1 I вьщелени  младшего разр да; через С 16 обозначен сигнал, который образуетс  на выходе первого элемента И 16 блока 12 управлени  в процессе работы устройства. Среднее врем  умножени  двух М- разр дных чисел в предлагаемом устройстве, в предположении что по вление нул  и единицы во всех разр дах множител  равноверо тно, составл ет величину Т t 4 + ор-у т т где t - длительность одного такта рйботы предлагаемого устройства. Составл юща  4 -t в приведенном выражении вызвана использованием в устройстве конвейерного принципа обработки информации, а также потерей времени на сквозную передачу переносов в сумматоре в конце выполнени  операции умножени  (суммирование со сквозным переносом в сумматоре может быть выполнено в течение двух тактов работы устройства). Хот  в предпагаемом устройстве дл  умножени  двух п-разр дных двоичных чисел и требуетс  выполнить на четыре такта больше, чем в устройстве-прототипе, однако оно имеет значительно более высокое быстродействие, так как длительность его такта работы сведена к минимуму (длительность такта работы предлагаемого устройства опреде- л етс  временем записи информации в регистры 2,3,4,6 и временем задерщки информации либо на блоке 11 выде- лени  младшего разр да, либо на матрице 7 элементов И 8 и на элементах ИЛИ 10 группы 9, либо на сумматоре 5 работающем в режиме запоминани  переносов,).The goal is achieved by the fact that, in a multiplying device, containing a multiplier and multiplier registers, a matrix of AND elements, a group of OR elements, a accumulating adder and a low-order allocation unit, the outputs of the multiplicable register bits are connected to the first inputs of AND elements of the corresponding columns of the matrix, the output j-th element And the i-th row of the matrix (il ,, .., n; j 1, ...,; n is the size of the factors), except for the first element AND of the first row of the matrix and the i-th element And the row of the matrix, connected to the input of the -2) -th element of the OR group, entered two buffer registers and a control unit containing a counter, two AND elements and an OR element, a low-order selection block contains "AND elements, and the accumulating adder is designed as a cum with transfer memory, while the elements of the low-resolution IED cell bit (k 1, ..., p-1) is connected to the direct output of the (1 + 1) th register bit of the multiplier and inverse outputs of all previous bits of the register of the multiplier, inputs of the i-th element And the block of the lower bit yes connected to inverse outputs of all bits of the register multiply l, the direct output of the first bit of which is connected to the information input of the first bit of the first buffer register, the output of the It-th element AND the block of the low-order bit is connected to the information input of the (1c + 1) -th bit of the first buffer register, the output of each bit of which is connected to the second inputs of the AND elements of the corresponding row of the matrix, the output of the first element AND of the first row of the matrix is connected to the information input of the first bit of the second buffer register, the output of the -th element OR, group (P t, ..., 2ft-3) connected to; inf by the input (8 +}) - th bit of the second buffer register, the information input (2p -1) of the th digit of which is connected to the output of the n-g element And the i-and row of the matrix, the output of the second buffer register is connected to the inputs of the corresponding bits of the accumulating adder. the output of the nth element AND block of the low-order bit is connected to the first input of the first element AND of the control unit, the second input of which is connected to the synchronization input of the device and the first input of the second element AND of the control block whose second input is connected to the output of the OR element of the control block and output - with the synchronization input of the buffer registers accumulating the adder and the multiplier register, the zero reset input. Which is connected to the information inputs of the corresponding bits of the first buffer register, the output ne The control unit I is connected to the counter input of the control unit, the direct output of the first and the inverse output of the second discharge of which are connected to the inputs of the OR element, the direct output of the second discharge and the overflow output of the second discharge of the counter of the control unit are respectively connected to the control input end-to-end transfer of the accumulating adder and the output of the indication of the end of the operation to multiply the device. FIG. 1 shows a block diagram of the device for the case when FIG. 2 is a functional diagram of the discharge unit; in fig. 3 is a functional block diagram of the control unit; on . FIG. 4 - time diagram of the device. The device contains (Fig. 1) registers 1,2, respectively, multiplier and multiplier, the first buffer register 3, the second buffer register 4, the accumulator adder implemented as a combinational adder 5 and the result register 6 with corresponding links, the matrix of 7 elements And 8, a group of 9 elements OR JO, a block of the allocation of a low-order bit, a control unit 12, a device synchronization input 13 and a device 14 output indication of the end of the multiplication operation. The outputs of the bits of register 1 of the multiplicand are connected to the first inputs of elements AND 8 of the corresponding columns of matrix 7, and the outputs of the bits of the first buffer register 3 are connected to the second inputs of elements AND 8 of the corresponding rows of matrix 7, the output of the j-th element AND O of the 1st row of the matrix 7 rows matri1u 1 (i 1, ..., 4; j 1, ..., 4), except for the first element And 8 of the first row of the matrix 7 and the fourth element And 8 of the fourth row of the matrix 7, is connected to the input (ftj -2 ) -th element OR 10 of group 9, the output of the first element AND 8 of the first row of the matrix 7 is connected to the information input m of the first bit of the second bumper register 4, output of the -th element OR 10 of group 9 (, ..., 5) is connected to the information input of the (+) -th bit of the second buffer register 4, the information input of the seventh bit of which is connected to the output the fourth element AND 8 of the fourth row, the matrix 7, the outputs of the bits of the second buffer register 4 are connected to the inputs of the corresponding bits of the accumulating adder, the forward and inverse outputs of the bits of register 2 multiplier are connected to the inputs of the block 11 of the lower digit whose outputs connected to info The optimal inputs of the corresponding bits of the first buffer register 3 and to the input are wrapped with 1x of the corresponding bits of the register 2 multiplier, the output of the end of the allocation of the selection block 11 for the low-order bit is connected to the first input of the block. 12, the second input of which is connected to the input 13 of the device synchronization, the first output of the control unit 12 is connected to the synchronization inputs of the buffer registers 3 and 4, the accumulating sum of the matrix and the multiplier 2 register, the second output of the control unit 12 is connected to the control input of the end-to-end transfer of the accumulating adder and the third output of the control unit 12 is connected to the output 14 of the indication of the end of the multiplication operation of the device. All device registers can be built on push-pull synchronous JV-flip-flops, with each discharge register register 6 of the accumulating adder using two such flip-flops (one trigger is designed for storing bit sums of the adder 5, and the other for storing its bit-shifting) . Adder 5 is made of combinational type with recording of bit transfers and with the possibility of their end-to-end transmission on the last multiplication stage by applying the appropriate signal to its control input. The low-order allocation block 11 is intended for sequential allocation of units of the g-bit of a binary multiplier code, starting with its low-order bits stored in register 2 of the multiplier. It contains (Fig. 2) P elements and 15 N functions in accordance with the following logical expressions P1, P2. ,, -, i52V4 1 where P, P., P, P. are the signs of the release, respectively the second, third and fourth significant bits of register 2 multiplier; P sign of the end of the allocation of significant bits of the register 2 multiplier; , y - multiply binary numbers--. l y, and the increase of the indices with the letter designations in the direction taken by the iB direction of the higher bits. This version of the construction of the block 11 allocation of the lower bit has an extremely high speed, especially at small values of the size of the information processed in the device. For large values of t, due to the limited capabilities of the logical elements, it is advisable in block 11 to use the principle of dividing it into groups with sequential or parallel transfer between groups of attributes P of the end of the selection of significant bits in groups. This allows even at 56 and the existing elemental base to provide a time for the separation of a significant bit, not exceeding the value of C; where f is the delay of the signal on one logical element. The control unit 12 comprises (FIG. 3) the first element AND 16, the second element AND 17, the element OR 18 and the two-bit binary counter 19 (the counter size may be different), with the first input. control unit 12 is connected to the first input of the first element AND 16, the second input of which is connected to the second input of the control unit 12 and to the first input of the second element AND 17, the second input of which is connected to the clock input of the OR element 18, and the output is the first output of the control unit 12 The output of the first element AND 16 is connected to the input of the counter 19, the direct output of the first and the inverse output of the second bit of which are connected to the inputs of the element OR 18, the direct output of the second bit and the overflow output of the second bit of the counter 12 are respectively second m and the third output unit 12 controls. The device works as follows. 7. Let it be necessary to multiply the n-times multiplier X by an n-bit multiplier 1010. In the initial state, the binary code of the unsigned number X is stored in the register 1 of the multiplicand, in register 2 the multiplier is the binary code of the unsigned U, buffer registers 3.4, the register 6 of the result of the accumulating adder and the counter 19 of the control unit 12 are reset. In the first cycle of operation of the device, at the output of the low-order allocation block 1I, the indication of the selection of the second significant row of register 2 multiplier is formed. The first clock cycle ends when the first sync pulse device arrives at the synchronization input 13, according to which the output of the second element 17 of the control unit 12 is formed by controlling the signal from whose resolution the sign of the second digit of the multiplier register 2 is set to zero and the second digit is written the first buffer register 3. In the second cycle of operation of the device at the output of block 1 1. the selection of the lower bit forms the indication of the allocation of the fourth significant bit of register 2 multiplier, and at the same time under the potential of the logical unit recorded in the second bit of the first buffer register. 3, transfers the corresponding. shifted multiplier from the outputs of the AND 8 elements of the second row of the matrix 7 through the elements OR 10 of group 9 to the information inputs of the second buffer register 4, the clock ends with the arrival at the input .13 of the synchronization of the second sync pulse by which at the output of the second element AND 17 of the control unit 12 a control signal is generated, from which p the information is recorded The second buffer register 4 from its information inputs, as well as on the basis of, sets the fourth bit of the register 2 to the multiplier and records the unit to the fourth bit of the first buffer register 3 (the second bit of the buffer register 3 is updated, since its triggers work how B - triggers). 3 In the third cycle of operation of the device, at the output of the end of the allocation of block I1 of the low-order bit, the feature P - 1 is formed, meaning that the selection of significant bits of register 2 of the multiplier is completed, and at the same time under the action of the potential of the logical unit recorded in the fourth bit of the first the buffer register 3, the corresponding shifted multiplier from the outputs of the AND 8 elements of the fourth row of the matrix 7 is transmitted directly and through the OR elements of group 9 to the information inputs of the second buffer register 4, and, in addition, in the transfer memory accumulator 5, the contents of the second buffer register 4 and the result register 6 (the supported result register 6 is still zero) is summed up, after which the result of the adder 5 in the double-row code arrives at the information inputs of the register 6 result. The third clock cycle ends when the third sync pulse arrives at the synchronization input 13, according to which a signal is generated at the output of the first element AND 16 of the control unit I2, which sets the counter 19 of the control unit 12 to one, and at the output of the second element I) 7 of the control unit 12, a control signal is generated with the permission of which information is recorded in the second buffer register 4 and in the result register 6 from their information inputs. In the fourth cycle of operation of the device in the adder 5, the accumulation of the contents of the second buffer register 4 and the register 6 of the result is summed up, after which the result obtained at its outputs in the two-row code goes to the information inputs of the result register 6. The clock ends with the arrival at the synchronization input 13 of the fourth clock pulse, according to which at the output of the second element AND 17 of the control unit 12 a control signal is formed. with the resolution of which information is recorded in the result register 6 from its information inputs, and at the output of the first element 16 of the control unit 12 a signal is generated that the counter is set through the account input to a state equal to two. According to this counting state, a control signal is generated at the second output of the control unit 12, which further adjusts the adder 5 to work in the end-to-end transfer mode. In the fifth cycle of operation of the device in the adder 5, the possession of the register 6 of the result is summed in the through-transfer mode. The fifth cycle ends with the sync pulse input to the synchronization input 13, according to which only at the output of the first element AND 16 of the control unit 12 a signal is generated that sets the counter 19 through its counting input to the state equal to three. In this cycle, at the output of the second element And 17 of the control unit 12, the control signal is not formed and therefore the information is not recorded in all registers of the device. In the sixth cycle, the process of summation continues with the end-to-end transfer of the contents of register 6 of the result, which was started as early as the beginning of the fifth cycle. Here it is assumed that by the end of the sixth clock cycle, at the outputs of the adder 5, the final result is formed in a one-way code, which arrives accordingly at the information inputs of the result register 6. The sixth clock cycle ends when the sixth sync pulse arrives at the synchronization input 13, at which at the output of the second element 17 of control unit 12 a control signal is generated, the resolution of which records the final result to the result register 6 from its information inputs and at the output of the first element 11 16 of the control unit 12, a signal is generated which, acting through the counting input of the counter 19, resets it to zero and causes the output of the counter 19 of the 1 st signal to indicate that the multiplication in device of the considered numbers. FIG. 4 is a simplified 1 time diagram of the operation of the device when it multiplies the numbers discussed above. On it, through the SI, the sync pulses are input to the synchronization input 13 of the device; signals US1, US2 and HSS correspond to the control signals on the first, second and third outputs of control unit 12, respectively; the sign of the end of the selection, formed in the block 1 of the first low-order gap; C 16 denotes the signal that is formed at the output of the first element AND 16 of the control unit 12 during operation of the device. The average multiplication time of two M-bit numbers in the proposed device, assuming that the appearance of zero and one in all digits of the multiplier is equally likely, is T t 4 + op t where t is the duration of one cycle of the proposed device . The component 4 -t in the above expression is caused by the use of the conveyor principle of information processing in the device, as well as the loss of time for end-to-end transfer of transfers in the adder at the end of the multiplication operation (summation with end-to-end transfer in the adder can be performed during two cycles of operation of the device). Although in the intended device it is necessary to perform four clocks more than two devices of the prototype in multiplying two n-bit binary numbers, but it has a significantly higher speed, since its operation time is minimized (the duration of the operation of the proposed device the time of recording information in registers 2, 3, 4, 6 and the information delaying time is determined either at the block 11 for allocating the least significant bit, or at the matrix 7 of the elements AND 8 and at the elements OR 10 of the group 9, or at the adder 5 Job present in the storage hyphenation mode).

Д.D.

еe

-5-five

« "

--

«"

XX

./7./7

й/г.2th / g.2

fez.Jfez.J

сиsi

yetyet

yetyet

УСЗHSS

сwith

г g

„e-S-ed-. такт,„E-S-ed-. tact,

лl

rLJl-TLJlrLJl-TLJl

Claims (1)

УСТРОЙСТВО ДЛЯ УМНОЖЕНИЯ, * содержащее регистры множимого и множителя, матрицу элементов И, группу элементов ИЛИ, накапливающий сумматор и блок выделения младшего разряда, причем выхода разрядов регистра множимого соединены с первыми входами элементов И соответствующих столбцов матрицы, выход j-ro эле- . мента И i-й строки матрицы (i =1,..., ft; j= 1,...,η; η- разрядность сомножителей ), кроме первого элемента И первой строки матрицы и ъ-го элемента И n-й строки матрицы, подключен ко входу (i + j -2)-го элемента ИЛИ групда, отличающееся тем, что, с целью повышения быстродействия, в устройство введены два буферных регистра и блок управления, содержащий счетчик, два элемента Й и элемент ИЛИ, блок выделения младшего разряда содержит η .элементов И, а накапливающий сумматор выполнен как сумматор с запоминанием переносов, при этом входы к—го элемента И блока выделения младшего разряда (k = 1,..., ь-1) соединены с прямым выходом (k+IJ-го разряда регистра множителя и инверсными выходами всех предыдущих разрядов регистра множителя, входы η-го элемента И блока выделения младшего разряда соединены с инверсными выходами всех разрядов регистра множителя, прямой выход первого разряда которого подключен к информационному входу первого разряда первого буферного регистра, выход k-го элемента И блока выделения младшего разряда подключен к информационному входу (к+1)-го разряда первого буферного регистра, выход каждого разряда которого соединен со вторыми входами элементов И соответствующей строки матрицы, выход первого элемента И первой строки матрицы соединен с информационным входом первого разряда второго буферного регистра, выход ?-го элемента ИЛИ группы (¢=1,..., 2п-3) соединен с информационным входом (¢+1)-го разряда второго буферного регистра, информационный вход(2п-1)- го разряда которого подключен, к выходу п-го элемента И п~й строки матрицы, выходы разрядов второго буферного регистра подключены ко входам соответствующих разрядов накапливающего сумматора, выход η-го элемента И блока выделения младшего разряда подключен к первому входу первого элемента И блока управления, второй вход которого соединен со входом синхронизации устройства и первым входом второго элемента И блока управления, второй вход которого соединен с выходом элемента ИЛИ блока управления, а выход - со входами синхронизации буферных регистров, накапливающего сумматора и регистра множителя, входы обнуления разрядов которого соединены с информационными входами соответствующих разрядов первого буферного регистра, выход первого элемента И блока управления подключен ко входу счетчика блока управления, прямой выход первого и инверсный выход второго разрядов которого соединены со входами элемента ИЛИ, прямой выход второго разряда и выход переполнения второго разряда счетчика блока управления подключены соответственно ко входу управления сквозным переносом накапливающего сумматора и выходу индикации окончания . операции умножения устройства.DEVICE FOR MULTIPLICATION, * containing registers of the multiplier and multiplier, the matrix of AND elements, the group of OR elements, the accumulating adder and the low-order block, the output of the bits of the register of the multiplier connected to the first inputs of the AND elements of the corresponding matrix columns, the output is j-ro ele-. ment And of the ith row of the matrix (i = 1, ..., ft; j = 1, ..., η; η is the width of the factors), except for the first element And the first row of the matrix and the ith element And the nth matrix rows, connected to the input of the (i + j -2) th element OR group, characterized in that, in order to improve performance, two buffer registers and a control unit containing a counter, two Y elements and an OR element, a block are introduced the low-order selection contains η. elements AND, and the accumulating adder is designed as an adder with storage of transfers, while the inputs of the –th element AND of the block the least significant bit (k = 1, ..., b-1) are connected to the direct output (k + IJ-th bit of the multiplier register and the inverse outputs of all previous bits of the multiplier register, the inputs of the ηth element AND of the low-order selection block are connected to the inverse outputs of all bits of the register of the multiplier, the direct output of the first bit of which is connected to the information input of the first bit of the first buffer register, the output of the kth element AND of the low-order selection block is connected to the information input of the (to + 1) th bit of the first buffer register, each output the discharge of which is connected to the second inputs of the elements AND of the corresponding row of the matrix, the output of the first element AND of the first row of the matrix is connected to the information input of the first bit of the second buffer register, the output of the ith element OR group (¢ = 1, ..., 2n-3) connected to the information input of the (¢ + 1) -th discharge of the second buffer register, the information input of the (2n-1) -th discharge of which is connected to the output of the nth element And the nth row of the matrix, the outputs of the bits of the second buffer register are connected to the inputs corresponding digits of the accumulating sum ator, the output of the ηth element AND of the low-order selection block is connected to the first input of the first element AND of the control unit, the second input of which is connected to the synchronization input of the device and the first input of the second element AND of the control unit, the second input of which is connected to the output of the OR element of the control unit, and the output is with the inputs of the synchronization of the buffer registers, the accumulating adder and the register of the multiplier, the inputs of zeroing the bits of which are connected to the information inputs of the corresponding bits of the first buffer register, the output of the first AND element of the control unit is connected to the input of the counter of the control unit, the direct output of the first and inverse output of the second bits of which are connected to the inputs of the OR element, the direct output of the second category and the overflow output of the second category of the counter of the control unit are connected respectively to the control input of the through transfer of the accumulating adder and output indication end. device multiplication operations.
SU823518860A 1982-12-06 1982-12-06 Multiplication device SU1137463A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU823518860A SU1137463A1 (en) 1982-12-06 1982-12-06 Multiplication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU823518860A SU1137463A1 (en) 1982-12-06 1982-12-06 Multiplication device

Publications (1)

Publication Number Publication Date
SU1137463A1 true SU1137463A1 (en) 1985-01-30

Family

ID=21038201

Family Applications (1)

Application Number Title Priority Date Filing Date
SU823518860A SU1137463A1 (en) 1982-12-06 1982-12-06 Multiplication device

Country Status (1)

Country Link
SU (1) SU1137463A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
1. Авторское свидетельство СССР № 623204, кл. G 06 F 7/52, 1977. 2.. Авторское свидетельство СССР №993255, кл. G 06 F 7/52, 1981, (прототип), *

Similar Documents

Publication Publication Date Title
SU1137463A1 (en) Multiplication device
US6651079B1 (en) High speed pipeline multiplier with virtual shift
SU1280624A1 (en) Device for multiplying the floating point numbers
SU1619254A1 (en) Scale multiplier of vectors
SU985783A1 (en) N-bit number multiplication device
SU993255A1 (en) Device for multiplying n-digit numbers
SU1495786A1 (en) Multiplier of serial binary codes
SU1420600A1 (en) Function computing device
SU1141403A1 (en) Dividing device
SU1111154A1 (en) Multiplying device
SU1667061A1 (en) Multiplication device
SU1287144A1 (en) Arithmetic unit
SU1027719A1 (en) Device for extracting square root of two squares sum
RU2021633C1 (en) Multiplying device
SU783787A1 (en) Converter of binary code into binary-decimal code of degrees and minutes
SU1575174A1 (en) Device for multiplying two n-digit numbers
SU964632A1 (en) Determining multiplying two-digit numbers
SU1022155A1 (en) Device for multiplying n-digit numbers
SU1309020A1 (en) Multiplying device
SU1578708A1 (en) Arithmetical device
SU734669A1 (en) Converter of proper binary fraction into binary-decimal fraction and integer binary-decimal numbers into binary numbers
SU1193667A1 (en) Device for multiplying n-digit numbers
SU1061131A1 (en) Binary code/compressed code translator
SU1405058A1 (en) Test code generator
SU1119025A1 (en) Device for implementing fast fourier transform of sequence with zero elements