SU1357950A1 - Device for reducing argument - Google Patents

Device for reducing argument Download PDF

Info

Publication number
SU1357950A1
SU1357950A1 SU864026031A SU4026031A SU1357950A1 SU 1357950 A1 SU1357950 A1 SU 1357950A1 SU 864026031 A SU864026031 A SU 864026031A SU 4026031 A SU4026031 A SU 4026031A SU 1357950 A1 SU1357950 A1 SU 1357950A1
Authority
SU
USSR - Soviet Union
Prior art keywords
argument
output
register
inputs
elements
Prior art date
Application number
SU864026031A
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 SU864026031A priority Critical patent/SU1357950A1/en
Application granted granted Critical
Publication of SU1357950A1 publication Critical patent/SU1357950A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

Изобретение относи с  к цифровой вычислительной технике и может быть использовано при создании специализированных , систем переработки информации. Целью предлагаемого изобретени   вл етс  повьшение быстродействи  устройства. Устройство дл  приведени  аргументов содержит регистры аргумента 1 и команд 2,мультиплексор 3, элементы ИЛИ 4, 5, сумматоры по модулю два 6, 7, элементы И 8-13 с соответствующими св з ми. Данное устройство позвол ет, использу  формулы приведени  углов к первой четверти круга, вычисл ть функции sinx, cos X, tg X и ctg X дл  любых углов. 1 ил., 2 табл. со ел со СПThe invention relates to digital computing and can be used to create specialized, information processing systems. The aim of the invention is to increase the speed of the device. The device for bringing the arguments contains the registers of argument 1 and commands 2, multiplexer 3, the elements OR 4, 5, modulo-2 adders 6, 7, the elements AND 8-13 with the corresponding links. This device allows, using the formulas for converting angles to the first quarter of a circle, to calculate the functions sinx, cos X, tan X and ctg X for any angles. 1 dw., 2 tab. has co with joint venture

Description

Изобретение относитс  к вычислительной технике и может найти применение при создании специализированных систем переработки информации.The invention relates to computing and may find application in the creation of specialized information processing systems.

Целью изобретени   вл етс  повышение быстродействи ,The aim of the invention is to improve the speed,

В устройстве действи  производ тс  над числами с зап той, фиксированной перед старшим разр дом в обратном коде. Дл  определенности в дальнейшем будем считать, что результаты предлагаемого устройства будут использоватьс  дл  реализации функций sin(x), cos(x), tg(x), ctg(x) при наличии блоков, вычисл ющих функцииIn the device, actions are performed on numbers with a comma fixed before the high-order code in the reverse code. For definiteness, we will further assume that the results of the proposed device will be used to implement the functions sin (x), cos (x), tg (x), ctg (x) in the presence of blocks calculating functions

sin (|- Z) и tg( zp, где Z - модуль приведенного аргумента дл  функций sin(x), cos(x) к первой четверти круга, Zj - модуль приведенного аргумента дл  функций tg(x) к одной восьмой Части круга.sin (| - Z) and tg (zp, where Z is the modulus of the reduced argument for the functions sin (x), cos (x) to the first quarter of the circle, Zj is the modulus of the reduced argument for the functions tg (x) to one-eighth of the circle.

Представление аргумента X в обратном коде, как известно, записываетс  следующим-выражением:The representation of the argument X in the reverse code is known to be written with the following expression:

XX

X, при X 7/ 0 . l + Cl-Z -lxl), при к :0,X, at X 7/0. l + Cl-Z -lxl), with k: 0,

(1)(one)

где пwhere n

число разр дов мантиссы числа.the number of bits of the mantissa number.

Выражение (1-2 -lxf) формулы (1) соответствует формулам привеложительного угла в част х круга, полученные путем отбрасывани  в формуле (3) двух старших разр дов х, х Zj - значение угла в част х круга, полученное путем отбрасывани  в формуле (1) трех старших разр довj Z, Zj, - инверсированные значени  coдени  отрицательных .углов к положительным углам в част х круга. Поэтому в дальнейшем знаковьш разр д аргумента учитыватьс  не будет, и формула (1) будет иметь вид:The expression (1-2 -lxf) of formula (1) corresponds to the formulas of a favorable angle in parts of a circle, obtained by dropping in the formula (3) the two most significant bits x, x Zj - the angle in parts of a circle, obtained by dropping in the formula (1) the three highest bits j Z, Zj, are the inverse values of the ratio of negative angles to positive angles in parts of a circle. Therefore, in the future, the sign of the argument will not be taken into account, and formula (1) will be:

