SU1319022A1 - Calculating device - Google Patents

Calculating device Download PDF

Info

Publication number
SU1319022A1
SU1319022A1 SU864014980A SU4014980A SU1319022A1 SU 1319022 A1 SU1319022 A1 SU 1319022A1 SU 864014980 A SU864014980 A SU 864014980A SU 4014980 A SU4014980 A SU 4014980A SU 1319022 A1 SU1319022 A1 SU 1319022A1
Authority
SU
USSR - Soviet Union
Prior art keywords
inputs
input
zero
bits
output
Prior art date
Application number
SU864014980A
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 SU864014980A priority Critical patent/SU1319022A1/en
Application granted granted Critical
Publication of SU1319022A1 publication Critical patent/SU1319022A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

Изобретение относитс  к вычислительной технике, и может быть использовано в процессорах с плавающей зап той, содержащих в своем составе аппаратный блок умножени . Целью изобретени   вл етс  расширение функциональных возможностей за счет выполнени  умножени . Поставленна  цель достигаетс  тем, что устройство, содержащее схемы 2 -4 сравнени  с ну- |лем, элементы И 5-8, блоки 9-12 па- м ти, содержит коммутатор 1 и блок 13 умножени  с соответствующими св з ми . 1 ил., 1 табл.The invention relates to computing, and can be used in floating point processors that contain a hardware multiplication unit. The aim of the invention is to enhance the functionality by performing multiplication. This goal is achieved by the fact that the device containing 2-4 comparison circuits with zero, AND 5-8 elements, blocks 9-12 of units, contains switch 1 and multiplication unit 13 with appropriate connections. 1 ill., 1 tab.

Description

11eleven

Изобретение относитс  к вычислительной технике и может быть использовано в процессорах с плавающей зап той , содержащих в своем составе аппаратный блок умножени .The invention relates to computing and can be used in floating point processors that contain a hardware multiplication unit.

Целью изобретени   вл етс  расширение функциональных возможностей устройства за счет выполнени  умножени .The aim of the invention is to enhance the functionality of the device by performing multiplication.

На чертеже представлена схема вычислительного устройства.The drawing shows a diagram of the computing device.

Устройство содержит коммутатор 1, схемы 2-4 сравнени  с нулем, элементы И 5-8, блоки 9-12 пам ти, блок 13 умножени , вход 14 направлени  сдвига устройства, выход 15 устройства, первый и второй информационные выходы 16 и 17 устройства и вход 18 задани  -режима устройства.The device contains a switch 1, comparison circuits 2-4 with zero, AND elements 5-8, memory blocks 9-12, multiplication unit 13, device shift direction input 14, device output 15, first and second information outputs 16 and 17 of the device and input 18 task-device mode.

Блок 13 умножени   вл етс  матричным . Блоки 9-12 пам ти реализованы на посто нных запоминающих устройствах (ПЗУ). Цифры над жгутами на чертеже указывают разр дность св зи.Multiplication unit 13 is matrix. Blocks 9-12 of memory are implemented on permanent storage devices (ROM). The numbers above the harnesses in the drawing indicate the communication width.

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

Число, подлежащее нормализации, с входа 16 поступает на входы схем 2-4 сравнени  с нулем. Начина  со старших разр дов анализируютс  группы разр дов исходного числа. Величина группы определ етс  разр дностью адреса выбранных посто нных запоминающих устройств. В данном случае при разр дности адреса ПЗУ равной восьми и разр дности исходного числа равной тридцати двум число ПЗУ равно четырем.The number to be normalized, from input 16, is fed to the inputs of circuits 2-4 comparing with zero. Beginning with the higher bits, groups of bits of the original number are analyzed. The size of the group is determined by the address width of the selected permanent storage devices. In this case, when the ROM address is equal to eight and the original number is thirty two, the number of ROM is four.

