SU662936A1 - Arithmetic operation for performing operations on several numbers - Google Patents
Arithmetic operation for performing operations on several numbersInfo
- Publication number
- SU662936A1 SU662936A1 SU762392196A SU2392196A SU662936A1 SU 662936 A1 SU662936 A1 SU 662936A1 SU 762392196 A SU762392196 A SU 762392196A SU 2392196 A SU2392196 A SU 2392196A SU 662936 A1 SU662936 A1 SU 662936A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- unit
- block
- numbers
- Prior art date
Links
Landscapes
- Executing Machine-Instructions (AREA)
Description
.J,- -.......- J :. - . .v....x.-u:-. Целью изобретени вл етс увеличение быстродействи . В предлагаемом устройстве это достигаетс тем, что оно содержит блок формировани результата , регистр сдвига и N-1 эле-ментов задержки, причем вход j-ro (, N - 1) элемента задержки cqeдинен с входной шиной (j+2)-ro опе ранда , а выход - с первым информационным входом (j+l)-ro решающего -блока дл выполнени операций над двум чис лами, выход которого соединен со вто рым информационным входом (j+2)-ro решающего блока дл выполнени операций над двум числами и соответствующим входом второй группы коммутатора причем ёыход N-ro решающего блока дл выполнени операций над двум числами соединен с третьим информационным вхо дом первого решающего блока дл выполнени операций над двум числами, выход коммутатора соединен с первым входом блока формировани результата ко второму входу которого подключен выход блока управлени , к третьему входу подключен выход блока сравнени кодов, перва группа входов которого соединена с выходами регистра конца операции, втора группа входов соединена с соответствующими выходами регистра сдвига и управл ющими входа ми решающих блоков дл выполнени операций над двум числами, вход регистра сдвига соединен с выходом бло ка управлени .. На чертеже представлена структурна схема предлагаемого арифметического устройства. Оно содержит N решающих блоков 1ц дл выполнени операций над двум числами, блок управлени 2, коммутатор 3, N-разр дный регистр 4 конца операции, блок 5 сравнени кодов , N-разр дный регистр сдвига 6, блок 7 формировани результата, N-1 элементов задержки 81..г управл ющую шину 9 и входные шины операндов 10|-10||(4.1 , В качестве решающих блоков примен ют блоки, позвол ющие совмещать во времени процессы по разр дного ввода операндов и поразр дного формировани результата, на . ч:инй со старших разр дов. Дл предртавлени результата в решающих бЛрках примен ют избыточйую однйродную позиционную систему счислени ,цифры которой кодируютс неиэбы:тЬчным двоичным кодом tO/l3 -Цифры из бытЪчной систег ы счислени представл ютс на выходах решающих блоков единичными или нулевыми сигналами на различных шинах, где cj, количество цифр (символов) избыточной системы счислени . Например, дл двоичной систе№л счислени с цифрами ,r,6,ljj имеет место Чис ло ре{ ающих блоков не зависит от чис ла операций , образующих последрва (ельность, и определ етс выражением Vhr JhTiL где п-разр дность операн-. дев, ah- задержка формировани первого разр да результата (выраженна в числе тактов) в решающих блоках I(-IN после ввода первых разр дов операндов. Например, если , то после ввода первых разр дов операндов на первом такте вычислени пер-. вый разр д результата получают через два такта, т.е. на третьем такте. Выходы каждого решающего блока 1j (,. N-1) подключены к группе входов решающего .блока Ij+t, а выходы решающего блока 1 yj соединены с группой входов решающего блока 1. Группа выходов блока управлени 2 подключена к тактирующим входам блока 7 фор1«1ровани результата и к тактирующим входам решающих блоков , выходы которых через коммутатор 3 соединены с информационными входами блока 7 формировани результата, а к управл ющему входу последнего подключен выход блока 5 сравнени кодов. Выходы регистра 4 конца операции подключены к управл ющим входам коммутатора 3 и к одной группе информационных входов блока 5 сравнени кодов, втора группа йнформа1;ионных входов которого соединена с выходами регистра сдвига 6. Выход каждого j-го разр да регистра сдвига 6 (,N) подключен к управл ющему входу решающего, блока Ij, а управл ющий вход регистра сдвига б соединен с одним выходом блока управлени 2. Входные шины операндов 10. и 102 подключены к двум соответствующим информационным входам решающего блока If, а к одному информационному ВХОДУ каждого решающего блока 1(,N) через элементы задержки 8J-I подключены входные шины операндов . Управл юща шина 9 подключена к цепи выдачи кода регистра 4 конца операции. Блок 7 формировани результата вл етс преобразователем чисел, представленных последовательным избыточным кодом, в неизбыточную (каноническую) систему счислени . .. Допустим, необходимо выполнить последовательность, состо щую из k двухместных операций. Если число операций, образующих последовательность , равно числу решающих блоков, т.е. , то последовательность oneраций выполн етс за один цикл. Если же , то процесс вычислени условно разбиваетс на несколько циклов, в каждом из которых выполн етс не более N операций. В первом цикле вычислений на входные шины операндов lO -lOn+i поступает перва группа, включающа N+1 операндов, представленных последовательным кодом . В последующих циклах на входные шины операндов lOj-lOK-n поступают.J, - -.......- J:. -. .v .... x.-u: -. The aim of the invention is to increase speed. In the proposed device, this is achieved by the fact that it contains a result forming unit, a shift register and an N-1 delay element, the input j-ro (, N - 1) of the delay element being connected to the input bus (j + 2) -ro rand, and the output to the first information input of the (j + l) -ro decision block for performing two numbers, the output of which is connected to the second information input of the (j + 2) -ro decision block for performing operations on two numbers and the corresponding input of the second switch group, with the output of the N-ro decision block for performing operations over two numbers are connected to the third information input of the first decision block to perform operations on two numbers, the switch output is connected to the first input of the result generation unit to the second input of which the output of the control unit is connected, the output of the code comparison block is connected to the third input, the first group of inputs which is connected to the outputs of the register of the end of the operation, the second group of inputs is connected to the corresponding outputs of the shift register and the control inputs of the decision blocks for performing operations hell two numbers, the shift register input connected to the output blo ka control .. The drawing shows a block diagram of the arithmetic unit. It contains N decider blocks 1c for performing operations on two numbers, control block 2, switch 3, N-bit register 4 of the operation end, block 5 of code comparison, N-bit shift register 6, block 7 of forming the result, N-1 delay elements 81. g of control bus 9 and input buses of operands 10 | -10 || (4.1. As decisive blocks, blocks are used that allow to combine in time the processes on bit input of operands and bit formation of the result, on. h: yn from the senior bits. To show the result in decisive points use an excess single-position positioning system whose digits are encoded as non-standard: the tO / l3 binary code from the everyday counting system are represented at the outputs of the decision blocks by single or zero signals on different buses, where cj, the number of digits (symbols) of the redundant system For a binary number system, with numbers, r, 6, ljj, the number of resolving blocks does not depend on the number of operations that make up the sequence (and is defined by the expression Vhr JhTiL where n is the operand -. dev, ah- the delay in the formation of the first bit of the result (expressed in the number of cycles) in the decisive blocks I (-IN after entering the first bits of the operands. For example, if, then after entering the first bits of the operands in the first step of calculating the first bit The results are obtained in two cycles, that is, in the third cycle. The outputs of each decision block 1j (,. N-1) are connected to the group of inputs of the decision block Ij + t, and the outputs of the decision block 1 yj are connected to the group of inputs of the decision block 1. The group of outputs of the control unit 2 is connected to the clock inputs of the block 7 for1 "1p result and to the clock inputs of the decision blocks, the outputs of which through the switch 3 are connected to the information inputs of the result generation unit 7. The output of the operation end register 4 is connected to the control inputs of the switch 3 and to the control input of the latter. one group of information inputs of code comparison unit 5, the second group of information1; the ionic inputs of which are connected to the outputs of shift register 6. The output of each j-th bit of shift register 6 (, N) is connected to the control input decision block, Ij, and the control input of the shift register b is connected to one output of control unit 2. The input buses of operands 10. and 102 are connected to two corresponding information inputs of the decision block If, and to one information INPUT of each decision block 1 (, N) through the delay elements 8J-I connected input bus operands. The control bus 9 is connected to the output circuit of the register 4 code at the end of the operation. The result generating unit 7 is a converter of the numbers represented by a consecutive redundant code into a non-redundant (canonical) number system. .. Suppose you need to perform a sequence consisting of k two-seat operations. If the number of operations forming the sequence is equal to the number of decision blocks, i.e. then the sequence of the iterations is performed in one cycle. If, however, the calculation process is conditionally divided into several cycles, in each of which no more than N operations are performed. In the first cycle of computations, the first bus group, including N + 1 operands, represented by a sequential code, enters the input busses of the operands lO -lOn + i. In subsequent cycles, the input bus operands lOj-lOK-n are received
:группы из N операндов (в последнем цикле число операндов может быть меньше N).: groups of N operands (in the last loop, the number of operands may be less than N).
В исходном состо нии в первом разр де регистра сдвига 6 записана единица , а в регистре 4 конца операции единица записана в разр де с номером 5In the initial state, in the first discharge of shift register 6, one is recorded, and in register 4 of the end of the operation, the unit is recorded in bit 5.
,ecAMK(modN) L N, если к (modN) 0., ecAMK (modN) L N, if k (modN) 0.
в каждом i-M такте первого цикла на, ю входные шины операндов ( + j поступают i-e разр ды соответствуюй х операндов. Каждый решающий блок li-lf выполн ет определенную операцию, аin each i-M cycle of the first cycle, the input busses of the operands (+ j receive the i-e bits of the corresponding operands. Each decision block li-lf performs a certain operation, and
тактирующие сигналы дл них вырабатывает блок управлени 2. После выполнени первых h+1 тактов на выходах решающего блока 1 присутствует первый разр д избыточного кода первого промежуточного результата. В (h+2)-M такте этот разр д начинает Обрабатыватьс в решающем блоке Ij, дл которого данный разр д вл етс первым разр дом одного операнда. Одноименный разр д неизбыточного кодаthe control unit 2 generates the clocking signals for them. After the first h + 1 clock has been executed, the first bit of the redundant code of the first intermediate result is present at the outputs of the decision block 1. In the (h + 2) -M cycle, this bit begins to be processed in the decision block Ij, for which this bit is the first bit of one operand. Similarly named non-redundant code
другого операнда дл решающего блока 25 12 поступает с выхода элемента задержки 8j ,который задерживает разр ды операнда на такое же число тактов, как и решающий блок Ij, т.е. на h+1 тактов. В дальнейшем разр д промежу- 30 точного результата, полученный в решающем блоке , в следующем такте начинает обрабатыватьс в решающем блоке 1 и т.д., т.е. разр д промежуточного результата, полученный в i-м 35 такте на выходах решающего блока Ij используетс в качестве очередногоthe other operand for the decision block 25 12 comes from the output of the delay element 8j, which delays the bits of the operand by the same number of clock cycles as the decision block Ij, i.e. on h + 1 cycles. Subsequently, the discharge of the intermediate result obtained in the decision block begins to be processed in the decision block 1, etc., i.e. the bit of the intermediate result obtained in the i-th 35 clock cycle at the outputs of the decision block Ij is used as the next
разр да операнда в решающем блоке на (i+D-M такте. Каждый элемент задержки 8 j задерживает разр ды соот- ,,, ветствующих операндов на j(h+l) тактов , обеспечив.а тем самым подачу разр дов операндов на вход решающего блока Ij4i одновременно с разр дом промежуточного результата, сформированного в решающем блоке Ij , который поступает на другие информационные входы решающего блока Ij+i . После . выполнени первых n+h тактов решающий блок 1 j выдает на входы решгаощего блока 12 п-й(последний) разр д перво- 50 го промежуточного результата, т.е. освобохедаетс от выполнени возложенной на него операции, в последующих тактах решающий блок 1 может обрабатывать разр ды промежуточного ре-- -55 зультата, формирующиес в решающем блоке IN тthe operand bit in the decision block on the (i + DM cycle. Each delay element 8 j delays the bits of the corresponding ,,, corresponding operands by j (h + l) cycles, thus ensuring the supply of bits of the operands to the input of the decision block Ij4i simultaneously with the discharge of the intermediate result, formed in the decision block Ij, which goes to the other information inputs of the decision block Ij + i. After the first n + h steps are completed, the decision block 1 j outputs the 12th (last) 12 the category of the first intermediate result, i.e. t perform the operation entrusted to him, in subsequent cycles decisive block 1 can process the bits of the intermediate result, -55, formed in the decisive block IN t
Число N выбрано таким, что к моменту по влени первого разр да промежуточного результата на выходах gQ решающегй блока IK решающий блок 1 оказываетс свободным.The number N is chosen such that by the time the first discharge of the intermediate result occurs, at the outputs gQ of the decisive block IK, the decisive block 1 is free.
На этом заканчиваетс первый цикл вычислений.This ends the first computation cycle.
Второй цикл вачислений начинаетс с момента поступлени первого (старfiiero ) разр да промежуточного результата с выходов решающего блока 1) на входы решающего блока 1{. Одновременно с этим на входные шины операндов Юз -10 41Н инают поступать разр ды операндов следующей группы. Циклы работы устройства повтор ютс до тех пор, пока на входные шины операндов 10; не будут прин ты операнды всех k операций,The second cycle of calculus starts from the moment the first (intermediate) bit of the intermediate result arrives from the outputs of the decision block 1) to the inputs of the decision block 1 {. At the same time, the input buses of the Yuz-10 41N operands receive bits of the operands of the next group. The operation cycles of the device are repeated until the input buses of operands 10; won't accept operands of all k operations,
Одновременно с подачей последней группы операндов на управлж1щую шину 9 поступает си.гнал, действующий до окончани работы устройства и осущесвл ющий выдачу кода регистра 4 конца операции. Номер Л разр да регистра 4 конца операции, в котором записана единица перед .началом вычислений, соответствует номеру решающего блока который в последнем цикле выполн ет k-ю операцию в заданной последователности операций.Simultaneously with the filing of the last group of operands, control signal 9 receives a signal, which is valid until the end of the operation of the device and which produces a register code 4 for the end of the operation. The number L of the register register 4 of the end of the operation, in which the unit is written before the beginning of the calculations, corresponds to the number of the decision block which in the last cycle performs the k-th operation in a given sequence of operations.
В каждом цикле вычислений после выполнени h+1 очередных тактов по сигналу блока управлени 2 осуществл етс сдвиг единицы в регистре сдви;га 6 на один разр д вправо и в результате этого на управл ющий вход решающего блока ij поступает, единичный сигнал с выхода разр да регира сдвига 6. Этот сигнал тактируетс сигналами блока управлени 2, поступающими на определенные тактирующие шины решающих блоков , в результате чего решающий блок 1J устанавливаетс в исходное состо ние дл выполнени определённой операции непосредственно перед тактом поступлени на его входы первых разр дов операндов данной операции.In each computation cycle, after performing h + 1 consecutive clock cycles, the control unit 2 signal shifts the unit in the shift register; ha 6 by one bit to the right, and as a result, the control input of the decision block ij is fed, a single signal from the bit output shift register 6. This signal is clocked by the signals of the control unit 2, arriving at certain clocking buses of the decision blocks, as a result of which the decision block 1J is reset to perform a certain operation immediately before the cycle The first bits of operands of this operation are received at its inputs.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU762392196A SU662936A1 (en) | 1976-08-01 | 1976-08-01 | Arithmetic operation for performing operations on several numbers |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU762392196A SU662936A1 (en) | 1976-08-01 | 1976-08-01 | Arithmetic operation for performing operations on several numbers |
Publications (1)
Publication Number | Publication Date |
---|---|
SU662936A1 true SU662936A1 (en) | 1979-05-15 |
Family
ID=20672635
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU762392196A SU662936A1 (en) | 1976-08-01 | 1976-08-01 | Arithmetic operation for performing operations on several numbers |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU662936A1 (en) |
-
1976
- 1976-08-01 SU SU762392196A patent/SU662936A1/en active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU662936A1 (en) | Arithmetic operation for performing operations on several numbers | |
SU1046932A1 (en) | Threshold element | |
SU1015378A1 (en) | Device for extracting square root | |
SU898609A1 (en) | Voltage-to-code converter with dynamic error correction | |
SU857987A1 (en) | Integro-computing structure | |
SU1223240A1 (en) | Device for determining optimum trajectories | |
SU938286A1 (en) | Matrix computation device | |
SU1142826A1 (en) | Device for translating binary numbers to binary-coded decimal numbers and vise versa | |
SU840890A1 (en) | Number comparing device | |
SU734674A1 (en) | Binary number comparing device | |
SU955051A1 (en) | Integral differential calculator digital differential device | |
SU1076909A1 (en) | Device for analysing routes in graphs | |
SU1383411A1 (en) | Device for computing square root | |
SU1552171A1 (en) | Device for comparison of numbers in residual classes system | |
SU1580555A1 (en) | Digit-analog servo converter | |
SU643865A1 (en) | Inequality solving arrangement | |
SU1030797A1 (en) | Device for sorting mn-digit numbers | |
SU532095A1 (en) | Input device | |
SU1403059A1 (en) | Number array sorting device | |
SU734669A1 (en) | Converter of proper binary fraction into binary-decimal fraction and integer binary-decimal numbers into binary numbers | |
SU805489A1 (en) | Follow-up analogue-digital converter | |
SU1007098A1 (en) | Device for forming position indications of non-positional code | |
SU560222A1 (en) | Device for converting binary code to gray code and vice versa | |
SU960807A2 (en) | Function converter | |
SU1216777A1 (en) | Device for forming integral characteristics of modulator code |