[go: up one dir, main page]

SU1167604A1 - Calculating device - Google Patents

Calculating device Download PDF

Info

Publication number
SU1167604A1
SU1167604A1 SU833645817A SU3645817A SU1167604A1 SU 1167604 A1 SU1167604 A1 SU 1167604A1 SU 833645817 A SU833645817 A SU 833645817A SU 3645817 A SU3645817 A SU 3645817A SU 1167604 A1 SU1167604 A1 SU 1167604A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
trigger
inputs
switches
Prior art date
Application number
SU833645817A
Other languages
Russian (ru)
Inventor
Владимир Николаевич Синенко
Евгений Иванович Духнич
Валерий Дмитриевич Бартошевский
Виктор Владимирович Владимиров
Борис Константинович Орлов
Original Assignee
Предприятие П/Я Г-4897
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 Предприятие П/Я Г-4897 filed Critical Предприятие П/Я Г-4897
Priority to SU833645817A priority Critical patent/SU1167604A1/en
Application granted granted Critical
Publication of SU1167604A1 publication Critical patent/SU1167604A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

ВЫЧИСЛИТЕЛЬНОЕ УСТРОЙСТВО, содержащее первый, второй и третий сдвиговьге регистры, первый, второй и третий сумматоры-вычислители, первый и второй коммутаторы, причем выходы младших разр дов первого, второго и третьего сдвиговых регистров соединены с первыми входами операндов соответственно первого, второго и третьего сумматоров-вычитателей, выходы первого, второго и третьего сумматоров-вычитателей соединены с информационными входами соответственно первого, второго и третьего сдвиговых регистров, разр дные выходы первого и второго.сдвиговых регистров соединены с входами соответственно первого и второго коммутаторов , второй вход операндов третьего сумматора-вычитател  соединен с информационным входом устройства, выход первого сумматора-вычитател  соединен с информационным выходом устройства , отличающеес  тем, что., с целью расширени  функцирнальных возможностей устройства за счет умножени  и делени  координат вектора на константу, устройство содержит четвертый и п тьй сдвиговые регистры, -коммутаторы с третьего по седьмой, четвертый сумматор-вычитатель , вычитатель, элемент задер аси и блок управлени , содержащий дешифратор , первый, второй и третий триггеры , генератор тактовых импульсов, двоичный счетчик, первый и второй элементы 2-2И-ИЛИ и элемент ИСКЛЮЧАЮЩЕЕ ИЛИ, вьгход которого соединен с нулевым входом первого триггера, единичный вход которого соединен с выходом генератора тактовых импульсов и тактовым входом двоичного счетчика, счетный вход которого соединен с еди (Л ничным выходом первого триггера, сине хронизирующим входом второго триггера и первым входом первогр элемента 2-2И-ИЛИ, второй вход которого соединен с выходом второго элемента 2-2И-ИЛИ, первьп вход которого соединен с первым выходом дешифратора, второй выход которого соединен со ьтоо: рым входом второго элемента 2-2И-ИЛИ, нулевой выход первого триггера соедио нен с третьим входом первого элемента 2-2И-ИЛИ и с синхронизирующим входом третьего триггера, единичный вход которого соединен .с третьим выходом дешифратора и с единичным входом второго триггера, единичный выход которого соединен с первым входом элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, второй вход которого соединен с единичным выходом третьего триггера и с четвертым входом первого элемента 2-2И-ИЛИ, причем первый единичный выход первого триггера соединен с управл ющимиCOMPUTATIONAL DEVICE containing the first, second and third shift registers, first, second and third adders calculators, first and second switches, with the low-order outputs of the first, second and third shift registers connected to the first inputs of the operands of the first, second and third adders, respectively subtracters, the outputs of the first, second and third adders-subtractors are connected to the information inputs of the first, second and third shift registers, respectively, and the first and volt bit outputs The shift registers are connected to the inputs of the first and second switches, respectively, the second input of the operands of the third adder-subtractor is connected to the information input of the device, the output of the first adder-subtractor is connected to the information output of the device, in order to expand the functional capabilities of the device beyond by multiplying and dividing the coordinates of the vector by a constant, the device contains the fourth and fifth shift registers, the switches from the third to the seventh, the fourth adder-calculus teller, subtractor, delay element and control unit containing decoder, first, second and third triggers, clock generator, binary counter, first and second elements 2-2AND-OR, and EXCLUSIVE OR element whose trigger is connected to the zero input of the first trigger The unit input of which is connected to the output of the clock generator and the clock input of the binary counter, the counting input of which is connected to the one (the first output of the first trigger, the blue clock input of the second trigger and the first input of the first 2-2I-OR, the second input of which is connected to the output of the second 2-2I-OR element, the first input of which is connected to the first output of the decoder, the second output of which is connected to: the second input of the second 2-2I element, zero output of the first trigger is connected to the third input of the first element 2-2 and-OR and to the synchronizing input of the third trigger, the single input of which is connected to the third output of the decoder and to the single input of the second trigger, the single output of which is connected to the first input of the EXCLUSIVE OR element, the second the input of which is connected to the unit output of the third trigger and to the fourth input of the first element 2-2 and -OR, and the first unit output of the first trigger is connected to the control

Description

входами четвертого, п того, шестого и седьмого коммутаторов, выход первого элемента 2-2И-ИЛИ соединен с управл к цими входами первого, второго и третьего сумматоров-вычнтателей, еди-, ничный выход третьего триггера соединен с управл ющим входом четвертого сумматора-вычитател , первый вход дешифратора соединен с выходом второго сумматора-вычитател , второй вход дешифратора соединен с выходом третьего сумматора-вычитател , третий вход дешифратора соединен с выходом вычитател , разр дные выходы двоичного счетчика соединены с уиравл ющими входами первого, второго и третьего коммутаторов , третий и четвертый входы второго элемента 2-2И-ИЛИ соединены с управл ющими входами устройства, причем разр дные выходы четвертого сдвигового регистра соединены с информационным входом третьего коммутатора, выход которого соединен со входом элемента задержки И первым информационным входом седьмого коммутатора, выход которого соединен с первым входом операнда четвертого сутчматора-the inputs of the fourth, fifth, sixth and seventh switches, the output of the first 2-2I-OR element is connected to the control to the inputs of the first, second and third calculator adders, the single output of the third flip-flop is connected to the control input of the fourth subtractor , the first input of the decoder is connected to the output of the second adder-subtractor, the second input of the decoder is connected to the output of the third adder-subtractor, the third input of the decoder is connected to the output of the subtractor, the bit outputs of the binary counter are connected to an equalizer by their inputs of the first, second and third switches, the third and fourth inputs of the second element 2-2И-OR are connected to the control inputs of the device, and the bit outputs of the fourth shift register are connected to the information input of the third switch, the output of which is connected to the input of the delay element AND information input of the seventh switch, the output of which is connected to the first input of the fourth sundmator operand

вычитател , выход которого соединен с первым ин(|х:1рмацион11ьгм входом шестого коммутатора и первым входом операнда вы.читател , второй вход операнда которого соединен с выходом младшего разр да п того сдвигового регистра и его информационным входом выход шестого коммутатора соединен с информационньм входом четвертого сдвигового регистра, выход младшего разр да которого соединен со вторым информационным входом шестого коммутатора и вторым входом операнда четвертого сумматора-вычитател , второй информационный вход седьмого коммутатора соединен с выходом элемента задержки , выходы первого и второго коммутаторов соединены соответственно с первыми информационными входами четвертого, п того коммутаторов и вторыми информационными входами четвертого и п того коммутаторов , выходы четвертого и п того коммутаторов соединены со вторыми входами операндов соответственно первого и вторрго сумматоров - вычитателей.a subtractor, the output of which is connected to the first input (| x: 1 memory of the sixth switch and the first input of the operand of the reader; the second input of the operand is connected to the low-order output of the fifth shift register and its information input; the output of the sixth switch is connected to the information input of the fourth the shift register, the output of the lower bit of which is connected to the second information input of the sixth switch and the second input of the operand of the fourth adder-subtractor, the second information input of the seventh comm the first element is connected to the output of the delay element; the outputs of the first and second switches are connected respectively to the first information inputs of the fourth and fifth switches and the second information inputs of the fourth and fifth switches; the outputs of the fourth and fifth switches are connected to the second inputs of operands of the first and second adders, respectively subtractors.

Изобретение относитс  к вычислительной технике и предназначено дл  построени  на его основе специализит рованных ЦВМ. Известно арифмитическое устройств работающее с информацией, представле ной в виде векторов, предназначенное дл  решени  задач, содержащих большо количество тригонометрических функций 01. Наиболее близким к предлагаемому по технической сущности  вл етс  устройство 2, работающее по алгоритму Волдера , Уи, У; 2-;; ; х,ч, X. - ;у ;1 (1) QU, ® - ;«с; . J . где ; sign 0; дл  вычислени  значений у k(xj cos ) т f 2 X k(к cos kp - у sin If ) J или - sign дл  соотношений R - +y ; a arctg .y /x, где X; , Xj - координаты вектора, повернутые на угол Qi/i ; aCi arctg константы (i 2,3,...п). Недостатком известных устройств  вл етс  изменение масштаба представлени  переменных (коэффициент k 1), что приводит к усложнению программировани . Целью изобретени   вл етс  расширение функциональных возможностей устройства за счет вычислени  выражеНИИ вида А/. , у у(у cos If + x, ); X COBS- у sin If ) J R f УQ arctg y /X, При Z k устройство позвол ет производить умножение координат на число А с компенсацией изменени  масштаба, а при А k - Z - деление координат вектора на константу Z(Z А). Поставленна  цель достигаетс  те . что в вычислительное устройство, со держащее первый, второй и третий сдвиговые регистры, первый, второй и третий сумматоры-вычитатели, первый и второй коммутаторы, причем вы ходы младших разр дов первого, вт.орого и третьего сдвиговых регистров соединены с первыми входами операндов соответственно первого, второго и третьего сумматоров-вычитателей, выходы- первого, второго и третьего сумматоров-вычитателей соединены с информационньми входами соответственно первого, второго и третьего сдвиговых регистров, разр дные выходы первого- и второго сдвиговых .регистров соединены с входами соответственно первого и второго коммутаторов , второй вход операндов третьего сумматора-вычитател  соеди нен с информационным входом устройства , выход первого сумматора-вычит тбл  соединен с информационным выходом устройства, дополнительно вве дены четвертьй и п тый сдвиговые регистры, коммутаторы с третьего по седьмой, четверТый сумматор-вьтитатель , вычитатель, элемент задержки и блок управлени , содержащий дешиф ратор, первый, второй и третий триг геры, генератор тактовых импульсов, двоичный счетчик, первый и второй элементы 2-2И-ИЛИ и элемент ИСКЛЮЧАЮЩЕЕ ИЛИ, выход которого соединен с нулевым входом первого триггера, единичный вход которого соединен с выходом генератора тактовых импульсов и тактовым входом двоичного сче чика, счетньй вход которого соединен с единичным выходом первого .триггера , синхронизирующим входом второго триггера и первым входом первого эле мента 2-2И-ИЛИ, второй вход которого соединен с выходом второго элемента 2-2И- ШШ, первый вход которого соединен с первым выходом дешифратоpa , второй выход которого соединен со вторым входом второго элемента 2-2И-И11И, нулевой выход первого триггера соединен с третьим входом пер- , вого элемента 2г2И-ИЛИ и с синхронизирующим входом третьего триггера, единичный вход которого соединен с третьим выходом дешифратора и с единичным входом второго триггера, единичный выход которого соединен с первым входом элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, второй вход которого соединен с единичным выходом третьего триггера и с четвертым входом первого элемента 2-2И-ИЛИ, причем первый единичньй выход первого триггера соединен с управл ющими входами четвертого , п того, шестого и седьмого коммутаторов, выход первого элемента 2-2И-ИЛИ соединен с управл ющими входами первого, второго и третьего сумматорой-вычитателей, единичный выход третьего триггера соединен с управл ющим входом четвертого сумматора-вычитател , первый вход дешифратора соединен с выходом второго сумматора-вычитател , второй вход дешифратора соединен с выходом третьего сумматора-вычитател , третий вход дешифратора соединен с выходом вычитател , разр дные выходы двоичного счетчика соединены с управл ющими входами первого, второго и третьего коммуатторов , третий и четвертый входы второго элемента 2-2И-ИЛИ соединены с управл ющими входами устройства, причем разр дные выходы четвертого сдвигового регистра соединены с информационным входом третьего коммутатора, выход которого соединен со входом элемента задержки и первым информационным входом седьмого коммутатора, выход которого соединен с первым вхо- дом операнда четвертого сумматора-вычитател , выход которого соединен с первым информационным входом шестого коммутатора и первым входом операнда вычитател , второй вход операнда которого соединен с выходом младшего разр да п того сдвигового регистра и его информационным входом, выход шестого коммутатора соединен с информационным входом четвертого сдвигового регистра, выход младшего разр да которого соединен со вторым информационным входом шестого коммутатора и вторым входом операнда четвертого сумматора-вычитател , второй информационный вход седьмого коммутатора соединен с выходом элемента задержк выходы первого и второго коммутаторов соединены соответственно с перв ми информационными входами четверто го, п того коммутаторов и вторыми информационными входами четвертого и п того коммутаторов, выходы четве того и п того коммутаторов соединен со вторыми входами операндов соотве ственно первого и второго сумматоро вычитателей, , На фиг. 1 представлена структурна  схема вычислительного устройств на фиг. 2 - структурна  схеМа блока управлени ; на фиг. 3 - алгоритм ра боты устройства. Устройство (фиг. О- содержит с первого по п тый сдвиговые.регистры 1 - 5, с первого по СРДЬМОЙ ком мутаторы 6 - 12, с первого по четве тый сумматоры-вычитатели 13 - 16, вычитатель 17, элемент задержки 18, информационньй вход 19, выходы и входы 20 - 25 блока управлени , бло управлени  26. Блок управлени  (фиг. 2) содержи дешифратор 27, первый, второй и тре тий триггеры 28 - 30, первый и второй элементы 2-2И-ИЛИ 31 и 32, элемент ИСКЛЮЧАЮЩЕЕ ИЛИ 33, генератор тактовых импульсов 34 и двоичный счетчик 35. Работу устройства можно описать итерационным алгоритмом х- - V if. 2- У 1 , у, «- + г У - х,, 2 ; G;-f; ; ; -A; sign (A - ); ;LnpH ; 0 где sip;n Qj дл  вычислений (3) и j sign y - дл  вычислений (4), Дл  каждой итерации выполн етс  два шага вычислений. На первом шаге ( режим вращени ) реализуютс  соотношени  (5), а на т;тором шаге (режим масштабировани ) - соотношени  (6), которые описывают изменение масштаба координат вектора с проверкой сходимости итерационного процесса (проверка равенстваД 2; ) При вычислении соотношени  (3) устройство работает следующим образом. Текущие значени  координат х , у,и угла Q; хран тс  в регистрах 1 - 3 соответственно, текущее значение делител  хранитс  в регистре 4, а множител  А - в регистре 5. С началом очередной итерации коммутаторы 6-8 соедин ют свои входы с выходами соответствующих регистров так, 4T(VHa выходах коммутаторов 6 и 7 при сдвиге информации в регистрах по вл ютс  операнды, сдвинутые на (i - 2) разр да, а коммутатора 8 сдвинутые на, (1+2) разр да. На выходе элемента задержки 18 по вл етс  значение Z, сдвинутое на (i + 1) разр дов. Блок управлени  вырабатывает сигналы по алгоритму, представленному на фиг, 3. В режиме вращени  на выход 21 блока управлени  подаетс  сигнал, по которому коммутаторы 9, 10, 12 соедин ют входы коммутаторов 6-8 со. входами сумматоров-вйчитателей 14,13, 16 соответственно, коммутатор 11 соедин ет выход регистра 4 с его входом. На выходе 20 и 22 подаютс  сигналы , и Ч , На вход 19 подаетс  значение . Устройство реализует вычислени  (5), причем на выходах сумматоров-вычитателей 13 - 16 получаютс  значени  , , у , S;+, , а , соответственно , а на выходе вычислител  17 значение (А - Z, - Ч ( Z 2 ), которое вместе со значением 0,+) с выхода сумматора-вычитател  15 подаетс  на входы 25 и 24 блока управлени  дл  определени  операторов ; и соответственно. Значени  i i fi записываютс  в свои регистры. В блоке управлени  происходит сравнение операторов fl и 2, и в случае их равенства в режиме , масштабировани  реализуютс  вычислени  (6). При этом на выход блока управлени  26 подаетс  сигнал, по которому коммутаторы 9, 10, 12 соедин ют выходы коммутаторов 6 и 7 и элемента задержки 18 со входамиThe invention relates to computing and is intended to build specialized digital computers on its basis. Arithmetic devices known to work with information, presented in the form of vectors, are designed to solve problems containing a large number of trigonometric functions 01. The closest to the proposed technical essence is device 2, which uses the Wolder, Woo, U algorithm; 2- ;; ; x, h, X. -; y; 1 (1) QU, ® -; "s; . J. where sign 0; to calculate the values of y k (xj cos) t f 2 X k (to cos kp - y sin If) J or - sign for the relations R - + y; a arctg .y / x, where X; , Xj - vector coordinates rotated by angle Qi / i; aCi arctg constants (i 2,3, ... n). A disadvantage of the known devices is the change in the scale of the representation of the variables (coefficient k 1), which makes programming more complicated. The aim of the invention is to expand the functionality of the device by calculating an expression of the form A /. , у у (у cos If + x,); X COBS - y sin If) J R f YQ arctg y / X. At Z k, the device allows to multiply the coordinates by the number A with the compensation of the scale, and at A k - Z - division of the vector coordinates by the constant Z (Z A). The goal is achieved by those. that the computing device containing the first, second and third shift registers, the first, second and third adders-subtractors, the first and second switches, and the outputs of the lower bits of the first, second and third shift registers are connected to the first inputs of operands, respectively the first, second and third adders-subtractors, the outputs of the first, second and third adders-subtractors are connected to the information inputs of the first, second and third shift registers, respectively, the bit outputs of the first and The first shift registers are connected to the inputs of the first and second switches, respectively, the second input of the operands of the third adder-subtractor is connected to the information input of the device, the output of the first adder-subtraction TBL is connected to the information output of the device, and a quarter and fifth fifth shift registers and switches are added from the third to the seventh, the fourth adder, the subtractor, the delay element and the control unit containing the decoder, the first, second and third triggers, the clock generator, the binary counter, the first and second elements 2-2 and-OR, and the EXCLUSIVE OR element, whose output is connected to the zero input of the first trigger, whose single input is connected to the output of the clock generator and the clock input of the binary counter, the counting input of which is connected to the single output of the first Trigger, the synchronization input of the second trigger and the first input of the first element 2-2 and-OR, the second input of which is connected to the output of the second element 2-2I-SH, the first input of which is connected to the first output of the decoder, the second output to the second is connected to the second input of the second element 2-2И-И11И, the zero output of the first trigger is connected to the third input of the first, second element 2r2I-OR and to the synchronizing input of the third trigger, the single input of which is connected to the third output of the decoder and to the single input of the second trigger whose single output is connected to the first input of the EXCLUSIVE OR element, the second input of which is connected to the single output of the third trigger and to the fourth input of the first element 2-2И-OR, and the first single output of the first trigger is connected with the control inputs of the fourth, fifth, sixth and seventh switches, the output of the first element 2-2И-OR is connected to the control inputs of the first, second and third adder-subtractors, the unit output of the third trigger is connected to the control input of the fourth adder-subtractor, the first input of the decoder is connected to the output of the second adder-subtractor, the second input of the decoder is connected to the output of the third adder-subtractor, the third input of the decoder is connected to the output of the subtractor, the bit outputs of the binary counter are connected S with control inputs of the first, second and third switchboards, the third and fourth inputs of the second element 2-2И-OR are connected to the control inputs of the device, and the bit outputs of the fourth shift register are connected to the information input of the third switch, the output of which is connected to the input of the element delay and the first information input of the seventh switch, the output of which is connected to the first input of the operand of the fourth adder-subtractor, the output of which is connected to the first information input of the sixth switch The ora and the first input of the subtractor's operand, the second input of the operand of which is connected to the low-voltage output of the fifth shift register and its information input, the output of the sixth switch is connected to the information input of the fourth shift register, the low-voltage output of which is connected to the second information input of the sixth switch and the second input of the operand of the fourth adder-subtractor, the second information input of the seventh switch is connected to the output of the delay element, the outputs of the first and second switches; ineny respectively to a first input of the fourth information in E th, the fifth switch and the second data inputs of the fourth and fifth switches, the outputs of the quat and fifth switches is connected to the second inputs of operands respectively governmental first and second adder subtractors, FIG. 1 is a block diagram of the computing device of FIG. 2 shows a structural scheme of the control unit; in fig. 3 - device operation algorithm. The device (Fig. O- contains the first to the fifth shift. Registers 1 - 5, the first to the AFTER comm mutators 6 - 12, the first to the fourth adders-subtractors 13 - 16, the subtractor 17, the delay element 18, the information input 19, the outputs and inputs 20 - 25 of the control unit, the control unit 26. The control unit (Fig. 2) contains the decoder 27, the first, second and third triggers 28-30, the first and second elements 2-2-OR 31 and 32, the element EXCLUSIVE OR 33, the clock generator 34 and the binary counter 35. The operation of the device can be described by the iteration algorithm x - - V if. 2 - Y 1, y, “- + g Y - x ,, 2; G; -f;;; -A; sign (A -);; LnpH; 0 where sip; n Qj for calculations (3) and j sign y - for calculations (4), For each iteration, two computation steps are performed. At the first step (rotation mode), relations (5) are implemented, and at step; the thore step (scaling mode), relations (6), which describe a change in the scale of the vector coordinates with checking the convergence of the iterative process ( equality check 2; ) When calculating relation (3), the device operates as follows. Current values of x, y, and angle Q; stored in registers 1–3, respectively, the current value of the divider is stored in register 4, and multiplier A is in register 5. From the beginning of the next iteration, switches 6–8 connect their inputs to the outputs of the corresponding registers, 4T (VHa outputs of switches 6 and 7, when the information in the registers is shifted, operands shifted by (i - 2) bits appear, and switch 8 is shifted by, (1 + 2) bits. At the output of delay element 18, the value Z appears, shifted by (i + 1) bits. The control unit generates signals according to the algorithm shown in FIG. 3. In the mode rotational output to the control unit output 21 is given a signal by which switches 9, 10, 12 connect the inputs of switches 6 to 8 with the inputs of adders 14,13, 16 respectively, switch 11 connects the output of register 4 with its input. 20 and 22 signals are sent, and F, A value is applied to input 19. The device implements the calculations (5), and, at outputs of adders-subtractors 13-16, the values,, y, S; +, 17 value (A - Z, - H (Z 2), which, together with the value 0, +) from the output of the subtractor 15 is served with the inputs 25 and 24 of the control unit to determine the operators; and correspondingly. The i i fi values are written to their registers. Operators fl and 2 are compared in the control unit, and if they are equal in the scaling mode, calculations (6) are implemented. In this case, the output of the control unit 26 is given a signal by which the switches 9, 10, 12 connect the outputs of the switches 6 and 7 and the delay element 18 to the inputs

сумматоров-вычитателей 14, 13, 16 соответственно, а коммутатор 11 соедин ет выход сумматора-вьгчитатёл  1 со входом регистра А, Вход 19 закрыт На выходы 20 и 22 блока управлени  значение оператора f- и на выходах сумматоров-вычитателей 13 - 16 получаютс  значени  х , , 9,, , t которые записьгоаютс  в соответствующие регистры. С выхода вычислител  17 разность (А-2 ) подаетс  через вход 25 в блок управлени  26 дл  выработки сигнала ui При отсутствии равенства 1 режим масштабировани  не выполн етс . Итерации повтор ютс  до заданного количества. При выполнении операции (4) арифметическое устройство работает аналогичным образом с той разницей , что значение Г получаетс  как функци  знака координаты у , значение которой снимаетс  в блок управлени  по входу 23. Дл  управлени  коммутаторами 6 - 8 с выхода блока управлени  снимаетс  сигнал, соответствующий номеру итерации i.totalizers-subtractors 14, 13, 16, respectively, and switch 11 connects the output of totalizer-1 reader to register A, input 19 is closed. At outputs 20 and 22 of the control unit, the value of the operator f- and the outputs of totalizers 13 - 16 are x,, 9 ,,, t which are written into the corresponding registers. From the output of the calculator 17, the difference (A-2) is fed through the input 25 to the control unit 26 to generate a signal ui. If there is no equality 1, the scaling mode is not executed. The iterations are repeated to a predetermined number. In step (4), the arithmetic unit operates in a similar way with the difference that the value of T is obtained as a function of the sign of the y coordinate, whose value is taken to the control unit at input 23. To control the switches 6 to 8, the signal corresponding to the number is removed from the output of the control unit iterations i.

После выполнени  всех операций поворота вектора значени  координат получаютс  умноженными на число А или поделенными на Z без дополнитель него удлинени  в k раз.After all the vector rotation operations have been performed, the coordinate values are multiplied by the number A or divided by Z without the addition of an extension of k.

Дл  формировани  сигнала в режиме вращени  на входы 23 и 24 дешифратора 27 знака операнда (ДС) подаетс  значение у,- и 0 соответственно . В зависимости от того, каиса  операци  выполн етс  (3) или (4) с выхода логической схемы снШ:аетс  сигнал , соответствующий знаку 6( или у,В блоке управлени  триггер 28 задает режим работы устройства: вращение - на выход 21 логическа  единица и масштабирование - на выход 21 логический ноль. Триггер 29 вырабатьгоает сигнал Л по знаку операнда с выхода 25 в режиме вращени , а триггер 30 - сигнал в режиме масштабировани . Эти сигналы поступа|от на схему логической равнозначности , и в случае их равенства триггер 28 устанавливает режим масштабировани .Генератор G служит дл  вьщачи импульсов с частотой выполнени  шагов вычислений. Эти импульсы пересчитываютс  счетчиком 35, который вьщает на выход код номера итерации. Сигналы начальной установки блока не показаныTo form a signal in the rotation mode, the inputs 23 and 24 of the decoder 27 of the sign of the operand (DC) are given the values of y, - and 0, respectively. Depending on whether the operation is performed (3) or (4) from the output of the logical circuit, the signal corresponding to the sign 6 (or, y), in the control unit, the trigger 28 sets the device operation mode: rotation - to the output 21 logical unit and scaling - to output 21 is logical zero. Trigger 29 produces signal L according to the sign of the operand from output 25 in rotation mode, and trigger 30 - signal in scaling mode. These signals come from the logical equivalence circuit, and if they are equal, trigger 28 sets scaling mode. Generator G serves to pulse the frequency of the calculation steps. These pulses are recalculated by a counter 35, which outputs the code of the iteration number. The signals for the initial setup of the block are not shown

Эффективность изобретени  заключаетс  в расширении функциональных возможностей устройства. Кроме того, на всем диапазоне изменени  переменных обеспечиваетс  абсолютна  сходимость вычислений и упрощаетс  программирование задач, так как отпадает необходимость в согласовании масштаба операндов в различных част х программы .The effectiveness of the invention is to expand the functionality of the device. In addition, absolute convergence of computations is provided over the entire variable variation range and programming of tasks is simplified, since there is no need to coordinate the scale of the operands in different parts of the program.

1717

3131

2727

2525

29 JJ29 jj

АBUT

3lf3lf

2222

-about

2727

-about

Claims (1)

ВЫЧИСЛИТЕЛЬНОЕ УСТРОЙСТВО, содержащее первый, второй и третий сдвиговые регистры, первый, второй и третий сумматоры-вычислители, первый и второй коммутаторы, причем выходы младших разрядов первого, второго и третьего сдвиговых регистров соединены с первыми входами операндов соответственно первого, второго и третьего сумматоров-вычитателей, выходы первого, второго и третьего сумматоров-вычитателей соединены с информационными входами соответственно первого, второго и третьего сдвиговых регистров, разрядные выходы первого и второго.сдвиговых регистров соединены с входами соответственно первого и второго коммутаторов, второй вход операндов третьего сумматора-вычитателя соединен с информационным входом устройства, выход первого сумматора-вычитателя соединен с информационным выходом устройства, отличающееся тем, что., с целью расширения функцирнальных возможностей устройства за счет умножения и деления координат вектора на константу, устройство содержит четвертый и пятый сдвиговые регистры, коммутаторы с третьего по седьмой, четвертый сумматор-вычитатель, вычитатель, элемент задержки и блок управления, содержащий дешифратор, первый, второй и третий триггеры, генератор тактовых импульсов, двоичный счетчик, первый и второй элементы 2-2И-ИЛИ и элемент ИСКЛЮЧАЮЩЕЕ ИЛИ, выход которого соединён г. нулевым входом первого триггера, единичный вход которого соединен с выходом генератора тактовых импульсов и тактовым входом двоичного счетчика, счетный вход которого соединен с единичным выходом первого триггера, синхронизирующим входом второго триггера и первым входом первого элемента 2-2И-ИЛИ, второй вход которого соединен с выходом второго элемента 2-2И-ИЛИ, первый вход которого соединен с первым выходом дешифратора, второй выход которого соединен со вторым входом второго элемента 2-2И-ИПИ, нулевой выход первого триггера соединен с третьим входом первого элемента 2-2И-ИЛИ и с синхронизирующим’ входом третьего триггера, единичный вход которого соединен ,с третьим выходом дешифратора и с единичным входом второго триггера, единичный выход которого соединен с первым входом элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, второй вход которого соединен с единичным выходом третьего триггера и с четвертым входом первого элемента 2-2И-ИЛИ, причем первый единичный выход первого триггера соединен с управляющими входами четвертого, пятого, шестого и седьмого коммутаторов, выход первого элемента 2-2И-ИЛИ соединен с управляющими входами первого, второго и третьего сумматоров-вычитателей, еди-. ничный выход третьего триггера соединен с управляющим входом четвертого сумматора-вычитателя, первый вход дешифратора соединен с выходом второго сумматора-вычитателя, второй вход дешифратора соединен с выходом третьего сумматора-вычитателя, третий вход дешифратора соединен с выходом вычитателя, разрядные выходы двоичного счетчика соединены с управляющими входами первого, второго и третьего коммутаторов, третий и четвертый входы второго элемента 2-2И-ИЛИ соединены с управляющими входами устройства, причем разрядные выходы четвертого сдвигового регистра соединены с информационным входом третьего коммутатора, выход которого соединен со входом элемента задержки И первым информационным входом седьмого коммутатора, выход которого соединен с первым входом операнда четвертого сумматора·* вычитателя, выход которого соединен с первым информационным входом шестого коммутатора и первым входом операнда вы.читателя, второй вход операнда которого соединен с выходом младшего разряда пятого сдвигового регистра и его информационным входом, выход шестого коммутатора соединен с информационным входом четвертого сдвигового регистра, выход младшего разряда которого соединен со вторым информационным входом шестого коммутатора и вторым входом операнда четвертого сумматора-вычитателя, второй информационный вход седьмого коммутатора соединен с выходом элемента задержки, выходы первого и второго коммутаторов соединены соответственно с первыми информационными входами четвертого, пятого коммутаторов и вторыми информационными входами четвертого и пятого коммутаторов , выходы четвертого и пятого коммутаторов соединены со вторыми входами операндов соответственно первого и второго сумматоров - вычитателей.A COMPUTER DEVICE comprising first, second and third shift registers, first, second and third adders-calculators, first and second switches, the outputs of the least significant bits of the first, second and third shift registers being connected to the first inputs of the operands of the first, second and third adders, respectively subtractors, the outputs of the first, second and third adders-subtractors are connected to the information inputs of the first, second and third shift registers, bit outputs of the first and second. gaming registers are connected to the inputs of the first and second switches, the second input of the operands of the third adder-subtractor is connected to the information input of the device, the output of the first adder-subtractor is connected to the information output of the device, characterized in that., in order to expand the functional capabilities of the device by multiplying and dividing the coordinates of the vector by a constant, the device contains the fourth and fifth shift registers, switches from third to seventh, the fourth adder-subtractor, subtract l, a delay element and a control unit containing a decoder, first, second and third triggers, a clock pulse generator, a binary counter, the first and second elements 2-2I-OR, and an EXCLUSIVE OR element, the output of which is connected by the zero input of the first trigger, single the input of which is connected to the output of the clock generator and the clock input of the binary counter, the counting input of which is connected to the single output of the first trigger, the clock input of the second trigger and the first input of the first 2-2I-OR element, the second input of which horn is connected to the output of the second element 2-2I-OR, the first input of which is connected to the first output of the decoder, the second output of which is connected to the second input of the second element 2-2I-IPI, the zero output of the first trigger is connected to the third input of the first element 2-2I- OR with the synchronizing 'input of the third trigger, the single input of which is connected, with the third output of the decoder and with the single input of the second trigger, the single output of which is connected to the first input of the EXCLUSIVE OR element, the second input of which is connected to the single output the third trigger and the fourth input of the first 2-2I-OR element, the first single output of the first trigger connected to the control inputs of the fourth, fifth, sixth and seventh switches, the output of the first 2-2I-OR element connected to the control inputs of the first, second and third adders-subtractors, unit. the personal output of the third trigger is connected to the control input of the fourth adder-subtracter, the first input of the decoder is connected to the output of the second adder-subtracter, the second input of the decoder is connected to the output of the third adder-subtracter, the third input of the decoder is connected to the output of the subtractor, the bit outputs of the binary counter are connected to the control the inputs of the first, second and third switches, the third and fourth inputs of the second element 2-2I-OR connected to the control inputs of the device, and the bit outputs of the fourth the shift register is connected to the information input of the third switch, the output of which is connected to the input of the delay element And the first information input of the seventh switch, the output of which is connected to the first input of the operand of the fourth adder * * subtractor, the output of which is connected to the first information input of the sixth switch and the first input of the operand A reader, the second input of the operand of which is connected to the low-order output of the fifth shift register and its information input, the output of the sixth switch is connected the information input of the fourth shift register, the low-order output of which is connected to the second information input of the sixth switch and the second input of the operand of the fourth adder-subtractor, the second information input of the seventh switch is connected to the output of the delay element, the outputs of the first and second switches are connected respectively to the first information inputs of the fourth, fifth switches and second information inputs of the fourth and fifth switches, outputs of the fourth and fifth switches soy dinens with the second inputs of the operands, respectively, of the first and second adders - subtractors.
SU833645817A 1983-09-27 1983-09-27 Calculating device SU1167604A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU833645817A SU1167604A1 (en) 1983-09-27 1983-09-27 Calculating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU833645817A SU1167604A1 (en) 1983-09-27 1983-09-27 Calculating device

Publications (1)

Publication Number Publication Date
SU1167604A1 true SU1167604A1 (en) 1985-07-15

Family

ID=21083090

Family Applications (1)

Application Number Title Priority Date Filing Date
SU833645817A SU1167604A1 (en) 1983-09-27 1983-09-27 Calculating device

Country Status (1)

Country Link
SU (1) SU1167604A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
1. Авторское свидетельство СССР № 445042, кл. G 06 F 7/38, 1974. 2. Парини. Система ДИВИК дл решени сложных навигационных задач,- Электроника, 1966, № 13, с. 30-33 (прототип). *

Similar Documents

Publication Publication Date Title
Cochran Algorithms and Accuracy in the HP-35
JPH03206557A (en) Method and device for arithmetic processing
Lad et al. Design and comparison of multiplier using vedic sutras
Aggarwal et al. Reconfigurable CORDIC architectures for multi-mode and multi-trajectory operations
SU1167604A1 (en) Calculating device
US3641331A (en) Apparatus for performing arithmetic operations on numbers using a multiple generating and storage technique
US3489888A (en) Floating point look-ahead binary multiplication system utilizing two's complement notation for representing negative numbers
Altamimi et al. Novel seed generation and quadrature-based square rooting algorithms
JPS63184135A (en) Elementary function calculation device
CN204143432U (en) A kind of multiplier-divider
SU693379A2 (en) Function generator
SU622087A1 (en) Sine and cosine function digital computer
RU2842493C1 (en) Angle calculating device in radians
RU2040039C1 (en) Device for calculation absolute value of three- dimensional vector
SU611208A1 (en) Square root computing device
JP2943255B2 (en) Reciprocal calculation circuit
SU1068933A1 (en) Device for computing elementary functions by volder algorithm
SU591860A1 (en) Device for computing vector coordinate values
SU1462299A1 (en) Device for performing coordinate conversion
SU450171A1 (en) Apparatus for calculating polynomial coefficients
SU1120347A1 (en) Arithmetic unit for fast fourier transform processor
SU928348A1 (en) Device for calculating trigonometric functions
Prathyusha et al. Designing a Mac Unit Using Approximate Multiplier
SU1164696A1 (en) Computing device
SU560229A1 (en) Device for calculating elementary functions