SU1651280A1 - Device for calculating arcsine function - Google Patents

Device for calculating arcsine function Download PDF

Info

Publication number
SU1651280A1
SU1651280A1 SU894681460A SU4681460A SU1651280A1 SU 1651280 A1 SU1651280 A1 SU 1651280A1 SU 894681460 A SU894681460 A SU 894681460A SU 4681460 A SU4681460 A SU 4681460A SU 1651280 A1 SU1651280 A1 SU 1651280A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
register
output
information
trigger
Prior art date
Application number
SU894681460A
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 SU894681460A priority Critical patent/SU1651280A1/en
Application granted granted Critical
Publication of SU1651280A1 publication Critical patent/SU1651280A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано в ЭВМ и системах. Целью изобретени   вл етс  упрощение устройства . Устройство содержит первый, второй третий и четвертый регистры, многоразр дный сумматор, блок инвертировани , одноразр дный сумматор, линию задержки, первый и второй элементы 2И-Ilffllj пепвый и второй триггеры . 3 ил.The invention relates to computing and can be used in computers and systems. The aim of the invention is to simplify the device. The device contains the first, second, third and fourth registers, a multi-digit adder, an inversion unit, a single-digit adder, a delay line, the first and second elements 2I-Ilffllj and the second and second triggers. 3 il.

Description

I.I.

Изобретение относитс  к вычислительной технике и может быть использовано в ЭВМ и системах.The invention relates to computing and can be used in computers and systems.

Целью изобретени   вл етс  упрощение устройства.The aim of the invention is to simplify the device.

На Лиг. 1 изображена блок-схема устройства; на фиг. 2 - схема выработки управл ющих сигналов и последовательностей , подаваемых на вход устройства; на фиг. 3 - временные диаграммы последовательностей, подаваемых на вход устройствах.On league. 1 shows a block diagram of the device; in fig. 2 is a diagram of the generation of control signals and sequences applied to the input of the device; in fig. 3 - timing diagrams of the sequences fed to the input devices.

Устройство содержит регистр 1, многоразр дный сумматор 2, регистр 3, блок инвертировани  4, регистр 5. одноразр дный сумматор 6, элемент задержки 7, элементы 2Н-ШИ 8.и 9, триггеры 10 и 11, регистр 12. Блок управлени  содержит регистр 13, триггеры 14-17. счетчик 18, элементы И 19-21 и генератор импульсов 22„The device contains a register 1, a multi-digit adder 2, a register 3, an inverting unit 4, a register 5. a single-digit adder 6, a delay element 7, elements 2N-SHI 8. and 9, triggers 10 and 11, a register 12. The control unit contains a register 13, triggers 14-17. counter 18, elements And 19-21 and a pulse generator 22 "

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

По сигналу Пуск включаетс  схема выработки управл ющих сигналов, на выходе которой формируетс  потенциал П1, который поступает на установочные входы триггеров 10 и 11. Так как установочные входы приоритетные, то состо ние триггеров не изменитс  до окончани  сигнала П1. Этим самым достигаетс  требуема  синхронизаци  процесса , он не может быть начат, пока не по витс  сигнал С«. По этому импульсу сигнал П1 исчезает, и триггеры обеспечивают прием информации по входам D. Одновременно по импульсу С у, осуществл етс  прием аргумента X и запись его в регистры 1 и 5. Аргумент X измен етс  в пределах 0-1. Определение разр дов результатов ведетс  в соответствии с алгоритмомThe Start signal includes a control signal generation circuit, at the output of which potential P1 is formed, which is fed to the setup inputs of the trigger 10 and 11. Since the setup inputs are priority, the state of the triggers will not change until the end of the signal P1. By this, the required synchronization of the process is achieved; it cannot be started until signal C 'is received. On this pulse, the signal P1 disappears, and the triggers receive information on the inputs D. At the same time, on the pulse C y, the argument X is received and written to registers 1 and 5. The argument X varies from 0-1. The definition of the bits of the results is conducted in accordance with the algorithm

OSOS

oror

tctc

оо оLtd

- a re в in X - a re in X

nn

zz

- Sc.- Sc.

