Claims (1)
СЛЕДУЮЩИХ ДРУГ ЗА ДРУГОМ ЧИСЕЛ на шину 16 псх;тупает импульсна после- довательисх;гь, частота которой равна часто те импульсной последовательности на шине 14, причем начала поступлени импульсных последовательностей по шинам 16 и 14 сов падают. Длительность импульснсм последовательности на шине 16 не аависит от длительности импуоаьсной последовательности сравниваемого числа, поэтому при посту лении любого сравниваемого числа на шину 14 поступает импульсна последовательност на шину 16.в Первое число, поступающее по шине 14 через элемент И 3 записываетс в регистр 1, так как на выходе элемента НЕ 4 - еди ничный сигнал. Сигнал Сброс, поступающий после первого числа на шину 15 через элемент И 10, переписывает содержимое регистра 1 в регистр -2., так как. на инверсном выходе триггера 7 - единичньт потенциал. Если первое число не равно нулю, то после сигнала сброса на выходе элемента ИЛИ 5 будет единичный погенциал . При этом импульсна последовательность на шине 16 не поступает через элементы И 3,9, так как на пр мом выходе триггер;: 7 - нулевой потенциал. Импульсы, соответствующие следующему сравниваемому числу, поступают через элементы ИЛИ 12 и И 11 на вычитающий вход регистра 2 и уменьшают его содержимое , так как на выходе элемента ИЛИ 5 единичный потенциал. Если это число больше записанного в регистре . 2, то в MOMeHTt когда в раар. дах регистра 2 по вл ютс нулИв на выходе здемента ИЛИ 5 возникает нулевой потенциал , которй прекращает поступление импульсов очередности числа на вход регистра 2;, и остальные импульсы числа,соответствую щие рааносги сравнив.аемых чисел, поступаю на суммирующий вход : регистра 1 через . элеменг И 3, увванчива его содержимое. Если вгорое число первого или равно ему, го соаержвмое регистра 1 не измен етс . Поступающий после дарного числа н шину 13 сигнал Сброс через элемент И 1 стирает содержимое регистра 2 и перезаписывает в этот регистр число, записанное в регистре 1, когорое эп егс результатом сравнеии - наибольшим из этих двук сравн ваемых чисел. В дальнейшем усгройсгво работает аналЬгично . Перед поступлением последнего числа на входную шину 17 посгупаэг сигнал, перебрасывающий триггер 7 в ейиничное состо ние. Импульсы, соответствующие последнему двоичному числу, пос1упают на вход эле мента И 11 через элемент ИЛИ 12. Одновременно на этот вход поступают ймпульсы с шины 16 через элементы И 8 и i ИЛИ 12, так как на пр мом выходе триггера 7 - единичный потенциал. При этом со входов регистров 1 и 2 через элементы ИЛИ 13 и И 9 на выход устройства 18 также поступает импульсна последователь- ность. Если это последнее число рав«о записанному в регистре 1 или больше его, то определение наибольшего из этих сравниваемых чисел осуществл етс аналогично предыдущему случаю. Если последнее число меньше записанно го в регистре 1, то в момент, когда прекратитс поступление последовательности импульсов на шину 14 и в регистре 2 останетс какое-то число, на вход этого регистра будет поступать последовательность импульсов с шины 16 до тех пор, пока во всех разр дах регистра 2 не по в тс нули. Импульс сброса, поступающий после последнего числа на шину 15, не перезаписывает число с регистра 1 в регистр 2, так как на инверсном выходе триггера 7 нулевой потенциал. В результате в регистре i записанОг а на выход устройство 18 поступает наиболь щее из следующих друг за другом чисел. Применение триггера, трех элементов И и двух элементов ИЛИ в предложенном устройстве позвол ет получать на выходе устройства результат сравнени , представленный последовательностью импульсов. При эгом устройство представл ет результат сравнени в параллельном коде, а также в виде последовательности импульсов. Формула изоб.ретении Устройство дл сравнени следующих друг за другом чисел по авт..свид. № 257868, о сличающее с. тем, что, с целы(9 расширени класса рещаемых задач, в него введены три элемента И, два эпемента ИЛИ и триггер, вход установки в единичное состо ние которого соединен с управл ющей шиной, а пр мой выход подклкьчен к одним входам первого и второго элементов И, другой вход первого элемента И соединен с шиной тактовых сигналов, а выход - с одним из входов первого элемента ИЛИ, другой вход которого подключен ко входной щине устройства, а выход - к информационной щине устройства; выход второго элемента И соединен с выходной шиной устройства, а другой вход - с выходом эоTHE FOLLOWING FRIEND FOR A FRIEND OF NUMBERS on the bus 16 px; there is a stray pulse; gf, whose frequency is often the same as the pulse sequence on bus 14, and the start of the arrival of the pulse sequences on buses 16 and 14 coincide. The duration of the pulse sequence on bus 16 does not depend on the duration of the impulse sequence of the number being compared, therefore when each comparison number is placed on bus 14, the pulse sequence arrives on bus 16. In the first number received on bus 14 through AND 3 is written to register 1, so as at the output of the element NOT 4, a single signal. The Reset signal, arriving after the first number on the bus 15 through the And 10 element, rewrites the contents of register 1 into register -2., Since. at the inverse of the trigger output 7 - unit potential. If the first number is not equal to zero, then after the reset signal at the output of the element OR 5 there will be a unit potential. At the same time, the pulse sequence on bus 16 does not flow through AND 3.9 elements, since the trigger output at the direct output ;: 7 is zero potential. The pulses corresponding to the next compared number are fed through the elements OR 12 and 11 to the subtractive input of register 2 and reduce its content, since the output of the element OR 5 is unit potential. If this number is greater than that recorded in the register. 2, then in MOMeHTt when in raar. dah of register 2, zero output appears at the output of OR 5, a zero potential arises, which stops the flow of the order of the number of pulses to the input of register 2; elemeng And 3, its contents are attached. If the first number is equal to or equal to it, the register register 1 does not change. The reset signal received from the And 1 1 element after the gift number on bus 13 erases the contents of register 2 and overwrites the number recorded in register 1 in this register, which is the result of the comparison, the largest of these two comparable numbers. In the future, the operation will work analogously. Before the last number arrives at the input bus 17, the signal that flips trigger 7 into the primary state. The pulses corresponding to the last binary number are sent to the input of element AND 11 through the element OR 12. At the same time, impulses from the bus 16 are received through the elements AND 8 and i OR 12, since the direct output of the trigger 7 is a single potential. In this case, from the inputs of registers 1 and 2 through the elements OR 13 and I 9, the output of the device 18 also receives a pulse sequence. If this is the last number equal to or more than recorded in register 1, then the determination of the largest of these compared numbers is carried out as in the previous case. If the last number is less than recorded in register 1, then at the moment when the pulse sequence stops on bus 14 and some number remains in register 2, a pulse sequence from bus 16 will go to the input of this register until bits of register 2 are not in the TC zeros. The reset pulse, coming after the last number on bus 15, does not overwrite the number from register 1 to register 2, since the inverse output of trigger 7 has zero potential. As a result, the register 18 records the output of the device 18 and receives the largest of the consecutive numbers. The use of a trigger, three AND elements and two OR elements in the proposed device allows to obtain at the device output a comparison result represented by a sequence of pulses. With this, the device represents the result of the comparison in parallel code, as well as a sequence of pulses. Formula of the invention of a device for comparing successive numbers according to the authors. No. 257868, which compares with. by the fact that, with integer (9 extensions of the class of tasks to be solved, three AND elements, two OR elements and a trigger are introduced into it, the setup input in its one state is connected to the control bus, and the direct output is connected to one input of the first and second And elements, another input of the first element AND is connected to the clock signal bus, and the output is connected to one of the inputs of the first OR element, the other input of which is connected to the device input bus and the output to the device information bus; the output of the second element AND is connected to the output bus devices and others goy input - with the output eo
второго элемента ИЛИ, входы которогоним из входов третьего элемента И, другойthe second element OR, the inputs are the same from the inputs of the third element AND, the other
подключены к счетным входам регистров;вход которого подключен к шине сброса, аconnected to the counting inputs of the registers, the input of which is connected to the reset bus, and
инверсный выход триггера соединен с од-выход - к управл ющей шике устройства.the inverse output of the trigger is connected to the one-output - to the control bus of the device.
575645 575645