SU1651280A1 - Device for calculating arcsine function - Google Patents
Device for calculating arcsine function Download PDFInfo
- 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
Links
- 238000009434 installation Methods 0.000 claims 2
- 238000007664 blowing Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 101000860173 Myxococcus xanthus C-factor Proteins 0.000 description 2
- 101100114478 Neurospora crassa (strain ATCC 24698 / 74-OR23-1A / CBS 708.71 / DSM 1257 / FGSC 987) pft-1 gene Proteins 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
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)
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) |
-
1989
- 1989-04-19 SU SU894681460A patent/SU1651280A1/en active
Non-Patent Citations (1)
| 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 |