tfK 1, если Хк О (Ук Os если Xk 0 Xk-H 2X - 1, если tfK 1 if Xk O (Yk Os if Xk 0 Xk-H 2X - 1 if

XK4, 1 - 2X. если XK4, 1 - 2X. if a

4. 1 1 - 2X 2 О (Р 0)4. 1 1 - 2X 2 O (P 0)

„ 1 - 0. ..; 4" ten. ..; four

4- 24-2

В этом случае необходимо сдвинуть результат, осуществить инвертирование и добавить единицу в младший разр д.In this case, it is necessary to shift the result, invert and add one to the low-order bit.

Откуда получаютFrom where receive

Необходимо обратить внимание, что 1, т.,е. фактически результат имеет целую часть. Дл  получени  правильного результата разр дность регистра делаетс  такой, что после п шагов W0 тер етс . При выдаче резуль тата на этой пине передаетс  нуль.It should be noted that 1, m., E. in fact, the result has a full part. To obtain the correct result, the register bit is made such that after n steps, W0 is lost. When issuing the result, zero is transmitted on this pin.

Каждое новое значение Х . может иметь знак как плюс, так и минус, так как квадрат всегда положителен, то операци  возведени  может вестись над модул ми. Дл  получени  модул  используетс  блок инвертировани  4.Every new value of x. may have a plus or a minus sign, since the square is always positive, then the construction operation can be performed on the modules. An inversion unit 4 is used to obtain the module.

Рассмотрим в каких ситуаци х должно происходить инвертирование, а вConsider in what situations should the inverting occur, and in

каких аргумент проходит без изменени .5 младшего разр да (сигнал С(). ВозвеСуществует четыре различных случа . 2which argument passes unchanged .5 lower bit (signal C (). There are four different cases. 2

0; .2 0; .2

2Х,2X

1.ц 0; 2Х - 11.ts 0; 2X - 1

/zxj- 1) --ml- о.. 1 Величину 1-2Xj,, можно представить/ zxj- 1) --ml- o .. 1 The value of 1-2Xj, can be represented

в видеas

0.111 ... 1 + 2Х. 0.111 ... 1 + 2X.

Если 2Х записать в виде 0. .,,, где - О или 1, тоIf 2X is written as 0.. ,,, where is O or 1, then

дение в квадрат осуществл етс  еле- . дующим образом. В регистре 1 находитс  значение текущего аргумента ХК(Х0 X). На сумматоре 2 происходит 30 сложение. В регистре 5 также находитс  значение текущего аргумента, который последовательным кодом, начина  с младшего, поступает на вход записи регистра 3. Если текущий разр д равен единице, то по заднему фронту сигнала С0 сумма заноситс  в регистр 3. Если текущий разр д равен нулю, то запись отсутствует. Этим самым осуществл ютс  умножение множимого на текущий разр д множител  и добавление его к формируемому произведению . Затем полученное произведение сдвигаетс  на один разр д в сторону младших разр дов и схема готова кthe square is barely done. blowing way. Register 1 contains the value of the current argument XK (X0 X). At adder 2, 30 addition occurs. Register 5 also contains the value of the current argument, which is a sequential code, starting from the lowest one, arrives at the input of register entry 3. If the current bit is one, then the falling edge of the C0 signal is entered into register 3. If the current bit is zero, This entry is missing. This multiplies the multiplicand by the current multiplier of the multiplier and adds it to the product being formed. The resulting product is then shifted one bit towards the lower bits and the circuit is ready for

0.111 0.0.111 0.

1 А1 A

О,ABOUT,

Таким образом 1 - 2Х,, 0.. .. +Thus, 1 - 2X ,, 0 .. .. +

- МК- MK

, т.е. дл  получени  модул  Xi.e. to obtain module X

к-иto-and

г . g.

дение в квадрат осуществл етс  еле- . дующим образом. В регистре 1 находит с  значение текущего аргумента ХК(Х0 X). На сумматоре 2 происходи 30 сложение. В регистре 5 также находитс  значение текущего аргумента, кото рый последовательным кодом, начина  с младшего, поступает на вход записи регистра 3. Если текущий разр д равен единице, то по заднему фронту сигнала С0 сумма заноситс  в регистр 3. Если текущий разр д равен нулю, то запись отсутствует. Этим самым осуществл ютс  умножение множимого на текущий разр д множител  и добавление его к формируемому произведению . Затем полученное произведение сдвигаетс  на один разр д в сторону младших разр дов и схема готова кthe square is barely done. blowing way. In register 1 it finds the value of the current argument HK (X0 X). On the adder 2, the 30 addition takes place. Register 5 also contains the value of the current argument, which is a sequential code, starting from the youngest, arrives at the input of register 3. If the current bit is one, then the trailing edge of the C0 signal is entered into the register 3. If the current bit is zero then no entry. This multiplies the multiplicand by the current multiplier of the multiplier and adds it to the product being formed. The resulting product is then shifted one bit towards the lower bits and the circuit is ready for

необходимо проинвертировать удвоенныйmust be double inverted

результат и прибавить единицу в младшийresult and add a unit to a junior

разр д. Величина 1 - 2хЈ будет тогда 45 умножению на следующий разр д множии только тогда, как Р0 - старшийтел . После прохождени  п тактов поbit e. The value 1 - 2x will then be 45 multiplied by the next bit multiplier only if P0 is the leading body. After passing the n cycles

значащий разр д квадрата Х(Р0) будетthe significant bit of the square X (P0) will be

равен нулю. Итак, инвертирование необсигналу формируютс  сигнал ин-equals zero. So, inverting a non-signal, a signal is generated

вертировани  (триггер 11) и новое значение , Itfx+f (триггер 10). Разр д р( к-нпо сигналу С заноситс  в регистр 12, одновременно по заднему фронту регистра 3 сбрасываетс  в О а в регистры 1 и 5 переписываетс  значение регистра 3.verticalization (trigger 11) and new value, Itfx + f (trigger 10). The discharge (the C-signal to the signal C is entered into the register 12, and simultaneously the falling edge of the register 3 is reset to O and the registers 3 are rewritten into registers 1 and 5.

ходимо, если(ХКс0и Р0 0 it is necessary if (XKc0i P0 0

2.о4к 0 2Xfc2.o4k 0 2Xfc

В этом случаеIn this case

2 2

1one

О (Pft 1)O (pft 1)

2Х 1. ... ;2x 1. ...;

1. ... - 1 0. ... , т.е. сразу получаетс  положительное число и инвертировани  не требуетс .1. ... - 1 0. ..., i.e. a positive number is immediately obtained and no inversion is required.

З.СХ„ 1 1 - 2хЈсО (Pfl 1)Z.СХ „1 1 - 2хЈсО (Pfl 1)

2ХЈ | -О - 2X0 2XЈ | -O - 2X0

1 .. . .А - 1 0.. . .one .. . .A - 1 0 ... .

f.Vf.V

2X2kU2X2kU

РО, к-м V (X,RO, KM V (X,

k о k o

Полученные логические выражени  реализуютс  соответственно с помощью триггеров 10, 11 и элемента 2И-НЛИ 9. Величина Xk + l записыаетс  в регистры 1 и 5. При этом в случае инвертировани  в Х, не достает единиць младшего разр да. Дл  компенсации ее в множимом на вход переноса сумматора посто нно подаетс  единица, в случае если инвертирование осуществл лось, в противном случае поступает нуль. Единица в младший разр д множител  осуществл етс  подачей едпницы на вход переноса сумматора 6 при прохожденииThe obtained logical expressions are implemented respectively with the help of triggers 10, 11 and element 2I-NLI 9. The value Xk + l is written in registers 1 and 5. In this case, if inverted in X, the least significant bit is missing. To compensate for it in the multiplied transfer of the adder, a unit is continuously supplied, if the inversion was performed, otherwise zero is received. The unit in the lower order of the multiplier is made by feeding the unit to the transfer input of the adder 6 when passing

дение в квадрат осуществл етс  еле- . дующим образом. В регистре 1 находитс  значение текущего аргумента ХК(Х0 X). На сумматоре 2 происходит 0 сложение. В регистре 5 также находитс  значение текущего аргумента, который последовательным кодом, начина  с младшего, поступает на вход записи регистра 3. Если текущий разр д равен единице, то по заднему фронту сигнала С0 сумма заноситс  в регистр 3. Если текущий разр д равен нулю, то запись отсутствует. Этим самым осуществл ютс  умножение множимого на текущий разр д множител  и добавление его к формируемому произведению . Затем полученное произведение сдвигаетс  на один разр д в сторону младших разр дов и схема готова кthe square is barely done. blowing way. Register 1 contains the value of the current argument XK (X0 X). On the adder 2 is 0 addition. Register 5 also contains the value of the current argument, which is a sequential code, starting from the lowest one, arrives at the input of register entry 3. If the current bit is one, then the falling edge of the C0 signal is entered into register 3. If the current bit is zero, This entry is missing. This multiplies the multiplicand by the current multiplier of the multiplier and adds it to the product being formed. The resulting product is then shifted one bit towards the lower bits and the circuit is ready for

ЮYU

45 умножению на следующий разр д множисигналу формируютс  сигнал ин-By multiplying the next bit by a multiply signal, a signal is generated.

вертировани  (триггер 11) и новое значение , Itfx+f (триггер 10). Разр д р( к-нпо сигналу С заноситс  в регистр 12, одновременно по заднему фронту регистра 3 сбрасываетс  в О, а в регистры 1 и 5 переписываетс  значение регистра 3.verticalization (trigger 11) and new value, Itfx + f (trigger 10). The discharge (the C-signal to the signal C is entered into the register 12, simultaneously on the falling edge of the register 3 is reset to 0, and the value of the register 3 is rewritten in registers 1 and 5.

5555

Claims (1)

Формула изобретени Invention Formula Устройство дл  вычислени  функции арксинуса, содержащее два регистра,A device for calculating an arcsine function containing two registers, 516516 многорачридный сумматор, одноразр п- ный сумматор, элемент задержки и первый элемент 2И-НЧИ, причем вход аргумента устройства соединен с информационным входом первого регистра, выход которого соединен с первым входом многоразр дного сумматора, выход и второй вход которого соединены соответственно с информационным входом (второго регистра и выходом второго регистра, отличающеес  тем, что, с целью упрощени , оно содержит третий и четвертый регистры, блок инвертировани , второй эпемент 2И-ИЛИ и два триггера, причем выход второго регистра соединен с информационным входом блока инвертировани , выход которого соединен с информационным входом первого регистра и информационным входом третьего регистра , вход сдвига которого соединен с входом синхроимпульсов устройства и входом синхронизации второго регистра, входы сдвига и разрешени  записи которого соединены соответственно с входом инвертированных синхроимпульсов устройства и выходом суммы одноразр дного сумматора, первый и второй информационные входы которого соединены соответственно с выходом младшего разр да третьего регистра и выходом первого элемента 2И-ИЛИ, первый вход которого через элемент задержки соединен с выходом переноса одноразр дного сумматора,a multi-eraser adder, a one-bit adder, a delay element and the first element 2И-НЧ, and the device argument input is connected to the information input of the first register, the output of which is connected to the first input of the multi-digit adder, the output and the second input are connected respectively to the information input ( The second register and the output of the second register, characterized in that, for the purpose of simplification, it contains the third and fourth registers, the inversion unit, the second epement 2I-OR, and two flip-flops, with the output of the second register connected to the information input of the inversion unit, the output of which is connected to the information input of the first register and information input of the third register, the shift input of which is connected to the input of the device clock and the synchronization input of the second register, the input of the shift and recording resolution of which are connected respectively to the input of the device inverted sync pulses and output sum of one-bit adder, the first and second information inputs of which are connected respectively with the output of the lower bit the third register and the output of the first element 2I-OR, the first input of which through the delay element is connected to the transfer output of a one-bit adder, СWITH 5five  обabout второй и третий входы первого элемента 2И-Ш1П соединены с входом первой тактовой последоватрпьности устройства и входом сдвига четвертого регистра , информационный вход которого соединен с инверсным выходом первого триггера и первым входом второго элемента 2И-ИЛИ, второй и третий входы которого соединены с выходом старшего разр да второго регистра и информационным входом второго триггера, вход синхронизации которого соединен с входом второй тактовой последовательности устройства и входом синхронизации первого триггера, информационный вход и пр мой выход которого соединены соответственно с выходом и четвертым входом второго элемента 2И-ШШ, инверсный выход второго триггера соединен с управл югцим входом блока инвертировани  и входом переноса многоразр дного сумматора, вход установки в О второго регистра, вход разрешени  записи третьего регистра и вход разрешени  записи первого регистра соединены, со входом третьей тактовой последовательности устройства, вход установки которого соединен с входами установки соответ м первого триггера и в второго триггера, второй вход первого элемента 2И-ИЛИ и третий вход второго элемента 2И-ИЛИ выполнены инверсными, выход четвертого регистра соединен с выходом устройства.The second and third inputs of the first element 2И-Ш1П are connected to the input of the first clock sequence of the device and the shift input of the fourth register, the information input of which is connected to the inverse output of the first trigger and the first input of the second element 2И-OR, the second and third inputs of which are connected to the output of the higher order Yes, the second register and the information input of the second trigger, the synchronization input of which is connected to the input of the second clock sequence of the device and the synchronization input of the first trigger, information This input and the direct output of which are connected respectively to the output and the fourth input of the second element 2И-ШШ, the inverse output of the second flip-flop is connected to the control input of the inverting unit and the transfer input of the multi-digit adder, the setting input in the second register, the input resolution of the third register and the enable input of the first register is connected to the input of the third clock sequence of the device whose installation input is connected to the installation inputs of the first trigger and the second trigger, W The input of the first element 2I-OR and the third input of the second element 2I-OR are inverse, the output of the fourth register is connected to the output of the device. 5five 00 стпенно в Оstpenno in Oh .f.f ПускStart Ш fflffiffiffiffifflfflfflfflffl fflffiffl.W fflffiffiffiffifflfflfflfflffl fflffiffl. %L% L ШSh ҐfflLҐfflL УШUsh YZZkYzzk   ОABOUT CosCos 4%%ШШ%4%Ш1Ш4 %% ШШ% 4% Ш1Ш У&ШШЧ%(W & HH% ( Остано8 /7{/ек Фиг.1Ostanov8 / 7 {/ ek Figure 1 ШSh УШUsh
SU894681460A 1989-04-19 1989-04-19 Device for calculating arcsine function SU1651280A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU894681460A SU1651280A1 (en) 1989-04-19 1989-04-19 Device for calculating arcsine function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU894681460A SU1651280A1 (en) 1989-04-19 1989-04-19 Device for calculating arcsine function

Publications (1)

Publication Number Publication Date
SU1651280A1 true SU1651280A1 (en) 1991-05-23

Family

ID=21442912

Family Applications (1)

Application Number Title Priority Date Filing Date
SU894681460A SU1651280A1 (en) 1989-04-19 1989-04-19 Device for calculating arcsine function

Country Status (1)

Country Link
SU (1) SU1651280A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР W 935949, кл. G 06 F 7/548, 1980. Байков ВоД,, Смолов Б.Б. Аппаратурна реализаци элементарных функций в ЦВТ.- Л.: изд-во ЛГУ 1975, рис.19, с. 68. *

Similar Documents

Publication Publication Date Title
SU1651280A1 (en) Device for calculating arcsine function
SU1264165A1 (en) Adder-accumulator
SU1259494A1 (en) Code converter
SU543184A2 (en) Digital delay tracking device
SU1280612A1 (en) Device for dividing numbers in redundant code
SU1504803A1 (en) N-ary code shaper
SU1474849A1 (en) Code-to-frequency converter
SU1193668A1 (en) Multiplying device
SU467344A1 (en) Device for comparing serial binary codes
SU734669A1 (en) Converter of proper binary fraction into binary-decimal fraction and integer binary-decimal numbers into binary numbers
SU1170462A1 (en) Fast fourier transformer
SU809584A1 (en) Decimal subtracting counter
SU1166108A1 (en) Control unit
SU1174919A1 (en) Device for comparing numbers
SU1191908A1 (en) Device for calculating square root function
SU651418A1 (en) Shift register
SU911522A1 (en) Digital function generator
SU1474853A1 (en) Parallel-to-serial code converter
SU1115051A1 (en) Device for calculating squared number
SU1177910A1 (en) Device for generating quaternary-coded sequences
SU1171780A1 (en) Device for determining quantity of ones in binary number
SU1117648A1 (en) Stochastic (1,n)-port
SU1667259A1 (en) Binary-to-binary-coded-decimal converter
SU554630A1 (en) Digital pseudo-random sequence delay tracking device
SU1201855A1 (en) Device for comparing binary numbers