SU1322262A1 - Device for summing n numbers arriving in sequential order - Google Patents

Device for summing n numbers arriving in sequential order Download PDF

Info

Publication number
SU1322262A1
SU1322262A1 SU853974808A SU3974808A SU1322262A1 SU 1322262 A1 SU1322262 A1 SU 1322262A1 SU 853974808 A SU853974808 A SU 853974808A SU 3974808 A SU3974808 A SU 3974808A SU 1322262 A1 SU1322262 A1 SU 1322262A1
Authority
SU
USSR - Soviet Union
Prior art keywords
inputs
register
adder
outputs
connected respectively
Prior art date
Application number
SU853974808A
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 SU853974808A priority Critical patent/SU1322262A1/en
Application granted granted Critical
Publication of SU1322262A1 publication Critical patent/SU1322262A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано в устройствах статистической обработки информации.Цель изобретени  - увеличение быстродействи . Устройство дл  суммировани  m последовательно поступающих чисел содержит первый и второй регистры 1 и 2, счетчик 3, оперативное запоминающее устройство 4, вычитатель 5, накапливающий сумматор 6, Формирователь 7 импульсов , информационные входы 8, тактовый вход 9, вход 10 сброса, выходы 11 результата. 2 ил. с ф f // J оо 1C к ьо а tsD I j иг. 1The invention relates to computing and can be used in devices for statistical processing of information. The purpose of the invention is to increase speed. A device for summing m successively incoming numbers contains first and second registers 1 and 2, counter 3, random access memory 4, subtractor 5, accumulating adder 6, Pulse generator 7, information inputs 8, clock input 9, reset input 10, result outputs 11 . 2 Il. with f f // J oo 1C ko and a tsD I j u. one

Description

Изобретение относитс  к иычисли- тельной технике и может быть использовано в устройствах статистической обработки информации.The invention relates to a computing technique and can be used in devices for statistical processing of information.

Цель изобретени  - увеличение бы- стродействи .The purpose of the invention is to increase the speed.

На фиг, 1 представлена функциональна  схема устройства дл  суммировани  m последовательно поступающи чисел; на фиг, 2 - временные диаграм мы работы устройства.Fig. 1 is a functional diagram of the device for summing m sequential incoming numbers; FIG. 2 shows timelines of the operation of the device.

Устройство дл  суммировани  m последовательно поступающих чисел содержит первый 1 и второй 2 регистры, счетчик 3, оперативное запоминающее устройство А, вычислитель 5, накапливающий сумматор 6, формирователь 7 импульсов, информационные входы 8 устройства, тактовый вход 9 устройства , вход 10 сброса устройства, выход 11 результата устройства, вычитатель содержит п-разр дный сумматор I2 (где п - разр дность операндов) и п элементов НЕ 13, накапливающий сумматор содержит N-разр дньш 14 и регистр: 15 (где К п + log.m), формирователь импульсов содержит нечетное число элементов НЕ 15, элемен И 17, нечетное число элементов НЕ 18The device for summing m successively incoming numbers contains the first 1 and second 2 registers, counter 3, random access memory A, calculator 5, accumulating adder 6, pulse shaper 7, device information inputs 8, device clock input 9, device reset input 10, output 11 results of the device, the subtractor contains the n-bit adder I2 (where n is the operand size) and n elements NOT 13, the accumulating adder contains N-bit 14 and the register: 15 (where K p + log.m), the pulse shaper contains odd th number of elements is not 15, and elements 17, an odd number of elements is not 18

Регистры 1 и 2 вьтолнены с динамическим cтpoбиpyюtt им входом С, запись информации в них производитс  . передним фронтом стробирующего сиг- пала. Счетчик 3 срабатывает по заднему фронту счетного iiMnyjTbca и мозкет быть выполнен на микросхеме К155 ИЕ7 Оперативное запоминающее устройство 4 имеет п разр дов и г адресных входов . При нулевом сигнале V производитс  запись информации, при единич- ном - считьгаание.Registers 1 and 2 are dynamically configured with input C, and information is recorded in them. front edge of the strobe signal. Counter 3 is triggered on the falling edge of the counting iiMnyjTbca and the mocket is to be executed on a K155 IE7 chip. Random access memory 4 has n bits and r address inputs. With a zero signal V, information is recorded, with a single signal, counting.

