SU771668A1 - Subtracting device - Google Patents

Subtracting device Download PDF

Info

Publication number
SU771668A1
SU771668A1 SU792709717A SU2709717A SU771668A1 SU 771668 A1 SU771668 A1 SU 771668A1 SU 792709717 A SU792709717 A SU 792709717A SU 2709717 A SU2709717 A SU 2709717A SU 771668 A1 SU771668 A1 SU 771668A1
Authority
SU
USSR - Soviet Union
Prior art keywords
output
sign
trigger
input
counter
Prior art date
Application number
SU792709717A
Other languages
Russian (ru)
Inventor
Моисей Овшеевич Гингис
Михаил Александрович Тепляков
Original Assignee
Предприятие П/Я Г-4421
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 Предприятие П/Я Г-4421 filed Critical Предприятие П/Я Г-4421
Priority to SU792709717A priority Critical patent/SU771668A1/en
Application granted granted Critical
Publication of SU771668A1 publication Critical patent/SU771668A1/en

Links

Description

Изобретение относитс  к области вьгшслительной техники и предназначено дл  определени  разности двух чисел в пр мом коде. Известно устройство дл  определени  разнос ти двух чисел 1, содержащее генератор импульссш , элемент И, запускающий триггер, два счетчика, два блока совпадени  кодов, элемент ИЛИ. Это устройство не позвол ет получить разность двух чисел в пр мом коде из-за отсутстви  устройства, фиксирующего результат вычитани , не позвол ет определить знак разности двух чисел, что ухудшает зксплуатационные характеристики устройства. Известно вычитающее устройство 2, содержащее генератор импульсов, три счетшка, два детектора, шесть триггеров, инверторы, элементы И, ИЛИ, Принцип действи  зтого устройства основан на последовательном вычитании единичных импульсов из двух счетчиков, в которых хран тс  коды исходных чисел до обнулени  счетчиков, с фиксацией результата вычитани  на третьем счетчике. При этом исходные числа ввод тс  в устройство, а результат вычитани  образуетс  в пр мом коде. Недостатком такого устройства  вл етс  его сложность, обуаповленна  наличием большого числа Элементов и св зей. Наиболее близким к датшому изобретению  вл етс  вычитающее устройство 3. Это устройство содержит генератор вычитающих имнульсов , два счетчика, два триггера знака. причем установочные входы первого и второго с етчиков объедннень и соединены со входами установки в нуль первого и второго триггеров знака и входом Запись устройства; выход первого элемента И coepiiHeH с числовым входом устройства, а первый вход этого элемента И соединен со счетнымк входами первого и второго счетчиков, причем выход первого счетчика соединен со входом установки в единицу первого триггера знака, а выход второго счетчика соединен со входом установки в единицу второго триггера знака; выход единица первого триггера знака соединен с выходом минус устройства, а выход единица второго триггера знака со входом плюс устройства, второй элемент И, два элемента ИЛИ, причем первый вход второго элементаThe invention relates to the field of downstream technology and is intended to determine the difference of two numbers in the forward code. A device is known for determining the spacing of two numbers 1, comprising a pulse generator, an AND element, a trigger trigger, two counters, two code matching blocks, an OR element. This device does not allow to get the difference of two numbers in the direct code due to the absence of a device that fixes the result of the subtraction, does not allow to determine the sign of the difference of two numbers, which degrades the performance characteristics of the device. A subtractive device 2 is known that contains a pulse generator, three counters, two detectors, six triggers, inverters, AND, OR elements. The principle of operation of the device is based on the successive subtraction of single pulses from two counters, in which codes of initial numbers are stored until the counters are reset, with the fixation of the result of the subtraction on the third counter. In this case, the original numbers are entered into the device, and the result of the subtraction is formed in the forward code. The disadvantage of such a device is its complexity, due to the presence of a large number of elements and links. The closest to the current invention is subtractive device 3. This device contains a subtracting generator, two counters, two sign triggers. moreover, the installation inputs of the first and second with etochik unification and connected to the inputs of the installation to zero of the first and second triggers of the sign and the input Record device; the output of the first element is And coepiiHeH with a numerical input of the device, and the first input of this element is And is connected to the counting inputs of the first and second counters, the output of the first counter is connected to the input of the unit installation of the first sign trigger, and the output of the second counter is connected to the input of the second unit trigger sign; the output unit of the first sign trigger is connected to the output of the minus device, and the output unit is the second sign trigger with the input plus the device, the second And element, two OR elements, and the first input of the second element

И ссхцинси с выходом генератора, второй вход второго элемента И соединен с выходом первог элемента ИЛИ, а выход второго элемента И юединен со счетным входом первого счетчика, выход нуль первого и второго триггера знака соединены со входами первого элемента ИЛИ, выходы единица первого и второго триггера знака соединены со входами второго элемента ИЛИ соответственно, выход второго элемента ИЛИ со вторым входом первого элемента И.And sshtsinsi with the output of the generator, the second input of the second element AND is connected to the output of the first element OR, and the output of the second element I connected to the counting input of the first counter, the output zero of the first and second sign trigger are connected to the inputs of the first element OR, the outputs of the first and second trigger the sign is connected to the inputs of the second element OR, respectively, the output of the second element OR to the second input of the first element I.