Кажда  группа из восьми разр дов, кроме последней,поступает на схемы 2-4 сравнени  с нулем и блоки 9-11. Последн   группа поступает только на блок 12. Схемы сравнени  с нулем в совокупности с элементами И 5,7 и. 8 используютс  дл  выбора требуемого блока пам ти. Происходит это следующим образом. Кажда  группа из восьми разр дов поступает на свою схему сравнени  с нулем. Если все разр ды в группе равны нулю, то на выходе схемы сравнени  с нулем формируетс  логическа  единица и нуль - в противном случае. Допустим, старша  группа не равна нулю, т.е. один или несколько разр дов равны единице, тогда на выходе схемы 2 сравнени  с нулем формируетс  логический ноль. Этот ноль поступа  на входы элементов И 5 и 6, запрещает прохождение сигна190222Each group of eight bits, except the last one, is fed to circuits 2-4 comparing with zero and blocks 9-11. The last group comes only at block 12. Comparison schemes with zero in combination with the elements 5.7 and. 8 is used to select the desired memory block. It happens as follows. Each group of eight bits enters its comparison circuit with zero. If all the bits in the group are equal to zero, then at the output of the comparison circuit with zero a logical one is formed and zero is formed otherwise. Suppose the highest group is not zero, i.e. one or several bits are equal to one, then a logical zero is formed at the output of circuit 2 comparing with zero. This zero input to the inputs of the elements And 5 and 6, prohibits the passage of signal190222

лов через элементы И 5,7 и В, т.е. запрещает считывание информации из блоков 10-12. В то же врем  на инверсном выходе схемы 2 сравнени  с 5 нулем формируетс  логическа  единица , котора  разрешает считывание информации из блока 9, где хранитс  значение параметра сдвига. Параметр сдвига определ етс  числом нулей доfishing through the elements And 5.7 and B, i.e. Prohibits the reading of information from blocks 10-12. At the same time, at the inverse output of circuit 2 of comparison with 5 zero, a logical unit is formed that allows reading information from block 9, where the value of the shift parameter is stored. The shift parameter is determined by the number of zeros to

fO первой значащей единицы в адресе блока 9 (см. таблицу).fO the first significant unit in the block 9 address (see table).

На выходе каждого блока пам ти формируютс  восемь разр дов, содер 5 жащих либо нули, либо единицу только в одном разр де. Соответствие между параметром сдвига и номером разр да в котором стоит единица, показано выше. Умножа  полученный операндAt the output of each memory block, eight bits are formed, containing 5 either zero or one in only one bit. The correspondence between the shift parameter and the bit number in which the unit stands is shown above. Multiply the received operand

20 на исходное число в блоке 13 умножени , получаем произведение исходного числа на степень двойки, что и соответствует сдвигу. Однако, таким образом , можно сдвинуть лишь вправо;20 by the original number in block 13 multiplication, we obtain the product of the original number by the power of two, which corresponds to the shift. However, in this way, you can only move to the right;

25 чтобы организовать левый.сдвиг, считывают результат не из старшей части а из младшей. Тогда, произвед , например , сдвиг на 25 разр дов вправо и считыва  информацию, начина  с25 to organize the left.shift, read the result not from the older part but from the younger part. Then, making, for example, a shift of 25 bits to the right and reading the information, starting with

30 32 разр да по 63, получим исходное число, сдвинутое на 7 разр дов влево. Эту операцию выполн ет коммутатор 1 по сигналу с входа 14. Если первые восемь разр дов равны30 32 bits for 63, we get the original number shifted by 7 bits to the left. This operation is performed by switch 1 at the signal from input 14. If the first eight bits are equal

35 нулю, то на пр мом выходе схемы 2 сравнени  формируетс  логическа  единица, на инверсном - логический ноль. На схеме 3 сравнени  анализируетс  следующа  группа из восьми35 to zero, then a logical unit is formed at the forward output of the comparison circuit 2, and a logical zero is formed at the inverse. Scheme 3 compares the next group of eight.

40 разр дов. Если она не нулева , то на выходе схемы сравнени  с нулем формируетс  логический ноль. В результате формируютс  сигналы, запрещающие считывание из блоков 11 и40 bits If it is not null, then a logical zero is generated at the output of the comparison circuit with zero. As a result, signals are formed that prohibit reading from blocks 11 and

45 12, и на элементе И 5 формируетс  сигнал, разрешающий считывание из блока 10. Параметр сдвига формируетс  аналогично описанному за тем исключением , что учитываетс  факт ра50 венства нулю предьщущих восьми разр дов . Этот учет производитс  прибавлением к числу сдвигов в данной группе числа восемь. Затем формируетс  сдвиг по описанному алгоритму.45 12, and on the element 5, a signal is generated that permits reading from block 10. The shift parameter is formed in the same way as described, except that the fact of zero equal eight preceding eight bits is taken into account. This count is made by adding to the number of shifts in this group the number eight. Then a shift is formed according to the described algorithm.

