SU794634A1 - Device for multiplying series code by fractional factor - Google Patents
Device for multiplying series code by fractional factor Download PDFInfo
- Publication number
- SU794634A1 SU794634A1 SU792721507A SU2721507A SU794634A1 SU 794634 A1 SU794634 A1 SU 794634A1 SU 792721507 A SU792721507 A SU 792721507A SU 2721507 A SU2721507 A SU 2721507A SU 794634 A1 SU794634 A1 SU 794634A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- output
- code
- bits
- register
- adder
- Prior art date
Links
Landscapes
- Complex Calculations (AREA)
Description
УСТРОЙСТВО дл УМНОЖЕНИЯ ПОСЛЕДОВАТЕЛЬНОГО DEVICE FOR MULTIPLICATION OF SEQUENTIAL
(54) КОДА НА ДРОБНЫЙ КОёФФИЦИЕНТ(54) CODE FOR FUNNY COEFFICIENT
; ;
Изобретение относитс к областивычислительной техники и может быть применено дл умножени на дробный коэффициент числа, представленного последовательным Д1воичным квазиканоническим модифицированным кодом. Известно устройство 1} дл умножени на коэффициент, содержащее гене ратор импульсов, элемент И, делители частоты, счетчики и блок совпгщени кодов. Однако оно не позвол ет совмещать во времени процессы поразр дного ввода операнда, вычислени и поразр дной выдачи результата, что может быть необходимым, если операнды на входе и выходе устройства представлены последовательным кодом (например, в случае ограничений на количество внещних выводов при изготовлении устройст ва в виде БИС). Наиболее близким по технической сути к изобретению вл етс устройст во 2, содержащее регистр частичного произведени , регистры кода ко эффициента, два сумматора идешифратор цифр результата, при этом вход управлени первого сумматора и первый и второй входы разр дов первого сумматора соединены соответственно с входной шиной кода множимого, с выходом разр дов регистра частичного произведени и выходом разр дов регистра кода коэффициента, выход старших разр дов первого сумматора соединен с входом дешифратора цифр результата , выходы которого вл ютс выходом результата устройства. Первый вход разр дов второго сумматора соединен с выходом разр дов второго регистра кода коэффициента, вход управлени регистра частично произведени вл етс входом управлени устройства. Функциональные возможности такого устройства ограничены, поскольку устройство позвол ет умножать число на дробный коэффициент только в том случае , если знаменатель коэффициента вл етс целой степенью основани системы счислени . Целью изобретени вл етс расширение функциональных возможностей устройства, Поставленна цель достигаетс тем, что в устройстве, содержащем регистр частичного произведени , регистры кода коэффициента, два сумматора и дешифратор цифр результата, при эхом вход управлени первого сумматора и первый и второй входы разр дов первого сумматора соединены соответственно с входной шиной, кода множимого, с выходом разр дов регист ра частичного произведени и выходом разр дов первого регистра кода коэффициента , выход старших разр дов пер ) вого сумматора соединен с входом дешифратора цифр результата, выход которого в-л етс выходом результата устройства, первый вход разр дов вто го сумматора соединен с выходом разр дов второго регистра кода коэффициен та, вход управлени регистра частичного произведени вл етс взсодом управлени устройства, дополнительно введены св зи; выход разр дов первого сумматора соединен со вторым входом разр дов второго сумматора, вход управлени и выход разр дов которого соединены соответственно с выходом д шифратора цифр результата и входом разр дов регистра частичного произведени . На чертеже приведена схема устройс ва . Устройство содержит регистр 1 час тичного произведени , первый 2 и второй 3 регистры кода коэффициента, сумматоры 4, 5, дешифратор 6 цифр результата , входную шину 7 кода множимо го. Дешифратор 6 цифр результата пред ставл ет собой комбинационную схему, реализующую следующие логические функ ции f а () где индексы аргументов соответствуют номе)ам разр дов сумматора 4, f и f2 с значени цифр (соответственно 1 и 1) результата. Устройство работает следующим образом . В исходном состо нии (цепи установ ки исходного состо ни на чертеже не показаны) в регистре 1 записаны нули в первом регистре 2 числитель Л коэффициента , а во втором регистре 3 число 1-В,.т.е. дополнительный код знаменател В коэффициента. Значени А и В удовлетвор ют услови м 0,, The invention relates to the field of computational technology and can be applied to multiply by a fractional coefficient a number represented by a sequential D1 binary quasicanonical modified code. A device 1} is known for multiplying by a coefficient comprising a pulse generator, an AND element, frequency dividers, counters, and a matching unit. However, it does not allow combining in time the processes of the bitwise input of the operand, the computation and the bitwise output of the result, which may be necessary if the operands at the input and output of the device are represented by a serial code (for example, in the case of restrictions on the number of external outputs when manufacturing the device). in the form of BIS). The closest in technical terms to the invention is a device in 2, containing a partial product register, coefficient code registers, two adders, and the result digit encoder; the control input of the first adder and the first and second inputs of the first adder bits are connected respectively to the input bus of the code multiplier, with the output of the bits of the register of partial product and the output of the bits of the register of the coefficient code, the output of the higher bits of the first adder is connected to the input of the decoder of the result digits, the output whose output is the output of the device. The first input of the bits of the second adder is connected to the output of the bits of the second register of the coefficient code, the control input of the register of partial output is the control input of the device. The functionality of such a device is limited, since the device allows to multiply the number by a fractional coefficient only if the denominator of the coefficient is an integer base degree of the number system. The aim of the invention is to expand the functionality of the device. The goal is achieved in that the device containing the partial product register, the coefficient code registers, two adders and the digit decoder of the result, when the control input of the first adder and the first and second inputs of the first adder bits are connected correspondingly with the input bus, the multiplicable code, with the output of the bits of the partial product register and the output of the bits of the first register of the coefficient code, the output of the higher bits of the multiplier ) the adder is connected to the input of the decoder of the result digits, the output of which is the output of the device result, the first input of the bits of the second adder is connected to the output of the bits of the second coefficient code register, the control input of the partial product register is additionally communications are entered; the output of the bits of the first adder is connected to the second input of the bits of the second adder, the control input and the output of the bits of which are connected respectively to the output d of the encoder of the result digits and the input of the bits of the partial product register. The drawing shows the scheme of the device. The device contains a register of 1 part product, the first 2 and second 3 registers of the coefficient code, adders 4, 5, a decoder 6 digits of the result, the input bus 7 of the multiplicand code. The 6-digit decoder of the result is a combinatorial circuit that implements the following logic functions f a () where the argument indices correspond to the number) of the bits of the adder 4, f and f2 with the digit values (respectively 1 and 1) of the result. The device works as follows. In the initial state (the setting chains of the initial state are not shown in the drawing), register 1 contains zeros in the first register 2 numerator L of the coefficient, and in the second register 3 the number 1-B, i.e. additional code is the denominator of the B coefficient. Values A and B satisfy the conditions 0 ,,
22
ОABOUT
е e
0001100000 00011 11101 00000111010001100000 00011 11101 0000011101
е e
0000ООН 1111 0001 111111100000 UNI 1111 0001 11111110
0001100110 00001 11111 11110110030001100110 00001 11111 1111011003
.4 .four
.0 1 о о о 1.0 1 o o o 1
001001
000 000
111 011111 011
.5.five
4 Т4 T
000 000
111111
000000
000 110 001000 110 001
111111
000 в каждом i-м цикле вычислени на входную шину 7 кода множител поступает цифра операнда X с весом , (где р - количество разр дов) , после которых фиксируетс зап та в X. Эта цифра управл ет видом операции, выполн емой сумматором таким образом, что на сумматоре 4 складываетс содержимое регистра 1 с пр мым кодом содержимого регистра 2, если цифра равна плюс единице, и с дополнительным кодом - если цифра равна минус единице , и код регистра 2 не выдаетс на суммирование, если эта цифра равна нулю. Дешифратор цифр результата б, анализиру содержимое трех старших разр дов сумматора 4, формирует цифру результата У. Бели на выходе указанных разр дов 000 или 111, то цифра результата равна нулю, в остальных случа х цифра результата равна по модулю единице , а ее знак равен знаку кода сумматора 4. Цифра результата выдаетс из устройства по выходной шине 8 Чи, описанным выше способом дл сумматора 4) и управл ет видом операции, выполн емый сумматором 5, где происходит сложение пр мого или дополнительного кода регистра 3 с кодом сумматора 4. Цикл заканчиваетс сигналом на входе управлени 9, по которому код сумматора 5 принимаетс в регистр 1. Работа устройства на числовом примере дл значений А , 011 3/8, В , 111 7/8, X lOllOl 35 по сн етс таблицей 1, где получена цифра результата У 010001 15. Как видно из примера, предлагамое устройство позвол ет совмещать во времени процессы пор зрадного ввода операнда и вывода результата при вычислении функции у - К. Однако в отличие от устройства-прототипа дл предлагаемого устройства не требуетс , чтобы В 2, где с - целое. Следовательно, предлагаемое устройство может найти более широкое применение.000 in each i-th calculation cycle, an operand digit X with a weight enters the input bus 7 of the multiplier code, (where p is the number of bits), after which the number is fixed in X. This digit controls the type of operation performed by the adder in this way that on adder 4, the contents of register 1 are added to the direct code of the contents of register 2, if the digit is plus one, and with the additional code, if the digit is minus one, and register 2 is not summed up, if this digit is zero. The decoder of the digits of the result b, analyzing the contents of the three most significant bits of the adder 4, generates the digit of the result U. Beli at the output of the specified bits 000 or 111, the digit of the result is zero, in other cases the digit of the result is equal to 1, and its sign is the code of the adder 4. The result digit is output from the device over the output bus 8 Chi in the manner described above for adder 4) and controls the type of operation performed by adder 5 where the addition of the direct or additional register code 3 with the adder code 4 occurs. CycleIt is replaced by a signal at control input 9, according to which the code of adder 5 is received into register 1. The device operates in a numerical example for the values A, 011 3/8, B, 111 7/8, X lOllOl 35 as shown in table 1, where the digit is obtained of the result 01011 15. As can be seen from the example, the proposed device allows to combine in time the processes of pore operative input of the operand and the output of the result when calculating the function y - K. However, unlike the prototype device, the proposed device does not require B 2, where c is a whole. Therefore, the proposed device can find wider application.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU792721507A SU794634A1 (en) | 1979-02-02 | 1979-02-02 | Device for multiplying series code by fractional factor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU792721507A SU794634A1 (en) | 1979-02-02 | 1979-02-02 | Device for multiplying series code by fractional factor |
Publications (1)
Publication Number | Publication Date |
---|---|
SU794634A1 true SU794634A1 (en) | 1981-01-07 |
Family
ID=20808856
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU792721507A SU794634A1 (en) | 1979-02-02 | 1979-02-02 | Device for multiplying series code by fractional factor |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU794634A1 (en) |
-
1979
- 1979-02-02 SU SU792721507A patent/SU794634A1/en active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO1996028774A1 (en) | Exponentiation circuit utilizing shift means and method of using same | |
SU794634A1 (en) | Device for multiplying series code by fractional factor | |
SU842796A1 (en) | Device for computing fractional rational function | |
SU748409A1 (en) | Device for multiplying binary-decimal numbers | |
SU822215A1 (en) | Device for solving heat conductance equation | |
SU1262478A1 (en) | Device for subtracting decimal numbers | |
SU922731A1 (en) | Device for multiplying in residual class system | |
SU783791A1 (en) | Polynominal multiplying device | |
SU888108A1 (en) | Multiplier | |
RU2148270C1 (en) | Device for multiplication | |
SU1273918A1 (en) | Adding-subtracting device | |
SU991419A2 (en) | Digital function converter | |
SU549808A1 (en) | Dividing device | |
SU911519A1 (en) | Device for computing elementary functions | |
SU1097999A1 (en) | Device for dividing n-digit numbers | |
SU446058A1 (en) | Device for accelerated dividing | |
SU995088A1 (en) | Device for rounding number in binary code | |
SU622087A1 (en) | Sine and cosine function digital computer | |
SU1432512A1 (en) | Series computing device | |
SU642704A1 (en) | Arrangement for computing the function: (x2-y2) raised to the minus 1/2 power | |
SU802962A1 (en) | Dividing device | |
SU693379A2 (en) | Function generator | |
SU805303A1 (en) | Digital device for taking antilogarithms | |
SU922760A2 (en) | Digital function generator | |
SU1179322A1 (en) | Device for multiplying two numbers |