Принцип действи  этого устройства основан на и()следователы ом вытатании единишых им1:ульсов из двух регистров-счетчиков, в которых хран тс  коды исходных чисел. При этом, вычитание происходит до установки в единичное состо ние всех разр дов счетчика, в который было записано наибольшее число. Ввиду симметричности схемы результат вычитани  образуетс  в том счетчике, в который былоThe principle of operation of this device is based on and () the investigators of the quoting of single im1: pulses from two register-counters, in which the codes of the original numbers are stored. At the same time, the subtraction occurs before installation in a single state of all bits of the counter, in which the largest number was recorded. Due to the symmetry of the scheme, the result of the subtraction is formed in the counter in which there was

занесено меньшее из двух чисел. Это приводит к отсутствию o/woro выхода дл  разности чисел , что ухудшает эксплуатащюнные характеристики устройства. Также отсутствует в устройстве один выход дл  знака разности.The smaller of the two numbers is entered. This results in no o / woro output for the difference in numbers, which degrades the operational characteristics of the device. Also, there is no one output for the difference sign in the device.

Кроме того, в известном устройстве результат вычитани  получаетс  в дополнительном коде, даже ели разность положительна. Все вышесказанное ухудилает эксплуатационные характеристики устройства.In addition, in a known device, the result of the subtraction is obtained in the additional code, even if the difference is positive. All the above degrades the performance of the device.

Цель изобретени  .заключаетс  в улучшении эксплуатационных характеристик устройства.The purpose of the invention is to improve the performance of the device.

Поставленна  цель достигаетс  тем, что выштающее устройство, содержашее генератор импульсов, два счетчика, триггер и элемент И, первый вход которого соединен с выходом генератора импульсов, а выход подключен ко входам счетчиков, выходы разр дов первого из которых соединены с информационными выходами устройства, пр мой выход триггера подключен к знаковому выходу устройства, нулевой вход триггера и установочные входы счетчиков подключены к управл ющему входу устройства, содержит два дешифратора нул , входы каждого из которых соединены с выход ми разр дов соответствуюшего счеттака, выход первого депл1фратора нул  соединен с единичным входом триггера, пр мой выход которого подключен ко входу управлени  сложени , а инверсный выход - ко входу управлени The goal is achieved by sending out a device containing a pulse generator, two counters, a trigger and an element I, the first input of which is connected to the output of the pulse generator, and the output is connected to the inputs of the counters, the outputs of the first of which are connected to the information outputs of the device, etc. my trigger output is connected to the sign device output, the zero input of the trigger and the installation inputs of the meters are connected to the control input of the device, it contains two zero decoder, the inputs of each of which are connected to the output of the bits of the corresponding counter, the output of the first zero-fraction generator is connected to a single trigger input, the direct output of which is connected to the input of the add control, and the inverse output to the control input

вычитанием первого счетчика, инверсный выход второго деишфратора нул  подключен ко второму входу элемента И.by subtracting the first counter, the inverse output of the second deshfratora zero is connected to the second input of the element I.

На чертеже представлена функциональна  схема вычитающего устройства.The drawing shows the functional diagram of the subtracting device.

Вычитающее устройство содержит генератор импульсов 1, элеме1гт И 2, счетчик вычитаемого 3, реверсивный счетчик 4, дешифраторы нул  5, 6, триггер знака 7, управл ющий вход Запись 8, информационные выходы 9, знуковь/й выход 10.The subtractive device contains a pulse generator 1, element 1, and 2, a counter of the subtracted 3, a reversible counter 4, decoders zero 5, 6, a trigger 7, a control input Record 8, information outputs 9, a child / output 10.

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

Сигналом Запись со входа 8 вычитаемое заноситс  в счетчик 3, уменьшаемое закс)ситс  в реверсивный счетчик 4, триггер знака 7 устанавливаетс  в нулевое состо ние. При этом реверсивный счетчик 4 настраиваетс  на вычитание, дешифратор нул  5 выдает разрешающий сигнал на элемент И 2 и импульсы от генера ,тора импульсов 1 через элемент И 2 поступают на счетные входы счетчиков 3, 4, уменьша  их содержимое.By the Signal Record from input 8, the deductible is entered into counter 3, decrementing of the order in reversible counter 4, the trigger of sign 7 is set to the zero state. In this case, the reversible counter 4 is adjusted for subtraction, the decoder zero 5 outputs a permit signal to the element AND 2 and the pulses from the generator of the pulse 1 through the element AND 2 arrive at the counting inputs of counters 3, 4, reducing their content.

Вычитание происходит до обнулени  счетчик вычитаемого 3, при этом дешифратор нул  5 выдает запрещающий сигнал на элемент И 2.The subtraction occurs before zeroing the counter of the subtracted 3, while the decoder zero 5 outputs a inhibit signal to the And 2 element.