55 Таким же образом производитс  определение параметра сдвига и сам сдвиг дл  следующих групп разр дов. Исключение составл ет только величина числа, которое необходимо прибавл ть55 In the same way, the definition of the shift parameter and the shift itself for the following groups of bits are made. The only exception is the value of the number that needs to be added.

Кажда  группа увеличивает его на восемь, т.е. в первой +0 во второй +8, в третьей +1б, в четвертой +24.Each group increases it by eight, i.e. in the first +0 in the second +8, in the third + 1b, in the fourth +24.

Сдвиг вправо выполн етс  аналогич но, дл  этого на вход 17 подаетс  число, содержащее только одну единицу в каком-либо разр де. Все блоки пам ти отключены сигналом с входа 18, когФ1утатор 1 выбирает старшие разр ды произведени . Дл  умножени  на вход 17 подаетс  сомножитель (второй операнд), коммутатор 1 выбирает число за два такта: в первом такте старшую часть, во втором - младшую часть произведени .The shift to the right is performed similarly, for this purpose, a number containing only one unit in any category is inputted to input 17. All blocks of memory are disconnected by a signal from input 18, when the selector 1 selects the most significant bits of the product. To multiply to input 17, a factor is fed (the second operand), switch 1 selects a number in two cycles: in the first cycle the upper part, in the second, the lower part of the product.

Claims (1)

Формула изобретени Invention Formula Вычислительное устройство, содер- жащее три схемы сравнени  с нулем, четыре элемента И и четыре блока пам ти , причем входы разр дов адреса первого, второго, третьего и четвертого блоков пам ти соединены соответ ственно. с входами разр дов,кроме старшего, первого информационного входа устройства, разр дные входы первой, второй и третьей схемы сравнени  с нулем соединены соответствен но с входами разр дов,.кроме старшего и семи младших, первого информационного входа устройства, выход неравенства первой схемы уравнени  с нулем соединен с входом разрешени  считывани  первого блока пам ти, выход равенства первой схемы сравнени  с нулем соединен с первыми входами первого и второго элементов И, выхоA computing device containing three comparison circuits with zero, four AND elements and four memory blocks, the inputs of the address bits of the first, second, third and fourth memory blocks are connected, respectively. with the bit inputs, in addition to the senior, first information input of the device, the bit inputs of the first, second and third comparison circuit with zero are connected respectively to the bits of the bits, besides the senior and seven junior, first information input of the device, the inequality output of the first equation circuit zero is connected to the readout input of the first memory block, the equality output of the first comparison circuit with zero is connected to the first inputs of the first and second I elements, and output 00111 00110 00110 0010100111 00110 00110 00101 5 five 5 о 5 o 5five ды неравенства и равенства второй схемы сравнени  с нулем соединены соответственно с вторыми входами первого и второго элементов И, выход второго элемента И соединен с первыми входами третьего и четвертого элементов И, вторые входы которых соединены соответственно с выходами неравенства и равенства третьей схемы сравнени  с нулем, выходы первого, третьего и четвертого элементов И .оединены соответственно с входами разрешени  считывани  второго, третьего и четвертого блоков пам ти, входы запрета считывани  которых соединены с входом задани  режима устройства и с входом запрета считывани  первого блока пам ти, о т л и г чающеес  тем, что, с целью расширени  функциональньк возможностей за счет выполнени  умножени , оно содержит коммутатор и блок умножени , причем первый информационный вход устройства соединен с входом первого сомножител  блока умножени , выходы старшей и младшей частей, произведени  которого соединены соответственно с первым и вторым информационными входами коммутатора, выход которого  вл етс  выходом устройства , второй информационный вход и вход направлени  сдвига которого соединены соответственно с входом второго сомножител  блока умножени  и с управл ющим входом коммутатора, выходы разр дов блоков пам ти с первого по четвертый соединены соответственно с входами разр дов второго сомножител  блока умножени .The inequalities and equalities of the second comparison circuit with zero are connected respectively to the second inputs of the first and second elements And, the output of the second element And connects to the first inputs of the third and fourth elements And, the second inputs of which are connected respectively to the outputs of inequality and equality of the third comparison circuit with zero, the outputs of the first, third and fourth elements And. are connected respectively to the read enable inputs of the second, third and fourth memory blocks, the read inhibit inputs of which are connected to the input setting the device mode and with the input of the prohibition of reading the first memory block, which is in order to expand the functionality by performing multiplication, it contains a switch and a multiplication unit, the first information input of the device connected to the input of the first multiplier the multiplication unit, the outputs of the higher and lower parts, whose products are connected respectively to the first and second information inputs of the switch, the output of which is the output of the device, the second information input and input The shift directions of which are connected respectively to the input of the second multiplier of the multiplication unit and to the control input of the switch, the outputs of the bits of the memory blocks from the first to the fourth are connected respectively to the inputs of the bits of the second multiplier of the multiplication unit. 24 25 25 2624 25 25 26 0000100000001000 0010000100 0001000000010000 0001100011 0010000000100000 0001000010 0100000001000000 0000100001 1000000010,000,000 0000000000 1111111111111111 0000000000 ор А.Ворович 2513/43Or A.Vorovich 2513/43 Составитель А.Клюев Техред М.ХоданичCompiled by A. Klyuev Tehred M. Khodanych Ко ПоCo Po Тираж 672Circulation 672 ВНИИПИ Государственного комитета СССР по делам изобретений и открытий 113035, Москва, Ж-35, Раушска  наб,, д, 4/5VNIIPI USSR State Committee for Inventions and Discoveries 113035, Moscow, Zh-35, Raushsk nab ,, d, 4/5 Производственно-полиграфическое предпри тие, г.Ужгород, ул.Проектна ,4Production and printing company, Uzhgorod, Projecto st., 4 2727 2828 2929 30thirty 3131 3131 Корректор И.Муска ПодписноеProofreader I.Musk Subscription
SU864014980A 1986-01-10 1986-01-10 Calculating device SU1319022A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU864014980A SU1319022A1 (en) 1986-01-10 1986-01-10 Calculating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU864014980A SU1319022A1 (en) 1986-01-10 1986-01-10 Calculating device

