SU1698887A1 - Adder-subtracter unit - Google Patents
Adder-subtracter unit Download PDFInfo
- Publication number
- SU1698887A1 SU1698887A1 SU904813305A SU4813305A SU1698887A1 SU 1698887 A1 SU1698887 A1 SU 1698887A1 SU 904813305 A SU904813305 A SU 904813305A SU 4813305 A SU4813305 A SU 4813305A SU 1698887 A1 SU1698887 A1 SU 1698887A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- group
- inputs
- input
- register
- adders
- Prior art date
Links
Description
1one
(21)4813305/24 (22) 10.04.90 (46)15.12.91. Бюл. № 46(21) 4813305/24 (22) 04/10/90 (46) 12/15/91. Bul No. 46
(71)Одесский политехнический институт(71) Odessa Polytechnic Institute
(72)А.В.Дрозд, Е.Л.Полин,- В.Н.Огинский и Ю.В.Дрозд (53)681.325(088.8)(72) A.V. Drozd, E.L.Polin, - V.N.Oginsky and Yu.V.Drozd (53) 681.325 (088.8)
(56) Авторское свидетельство СССР № 959069, кл. G 06 F 7/50, 1980.(56) USSR Author's Certificate No. 959069, cl. G 06 F 7/50, 1980.
Преснухин Л.Н., Нестеров П.В. Цифровые вычислительные машины. М.: Высша школа, 1974, с.138, рис.3.33.Presnukhin L.N., Nesterov P.V. Digital computers. M .: Higher School, 1974, p.138, ris.3.33.
-(54) УСТРОЙСТВО ДЛЯ СЛОЖЕНИЯ И ВЫЧИТАНИЯ ЧИСЕЛ- (54) DEVICE FOR ADDITION AND READING NUMBERS
(57) Изобретение относитс к вычислительной технике и может быть использовано при построении арифметических блоков ЭВМ. Целью изобретени вл етс расширение функциональных возможностей устройства путем сложени положительных и отрицательных чисел. Устройство дл сложени и вычитани чисел содержит регистр 1, сумматоры 2 и триггеры 3, соединенные между собой функционально. 2 ил.(57) The invention relates to computing and can be used in the construction of computer arithmetic units. The aim of the invention is to enhance the functionality of the device by adding positive and negative numbers. The device for adding and subtracting numbers contains register 1, adders 2 and triggers 3 interconnected functionally. 2 Il.
ww
ЈJ
о ю соabout you
00 0000 00
VJVj
Изобретение относитс к вычислительной технике и может быть использовано в арифметических блоках ЭВМ.The invention relates to computing and can be used in computer arithmetic units.
Известен одноразр дный накапливающий сумматор, содержащий элементы И, схему задержки, элементы ИЛИ и Т-триггер.A one-bit accumulating adder is known, containing AND elements, a delay circuit, OR elements and a T-flip-flop.
Недостатками такого устройства вл ютс ограниченные функциональные возможности вследствие накоплени суммы только двух положительных чисел.The disadvantages of such a device are limited functionality due to the accumulation of the sum of only two positive numbers.
Известен комбинационный последовательный сумматор, содержащий первый сумматор группы (сумматор), первый триггер группы (схема П), регистр (регистр 1-го слагаемого), регистр 2-го слагаемого и регистр результата, причем выход регистра подключен к первому входу сумматора группы , второй вход которого соединен с выходом регистра 2-го слагаемого, выход переноса соединен с выходом первого триггера группы, информационный вход которого подключен к выходу переноса первого сумматора группы, выход суммы которого соединен с входом регистра результата, выход которого вл етс выходом устройства.Known combinational serial adder containing the first group adder (adder), the first group trigger (circuit P), the register (register of the 1st addend), the register of the 2nd addend and the result register, the output of the register connected to the first input of the adder of the group, the second the input of which is connected to the output of the register of the 2nd term, the transfer output is connected to the output of the first trigger of the group, the information input of which is connected to the transfer output of the first adder of the group, the output of the sum of which is connected to the input of the register the one whose output is the output device.
Недостатками известного устройства вл ютс ограниченные функциональные возможности вследствие получени суммы только двух положительных чисел.The disadvantages of the known device are limited functionality due to the sum of only two positive numbers.
Цель изобретени - расширение функциональных возможностей устройства путем сложени tчисел: m положительных и п отрицательных (т + п « ).The purpose of the invention is to expand the functionality of the device by adding t numbers: m positive and n negative (m + n).
Указанна цель достигаетс тем, что в устройство, содержащее регистр, первый сумматор группы и первый триггер группы, причем выход регистра соединен с первым входом первого сумматора группы, выход переноса которого соединен с информационным входом первого триггера группы, выход которого соединен с входом переноса первого„сумматора группы, введены с второго по {-и сумматоры группы и с второго по &й триггеры группы, причем вход режима регистра объединен с входами сброса триггеров группы и вл етс входом начальной установки устройства, синхровход регистра объединен с синхровходами триггеров группы и вл етс тактовымвходом устройства, информационные входы регистра вл ютс входами кода п устройства, выходы суммы всех предыдущих сумматоров группы соединены с первыми входами последующих сумматоров группы, вторые входы сумматоров группы вл ютс входами соответствующих слагаемых устройства, выходы переноса сумматоров группы с второго по t-й подключены к информационным входам соответствующих триггеров группы, выходы которых соединены с входами переноса соответствующих сумматоров группы, выход суммы Е-го сумматора группы вл етс выходом устройства.This goal is achieved in that the device containing the register, the first group adder and the first group trigger, the register output being connected to the first input of the first group adder, the transfer output of which is connected to the information input of the first group trigger, the output of which is connected to the first transfer terminal group accumulator, entered from the second to {-and group adders and from the second to & group triggers, the register mode input combined with the group trigger reset inputs and the device initial setup input register sync is combined with group trigger sync inputs and is a device clock input, register information inputs are device n code inputs, the sum outputs of all previous group accumulators are connected to the first inputs of subsequent group adders, the second group adders inputs are the inputs of the corresponding addends of the device, and outputs transferring the adders of the group from the second to the t-th are connected to the information inputs of the corresponding group triggers, the outputs of which are connected to the transfer inputs respectively The group's adders, the output of the sum of the E-th group adder, is the output of the device.
Предполагаемое изобретение соответствует критерию существенные отличи поскольку содержит по сравнению с известными решени ми дополнительно сумматоры группы и триггеры группы, которые в совокупности с введенными св з ми обес0 печивают сложение m положительных и п отрицательных чисел, что расшир ет функциональные возможности устройства.The proposed invention meets the criterion of significant differences because, as compared with the known solutions, it additionally contains group adders and group triggers, which together with the entered links provide the addition of m positive and n negative numbers, which expands the functionality of the device.
На фиг. 1 показана структурна схема устройства; на фиг. 2 - временные диаграм5 мы, по сн ющие работу устройства.FIG. 1 shows a block diagram of the device; in fig. 2 - time diagrams 5 of us, which explain the operation of the device.
Устройство содержит регистр 1, сумматоры 2.1, 2.22.Ј группы и триггеры 3.1,The device contains a register 1, adders 2.1, 2.22.Ј groups and triggers 3.1,
3.2,..., З.Егруппы, причем вход режима регистра 1 обьдинен с входами сброса триггеров 3.1,3.2, ..., Z. Egroups, and the input of register mode 1 is combined with the reset inputs of triggers 3.1,
0 3.23.1 группы и вл етс входом начальной установки устройства, синхровход регистра 1 объединен с синхровходами0 3.23.1 group and is the input of the initial installation of the device, the synchronous input of register 1 is combined with the synchronous input
триггеров 3.1, 3.2З.Јгруппы и вл етс triggers 3.1, 3.2З.Ј groups and is
тактовым входом устройства, информаци5 онные входы регистра 1 вл ютс входами кода п устройства, а выход соединен с первым входом первого сумматора 2.1 группы, выход суммы каждого предыдущего сумма-- тора группы 2 подключен к первому входуthe clock input of the device, the information inputs of register 1 are the inputs of the device code n, and the output is connected to the first input of the first adder 2.1 of the group, the output of the sum of each previous sum of the torus of group 2 is connected to the first input
0 последующего сумматора группы 2, вторые входы сумматоров группы 2 подключены к входам соответствующих слагаемых устройства , а выходы переноса соединены с информационными входами соответствующих0 of the subsequent adder of group 2, the second inputs of the adders of group 2 are connected to the inputs of the corresponding addends of the device, and the outputs of the transfer are connected to the information inputs of the corresponding
5 триггеров группы 3, выходы которых соединены с входами переноса соответствующих сумматоров группы 2, выход суммы сумматора 2.Ј вл етс выходом устройства.5 triggers of group 3, the outputs of which are connected to the transfer inputs of the corresponding adders of group 2, the output of the sum of the adder 2.Ј is the output of the device.
Устройство выполн ет сложение в по0 следовательном коде m положительных и п отрицательных чисел и работает следующим образом.The device performs addition in the successive code of m positive and n negative numbers and works as follows.
На тактовый вход устройства поступают синхроимпульсы ТИ типа меандр, такти5 рующие работу устройства. Дл этого синхроимпульсы ТИ подаютс на синхровход регистра 1 и синхровходы триггеров группы 3.TI clock pulses of the type of a meander are applied to the clock input of the device, which synchronize the operation of the device. For this, the clock pulses TI are fed to the clock input register 1 and the clock inputs of the trigger group 3.
На вход начальной установки устройст0 ва поступает импульс НУ, триггеры 3.1, 3.2, ..., З.Сгруппы по входам сброса, а также на вход режима регистра 1. При этом регистр 1 переходит в режим Прием информации и по синхроимпульсу ТИ осуществл етс за5 пись в регистр 1 двоичного кода числа п, поступающего на вход устройства. Последующие синхроимпульсы ТИ поступают на синхровход регистра 1 по окончании импульса НУ, когда регистр 1 приходит в режим Сдвиг информации. При этомThe input pulse of the device comes to the input of the initial setup of the device, triggers 3.1, 3.2, ..., Z. Group on the reset inputs, as well as the input of register mode 1. In this case, the register 1 switches to the Information reception mode and the TI synchro-pulse is performed writing in the register 1 binary code of the number n, entering the device. Subsequent TI clock pulses are fed to the synchronous input of register 1 after the termination of the NU pulse, when register 1 enters the information Shift mode. Wherein
происходит выдвижение двоичного кода числа п, начина с младших разр дов, с выхода регистра 1 на первый вход первого сумматора 2.1 группы.the binary code of the number n is advanced, starting with the lower bits, from the output of register 1 to the first input of the first adder 2.1 of the group.
На входы слагаемых устройства посту- пают в последовательном коде, начина с младших разр дов, m положительных чисел и п отрицательных чисел, представленных в обратном коде, - всего I чисел. Эти числа поступают (синхронно с выдвигаемым из регистра 1 числом п) на вторые входы соответствующих сумматоров группы 2. На первые входы всех последующих сумматоров группы 2 поступают сигналы суммы с выходов суммы предыдущих сумматоров группы 2. На входы переноса сумматоров группы 2 поступают сигналы переноса, вычисл емые этими сумматорами на предыдущем такте, дл чего сигнал переноса с выхода переноса каждого сумматора группы 2 записываетс по информационному входу в соответствующий триггер группы 3, а с его выхода в следующем такте поступает на вход переноса сумматора группы 2. При этом в каждомThe inputs of the addends of the device are received in a sequential code, starting with the least significant bits, m positive numbers and n negative numbers represented in the reverse code — the total of I numbers. These numbers are received (synchronously with the number n advanced from register 1) to the second inputs of the corresponding adders of group 2. The first inputs of all subsequent adders of group 2 receive the sum signals from the sum outputs of the previous adders of group 2. The carry inputs of the adders of group 2 calculated by these adders in the previous cycle, for which the transfer signal from the transfer output of each adder of group 2 is recorded from the information input to the corresponding trigger of group 3, and from its output in the next cycle stupid to the input of the transfer of the adder of group 2. In each
такте сумматоры 2.1, 2.22.Сгруппы скла- tact of adders 2.1, 2.22.
дывают очередные разр ды слагаемых чисел с учетом сигналов переносов, полученных на предыдущем такте. Кроме того, получаема сумма корректируетс (увеличиваетс ) на величину двоичного кода п, выдвигаемого из регистра 1 дл сложени в течение одгп тактов. Така коррекци , равна по величине количеству отрицательных слагаемых чисел, обеспечивает сложение Јчисел в дополнительном коде. Разр ды результата сложени (в дополнительном коде ) формируютс на выходе суммы сумматора 2.1, группы и поступают на выход устройства. Разр дность г слагаемых устанавливаетс достаточной дл получени ре- зультата такой же разр дности (г+1)-й разр д на выходе устройства игнорируетс .The next bits of the summed numbers are given taking into account the carry signals received at the previous clock cycle. In addition, the resulting amount is corrected (increased) by the value of the binary code n being moved out of register 1 to be added during one cycle. Such a correction, equal in magnitude to the number of negative terms of numbers, provides the addition of Ј numbers in the additional code. The bits of the result of the addition (in the additional code) are formed at the output of the sum of the adder 2.1, the groups and arrive at the output of the device. The magnitude of the g terms is set sufficiently to obtain a result of the same magnitude (g + 1) -th bit at the output of the device is ignored.
Устройство выполн етс на серийно выпускаемых микросхемах: регистр 1 - на микThe device is executed on commercially available microcircuits: register 1 - on mic
росхеме ИР13; сумматоры группы 2 - на микросхемах ИМ5; триггеры 3 - на микросхемах ТМ9.Roskhema IR13; adders of group 2 - on IM5 microcircuits; triggers 3 - on TM9 microcircuits.
По сравнению с прототипом предложенное устройство позвол ет вычисл ть сумму m положительных и п отрицательных чисел, что расшир ет функциональные возможности устройств подобного типа.Compared with the prototype, the proposed device allows to calculate the sum of m positive and n negative numbers, which expands the functionality of devices of this type.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU904813305A SU1698887A1 (en) | 1990-04-10 | 1990-04-10 | Adder-subtracter unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU904813305A SU1698887A1 (en) | 1990-04-10 | 1990-04-10 | Adder-subtracter unit |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1698887A1 true SU1698887A1 (en) | 1991-12-15 |
Family
ID=21507769
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU904813305A SU1698887A1 (en) | 1990-04-10 | 1990-04-10 | Adder-subtracter unit |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1698887A1 (en) |
-
1990
- 1990-04-10 SU SU904813305A patent/SU1698887A1/en active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1698887A1 (en) | Adder-subtracter unit | |
SU1104527A1 (en) | Device for executing orthogonal walsh transform | |
RU2763988C1 (en) | Accumulating adder-subtractor by an arbitrary natural number modulo | |
US4291387A (en) | Analog to digital conversion weighting apparatus | |
SU1176451A1 (en) | Digital accumulator | |
SU374643A1 (en) | REVERSIBLE DECIMAL COUNTER | |
SU894703A1 (en) | Multiplying device | |
SU953637A1 (en) | Ternary adder | |
SU1115045A1 (en) | P-ary position code-to-binary code translator | |
SU1439580A1 (en) | Device for simultaneous subtraction of two polynominals | |
SU1287145A1 (en) | Computing cell | |
JP2558735B2 (en) | Digital frequency synthesizer | |
SU1020823A1 (en) | Integro-differential calculator | |
SU1487030A1 (en) | Digital functional converter | |
SU1571573A1 (en) | Serial adder | |
RU2018934C1 (en) | Divider | |
SU1418696A1 (en) | Device for implementing boolean functions | |
SU1388997A1 (en) | Residual class system code-to-position code converter | |
SU1376082A1 (en) | Multiplication and division device | |
SU1283979A1 (en) | Binary-coded decimal code-to-binary code converter | |
SU1140118A1 (en) | Device for calculating value of square root | |
SU1174921A1 (en) | Adder-accumulator | |
SU1070545A1 (en) | Computing device | |
SU557362A1 (en) | Accumulator | |
SU1624699A1 (en) | Residue system code to positional code converter |