(2)(2)

формула (1) будет иметь вид:formula (1) will be:

X X, при X 7/ О + ()., при X 0 .X X, with X 7 / О + ()., With X 0.

Таким образом, в дальнейших преобразовани х участвуют только положительные углы X 6 0,1, представленные в част х круга.Thus, only positive angles X 6 0.1, represented in parts of a circle, are involved in further transformations.

Положительные углы дл  устройства имеют видPositive angles for the device are

. +х 2 +.. .+х„2. + x 2 + ... + x „2

1 -п1 - n

(3)(3)

где Xwhere is x

2 2

- первый старший разр д аргу- мента - first most significant bit of argument

Х2 второй старший разр д арг гументаX2 second senior arggument

Xj - третий старший разр д аргумента;Xj is the third highest bit of the argument;

Xf, - младший разр д аргумента.Xf, is the low-order bit of the argument.

В соответствии с известными формулами приведени  в табл. 1 приведены зависимости модулей арг-ументов Соот- ветствуюпщх функций приведенных к со- ответствующей части круга, а также значени  их знака и вычисл ема  функци  в зависимости от комбинаций аргументов Х, Х, Xj,In accordance with the known formulas in table. 1 shows the dependences of the modules of the arguments of the Corresponding functions reduced to the corresponding part of the circle, as well as the values of their sign and the calculated function depending on the combinations of the arguments X, X, Xj,

Т а б л и ц а 1Table 1

5555

замены в каждом разр де единиц нул ми , а нулей единицами.replacements in each category of units by zero, and zero by units.

Знак плюс кодируют цифрой О, а минус - 1. Считают, что признак (., если вычисл етс  функци  tg х и ш 1, если вычисл етс  функци  ctg.The plus sign is encoded with the digit O, and the minus is 1. The sign (. If the functions tg x and w 1 is calculated, if the function ctg is calculated).

В соответствии с табл. 1 дл  функции sin значение приведенного аргумента к первой четверти вычисл етс  по формулеIn accordance with the table. 1 for the sin function, the value of the reduced argument to the first quarter is calculated by the formula

Z Г ) если Х2 1,Z D) if X2 1,

а знак ее равен Зн ,and her sign is Zn,

дл  функции cos значение го аргумента вычисл етс  for the cos function, the value of the th argument is computed

Z 1 2 Z 1 2

если Х2 1 i если ,if x2 1 i if

а ее з.нак равенand her z.nak equal

Зн cos X , © -Х- ,Zn cos X, © -X-,

где знак плюс означает сложение по модулю два,where the plus sign means modulo two,

дл  функции tg значение приведенного аргумента к одной восьмой части круга вычисл етс  по формулеfor the function tg, the value of the reduced argument to one-eighth of the circle is calculated by the formula

2э, 1 Zj, 2e, 1 zj,

э, если Xj 0;uh, if Xj 0;

если Xif X

Признак U) вычисл етс  по формуле W X J ф X функции равенThe sign U) is calculated by the formula

J vy Aj, а знак соответствующейJ vy Aj, and the sign corresponding

Зн t, с t, X,Kn t, with t, x,

На чертеже представлена схема уст ройства.The drawing shows a device diagram.

Устройство дл  приведени  аргумен тов содержит регистр 1 аргумента, ре гистр 2 команд, мультиплексор 3, элв менты ИЛИ 4 и 5, сумматоры 6 и 7 по модулю два, и элементы И 8-13, старшие разр ды 14-16 регистра аргумента , выходы разр дов 17-19 кода регистра команд, выход 20 признака вычисл емой функции устройства, выход 21 знака вычисл емой функции устройства , выход 22 приведенного аргумента устройства.The device for bringing the arguments contains the register of 1 argument, the register of 2 commands, multiplexer 3, the elements OR 4 and 5, the adders 6 and 7 modulo two, and the elements AND 8-13, higher bits 14-16 of the argument register, outputs bits 17-19 of the code of the command register, the output 20 of the sign of the calculated function of the device, the output 21 characters of the calculated function of the device, the output 22 of the given device argument.

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

