SU1319022A1 - Calculating device - Google Patents
Calculating device Download PDFInfo
- 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
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)
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) |
-
1986
- 1986-01-10 SU SU864014980A patent/SU1319022A1/en active
Non-Patent Citations (1)
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 |