SU1215109A2 - Subtracting device - Google Patents
Subtracting device Download PDFInfo
- Publication number
- SU1215109A2 SU1215109A2 SU843773687A SU3773687A SU1215109A2 SU 1215109 A2 SU1215109 A2 SU 1215109A2 SU 843773687 A SU843773687 A SU 843773687A SU 3773687 A SU3773687 A SU 3773687A SU 1215109 A2 SU1215109 A2 SU 1215109A2
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- elements
- inputs
- group
- Prior art date
Links
Abstract
Изобретение относитс к области вычислительной техники и может быть использовано при обработке цифровой информации. Целью изобретени вл етс упрощение устройства и расширение области применени за счет .осуществлени управл емого обнуле- ни выхода устройства. Устройство дл вычитани содержит п-разр дный сумматор, группу из п элементов PABTi(DЯ-lf (ПThe invention relates to the field of computing and can be used in the processing of digital information. The aim of the invention is to simplify the device and expand the field of application by implementing a controlled zeroing of the device output. The device for subtraction contains a n-bit adder, a group of n PABTi elements (DI-lf (P
Description
121121
ЗНАЧЕЮСТЬ,группу из п элементрв И, группу из п элементов ИЛИ-НЕ,В-триг- гер.блок задержки,три элемента ИЛИ, три элемента И,элемент HEPАВНОЗНАЧ НОСТЬ,три элемента ИЛИ-НЕ и элемент НЕ,Блок задержки содержит два одновиб-1 ратора.По входу разрешени вычитани 1 а вход блока задержки поступает 1ЙЙ-; пульс сопровождени операндов.По спаду этого гошульса на первом выхо- де блока задержки по вл етс импульс.SIGNIFICANCE, a group of p elements AND, a group of n elements OR-NOT, B-trigger delay block, three elements OR, three elements AND, HEP ALBUM TORCH, three elements OR-NOT and NOT element, Delay unit contains two One-way-one RATOR. At the input of the resolution of subtraction 1 and the input of the delay unit is 1JY-; pulse tracking of operands. Upon the decay of this goshulse, a pulse appears at the first output of the delay unit.
Изобретение относитс к вычислительной технике и может быть исполь зовано при обработке цифровой информации .The invention relates to computing and can be used in the processing of digital information.
Целью изобретени вл етс упрощение устройства и расширение об ласти применени за счет осуществлени управл емого обнулени выхода устройства.The aim of the invention is to simplify the device and expand the scope of use by implementing controlled zero output of the device.
На фиг. 1 дана функциональна схема устройства дл вычитани ; на фиг. 2 - схема блока задержки; на фиг. 3 - временные диаграммы работы устройства.FIG. 1 is a functional block diagram of the subtractor; in fig. 2 - diagram of the delay unit; in fig. 3 - timing charts of the device.
Устройство дл вычитани содер жит н -разр дньй сумматор 1, группу 2 из h элементов РАВНОЗНАЧНОСТЬ , группу 3 из h элементов И, группу 4 из h элементов ШШ-НЕ D -триггер 5j блок 6 задержки, элементы ИЛИ 7-9, элементы И 10-12, элемент НЕРАВНОЗНАЧНОСТЬ 13, элементы ИЛИ-НЕ 14-16, элемент НЕ 17, входы 18 первого операнда, входы 19 второго операнда, вход 20 разрешени вычитани , вход 21 обнуленшц вход 22 задани режима работа, вход 23 разрешени выдачи результата в обратном коде, выход 24 устройства, выход 25 знака разности и выходThe device for subtraction contains n-razdny adder 1, group 2 of h elements UNIFORMITY, group 3 of h elements AND, group 4 of h elements SH-NOT D-trigger 5j block 6 delay, elements OR 7-9, elements AND 10-12, the UNEQUALITY element 13, the elements OR NOT 14-16, the element NOT 17, the inputs 18 of the first operand, the inputs 19 of the second operand, the input 20 of the subtraction resolution, the input 21 zeroes the input 22 specifying the operation mode, the input 23 allowing the output of the result in reverse code, output 24 of the device, output 25 digits of the difference and output
26равенства операндов.26 operands.
Блок 6 задержки содержит первыйBlock 6 delay contains the first
27и второй 28 одновибраторы. Устройство работает следующим27 and second 28 one-shot ones. The device works as follows.
образом.in a way.
В момент времени t, происходит смена информации на входах 18 и 19 первого и второго операндов. По входу 20 разрешени вычитани на вход блока 6 задержки поступаетAt time t, there is a change of information at the inputs 18 and 19 of the first and second operands. Input 20 permits the subtraction to the input of block 6 of the delay arrives
109109
длительность которого больше длитель ности переходного процесса на выходе переноса сумматора, В блоке задержкиi по спаду этого импульса на втором его выходе формируетс импульс, длительность которого выбираетс также больше длительности переходного процесса на выходе пе- ipeHOca сумматора. Изобретение - дополнительное к авт. св.№ 1133592, 3 ил.the duration of which is longer than the duration of the transient process at the transfer output of the adder. In the delay unit i by the decay of this pulse, at its second output a pulse is formed, the duration of which is also chosen longer than the duration of the transient process at the output of the ipeHOca adder. Invention - additional to auth. St. 1133592, 3 Il.
импульс сопровождени операндов. По спаду этого импульса на первом вы- . ходе блока 6 задержки по вл етс импульс, длительность которого 5 больше длительности переходного процесса на выходе переноса сум- ;матора 1. В блоке 6 задержки по спаду jToro импульса на втором его ,выходе формируетс импульс, дли0Iтельность которого выбираетс также больше длительности переходного процесса на выходе переноса сумматора 1.impulse tracking operands. By the decline of this pulse on the first you-. During the delay block 6, a pulse appears, the duration of which 5 is longer than the duration of the transient process at the output of the transfer of sum- mat 1. In block 6, the decay time jToro of the pulse at its second output creates a pulse whose duration is also chosen longer than the transient transfer output of the adder 1.
Если на входе 21 обнулени If the input 21 zeroes
5 присутствует сигнал О, то на выходе элемента И 10 по вл етс сигнал О, а на выходе элемента НЕ 17 - 1. Сигнал 1 с выхода элемента Не 17 разрешает прохождение сигна0 ла через Т) -триггер 5 и элемент И 12, а сигнал О с выхода элемента И 10 разрешает прохождение сигналов через элемент ИЛИ 8 и элемент ШШ- НЕ 14.5, the signal O is present, then the signal O appears at the output of the element And 10, and the output of the element HE 17 is 1. 1. Signal 1 from the output of the element He 17 permits the passage of the signal 0 through the T) trigger 5 and the element 12, and the signal About from the output of the element And 10 allows the passage of signals through the element OR 8 and the element SH- NOT 14.
5 С первого выхода блока 6 задержки в интервале времени от te до t сигнал 1 через последовательно соединенные элементы ИЛИ 9 и И 12 поступает на вход переноса сумма0 тора 1.5 From the first output of block 6 of the delay in the time interval from te to t, signal 1 through the serially connected elements OR 9 and I 12 enters the transfer input of sum0 torus 1.
В интервале времени от t,, до t на первом входе элемента И 11 присутствует сигнал О, который блокирует цепь прохождени сигналаIn the time interval from t ,, to t at the first input of the element 11, there is a signal O, which blocks the signal path
- с выхода переноса сумматора 1 на .вход переноса. В этом интервале времени на входе переноса сумматора 1 присутствует сигнал О.- from the transfer output of the adder 1 to the transfer input. In this time interval, at the transfer input of adder 1, signal O is present.
В интервале времени от t до t элемент И 11 разблокируетс и наIn the time interval from t to t, the element 11 is unlocked on
вход переноса сумматора 1 через последовательно соединенные элементы И 11, ИЛИ 9 и И 12 поступает сигнал с выхода переноса того же сумматора.the transfer input of the adder 1 through the series-connected elements AND 11, OR 9 and And 12 receives a signal from the transfer output of the same adder.
Если на входе 22 задани режима работы присутствует сигнал 1, то на выходах ИЛИ-НЕ 15 и 16 по вл ютс сигналы о. На выходе элемента ИЛИ 8 по вл етс сигнал О, а на выходе элемента ИЛИ-НЕ 14 - 1. Эти сигналы разблокируют соответственно группу 4 элементов ШШ-НЕ и группу 3 элементов И. Следовательно , на первую группу входов сумматора 1 поступает пр мой код первого операнда с входа 18, а на вторую группу входов - инверсный код второго операнда с входа 19. В сумматоре 1 производитс вычитание кода второго операнда из кода первого - операнда.If signal 1 is present at input 22 of the operation mode setting, then signals OR will NOT appear at outputs 15 and 16. At the output of the element OR 8, the signal O appears, and at the output of the element OR NOT 14 is 1. These signals unblock, respectively, a group of 4 elements SH-NOT and a group of 3 elements I. Consequently, the first group of inputs of the adder 1 receives the direct code the first operand from input 18, and to the second group of inputs - the inverse code of the second operand from input 19. In adder 1, the code of the second operand is subtracted from the code of the first operand.
Если второй операнд по величине меньше первого операнда, то на выходе перноса сумматора 1 в момент времени t будет присутствовать сигнал 1. Этот сигнал по спаду импульса на первом -выходе блока 6 задержки будет записан в Т)-триггер 5. В моменты времени t и tj на выходе переноса сумматора 1 будет также присутствовать сигнал 1. Таким образом, на первом и втором входах элемента НЕРАВНОЗНАЧНОСТЬ 13 к моменту фиксации результата вычитани будут присутствовать сигналы О, iСледовательно, на выходе элемента НЕРАВНОЗНАЧНОСТЬ 13If the second operand is smaller than the first operand, then the output of the transfer of adder 1 at time t will be signal 1. This signal will be recorded at the first output of delay block 6 at T) -trigger 5. At times t and tj at the output of the transfer of adder 1, signal 1 will also be present. Thus, at the first and second inputs of the element EQUALITY 13, by the time the result of the subtraction is fixed, there will be signals O, iFactly, the output of the element UNEQUALITY 13
будет- сигнал О.will be a signal O.
Таким образом, на выходе 25 знака разности и на выходе 26 равенства операндов зафиксируетс результат сравнени соответственно сигналами 1 и О. На выходе 24 будет разность операндов в пр мом коде.Thus, at the output 25 of the sign of the difference and at the output 26 of equality of the operands, the result of the comparison, respectively, with signals 1 and O is recorded. At output 24 there will be a difference of operands in the forward code.
Если второй операнд больше по величине первого операнда, то на выходе переноса сумматора 1 в момент времени ty будет присутствовать сигнал О, Этот сигнал по спаду импульса на первом выходе блока 6 задержки будет записан в D -триггер 5. В интервале времени от tg до t-f на выходе переноса сумматора 1 будет присутствовать сигнал О. Таким образом, на первом и втором входах элемента НЕРАВНОЗНАЧНОСТЬIf the second operand is larger than the first operand, then at the output of the transfer of adder 1 at time ty the signal O will be present. This signal on the pulse decay at the first output of the delay block 6 will be recorded in the D-trigger 5. In the time interval from tg to tf the output of the transfer of the adder 1 will be a signal O. Thus, at the first and second inputs of the element UNEQUALITY
13 к моменту фиксации результата вычитани будут присутствовать сигна215109413 by the time the result of the subtraction is fixed, signal2151094 will be present
лы О. Следовательно, на выходе этого элемента будет сигнал О. ly O. Therefore, the output of this element will be the signal O.
Таким образом, на выходе 25 знака разности и на выходе 26 равенства с зафиксируетс результат сравнени сигналом О, а по выходу 24 будет разность операндов в пр мом коде.Thus, at the output 25 of the sign of the difference and at the output 26 of the equality c, the result of the comparison is recorded by the signal O, and at the output 24 there will be the difference of the operands in the forward code.
Если код второго операнда равен по величине коду первого операнда, to то на выходе переноса сумматора 1 в момент времени t g будет присутствовать сигнал 1. Этот сигнал по спаду импульса на первом входе блока 6 задержки будет записан в J5 f -триггер 5. В интервале времени от t,o на выходе переноса сумматора 1 будет присутствовать сигнал О. Таким образом, на первом входе элемента НЕРАВНОЗНАЧНОСТЬ 13 присут- 20 ствует сигнал О, а на втором входе - сигнал 1 ...Следовательно, на вы- . ходе элемента,НЕРАВНОЗНАЧНОСТЬ .13 будет сигнал 1.If the code of the second operand is equal to the code of the first operand, then at the output of the transfer of adder 1 at time tg signal 1 will be present. This signal will be recorded at the first input of delay unit 6 at J5 f-trigger 5. In the time interval from t, o at the output of the transfer of adder 1 there will be a signal O. Thus, at the first input of the UNEMATE DETAILER element 13 there is a signal O, and at the second input there is a signal 1 ... Therefore, at you. during element, UNEQUALITY .13 will be signal 1.
Таким образом, на выходе 25 знака 25 разности и на выходе 26 равенства зафиксируетс результат сравнени соответственно сигналами О и 1, На выходах сумматора 1 к моменту фиксации результата вычитани полу- чаетс разность операндов в инверсном коде, так как на входе переноса сумматора 1 присутствует сигнал О и первый операнд по величине равен второму. Так как на входах элемента ИЛИ 7 присутствуют сигналы О,то 35 и на первых входах элементов РАВНОЗНАЧНОСТЬ группы 2 будет сигнал О. Следовательно, на выходе 24 будет нулева разность операндов.Thus, at the output 25 of the sign 25 of the difference and at the output 26 of the equality, the result of comparison, respectively, by signals O and 1, is fixed. At the outputs of adder 1, the difference of operands in the inverse code is obtained at the moment of recording the result of the subtraction, since Oh and the first operand is equal to the second. Since at the inputs of the element OR 7 there are signals O, then 35 and at the first inputs of the elements EQUALITY of group 2 will be the signal O. Therefore, at the output 24 there will be zero difference of the operands.
Если на входе 22 задани режима 0 работы присутствует сигнал О, то устройство дл вьгчитани работает в режиме передачи на выход либо пер- fBoro операнда, либо второго в зависимости от сигнала на входе 23. 45If the signal O is present at the input 22 of the job mode 0 operation, the device operates in the transfer mode to the output of either the per-fBoro operand or the second one, depending on the signal at the input 23. 45
Если на вход 23 подан сигнал О, то на выход 24 устройства передаетс первый операнд. В этом случае на выходах элемента ИЛИ-НЕ 15, эле50 мента ИЛИ 7, элемента ИЛИ 8 и элемента ШШ-НЕ 14 по вл ютс сигналы 1. При этом группа 3 элементов И разблокирована, а группа 4 элементов ИЛИ-НЕ заблокирована, т.е. наIf the signal O is applied to the input 23, then the first operand is transmitted to the output 24 of the device. In this case, the outputs of the element OR-NOT 15, the element OR 7, the element OR 8 and the element ШШ-НЕ 14 appear signals 1. At that, the group of 3 elements AND is unlocked, and the group of 4 elements OR is NOT blocked, t. e. on
55 первую группу входов сумматора 1 поступает первый операнд, а на вторую группу входов сумматора 1 - нулевой код. ..55 the first group of inputs of the adder 1 receives the first operand, and the second group of inputs of the adder 1 receives the zero code. ..
Таким образом, на выходах сумматора 1 получаетс пр мой код первого операнда. На первые входы элементов РАВНОЗНАЧНОСТЬ группы 2 с выхо да элемента ИЛИ 7 поступает сигна 1. Следовательно, на выход 24 устройства поступает пр мой код первого операнда.Thus, at the outputs of adder 1, the direct code of the first operand is obtained. Signal 1 is sent to the first inputs of EQUIPMENT of group 2 from the output of element OR 7. Consequently, the direct code of the first operand is sent to the output 24 of the device.
Если на вход 23 подан сигнал 1, то на выход устройства передаетс второй операнд.If signal 1 is applied to input 23, a second operand is transmitted to the device output.
Если на входе 21 обнулени и на входе 22 задани режима работы одновременно присутствуют сигналы 1, то устройство дл вычитани работает в режиме обнулени . В этом случае на выходе элемента И 10 получаетс сигнал 1, а на выходе элемента НЕ 17 - О. При этом на выходах Ъ. -тригге ра 5 и элементов И 12 и ИЛй-НЕ 14 будут сигналы О, а на выходе элемента ИЛИ 8 будет счгнал 1. Таким образом, на первую и вторую группы входов сумматора 1, вход переноса сумматора t поступают сигналы равные нулю. Следовательно, на выходах сумматора 1 получаетс нулевой результат, а так как на первые входы элементов РАВНОЗНАЧНОСТЬ групп 2 приходит сигнал 1 с выхода элемента ИЛИ 7, то на выходе 24 устройства будет нулевой результат. Так как D -триггер 5 находитс в ну- левом состо нии, а на выходе перено- са сумматора 1 присутствует сигнал О, то и на выходе 26 будет присутствовать сигнал О.If at the input 21 of the zeroing and at the input 22 of the setting of the operation mode, signals 1 are simultaneously present, then the subtractor operates in the zero setting mode. In this case, the output of the element And 10 receives a signal 1, and the output of the element NOT 17 - O. At the same time, the outputs b. -trigger 5 and elements I 12 and ILY-NOT 14 will have signals O, and the output of element OR 8 will be 1. Thus, the first and second groups of inputs of adder 1, the transfer input of adder t receive signals equal to zero. Consequently, at the outputs of the adder 1, a zero result is obtained, and since the first inputs of the elements EQUALITY of groups 2 receive a signal 1 from the output of the element OR 7, then the output 24 of the device will have a zero result. Since the D-trigger 5 is in the zero state, and the output of the transfer of the adder 1 is the signal O, then the output 26 will be the signal O.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843773687A SU1215109A2 (en) | 1984-07-20 | 1984-07-20 | Subtracting device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843773687A SU1215109A2 (en) | 1984-07-20 | 1984-07-20 | Subtracting device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU1133592 Addition |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1215109A2 true SU1215109A2 (en) | 1986-02-28 |
Family
ID=21131903
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU843773687A SU1215109A2 (en) | 1984-07-20 | 1984-07-20 | Subtracting device |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1215109A2 (en) |
-
1984
- 1984-07-20 SU SU843773687A patent/SU1215109A2/en active
Non-Patent Citations (1)
Title |
---|
Титце У., Шенк К. Полупроводникова схемотехника. М.: Мир, 1983 с.337, рис. 19.33. Авторское свидетельство СССР 1133592,. кл. G 06 F 7/50, 1983. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1215109A2 (en) | Subtracting device | |
KR940001556B1 (en) | Digital signal processing apparatus | |
SU1425656A1 (en) | Arithmetic device | |
SU1418751A1 (en) | Linear interpolator | |
SU1198536A1 (en) | Digital extrapolator | |
SU1229966A1 (en) | Reversible converter of binary code to binary-coded decimal code | |
SU1259494A1 (en) | Code converter | |
SU1280615A1 (en) | Versions of device for squaring binary numbers | |
SU1363181A1 (en) | Device for comparing numbers within tolerance zone | |
SU1251103A1 (en) | Fknction generator fknction generatorating structure | |
SU1174919A1 (en) | Device for comparing numbers | |
SU1401479A1 (en) | Multifunction converter | |
SU877529A1 (en) | Device for computing square root | |
SU1522188A1 (en) | Device for input of information | |
SU800992A1 (en) | Coincidence-type adder | |
SU997240A1 (en) | Delay device | |
SU1193672A1 (en) | Unit-counting square-law function generator | |
SU1200278A1 (en) | Arithmetic unit | |
SU1665385A1 (en) | Device for fourier-galois transformation | |
SU896619A1 (en) | Exponential function computing device | |
SU913367A1 (en) | Device for comparing binary numbers | |
SU1509879A1 (en) | Device for computing sums of products | |
SU938280A1 (en) | Device for number comparison | |
SU1633529A1 (en) | Device for majority sampling of asynchronous signals | |
SU1162040A1 (en) | Digital accumalator |