На вход регистра 2 команд подает-, с  код команды. Коды на регистре 2 команд в зависимости от .соответствующей функции приведены в табл. 2 (К - первый выход, 17; Kj - второй выход 18, Kj - третий выход 19 регистра 2 команд).At the input of the register 2 commands gives-, with the command code. The codes on the register of 2 commands, depending on the respective function, are given in Table. 2 (K - first exit, 17; Kj - second exit 18, Kj - third exit 19 of the register of 2 commands).

(4)(four)

sinsin

(5)(five)

10ten

coscos

(6)(6)

1515

tgtg

2020

На вход регистра 1 аргументов подаетс  код аргумента х в соответствии с формулой (3), где х, - первый выход 14, Xj - второй выход 15, х третий выход 15 регистра аргументов. На выходе второго сумматора 7 по модулю два (первьй выход .20 устройства )возникает сигналы, логическа The input of register 1 of arguments is given the argument code x in accordance with formula (3), where x, is the first output 14, Xj is the second output 15, x is the third output 15 of the register of arguments. At the output of the second adder 7 modulo two (the first output .20 of the device) signals appear,

ПС PS

функци  которого whose function

w X, © X,(10)w X, © X, (10)

IJ i/ J Ij i / j

На выходе первого элемента ИЛИ 5 (второй выход 21 -устройства) возни- 30 кает сигнал знака соответствующей функции, логическа  функци  которого равнаAt the output of the first element OR 5 (the second output of the 21 device), there appears a signal sign of the corresponding function, the logical function of which is equal to

(9)(9)

, (х,@х,)+Кз Xj , (x, @ x,) + Kz Xj

(11)(eleven)

35 Сигнал с выхода второго элемента ИЛИ 4, равный35 The signal from the output of the second element OR 4 equal to

(12)(12)

, Xj+Kj Xj+KjXg, Xj + Kj Xj + KjXg

поступает на управл ющий вход 1 1ульти- 40 плексора 3.arrives at the control input of 1 1 multi-40 plexer 3.

На выходе мультиплексора 3 (третий выход 22 устройства) образуетс  код приведенного аргумента в соответ- 45 ствии с формулойAt the output of the multiplexer 3 (the third output of the device 22), the code of the given argument is formed in accordance with the formula

если , если if if

1 Z,1 Z,

(13)(13)

где Z - пр мой код с информационно- 50 о вькода регистра 1 аргументов, а Z - инверсный.where Z is the direct code from the information register of 1 register of arguments, and Z is the inverse one.

Значени  приведенного аргумента Z, Z к первой четверти образуютс  55 от значени  Z путем отбрасывани  двух о старших разр дов, а значение приведенного аргумента Z- к одной восьмой части круга образуетс  от Z путем от- брасьшани  трех старшиз, разр дов.The values of the reduced argument Z, Z to the first quarter are 55 of the value of Z by dropping two of the higher bits, and the value of the reduced argument Z to one-eighth of the circle is formed from Z by scaling three preceding bits.

Claims (1)