Publications (1)

Publication Number Publication Date
SU1319022A1 true SU1319022A1 (en) 1987-06-23

Family

ID=21218943

Family Applications (1)

Application Number Title Priority Date Filing Date
SU864014980A SU1319022A1 (en) 1986-01-10 1986-01-10 Calculating device

Country Status (1)

Country Link
SU (1) SU1319022A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1140113, кл. G 06 F 7/38, 1983. Процессор ЕС 2060, Т02 Арифметико-логический блок. М., 1977, с.16. *

Similar Documents

Publication Publication Date Title
USRE35365E (en) Squaring circuit for binary numbers
US4825401A (en) Functional dividable multiplier array circuit for multiplication of full words or simultaneous multiplication of two half words
US3978326A (en) Digital polynomial function generator
US3812467A (en) Permutation network
US4506341A (en) Interlaced programmable logic array having shared elements
US4852049A (en) Vector mask operation control unit
US3593317A (en) Partitioning logic operations in a generalized matrix system
JPH0378720B2 (en)
US4748584A (en) Parallel multiplier utilizing Booth's algorithm
US4162534A (en) Parallel alignment network for d-ordered vector elements
US5671166A (en) Barrel shifter for combining pieces of data into a piece of combined data and shifting the combined data
US4495590A (en) PLA With time division multiplex feature for improved density
SU1319022A1 (en) Calculating device
US3659274A (en) Flow-through shifter
US4839848A (en) Fast multiplier circuit incorporating parallel arrays of two-bit and three-bit adders
US4704701A (en) Conditional carry adder for a multibit digital computer
US3584205A (en) Binary arithmetic and logic manipulator
US3697735A (en) High-speed parallel binary adder
US4241413A (en) Binary adder with shifting function
US5148480A (en) Decoder
SU963100A1 (en) Associative storage device
SU746509A1 (en) Binary-decimal adder
SU875460A1 (en) Associative storage element
SU754676A1 (en) Four-digit reversible ring distributor
US3244865A (en) Asynchronous binary computer system using ternary components