Формирователь 7 предназначен дл  выработки инверсного импульсного сигнала , задержанного относительно переднего фронта тактового сигнала, При изменении входного сигнала формировател  с нул  на единицу в течение времени задертргки фронта сигнала элементами НЕ 16 на входах элемента Н 1 7 устанавливаютс  единичные сиг- напы. Единичный импульсный сигнал с ьыхода элемента И 17 задерживаетс  и инвертируетс  элементами НЕ 18, При вьшолнении формировател  7 на гпести элементах F1E типа К155. ЯИ1 и элементе И типа ЛН1 длительность выхоцного импульса формировател  равна 45-75 не, а задержка отThe shaper 7 is designed to generate an inverse pulse signal delayed relative to the leading edge of the clock signal. When the input signal of the shaper is changed from zero by one, the NOT 16 elements at the inputs of the H 1 7 element are set to single signals. A single pulse signal from the output of the element And 17 is delayed and inverted by the elements NOT 18. When the shaper 7 is executed on the mixture, elements F1E of the type K155. PI and element And type LN1, the duration of the output pulse of the driver is 45-75 not, and the delay from

носительно переднего фронта тактового сигнала 60-100 не,about the leading edge of the clock signal 60-100 not,

На входы 8 устройства подаютс  параллельные п-разр дные двоичные коды суммируемых чисел с частотой, равной частоте тактового сигнала, подаваемого на вход 9, Дл  правильной работы устройства необходимо, чтобы в момент изменени  тактового сигнала с нул  на единицу информаци  на входах 8 была достоверной. Отрицательные числа подаютс  на входы 8 в дополнительном коде, при этом старший п-й разр д  вл етс  знаковым. На вход 10 подаетс  единичный сигнал , устанавливающий устройство в исходное состо ние.The device inputs 8 are supplied with parallel p-bit binary codes of summable numbers with a frequency equal to the frequency of the clock signal supplied to input 9. For the device to work properly, it is necessary that at the time the clock signal changes from zero to one the information on the inputs 8 is reliable. Negative numbers are fed to inputs 8 in the additional code, while the highest nth bit is significant. A single signal is applied to input 10, which sets the device to its initial state.

Конкретный вариант устройства по фиг, 1 вьтолнен , N 16, г 8, m 256,A specific variant of the device according to FIG. 1 is complete, N 16, g 8, m 256,

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

После включени  питани  на вход 10 подаетс  сигнал, удерживающий регистр I и накапливающий сумматор 6 в нулевом состо нии, Счетч:ик 3 осуществл ет непрерывный счет тактовых импульсов, при этом на его выходе Формируютс  коды, обеспечивающие перебор адресов оперативного запоминающего устройства 4, а импульсные сигналы с выхода формировател  7 записывают в  чейке с этими адресами нулевые коды,After power is turned on, input 10 is given a signal that holds the register I and accumulates the adder 6 in the zero state, Count: IR 3 continuously counts the clock pulses, while at its output codes are generated that enumerate the addresses of the random access memory 4, and the pulse ones the signals from the output of the imager 7 is written in the cell with these addresses zero codes,

Лл  обеспечени  занулени  п  чеек оперативного запоминающего устройства 4 длительность сигнала сброса должна быть более п Т, В конце процесса занулени  на выходах регистра 2 и вычитател  5 устанавливаютс  нулевые коды. По окончании сиг- пала сброса . передним фронтом тактового сигнала в регистр 1 записываетс  первое число С,, которое поступает через вычитатель 5 в накапливающий сумматор 6 и записываетс  в  чейку ОЗУ с адресом А, Начальный адрес Ад определ етс  состо нием счетчика 3 в момент окончани  сигнала сброса и  вл етс  случайным числом,In order to ensure the storage of the memory cells 4, the duration of the reset signal must be more than T T. At the end of the process of zeroing, zero codes are set at the outputs of the register 2 and the subtractor 5. At the end of the reset signal. the leading edge of the clock signal in register 1 is written the first number C, which enters through subtractor 5 into accumulating adder 6 and is written into the RAM cell with address A, the Start Address Ad is determined by the state of counter 3 at the moment of the end of the reset signal and is a random number ,

