SU1417007A1 - Squaring device - Google Patents

Squaring device Download PDF

Info

Publication number
SU1417007A1
SU1417007A1 SU864037355A SU4037355A SU1417007A1 SU 1417007 A1 SU1417007 A1 SU 1417007A1 SU 864037355 A SU864037355 A SU 864037355A SU 4037355 A SU4037355 A SU 4037355A SU 1417007 A1 SU1417007 A1 SU 1417007A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
register
argument
outputs
bit
Prior art date
Application number
SU864037355A
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 SU864037355A priority Critical patent/SU1417007A1/en
Application granted granted Critical
Publication of SU1417007A1 publication Critical patent/SU1417007A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Description

11eleven

Изобретение относитс  к вычисли- Цельной технике и может быть исполь- овано при конструировании и разработ- J:e специализированных ,и универсальных цифровых вычислительных машин. j Цель изобретени  - сокращение ап- (таратурных : атрат.The invention relates to computing technology and can be used in the design and development of J: e specialized, and universal digital computers. j The purpose of the invention is to reduce ap (contractual: atrat.

i На чертеже изображена функциональна  схема устройства. : Устройство дл  возвсдени  в квадрат содержит регистр 1 аргумента, регистр 2 результата, комбинационный счетчик 3, комбинационный сумматор {А, элемент И 5, входы 6-8 и выходы 9 устройства.i The drawing shows the functional diagram of the device. : The device for squaring contains the register of 1 argument, the register of result 2, the combination counter 3, the combination adder {A, AND 5, the inputs 6-8 and the outputs 9 of the device.

I Регистр аргумента представл ет |собой обычный регистр сдвига L1. Сиг ;налы сдвига в.регистр I поступают с |входа 6 устройства. С входа 7 посту- :пает число,возводимое в вадрат стар {шими разр дами вперед. : Выходы п старших разр дов регист- :ра 1 соединены с первой группой вхо- дов комбинационного сумматора 4. Выход младшего разр да регистра 1 соединен с в-ходом младшего разр да регистра 2. На вход второго разр да регистра 2 посто нно подаетс  нулевой сигнал. К входам остальных 2п-2 разр дов регистра 2 подключены выходы сумматора 4 и комбинационного счетчика 3. Выходы 2п-2 разр дов регистра 2 соединены с входами сумматора и комбинационного счетчика. Выход переноса из сумматора 4 соединен со счетным входом счетчика 3, Регистр 2 представл ет собой обычный регистр суммы, который может выполн ть и операцию сдвига L2, При поступлении сигнала сдвига с входа 6 в регистре производитс  сдвиг на 2 разр да влево. Управление записью суммы в регистр 2 осуществл етс  элементом И 5 по сигналу, поступающему с входа 8 устройства. Сформированный квадрат числа считываетс  с выходов 9 регистра 2.The argument register is the usual L1 shift register. Cig; shift shells of the in. I register come from | input 6 of the device. From entry 7, the post: number, erected in the vadrat with the old bits ahead. : The outputs of the most significant bits of the register 1: are connected to the first group of inputs of the combinational adder 4. The output of the lower bit of register 1 is connected to the input of the lower bit of register 2. The input of the second bit of register 2 is constantly zeroed signal. The inputs of the remaining 2p-2 bits of the register 2 are connected to the outputs of the adder 4 and the combination counter 3. The outputs 2p-2 of the bits of the register 2 are connected to the inputs of the adder and the combination counter. The transfer output from the adder 4 is connected to the counting input of the counter 3, Register 2 is a conventional sum register that can perform the L2 shift operation. When a shift signal is received from input 6, the register is shifted 2 bits to the left. The recording of the sum in register 2 is controlled by an AND 5 element on a signal coming from the input 8 of the device. The formed square of the number is read from the outputs 9 of register 2.

Схема работает следующим образом. В первом цикле на вход 7 подаетс  старший разр д аргумента Х . Одновременно на вход 6 поступает сигнал сдвига и X, записываетс  в первый разр д регистра 1. В следующем такте на вход 8 подаетс  сигнал записи и разр д Х( записываетс  в регистр 2 как первый частичный квадрат.The scheme works as follows. In the first loop, input 7 is supplied to the high bit of the argument X. At the same time, a shift signal is inputted to input 6 and X is written to the first register bit 1. In the next clock cycle, a write signal is applied to input 8 and digit X is written to register 2 as the first partial square.

Во втором цикле на вход 7 подаетс второй разр д аргумента Xj.. По сиг7007 .2In the second cycle, the second bit of the argument Xj is fed to input 7. By sig7007 .2

налу сдвига разр д X, переходит во второй разр д регистра 1, а в первый записываетс  разр д Х. Одновременно в регистре 2 первый частичный квадрат сдвигаетс  на два разр да. В следующем такте на вход 8 подаетс  сигнал записи. Если Х Oj этот сигнал не проходит на вход управлени Shift bit X is transferred to the second bit of register 1, and bit X is written to the first. At the same time, in register 2 the first partial square is shifted by two bits. In the next cycle, a write signal is applied to input 8. If X Oj this signal does not pass to the control input

Q записью регистра 2 и содержимое последнего не мен етс . Если Х 1, в регистре 2 осуществл етс  запись разр да и суммы из сумматора 4 и комбинационного счетчика 3 в регистрQ is a record of register 2 and the content of the latter does not change. If X 1, in register 2, the bit and sum from the adder 4 and the combination counter 3 are written to the register

5 2, т.е. в регистре 2 формируетс 5 2, i.e. in register 2 is formed

сумма сдвинутого на 2 разр да первого частичного квадрата и второго частичного квадрата.the sum of the first partial square and the second partial square shifted by 2 bits.

Q Аналогично выполн ютс  еще п-2Q Similarly, p-2 is still performed.

цикла. Искомый квадрат считываетс cycle. The search square is read.

с выходов регистра 2. .Пример. Пусть п-6, ,111011,from the outputs of the register 2.. Example. Let p-6,, 111011,

X 0,110110011001. 5 Работу устройства представим вX 0.110110011001. 5 The device will work in

виде таблицы.table view.

Claims (1)

Формула изобретени Invention Formula Устройство дл  возведени  в квад- д рат, содержащее регистр аргумента, регистр результата, комбинационный сумматор, элемент И, причем информационный вход и вход сдвига регистра аргумента  вл ютс  соответственно входом задани  аргумента и входом сдвига устройства, отличающеес  тем, что, с целью сокращени  аппаратурных затрат, оно содержит комбинационный счетчик, причем выход младшего разр да регистра аргумента соеДинен с входом младшего разр да регистра результата и первьм входом элемента К, второй вход которого подключен к синхровходу устройства , а выход - к входу разрешени  записи регистра результата, вход второго разр да которог подключен к входу шины логического нул  устройства , выходы старших разр дов регистра аргумента соединены с первой груп- пой входов комбинационного сумматора, выходы и втора  группа входов которого соединены соответственно с входами и выходами, начина  с третьего по (п+1)-й разр д, регистра результа- та (где п - разр дность аргумента), выходы и входы разр дов с первого по (п-1)-й комбинационного счетчика соединень с входами и выходами, на5A device for squaring, containing the argument register, the result register, the combinational adder, the AND element, and the information input and the shift register input of the argument are respectively the input of the argument setting and the input of the shift of the device, in order to reduce hardware cost, it contains a combinational counter, and the output of the low bit of the register of the argument is connected to the input of the low bit of the result register and the first input of the element K, the second input of which is connected to the sync the device’s output and the output to the resolution enable input of the result register; the second bit input is connected to the logical zero bus input of the device; the higher bits of the argument register are connected to the first group of inputs of the combinational adder; the outputs and the second group of inputs are connected respectively with inputs and outputs, starting from the third to (n + 1) -th bit, result register (where n is the width of the argument), the outputs and inputs of bits from the first to (n-1) -th combination counter with entrances and exits, na5 00 5five 31417007, 31417007, чина  с (п+2)-го разр да, регистра вход сдвига регистра результата под- результата, выход переноса комбина- ключей к входу сдвига устройства, ционного сумматора соединен со счет- выходы регистра результата  вл ютс  ным входом комбинационного счетчика, ; выходами устройства,the rank of the (n + 2) -th bit, the register of the input of the register of the result of the result subsystem, the transfer of the combination key to the input of the device shift, the accumulator adder are connected to the counter; the outputs of the result register are the input of the combination counter,; device outputs
SU864037355A 1986-03-17 1986-03-17 Squaring device SU1417007A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU864037355A SU1417007A1 (en) 1986-03-17 1986-03-17 Squaring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU864037355A SU1417007A1 (en) 1986-03-17 1986-03-17 Squaring device

Publications (1)

Publication Number Publication Date
SU1417007A1 true SU1417007A1 (en) 1988-08-15

Family

ID=21226517

Family Applications (1)

Application Number Title Priority Date Filing Date
SU864037355A SU1417007A1 (en) 1986-03-17 1986-03-17 Squaring device

Country Status (1)

Country Link
SU (1) SU1417007A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1137465, кл, G 06 F 7/552, 1983. Карцев М.А. Арифметика цифровых машин, М,: Наука, 1969, с.,352, 353, рис, 4-2 в. *

Similar Documents

Publication Publication Date Title
SU1417007A1 (en) Squaring device
JPS57210495A (en) Block access memory
GB1468753A (en) Associative memory
SU1697083A2 (en) Data exchange device
SU1251075A1 (en) Device for unpacking instructions
SU1387004A2 (en) N-sensors-to-computer interface
SU1297042A2 (en) Squaring device
SU1302272A1 (en) Device for taking sum of partial products
SU896616A1 (en) Device for mutual normalizing of binary numbers
SU902282A1 (en) Device for receiving information through two parallel communication channels
SU1411740A1 (en) Device for computing exponential function
SU970358A1 (en) Device for squaring
SU1405047A1 (en) Computation device
SU641434A1 (en) Device for programme-interfacing of electronic computers
SU1462292A1 (en) Device for searching for preset number
SU1221650A1 (en) Device for determining function extrema
SU832599A1 (en) Shift register
SU1451680A1 (en) Monitored arithmetic device
SU1619260A1 (en) Matrix-type squaring device
SU1444820A1 (en) Device for converting matrices and solving linear equation systems
SU1665373A1 (en) Associative summing device
SU1191913A1 (en) Information input-output device
SU1553982A1 (en) Buffer memory device
SU1368978A2 (en) Threshold element
SU1388897A1 (en) Device for performing matrix operations