SU1124286A1 - Device for multiplying numbers in redundant notation - Google Patents

Device for multiplying numbers in redundant notation Download PDF

Info

Publication number
SU1124286A1
SU1124286A1 SU833546085A SU3546085A SU1124286A1 SU 1124286 A1 SU1124286 A1 SU 1124286A1 SU 833546085 A SU833546085 A SU 833546085A SU 3546085 A SU3546085 A SU 3546085A SU 1124286 A1 SU1124286 A1 SU 1124286A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
inputs
register
outputs
tetrad
Prior art date
Application number
SU833546085A
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 SU833546085A priority Critical patent/SU1124286A1/en
Application granted granted Critical
Publication of SU1124286A1 publication Critical patent/SU1124286A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

УСТРОЙСТВО ДЛЯ УМНОЖЕНИЯ В ИЗБЫТОЧНОЙ СИСТЕМЕ СЧИСЛЕНИЯ, содержащее два регистра, коммутатор и накапливающий сумматор, причем информационные входы регистров соединены с входами соответствующих операндов устройства, отличающ е е с   тем, что, с целью повышени  быстродействи  и упрощени  устройства , оно содержит блок удвоени  кода, блок инверсии, элемент ИЛИ, четыре элемента И, три элемента НЕ, причем выходы разр дов первого регистра соединены с входами блока удвоени  кода и первой группой информационных входов коммутатора, втора  группа информационных входов которого соединена с выходами блока удвоени  кода, выходы коммутатора под- ; ключены к информационным входам .блока инверсии, выходы блока инверсии- подключены к входам разр дов накапливающего сумматора, выходы разр дов младшей тетрады которого подключены к входам разр дов старшей тетрады второго регистра, выход первого разр да младшей тетрады второго регистра соединен с первым входом первого элемента Ии через элемент НЕ - с первым входом второго элемента И, выход второго разр да младшей тетрады второго регистра соединен с первым входом третьего элемента И и через элемент НЕ - с первым входом четвертого элемента И, выход третьего разр да младшей тетрады второго регистра соединён с вторыми входами второго и четвертого элементов И, выход четвертого разр (Л да младшей тетрады второго регистра соединен с управл ющим входом блока инверсии, с входами младших разр  floB всех тетрад накапливающего сум- матора и через элемент НЕ - с вторым входом третьего элемента И, второй вход первого элементаИ и третий вход вторрго элемента И соединены с первым тактовым входом устройства, третьи входы третьего и четвертого элементов И соединены с вторым тактовым входом устройства, выходы первого элемента И и элемента ИЛИ соединены с управл кшщми входами коммутатора , входы управлени  сдвигом второго регистра и накапливающего сумматора соединены с третьим тактовым входом устройства, выходы разр дов второго регистра и накапливающего сумматора  вл ютс  выходами устройства .A DEVICE FOR MULTIPLICATION IN A OUTBOARD SYSTEM OF CALCULATION, containing two registers, a switch and an accumulating adder, and the information inputs of the registers are connected to the inputs of the corresponding device operands, characterized in that, in order to improve the speed and simplify the device, it contains a code doubling unit, an inversion unit, an OR element, four AND elements, three NOT elements, the outputs of the first register bits are connected to the inputs of the code doubling unit and the first group of information inputs of the switch, the second the group of information inputs of which is connected to the outputs of the code doubling unit; the outputs of the switch are under; The keys are connected to the information inputs of the inversion block, the outputs of the inversion block are connected to the bits of the accumulating adder, the outputs of the bits of the low tetrad of which are connected to the bits of the high tetrad of the second register, the output of the first bit of the second tetrad of the second register is connected to the first input of the first element AI through the element NOT - with the first input of the second element AND, the output of the second discharge of the lower tetrad of the second register is connected to the first input of the third element AND and through the element NOT to the first input of the fourth And, the output of the third bit of the lower tetrad of the second register is connected to the second inputs of the second and fourth elements of I, the output of the fourth bit (L and the younger tetrad of the second register is connected to the control input of the inversion unit, to the inputs of the lower bit floB of all the tetrads of the accumulating adder and through the element NOT - with the second input of the third element I, the second input of the first element I and the third input of the second element I connected with the first clock input of the device, the third inputs of the third and fourth elements I connected with the second t The device's input, the outputs of the first AND element and the OR element are connected to the control inputs of the switch, the shift control inputs of the second register and accumulating adder are connected to the third clock input of the device, and the bits of the second register and accumulating adder are outputs of the device.

Description

Изобретение относитс  к вычислительной технике и предназначено дл  использовани  в цифровых вычислитель ных машинах различного назначени . Известно устройство, предназначен ное дл  реализации операции умножени  в параллельном двоичном коде, содержащее два регистра,сумматор и формирователь частичных произведений с входом, сумматора, выход второго регистра соединен с вторым входом формировани  частичных произведений Однако известное устройство имеет малое быстродействие. Дл  повьшени  быстродействи  увеличивают число разр дов множител , отрабатываемых за один шаг умножени . Известно устройство умножени , ос нованное на обработке за один шаг умножени  четырех разр дов множител , содержащее -четыре регистра, сумматор , два запоминающих устройства, счетчик, устройство управлени , причем выход первого запоминающего устройства через первый регистр соединен с входом сумматора, выход третьего регистра соединен с входом чет вертого регистра и через второй регистр - с входом сумматора, выход сумматора соединен с входами первого запоминающего устройства и входами третьего и четвертого регистров, вто . рой выход первого запоминающего устройства соединен с входом второго за поминающего устройства, выход второго запоминающего устройства соединен с входом счетчика и устройства управлени  С21. Однако дл  формировани  кратных множимого в таком устройстве требуетс  выполнение 7 операций сложени , операци  умножени  ускор етс  лишь в 2-3 раза (в зависимости от длины разр дной сетки), при малой разр дной сетке (2 и менее байта) ус корени  операции нет. Кроме того, известное устройство требует очень .большого расхода оборудовани . Дл  ускорени  операции умножени  используют и методы, позвол ющие су щественно сократить врем  выполнени операции суммировани . Сокращение вр мени выполнени  операции суммировани  возможно при использовании избыточных кодов. Наиболее близким к изобретению п технической сущности  вл етс  устройство Дп  умножени  в избыточной 1 62 двоичной системе, содержащее четыре регистра, схему анализа знака, коммутатор , схему умножени , сумматор, причем входы первого и второго регистров и схема анализа знака соединены с входами устройства, выходы первого и второго регистров через схему умножени  и коммутатор соединены с входами сумматора, выход схемы анализа знака соединен с вторым входом коммутатора, выход сумматора соединен с входом третьего регистра, выходы третьего регистра соединены с входом четвертого регистра, входом сумматора и выходом ус тройства 3. Однако указанное устройство предназначено дл  обработки последовательньк кодов, имеющих ограниченное применение, за один цикл умножени  обрабатываетс  один дт оичный разр д быстродействию устройства, а кроме того, данное устройство требует большого расхода оборудовани . Целью изобретени   вл етс  повышение быстродействи  и упрощение устройства . Эта цель достигаетс  тем, что устройство дл  умножени  в избыточной системе счислени , содержащее два регистра, коммутатор и накапливающий сумматор, причем информационные входы регистров соединены с входами соответствукщих операндов устройства , содержит блок удвоени  кода, блок инверсии, элемент РШИ, четыре элемента И, три элемента НЕ, причем выходы разр дов первого регистра соединены с входами блока удвоени  кода и первой группой информационных входов коммутатора, втора  группа информационных входов которого соединена с выходами блока удвоени  кода. f « коммутатора подключены к информационным входам блока инверсии, выходы блока инверсии подключены к входам разр дов накапливающего сумматора , выходы разр дов младшей тетрады которого подключены к входам разр дов .старшей тетрады второго регистра , выход первого., разр да младЬей тетрады второго регистра соединен с первым входом первого элемента И и через элемент НЕ - с первым входом второго элемента И, выход вторбго разр да младшей тетрады второго регистра соединен с первым входом третьего элемента И и через элемент НЕ - с первым входом четвертого элеyJMeHTa И, выход третьего разр да младшей тетрады второго регистра сое динен с вторыми входами второго и четвертого элементов И, выход четвер того разр да младшей тетрады второго регистра соединен с управл кшщм входом блока инверсии, с входами младшихразр дов всех тетрад накапли вающего сумматора и через элемент НЕ с вторым входом тре,тьего элемента И, второй вход первого элемента И и тре тий вход второго элемента И соединен с первым тактовым входом устройства, третьи входы третьего и четвертого элементов И соединены с вторым тактовым входом устройства, выходы первого элемента И и элемента ИЛИ сое-, динены с управл ющими входами коммутатора , входы управлени  сдвигом второго регистра и накапливающего сумматора соединены с третьим тактовым входом устройства, выходы разр  дов второго регистра и накапливамщего сумматора  вл ютс  выходами устройства , . На «tffltr. 1 приведена схема устройства дл  умножени  в избыточной системе счислени , на фиг. 2 - одна тет рада блока удвоени  кода, на фиг. 3 тетрада блока инверсии. Устройство содержит регистр 1, вход 2 первого операнда,блок 3 удвое ни  кода, коммутатор 4, блок 5 инверсии , накапливающий сумматор 6, регистр 7, вход 8 второго операнда элемент ИЛИ 9, элемент И 10, элемент НЕ 11, элементы И 12, 13, элемент НЕ 14, элемент И 15, элемент НЕ 16, тактовые входы 17-19, выходы 20 и 21. Тетрада блока 3 удвоени  кода содержит элементы И 22-31, элементы ИЛИ 32-37, элементы НЕ 38-41. Тетрада блока 5 инверсии содержит элементы И 42-49, элементы ИЛИ 50-53 элементы НЕ 54-58. Информационный вход регистра 1 соединен с входом 2 устройства, выхо ды его разр дов соединены с входами блока 3 и коммутатора 4. Выход коммутатора 4 через блок 5 соединен с входом накапливающего сумматора 6. Выход коммзггатора 4 через блок 5 соединен с входом накашшвак цего сум матора 6. Выходы младшей тетрады  акапливающего сумматора 6 соединен с входами старшей тетрады регистра 7. Информационные входы регистра 7 соединены с входом 8 устройства. Входы управлени  сдригом сумматора 6 и регистра 7 соединены с тактовым вхо дом 19. Младший разр д младшей тетрады регистра 7 соединен с входом . элемента И 10 и через элемент НЕ 11 - с входом элемента И 12. Второй разр д младшей тетрады регистра 7 соединен с входом элемента И 13 и че рез элемент НЕ 14 - с входом элемен та И 15. Третий разр д младшей тетрады регистра 7 соединен с вто, рыми входами элементов И 12 и 15, вертый разр д младшей тетрады регистра 7 соединен с управл кхцим входом блока 5 и через элемент НЕ 16 с вторым входом элемента И 13. Второй вход элемента И 10 и третий вход, элемента И 12 соединены с тактовьм входом 17. Третьи входы элементов И 13 и 15 соединены с тактовым входом 18. Выход элемента И 10 соединен с nfepBbM управл ющим входом коммутатора 4. Выходы элементов И 12, 13, 15через элемент ИЖ 9 соединены с вторым управп кщим входом коммутатора 4. Выходы накапливающего сумматора 6 и регистра 7 соединены с вь ходами 20 и 21 устройства соответственно , четвертый разр д тетрады регистра 7 соединен с входами младших разр дов всех тетрад сумматора 6. Элемент ИЛИ 32 (фиг. 2), соединенный с входами блока 3, на которые поступают переносы П, младшей тетЦ рады регистра 1, формирует младший разр д удвоенной тетрады В , на элементу НЕ 38-41 формируютс  инвер 2i 4i соответ-, ственно. С псмощью элементов И 22, 23 и элемента ИЛИ 33 формируетс  второй разр д удвоенной тетрады в. , с помощью элементов И 24-26 и элемента ИЛИ 34 - третий разр д , с помощью элемента ИЛИ 35 и элемента И 27 четвертый разр д в. Аналогично элементы И 28, 29 и элемент ИЛИ 36 формируют перенос в старшую тетраду П элементы И 30, 31 и элемент ИЛИ37 перенос Иёп Множимое и его удвое-. ное значение поступают на информационные входы коммутатора 4. Коммутатор 4 управл етс  схемой анализа кода, состо щей из элементов И 10, 12, 13, 15, элементов НЕ 11, 14, 16и элемента ИЛИ 9. На входы этой схемы поступает очередна  тетрада йножител . Очередна  тетрада множи ел  отрабатьшаетс  за два такта. Если обозначить управл ющий сигнал Ьервого такта, поступающий на вход 17, как С, сигнал второго такта,5 |1оступакщий на вход 18, как Cj, разр ды очередной тетрады множител  tJj; ,d,; , d-tj, сигнал на входе KOMMyTaf тора ч, управл гащй передачей множимого , как У и сигнал на входе ком- Ю мутатора 4, управл ющей передачей удвоенного множимого, как-У, то управление коммутатора 4 опишетс  следующими булевыми выражени ми: i .jV4/ 2V2i-: сформированные в коммутаторе 4 частич-... ные произведени  поступают на блок инверсии 5, Блок инверсии 5 управл етс  знаковым разр дом очередной тетрады множител  dt.: Если тичное произведение проходит на вход js сумматора 6 без изменений. Если 1 на вход сумматора 6 поступает двоична  инверси  частичного произведени  и одновременно в младший разр д каждой тетрады сумматора 6 поступает единица. На входы блока 5 (фиг. 3) поступает тетрада частичного произведени , сформированна  в коммутаторе. В элементах НЕ 54-57 формируетс  ее инверси . Знаковьш разр д тетрады множител  .инвертируетс  в элементе НЕ 58. Если . то 1 , и через элементы И 42-45. и элементы ЮТИ 50-53 проходит тетрада частичного Произведени  без изменени . Если ( , то через элементы И 46-49 и эле- менты Ш1И 50-53 проходит инверси  тетрады частичного произведени . На выходах формируетс  тетрада частичного произведени  с присвоенным знаком . Так как тетрады кодируютс  в дополнительном коде, то при , 1 содержимое каждой тетрады сумматора 6 должно быть увеличено на единицу младшего разр да. С этой целью вы .ход подключаетс  к свободному входу: младшего разр да тетрады сумматора . Устройство работает следуюпщм образом . Множимое с входа 2 записываетс  в регистр 1, множитель с входа 8 - в регистр 7. Сомножители представлены 1в избыточном восьмеричном коде, цифры об т. ст ра тр Еу фо го ко из об 4 I 4 , То ет 5 го Ьа которого кодируютс  следующим азом: О - 0000 +1-0001 +2 - 0010 +3 - 0011 +4 - 0100 -1 - 1111 -2 - 1110 -3 - 1101. . одна восьмерична  1щфра предвл етс  тетрады, старший р д тетрады кодирует знак цифры, последующих разр да - саму цифру., С выхода регистра 1 множимое посает на вход удвйител  3, которьй мирует удвоенное значение множимоУдвоитель 3 представлет собой бинационное устройство, состо щее однотипных блоков-тетрад. Если значить: 2i. и Разр ды л- и тетрады множимого, 31 2ti ii разр ды i-й- тетрады удвоенного множимого , П, IT. - положительнь1й и отрицательный переносы , формируюш 1ес  в i-й тетраде и поступающие в соседнюю тетраду, MAi положительньш и отрицательньй переносы , поступающие в 1-ю тетраду из соседней младшей тетрады, одна тетрада удвоител  описыва  следукщей системой вьфажений: ,-(-b.|; .-«,, 2г%п;;д,-«,,п;.; Ь-.П +П 1l MAi MAi .,.c,a.S стГ«4,-«2ГП;; д,«4,-5,. V / В коммутаторе 4 инверсии ормируетс  произведеше множимона восьмеричный (с учетом ) р д множител . Это произведение 711 поступает на вход сумматора 7, работающего в избыточньк кодак, и суммируетс  в нем с ранее накопленной суммой. По завершении отработки тетрады множител  на вход 19 поступает сигнал сдвига, содержимое сумматора 6и регистра 7 сдвигаетс  на одну тетраду ,в сторону младших разр дов Умножение завершаетс  после отработки последней тетрады, множител . Старшие тетрады произведени  из сумматора 6 поступают на выход 20 . устройства. Младшие тетрады из регистра 7 поступают на вькод 21 устройства . В отличие от прототипа данное уст ройство по всхп ет обрабатывать параллел ные жрды, используемые практи чески повсеместно. Дл  представлени  числа 2 в прототипе требуетс  п избыточных двоичных разр дов. Опера ци  умножени  занимает 2п тактов. В предлагаемом устройстве дл  пред ставлени  чисел такого же диапазона потребуетс  К тетрад, где К находи с  из вьфаже«и  , 2 , Ьткуда Отработка одной тетрады требует три такта и врем  умножени  состав ет (n + D тактов. Следовательно, вр§ 4Я умножени  сокращаетс  примерно в 2 раза Сравним прототип с данным, устройством по расходу оборудовани . Прототип содержит четыре регистра, причем два из них (дл  сомножителей) предназначены дл  приема двоичного избыточного кода, т.е. представл ют собой по два ДВОИЧШ11Х регистра и два дл  результата (эквивалентные обычным двоичным регистрам). В результате все регистры триггербв. Данное,устройство дл  построени  регистров сомножителей требует триггеров (при равном диапазоне изменени  чисел). В результате экономи  составл ет ( - триггера. .Коьв утаторы и сумматоры прототипа и данного устройства примерно эквивалентны. Схема анализа знака .прототипа примерно эквивалентна четырем элементам И, трем элементам НЕ и одному элементу ИЛИ. Схема умножени  прототипа примерно эквивалентна блоку инверсии прилагаемого устройства. В результате данное устройство оказываетс  экономичнее прототипа почти на 30%.The invention relates to computing and is intended for use in digital computing machines for various purposes. A device for performing the multiplication operation in parallel binary code is known, which contains two registers, an adder and a partial product shaper with an input, an adder, the second register output is connected to the second partial product formation input. However, the known device has low speed. In order to improve the speed, the number of multiples of the multiplier is worked out in one multiplication step. A multiplier is known, based on processing in one step multiplying four multiples of a multiplier, containing four quad registers, an adder, two memory devices, a counter, a control device, the output of the first memory device being connected through the first register to the input of the adder, the third register output with the input of the fourth register and through the second register with the input of the adder, the output of the adder is connected to the inputs of the first storage device and the inputs of the third and fourth registers, VTO. The swarm output of the first memory device is connected to the input of the second memory device, the output of the second memory device is connected to the input of the counter and control unit C21. However, in order to form multiples of the multiplicand in such a device, 7 addition operations are required, the multiplication operation is accelerated only 2-3 times (depending on the length of the discharge grid), with a small discharge grid (2 or less bytes), there is no acceleration of the operation. In addition, the known device requires a very large expenditure of equipment. In order to speed up the multiplication operation, methods are also used that significantly reduce the execution time of the summation operation. Reducing the time of the summation operation is possible using redundant codes. The closest to the invention of the technical entity is a device multiplying Dp in a redundant 1 62 binary system containing four registers, a sign analysis circuit, a switch, a multiplication circuit, an adder, with the inputs of the first and second registers and the sign analysis circuit connected to the inputs of the device, the outputs the first and second registers through the multiplication circuit and the switch is connected to the inputs of the adder, the output of the sign analysis circuit is connected to the second input of the switch, the output of the adder is connected to the input of the third register, the outputs of the third the register is connected to the input of the fourth register, the input of the adder and the output of the device 3. However, this device is designed to process sequences of codes of limited use, for one multiplication cycle one time is processed for the device, and in addition, this device requires a large consumption equipment. The aim of the invention is to increase the speed and simplify the device. This goal is achieved by the fact that a device for multiplying in a redundant number system, containing two registers, a switch and an accumulator, and the information inputs of registers are connected to the inputs of the corresponding device operands, contains a code doubling unit, an inversion unit, an RSHI element, four AND elements, three the element is NOT, the outputs of the bits of the first register are connected to the inputs of the code doubling unit and the first group of information inputs of the switch, the second group of information inputs of which are connected to the outputs code doubling unit. f "switch connected to the information inputs of the inversion unit, the outputs of the inversion unit connected to the bits of the accumulating adder, the outputs of the bits of the lower tetrad are connected to the inputs of the bits of the older tetrad of the second register, the output of the first., the discharge of the youngest tetrad of the second register is connected to the first input of the first element And through the element NOT - with the first input of the second element And, the output of the second digit of the lower tetrad of the second register is connected to the first input of the third element And through the element NOT with the first input the house of the fourth eleJMeHTA AND, the output of the third bit of the lower tetrad of the second register is connected to the second inputs of the second and fourth elements AND, the output of the fourth bit of the lower tetrad of the second register is connected to the control input of the inversion unit, with the inputs of the lower digits of all the tetrads of the adder and through the element NOT with the second input of the third, the second element And, the second input of the first element And and the third input of the second element And is connected to the first clock input of the device, the third inputs of the third and fourth elements And are connected to w The clock input of the device, the outputs of the first element AND and the element OR are connected to the control inputs of the switch, the shift control inputs of the second register and the accumulating adder are connected to the third clock input of the device, the outputs of the second register bits and the accumulating adder are device outputs . On "tffltr. 1 is a schematic of a multiplier device in a redundant numbering system; FIG. 2 — one tet rad of code doubling unit; FIG. 3 tetrad block inversion. The device contains a register 1, an input 2 of the first operand, a block 3 double the code, a switch 4, an inversion block 5, accumulating adder 6, a register 7, an input 8 of the second operand, an element OR 9, an element AND 10, an element 11, an element AND 12, 13, the element is NOT 14, the element is AND 15, the element is NOT 16, clock inputs 17-19, outputs 20 and 21. The tetrad of the code doubling unit 3 contains elements AND 22-31, elements OR 32-37, elements HE 38-41. The tetrad of the inversion unit 5 contains elements AND 42-49, elements OR 50-53 elements NOT 54-58. The information input of the register 1 is connected to the input 2 of the device, the outputs of its bits are connected to the inputs of the block 3 and the switch 4. The output of the switch 4 is connected to the input of the accumulating adder 6 through the block 5. The output of the commutator 4 is connected to the input of the totalizer via block 5 6. The outputs of the lower tetrad of the accumulating adder 6 are connected to the inputs of the higher tetrad of the register 7. The information inputs of the register 7 are connected to the input 8 of the device. The control inputs of the shift of the adder 6 and the register 7 are connected to the clock input 19. The lower level of the lower tetrad of register 7 is connected to the input. the element And 10 and through the element NOT 11 - with the input of the element AND 12. The second bit of the lower tetrad of register 7 is connected to the input of the element And 13 and through the element NOT 14 - with the input of the element And 15. The third bit of the lower tetrad of the register 7 is connected with the second, rymi inputs of elements I 12 and 15, the lateral bit of the lower tetrad of register 7 is connected to the control input of block 5 and through the element NOT 16 with the second input of element 13. And the second input of element 10 and the third input of element 12 are connected with clock input 17. The third inputs of the elements And 13 and 15 are connected to the clock input 18. The output of the elements and AND 10 is connected to the nfepBbM control input of the switch 4. The outputs of the elements 12, 13, 15 through the IZH element 9 are connected to the second control input of the switch 4. The outputs of the accumulating adder 6 and register 7 are connected to the inputs 20 and 21 of the device, respectively, the fourth the tetrad register bit 7 is connected to the low-order bits of all the tetrads of the adder 6. Element OR 32 (Fig. 2), connected to the inputs of block 3, to which the transfers P, the lower tetz of the register 1, form the lower bit of the double tetrad B , on the element HE 38-41, inv ep 2i 4i respectively. With the power of the elements And 22, 23 and the element OR 33, the second discharge of the double tetrad c is formed. , using the elements AND 24-26 and the element OR 34 - the third bit, using the element OR 35 and the element And 27 fourth digit c. Similarly, the elements AND 28, 29 and the element OR 36 form the transfer to the upper tetrad P the elements And 30, 31 and the element OR 37 the transport Iop Multiply and its double. The value is fed to the information inputs of the switch 4. Switch 4 is controlled by a code analysis circuit consisting of AND 10, 12, 13, 15 elements, HE 11, 14, 16 elements and an OR 9 element. The next tetradefactor enters the inputs of this scheme. The next tetrad multiplied is being worked out in two cycles. If we denote the control signal of the first cycle, input to input 17, as C, the signal of the second cycle, 5 | 1 access to input 18, as Cj, the discharge of the next tetrad of the multiplier tJj; , d; , d-tj, the signal at the input KOMMyTaf h, controlling the transfer of the multiplicand, as Y and the signal at the input of the commutator 4, controlling the transfer of the double multiplicand, as -Y, then the control of the switch 4 will be described by the following boolean expressions: i .jV4 / 2V2i-: partial-parts formed in the switch 4 are transferred to inversion unit 5, Inversion unit 5 is controlled by the sign discharge of the next tetrad multiplier dt .: If the actual product passes to the input js adder 6 unchanged. If 1 at the input of the adder 6 enters the binary inversion of the partial product and at the same time, one enters the low-order bit of each tetrad of the adder 6. The tetrad of a partial product formed in the switch enters the inputs of block 5 (Fig. 3). An inversion is formed in the elements HE 54-57. The sign of the tetrads multiplier is inverted in the element NOT 58. If. then 1, and through the elements And 42-45. and the elements of UTI 50-53 pass through the tetrad of partial production without modification. If (, then the inversion of the tetrad of partial product passes through the elements of AND 46-49 and the elements of G1 50-53. A partial product tetrad with an assigned sign is formed at the outputs. Since the tetrads are encoded in an additional code, then, 1 the contents of each tetrad of the adder 6 must be incremented by a low-order unit. For this purpose, the flow is connected to a free input: the low-order tetrad of the adder. The device works as follows: The multiplicative from input 2 is written to register 1, the multiplier from input 8 to register 7. To multiply The telegrams are represented by 1 in the octal redundant code, the digits of the vol. Eu phock of vol. 4 I 4, that is, the 5 th of which is encoded with the following: O - 0000 + 1-0001 +2 - 0010 +3 - 0011 + 4 - 0100 -1 - 1111 -2 - 1110 -3 - 1101.. One octal 1 digit prefaces the tetrad, the upper row of the tetrad encodes the digit sign, the next digit - the digit itself., From the output of the register 1, the multiplicator sends to the input of the dual 3. which doubles the value of the multiplier. The duplicator 3 is a binational device consisting of the same type tetrad blocks. If it means: 2i. and Discharges of multipliers and tetrads, 31 2ti ii discharges of the ith tetrad of double multipliers, P, IT. - positive and negative transfers, forming 1ec in the i-th tetrad and arriving in the next tetrad, MAi positive and negative transfers, arriving in the 1st tetrad from the next lower tetrad, one tetrad doubler describing the following output system:, - (- b. |; .- “,, 2g% n ;; d, -“ ,, п;.; L-.P + P 1l MAi MAi.,. C, aS stG “4, -“ 2ГП ;; d, “4 , -5,. V / Inversion switch 4 is organized by multiplying the octal number (with allowance) for the multiplier. This product 711 is fed to the input of the adder 7, working in the redundant codec, and summed up in it with the previously accumulated After completing the tetrad multiplier, input shift 19 receives a shift signal, the contents of adder 6 and register 7 are shifted by one tetrad, towards the lower digits. Multiplication is completed after testing the last tetrad, multiplier. The older tetrads of the adder 6 arrive at output 20. devices. The lower tetrads from register 7 are fed to the device code 21. In contrast to the prototype, this device does not allow to process parallel rods that are used almost everywhere. In order to represent the number 2 in the prototype, n excess binary bits are required. The multiplication operation takes 2 steps. In the proposed device for representing numbers of the same range, K tetrads will be required, where K is found with and 2, B where the working out of one tetrad requires three clocks and the multiplication time is (n + D clocks. Therefore, multiplication time is reduced Approximately 2 times Let's compare the prototype with this, equipment consumption device. The prototype contains four registers, two of which (for factors) are designed to receive a binary redundancy code, i.e. are two LETCH11X registers and two for the result ( equivalent As a result, all the registers of the trigger. This, the device for constructing the registers of factors, requires triggers (with an equal range of numbers). As a result, the savings amount to (- the trigger. The output of the prototype and this device is approximately equivalent. The prototype symbol analysis scheme is approximately equivalent to the four AND elements, three NOT elements and one OR element.The multiplication circuit of the prototype is approximately equivalent to the inversion unit of the attached device. As a result, this device is more economical than the prototype by almost 30%.

Bff-lBff-l

J5J5

2727

взсall

f4f4

33

afiafi

ffZLffZL

2525

2626

ZLZl

3333

2222

о-about-

тгрtgr

n-crln-crl

30thirty

3737

ЧH

5/five/

. г. g

((

dffdff

ПP

5050

ffbffb

вГvG

4t4(4t4 (

5252

4four

a/a /

oo

uFuF

54t54t

j-IslJj-islj

5five

cfcf

5757

fAtfAt

-, 45 ;- 45;

Pue. 3Pue. 3

5858

Claims (1)

УСТРОЙСТВО ДЛЯ УМНОЖЕНИЯDEVICE FOR MULTIPLICATION В ИЗБЫТОЧНОЙ СИСТЕМЕ СЧИСЛЕНИЯ, содержащее два регистра, коммутатор и накапливающий сумматор, причем информационные входы регистров соединены с входами соответствующих операндов устройства, отличающееся тем, что, с целью повышения быстродействия и упрощения устройства, оно содержит блок удвоения кода, блок инверсии, элемент ИЛИ, четыре элемента И, три элемента НЕ, причем выходы разрядов первого регистра соединены с входами блока удвоения кода и первой группой информационных входов коммутатора, вторая группа информационных входов которого соединена с выходами блока удвоения кода, выходы коммутатора под· ; ключены к информационным входам .блока инверсии, выходы блока инверсии· подключены к входам разрядов накапливающего сумматора, выходы разрядов младшей тетрады которого подключены к входам разрядов старшей тетрады второго регистра, выход первого разряда младшей тетрады второго регистра соединен с первым входом первого элемента И’и через элемент НЕ - с первым входом второго элемента И, выход второго разряда младшей тетрады второго регистра соединен с первым входом третьего элемента И и через элемент НЕ - с первым входом четвертого элемента И, выход третьего разряда младшей тетрады второго регистра соединён с вто- с рыми входами второго и четвертого S элементов И, выход четвертого разряда младшей тетрады второго регистра соединен с управляющим входом блока инверсии, с входами младших разрядов всех тетрад накапливающего сум·? матора и через элемент НЕ - с вторым входом третьего элемента И, второй вход первого элемента' И и третий вход второго элемента И соединены с первым тактовым входом устройства, третьи входы третьего и четвертого элементов И соединены с вторым тактовым входом устройства, выходы первого элемента И и элемента ИЛИ соединены с управляющими входами коммутатора, входы управления сдвигом второго регистра и накапливающего сумматора соединены с третьим тактовым входом устройства, выходы разрядов второго регистра и накапливающего сумматора являются выходами устройства.In a REDUCED COUNTING SYSTEM, containing two registers, a switch and an accumulating adder, the information inputs of the registers connected to the inputs of the corresponding operands of the device, characterized in that, in order to improve performance and simplify the device, it contains a code doubling unit, an inversion unit, an OR element, four AND elements, three NOT elements, and the outputs of the bits of the first register are connected to the inputs of the code doubling unit and the first group of information inputs of the switch, the second group of information inputs which ogo is connected to the outputs of the code doubling block, the outputs of the switch under ·; are connected to the information inputs of the inversion block, the outputs of the inversion block are connected to the inputs of the bits of the accumulating adder, the outputs of the bits of the lower notebook of which are connected to the inputs of the bits of the senior notebook of the second register, the output of the first bit of the lower notebook of the second register is connected to the first input of the first element And through the element is NOT - with the first input of the second element And, the output of the second bit of the lower notebook of the second register is connected to the first input of the third element And and through the element is NOT - with the first input of the fourth element A and output of the third discharge LSnibble second register is connected to a secondary rymi inputs S of the second and fourth AND gates, the fourth discharge outlet LSnibble second register coupled to the control input of the inversion block with inputs LSBs all tetrads accumulator sum ·? and through the element NOT - with the second input of the third element And, the second input of the first element 'And and the third input of the second element And are connected to the first clock input of the device, the third inputs of the third and fourth elements And are connected to the second clock input of the device, the outputs of the first element And and the OR element is connected to the control inputs of the switch, the inputs of the shift control of the second register and the accumulating adder are connected to the third clock input of the device, the outputs of the bits of the second register and the accumulating adder are with the device outputs.
SU833546085A 1983-01-31 1983-01-31 Device for multiplying numbers in redundant notation SU1124286A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU833546085A SU1124286A1 (en) 1983-01-31 1983-01-31 Device for multiplying numbers in redundant notation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU833546085A SU1124286A1 (en) 1983-01-31 1983-01-31 Device for multiplying numbers in redundant notation

Publications (1)

Publication Number Publication Date
SU1124286A1 true SU1124286A1 (en) 1984-11-15

Family

ID=21047460

Family Applications (1)

Application Number Title Priority Date Filing Date
SU833546085A SU1124286A1 (en) 1983-01-31 1983-01-31 Device for multiplying numbers in redundant notation

Country Status (1)

Country Link
SU (1) SU1124286A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
1. Карцев М.А. Арифметика цифровых машин. М., Наука, 1969, с. 350. 2.Авторское свидетельство СССР № 752335, кл. G 06 F 7/52, 1978. 3.Авторское свидетельство СССР № 860062, кл. G 06 F 7/49, 1979 (прототип). *

Similar Documents

Publication Publication Date Title
JPS6375932A (en) Digital multiplier
US3996562A (en) Programmable electronic calculator for evaluating mathematical problems
EP0109137A2 (en) Partial product accumulation in high performance multipliers
US3229080A (en) Digital computing systems
EP0067862B1 (en) Prime or relatively prime radix data processing system
SU1157541A1 (en) Sequential multiplying device
SU1287145A1 (en) Computing cell
SU1293727A1 (en) Polyfunctional calculating device
SU741260A1 (en) Converter of proper binary-decimal fraction into binary fraction and integer binary numbers into binary-decimal numbers
RU2022339C1 (en) Multiplier
SU1432512A1 (en) Series computing device
SU734669A1 (en) Converter of proper binary fraction into binary-decimal fraction and integer binary-decimal numbers into binary numbers
SU1141402A1 (en) Array dividing device
SU1672441A1 (en) Multiplying unit
SU1024906A1 (en) Multiplication device
US3758767A (en) Digital serial arithmetic unit
SU1185328A1 (en) Multiplying device
SU1160399A1 (en) Device for multiplying numbers in redundant quaternary notation
SU1383340A1 (en) Computing device
SU1032453A1 (en) Device for multiplying
SU1136151A1 (en) Multiplying device
RU1807481C (en) Device for multiplication
SU1280389A1 (en) Versions of device for calculating product of vectors
SU551643A2 (en) Device for calculating sums of products
SU991414A1 (en) Multiplication device