В течение первых m тактов в ОЗУ записываютс  первые m чисел, а считываютс  нулевые коды, так как считывание кода из оперативного запоминающего устройства по адресу А; и его запись в регистр 2 осуществл етс  ранее записи кода по этому адре31322During the first m cycles, the first m numbers are written into the RAM, and zero codes are read, since reading the code from the random access memory at address A; and writing it to register 2 is done by writing code at this address.

су. Код В, в накапливающем сумматоре в течение первых m тактов формируетс  согласно выражению Bj В +su. Code B, in the accumulating adder during the first m cycles, is formed according to the expression Bj B +

+ С. при 1 1, т, где С - код в регистре 1 в i-ом такте, а В . В,, -г код в накапливающем сумматоре 6 соответственно в i + 1 и i-oM тактах.+ C. at 1 1, t, where C is the code in register 1 in the i-th cycle, and B. In the ,, -g code in the accumulating adder 6, respectively, in the i + 1 and i-oM ticks.

В (т + 1)-м такте работы в регистр 2 запишетс  код С,, записанный m тактов назад в  чейку А оперативно- fO го запоминающего устройства, а на выходе вычитател  5 сформируетс  код йС, равный С - С . В i-M такте при i 7 m на выходе вычитател  5 будет код С , равный С, - С,. ffThe (t + 1) -th cycle of operation in register 2 records the code C ,, recorded m cycles back into the cell A of the operational memory fO, and at the output of the subtractor 5 a code C is formed equal to C - C. In the i-M cycle with i 7 m at the output of the subtractor 5 will be a code C, equal to C, - C ,. ff

Следовательно, код В., измен етс  по законуConsequently, code B., is changed by law.

В, + С j при i i т; В +С .+С. при i mB, + C j with i i t; B + C. + C. at i m

т 1 1-ГТ1 t 1 1-gt1

и равен последних m чисел, поступающих последовательно на входы 8 устройства,and is equal to the last m numbers that arrive in series at the inputs 8 of the device,

Число m определ етс  коэффициентом пересчета счетчика 3 и может быть произвольным. Если m 2 , п старщих разр дов выходного кода paBni.i среднему арифметическому из m последова- 30 тельно поступивших чисел.The number m is determined by the conversion factor of counter 3 and can be arbitrary. If m 2, n the most significant bits of the output code paBni.i is the arithmetic mean of m consecutively received numbers.

Работу устройства в течение одного такта можно проследить по временным диаграммам (фиг. 2). Диаграммы представлены дл  конкретного устройства, 35 реализованного на микросхемах серии К155 при частоте тактового сигнала 2 МГд и длительности 300 не (диаграмма 1). Состо ние счетчика 3 измен етс  по заднему фронту тактового сиг- 40 нала (диаграмма 2), врем  Т равно длительности переходного процесса в счетчике 3. На диаграмме 3 показано состо ние выходного сигнала на выходе оперативного запоминающего устрой-45 ства 4.The operation of the device during one cycle can be traced along the time diagrams (Fig. 2). The diagrams are presented for a specific device, 35 implemented on K155 series chips at a clock frequency of 2 MHD and a duration of 300 ns (Figure 1). The state of counter 3 varies along the trailing edge of the clock signal 40 (diagram 2), the time T is equal to the duration of the transient process in counter 3. Diagram 3 shows the state of the output signal at the output of the operational storage device 4 45.

В течение времени Т, и t в оперативном запоминающем устройстве 4 происходит переходной процесс, св занный со сменой адреса, а в течение времени 4- переходной процесс, св занный с записью новой информации. Считьгоание информации с ОЗУ можно производить во врем  TI или Tj , , при этом во врем  1 считываетс  ранее записанна  информаци  по этому адресу, а во врем  вновь записанна  информаци .During the time T, and t in the random access memory 4, there is a transition process associated with the change of address, and during time 4 a transition process associated with the recording of new information. Information can be copied from the RAM during TI or Tj, while at time 1, the previously recorded information at this address is read, and at the time of the newly recorded information.

5050

г g

O ffO ff

00

5five

0 0

:б24: b24