Формула изобретени Invention Formula Устройство дл  приведени  аргу- .мента, содержащее регистр аргумента, два элемента ИЛИ, шесть элементов И, регистр команд, выходы с первого по третий старших разр дов регистра аргумента соединены с первыми входами с первого по третий элементов соответственно , отличающеес  тем, что, с целью повышени  быстродействи , в него введены два сумматора по модулю два и мультиплексор, причем первый выход регистра команд соединен с вторым входом первого элемента И и первым входом четвертого элемента И, второй выход регистра команд соединен с первыми входами п того и шестого элементов И, третий выход регистра команд соединен с вторыми входами второго и третьего элементов И, выходы третьего, четвертого и шестого элементов И соединены с входами первого элемента ИЛИ, вы- A device for providing arguments, containing the argument register, two OR elements, six AND elements, the command register, the outputs from the first to the third most significant bits of the argument register, are connected to the first inputs from the first to the third elements, respectively, characterized in that, In order to improve speed, two modulo-two adders and a multiplexer are entered into it, the first output of the command register is connected to the second input of the first element And the first input of the fourth element And, the second output of the command register is connected to the first inputs of said fifth and sixth AND gates, the third instruction register output connected to second inputs of the second and third AND gates, the outputs of the third, fourth and sixth AND gates are connected to the inputs of said first OR gate, you are a 00 Q 5Q 5 ход которого соединен с управл ющим входом мультиплексора, выходы первого и третьего старших разр дов регистра аргумента соединены с первыми входами первого и второго сумматоров по модулю два соответственно, выход второго старшего разр да регистра аргумента соединен с вторыми входами первого и второго сумматоров по модулю два, выход первого сумматора по модулю два соединен с вторым входом п того элемента И, вьс:оды первого , второго, п того элементов И соединены с входами второго элемента ИЛИ, выходы мпадших разр дов регистра аргумента соединены с информационными входами мультиплексора, выход которого  вл етс  выходом приведенного аргумента устройства, выходы второго сумматора по модулю два и второго элемента ИЛИ  вл ютс  соответственно выходами признака вычисл емой функции и знаком вычисл емой функции устройства.the course of which is connected to the control input of the multiplexer, the outputs of the first and third high-order bits of the argument register are connected to the first inputs of the first and second modulo-two adders, respectively, the output of the second high-order register of the argument is connected to the second inputs of the first and second modulators two, the output of the first modulo-two adder is connected to the second input of the fifth element AND, high, first, second, fifth elements AND connected to the inputs of the second OR element, the output of the argum bits The device is connected to the information inputs of the multiplexer, the output of which is the output of the device argument, the outputs of the second modulo-2 adder and the second OR element are the outputs of the calculated function, and the sign of the calculated function of the device.
SU864026031A 1986-02-24 1986-02-24 Device for reducing argument SU1357950A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU864026031A SU1357950A1 (en) 1986-02-24 1986-02-24 Device for reducing argument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU864026031A SU1357950A1 (en) 1986-02-24 1986-02-24 Device for reducing argument

Publications (1)

Publication Number Publication Date
SU1357950A1 true SU1357950A1 (en) 1987-12-07

Family

ID=21222937

Family Applications (1)

Application Number Title Priority Date Filing Date
SU864026031A SU1357950A1 (en) 1986-02-24 1986-02-24 Device for reducing argument

Country Status (1)

Country Link
SU (1) SU1357950A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 898426, кл. С 06 F 7/548, 1980. Авторское свидетельство СССР № 1061136, кл. С 06 F 7/548, 1982. *

Similar Documents

Publication Publication Date Title
SU1357950A1 (en) Device for reducing argument
US5129066A (en) Bit mask generator circuit using multiple logic units for generating a bit mask sequence
JPS584440A (en) Arithmetic logic unit
GB1280392A (en) High-speed parallel binary adder
GB1203730A (en) Binary arithmetic unit
GB1129659A (en) Signal generating circuits
RU2018927C1 (en) Modulo 3 adder
SU1305685A1 (en) Device for generating modulo remainders
GB1040241A (en) Improvements relating to parallel digital adders
RU2023288C1 (en) Combination adder of structural codes
ES318469A1 (en) Binary to multilevel conversion by combining redundant information signal with transition encoded information signal
SU1092495A1 (en) Binary adder
SU1233169A1 (en) Matrix parallel processor
RU1797110C (en) Device for counting number of units
RU2023345C1 (en) Encoder
SU1343550A1 (en) Logical element
SU951300A2 (en) Device for squaring n-bit binary numbers
US3084861A (en) Logic circuitry
RU1797109C (en) Modulo 3 adder
SU968813A1 (en) Microprogramme control device
RU2199774C1 (en) Programmable device for controlling electric drives, electronic switches, and signaling facilities
SU1272328A1 (en) Device for performing addition
RU2037268C1 (en) Binary-coded-decimal-code-8-4-2-1-to-code-5-4-2-1 converter
KR970002394B1 (en) A data transmission circuit for arithematic logic unit between multiadder
RU1817100C (en) Computational unit of array computational system