Если вычитаемое меньше уменьшаемого, то состо ние реверсивного счетчика 4 не пройдет через нуль, поэтому триггер знака 7 остаетс  в нулевом состо нии. При этом, на информационном выходе 9 фиксируетс  разность двух чисел в пр мом коде, на выходе знака 10 фиксируетс  знак разности в виде логического нул .If the deductible is less than the decrement, then the state of the reversible counter 4 will not pass through zero, therefore the trigger of the sign 7 remains in the zero state. In this case, at the information output 9, the difference of two numbers in the forward code is fixed, at the output of the sign 10, the sign of the difference is fixed in the form of a logical zero.

Если вычитаемое больше уменьи.1аемого, то до обнулени  счетчика вычитаемого 3, первым обнулитс  реверсивный счетчик 4, при этом сигнал с дешифратора нул  6 устанавливает триггер знака в единичное состо ние, что приводит к переключению режима работв реверсивного счетчика 4 с вычитани  на сложение. В результате вычитани , которое заканчиваетс  обнулением счетчика вычитаемого 3, на информационном выходе 9 фиксируетс  разность исходных чисел в пр мом коде, на выходе, знака 10 фиксируетс  знак разности в виде логической единицы.If the deductible exceeds the value of 1, then before zeroing the counter of the deductible 3, the reversible counter 4 will be reset first, and the signal from the zero decoder 6 sets the sign trigger to one, which switches the operating mode of the reversible counter 4 from subtraction to addition. As a result of the subtraction, which ends with the zeroing of the counter of the subtracted 3, the difference between the initial numbers in the direct code is fixed at the information output 9, and the sign 10 is fixed at the output of the difference sign as a logical unit.

Если вычитаемое равно уменьшаемому, то на информационном выходе 9 фиксируетс  нулевой код разности двух чисел, сигнал с дешифратора нул  6 устанавливает триггер знака 7 в единичное состо ние. При этом знак разности двух чисел фиксируетс  в виде логической единицы.If the deductible is equal to the decremented one, then the zero out code of the difference of two numbers is fixed at the information output 9, the signal from the decoder zero 6 sets the trigger of the sign 7 to one state. In this case, the sign of the difference of two numbers is fixed as a logical unit.

Таким образом, в данном устройстве имеетс  один выход, как дл  знака разности, так и дл  самого значени  разности двух чисел , причем значение разности получаетс  в пр мом коде. Таким образом, происходит улучшение эксплуатационных характеристик.Thus, in this device there is one output, both for the sign of the difference, and for the very value of the difference of two numbers, and the value of the difference is obtained in the forward code. Thus, there is an improvement in performance.

Claims (3)

1.Авторское свидетельство СССР № 531155, кл. G 06 F 7/385, 1974.1. USSR Author's Certificate No. 531155, cl. G 06 F 7/385, 1974. 2.Патент Японии N 47-40970, кл. 97/7/Е31, 1972.2. Japanese Patent N 47-40970, cl. 97/7 / E31, 1972. 3.Авторское свидетельство СССР № 450166, кл. G 06 F 7/385, 1972 (прототип).3. USSR author's certificate number 450166, cl. G 06 F 7/385, 1972 (prototype).
SU792709717A 1979-01-08 1979-01-08 Subtracting device SU771668A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU792709717A SU771668A1 (en) 1979-01-08 1979-01-08 Subtracting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU792709717A SU771668A1 (en) 1979-01-08 1979-01-08 Subtracting device

Publications (1)

Publication Number Publication Date
SU771668A1 true SU771668A1 (en) 1980-10-15

Family

ID=20803932

Family Applications (1)

Application Number Title Priority Date Filing Date
SU792709717A SU771668A1 (en) 1979-01-08 1979-01-08 Subtracting device

Country Status (1)

Country Link
SU (1) SU771668A1 (en)

Similar Documents

Publication Publication Date Title
SU771668A1 (en) Subtracting device
SU1688414A1 (en) Coder of position code
SU587628A1 (en) Pulse repetition frequency divider
SU788109A1 (en) Device for computing difference of two numbers
SU752470A2 (en) Coder
SU590735A1 (en) Multiplication arrangement
SU809583A1 (en) Reversible counting device
SU733109A1 (en) Reversible ternary n-bit pulse counter
SU411453A1 (en)
SU869055A1 (en) Frequency divider
SU962953A1 (en) Binary code checking device
SU450366A1 (en) Majority element
SU1427360A1 (en) Dividing device
SU1016781A1 (en) Substracting device
SU1030816A1 (en) Device for geometrical transformations of object images
SU813416A2 (en) Parallel counter-type adder
SU681428A1 (en) Device for selecting minimum number
SU780195A1 (en) Code transmitter
SU752325A1 (en) Device for determining minimum number
SU866747A1 (en) Device sensing -out of counter readings
SU769520A1 (en) Information input-output arrangement
SU612413A1 (en) Reversible counter
SU612405A1 (en) Decoder
SU884114A1 (en) Pulse duration discriminator
SU794633A1 (en) Monotonically varrying code converter