Сигнал на выходе (10рмировател  7 имеет длительность f и задержку 1 по отношению к переднему фронту тактового сигнала. На диаграмме 5 представлено состо ние выходных сигналов регистров 1, 2 и 14, которое измен етс  по переднему фронту тактового сигнала с задержкой Т , обусловленной временем переключени  регистров. Следует обратить внимание, что запись в регистр 2 кода из оперативного запоминающего устройства 4 осуществл етс  во врем  Г , благодар  чему в регистре 2 запоминаетс  код, записан- ньш в оперативное запоминающее устройство . 4 m тактов назад.The output signal (10mirovator 7 has a duration f and a delay 1 with respect to the leading edge of the clock signal. Diagram 5 shows the output state of the registers 1, 2 and 14, which varies on the leading edge of the clock signal with a delay T due to the switching time It should be noted that the writing into the register 2 of the code from the random access memory 4 takes place during T, so that in the register 2 the code written into the random access memory is remembered. ago.

Из диаграммы 6 видно, что переходной процесс в сумматоре 13 начинаетс  после обновлени  информации в регистрах 1, 2 и 14 и заканчиваетс  через врем  Тд . Переходной процесс должен закончитьс  ранее, чем по витс  передний фронт тактового сигнала, при этом код с выхода сумматора 13, который в течение времени должен быть устойчивым, переписываетс  в регистр 14,It can be seen from diagram 6 that the transition process in adder 13 starts after updating the information in registers 1, 2 and 14 and ends after time Td. The transient must end earlier than the front of the clock signal, and the code from the output of the adder 13, which must be stable over time, is rewritten into register 14,

Из диаграмм 1-6 следует, что наибольшей длительностью обладают переходные процессы в сумматорах, а длительность такта суммировани  равнаFrom diagrams 1-6, it follows that transients in adders have the longest duration, and the duration of the summation cycle is equal to

+ г+ g

5 И определ етс  в основном5 And determined mainly

временем т, . Период Т тактового сигнала должен выбиратьс  больше, чемtime t, The period T of the clock signal must be greater than

Длительность Т, определ етс  Г (N + 1)1, где Т - врем  срабатывани  одного разр да комбинационного сумматора.The duration T, is determined by G (N + 1) 1, where T is the response time of one bit of the combinational adder.

Claims (1)

Формула изобретени Invention Formula Устройство дл  суммировани  m последовательно поступающих чисел, содержащее накапливающий сумматор, первьй и второй регистры, причем выходы накапливающего сумматора соединены с выходами результата устройства , отличающеес  тем, что, с целью увеличени  быстродействи , в него введены счетчик, оперативное запоминающее устройство, формирователь импульсов, вычитатель, содержащий п-разр дньп1 сумматор (где п - разр дность операндов) и п элементов НЕ, накапливающий сумматор содержит N-разр днып сумматор и ре- гистп (где N л + ) , причемA device for summing m consecutively incoming numbers containing a accumulating adder, first and second registers, the outputs of the accumulating adder being connected to the outputs of the device result, characterized in that, in order to increase speed, a counter, a random access memory, a pulse driver, a subtractor are entered into it containing an n-bit dr1 adder (where n is the operand width) and n elements of NOT, the accumulating adder contains an N-bit adder and register (where N l +), and информационные входы пертюго регистра соедиттены соответственнее с нходл- ми разр дов операндов устройства, тактовьп вход устройства соединен с входами синхронизации первого и второго регистра и регистра накапливающего сумматора, счетным входом триг гера и входом формировател  импульсов , выход которого соединен с входом управлени  записью и считыванием оперативного запоминающего устройства , адресные входы которого соединены соответственно с выходаьп счетчика , выходы первого регистра соединены соответственно с информационными входами оперативного запоминающего устройства и соединены соответственно с информационными входами первой групптз п-разр дного сумматора, входы второй,группы которого соединены соответственно с выходами элементов НЕ вычитател , входы которьк соединены соответственно с выходами второгоinformation inputs of the first register are connected to the corresponding bits of the device operands, the device input clock is connected to the synchronization inputs of the first and second register and accumulator accumulator register, the trigger input of the trigger and the pulse driver input, the output of which is connected to the write and read control input memory devices whose address inputs are connected respectively to the output of the counter, the outputs of the first register are connected respectively to the information and the inputs of the random access memory and are connected respectively to the information inputs of the first group of p-bit adders, the inputs of the second group of which are connected respectively to the outputs of the elements of the NOT subtractor, the inputs of which are connected respectively to the outputs of the second Составитель М. Есенина Редактор П. Гереиш Техред Д. Кравчук Корректор С. ШекмарCompiled by M. Yesenin Editor P. Gereish Tehred D. Kravchuk Proofreader S. Shekmar 2864/442864/44 Тираж 672ПодписноеCirculation 672 Subscription ВНИНГП1 Государственного комитета СССРVNINGP1 USSR State Committee по делам изобретений и открытий 13035, Москва, Ж-35, Раушска  наб. д. А/5for inventions and discoveries 13035, Moscow, Zh-35, Raushsk nab. A / 5 Г роизводстиенно-полиграфическое предпри тие, г, Ужгород, ул. Проектна , 4Production and Printing Enterprise, Uzhgorod, st. Project, 4 222626222626 регистра, информационные входы которого соединены соответственно с выходами оперативного запоминающего устройства, вход переноса п-разр д- 5 ного сумматора соединен с входом логической единицы устройства, выходы п-разр дного сумматора соединены соответственно с входами с первого по п-й первой группы N-разр дного сум- 0 матора, входы первой группы с (п+1)- го по N-й которого соединены с выходом п-го разр да п-разр дного сумматора , входы второй группы N-разр дного сумматора соединены соответст- 5 венно с выходами регистра накапливающего сумматора и соединены соответственно с выходами накапливающего сумматора, вход сброса устройства соединен с входами установки первого 0 регистра и регистра накапливающего сумматора, информационные входы которого соединены соответственно с выходами N-разр дного сумматора.the register, informational inputs of which are connected respectively to the outputs of the random access memory, the transfer input of the n-bit d-5 adder is connected to the input of the logical unit of the device, the outputs of the n-bit adder are connected respectively to the inputs from the first to the nth first group N- discharge sum- mat, the inputs of the first group with (n + 1) - th to N-th of which are connected to the output of the n-th discharge of the n-bit adder, the inputs of the second group of N-bit adder are connected respectively with register accumulation su mmator and connected respectively to the outputs of the accumulating adder, the device reset input is connected to the installation inputs of the first 0 register and accumulating adder register, the information inputs of which are connected respectively to the outputs of the N-bit adder.
SU853974808A 1985-11-11 1985-11-11 Device for summing n numbers arriving in sequential order SU1322262A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU853974808A SU1322262A1 (en) 1985-11-11 1985-11-11 Device for summing n numbers arriving in sequential order

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU853974808A SU1322262A1 (en) 1985-11-11 1985-11-11 Device for summing n numbers arriving in sequential order

Publications (1)

Publication Number Publication Date
SU1322262A1 true SU1322262A1 (en) 1987-07-07

Family

ID=21204636

Family Applications (1)

Application Number Title Priority Date Filing Date
SU853974808A SU1322262A1 (en) 1985-11-11 1985-11-11 Device for summing n numbers arriving in sequential order

Country Status (1)

Country Link
SU (1) SU1322262A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР 581470, кл. G 06 F 7/50, 1975. Авторское свидетельство СССР № 1075260, кл. G 06 F 7/50, 1982. *

Similar Documents

Publication Publication Date Title
SU1322262A1 (en) Device for summing n numbers arriving in sequential order
SU1716536A1 (en) Device for multiplying matrices
SU1322269A1 (en) Device for extracting root of sum of squares of three numbers
SU1319017A1 (en) Information input device
SU1185325A1 (en) Device for searching given number
RU1807499C (en) Matrix multiplier
RU1835543C (en) Appliance for sorting of numbers
SU1383445A1 (en) Device for delaying digital information
SU1594515A1 (en) Digital function converter
SU1103226A1 (en) Device for computing square root
SU1264239A1 (en) Buffer storage
SU1288758A1 (en) Storage with information checking
SU551702A1 (en) Buffer storage device
SU1156066A1 (en) Device for multiplying binary numbers
SU402156A1 (en) PULSE DISTRIBUTOR
SU1383326A1 (en) Device for programmed delay of information
SU1259283A1 (en) Device for determining number of combinations
SU1598171A1 (en) Four-digit binary counter
SU1647591A1 (en) Matrix inversion device
SU1300458A1 (en) Device for determining extreme numbers
SU1594536A1 (en) Device for interrupting programs
SU1201855A1 (en) Device for comparing binary numbers
SU1352535A1 (en) Self-monitoring shifting device
SU1291988A1 (en) Information input device
SU1298766A1 (en) Device for generating addresses of fast fourier transform processor